Class ClusterRole (0.1.14)
The role of the cluster in cross cluster replication.
Enums |
Name |
Description |
CLUSTER_ROLE_UNSPECIFIED |
Cluster role is not set. The behavior is equivalent to NONE. |
NONE |
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 |
A cluster that allows both reads and writes. Any data written to this cluster is also replicated to the attached secondary clusters. |
SECONDARY |
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]