clusterRole property

String? clusterRole
getter/setter pair

The role of the cluster in cross cluster replication. Possible string values are:

  • "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.

Implementation

core.String? clusterRole;