public sealed class MembershipEndpoint : IMessage<MembershipEndpoint>, IEquatable<MembershipEndpoint>, IDeepCloneable<MembershipEndpoint>, IBufferMessage, IMessage
Reference documentation and code samples for the GKE Hub v1beta1 API class MembershipEndpoint.
MembershipEndpoint contains information needed to contact a Kubernetes API,
endpoint and any additional Kubernetes metadata.
Optional. Specific information for a GKE On-Prem cluster. An onprem
user-cluster who has no resourceLink is not allowed to use this field, it
should have a nil "type" instead.
[[["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 \u003ccode\u003eMembershipEndpoint\u003c/code\u003e class in the GKE Hub v1beta1 API provides details for contacting a Kubernetes API endpoint and associated metadata.\u003c/p\u003e\n"],["\u003cp\u003eIt 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, allowing for comprehensive interaction and manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports various cluster types, including Appliance, Edge, GKE, Multi-Cloud, and On-Prem clusters, via corresponding properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMembershipEndpoint\u003c/code\u003e class also manages Kubernetes-specific metadata and resources crucial for cluster registration and feature configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class available is \u003ccode\u003e2.0.0-beta07\u003c/code\u003e with older versions being available for \u003ccode\u003e2.0.0-beta06\u003c/code\u003e and \u003ccode\u003e1.0.0-beta04\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# GKE Hub v1beta1 API - Class MembershipEndpoint (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.MembershipEndpoint)\n- [2.0.0-beta06](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/2.0.0-beta06/Google.Cloud.GkeHub.V1Beta1.MembershipEndpoint)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/1.0.0-beta04/Google.Cloud.GkeHub.V1Beta1.MembershipEndpoint) \n\n public sealed class MembershipEndpoint : IMessage\u003cMembershipEndpoint\u003e, IEquatable\u003cMembershipEndpoint\u003e, IDeepCloneable\u003cMembershipEndpoint\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the GKE Hub v1beta1 API class MembershipEndpoint.\n\nMembershipEndpoint contains information needed to contact a Kubernetes API,\nendpoint and any additional Kubernetes metadata. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MembershipEndpoint \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MembershipEndpoint](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.MembershipEndpoint), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MembershipEndpoint](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.MembershipEndpoint), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MembershipEndpoint](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.MembershipEndpoint), [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### MembershipEndpoint()\n\n public MembershipEndpoint()\n\n### MembershipEndpoint(MembershipEndpoint)\n\n public MembershipEndpoint(MembershipEndpoint other)\n\nProperties\n----------\n\n### ApplianceCluster\n\n public ApplianceCluster ApplianceCluster { get; set; }\n\nOptional. Specific information for a GDC Edge Appliance cluster.\n\n### EdgeCluster\n\n public EdgeCluster EdgeCluster { get; set; }\n\nOptional. Specific information for a Google Edge cluster.\n\n### GkeCluster\n\n public GkeCluster GkeCluster { get; set; }\n\nOptional. Specific information for a GKE-on-GCP cluster.\n\n### KubernetesMetadata\n\n public KubernetesMetadata KubernetesMetadata { get; set; }\n\nOutput only. Useful Kubernetes-specific metadata.\n\n### KubernetesResource\n\n public KubernetesResource KubernetesResource { get; set; }\n\nOptional. The in-cluster Kubernetes Resources that should be applied for a\ncorrectly registered cluster, in the steady state. These resources:\n\n- Ensure that the cluster is exclusively registered to one and only one Hub Membership.\n- Propagate Workload Pool Information available in the Membership Authority field.\n- Ensure proper initial configuration of default Hub Features.\n\n### MultiCloudCluster\n\n public MultiCloudCluster MultiCloudCluster { get; set; }\n\nOptional. Specific information for a GKE Multi-Cloud cluster.\n\n### OnPremCluster\n\n public OnPremCluster OnPremCluster { get; set; }\n\nOptional. Specific information for a GKE On-Prem cluster. An onprem\nuser-cluster who has no resourceLink is not allowed to use this field, it\nshould have a nil \"type\" instead.\n\n### TypeCase\n\n public MembershipEndpoint.TypeOneofCase TypeCase { get; }"]]