4.34.0 (latest) 4.33.0 4.32.0 4.31.0 4.30.0 4.29.0 4.28.0 4.27.0 4.26.0 4.25.0 4.24.0 4.23.0 4.22.0 4.21.0 4.20.0 4.19.0 4.18.0 4.17.0 4.16.0 4.15.0 4.14.0 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0

    public class ConversationModels.ConversationModelsClient : ClientBase<ConversationModels.ConversationModelsClient>

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class ConversationModels.ConversationModelsClient.

Client for ConversationModels

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt)[ConversationModels](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ConversationModels.md.txt)[ConversationModelsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ConversationModels.ConversationModelsClient.md.txt) \> ConversationModels.ConversationModelsClient

## Inherited Members

[ClientBase\<ConversationModels.ConversationModelsClient\>.WithHost(string)](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt#Grpc_Core_ClientBase_1_WithHost_System_String_) [ClientBase.CallInvoker](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt#Grpc_Core_ClientBase_CallInvoker) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dialogflow.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.md.txt)

## Assembly

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(ClientBaseConfiguration)

    protected ConversationModelsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` 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](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
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, DateTime?, CancellationToken)

    public virtual Operation CreateConversationModel(CreateConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a model.

This method is a [long-running
operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
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.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](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
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** |
| `AsyncUnaryCallOperation` | The call object. |

### CreateConversationModelAsync(CreateConversationModelRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Operation> CreateConversationModelAsync(CreateConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a model.

This method is a [long-running
operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
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.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** |
| `AsyncUnaryCallOperation` | 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, DateTime?, CancellationToken)

    public virtual Operation CreateConversationModelEvaluation(CreateConversationModelEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.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** |
| `AsyncUnaryCallOperation` | The call object. |

### CreateConversationModelEvaluationAsync(CreateConversationModelEvaluationRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Operation> CreateConversationModelEvaluationAsync(CreateConversationModelEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.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** |
| `AsyncUnaryCallOperation` | The call object. |

### CreateLocationsClient()

    public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of [Locations.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Locations.LocationsClient.md.txt) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `LocationsLocationsClient` | A new [Locations.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Locations.LocationsClient.md.txt) for the same target as this client. |

### CreateOperationsClient()

    public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of [Operations.OperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operations.OperationsClient.md.txt) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationsOperationsClient` | 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](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
The returned `Operation` type has the following method-specific fields:

- `metadata`: \[DeleteConversationModelOperationMetadata\]\[google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata\]
- `response`: An [Empty
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)

| **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, DateTime?, CancellationToken)

    public virtual Operation DeleteConversationModel(DeleteConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a model.

This method is a [long-running
operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
The returned `Operation` type has the following method-specific fields:

- `metadata`: \[DeleteConversationModelOperationMetadata\]\[google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata\]
- `response`: An [Empty
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)

| **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.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](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
The returned `Operation` type has the following method-specific fields:

- `metadata`: \[DeleteConversationModelOperationMetadata\]\[google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata\]
- `response`: An [Empty
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteConversationModelRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### DeleteConversationModelAsync(DeleteConversationModelRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Operation> DeleteConversationModelAsync(DeleteConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a model.

This method is a [long-running
operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
The returned `Operation` type has the following method-specific fields:

- `metadata`: \[DeleteConversationModelOperationMetadata\]\[google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata\]
- `response`: An [Empty
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)

| **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.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** |
| `AsyncUnaryCallOperation` | 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](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
The returned `Operation` type has the following method-specific fields:

- `metadata`: \[DeployConversationModelOperationMetadata\]\[google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata\]
- `response`: An [Empty
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)

| **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, DateTime?, CancellationToken)

    public virtual Operation DeployConversationModel(DeployConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
The returned `Operation` type has the following method-specific fields:

- `metadata`: \[DeployConversationModelOperationMetadata\]\[google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata\]
- `response`: An [Empty
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)

| **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.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](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
The returned `Operation` type has the following method-specific fields:

- `metadata`: \[DeployConversationModelOperationMetadata\]\[google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata\]
- `response`: An [Empty
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeployConversationModelRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### DeployConversationModelAsync(DeployConversationModelRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Operation> DeployConversationModelAsync(DeployConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
The returned `Operation` type has the following method-specific fields:

- `metadata`: \[DeployConversationModelOperationMetadata\]\[google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata\]
- `response`: An [Empty
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)

| **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.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** |
| `AsyncUnaryCallOperation` | 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, DateTime?, CancellationToken)

    public virtual ConversationModel GetConversationModel(GetConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.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** |
| `AsyncUnaryCallConversationModel` | The call object. |

### GetConversationModelAsync(GetConversationModelRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ConversationModel> GetConversationModelAsync(GetConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.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** |
| `AsyncUnaryCallConversationModel` | 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, DateTime?, CancellationToken)

    public virtual ConversationModelEvaluation GetConversationModelEvaluation(GetConversationModelEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.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** |
| `AsyncUnaryCallConversationModelEvaluation` | The call object. |

### GetConversationModelEvaluationAsync(GetConversationModelEvaluationRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ConversationModelEvaluation> GetConversationModelEvaluationAsync(GetConversationModelEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.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** |
| `AsyncUnaryCallConversationModelEvaluation` | 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, DateTime?, CancellationToken)

    public virtual ListConversationModelEvaluationsResponse ListConversationModelEvaluations(ListConversationModelEvaluationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.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** |
| `AsyncUnaryCallListConversationModelEvaluationsResponse` | The call object. |

### ListConversationModelEvaluationsAsync(ListConversationModelEvaluationsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListConversationModelEvaluationsResponse> ListConversationModelEvaluationsAsync(ListConversationModelEvaluationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.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** |
| `AsyncUnaryCallListConversationModelEvaluationsResponse` | 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, DateTime?, CancellationToken)

    public virtual ListConversationModelsResponse ListConversationModels(ListConversationModelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.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** |
| `AsyncUnaryCallListConversationModelsResponse` | The call object. |

### ListConversationModelsAsync(ListConversationModelsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListConversationModelsResponse> ListConversationModelsAsync(ListConversationModelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.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** |
| `AsyncUnaryCallListConversationModelsResponse` | The call object. |

### NewInstance(ClientBaseConfiguration)

    protected override ConversationModels.ConversationModelsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given `ClientBaseConfiguration`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ConversationModelsConversationModelsClient` |   |

**Overrides** Grpc.Core.ClientBase\<Google.Cloud.Dialogflow.V2.ConversationModels.ConversationModelsClient\>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

### 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](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
The returned `Operation` type has the following method-specific fields:

- `metadata`: \[UndeployConversationModelOperationMetadata\]\[google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata\]
- `response`: An [Empty
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)

| **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, DateTime?, CancellationToken)

    public virtual Operation UndeployConversationModel(UndeployConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
The returned `Operation` type has the following method-specific fields:

- `metadata`: \[UndeployConversationModelOperationMetadata\]\[google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata\]
- `response`: An [Empty
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)

| **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.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](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
The returned `Operation` type has the following method-specific fields:

- `metadata`: \[UndeployConversationModelOperationMetadata\]\[google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata\]
- `response`: An [Empty
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UndeployConversationModelRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### UndeployConversationModelAsync(UndeployConversationModelRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Operation> UndeployConversationModelAsync(UndeployConversationModelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
The returned `Operation` type has the following method-specific fields:

- `metadata`: \[UndeployConversationModelOperationMetadata\]\[google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata\]
- `response`: An [Empty
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)

| **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.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** |
| `AsyncUnaryCallOperation` | The call object. |