Class: Google::Apis::GameservicesV1::KubernetesClusterState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gameservices_v1/classes.rb,
lib/google/apis/gameservices_v1/representations.rb,
lib/google/apis/gameservices_v1/representations.rb

Overview

The state of the Kubernetes cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ KubernetesClusterState

Returns a new instance of KubernetesClusterState.



1014
1015
1016
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1014

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#agones_version_installedString

Output only. The version of Agones currently installed in the registered Kubernetes cluster. Corresponds to the JSON property agonesVersionInstalled

Returns:

  • (String)


982
983
984
# File 'lib/google/apis/gameservices_v1/classes.rb', line 982

def agones_version_installed
  @agones_version_installed
end

#agones_version_targetedString

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

Returns:

  • (String)


988
989
990
# File 'lib/google/apis/gameservices_v1/classes.rb', line 988

def agones_version_targeted
  @agones_version_targeted
end

#installation_stateString

Output only. The state for the installed versions of Agones/Kubernetes. Corresponds to the JSON property installationState

Returns:

  • (String)


993
994
995
# File 'lib/google/apis/gameservices_v1/classes.rb', line 993

def installation_state
  @installation_state
end

#kubernetes_version_installedString

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

Returns:

  • (String)


999
1000
1001
# File 'lib/google/apis/gameservices_v1/classes.rb', line 999

def kubernetes_version_installed
  @kubernetes_version_installed
end

#providerString

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. Corresponds to the JSON property provider

Returns:

  • (String)


1006
1007
1008
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1006

def provider
  @provider
end

#version_installed_error_messageString

Output only. The detailed error message for the installed versions of Agones/ Kubernetes. Corresponds to the JSON property versionInstalledErrorMessage

Returns:

  • (String)


1012
1013
1014
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1012

def version_installed_error_message
  @version_installed_error_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1019
1020
1021
1022
1023
1024
1025
1026
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1019

def update!(**args)
  @agones_version_installed = args[:agones_version_installed] if args.key?(:agones_version_installed)
  @agones_version_targeted = args[:agones_version_targeted] if args.key?(:agones_version_targeted)
  @installation_state = args[:installation_state] if args.key?(:installation_state)
  @kubernetes_version_installed = args[:kubernetes_version_installed] if args.key?(:kubernetes_version_installed)
  @provider = args[:provider] if args.key?(:provider)
  @version_installed_error_message = args[:version_installed_error_message] if args.key?(:version_installed_error_message)
end