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\u003eThis document provides reference documentation for the \u003ccode\u003eMembershipState\u003c/code\u003e class within the GKE Hub v1 API, which is used to represent the state of a single cluster in Anthos Config Management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMembershipState\u003c/code\u003e class includes properties like \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, each offering details on different aspects of the cluster's status and configuration.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eMembershipState\u003c/code\u003e available, ranging from version 1.0.0 to 2.5.0, with 2.5.0 being the latest version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMembershipState\u003c/code\u003e class implements various interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt includes constructors for creating new instances, either default or based on another \u003ccode\u003eMembershipState\u003c/code\u003e object, allowing for copying and modification.\u003c/p\u003e\n"]]],[],null,[]]