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

    public static class GameServerDeploymentsService

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

The game server deployment is used to control the deployment of Agones
fleets.

## Inheritance

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

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

### BindService(GameServerDeploymentsServiceBase)

    public static ServerServiceDefinition BindService(GameServerDeploymentsService.GameServerDeploymentsServiceBase serviceImpl)

Creates service definition that can be registered with a server

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `serviceImpl` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GameServerDeploymentsServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GameServerDeploymentsService.GameServerDeploymentsServiceBase` An object implementing the server-side handling logic. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ServerServiceDefinition.cs` |   |

### BindService(ServiceBinderBase, GameServerDeploymentsServiceBase)

    public static void BindService(ServiceBinderBase serviceBinder, GameServerDeploymentsService.GameServerDeploymentsServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `serviceBinder` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ServiceBinderBase.cs` Service methods will be bound by calling `AddMethod` on this object. |
| `serviceImpl` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GameServerDeploymentsServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GameServerDeploymentsService.GameServerDeploymentsServiceBase` An object implementing the server-side handling logic. |