Cloud Document AI v1beta3 API - Class DocumentServiceSettings (2.0.0-beta11)

public sealed class DocumentServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Document AI v1beta3 API class DocumentServiceSettings.

Settings for DocumentServiceClient instances.

Inheritance

object > ServiceSettingsBase > DocumentServiceSettings

Namespace

Google.Cloud.DocumentAI.V1Beta3

Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

Constructors

DocumentServiceSettings()

public DocumentServiceSettings()

Constructs a new DocumentServiceSettings object with default settings.

Properties

GetDatasetSchemaSettings

public CallSettings GetDatasetSchemaSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DocumentServiceClient.GetDatasetSchema and DocumentServiceClient.GetDatasetSchemaAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
TypeDescription
LocationsSettings

UpdateDatasetOperationsSettings

public OperationsSettings UpdateDatasetOperationsSettings { get; set; }

Long Running Operation settings for calls to DocumentServiceClient.UpdateDataset and DocumentServiceClient.UpdateDatasetAsync.

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.

UpdateDatasetSchemaSettings

public CallSettings UpdateDatasetSchemaSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DocumentServiceClient.UpdateDatasetSchema and DocumentServiceClient.UpdateDatasetSchemaAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

UpdateDatasetSettings

public CallSettings UpdateDatasetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to DocumentServiceClient.UpdateDataset and DocumentServiceClient.UpdateDatasetAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

Methods

Clone()

public DocumentServiceSettings Clone()

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

Returns
TypeDescription
DocumentServiceSettings

A deep clone of this DocumentServiceSettings object.

GetDefault()

public static DocumentServiceSettings GetDefault()

Get a new instance of the default DocumentServiceSettings.

Returns
TypeDescription
DocumentServiceSettings

A new instance of the default DocumentServiceSettings.