# Dialogflow v3 API - Class DeploymentsClientImpl (3.1.0)

3.1.0 (latest) 3.0.0 2.25.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class DeploymentsClientImpl : DeploymentsClient

Reference documentation and code samples for the Dialogflow v3 API class DeploymentsClientImpl.

Deployments client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [DeploymentsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient) \> DeploymentsClientImpl

## Inherited Members

[DeploymentsClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_DefaultEndpoint) [DeploymentsClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_DefaultScopes) [DeploymentsClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_ServiceMetadata) [DeploymentsClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_CreateAsync_System_Threading_CancellationToken_) [DeploymentsClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_Create) [DeploymentsClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_ShutdownDefaultChannelsAsync) [DeploymentsClient.ListDeployments(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_ListDeployments_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [DeploymentsClient.ListDeploymentsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_ListDeploymentsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [DeploymentsClient.ListDeployments(EnvironmentName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_ListDeployments_Google_Cloud_Dialogflow_Cx_V3_EnvironmentName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [DeploymentsClient.ListDeploymentsAsync(EnvironmentName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_ListDeploymentsAsync_Google_Cloud_Dialogflow_Cx_V3_EnvironmentName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [DeploymentsClient.GetDeploymentAsync(GetDeploymentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_GetDeploymentAsync_Google_Cloud_Dialogflow_Cx_V3_GetDeploymentRequest_System_Threading_CancellationToken_) [DeploymentsClient.GetDeployment(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_GetDeployment_System_String_Google_Api_Gax_Grpc_CallSettings_) [DeploymentsClient.GetDeploymentAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_GetDeploymentAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [DeploymentsClient.GetDeploymentAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_GetDeploymentAsync_System_String_System_Threading_CancellationToken_) [DeploymentsClient.GetDeployment(DeploymentName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_GetDeployment_Google_Cloud_Dialogflow_Cx_V3_DeploymentName_Google_Api_Gax_Grpc_CallSettings_) [DeploymentsClient.GetDeploymentAsync(DeploymentName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_GetDeploymentAsync_Google_Cloud_Dialogflow_Cx_V3_DeploymentName_Google_Api_Gax_Grpc_CallSettings_) [DeploymentsClient.GetDeploymentAsync(DeploymentName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_GetDeploymentAsync_Google_Cloud_Dialogflow_Cx_V3_DeploymentName_System_Threading_CancellationToken_) [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.Dialogflow.Cx.V3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3)

## Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

## Remarks

Service for managing \[Deployments\]\[google.cloud.dialogflow.cx.v3.Deployment\].

## Constructors

### DeploymentsClientImpl(DeploymentsClient, DeploymentsSettings, ILogger)

    public DeploymentsClientImpl(Deployments.DeploymentsClient grpcClient, DeploymentsSettings settings, ILogger logger)

Constructs a client wrapper for the Deployments service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Deploymentshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Deployments.DeploymentsClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsSettings` The base [DeploymentsSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override Deployments.DeploymentsClient GrpcClient { get; }

The underlying gRPC Deployments client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Deploymentshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Deployments.DeploymentsClient` |   |

**Overrides** [DeploymentsClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_GrpcClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

**Overrides** [DeploymentsClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_LocationsClient)

## Methods

### GetDeployment(GetDeploymentRequest, CallSettings)

    public override Deployment GetDeployment(GetDeploymentRequest request, CallSettings callSettings = null)

Retrieves the specified
\[Deployment\]\[google.cloud.dialogflow.cx.v3.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.GetDeploymentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Deployment` | The RPC response. |

**Overrides** [DeploymentsClient.GetDeployment(GetDeploymentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_GetDeployment_Google_Cloud_Dialogflow_Cx_V3_GetDeploymentRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetDeploymentAsync(GetDeploymentRequest, CallSettings)

    public override Task<Deployment> GetDeploymentAsync(GetDeploymentRequest request, CallSettings callSettings = null)

Retrieves the specified
\[Deployment\]\[google.cloud.dialogflow.cx.v3.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.GetDeploymentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Deployment` | A Task containing the RPC response. |

**Overrides** [DeploymentsClient.GetDeploymentAsync(GetDeploymentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_GetDeploymentAsync_Google_Cloud_Dialogflow_Cx_V3_GetDeploymentRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListDeployments(ListDeploymentsRequest, CallSettings)

    public override PagedEnumerable<ListDeploymentsResponse, Deployment> ListDeployments(ListDeploymentsRequest request, CallSettings callSettings = null)

Returns the list of all deployments in the specified
\[Environment\]\[google.cloud.dialogflow.cx.v3.Environment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.ListDeploymentsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.ListDeploymentsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Deployment` | A pageable sequence of [Deployment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Deployment) resources. |

**Overrides** [DeploymentsClient.ListDeployments(ListDeploymentsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_ListDeployments_Google_Cloud_Dialogflow_Cx_V3_ListDeploymentsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListDeploymentsAsync(ListDeploymentsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> ListDeploymentsAsync(ListDeploymentsRequest request, CallSettings callSettings = null)

Returns the list of all deployments in the specified
\[Environment\]\[google.cloud.dialogflow.cx.v3.Environment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.ListDeploymentsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.ListDeploymentsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Deployment` | A pageable asynchronous sequence of [Deployment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Deployment) resources. |

**Overrides** [DeploymentsClient.ListDeploymentsAsync(ListDeploymentsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.DeploymentsClient#Google_Cloud_Dialogflow_Cx_V3_DeploymentsClient_ListDeploymentsAsync_Google_Cloud_Dialogflow_Cx_V3_ListDeploymentsRequest_Google_Api_Gax_Grpc_CallSettings_)