Google Cloud Document Ai V1 Client - Class ProcessOptions (1.7.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ ocr_config Google\Cloud\DocumentAI\V1\OcrConfig

Only applicable to OCR_PROCESSOR. Returns error if set on other processor types.

getOcrConfig

Only applicable to OCR_PROCESSOR. Returns error if set on other processor types.

Returns
TypeDescription
Google\Cloud\DocumentAI\V1\OcrConfig|null

hasOcrConfig

clearOcrConfig

setOcrConfig

Only applicable to OCR_PROCESSOR. Returns error if set on other processor types.

Parameter
NameDescription
var Google\Cloud\DocumentAI\V1\OcrConfig
Returns
TypeDescription
$this