class Google::Apis::GameservicesV1::GameServerCluster

A game server cluster resource.

Attributes

cluster_state[RW]

The state of the Kubernetes cluster. Corresponds to the JSON property `clusterState` @return [Google::Apis::GameservicesV1::KubernetesClusterState]

connection_info[RW]

The game server cluster connection information. Corresponds to the JSON property `connectionInfo` @return [Google::Apis::GameservicesV1::GameServerClusterConnectionInfo]

create_time[RW]

Output only. The creation time. Corresponds to the JSON property `createTime` @return [String]

description[RW]

Human readable description of the cluster. Corresponds to the JSON property `description` @return [String]

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

labels[RW]

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>]

name[RW]

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]

update_time[RW]

Output only. The last-modified time. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gameservices_v1/classes.rb, line 719
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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