public sealed class ProcessOptions : IMessage<ProcessOptions>, IEquatable<ProcessOptions>, IDeepCloneable<ProcessOptions>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class ProcessOptions.
Options for Process API
Implements
IMessageProcessOptions, IEquatableProcessOptions, IDeepCloneableProcessOptions, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Assembly
Google.Cloud.DocumentAI.V1.dll
Constructors
ProcessOptions()
public ProcessOptions()
ProcessOptions(ProcessOptions)
public ProcessOptions(ProcessOptions other)
Parameter | |
---|---|
Name | Description |
other | ProcessOptions |
Properties
FromEnd
public int FromEnd { get; set; }
Only process certain pages from the end, same as above.
Property Value | |
---|---|
Type | Description |
int |
FromStart
public int FromStart { get; set; }
Only process certain pages from the start. Process all if the document has fewer pages.
Property Value | |
---|---|
Type | Description |
int |
HasFromEnd
public bool HasFromEnd { get; }
Gets whether the "from_end" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasFromStart
public bool HasFromStart { get; }
Gets whether the "from_start" field is set
Property Value | |
---|---|
Type | Description |
bool |
IndividualPageSelector
public ProcessOptions.Types.IndividualPageSelector IndividualPageSelector { get; set; }
Which pages to process (1-indexed).
Property Value | |
---|---|
Type | Description |
ProcessOptionsTypesIndividualPageSelector |
OcrConfig
public OcrConfig OcrConfig { get; set; }
Only applicable to OCR_PROCESSOR
. Returns error if set on other
processor types.
Property Value | |
---|---|
Type | Description |
OcrConfig |
PageRangeCase
public ProcessOptions.PageRangeOneofCase PageRangeCase { get; }
Property Value | |
---|---|
Type | Description |
ProcessOptionsPageRangeOneofCase |