# Game Services v1 API - Class GameServerClustersService.GameServerClustersServiceBase (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.GameServerClustersService.GameServerClustersServiceBase)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.1.0/Google.Cloud.Gaming.V1.GameServerClustersService.GameServerClustersServiceBase)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.0.0/Google.Cloud.Gaming.V1.GameServerClustersService.GameServerClustersServiceBase)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.4.0/Google.Cloud.Gaming.V1.GameServerClustersService.GameServerClustersServiceBase)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.3.0/Google.Cloud.Gaming.V1.GameServerClustersService.GameServerClustersServiceBase)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.2.0/Google.Cloud.Gaming.V1.GameServerClustersService.GameServerClustersServiceBase)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.1.0/Google.Cloud.Gaming.V1.GameServerClustersService.GameServerClustersServiceBase)

    [BindServiceMethod(typeof(GameServerClustersService), "BindService")]
    public abstract class GameServerClustersService.GameServerClustersServiceBase

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

Base class for server-side implementations of GameServerClustersService

## Inheritance

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

## 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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [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

## Methods

### CreateGameServerCluster(CreateGameServerClusterRequest, ServerCallContext)

    public virtual Task<Operation> CreateGameServerCluster(CreateGameServerClusterRequest request, ServerCallContext context)

Creates a new game server cluster in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.CreateGameServerClusterRequest` The request received from the client. |
| `context` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ServerCallContext.cs` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://github.com/googleapis/google-cloud-dotnet/blob/abf311d7d0649ce9e47aac5c9bae36cb75a5a218/apis/Google.LongRunning/Google.LongRunning/Operations.g.cs` | The response to send back to the client (wrapped by a task). |

### DeleteGameServerCluster(DeleteGameServerClusterRequest, ServerCallContext)

    public virtual Task<Operation> DeleteGameServerCluster(DeleteGameServerClusterRequest request, ServerCallContext context)

Deletes a single game server cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.DeleteGameServerClusterRequest` The request received from the client. |
| `context` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ServerCallContext.cs` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://github.com/googleapis/google-cloud-dotnet/blob/abf311d7d0649ce9e47aac5c9bae36cb75a5a218/apis/Google.LongRunning/Google.LongRunning/Operations.g.cs` | The response to send back to the client (wrapped by a task). |

### GetGameServerCluster(GetGameServerClusterRequest, ServerCallContext)

    public virtual Task<GameServerCluster> GetGameServerCluster(GetGameServerClusterRequest request, ServerCallContext context)

Gets details of a single game server cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GetGameServerClusterRequest` The request received from the client. |
| `context` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ServerCallContext.cs` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GameServerCluster` | The response to send back to the client (wrapped by a task). |

### ListGameServerClusters(ListGameServerClustersRequest, ServerCallContext)

    public virtual Task<ListGameServerClustersResponse> ListGameServerClusters(ListGameServerClustersRequest request, ServerCallContext context)

Lists game server clusters in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.ListGameServerClustersRequest` The request received from the client. |
| `context` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ServerCallContext.cs` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.ListGameServerClustersResponse` | The response to send back to the client (wrapped by a task). |

### PreviewCreateGameServerCluster(PreviewCreateGameServerClusterRequest, ServerCallContext)

    public virtual Task<PreviewCreateGameServerClusterResponse> PreviewCreateGameServerCluster(PreviewCreateGameServerClusterRequest request, ServerCallContext context)

Previews creation of a new game server cluster in a given project and
location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.PreviewCreateGameServerClusterRequest` The request received from the client. |
| `context` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ServerCallContext.cs` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.PreviewCreateGameServerClusterResponse` | The response to send back to the client (wrapped by a task). |

### PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest, ServerCallContext)

    public virtual Task<PreviewDeleteGameServerClusterResponse> PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest request, ServerCallContext context)

Previews deletion of a single game server cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.PreviewDeleteGameServerClusterRequest` The request received from the client. |
| `context` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ServerCallContext.cs` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.PreviewDeleteGameServerClusterResponse` | The response to send back to the client (wrapped by a task). |

### PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest, ServerCallContext)

    public virtual Task<PreviewUpdateGameServerClusterResponse> PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest request, ServerCallContext context)

Previews updating a GameServerCluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.PreviewUpdateGameServerClusterRequest` The request received from the client. |
| `context` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ServerCallContext.cs` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.PreviewUpdateGameServerClusterResponse` | The response to send back to the client (wrapped by a task). |

### UpdateGameServerCluster(UpdateGameServerClusterRequest, ServerCallContext)

    public virtual Task<Operation> UpdateGameServerCluster(UpdateGameServerClusterRequest request, ServerCallContext context)

Patches a single game server cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.UpdateGameServerClusterRequest` The request received from the client. |
| `context` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ServerCallContext.cs` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://github.com/googleapis/google-cloud-dotnet/blob/abf311d7d0649ce9e47aac5c9bae36cb75a5a218/apis/Google.LongRunning/Google.LongRunning/Operations.g.cs` | The response to send back to the client (wrapped by a task). |