Google Cloud Game Servers V1 Client - Class KubernetesClusterState (1.2.5)

Reference documentation and code samples for the Google Cloud Game Servers V1 Client class KubernetesClusterState.

The state of the Kubernetes cluster.

Generated from protobuf message google.cloud.gaming.v1.KubernetesClusterState

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ agones_version_installed string

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

↳ kubernetes_version_installed string

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

↳ installation_state int

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

↳ version_installed_error_message string

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

↳ provider 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.

↳ agones_version_targeted string

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

getAgonesVersionInstalled

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

Returns
Type Description
string

setAgonesVersionInstalled

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

Parameter
Name Description
var string
Returns
Type Description
$this

getKubernetesVersionInstalled

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

Returns
Type Description
string

setKubernetesVersionInstalled

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

Parameter
Name Description
var string
Returns
Type Description
$this

getInstallationState

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

Returns
Type Description
int

setInstallationState

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

Parameter
Name Description
var int
Returns
Type Description
$this

getVersionInstalledErrorMessage

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

Returns
Type Description
string

setVersionInstalledErrorMessage

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

Parameter
Name Description
var string
Returns
Type Description
$this

getProvider

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.

Returns
Type Description
string

setProvider

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.

Parameter
Name Description
var string
Returns
Type Description
$this

getAgonesVersionTargeted

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

Returns
Type Description
string

setAgonesVersionTargeted

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

Parameter
Name Description
var string
Returns
Type Description
$this