public sealed class ProcessOptions : IMessage<ProcessOptions>, IEquatable<ProcessOptions>, IDeepCloneable<ProcessOptions>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1beta3 API class ProcessOptions.
Options for Process API
Implements
IMessageProcessOptions, IEquatableProcessOptions, IDeepCloneableProcessOptions, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Beta3Assembly
Google.Cloud.DocumentAI.V1Beta3.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
and FORM_PARSER_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 |
SchemaOverride
public DocumentSchema SchemaOverride { get; set; }
Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]. Will return an Invalid Argument error if this field is set when the underlying [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion] doesn't support schema override.
Property Value | |
---|---|
Type | Description |
DocumentSchema |