# Game Services v1 API - Class KubernetesClusterState (2.2.0)

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

- [2.2.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.KubernetesClusterState)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.1.0/Google.Cloud.Gaming.V1.KubernetesClusterState)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.0.0/Google.Cloud.Gaming.V1.KubernetesClusterState)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.4.0/Google.Cloud.Gaming.V1.KubernetesClusterState)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.3.0/Google.Cloud.Gaming.V1.KubernetesClusterState)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.2.0/Google.Cloud.Gaming.V1.KubernetesClusterState)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.1.0/Google.Cloud.Gaming.V1.KubernetesClusterState)

    public sealed class KubernetesClusterState : IMessage<KubernetesClusterState>, IEquatable<KubernetesClusterState>, IDeepCloneable<KubernetesClusterState>, IBufferMessage, IMessage

Reference documentation and code samples for the Game Services v1 API class KubernetesClusterState.

The state of the Kubernetes cluster.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Gaming.V1.dll

## Constructors

### KubernetesClusterState()

    public KubernetesClusterState()

### KubernetesClusterState(KubernetesClusterState)

    public KubernetesClusterState(KubernetesClusterState other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.KubernetesClusterState` |

## Properties

### AgonesVersionInstalled

    public string AgonesVersionInstalled { get; set; }

Output only. The version of Agones currently installed in the registered Kubernetes
cluster.

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

### AgonesVersionTargeted

    public string AgonesVersionTargeted { get; set; }

Output only. The version of Agones that is targeted to be installed in the cluster.

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

### InstallationState

    public KubernetesClusterState.Types.InstallationState InstallationState { get; set; }

Output only. The state for the installed versions of Agones/Kubernetes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.KubernetesClusterStatehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.KubernetesClusterState.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.KubernetesClusterState.Types.InstallationState` |   |

### KubernetesVersionInstalled

    public string KubernetesVersionInstalled { get; set; }

Output only. The version of Kubernetes that is currently used in the registered
Kubernetes cluster (as detected by the Cloud Game Servers service).

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

### Provider

    public string Provider { get; set; }

Output only. The cloud provider type reported by the first node's providerID in the list
of nodes on the Kubernetes endpoint. On Kubernetes platforms that support
zero-node clusters (like GKE-on-GCP), the provider type will be empty.

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

### VersionInstalledErrorMessage

    public string VersionInstalledErrorMessage { get; set; }

Output only. The detailed error message for the installed versions of Agones/Kubernetes.

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