Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::ProcessOptions (v0.39.0)

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.

    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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns

#individual_page_selector=

def individual_page_selector=(value) -> ::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::IndividualPageSelector
Parameter
Returns

#layout_config

def layout_config() -> ::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::LayoutConfig
Returns

#layout_config=

def layout_config=(value) -> ::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::LayoutConfig
Parameter
Returns

#ocr_config

def ocr_config() -> ::Google::Cloud::DocumentAI::V1beta3::OcrConfig
Returns

#ocr_config=

def ocr_config=(value) -> ::Google::Cloud::DocumentAI::V1beta3::OcrConfig
Parameter
Returns

#schema_override

def schema_override() -> ::Google::Cloud::DocumentAI::V1beta3::DocumentSchema
Returns

#schema_override=

def schema_override=(value) -> ::Google::Cloud::DocumentAI::V1beta3::DocumentSchema
Parameter
Returns