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

    public sealed class GameServerDeploymentsServiceClientBuilder : ClientBuilderBase<GameServerDeploymentsServiceClient>

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

Builder class for [GameServerDeploymentsServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GameServerDeploymentsServiceClient) to provide simple configuration of
credentials, endpoint etc.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ClientBuilderBase](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs)[GameServerDeploymentsServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.GameServerDeploymentsServiceClient) \> GameServerDeploymentsServiceClientBuilder

## Inherited Members

[ClientBuilderBase\<GameServerDeploymentsServiceClient\>.Build(IServiceProvider)](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.BuildAsync(IServiceProvider, CancellationToken)](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.Endpoint](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.Logger](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.Scopes](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.ChannelCredentials](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.CredentialsPath](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.JsonCredentials](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.GoogleCredential](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.Credential](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.TokenAccessMethod](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.CallInvoker](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.UserAgent](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.GrpcAdapter](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.QuotaProject](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.GrpcChannelOptions](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.LastCreatedChannel](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.UseJwtAccessWithScopes](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) [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

### GameServerDeploymentsServiceClientBuilder()

    public GameServerDeploymentsServiceClientBuilder()

Creates a new builder with default settings.

## Properties

### Settings

    public GameServerDeploymentsServiceSettings Settings { get; set; }

The settings to use for RPCs, or `null` for the default settings.

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

## Methods

### Build()

    public override GameServerDeploymentsServiceClient Build()

Builds the resulting client.

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

**Overrides** Google.Api.Gax.Grpc.ClientBuilderBase\<Google.Cloud.Gaming.V1.GameServerDeploymentsServiceClient\>.Build()

### BuildAsync(CancellationToken)

    public override Task<GameServerDeploymentsServiceClient> BuildAsync(CancellationToken cancellationToken = default)

Builds the resulting client asynchronously.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` |

| **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.GameServerDeploymentsServiceClient` |   |

**Overrides** [ClientBuilderBase\<GameServerDeploymentsServiceClient\>.BuildAsync(CancellationToken)](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken)

### GetChannelPool()

    protected override ChannelPool GetChannelPool()

Returns the channel pool to use when no other options are specified.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ChannelPool.cs` |   |

**Overrides** Google.Api.Gax.Grpc.ClientBuilderBase\<Google.Cloud.Gaming.V1.GameServerDeploymentsServiceClient\>.GetChannelPool()