Class: Google::Cloud::DocumentAI::V1beta3::ProcessOptions
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::ProcessOptions
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb
Overview
Options for Process API
Defined Under Namespace
Classes: IndividualPageSelector
Instance Attribute Summary collapse
-
#from_end ⇒ ::Integer
Only process certain pages from the end, same as above.
-
#from_start ⇒ ::Integer
Only process certain pages from the start.
-
#individual_page_selector ⇒ ::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::IndividualPageSelector
Which pages to process (1-indexed).
-
#ocr_config ⇒ ::Google::Cloud::DocumentAI::V1beta3::OcrConfig
Only applicable to
OCR_PROCESSOR
. -
#schema_override ⇒ ::Google::Cloud::DocumentAI::V1beta3::DocumentSchema
Optional.
Instance Attribute Details
#from_end ⇒ ::Integer
Returns Only process certain pages from the end, same as above.
46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 46 class ProcessOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A list of individual page numbers. # @!attribute [rw] pages # @return [::Array<::Integer>] # Optional. Indices of the pages (starting from 1). class IndividualPageSelector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#from_start ⇒ ::Integer
Returns Only process certain pages from the start. Process all if the document has fewer pages.
46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 46 class ProcessOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A list of individual page numbers. # @!attribute [rw] pages # @return [::Array<::Integer>] # Optional. Indices of the pages (starting from 1). class IndividualPageSelector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#individual_page_selector ⇒ ::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::IndividualPageSelector
Returns Which pages to process (1-indexed).
46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 46 class ProcessOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A list of individual page numbers. # @!attribute [rw] pages # @return [::Array<::Integer>] # Optional. Indices of the pages (starting from 1). class IndividualPageSelector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#ocr_config ⇒ ::Google::Cloud::DocumentAI::V1beta3::OcrConfig
Returns Only applicable to OCR_PROCESSOR
. Returns error if set on other
processor types.
46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 46 class ProcessOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A list of individual page numbers. # @!attribute [rw] pages # @return [::Array<::Integer>] # Optional. Indices of the pages (starting from 1). class IndividualPageSelector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#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.
46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 46 class ProcessOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A list of individual page numbers. # @!attribute [rw] pages # @return [::Array<::Integer>] # Optional. Indices of the pages (starting from 1). class IndividualPageSelector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |