Google Cloud Dialogflow v2 API - Class KnowledgeBasesSettings (4.2.0)

public sealed class KnowledgeBasesSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class KnowledgeBasesSettings.

Settings for KnowledgeBasesClient instances.

Inheritance

Object > ServiceSettingsBase > KnowledgeBasesSettings

Namespace

Google.Cloud.Dialogflow.V2

Assembly

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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
LocationsSettings

UpdateKnowledgeBaseSettings

public CallSettings UpdateKnowledgeBaseSettings { get; set; }

CallSettings for synchronous and asynchronous calls to KnowledgeBasesClient.UpdateKnowledgeBase and KnowledgeBasesClient.UpdateKnowledgeBaseAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
KnowledgeBasesSettings

A deep clone of this KnowledgeBasesSettings object.

GetDefault()

public static KnowledgeBasesSettings GetDefault()

Get a new instance of the default KnowledgeBasesSettings.

Returns
TypeDescription
KnowledgeBasesSettings

A new instance of the default KnowledgeBasesSettings.