public sealed class DeploymentsClientImpl : DeploymentsClient
Reference 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 |
DeploymentsDeploymentsClient 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 |
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 |
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. |
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 |
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 |
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 |
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 |
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 |
PagedAsyncEnumerableListDeploymentsResponseDeployment |
A pageable asynchronous sequence of Deployment resources. |