Document AI V1 API - Class Google::Cloud::DocumentAI::V1::ProcessOptions (v0.17.2)

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

#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 fewer pages.

#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.
Returns
  • (::Integer) — Only process certain pages from the start. Process all if the document has fewer pages.

#individual_page_selector

def individual_page_selector() -> ::Google::Cloud::DocumentAI::V1::ProcessOptions::IndividualPageSelector
Returns

#individual_page_selector=

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

#ocr_config

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

#ocr_config=

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