Reference documentation and code samples for the Google Cloud Document Ai V1 Client class ProcessOptions.
Options for Process API
Generated from protobuf message google.cloud.documentai.v1.ProcessOptions
Namespace
Google \ Cloud \ DocumentAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ individual_page_selector
Google\Cloud\DocumentAI\V1\ProcessOptions\IndividualPageSelector
Which pages to process (1-indexed).
↳ from_start
int
Only process certain pages from the start. Process all if the document has fewer pages.
↳ from_end
int
Only process certain pages from the end, same as above.
↳ ocr_config
Google\Cloud\DocumentAI\V1\OcrConfig
Only applicable to OCR_PROCESSOR
. Returns error if set on other processor types.
getIndividualPageSelector
Which pages to process (1-indexed).
hasIndividualPageSelector
setIndividualPageSelector
Which pages to process (1-indexed).
$this
getFromStart
Only process certain pages from the start. Process all if the document has fewer pages.
int
hasFromStart
setFromStart
Only process certain pages from the start. Process all if the document has fewer pages.
var
int
$this
getFromEnd
Only process certain pages from the end, same as above.
int
hasFromEnd
setFromEnd
Only process certain pages from the end, same as above.
var
int
$this
getOcrConfig
Only applicable to OCR_PROCESSOR
. Returns error if set on other
processor types.
hasOcrConfig
clearOcrConfig
setOcrConfig
Only applicable to OCR_PROCESSOR
. Returns error if set on other
processor types.
$this
getPageRange
string