public sealed class DeploymentsClientImpl : DeploymentsClientReference documentation and code samples for the Dialogflow v3 API class DeploymentsClientImpl.
Deployments client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
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 |
DeploymentsDeploymentsClientThe underlying gRPC client. |
settings |
DeploymentsSettingsThe base DeploymentsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override Deployments.DeploymentsClient GrpcClient { get; }The underlying gRPC Deployments client
| Property Value | |
|---|---|
| Type | Description |
DeploymentsDeploymentsClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
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 |
GetDeploymentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Deployment |
The RPC response. |
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 |
GetDeploymentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDeployment |
A Task containing the RPC response. |
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 |
ListDeploymentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDeploymentsResponseDeployment |
A pageable sequence of Deployment resources. |
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 |
ListDeploymentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDeploymentsResponseDeployment |
A pageable asynchronous sequence of Deployment resources. |