public sealed class DataChatServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Data Analytics API with Gemini v1beta API class DataChatServiceSettings.
Settings for DataChatServiceClient instances.
Namespace
Google.Cloud.GeminiDataAnalytics.V1BetaAssembly
Google.Cloud.GeminiDataAnalytics.V1Beta.dll
Constructors
DataChatServiceSettings()
public DataChatServiceSettings()
Constructs a new DataChatServiceSettings object with default settings.
Properties
ChatSettings
public CallSettings ChatSettings { get; set; }
CallSettings for synchronous and asynchronous calls to DataChatServiceClient.Chat
and DataChatServiceClient.ChatAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
Timeout: 60 seconds.
CreateConversationSettings
public CallSettings CreateConversationSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
DataChatServiceClient.CreateConversation
and DataChatServiceClient.CreateConversationAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GetConversationSettings
public CallSettings GetConversationSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
DataChatServiceClient.GetConversation
and DataChatServiceClient.GetConversationAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListConversationsSettings
public CallSettings ListConversationsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
DataChatServiceClient.ListConversations
and DataChatServiceClient.ListConversationsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListMessagesSettings
public CallSettings ListMessagesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
DataChatServiceClient.ListMessages
and DataChatServiceClient.ListMessagesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
LocationsSettings
public LocationsSettings LocationsSettings { get; set; }
The settings to use for the LocationsClient associated with the client.
Property Value | |
---|---|
Type | Description |
LocationsSettings |
Methods
Clone()
public DataChatServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
DataChatServiceSettings |
A deep clone of this DataChatServiceSettings object. |
GetDefault()
public static DataChatServiceSettings GetDefault()
Get a new instance of the default DataChatServiceSettings.
Returns | |
---|---|
Type | Description |
DataChatServiceSettings |
A new instance of the default DataChatServiceSettings. |