Class DeploymentsClientImpl (2.0.0)

public sealed class DeploymentsClientImpl : DeploymentsClient

Deployments client wrapper implementation, for convenient use.

Inheritance

Object > DeploymentsClient > DeploymentsClientImpl

Namespace

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(Deployments.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 Deployments.DeploymentsClient

The underlying gRPC client.

settings DeploymentsSettings

The base DeploymentsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override Deployments.DeploymentsClient GrpcClient { get; }

The underlying gRPC Deployments client

Property Value
Type Description
Deployments.DeploymentsClient
Overrides

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 GetDeploymentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Deployment

The RPC response.

Overrides

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 GetDeploymentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<Deployment>

A Task containing the RPC response.

Overrides

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 ListDeploymentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerable<ListDeploymentsResponse, Deployment>

A pageable sequence of Deployment resources.

Overrides

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 ListDeploymentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<ListDeploymentsResponse, Deployment>

A pageable asynchronous sequence of Deployment resources.

Overrides