# Class ClusterRole (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.14

    ClusterRole(value)

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