Cloud Spanner V1 API - Module Google::Cloud::Spanner::V1::DirectedReadOptions::ReplicaSelection::Type (v1.17.1)
Stay organized with collections
Save and categorize content based on your preferences.
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).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-03 UTC."],[],[]]