# Cloud Gaming V1 API - Class Google::Cloud::Gaming::V1::GameServerCluster (v0.7.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.7.0 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-GameServerCluster)
- [0.6.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.6.0/Google-Cloud-Gaming-V1-GameServerCluster)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.5.0/Google-Cloud-Gaming-V1-GameServerCluster)
- [0.4.4](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.4.4/Google-Cloud-Gaming-V1-GameServerCluster)
Reference documentation and code samples for the Cloud Gaming V1 API class Google::Cloud::Gaming::V1::GameServerCluster.

A game server cluster resource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cluster_state

    def cluster_state() -> ::Google::Cloud::Gaming::V1::KubernetesClusterState

**Returns**

- ([::Google::Cloud::Gaming::V1::KubernetesClusterState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-KubernetesClusterState)) --- Output only. The state of the Kubernetes cluster, this will be available if 'view' is set to `FULL` in the relevant List/Get/Preview request.

### #connection_info

    def connection_info() -> ::Google::Cloud::Gaming::V1::GameServerClusterConnectionInfo

**Returns**

- ([::Google::Cloud::Gaming::V1::GameServerClusterConnectionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-GameServerClusterConnectionInfo)) --- The game server cluster connection information. This information is used to manage game server clusters.

### #connection_info=

    def connection_info=(value) -> ::Google::Cloud::Gaming::V1::GameServerClusterConnectionInfo

**Parameter**

- **value** ([::Google::Cloud::Gaming::V1::GameServerClusterConnectionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-GameServerClusterConnectionInfo)) --- The game server cluster connection information. This information is used to manage game server clusters.
**Returns**

- ([::Google::Cloud::Gaming::V1::GameServerClusterConnectionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-GameServerClusterConnectionInfo)) --- The game server cluster connection information. This information is used to manage game server clusters.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The creation time.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Human readable description of the cluster.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Human readable description of the cluster.
**Returns**

- (::String) --- Human readable description of the cluster.

### #etag

    def etag() -> ::String

**Returns**

- (::String) --- ETag of the resource.

### #etag=

    def etag=(value) -> ::String

**Parameter**

- **value** (::String) --- ETag of the resource.
**Returns**

- (::String) --- ETag of the resource.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- The labels associated with this game server cluster. Each label is a key-value pair.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- The labels associated with this game server cluster. Each label is a key-value pair.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- The labels associated with this game server cluster. Each label is a key-value pair.

### #name

    def name() -> ::String

**Returns**

- (::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`.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::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`.
**Returns**

- (::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`.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The last-modified time.