public sealed class AssistantServiceSettings : ServiceSettingsBaseReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class AssistantServiceSettings.
Settings for AssistantServiceClient instances.
Namespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
AssistantServiceSettings()
public AssistantServiceSettings()Constructs a new AssistantServiceSettings object with default settings.
Properties
ChatAiAssistantSettings
public CallSettings ChatAiAssistantSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssistantServiceClient.ChatAiAssistant and AssistantServiceClient.ChatAiAssistantAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 300 seconds.
CreateAssistantSessionSettings
public CallSettings CreateAssistantSessionSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssistantServiceClient.CreateAssistantSession and
AssistantServiceClient.CreateAssistantSessionAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
DeleteAssistantSessionSettings
public CallSettings DeleteAssistantSessionSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssistantServiceClient.DeleteAssistantSession and
AssistantServiceClient.DeleteAssistantSessionAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
GetAssistantSessionSettings
public CallSettings GetAssistantSessionSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssistantServiceClient.GetAssistantSession and AssistantServiceClient.GetAssistantSessionAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
ListAssistantSessionsSettings
public CallSettings ListAssistantSessionsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssistantServiceClient.ListAssistantSessions and AssistantServiceClient.ListAssistantSessionsAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, 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 |
|
RunAssistantSettings
public CallSettings RunAssistantSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssistantServiceClient.RunAssistant and AssistantServiceClient.RunAssistantAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 60 seconds.
Methods
Clone()
public AssistantServiceSettings Clone()Creates a deep clone of this object, with all the same property values.
| Returns | |
|---|---|
| Type | Description |
AssistantServiceSettings |
A deep clone of this AssistantServiceSettings object. |
GetDefault()
public static AssistantServiceSettings GetDefault()Get a new instance of the default AssistantServiceSettings.
| Returns | |
|---|---|
| Type | Description |
AssistantServiceSettings |
A new instance of the default AssistantServiceSettings. |