public sealed class DocumentServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Cloud Document AI v1beta3 API class DocumentServiceSettings.
Settings for DocumentServiceClient instances.
Namespace
Google.Cloud.DocumentAI.V1Beta3Assembly
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
LocationsSettings |
UpdateDatasetOperationsSettings
public OperationsSettings UpdateDatasetOperationsSettings { get; set; }
Long Running Operation settings for calls to DocumentServiceClient.UpdateDataset
and
DocumentServiceClient.UpdateDatasetAsync
.
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.
UpdateDatasetSchemaSettings
public CallSettings UpdateDatasetSchemaSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
DocumentServiceClient.UpdateDatasetSchema
and DocumentServiceClient.UpdateDatasetSchemaAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
DocumentServiceSettings | A deep clone of this DocumentServiceSettings object. |
GetDefault()
public static DocumentServiceSettings GetDefault()
Get a new instance of the default DocumentServiceSettings.
Returns | |
---|---|
Type | Description |
DocumentServiceSettings | A new instance of the default DocumentServiceSettings. |