[[["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-09 UTC."],[],[],null,["# Google Cloud Memorystore V1 Client - Class Membership (0.4.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.2 (latest)](/php/docs/reference/cloud-memorystore/latest/V1.CrossInstanceReplicationConfig.Membership)\n- [0.4.1](/php/docs/reference/cloud-memorystore/0.4.1/V1.CrossInstanceReplicationConfig.Membership)\n- [0.3.0](/php/docs/reference/cloud-memorystore/0.3.0/V1.CrossInstanceReplicationConfig.Membership)\n- [0.2.0](/php/docs/reference/cloud-memorystore/0.2.0/V1.CrossInstanceReplicationConfig.Membership)\n- [0.1.1](/php/docs/reference/cloud-memorystore/0.1.1/V1.CrossInstanceReplicationConfig.Membership) \nReference documentation and code samples for the Google Cloud Memorystore V1 Client class Membership.\n\nAn output only view of all the member instances participating in the cross\ninstance replication.\n\nGenerated from protobuf message `google.cloud.memorystore.v1.CrossInstanceReplicationConfig.Membership`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Memorystore \\\\ V1 \\\\ CrossInstanceReplicationConfig\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPrimaryInstance\n\nOutput only. The primary instance that acts as the source of replication\nfor the secondary instances.\n\n### hasPrimaryInstance\n\n### clearPrimaryInstance\n\n### setPrimaryInstance\n\nOutput only. The primary instance that acts as the source of replication\nfor the secondary instances.\n\n### getSecondaryInstances\n\nOutput only. The list of secondary instances replicating from the primary\ninstance.\n\n### setSecondaryInstances\n\nOutput only. The list of secondary instances replicating from the primary\ninstance."]]