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 Conversations.ConversationsClient : ClientBase<Conversations.ConversationsClient>

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class Conversations.ConversationsClient.

Client for Conversations

## 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)[Conversations](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.Conversations.md.txt)[ConversationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.Conversations.ConversationsClient.md.txt) \> Conversations.ConversationsClient

## Inherited Members

[ClientBase\<Conversations.ConversationsClient\>.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

### ConversationsClient()

    protected ConversationsClient()

Protected parameterless constructor to allow creation of test doubles.

### ConversationsClient(CallInvoker)

    public ConversationsClient(CallInvoker callInvoker)

Creates a new client for Conversations that uses a custom `CallInvoker`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `callInvoker` | `CallInvoker` The callInvoker to use to make remote calls. |

### ConversationsClient(ChannelBase)

    public ConversationsClient(ChannelBase channel)

Creates a new client for Conversations

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `ChannelBase` The channel to use to make remote calls. |

### ConversationsClient(ClientBaseConfiguration)

    protected ConversationsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` The client configuration. |

## Methods

### CompleteConversation(CompleteConversationRequest, CallOptions)

    public virtual Conversation CompleteConversation(CompleteConversationRequest request, CallOptions options)

Completes the specified conversation. Finished conversations are purged
from the database after 30 days.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Conversation` | The response received from the server. |

### CompleteConversation(CompleteConversationRequest, Metadata, DateTime?, CancellationToken)

    public virtual Conversation CompleteConversation(CompleteConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Completes the specified conversation. Finished conversations are purged
from the database after 30 days.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CompleteConversationRequest` 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** |
| `Conversation` | The response received from the server. |

### CompleteConversationAsync(CompleteConversationRequest, CallOptions)

    public virtual AsyncUnaryCall<Conversation> CompleteConversationAsync(CompleteConversationRequest request, CallOptions options)

Completes the specified conversation. Finished conversations are purged
from the database after 30 days.

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

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

### CompleteConversationAsync(CompleteConversationRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Conversation> CompleteConversationAsync(CompleteConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Completes the specified conversation. Finished conversations are purged
from the database after 30 days.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CompleteConversationRequest` 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** |
| `AsyncUnaryCallConversation` | The call object. |

### CreateConversation(CreateConversationRequest, CallOptions)

    public virtual Conversation CreateConversation(CreateConversationRequest request, CallOptions options)

Creates a new conversation. Conversations are auto-completed after 24
hours.

Conversation Lifecycle:
There are two stages during a conversation: Automated Agent Stage and
Assist Stage.

For Automated Agent Stage, there will be a dialogflow agent responding to
user queries.

For Assist Stage, there's no dialogflow agent responding to user queries.
But we will provide suggestions which are generated from conversation.

If
\[Conversation.conversation_profile\]\[google.cloud.dialogflow.v2.Conversation.conversation_profile\]
is configured for a dialogflow agent, conversation will start from
`Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And
during `Automated Agent Stage`, once an
\[Intent\]\[google.cloud.dialogflow.v2.Intent\] with
\[Intent.live_agent_handoff\]\[google.cloud.dialogflow.v2.Intent.live_agent_handoff\]
is triggered, conversation will transfer to Assist Stage.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Conversation` | The response received from the server. |

### CreateConversation(CreateConversationRequest, Metadata, DateTime?, CancellationToken)

    public virtual Conversation CreateConversation(CreateConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new conversation. Conversations are auto-completed after 24
hours.

Conversation Lifecycle:
There are two stages during a conversation: Automated Agent Stage and
Assist Stage.

For Automated Agent Stage, there will be a dialogflow agent responding to
user queries.

For Assist Stage, there's no dialogflow agent responding to user queries.
But we will provide suggestions which are generated from conversation.

If
\[Conversation.conversation_profile\]\[google.cloud.dialogflow.v2.Conversation.conversation_profile\]
is configured for a dialogflow agent, conversation will start from
`Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And
during `Automated Agent Stage`, once an
\[Intent\]\[google.cloud.dialogflow.v2.Intent\] with
\[Intent.live_agent_handoff\]\[google.cloud.dialogflow.v2.Intent.live_agent_handoff\]
is triggered, conversation will transfer to Assist Stage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateConversationRequest` 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** |
| `Conversation` | The response received from the server. |

### CreateConversationAsync(CreateConversationRequest, CallOptions)

    public virtual AsyncUnaryCall<Conversation> CreateConversationAsync(CreateConversationRequest request, CallOptions options)

Creates a new conversation. Conversations are auto-completed after 24
hours.

Conversation Lifecycle:
There are two stages during a conversation: Automated Agent Stage and
Assist Stage.

For Automated Agent Stage, there will be a dialogflow agent responding to
user queries.

For Assist Stage, there's no dialogflow agent responding to user queries.
But we will provide suggestions which are generated from conversation.

If
\[Conversation.conversation_profile\]\[google.cloud.dialogflow.v2.Conversation.conversation_profile\]
is configured for a dialogflow agent, conversation will start from
`Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And
during `Automated Agent Stage`, once an
\[Intent\]\[google.cloud.dialogflow.v2.Intent\] with
\[Intent.live_agent_handoff\]\[google.cloud.dialogflow.v2.Intent.live_agent_handoff\]
is triggered, conversation will transfer to Assist Stage.

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

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

### CreateConversationAsync(CreateConversationRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Conversation> CreateConversationAsync(CreateConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new conversation. Conversations are auto-completed after 24
hours.

Conversation Lifecycle:
There are two stages during a conversation: Automated Agent Stage and
Assist Stage.

For Automated Agent Stage, there will be a dialogflow agent responding to
user queries.

For Assist Stage, there's no dialogflow agent responding to user queries.
But we will provide suggestions which are generated from conversation.

If
\[Conversation.conversation_profile\]\[google.cloud.dialogflow.v2.Conversation.conversation_profile\]
is configured for a dialogflow agent, conversation will start from
`Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And
during `Automated Agent Stage`, once an
\[Intent\]\[google.cloud.dialogflow.v2.Intent\] with
\[Intent.live_agent_handoff\]\[google.cloud.dialogflow.v2.Intent.live_agent_handoff\]
is triggered, conversation will transfer to Assist Stage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateConversationRequest` 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** |
| `AsyncUnaryCallConversation` | 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. |

### GenerateStatelessSuggestion(GenerateStatelessSuggestionRequest, CallOptions)

    public virtual GenerateStatelessSuggestionResponse GenerateStatelessSuggestion(GenerateStatelessSuggestionRequest request, CallOptions options)

Generates and returns a suggestion for a conversation that does not have a
resource created for it.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `GenerateStatelessSuggestionResponse` | The response received from the server. |

### GenerateStatelessSuggestion(GenerateStatelessSuggestionRequest, Metadata, DateTime?, CancellationToken)

    public virtual GenerateStatelessSuggestionResponse GenerateStatelessSuggestion(GenerateStatelessSuggestionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Generates and returns a suggestion for a conversation that does not have a
resource created for it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GenerateStatelessSuggestionRequest` 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** |
| `GenerateStatelessSuggestionResponse` | The response received from the server. |

### GenerateStatelessSuggestionAsync(GenerateStatelessSuggestionRequest, CallOptions)

    public virtual AsyncUnaryCall<GenerateStatelessSuggestionResponse> GenerateStatelessSuggestionAsync(GenerateStatelessSuggestionRequest request, CallOptions options)

Generates and returns a suggestion for a conversation that does not have a
resource created for it.

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

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

### GenerateStatelessSuggestionAsync(GenerateStatelessSuggestionRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<GenerateStatelessSuggestionResponse> GenerateStatelessSuggestionAsync(GenerateStatelessSuggestionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Generates and returns a suggestion for a conversation that does not have a
resource created for it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GenerateStatelessSuggestionRequest` 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** |
| `AsyncUnaryCallGenerateStatelessSuggestionResponse` | The call object. |

### GenerateStatelessSummary(GenerateStatelessSummaryRequest, CallOptions)

    public virtual GenerateStatelessSummaryResponse GenerateStatelessSummary(GenerateStatelessSummaryRequest request, CallOptions options)

Generates and returns a summary for a conversation that does not have a
resource created for it.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `GenerateStatelessSummaryResponse` | The response received from the server. |

### GenerateStatelessSummary(GenerateStatelessSummaryRequest, Metadata, DateTime?, CancellationToken)

    public virtual GenerateStatelessSummaryResponse GenerateStatelessSummary(GenerateStatelessSummaryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Generates and returns a summary for a conversation that does not have a
resource created for it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GenerateStatelessSummaryRequest` 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** |
| `GenerateStatelessSummaryResponse` | The response received from the server. |

### GenerateStatelessSummaryAsync(GenerateStatelessSummaryRequest, CallOptions)

    public virtual AsyncUnaryCall<GenerateStatelessSummaryResponse> GenerateStatelessSummaryAsync(GenerateStatelessSummaryRequest request, CallOptions options)

Generates and returns a summary for a conversation that does not have a
resource created for it.

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

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

### GenerateStatelessSummaryAsync(GenerateStatelessSummaryRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<GenerateStatelessSummaryResponse> GenerateStatelessSummaryAsync(GenerateStatelessSummaryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Generates and returns a summary for a conversation that does not have a
resource created for it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GenerateStatelessSummaryRequest` 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** |
| `AsyncUnaryCallGenerateStatelessSummaryResponse` | The call object. |

### GenerateSuggestions(GenerateSuggestionsRequest, CallOptions)

    public virtual GenerateSuggestionsResponse GenerateSuggestions(GenerateSuggestionsRequest request, CallOptions options)

Generates all the suggestions using generators configured in the
conversation profile. A generator is used only if its trigger event is
matched.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `GenerateSuggestionsResponse` | The response received from the server. |

### GenerateSuggestions(GenerateSuggestionsRequest, Metadata, DateTime?, CancellationToken)

    public virtual GenerateSuggestionsResponse GenerateSuggestions(GenerateSuggestionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Generates all the suggestions using generators configured in the
conversation profile. A generator is used only if its trigger event is
matched.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GenerateSuggestionsRequest` 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** |
| `GenerateSuggestionsResponse` | The response received from the server. |

### GenerateSuggestionsAsync(GenerateSuggestionsRequest, CallOptions)

    public virtual AsyncUnaryCall<GenerateSuggestionsResponse> GenerateSuggestionsAsync(GenerateSuggestionsRequest request, CallOptions options)

Generates all the suggestions using generators configured in the
conversation profile. A generator is used only if its trigger event is
matched.

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

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

### GenerateSuggestionsAsync(GenerateSuggestionsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<GenerateSuggestionsResponse> GenerateSuggestionsAsync(GenerateSuggestionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Generates all the suggestions using generators configured in the
conversation profile. A generator is used only if its trigger event is
matched.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GenerateSuggestionsRequest` 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** |
| `AsyncUnaryCallGenerateSuggestionsResponse` | The call object. |

### GetConversation(GetConversationRequest, CallOptions)

    public virtual Conversation GetConversation(GetConversationRequest request, CallOptions options)

Retrieves the specific conversation.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Conversation` | The response received from the server. |

### GetConversation(GetConversationRequest, Metadata, DateTime?, CancellationToken)

    public virtual Conversation GetConversation(GetConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the specific conversation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetConversationRequest` 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** |
| `Conversation` | The response received from the server. |

### GetConversationAsync(GetConversationRequest, CallOptions)

    public virtual AsyncUnaryCall<Conversation> GetConversationAsync(GetConversationRequest request, CallOptions options)

Retrieves the specific conversation.

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

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

### GetConversationAsync(GetConversationRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Conversation> GetConversationAsync(GetConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the specific conversation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetConversationRequest` 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** |
| `AsyncUnaryCallConversation` | The call object. |

### IngestContextReferences(IngestContextReferencesRequest, CallOptions)

    public virtual IngestContextReferencesResponse IngestContextReferences(IngestContextReferencesRequest request, CallOptions options)

Data ingestion API.
Ingests context references for an existing conversation.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IngestContextReferencesResponse` | The response received from the server. |

### IngestContextReferences(IngestContextReferencesRequest, Metadata, DateTime?, CancellationToken)

    public virtual IngestContextReferencesResponse IngestContextReferences(IngestContextReferencesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Data ingestion API.
Ingests context references for an existing conversation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `IngestContextReferencesRequest` 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** |
| `IngestContextReferencesResponse` | The response received from the server. |

### IngestContextReferencesAsync(IngestContextReferencesRequest, CallOptions)

    public virtual AsyncUnaryCall<IngestContextReferencesResponse> IngestContextReferencesAsync(IngestContextReferencesRequest request, CallOptions options)

Data ingestion API.
Ingests context references for an existing conversation.

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

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

### IngestContextReferencesAsync(IngestContextReferencesRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<IngestContextReferencesResponse> IngestContextReferencesAsync(IngestContextReferencesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Data ingestion API.
Ingests context references for an existing conversation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `IngestContextReferencesRequest` 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** |
| `AsyncUnaryCallIngestContextReferencesResponse` | The call object. |

### ListConversations(ListConversationsRequest, CallOptions)

    public virtual ListConversationsResponse ListConversations(ListConversationsRequest request, CallOptions options)

Returns the list of all conversations in the specified project.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListConversationsResponse` | The response received from the server. |

### ListConversations(ListConversationsRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListConversationsResponse ListConversations(ListConversationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the list of all conversations in the specified project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListConversationsRequest` 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** |
| `ListConversationsResponse` | The response received from the server. |

### ListConversationsAsync(ListConversationsRequest, CallOptions)

    public virtual AsyncUnaryCall<ListConversationsResponse> ListConversationsAsync(ListConversationsRequest request, CallOptions options)

Returns the list of all conversations in the specified project.

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

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

### ListConversationsAsync(ListConversationsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListConversationsResponse> ListConversationsAsync(ListConversationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the list of all conversations in the specified project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListConversationsRequest` 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** |
| `AsyncUnaryCallListConversationsResponse` | The call object. |

### ListMessages(ListMessagesRequest, CallOptions)

    public virtual ListMessagesResponse ListMessages(ListMessagesRequest request, CallOptions options)

Lists messages that belong to a given conversation.
`messages` are ordered by `create_time` in descending order. To fetch
updates without duplication, send request with filter
`create_time_epoch_microseconds >
[first item's create_time of previous request]` and empty page_token.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListMessagesResponse` | The response received from the server. |

### ListMessages(ListMessagesRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListMessagesResponse ListMessages(ListMessagesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists messages that belong to a given conversation.
`messages` are ordered by `create_time` in descending order. To fetch
updates without duplication, send request with filter
`create_time_epoch_microseconds >
[first item's create_time of previous request]` and empty page_token.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListMessagesRequest` 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** |
| `ListMessagesResponse` | The response received from the server. |

### ListMessagesAsync(ListMessagesRequest, CallOptions)

    public virtual AsyncUnaryCall<ListMessagesResponse> ListMessagesAsync(ListMessagesRequest request, CallOptions options)

Lists messages that belong to a given conversation.
`messages` are ordered by `create_time` in descending order. To fetch
updates without duplication, send request with filter
`create_time_epoch_microseconds >
[first item's create_time of previous request]` and empty page_token.

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

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

### ListMessagesAsync(ListMessagesRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListMessagesResponse> ListMessagesAsync(ListMessagesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists messages that belong to a given conversation.
`messages` are ordered by `create_time` in descending order. To fetch
updates without duplication, send request with filter
`create_time_epoch_microseconds >
[first item's create_time of previous request]` and empty page_token.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListMessagesRequest` 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** |
| `AsyncUnaryCallListMessagesResponse` | The call object. |

### NewInstance(ClientBaseConfiguration)

    protected override Conversations.ConversationsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

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

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ConversationsConversationsClient` |   |

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

### SearchKnowledge(SearchKnowledgeRequest, CallOptions)

    public virtual SearchKnowledgeResponse SearchKnowledge(SearchKnowledgeRequest request, CallOptions options)

Get answers for the given query based on knowledge documents.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `SearchKnowledgeResponse` | The response received from the server. |

### SearchKnowledge(SearchKnowledgeRequest, Metadata, DateTime?, CancellationToken)

    public virtual SearchKnowledgeResponse SearchKnowledge(SearchKnowledgeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get answers for the given query based on knowledge documents.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `SearchKnowledgeRequest` 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** |
| `SearchKnowledgeResponse` | The response received from the server. |

### SearchKnowledgeAsync(SearchKnowledgeRequest, CallOptions)

    public virtual AsyncUnaryCall<SearchKnowledgeResponse> SearchKnowledgeAsync(SearchKnowledgeRequest request, CallOptions options)

Get answers for the given query based on knowledge documents.

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

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

### SearchKnowledgeAsync(SearchKnowledgeRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<SearchKnowledgeResponse> SearchKnowledgeAsync(SearchKnowledgeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get answers for the given query based on knowledge documents.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `SearchKnowledgeRequest` 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** |
| `AsyncUnaryCallSearchKnowledgeResponse` | The call object. |

### SuggestConversationSummary(SuggestConversationSummaryRequest, CallOptions)

    public virtual SuggestConversationSummaryResponse SuggestConversationSummary(SuggestConversationSummaryRequest request, CallOptions options)

Suggests summary for a conversation based on specific historical messages.
The range of the messages to be used for summary can be specified in the
request.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `SuggestConversationSummaryResponse` | The response received from the server. |

### SuggestConversationSummary(SuggestConversationSummaryRequest, Metadata, DateTime?, CancellationToken)

    public virtual SuggestConversationSummaryResponse SuggestConversationSummary(SuggestConversationSummaryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Suggests summary for a conversation based on specific historical messages.
The range of the messages to be used for summary can be specified in the
request.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `SuggestConversationSummaryRequest` 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** |
| `SuggestConversationSummaryResponse` | The response received from the server. |

### SuggestConversationSummaryAsync(SuggestConversationSummaryRequest, CallOptions)

    public virtual AsyncUnaryCall<SuggestConversationSummaryResponse> SuggestConversationSummaryAsync(SuggestConversationSummaryRequest request, CallOptions options)

Suggests summary for a conversation based on specific historical messages.
The range of the messages to be used for summary can be specified in the
request.

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

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

### SuggestConversationSummaryAsync(SuggestConversationSummaryRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<SuggestConversationSummaryResponse> SuggestConversationSummaryAsync(SuggestConversationSummaryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Suggests summary for a conversation based on specific historical messages.
The range of the messages to be used for summary can be specified in the
request.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `SuggestConversationSummaryRequest` 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** |
| `AsyncUnaryCallSuggestConversationSummaryResponse` | The call object. |