public class DeploymentsClient : ClientBase<Deployments.DeploymentsClient>
Client for Deployments
Inheritance
Object > ClientBase > ClientBase<Deployments.DeploymentsClient> > Deployments.DeploymentsClientNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
DeploymentsClient()
protected DeploymentsClient()
Protected parameterless constructor to allow creation of test doubles.
DeploymentsClient(CallInvoker)
public DeploymentsClient(CallInvoker callInvoker)
Creates a new client for Deployments that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
DeploymentsClient(ChannelBase)
public DeploymentsClient(ChannelBase channel)
Creates a new client for Deployments
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
DeploymentsClient(ClientBase.ClientBaseConfiguration)
protected DeploymentsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()
Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
Locations.LocationsClient | A new Locations.LocationsClient for the same target as this client. |
GetDeployment(GetDeploymentRequest, CallOptions)
public virtual Deployment GetDeployment(GetDeploymentRequest request, CallOptions options)
Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3.Deployment].
Parameters | |
---|---|
Name | Description |
request | GetDeploymentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Deployment | The response received from the server. |
GetDeployment(GetDeploymentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Deployment GetDeployment(GetDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3.Deployment].
Parameters | |
---|---|
Name | Description |
request | GetDeploymentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Deployment | The response received from the server. |
GetDeploymentAsync(GetDeploymentRequest, CallOptions)
public virtual AsyncUnaryCall<Deployment> GetDeploymentAsync(GetDeploymentRequest request, CallOptions options)
Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3.Deployment].
Parameters | |
---|---|
Name | Description |
request | GetDeploymentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Deployment> | The call object. |
GetDeploymentAsync(GetDeploymentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Deployment> GetDeploymentAsync(GetDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3.Deployment].
Parameters | |
---|---|
Name | Description |
request | GetDeploymentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Deployment> | The call object. |
ListDeployments(ListDeploymentsRequest, CallOptions)
public virtual ListDeploymentsResponse ListDeployments(ListDeploymentsRequest request, CallOptions options)
Returns the list of all deployments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
Parameters | |
---|---|
Name | Description |
request | ListDeploymentsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListDeploymentsResponse | The response received from the server. |
ListDeployments(ListDeploymentsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListDeploymentsResponse ListDeployments(ListDeploymentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the list of all deployments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
Parameters | |
---|---|
Name | Description |
request | ListDeploymentsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListDeploymentsResponse | The response received from the server. |
ListDeploymentsAsync(ListDeploymentsRequest, CallOptions)
public virtual AsyncUnaryCall<ListDeploymentsResponse> ListDeploymentsAsync(ListDeploymentsRequest request, CallOptions options)
Returns the list of all deployments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
Parameters | |
---|---|
Name | Description |
request | ListDeploymentsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListDeploymentsResponse> | The call object. |
ListDeploymentsAsync(ListDeploymentsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListDeploymentsResponse> ListDeploymentsAsync(ListDeploymentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the list of all deployments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
Parameters | |
---|---|
Name | Description |
request | ListDeploymentsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListDeploymentsResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override Deployments.DeploymentsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
Deployments.DeploymentsClient |