[[["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 of the \u003ccode\u003eMembershipSpec\u003c/code\u003e class in the GKE Hub v1 API is 2.5.0, with several older versions also documented, ranging from 1.0.0 to 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMembershipSpec\u003c/code\u003e is a class for configuring a single cluster within Anthos Config Management, designed to mirror the ConfigManagement custom resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMembershipSpec\u003c/code\u003e class 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\u003eKey properties within \u003ccode\u003eMembershipSpec\u003c/code\u003e include \u003ccode\u003eConfigSync\u003c/code\u003e, \u003ccode\u003eHierarchyController\u003c/code\u003e, \u003ccode\u003ePolicyController\u003c/code\u003e, and \u003ccode\u003eVersion\u003c/code\u003e, used to manage cluster configuration, hierarchy control, policy settings, and version information.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMembershipSpec\u003c/code\u003e has two constructors: a default parameterless constructor and one that takes in another \u003ccode\u003eMembershipSpec\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,["# GKE Hub v1 API - Class MembershipSpec (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement.MembershipSpec)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.4.0/Google.Cloud.GkeHub.V1.ConfigManagement.MembershipSpec)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.3.0/Google.Cloud.GkeHub.V1.ConfigManagement.MembershipSpec)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.2.0/Google.Cloud.GkeHub.V1.ConfigManagement.MembershipSpec)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.1.0/Google.Cloud.GkeHub.V1.ConfigManagement.MembershipSpec)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.0.0/Google.Cloud.GkeHub.V1.ConfigManagement.MembershipSpec)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.2.0/Google.Cloud.GkeHub.V1.ConfigManagement.MembershipSpec)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.1.0/Google.Cloud.GkeHub.V1.ConfigManagement.MembershipSpec)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.0.0/Google.Cloud.GkeHub.V1.ConfigManagement.MembershipSpec) \n\n public sealed class MembershipSpec : IMessage\u003cMembershipSpec\u003e, IEquatable\u003cMembershipSpec\u003e, IDeepCloneable\u003cMembershipSpec\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the GKE Hub v1 API class MembershipSpec.\n\n**Anthos Config Management**: Configuration for a single cluster.\nIntended to parallel the ConfigManagement CR. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MembershipSpec \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MembershipSpec](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement.MembershipSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MembershipSpec](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement.MembershipSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MembershipSpec](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement.MembershipSpec), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.GkeHub.V1.ConfigManagement](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeHub.V1.dll\n\nConstructors\n------------\n\n### MembershipSpec()\n\n public MembershipSpec()\n\n### MembershipSpec(MembershipSpec)\n\n public MembershipSpec(MembershipSpec other)\n\nProperties\n----------\n\n### ConfigSync\n\n public ConfigSync ConfigSync { get; set; }\n\nConfig Sync configuration for the cluster.\n\n### HierarchyController\n\n public HierarchyControllerConfig HierarchyController { get; set; }\n\nHierarchy Controller configuration for the cluster.\n\n### PolicyController\n\n public PolicyController PolicyController { get; set; }\n\nPolicy Controller configuration for the cluster.\n\n### Version\n\n public string Version { get; set; }\n\nVersion of ACM installed."]]