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 Google Cloud GKE Hub v1 API, specifically for version 2.1.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMembershipState\u003c/code\u003e is a class that represents the state of a single cluster in Anthos Config Management, and it implements several 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\u003eThe \u003ccode\u003eMembershipState\u003c/code\u003e class includes properties that reflect various aspects of a cluster's state, such as \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.\u003c/p\u003e\n"],["\u003cp\u003eThe provided content also includes a list of versions of this API class, ranging from version 1.0.0 to the latest version 2.5.0, with links to the respective documentation for each version.\u003c/p\u003e\n"],["\u003cp\u003eThe document details the inheritance of \u003ccode\u003eMembershipState\u003c/code\u003e from the base \u003ccode\u003eObject\u003c/code\u003e class and lists inherited members, the namespace, assembly, and constructors available for creating \u003ccode\u003eMembershipState\u003c/code\u003e objects.\u003c/p\u003e\n"]]],[],null,[]]