public sealed class AssistantServiceSettings : ServiceSettingsBaseReference documentation and code samples for the Discovery Engine v1beta API class AssistantServiceSettings.
Settings for AssistantServiceClient instances.
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
AssistantServiceSettings()
public AssistantServiceSettings()Constructs a new AssistantServiceSettings object with default settings.
Properties
CreateAssistantSettings
public CallSettings CreateAssistantSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssistantServiceClient.CreateAssistant and AssistantServiceClient.CreateAssistantAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 30 seconds.
DeleteAssistantSettings
public CallSettings DeleteAssistantSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssistantServiceClient.DeleteAssistant and AssistantServiceClient.DeleteAssistantAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 30 seconds.
GetAssistantSettings
public CallSettings GetAssistantSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssistantServiceClient.GetAssistant and AssistantServiceClient.GetAssistantAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 30 seconds.
ListAssistantsSettings
public CallSettings ListAssistantsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssistantServiceClient.ListAssistants and AssistantServiceClient.ListAssistantsAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 30 seconds.
LocationsSettings
public LocationsSettings LocationsSettings { get; set; }The settings to use for the LocationsClient associated with the client.
| Property Value | |
|---|---|
| Type | Description |
LocationsSettings |
|
StreamAssistSettings
public CallSettings StreamAssistSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssistantServiceClient.StreamAssist and AssistantServiceClient.StreamAssistAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
Timeout: 300 seconds.
UpdateAssistantSettings
public CallSettings UpdateAssistantSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssistantServiceClient.UpdateAssistant and AssistantServiceClient.UpdateAssistantAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 30 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. |