# Cloud Gaming V1 API - Class Google::Cloud::Gaming::V1::KubernetesClusterState (v0.7.0)

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

- [0.7.0 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-KubernetesClusterState)
- [0.6.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.6.0/Google-Cloud-Gaming-V1-KubernetesClusterState)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.5.0/Google-Cloud-Gaming-V1-KubernetesClusterState)
- [0.4.4](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.4.4/Google-Cloud-Gaming-V1-KubernetesClusterState)
Reference documentation and code samples for the Cloud Gaming V1 API class Google::Cloud::Gaming::V1::KubernetesClusterState.

The state of the Kubernetes cluster.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #agones_version_installed

    def agones_version_installed() -> ::String

**Returns**

- (::String) --- Output only. The version of Agones currently installed in the registered Kubernetes cluster.

### #agones_version_targeted

    def agones_version_targeted() -> ::String

**Returns**

- (::String) --- Output only. The version of Agones that is targeted to be installed in the cluster.

### #installation_state

    def installation_state() -> ::Google::Cloud::Gaming::V1::KubernetesClusterState::InstallationState

**Returns**

- ([::Google::Cloud::Gaming::V1::KubernetesClusterState::InstallationState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-KubernetesClusterState-InstallationState)) --- Output only. The state for the installed versions of Agones/Kubernetes.

### #kubernetes_version_installed

    def kubernetes_version_installed() -> ::String

**Returns**

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

### #provider

    def provider() -> ::String

**Returns**

- (::String) --- 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.

### #version_installed_error_message

    def version_installed_error_message() -> ::String

**Returns**

- (::String) --- Output only. The detailed error message for the installed versions of Agones/Kubernetes.