public sealed class ConversationModelsClientImpl : ConversationModelsClient
ConversationModels client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Remarks
Manages a collection of models for human agent assistant.
Constructors
ConversationModelsClientImpl(ConversationModels.ConversationModelsClient, ConversationModelsSettings)
public ConversationModelsClientImpl(ConversationModels.ConversationModelsClient grpcClient, ConversationModelsSettings settings)
Constructs a client wrapper for the ConversationModels service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | ConversationModels.ConversationModelsClient The underlying gRPC client. |
settings | ConversationModelsSettings The base ConversationModelsSettings used within this client. |
Properties
CreateConversationModelEvaluationOperationsClient
public override OperationsClient CreateConversationModelEvaluationOperationsClient { get; }
The long-running operations client for CreateConversationModelEvaluation
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateConversationModelOperationsClient
public override OperationsClient CreateConversationModelOperationsClient { get; }
The long-running operations client for CreateConversationModel
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteConversationModelOperationsClient
public override OperationsClient DeleteConversationModelOperationsClient { get; }
The long-running operations client for DeleteConversationModel
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeployConversationModelOperationsClient
public override OperationsClient DeployConversationModelOperationsClient { get; }
The long-running operations client for DeployConversationModel
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override ConversationModels.ConversationModelsClient GrpcClient { get; }
The underlying gRPC ConversationModels client
Property Value | |
---|---|
Type | Description |
ConversationModels.ConversationModelsClient |
UndeployConversationModelOperationsClient
public override OperationsClient UndeployConversationModelOperationsClient { get; }
The long-running operations client for UndeployConversationModel
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
CreateConversationModel(CreateConversationModelRequest, CallSettings)
public override Operation<ConversationModel, CreateConversationModelOperationMetadata> CreateConversationModel(CreateConversationModelRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ConversationModel, CreateConversationModelOperationMetadata> | The RPC response. |
CreateConversationModelAsync(CreateConversationModelRequest, CallSettings)
public override Task<Operation<ConversationModel, CreateConversationModelOperationMetadata>> CreateConversationModelAsync(CreateConversationModelRequest request, CallSettings callSettings = null)
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 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<Operation<ConversationModel, CreateConversationModelOperationMetadata>> | A Task containing the RPC response. |
CreateConversationModelEvaluation(CreateConversationModelEvaluationRequest, CallSettings)
public override Operation<ConversationModelEvaluation, CreateConversationModelEvaluationOperationMetadata> CreateConversationModelEvaluation(CreateConversationModelEvaluationRequest request, CallSettings callSettings = null)
Creates evaluation of a conversation model.
Parameters | |
---|---|
Name | Description |
request | CreateConversationModelEvaluationRequest 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 |
Operation<ConversationModelEvaluation, CreateConversationModelEvaluationOperationMetadata> | The RPC response. |
CreateConversationModelEvaluationAsync(CreateConversationModelEvaluationRequest, CallSettings)
public override Task<Operation<ConversationModelEvaluation, CreateConversationModelEvaluationOperationMetadata>> CreateConversationModelEvaluationAsync(CreateConversationModelEvaluationRequest request, CallSettings callSettings = null)
Creates evaluation of a conversation model.
Parameters | |
---|---|
Name | Description |
request | CreateConversationModelEvaluationRequest 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<Operation<ConversationModelEvaluation, CreateConversationModelEvaluationOperationMetadata>> | A Task containing the RPC response. |
DeleteConversationModel(DeleteConversationModelRequest, CallSettings)
public override Operation<Empty, DeleteConversationModelOperationMetadata> DeleteConversationModel(DeleteConversationModelRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeleteConversationModelOperationMetadata> | The RPC response. |
DeleteConversationModelAsync(DeleteConversationModelRequest, CallSettings)
public override Task<Operation<Empty, DeleteConversationModelOperationMetadata>> DeleteConversationModelAsync(DeleteConversationModelRequest request, CallSettings callSettings = null)
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 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<Operation<Empty, DeleteConversationModelOperationMetadata>> | A Task containing the RPC response. |
DeployConversationModel(DeployConversationModelRequest, CallSettings)
public override Operation<Empty, DeployConversationModelOperationMetadata> DeployConversationModel(DeployConversationModelRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, DeployConversationModelOperationMetadata> | The RPC response. |
DeployConversationModelAsync(DeployConversationModelRequest, CallSettings)
public override Task<Operation<Empty, DeployConversationModelOperationMetadata>> DeployConversationModelAsync(DeployConversationModelRequest request, CallSettings callSettings = null)
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 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<Operation<Empty, DeployConversationModelOperationMetadata>> | A Task containing the RPC response. |
GetConversationModel(GetConversationModelRequest, CallSettings)
public override ConversationModel GetConversationModel(GetConversationModelRequest request, CallSettings callSettings = null)
Gets conversation model.
Parameters | |
---|---|
Name | Description |
request | GetConversationModelRequest 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 |
ConversationModel | The RPC response. |
GetConversationModelAsync(GetConversationModelRequest, CallSettings)
public override Task<ConversationModel> GetConversationModelAsync(GetConversationModelRequest request, CallSettings callSettings = null)
Gets conversation model.
Parameters | |
---|---|
Name | Description |
request | GetConversationModelRequest 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<ConversationModel> | A Task containing the RPC response. |
GetConversationModelEvaluation(GetConversationModelEvaluationRequest, CallSettings)
public override ConversationModelEvaluation GetConversationModelEvaluation(GetConversationModelEvaluationRequest request, CallSettings callSettings = null)
Gets an evaluation of conversation model.
Parameters | |
---|---|
Name | Description |
request | GetConversationModelEvaluationRequest 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 |
ConversationModelEvaluation | The RPC response. |
GetConversationModelEvaluationAsync(GetConversationModelEvaluationRequest, CallSettings)
public override Task<ConversationModelEvaluation> GetConversationModelEvaluationAsync(GetConversationModelEvaluationRequest request, CallSettings callSettings = null)
Gets an evaluation of conversation model.
Parameters | |
---|---|
Name | Description |
request | GetConversationModelEvaluationRequest 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<ConversationModelEvaluation> | A Task containing the RPC response. |
ListConversationModelEvaluations(ListConversationModelEvaluationsRequest, CallSettings)
public override PagedEnumerable<ListConversationModelEvaluationsResponse, ConversationModelEvaluation> ListConversationModelEvaluations(ListConversationModelEvaluationsRequest request, CallSettings callSettings = null)
Lists evaluations of a conversation model.
Parameters | |
---|---|
Name | Description |
request | ListConversationModelEvaluationsRequest 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<ListConversationModelEvaluationsResponse, ConversationModelEvaluation> | A pageable sequence of ConversationModelEvaluation resources. |
ListConversationModelEvaluationsAsync(ListConversationModelEvaluationsRequest, CallSettings)
public override PagedAsyncEnumerable<ListConversationModelEvaluationsResponse, ConversationModelEvaluation> ListConversationModelEvaluationsAsync(ListConversationModelEvaluationsRequest request, CallSettings callSettings = null)
Lists evaluations of a conversation model.
Parameters | |
---|---|
Name | Description |
request | ListConversationModelEvaluationsRequest 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<ListConversationModelEvaluationsResponse, ConversationModelEvaluation> | A pageable asynchronous sequence of ConversationModelEvaluation resources. |
ListConversationModels(ListConversationModelsRequest, CallSettings)
public override PagedEnumerable<ListConversationModelsResponse, ConversationModel> ListConversationModels(ListConversationModelsRequest request, CallSettings callSettings = null)
Lists conversation models.
Parameters | |
---|---|
Name | Description |
request | ListConversationModelsRequest 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<ListConversationModelsResponse, ConversationModel> | A pageable sequence of ConversationModel resources. |
ListConversationModelsAsync(ListConversationModelsRequest, CallSettings)
public override PagedAsyncEnumerable<ListConversationModelsResponse, ConversationModel> ListConversationModelsAsync(ListConversationModelsRequest request, CallSettings callSettings = null)
Lists conversation models.
Parameters | |
---|---|
Name | Description |
request | ListConversationModelsRequest 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<ListConversationModelsResponse, ConversationModel> | A pageable asynchronous sequence of ConversationModel resources. |
UndeployConversationModel(UndeployConversationModelRequest, CallSettings)
public override Operation<Empty, UndeployConversationModelOperationMetadata> UndeployConversationModel(UndeployConversationModelRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, UndeployConversationModelOperationMetadata> | The RPC response. |
UndeployConversationModelAsync(UndeployConversationModelRequest, CallSettings)
public override Task<Operation<Empty, UndeployConversationModelOperationMetadata>> UndeployConversationModelAsync(UndeployConversationModelRequest request, CallSettings callSettings = null)
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 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<Operation<Empty, UndeployConversationModelOperationMetadata>> | A Task containing the RPC response. |