Class: Google::Apis::GameservicesV1::KubernetesClusterState
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::KubernetesClusterState
- 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
-
#agones_version_installed ⇒ String
Output only.
-
#agones_version_targeted ⇒ String
Output only.
-
#installation_state ⇒ String
Output only.
-
#kubernetes_version_installed ⇒ String
Output only.
-
#provider ⇒ String
Output only.
-
#version_installed_error_message ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KubernetesClusterState
constructor
A new instance of KubernetesClusterState.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_installed ⇒ String
Output only. The version of Agones currently installed in the registered
Kubernetes cluster.
Corresponds to the JSON property agonesVersionInstalled
983 984 985 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 983 def agones_version_installed @agones_version_installed end |
#agones_version_targeted ⇒ String
Output only. The version of Agones that is targeted to be installed in the
cluster.
Corresponds to the JSON property agonesVersionTargeted
989 990 991 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 989 def agones_version_targeted @agones_version_targeted end |
#installation_state ⇒ String
Output only. The state for the installed versions of Agones/Kubernetes.
Corresponds to the JSON property installationState
994 995 996 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 994 def installation_state @installation_state end |
#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).
Corresponds to the JSON property kubernetesVersionInstalled
1000 1001 1002 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1000 def kubernetes_version_installed @kubernetes_version_installed end |
#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.
Corresponds to the JSON property provider
1007 1008 1009 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1007 def provider @provider end |
#version_installed_error_message ⇒ String
Output only. The detailed error message for the installed versions of Agones/
Kubernetes.
Corresponds to the JSON property versionInstalledErrorMessage
1013 1014 1015 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1013 def @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 |