public sealed class KubernetesMetadata : IMessage<KubernetesMetadata>, IEquatable<KubernetesMetadata>, IDeepCloneable<KubernetesMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the GKE Hub v1beta1 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\u003eThe \u003ccode\u003eKubernetesMetadata\u003c/code\u003e class in the GKE Hub v1beta1 API provides metadata for Memberships representing Kubernetes clusters.\u003c/p\u003e\n"],["\u003cp\u003eThis 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\u003eThe \u003ccode\u003eKubernetesMetadata\u003c/code\u003e class includes properties that report details about the Kubernetes cluster, 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.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the package being displayed is \u003ccode\u003e2.0.0-beta07\u003c/code\u003e and is a part of the namespace \u003ccode\u003eGoogle.Cloud.GkeHub.V1Beta1\u003c/code\u003e and belongs to the \u003ccode\u003eGoogle.Cloud.GkeHub.V1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available for \u003ccode\u003eKubernetesMetadata\u003c/code\u003e: a parameterless constructor and one that takes another \u003ccode\u003eKubernetesMetadata\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"]]],[],null,["# GKE Hub v1beta1 API - Class KubernetesMetadata (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.KubernetesMetadata)\n- [2.0.0-beta06](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/2.0.0-beta06/Google.Cloud.GkeHub.V1Beta1.KubernetesMetadata)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/1.0.0-beta04/Google.Cloud.GkeHub.V1Beta1.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 v1beta1 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.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.KubernetesMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[KubernetesMetadata](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.KubernetesMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[KubernetesMetadata](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.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.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### 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."]]