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-  (::Integer) — Only process certain pages from the end, same as above.
Note: The following fields are mutually exclusive:
from_end,individual_page_selector,from_start. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#from_end=
def from_end=(value) -> ::Integer-  value (::Integer) — Only process certain pages from the end, same as above.
Note: The following fields are mutually exclusive:
from_end,individual_page_selector,from_start. If a field in that set is populated, all other fields in the set will automatically be cleared. 
-  (::Integer) — Only process certain pages from the end, same as above.
Note: The following fields are mutually exclusive:
from_end,individual_page_selector,from_start. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#from_start
def from_start() -> ::Integer-  (::Integer) — Only process certain pages from the start. Process all if the document has fewer pages.
Note: The following fields are mutually exclusive:
from_start,individual_page_selector,from_end. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#from_start=
def from_start=(value) -> ::Integer-  value (::Integer) — Only process certain pages from the start. Process all if the document has fewer pages.
Note: The following fields are mutually exclusive:
from_start,individual_page_selector,from_end. If a field in that set is populated, all other fields in the set will automatically be cleared. 
-  (::Integer) — Only process certain pages from the start. Process all if the document has fewer pages.
Note: The following fields are mutually exclusive:
from_start,individual_page_selector,from_end. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#individual_page_selector
def individual_page_selector() -> ::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::IndividualPageSelector-  (::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::IndividualPageSelector) — Which pages to process (1-indexed).
Note: The following fields are mutually exclusive:
individual_page_selector,from_start,from_end. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#individual_page_selector=
def individual_page_selector=(value) -> ::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::IndividualPageSelector-  value (::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::IndividualPageSelector) — Which pages to process (1-indexed).
Note: The following fields are mutually exclusive:
individual_page_selector,from_start,from_end. If a field in that set is populated, all other fields in the set will automatically be cleared. 
-  (::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::IndividualPageSelector) — Which pages to process (1-indexed).
Note: The following fields are mutually exclusive:
individual_page_selector,from_start,from_end. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#layout_config
def layout_config() -> ::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::LayoutConfig-  (::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::LayoutConfig) — Optional. Only applicable to 
LAYOUT_PARSER_PROCESSOR. Returns error if set on other processor types. 
#layout_config=
def layout_config=(value) -> ::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::LayoutConfig-  value (::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::LayoutConfig) — Optional. Only applicable to 
LAYOUT_PARSER_PROCESSOR. Returns error if set on other processor types. 
-  (::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::LayoutConfig) — Optional. Only applicable to 
LAYOUT_PARSER_PROCESSOR. Returns error if set on other processor types. 
#ocr_config
def ocr_config() -> ::Google::Cloud::DocumentAI::V1beta3::OcrConfig-  (::Google::Cloud::DocumentAI::V1beta3::OcrConfig) — Only applicable to 
OCR_PROCESSORandFORM_PARSER_PROCESSOR. Returns error if set on other processor types. 
#ocr_config=
def ocr_config=(value) -> ::Google::Cloud::DocumentAI::V1beta3::OcrConfig-  value (::Google::Cloud::DocumentAI::V1beta3::OcrConfig) — Only applicable to 
OCR_PROCESSORandFORM_PARSER_PROCESSOR. Returns error if set on other processor types. 
-  (::Google::Cloud::DocumentAI::V1beta3::OcrConfig) — Only applicable to 
OCR_PROCESSORandFORM_PARSER_PROCESSOR. Returns error if set on other processor types. 
#schema_override
def schema_override() -> ::Google::Cloud::DocumentAI::V1beta3::DocumentSchema- (::Google::Cloud::DocumentAI::V1beta3::DocumentSchema) — Optional. Override the schema of the ProcessorVersion. Will return an Invalid Argument error if this field is set when the underlying ProcessorVersion doesn't support schema override.
 
#schema_override=
def schema_override=(value) -> ::Google::Cloud::DocumentAI::V1beta3::DocumentSchema- value (::Google::Cloud::DocumentAI::V1beta3::DocumentSchema) — Optional. Override the schema of the ProcessorVersion. Will return an Invalid Argument error if this field is set when the underlying ProcessorVersion doesn't support schema override.
 
- (::Google::Cloud::DocumentAI::V1beta3::DocumentSchema) — Optional. Override the schema of the ProcessorVersion. Will return an Invalid Argument error if this field is set when the underlying ProcessorVersion doesn't support schema override.