Reference documentation and code samples for the Google Cloud Memorystore for Redis (cluster management) v1 API enum CrossClusterReplicationConfig.Types.ClusterRole.
The role of the cluster in cross cluster replication.
[[["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-08-07 UTC."],[[["\u003cp\u003eThe document details the \u003ccode\u003eCrossClusterReplicationConfig.Types.ClusterRole\u003c/code\u003e enum, which defines the roles a cluster can have in cross-cluster replication.\u003c/p\u003e\n"],["\u003cp\u003eThere are four possible roles: \u003ccode\u003eNone\u003c/code\u003e (independent cluster), \u003ccode\u003ePrimary\u003c/code\u003e (allows reads/writes and replicates data), \u003ccode\u003eSecondary\u003c/code\u003e (allows only reads and replicates data), and \u003ccode\u003eUnspecified\u003c/code\u003e (equivalent to \u003ccode\u003eNone\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API, \u003ccode\u003e1.4.0\u003c/code\u003e, is documented, along with previous versions back to \u003ccode\u003e1.0.0\u003c/code\u003e providing a historical reference.\u003c/p\u003e\n"],["\u003cp\u003eThe full enum is in the \u003ccode\u003eGoogle.Cloud.Redis.Cluster.V1\u003c/code\u003e namespace, within the \u003ccode\u003eGoogle.Cloud.Redis.Cluster.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]