2.1.0 (latest) 2.0.0 1.1.0 1.0.0

    public sealed class DataChatServiceClientImpl : DataChatServiceClient

Reference documentation and code samples for the Data Analytics API with Gemini v1 API class DataChatServiceClientImpl.

DataChatService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [DataChatServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient) \> DataChatServiceClientImpl

## Inherited Members

[DataChatServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_DefaultEndpoint) [DataChatServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_DefaultScopes) [DataChatServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_ServiceMetadata) [DataChatServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_CreateAsync_System_Threading_CancellationToken_) [DataChatServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_Create) [DataChatServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_ShutdownDefaultChannelsAsync) [DataChatServiceClient.CreateConversationAsync(CreateConversationRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_CreateConversationAsync_Google_Cloud_GeminiDataAnalytics_V1_CreateConversationRequest_System_Threading_CancellationToken_) [DataChatServiceClient.CreateConversation(string, Conversation, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_CreateConversation_System_String_Google_Cloud_GeminiDataAnalytics_V1_Conversation_System_String_Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.CreateConversationAsync(string, Conversation, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_CreateConversationAsync_System_String_Google_Cloud_GeminiDataAnalytics_V1_Conversation_System_String_Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.CreateConversationAsync(string, Conversation, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_CreateConversationAsync_System_String_Google_Cloud_GeminiDataAnalytics_V1_Conversation_System_String_System_Threading_CancellationToken_) [DataChatServiceClient.CreateConversation(LocationName, Conversation, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_CreateConversation_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_GeminiDataAnalytics_V1_Conversation_System_String_Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.CreateConversationAsync(LocationName, Conversation, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_CreateConversationAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_GeminiDataAnalytics_V1_Conversation_System_String_Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.CreateConversationAsync(LocationName, Conversation, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_CreateConversationAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_GeminiDataAnalytics_V1_Conversation_System_String_System_Threading_CancellationToken_) [DataChatServiceClient.DeleteConversationAsync(DeleteConversationRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_DeleteConversationAsync_Google_Cloud_GeminiDataAnalytics_V1_DeleteConversationRequest_System_Threading_CancellationToken_) [DataChatServiceClient.DeleteConversation(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_DeleteConversation_System_String_Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.DeleteConversationAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_DeleteConversationAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.DeleteConversationAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_DeleteConversationAsync_System_String_System_Threading_CancellationToken_) [DataChatServiceClient.DeleteConversation(ConversationName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_DeleteConversation_Google_Cloud_GeminiDataAnalytics_V1_ConversationName_Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.DeleteConversationAsync(ConversationName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_DeleteConversationAsync_Google_Cloud_GeminiDataAnalytics_V1_ConversationName_Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.DeleteConversationAsync(ConversationName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_DeleteConversationAsync_Google_Cloud_GeminiDataAnalytics_V1_ConversationName_System_Threading_CancellationToken_) [DataChatServiceClient.UpdateConversationAsync(UpdateConversationRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_UpdateConversationAsync_Google_Cloud_GeminiDataAnalytics_V1_UpdateConversationRequest_System_Threading_CancellationToken_) [DataChatServiceClient.UpdateConversation(Conversation, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_UpdateConversation_Google_Cloud_GeminiDataAnalytics_V1_Conversation_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.UpdateConversationAsync(Conversation, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_UpdateConversationAsync_Google_Cloud_GeminiDataAnalytics_V1_Conversation_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.UpdateConversationAsync(Conversation, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_UpdateConversationAsync_Google_Cloud_GeminiDataAnalytics_V1_Conversation_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [DataChatServiceClient.GetConversationAsync(GetConversationRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_GetConversationAsync_Google_Cloud_GeminiDataAnalytics_V1_GetConversationRequest_System_Threading_CancellationToken_) [DataChatServiceClient.GetConversation(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_GetConversation_System_String_Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.GetConversationAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_GetConversationAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.GetConversationAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_GetConversationAsync_System_String_System_Threading_CancellationToken_) [DataChatServiceClient.GetConversation(ConversationName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_GetConversation_Google_Cloud_GeminiDataAnalytics_V1_ConversationName_Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.GetConversationAsync(ConversationName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_GetConversationAsync_Google_Cloud_GeminiDataAnalytics_V1_ConversationName_Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.GetConversationAsync(ConversationName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_GetConversationAsync_Google_Cloud_GeminiDataAnalytics_V1_ConversationName_System_Threading_CancellationToken_) [DataChatServiceClient.ListConversations(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_ListConversations_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.ListConversationsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_ListConversationsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.ListConversations(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_ListConversations_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.ListConversationsAsync(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_ListConversationsAsync_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.ListMessages(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_ListMessages_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.ListMessagesAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_ListMessagesAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.ListMessages(ConversationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_ListMessages_Google_Cloud_GeminiDataAnalytics_V1_ConversationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [DataChatServiceClient.ListMessagesAsync(ConversationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_ListMessagesAsync_Google_Cloud_GeminiDataAnalytics_V1_ConversationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.GeminiDataAnalytics.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1)

## Assembly

Google.Cloud.GeminiDataAnalytics.V1.dll

## Remarks

Service to ask a natural language question on top of BigQuery
and Looker Studio datasources to get back streamed responses of various kinds
to help provide a rich conversational answer.

## Constructors

### DataChatServiceClientImpl(DataChatServiceClient, DataChatServiceSettings, ILogger)

    public DataChatServiceClientImpl(DataChatService.DataChatServiceClient grpcClient, DataChatServiceSettings settings, ILogger logger)

Constructs a client wrapper for the DataChatService service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatService.DataChatServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceSettings` The base [DataChatServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override DataChatService.DataChatServiceClient GrpcClient { get; }

The underlying gRPC DataChatService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatService.DataChatServiceClient` |   |

**Overrides** [DataChatServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_GrpcClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

**Overrides** [DataChatServiceClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_LocationsClient)

## Methods

### Chat(ChatRequest, CallSettings)

    public override DataChatServiceClient.ChatStream Chat(ChatRequest request, CallSettings callSettings = null)

Answers a data question by generating a stream of
\[Message\]\[google.cloud.geminidataanalytics.v1.Message\] objects.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.ChatRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient.ChatStream` | The server stream. |

**Overrides** [DataChatServiceClient.Chat(ChatRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_Chat_Google_Cloud_GeminiDataAnalytics_V1_ChatRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateConversation(CreateConversationRequest, CallSettings)

    public override Conversation CreateConversation(CreateConversationRequest request, CallSettings callSettings = null)

Creates a new conversation to persist the conversation history. Each
conversation will have multiple messages associated with it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.CreateConversationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.Conversation` | The RPC response. |

**Overrides** [DataChatServiceClient.CreateConversation(CreateConversationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_CreateConversation_Google_Cloud_GeminiDataAnalytics_V1_CreateConversationRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateConversationAsync(CreateConversationRequest, CallSettings)

    public override Task<Conversation> CreateConversationAsync(CreateConversationRequest request, CallSettings callSettings = null)

Creates a new conversation to persist the conversation history. Each
conversation will have multiple messages associated with it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.CreateConversationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.Conversation` | A Task containing the RPC response. |

**Overrides** [DataChatServiceClient.CreateConversationAsync(CreateConversationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_CreateConversationAsync_Google_Cloud_GeminiDataAnalytics_V1_CreateConversationRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteConversation(DeleteConversationRequest, CallSettings)

    public override void DeleteConversation(DeleteConversationRequest request, CallSettings callSettings = null)

Deletes a conversation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DeleteConversationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Overrides** [DataChatServiceClient.DeleteConversation(DeleteConversationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_DeleteConversation_Google_Cloud_GeminiDataAnalytics_V1_DeleteConversationRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteConversationAsync(DeleteConversationRequest, CallSettings)

    public override Task DeleteConversationAsync(DeleteConversationRequest request, CallSettings callSettings = null)

Deletes a conversation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DeleteConversationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Overrides** [DataChatServiceClient.DeleteConversationAsync(DeleteConversationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_DeleteConversationAsync_Google_Cloud_GeminiDataAnalytics_V1_DeleteConversationRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetConversation(GetConversationRequest, CallSettings)

    public override Conversation GetConversation(GetConversationRequest request, CallSettings callSettings = null)

Gets details of a single conversation by using conversation id and parent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.GetConversationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.Conversation` | The RPC response. |

**Overrides** [DataChatServiceClient.GetConversation(GetConversationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_GetConversation_Google_Cloud_GeminiDataAnalytics_V1_GetConversationRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetConversationAsync(GetConversationRequest, CallSettings)

    public override Task<Conversation> GetConversationAsync(GetConversationRequest request, CallSettings callSettings = null)

Gets details of a single conversation by using conversation id and parent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.GetConversationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.Conversation` | A Task containing the RPC response. |

**Overrides** [DataChatServiceClient.GetConversationAsync(GetConversationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_GetConversationAsync_Google_Cloud_GeminiDataAnalytics_V1_GetConversationRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListConversations(ListConversationsRequest, CallSettings)

    public override PagedEnumerable<ListConversationsResponse, Conversation> ListConversations(ListConversationsRequest request, CallSettings callSettings = null)

Lists all conversations for a given parent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.ListConversationsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.ListConversationsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.Conversation` | A pageable sequence of [Conversation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.Conversation) resources. |

**Overrides** [DataChatServiceClient.ListConversations(ListConversationsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_ListConversations_Google_Cloud_GeminiDataAnalytics_V1_ListConversationsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListConversationsAsync(ListConversationsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListConversationsResponse, Conversation> ListConversationsAsync(ListConversationsRequest request, CallSettings callSettings = null)

Lists all conversations for a given parent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.ListConversationsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.ListConversationsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.Conversation` | A pageable asynchronous sequence of [Conversation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.Conversation) resources. |

**Overrides** [DataChatServiceClient.ListConversationsAsync(ListConversationsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_ListConversationsAsync_Google_Cloud_GeminiDataAnalytics_V1_ListConversationsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListMessages(ListMessagesRequest, CallSettings)

    public override PagedEnumerable<ListMessagesResponse, StorageMessage> ListMessages(ListMessagesRequest request, CallSettings callSettings = null)

Lists all messages for a given conversation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.ListMessagesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.ListMessagesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.StorageMessage` | A pageable sequence of [StorageMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.StorageMessage) resources. |

**Overrides** [DataChatServiceClient.ListMessages(ListMessagesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_ListMessages_Google_Cloud_GeminiDataAnalytics_V1_ListMessagesRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListMessagesAsync(ListMessagesRequest, CallSettings)

    public override PagedAsyncEnumerable<ListMessagesResponse, StorageMessage> ListMessagesAsync(ListMessagesRequest request, CallSettings callSettings = null)

Lists all messages for a given conversation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.ListMessagesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.ListMessagesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.StorageMessage` | A pageable asynchronous sequence of [StorageMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.StorageMessage) resources. |

**Overrides** [DataChatServiceClient.ListMessagesAsync(ListMessagesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_ListMessagesAsync_Google_Cloud_GeminiDataAnalytics_V1_ListMessagesRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateConversation(UpdateConversationRequest, CallSettings)

    public override Conversation UpdateConversation(UpdateConversationRequest request, CallSettings callSettings = null)

Updates a conversation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.UpdateConversationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.Conversation` | The RPC response. |

**Overrides** [DataChatServiceClient.UpdateConversation(UpdateConversationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_UpdateConversation_Google_Cloud_GeminiDataAnalytics_V1_UpdateConversationRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateConversationAsync(UpdateConversationRequest, CallSettings)

    public override Task<Conversation> UpdateConversationAsync(UpdateConversationRequest request, CallSettings callSettings = null)

Updates a conversation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.UpdateConversationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.Conversation` | A Task containing the RPC response. |

**Overrides** [DataChatServiceClient.UpdateConversationAsync(UpdateConversationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataChatServiceClient#Google_Cloud_GeminiDataAnalytics_V1_DataChatServiceClient_UpdateConversationAsync_Google_Cloud_GeminiDataAnalytics_V1_UpdateConversationRequest_Google_Api_Gax_Grpc_CallSettings_)