public sealed class KubernetesMetadata : IMessage<KubernetesMetadata>, IEquatable<KubernetesMetadata>, IDeepCloneable<KubernetesMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the GKE Hub v1 API class KubernetesMetadata.
KubernetesMetadata provides informational metadata for Memberships
representing Kubernetes clusters.
Output only. Node providerID as reported by the first node in the list of
nodes on the Kubernetes endpoint. On Kubernetes platforms that support
zero-node clusters (like GKE-on-GCP), the node_count will be zero and the
node_provider_id will be empty.
Output only. The time at which these details were last updated. This
update_time is different from the Membership-level update_time since
EndpointDetails are updated internally for API consumers.
[[["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 documentation provides details for the \u003ccode\u003eKubernetesMetadata\u003c/code\u003e class within the Google Cloud GKE Hub v1 API, which is used to provide informational metadata for Kubernetes cluster Memberships.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eKubernetesMetadata\u003c/code\u003e is 2.5.0, with several previous versions also documented, ranging back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eKubernetesMetadata\u003c/code\u003e includes properties such as \u003ccode\u003eKubernetesApiServerVersion\u003c/code\u003e, \u003ccode\u003eMemoryMb\u003c/code\u003e, \u003ccode\u003eNodeCount\u003c/code\u003e, \u003ccode\u003eNodeProviderId\u003c/code\u003e, \u003ccode\u003eUpdateTime\u003c/code\u003e, and \u003ccode\u003eVcpuCount\u003c/code\u003e, providing various details about Kubernetes clusters.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating instances of \u003ccode\u003eKubernetesMetadata\u003c/code\u003e: a default constructor and one that accepts another \u003ccode\u003eKubernetesMetadata\u003c/code\u003e instance for copying.\u003c/p\u003e\n"]]],[],null,["# GKE Hub v1 API - Class KubernetesMetadata (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.KubernetesMetadata)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.4.0/Google.Cloud.GkeHub.V1.KubernetesMetadata)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.3.0/Google.Cloud.GkeHub.V1.KubernetesMetadata)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.2.0/Google.Cloud.GkeHub.V1.KubernetesMetadata)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.1.0/Google.Cloud.GkeHub.V1.KubernetesMetadata)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.0.0/Google.Cloud.GkeHub.V1.KubernetesMetadata)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.2.0/Google.Cloud.GkeHub.V1.KubernetesMetadata)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.1.0/Google.Cloud.GkeHub.V1.KubernetesMetadata)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.0.0/Google.Cloud.GkeHub.V1.KubernetesMetadata) \n\n public sealed class KubernetesMetadata : IMessage\u003cKubernetesMetadata\u003e, IEquatable\u003cKubernetesMetadata\u003e, IDeepCloneable\u003cKubernetesMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the GKE Hub v1 API class KubernetesMetadata.\n\nKubernetesMetadata provides informational metadata for Memberships\nrepresenting Kubernetes clusters. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e KubernetesMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[KubernetesMetadata](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.KubernetesMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[KubernetesMetadata](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.KubernetesMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[KubernetesMetadata](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.KubernetesMetadata), [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](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeHub.V1.dll\n\nConstructors\n------------\n\n### KubernetesMetadata()\n\n public KubernetesMetadata()\n\n### KubernetesMetadata(KubernetesMetadata)\n\n public KubernetesMetadata(KubernetesMetadata other)\n\nProperties\n----------\n\n### KubernetesApiServerVersion\n\n public string KubernetesApiServerVersion { get; set; }\n\nOutput only. Kubernetes API server version string as reported by\n`/version`.\n\n### MemoryMb\n\n public int MemoryMb { get; set; }\n\nOutput only. The total memory capacity as reported by the sum of all\nKubernetes nodes resources, defined in MB.\n\n### NodeCount\n\n public int NodeCount { get; set; }\n\nOutput only. Node count as reported by Kubernetes nodes resources.\n\n### NodeProviderId\n\n public string NodeProviderId { get; set; }\n\nOutput only. Node providerID as reported by the first node in the list of\nnodes on the Kubernetes endpoint. On Kubernetes platforms that support\nzero-node clusters (like GKE-on-GCP), the node_count will be zero and the\nnode_provider_id will be empty.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The time at which these details were last updated. This\nupdate_time is different from the Membership-level update_time since\nEndpointDetails are updated internally for API consumers.\n\n### VcpuCount\n\n public int VcpuCount { get; set; }\n\nOutput only. vCPU count as reported by Kubernetes nodes resources."]]