class Google::Apis::GameservicesV1::GameServerCluster
A game server cluster resource.
Attributes
The state of the Kubernetes cluster. Corresponds to the JSON property `clusterState` @return [Google::Apis::GameservicesV1::KubernetesClusterState]
The game server cluster connection information. Corresponds to the JSON property `connectionInfo` @return [Google::Apis::GameservicesV1::GameServerClusterConnectionInfo]
Output only. The creation time. Corresponds to the JSON property `createTime` @return [String]
Human readable description of the cluster. Corresponds to the JSON property `description` @return [String]
ETag of the resource. Corresponds to the JSON property `etag` @return [String]
The labels associated with this game server cluster. Each label is a key-value pair. Corresponds to the JSON property `labels` @return [Hash<String,String>]
Required. The resource name of the game server cluster, in the following form: `projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/` cluster“. For example, `projects/my-project/locations/`location`/realms/ zanzibar/gameServerClusters/my-onprem-cluster`. Corresponds to the JSON property `name` @return [String]
Output only. The last-modified time. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/gameservices_v1/classes.rb, line 719 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/gameservices_v1/classes.rb, line 724 def update!(**args) @cluster_state = args[:cluster_state] if args.key?(:cluster_state) @connection_info = args[:connection_info] if args.key?(:connection_info) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @etag = args[:etag] if args.key?(:etag) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end