public sealed class MembershipState : IMessage<MembershipState>, IEquatable<MembershipState>, IDeepCloneable<MembershipState>, IBufferMessage, IMessage
Reference documentation and code samples for the GKE Hub v1 API class MembershipState.
Anthos Config Management: State for a single cluster.
The user-defined name for the cluster used by ClusterSelectors to group
clusters together. This should match Membership's membership_name,
unless the user installed ACM on the cluster manually prior to enabling
the ACM hub feature.
Unique within a Anthos Config Management installation.
public MembershipSpec MembershipSpec { get; set; }
Membership configuration in the cluster. This represents the actual state
in the cluster, while the MembershipSpec in the FeatureSpec represents
the intended state
[[["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 latest version available for the GKE Hub v1 API class MembershipState is 2.5.0, with version 2.4.0 also being documented on this page along with other previous versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMembershipState\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.GkeHub.V1.ConfigManagement\u003c/code\u003e namespace, provides state information for a single cluster in Anthos Config Management.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eMembershipState\u003c/code\u003e inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eMembershipState\u003c/code\u003e class include \u003ccode\u003eClusterName\u003c/code\u003e, \u003ccode\u003eConfigSyncState\u003c/code\u003e, \u003ccode\u003eHierarchyControllerState\u003c/code\u003e, \u003ccode\u003eMembershipSpec\u003c/code\u003e, \u003ccode\u003eOperatorState\u003c/code\u003e, and \u003ccode\u003ePolicyControllerState\u003c/code\u003e, all providing status and configuration details.\u003c/p\u003e\n"],["\u003cp\u003eThe current page also lists two constructors for the \u003ccode\u003eMembershipState\u003c/code\u003e class: the default constructor and one that takes another \u003ccode\u003eMembershipState\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]