Module: Google::Cloud::Spanner::V1::DirectedReadOptions::ReplicaSelection::Type

Defined in:
proto_docs/google/spanner/v1/spanner.rb

Overview

Indicates the type of replica.

Constant Summary collapse

TYPE_UNSPECIFIED =

Not specified.

0
READ_WRITE =

Read-write replicas support both reads and writes.

1
READ_ONLY =

Read-only replicas only support reads (not writes).

2