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.



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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

def version_installed_error_message
  @version_installed_error_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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