Memorystore V1 API - Module Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::InstanceRole (v1.2.0)

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.