Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::ProcessOptions.
Options for Process API
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#from_end
def from_end() -> ::Integer
Returns
- (::Integer) — Only process certain pages from the end, same as above.
#from_end=
def from_end=(value) -> ::Integer
Parameter
- value (::Integer) — Only process certain pages from the end, same as above.
Returns
- (::Integer) — Only process certain pages from the end, same as above.
#from_start
def from_start() -> ::Integer
Returns
- (::Integer) — Only process certain pages from the start, process all if the document has less pages.
#from_start=
def from_start=(value) -> ::Integer
Parameter
- value (::Integer) — Only process certain pages from the start, process all if the document has less pages.
Returns
- (::Integer) — Only process certain pages from the start, process all if the document has less pages.
#individual_page_selector
def individual_page_selector() -> ::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::IndividualPageSelector
Returns
- (::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::IndividualPageSelector) — Which pages to process (1-indexed).
#individual_page_selector=
def individual_page_selector=(value) -> ::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::IndividualPageSelector
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::IndividualPageSelector) — Which pages to process (1-indexed).
Returns
- (::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::IndividualPageSelector) — Which pages to process (1-indexed).
#ocr_config
def ocr_config() -> ::Google::Cloud::DocumentAI::V1beta3::OcrConfig
Returns
-
(::Google::Cloud::DocumentAI::V1beta3::OcrConfig) — Only applicable to
OCR_PROCESSOR
. Returns error if set on other processor types.
#ocr_config=
def ocr_config=(value) -> ::Google::Cloud::DocumentAI::V1beta3::OcrConfig
Parameter
-
value (::Google::Cloud::DocumentAI::V1beta3::OcrConfig) — Only applicable to
OCR_PROCESSOR
. Returns error if set on other processor types.
Returns
-
(::Google::Cloud::DocumentAI::V1beta3::OcrConfig) — Only applicable to
OCR_PROCESSOR
. Returns error if set on other processor types.