cluster Role
Parameters
The role of the cluster in cross cluster replication. Supported values are:
CLUSTER_ROLE_UNSPECIFIED
: This is an independent cluster that has never participated in cross cluster replication. It allows both reads and writes.NONE
: This is an independent cluster that previously participated in cross cluster replication(either as aPRIMARY
orSECONDARY
cluster). It allows both reads and writes.PRIMARY
: This cluster serves as the replication source for secondary clusters that are replicating from it. Any data written to it is automatically replicated to its secondary clusters. It allows both reads and writes.SECONDARY
: This cluster replicates data from the primary cluster. It allows only reads. Possible values are:CLUSTER_ROLE_UNSPECIFIED
,NONE
,PRIMARY
,SECONDARY
.