Reference documentation and code samples for the Memorystore V1 API module Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::InstanceRole.
The role of the instance in cross instance replication.
Constants
INSTANCE_ROLE_UNSPECIFIED
value: 0 instance role is not set.
The behavior is equivalent to NONE.
NONE
value: 1 This instance does not participate in cross instance replication. It is
an independent instance and does not replicate to or from any other
instances.
PRIMARY
value: 2 A instance that allows both reads and writes. Any data written to this
instance is also replicated to the attached secondary instances.
SECONDARY
value: 3 A instance that allows only reads and replicates data from a primary
instance.
[[["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 2025-07-02 UTC."],[],[]]