Cloud Spanner V1 API - Module Google::Cloud::Spanner::V1::DirectedReadOptions::ReplicaSelection::Type (v0.21.0)

Reference documentation and code samples for the Cloud Spanner V1 API module Google::Cloud::Spanner::V1::DirectedReadOptions::ReplicaSelection::Type.

Indicates the type of replica.

Constants

TYPE_UNSPECIFIED

value: 0
Not specified.

READ_WRITE

value: 1
Read-write replicas support both reads and writes.

READ_ONLY

value: 2
Read-only replicas only support reads (not writes).