public sealed class KnowledgeBasesSettings : ServiceSettingsBase
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class KnowledgeBasesSettings.
Settings for KnowledgeBasesClient instances.
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
KnowledgeBasesSettings()
public KnowledgeBasesSettings()
Constructs a new KnowledgeBasesSettings object with default settings.
Properties
CreateKnowledgeBaseSettings
public CallSettings CreateKnowledgeBaseSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
KnowledgeBasesClient.CreateKnowledgeBase
and KnowledgeBasesClient.CreateKnowledgeBaseAsync
.
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: Unavailable.
- Timeout: 60 seconds.
DeleteKnowledgeBaseSettings
public CallSettings DeleteKnowledgeBaseSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
KnowledgeBasesClient.DeleteKnowledgeBase
and KnowledgeBasesClient.DeleteKnowledgeBaseAsync
.
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: Unavailable.
- Timeout: 60 seconds.
GetKnowledgeBaseSettings
public CallSettings GetKnowledgeBaseSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
KnowledgeBasesClient.GetKnowledgeBase
and KnowledgeBasesClient.GetKnowledgeBaseAsync
.
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: Unavailable.
- Timeout: 60 seconds.
ListKnowledgeBasesSettings
public CallSettings ListKnowledgeBasesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
KnowledgeBasesClient.ListKnowledgeBases
and KnowledgeBasesClient.ListKnowledgeBasesAsync
.
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: 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 |
UpdateKnowledgeBaseSettings
public CallSettings UpdateKnowledgeBaseSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
KnowledgeBasesClient.UpdateKnowledgeBase
and KnowledgeBasesClient.UpdateKnowledgeBaseAsync
.
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: Unavailable.
- Timeout: 60 seconds.
Methods
Clone()
public KnowledgeBasesSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
KnowledgeBasesSettings | A deep clone of this KnowledgeBasesSettings object. |
GetDefault()
public static KnowledgeBasesSettings GetDefault()
Get a new instance of the default KnowledgeBasesSettings.
Returns | |
---|---|
Type | Description |
KnowledgeBasesSettings | A new instance of the default KnowledgeBasesSettings. |