Class KnowledgeBasesSettings (3.4.0)

public sealed class KnowledgeBasesSettings : ServiceSettingsBase

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
  • 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
  • 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
  • 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
  • Timeout: 60 seconds.

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
  • 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.