public sealed class DocumentProcessorServiceSettings : ServiceSettingsBase
Settings for DocumentProcessorServiceClient instances.
Namespace
Google.Cloud.DocumentAI.V1Assembly
Google.Cloud.DocumentAI.V1.dll
Constructors
DocumentProcessorServiceSettings()
public DocumentProcessorServiceSettings()
Constructs a new DocumentProcessorServiceSettings object with default settings.
Properties
BatchProcessDocumentsOperationsSettings
public OperationsSettings BatchProcessDocumentsOperationsSettings { get; set; }
Long Running Operation settings for calls to DocumentProcessorServiceClient.BatchProcessDocuments
and
DocumentProcessorServiceClient.BatchProcessDocumentsAsync
.
Property Value | |
---|---|
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
DocumentProcessorServiceClient.BatchProcessDocuments
and
DocumentProcessorServiceClient.BatchProcessDocumentsAsync
.
Property Value | |
---|---|
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
DocumentProcessorServiceClient.ProcessDocument
and
DocumentProcessorServiceClient.ProcessDocumentAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 120 seconds.
ReviewDocumentOperationsSettings
public OperationsSettings ReviewDocumentOperationsSettings { get; set; }
Long Running Operation settings for calls to DocumentProcessorServiceClient.ReviewDocument
and
DocumentProcessorServiceClient.ReviewDocumentAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
ReviewDocumentSettings
public CallSettings ReviewDocumentSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
DocumentProcessorServiceClient.ReviewDocument
and
DocumentProcessorServiceClient.ReviewDocumentAsync
.
Property Value | |
---|---|
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 DocumentProcessorServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
DocumentProcessorServiceSettings | A deep clone of this DocumentProcessorServiceSettings object. |
GetDefault()
public static DocumentProcessorServiceSettings GetDefault()
Get a new instance of the default DocumentProcessorServiceSettings.
Returns | |
---|---|
Type | Description |
DocumentProcessorServiceSettings | A new instance of the default DocumentProcessorServiceSettings. |