public sealed class MembershipState : IMessage<MembershipState>, IEquatable<MembershipState>, IDeepCloneable<MembershipState>, IBufferMessage, IMessage
Reference documentation and code samples for the GKE Hub v1beta1 API class MembershipState.
[[["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\u003eMembershipState\u003c/code\u003e class in the GKE Hub v1beta1 API is \u003ccode\u003e2.0.0-beta07\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMembershipState\u003c/code\u003e represents the state of a Membership resource within the GKE Hub.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCode\u003c/code\u003e property, of type \u003ccode\u003eMembershipState.Types.Code\u003c/code\u003e, indicates the current state of the Membership resource.\u003c/p\u003e\n"],["\u003cp\u003eThe properties \u003ccode\u003eDescription\u003c/code\u003e and \u003ccode\u003eUpdateTime\u003c/code\u003e are obsolete and are not set by the Hub Service.\u003c/p\u003e\n"]]],[],null,["# GKE Hub v1beta1 API - Class MembershipState (2.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.MembershipState)\n- [2.0.0-beta06](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/2.0.0-beta06/Google.Cloud.GkeHub.V1Beta1.MembershipState)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/1.0.0-beta04/Google.Cloud.GkeHub.V1Beta1.MembershipState) \n\n public sealed class MembershipState : IMessage\u003cMembershipState\u003e, IEquatable\u003cMembershipState\u003e, IDeepCloneable\u003cMembershipState\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the GKE Hub v1beta1 API class MembershipState.\n\nState of the Membership resource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MembershipState \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MembershipState](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.MembershipState), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MembershipState](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.MembershipState), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MembershipState](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.MembershipState), [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.V1Beta1](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeHub.V1Beta1.dll\n\nConstructors\n------------\n\n### MembershipState()\n\n public MembershipState()\n\n### MembershipState(MembershipState)\n\n public MembershipState(MembershipState other)\n\nProperties\n----------\n\n### Code\n\n public MembershipState.Types.Code Code { get; set; }\n\nOutput only. The current state of the Membership resource.\n\n### Description\n\n [Obsolete]\n public string Description { get; set; }\n\nThis field is never set by the Hub Service.\n\n### UpdateTime\n\n [Obsolete]\n public Timestamp UpdateTime { get; set; }\n\nThis field is never set by the Hub Service."]]