Class DocumentUnderstandingServiceSettings
Settings for DocumentUnderstandingServiceClient instances.
Inherited Members
Namespace: Google.Cloud.DocumentAI.V1Beta2
Assembly: Google.Cloud.DocumentAI.V1Beta2.dll
Syntax
public sealed class DocumentUnderstandingServiceSettings : ServiceSettingsBase
Constructors
DocumentUnderstandingServiceSettings()
Constructs a new DocumentUnderstandingServiceSettings object with default settings.
Declaration
public DocumentUnderstandingServiceSettings()
Properties
BatchProcessDocumentsOperationsSettings
Long Running Operation settings for calls to DocumentUnderstandingServiceClient.BatchProcessDocuments
and DocumentUnderstandingServiceClient.BatchProcessDocumentsAsync.
Declaration
public OperationsSettings BatchProcessDocumentsOperationsSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| OperationsSettings |
Remarks
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
BatchProcessDocumentsSettings
CallSettings for synchronous and asynchronous calls to
DocumentUnderstandingServiceClient.BatchProcessDocuments and
DocumentUnderstandingServiceClient.BatchProcessDocumentsAsync.
Declaration
public CallSettings BatchProcessDocumentsSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 120 seconds.
ProcessDocumentSettings
CallSettings for synchronous and asynchronous calls to
DocumentUnderstandingServiceClient.ProcessDocument and
DocumentUnderstandingServiceClient.ProcessDocumentAsync.
Declaration
public CallSettings ProcessDocumentSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 120 seconds.
Methods
Clone()
Creates a deep clone of this object, with all the same property values.
Declaration
public DocumentUnderstandingServiceSettings Clone()
Returns
| Type | Description |
|---|---|
| DocumentUnderstandingServiceSettings | A deep clone of this DocumentUnderstandingServiceSettings object. |
GetDefault()
Get a new instance of the default DocumentUnderstandingServiceSettings.
Declaration
public static DocumentUnderstandingServiceSettings GetDefault()
Returns
| Type | Description |
|---|---|
| DocumentUnderstandingServiceSettings | A new instance of the default DocumentUnderstandingServiceSettings. |