Google Cloud Memorystore for Redis V1BETA1 API - Module Google::Cloud::Redis::Cluster::V1beta1::CrossClusterReplicationConfig::ClusterRole (v0.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Memorystore for Redis V1BETA1 API module Google::Cloud::Redis::Cluster::V1beta1::CrossClusterReplicationConfig::ClusterRole.
The role of the cluster in cross cluster replication.
Constants
CLUSTER_ROLE_UNSPECIFIED
value: 0
Cluster role is not set.
The behavior is equivalent to NONE.
NONE
value: 1
This cluster does not participate in cross cluster replication. It is an
independent cluster and does not replicate to or from any other clusters.
PRIMARY
value: 2
A cluster that allows both reads and writes. Any data written to this
cluster is also replicated to the attached secondary clusters.
SECONDARY
value: 3
A cluster that allows only reads and replicates data from a primary
cluster.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["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-10-10 UTC."],[],[]]