# Game Services v1 API - Class GetGameServerClusterRequest (2.2.0)

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

- [2.2.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GetGameServerClusterRequest)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.1.0/Google.Cloud.Gaming.V1.GetGameServerClusterRequest)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.0.0/Google.Cloud.Gaming.V1.GetGameServerClusterRequest)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.4.0/Google.Cloud.Gaming.V1.GetGameServerClusterRequest)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.3.0/Google.Cloud.Gaming.V1.GetGameServerClusterRequest)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.2.0/Google.Cloud.Gaming.V1.GetGameServerClusterRequest)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.1.0/Google.Cloud.Gaming.V1.GetGameServerClusterRequest)

    public sealed class GetGameServerClusterRequest : IMessage<GetGameServerClusterRequest>, IEquatable<GetGameServerClusterRequest>, IDeepCloneable<GetGameServerClusterRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Game Services v1 API class GetGameServerClusterRequest.

Request message for GameServerClustersService.GetGameServerCluster.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GetGameServerClusterRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetGameServerClusterRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GetGameServerClusterRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetGameServerClusterRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GetGameServerClusterRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetGameServerClusterRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GetGameServerClusterRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Gaming.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1)

## Assembly

Google.Cloud.Gaming.V1.dll

## Constructors

### GetGameServerClusterRequest()

    public GetGameServerClusterRequest()

### GetGameServerClusterRequest(GetGameServerClusterRequest)

    public GetGameServerClusterRequest(GetGameServerClusterRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GetGameServerClusterRequest` |

## Properties

### GameServerClusterName

    public GameServerClusterName GameServerClusterName { get; set; }

[GameServerClusterName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GameServerClusterName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GetGameServerClusterRequest#Google_Cloud_Gaming_V1_GetGameServerClusterRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GameServerClusterName` |   |

### Name

    public string Name { get; set; }

Required. The name of the game server cluster to retrieve, in the following form:
`projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### View

    public GameServerClusterView View { get; set; }

Optional. View for the returned GameServerCluster objects. When `FULL` is
specified, the `cluster_state` field is also returned in the
GameServerCluster object, which includes the state of the referenced
Kubernetes cluster such as versions and provider info. The default/unset
value is GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, same as BASIC, which does
not return the `cluster_state` field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GameServerClusterView` |   |