Cloud Document AI v1 API - Class ProcessOptions (3.10.0)

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

Inheritance

object > ProcessOptions

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.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. Returns error if set on other processor types.

Property Value
TypeDescription
OcrConfig

PageRangeCase

public ProcessOptions.PageRangeOneofCase PageRangeCase { get; }
Property Value
TypeDescription
ProcessOptionsPageRangeOneofCase