public class ConversationModelsClient : ClientBase<ConversationModels.ConversationModelsClient>
Client for ConversationModels
Inheritance
System.Object > ClientBase > ClientBase<ConversationModels.ConversationModelsClient> > ConversationModels.ConversationModelsClientNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
ConversationModelsClient()
protected ConversationModelsClient()
Protected parameterless constructor to allow creation of test doubles.
ConversationModelsClient(CallInvoker)
public ConversationModelsClient(CallInvoker callInvoker)
Creates a new client for ConversationModels that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
ConversationModelsClient(ChannelBase)
public ConversationModelsClient(ChannelBase channel)
Creates a new client for ConversationModels
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
ConversationModelsClient(ClientBase.ClientBaseConfiguration)
protected ConversationModelsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateConversationModel(CreateConversationModelRequest, CallOptions)
public virtual Operation CreateConversationModel(CreateConversationModelRequest request, CallOptions options)
Creates a model.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]response
: [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]
Parameters | |
---|---|
Name | Description |
request | CreateConversationModelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateConversationModel(CreateConversationModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateConversationModel(CreateConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a model.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]response
: [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]
Parameters | |
---|---|
Name | Description |
request | CreateConversationModelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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 |
Operation | The response received from the server. |
CreateConversationModelAsync(CreateConversationModelRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateConversationModelAsync(CreateConversationModelRequest request, CallOptions options)
Creates a model.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]response
: [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]
Parameters | |
---|---|
Name | Description |
request | CreateConversationModelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateConversationModelAsync(CreateConversationModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateConversationModelAsync(CreateConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a model.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]response
: [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]
Parameters | |
---|---|
Name | Description |
request | CreateConversationModelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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<Operation> | The call object. |
CreateConversationModelEvaluation(CreateConversationModelEvaluationRequest, CallOptions)
public virtual Operation CreateConversationModelEvaluation(CreateConversationModelEvaluationRequest request, CallOptions options)
Creates evaluation of a conversation model.
Parameters | |
---|---|
Name | Description |
request | CreateConversationModelEvaluationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateConversationModelEvaluation(CreateConversationModelEvaluationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateConversationModelEvaluation(CreateConversationModelEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates evaluation of a conversation model.
Parameters | |
---|---|
Name | Description |
request | CreateConversationModelEvaluationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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 |
Operation | The response received from the server. |
CreateConversationModelEvaluationAsync(CreateConversationModelEvaluationRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateConversationModelEvaluationAsync(CreateConversationModelEvaluationRequest request, CallOptions options)
Creates evaluation of a conversation model.
Parameters | |
---|---|
Name | Description |
request | CreateConversationModelEvaluationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateConversationModelEvaluationAsync(CreateConversationModelEvaluationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateConversationModelEvaluationAsync(CreateConversationModelEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates evaluation of a conversation model.
Parameters | |
---|---|
Name | Description |
request | CreateConversationModelEvaluationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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<Operation> | The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
Operations.OperationsClient | A new Operations client for the same target as this client. |
DeleteConversationModel(DeleteConversationModelRequest, CallOptions)
public virtual Operation DeleteConversationModel(DeleteConversationModelRequest request, CallOptions options)
Deletes a model.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]response
: An Empty message
Parameters | |
---|---|
Name | Description |
request | DeleteConversationModelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteConversationModel(DeleteConversationModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteConversationModel(DeleteConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a model.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]response
: An Empty message
Parameters | |
---|---|
Name | Description |
request | DeleteConversationModelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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 |
Operation | The response received from the server. |
DeleteConversationModelAsync(DeleteConversationModelRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteConversationModelAsync(DeleteConversationModelRequest request, CallOptions options)
Deletes a model.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]response
: An Empty message
Parameters | |
---|---|
Name | Description |
request | DeleteConversationModelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteConversationModelAsync(DeleteConversationModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteConversationModelAsync(DeleteConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a model.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]response
: An Empty message
Parameters | |
---|---|
Name | Description |
request | DeleteConversationModelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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<Operation> | The call object. |
DeployConversationModel(DeployConversationModelRequest, CallOptions)
public virtual Operation DeployConversationModel(DeployConversationModelRequest request, CallOptions options)
Deploys a model. If a model is already deployed, deploying it has no effect. A model can only serve prediction requests after it gets deployed. For article suggestion, custom model will not be used unless it is deployed.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]response
: An Empty message
Parameters | |
---|---|
Name | Description |
request | DeployConversationModelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeployConversationModel(DeployConversationModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeployConversationModel(DeployConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deploys a model. If a model is already deployed, deploying it has no effect. A model can only serve prediction requests after it gets deployed. For article suggestion, custom model will not be used unless it is deployed.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]response
: An Empty message
Parameters | |
---|---|
Name | Description |
request | DeployConversationModelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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 |
Operation | The response received from the server. |
DeployConversationModelAsync(DeployConversationModelRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeployConversationModelAsync(DeployConversationModelRequest request, CallOptions options)
Deploys a model. If a model is already deployed, deploying it has no effect. A model can only serve prediction requests after it gets deployed. For article suggestion, custom model will not be used unless it is deployed.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]response
: An Empty message
Parameters | |
---|---|
Name | Description |
request | DeployConversationModelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeployConversationModelAsync(DeployConversationModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeployConversationModelAsync(DeployConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deploys a model. If a model is already deployed, deploying it has no effect. A model can only serve prediction requests after it gets deployed. For article suggestion, custom model will not be used unless it is deployed.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]response
: An Empty message
Parameters | |
---|---|
Name | Description |
request | DeployConversationModelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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<Operation> | The call object. |
GetConversationModel(GetConversationModelRequest, CallOptions)
public virtual ConversationModel GetConversationModel(GetConversationModelRequest request, CallOptions options)
Gets conversation model.
Parameters | |
---|---|
Name | Description |
request | GetConversationModelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ConversationModel | The response received from the server. |
GetConversationModel(GetConversationModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ConversationModel GetConversationModel(GetConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets conversation model.
Parameters | |
---|---|
Name | Description |
request | GetConversationModelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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 |
ConversationModel | The response received from the server. |
GetConversationModelAsync(GetConversationModelRequest, CallOptions)
public virtual AsyncUnaryCall<ConversationModel> GetConversationModelAsync(GetConversationModelRequest request, CallOptions options)
Gets conversation model.
Parameters | |
---|---|
Name | Description |
request | GetConversationModelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ConversationModel> | The call object. |
GetConversationModelAsync(GetConversationModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ConversationModel> GetConversationModelAsync(GetConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets conversation model.
Parameters | |
---|---|
Name | Description |
request | GetConversationModelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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<ConversationModel> | The call object. |
GetConversationModelEvaluation(GetConversationModelEvaluationRequest, CallOptions)
public virtual ConversationModelEvaluation GetConversationModelEvaluation(GetConversationModelEvaluationRequest request, CallOptions options)
Gets an evaluation of conversation model.
Parameters | |
---|---|
Name | Description |
request | GetConversationModelEvaluationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ConversationModelEvaluation | The response received from the server. |
GetConversationModelEvaluation(GetConversationModelEvaluationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ConversationModelEvaluation GetConversationModelEvaluation(GetConversationModelEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets an evaluation of conversation model.
Parameters | |
---|---|
Name | Description |
request | GetConversationModelEvaluationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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 |
ConversationModelEvaluation | The response received from the server. |
GetConversationModelEvaluationAsync(GetConversationModelEvaluationRequest, CallOptions)
public virtual AsyncUnaryCall<ConversationModelEvaluation> GetConversationModelEvaluationAsync(GetConversationModelEvaluationRequest request, CallOptions options)
Gets an evaluation of conversation model.
Parameters | |
---|---|
Name | Description |
request | GetConversationModelEvaluationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ConversationModelEvaluation> | The call object. |
GetConversationModelEvaluationAsync(GetConversationModelEvaluationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ConversationModelEvaluation> GetConversationModelEvaluationAsync(GetConversationModelEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets an evaluation of conversation model.
Parameters | |
---|---|
Name | Description |
request | GetConversationModelEvaluationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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<ConversationModelEvaluation> | The call object. |
ListConversationModelEvaluations(ListConversationModelEvaluationsRequest, CallOptions)
public virtual ListConversationModelEvaluationsResponse ListConversationModelEvaluations(ListConversationModelEvaluationsRequest request, CallOptions options)
Lists evaluations of a conversation model.
Parameters | |
---|---|
Name | Description |
request | ListConversationModelEvaluationsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListConversationModelEvaluationsResponse | The response received from the server. |
ListConversationModelEvaluations(ListConversationModelEvaluationsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListConversationModelEvaluationsResponse ListConversationModelEvaluations(ListConversationModelEvaluationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists evaluations of a conversation model.
Parameters | |
---|---|
Name | Description |
request | ListConversationModelEvaluationsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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 |
ListConversationModelEvaluationsResponse | The response received from the server. |
ListConversationModelEvaluationsAsync(ListConversationModelEvaluationsRequest, CallOptions)
public virtual AsyncUnaryCall<ListConversationModelEvaluationsResponse> ListConversationModelEvaluationsAsync(ListConversationModelEvaluationsRequest request, CallOptions options)
Lists evaluations of a conversation model.
Parameters | |
---|---|
Name | Description |
request | ListConversationModelEvaluationsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListConversationModelEvaluationsResponse> | The call object. |
ListConversationModelEvaluationsAsync(ListConversationModelEvaluationsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListConversationModelEvaluationsResponse> ListConversationModelEvaluationsAsync(ListConversationModelEvaluationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists evaluations of a conversation model.
Parameters | |
---|---|
Name | Description |
request | ListConversationModelEvaluationsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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<ListConversationModelEvaluationsResponse> | The call object. |
ListConversationModels(ListConversationModelsRequest, CallOptions)
public virtual ListConversationModelsResponse ListConversationModels(ListConversationModelsRequest request, CallOptions options)
Lists conversation models.
Parameters | |
---|---|
Name | Description |
request | ListConversationModelsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListConversationModelsResponse | The response received from the server. |
ListConversationModels(ListConversationModelsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListConversationModelsResponse ListConversationModels(ListConversationModelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists conversation models.
Parameters | |
---|---|
Name | Description |
request | ListConversationModelsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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 |
ListConversationModelsResponse | The response received from the server. |
ListConversationModelsAsync(ListConversationModelsRequest, CallOptions)
public virtual AsyncUnaryCall<ListConversationModelsResponse> ListConversationModelsAsync(ListConversationModelsRequest request, CallOptions options)
Lists conversation models.
Parameters | |
---|---|
Name | Description |
request | ListConversationModelsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListConversationModelsResponse> | The call object. |
ListConversationModelsAsync(ListConversationModelsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListConversationModelsResponse> ListConversationModelsAsync(ListConversationModelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists conversation models.
Parameters | |
---|---|
Name | Description |
request | ListConversationModelsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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<ListConversationModelsResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override ConversationModels.ConversationModelsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
ConversationModels.ConversationModelsClient |
UndeployConversationModel(UndeployConversationModelRequest, CallOptions)
public virtual Operation UndeployConversationModel(UndeployConversationModelRequest request, CallOptions options)
Undeploys a model. If the model is not deployed this method has no effect. If the model is currently being used:
- For article suggestion, article suggestion will fallback to the default model if model is undeployed.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]response
: An Empty message
Parameters | |
---|---|
Name | Description |
request | UndeployConversationModelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
UndeployConversationModel(UndeployConversationModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation UndeployConversationModel(UndeployConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Undeploys a model. If the model is not deployed this method has no effect. If the model is currently being used:
- For article suggestion, article suggestion will fallback to the default model if model is undeployed.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]response
: An Empty message
Parameters | |
---|---|
Name | Description |
request | UndeployConversationModelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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 |
Operation | The response received from the server. |
UndeployConversationModelAsync(UndeployConversationModelRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UndeployConversationModelAsync(UndeployConversationModelRequest request, CallOptions options)
Undeploys a model. If the model is not deployed this method has no effect. If the model is currently being used:
- For article suggestion, article suggestion will fallback to the default model if model is undeployed.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]response
: An Empty message
Parameters | |
---|---|
Name | Description |
request | UndeployConversationModelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
UndeployConversationModelAsync(UndeployConversationModelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UndeployConversationModelAsync(UndeployConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Undeploys a model. If the model is not deployed this method has no effect. If the model is currently being used:
- For article suggestion, article suggestion will fallback to the default model if model is undeployed.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]response
: An Empty message
Parameters | |
---|---|
Name | Description |
request | UndeployConversationModelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | System.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<Operation> | The call object. |