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