Cloud Document AI v1beta3 API - Class ProcessOptions (2.0.0-beta16)

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

Inheritance

object > ProcessOptions

Namespace

Google.Cloud.DocumentAI.V1Beta3

Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

Constructors

ProcessOptions()

public ProcessOptions()

ProcessOptions(ProcessOptions)

public ProcessOptions(ProcessOptions other)
Parameter
NameDescription
otherProcessOptions

Properties

FromEnd

public int FromEnd { get; set; }

Only process certain pages from the end, same as above.

Property Value
TypeDescription
int

FromStart

public int FromStart { get; set; }

Only process certain pages from the start. Process all if the document has fewer pages.

Property Value
TypeDescription
int

HasFromEnd

public bool HasFromEnd { get; }

Gets whether the "from_end" field is set

Property Value
TypeDescription
bool

HasFromStart

public bool HasFromStart { get; }

Gets whether the "from_start" field is set

Property Value
TypeDescription
bool

IndividualPageSelector

public ProcessOptions.Types.IndividualPageSelector IndividualPageSelector { get; set; }

Which pages to process (1-indexed).

Property Value
TypeDescription
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
TypeDescription
OcrConfig

PageRangeCase

public ProcessOptions.PageRangeOneofCase PageRangeCase { get; }
Property Value
TypeDescription
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
TypeDescription
DocumentSchema