Google Cloud Dialogflow v2 API - Class DocumentsSettings (4.3.0)

public sealed class DocumentsSettings : ServiceSettingsBase

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

Settings for DocumentsClient instances.

Inheritance

Object > ServiceSettingsBase > DocumentsSettings

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

DocumentsSettings()

public DocumentsSettings()

Constructs a new DocumentsSettings object with default settings.

Properties

CreateDocumentOperationsSettings

public OperationsSettings CreateDocumentOperationsSettings { get; set; }

Long Running Operation settings for calls to DocumentsClient.CreateDocument and DocumentsClient.CreateDocumentAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreateDocumentSettings

public CallSettings CreateDocumentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DocumentsClient.CreateDocument and DocumentsClient.CreateDocumentAsync.

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.

DeleteDocumentOperationsSettings

public OperationsSettings DeleteDocumentOperationsSettings { get; set; }

Long Running Operation settings for calls to DocumentsClient.DeleteDocument and DocumentsClient.DeleteDocumentAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

DeleteDocumentSettings

public CallSettings DeleteDocumentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DocumentsClient.DeleteDocument and DocumentsClient.DeleteDocumentAsync.

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.

ExportDocumentOperationsSettings

public OperationsSettings ExportDocumentOperationsSettings { get; set; }

Long Running Operation settings for calls to DocumentsClient.ExportDocument and DocumentsClient.ExportDocumentAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

ExportDocumentSettings

public CallSettings ExportDocumentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DocumentsClient.ExportDocument and DocumentsClient.ExportDocumentAsync.

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.

GetDocumentSettings

public CallSettings GetDocumentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DocumentsClient.GetDocument and DocumentsClient.GetDocumentAsync.

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.

ImportDocumentsOperationsSettings

public OperationsSettings ImportDocumentsOperationsSettings { get; set; }

Long Running Operation settings for calls to DocumentsClient.ImportDocuments and DocumentsClient.ImportDocumentsAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

ImportDocumentsSettings

public CallSettings ImportDocumentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DocumentsClient.ImportDocuments and DocumentsClient.ImportDocumentsAsync.

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.

ListDocumentsSettings

public CallSettings ListDocumentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DocumentsClient.ListDocuments and DocumentsClient.ListDocumentsAsync.

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

ReloadDocumentOperationsSettings

public OperationsSettings ReloadDocumentOperationsSettings { get; set; }

Long Running Operation settings for calls to DocumentsClient.ReloadDocument and DocumentsClient.ReloadDocumentAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

ReloadDocumentSettings

public CallSettings ReloadDocumentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DocumentsClient.ReloadDocument and DocumentsClient.ReloadDocumentAsync.

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.

UpdateDocumentOperationsSettings

public OperationsSettings UpdateDocumentOperationsSettings { get; set; }

Long Running Operation settings for calls to DocumentsClient.UpdateDocument and DocumentsClient.UpdateDocumentAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

UpdateDocumentSettings

public CallSettings UpdateDocumentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DocumentsClient.UpdateDocument and DocumentsClient.UpdateDocumentAsync.

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 DocumentsSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
TypeDescription
DocumentsSettings

A deep clone of this DocumentsSettings object.

GetDefault()

public static DocumentsSettings GetDefault()

Get a new instance of the default DocumentsSettings.

Returns
TypeDescription
DocumentsSettings

A new instance of the default DocumentsSettings.