Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::ProcessOptions.
Options for Process API
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#ocr_config
def ocr_config() -> ::Google::Cloud::DocumentAI::V1::OcrConfig
Returns
-
(::Google::Cloud::DocumentAI::V1::OcrConfig) — Only applicable to
OCR_PROCESSOR
. Returns error if set on other processor types.
#ocr_config=
def ocr_config=(value) -> ::Google::Cloud::DocumentAI::V1::OcrConfig
Parameter
-
value (::Google::Cloud::DocumentAI::V1::OcrConfig) — Only applicable to
OCR_PROCESSOR
. Returns error if set on other processor types.
Returns
-
(::Google::Cloud::DocumentAI::V1::OcrConfig) — Only applicable to
OCR_PROCESSOR
. Returns error if set on other processor types.