class Google::Apis::GameservicesV1beta::GameServerCluster
A game server cluster resource.
Attributes
Optional. The allocation priority assigned to the game server cluster. Game server clusters receive new game server allocations based on the relative allocation priorites set for each cluster, if the realm is configured for multicluster allocation. Corresponds to the JSON property `allocationPriority` @return [String]
The state of the Kubernetes cluster. Corresponds to the JSON property `clusterState` @return [Google::Apis::GameservicesV1beta::KubernetesClusterState]
The game server cluster connection information. Corresponds to the JSON property `connectionInfo` @return [Google::Apis::GameservicesV1beta::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_v1beta/classes.rb, line 727 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/gameservices_v1beta/classes.rb, line 732 def update!(**args) @allocation_priority = args[:allocation_priority] if args.key?(:allocation_priority) @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