[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Redis Cluster V1 Client - Class Membership (0.5.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.5.1 (latest)](/php/docs/reference/cloud-redis-cluster/latest/V1.CrossClusterReplicationConfig.Membership)\n- [0.5.0](/php/docs/reference/cloud-redis-cluster/0.5.0/V1.CrossClusterReplicationConfig.Membership)\n- [0.4.1](/php/docs/reference/cloud-redis-cluster/0.4.1/V1.CrossClusterReplicationConfig.Membership)\n- [0.3.2](/php/docs/reference/cloud-redis-cluster/0.3.2/V1.CrossClusterReplicationConfig.Membership)\n- [0.2.5](/php/docs/reference/cloud-redis-cluster/0.2.5/V1.CrossClusterReplicationConfig.Membership)\n- [0.1.0](/php/docs/reference/cloud-redis-cluster/0.1.0/V1.CrossClusterReplicationConfig.Membership) \nReference documentation and code samples for the Google Cloud Redis Cluster V1 Client class Membership.\n\nAn output only view of all the member clusters participating in the cross\ncluster replication.\n\nGenerated from protobuf message `google.cloud.redis.cluster.v1.CrossClusterReplicationConfig.Membership`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Redis \\\\ Cluster \\\\ V1 \\\\ CrossClusterReplicationConfig\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPrimaryCluster\n\nOutput only. The primary cluster that acts as the source of replication\nfor the secondary clusters.\n\n### hasPrimaryCluster\n\n### clearPrimaryCluster\n\n### setPrimaryCluster\n\nOutput only. The primary cluster that acts as the source of replication\nfor the secondary clusters.\n\n### getSecondaryClusters\n\nOutput only. The list of secondary clusters replicating from the primary\ncluster.\n\n### setSecondaryClusters\n\nOutput only. The list of secondary clusters replicating from the primary\ncluster."]]