# GKE Hub v1beta1 API - Class KubernetesMetadata (2.0.0-beta09)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.0.0-beta09 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.KubernetesMetadata)
- [2.0.0-beta08](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/2.0.0-beta08/Google.Cloud.GkeHub.V1Beta1.KubernetesMetadata)
- [1.0.0-beta04](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/1.0.0-beta04/Google.Cloud.GkeHub.V1Beta1.KubernetesMetadata)

    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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> KubernetesMetadata

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[KubernetesMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.KubernetesMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[KubernetesMetadata](https://docs.cloud.google.com/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](https://docs.cloud.google.com/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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.GkeHub.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1)

## Assembly

Google.Cloud.GkeHub.V1Beta1.dll

## Constructors

### KubernetesMetadata()

    public KubernetesMetadata()

### KubernetesMetadata(KubernetesMetadata)

    public KubernetesMetadata(KubernetesMetadata other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.KubernetesMetadata` |

## Properties

### KubernetesApiServerVersion

    public string KubernetesApiServerVersion { get; set; }

Output only. Kubernetes API server version string as reported by
'/version'.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### MemoryMb

    public int MemoryMb { get; set; }

Output only. The total memory capacity as reported by the sum of all
Kubernetes nodes resources, defined in MB.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### NodeCount

    public int NodeCount { get; set; }

Output only. Node count as reported by Kubernetes nodes resources.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### NodeProviderId

    public string NodeProviderId { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### VcpuCount

    public int VcpuCount { get; set; }

Output only. vCPU count as reported by Kubernetes nodes resources.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |