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.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ ocr_config |
Google\Cloud\DocumentAI\V1\OcrConfig
Only applicable to |
getOcrConfig
Only applicable to OCR_PROCESSOR
. Returns error if set on other
processor types.
Returns | |
---|---|
Type | Description |
Google\Cloud\DocumentAI\V1\OcrConfig|null |
hasOcrConfig
clearOcrConfig
setOcrConfig
Only applicable to OCR_PROCESSOR
. Returns error if set on other
processor types.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DocumentAI\V1\OcrConfig
|
Returns | |
---|---|
Type | Description |
$this |