Class: Google::Cloud::DocumentAI::V1::ProcessOptions
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1::ProcessOptions
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1/document_processor_service.rb
Overview
Options for Process API
Defined Under Namespace
Classes: IndividualPageSelector, LayoutConfig
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::V1::ProcessOptions::IndividualPageSelector
Which pages to process (1-indexed).
-
#layout_config ⇒ ::Google::Cloud::DocumentAI::V1::ProcessOptions::LayoutConfig
Optional.
-
#ocr_config ⇒ ::Google::Cloud::DocumentAI::V1::OcrConfig
Only applicable to
OCR_PROCESSOR
andFORM_PARSER_PROCESSOR
. -
#schema_override ⇒ ::Google::Cloud::DocumentAI::V1::DocumentSchema
Optional.
Instance Attribute Details
#from_end ⇒ ::Integer
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 56 class ProcessOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Serving config for layout parser processor. # @!attribute [rw] chunking_config # @return [::Google::Cloud::DocumentAI::V1::ProcessOptions::LayoutConfig::ChunkingConfig] # Optional. Config for chunking in layout parser processor. # @!attribute [rw] return_images # @return [::Boolean] # Optional. Whether to include images in layout parser processor response. # @!attribute [rw] return_bounding_boxes # @return [::Boolean] # Optional. Whether to include bounding boxes in layout parser processor # response. class LayoutConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Serving config for chunking. # @!attribute [rw] chunk_size # @return [::Integer] # Optional. The chunk sizes to use when splitting documents, in order of # level. # @!attribute [rw] include_ancestor_headings # @return [::Boolean] # Optional. Whether or not to include ancestor headings when splitting. class ChunkingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # 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
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 56 class ProcessOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Serving config for layout parser processor. # @!attribute [rw] chunking_config # @return [::Google::Cloud::DocumentAI::V1::ProcessOptions::LayoutConfig::ChunkingConfig] # Optional. Config for chunking in layout parser processor. # @!attribute [rw] return_images # @return [::Boolean] # Optional. Whether to include images in layout parser processor response. # @!attribute [rw] return_bounding_boxes # @return [::Boolean] # Optional. Whether to include bounding boxes in layout parser processor # response. class LayoutConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Serving config for chunking. # @!attribute [rw] chunk_size # @return [::Integer] # Optional. The chunk sizes to use when splitting documents, in order of # level. # @!attribute [rw] include_ancestor_headings # @return [::Boolean] # Optional. Whether or not to include ancestor headings when splitting. class ChunkingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # 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::V1::ProcessOptions::IndividualPageSelector
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 56 class ProcessOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Serving config for layout parser processor. # @!attribute [rw] chunking_config # @return [::Google::Cloud::DocumentAI::V1::ProcessOptions::LayoutConfig::ChunkingConfig] # Optional. Config for chunking in layout parser processor. # @!attribute [rw] return_images # @return [::Boolean] # Optional. Whether to include images in layout parser processor response. # @!attribute [rw] return_bounding_boxes # @return [::Boolean] # Optional. Whether to include bounding boxes in layout parser processor # response. class LayoutConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Serving config for chunking. # @!attribute [rw] chunk_size # @return [::Integer] # Optional. The chunk sizes to use when splitting documents, in order of # level. # @!attribute [rw] include_ancestor_headings # @return [::Boolean] # Optional. Whether or not to include ancestor headings when splitting. class ChunkingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # 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 |
#layout_config ⇒ ::Google::Cloud::DocumentAI::V1::ProcessOptions::LayoutConfig
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 56 class ProcessOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Serving config for layout parser processor. # @!attribute [rw] chunking_config # @return [::Google::Cloud::DocumentAI::V1::ProcessOptions::LayoutConfig::ChunkingConfig] # Optional. Config for chunking in layout parser processor. # @!attribute [rw] return_images # @return [::Boolean] # Optional. Whether to include images in layout parser processor response. # @!attribute [rw] return_bounding_boxes # @return [::Boolean] # Optional. Whether to include bounding boxes in layout parser processor # response. class LayoutConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Serving config for chunking. # @!attribute [rw] chunk_size # @return [::Integer] # Optional. The chunk sizes to use when splitting documents, in order of # level. # @!attribute [rw] include_ancestor_headings # @return [::Boolean] # Optional. Whether or not to include ancestor headings when splitting. class ChunkingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # 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::V1::OcrConfig
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 56 class ProcessOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Serving config for layout parser processor. # @!attribute [rw] chunking_config # @return [::Google::Cloud::DocumentAI::V1::ProcessOptions::LayoutConfig::ChunkingConfig] # Optional. Config for chunking in layout parser processor. # @!attribute [rw] return_images # @return [::Boolean] # Optional. Whether to include images in layout parser processor response. # @!attribute [rw] return_bounding_boxes # @return [::Boolean] # Optional. Whether to include bounding boxes in layout parser processor # response. class LayoutConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Serving config for chunking. # @!attribute [rw] chunk_size # @return [::Integer] # Optional. The chunk sizes to use when splitting documents, in order of # level. # @!attribute [rw] include_ancestor_headings # @return [::Boolean] # Optional. Whether or not to include ancestor headings when splitting. class ChunkingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # 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::V1::DocumentSchema
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 56 class ProcessOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Serving config for layout parser processor. # @!attribute [rw] chunking_config # @return [::Google::Cloud::DocumentAI::V1::ProcessOptions::LayoutConfig::ChunkingConfig] # Optional. Config for chunking in layout parser processor. # @!attribute [rw] return_images # @return [::Boolean] # Optional. Whether to include images in layout parser processor response. # @!attribute [rw] return_bounding_boxes # @return [::Boolean] # Optional. Whether to include bounding boxes in layout parser processor # response. class LayoutConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Serving config for chunking. # @!attribute [rw] chunk_size # @return [::Integer] # Optional. The chunk sizes to use when splitting documents, in order of # level. # @!attribute [rw] include_ancestor_headings # @return [::Boolean] # Optional. Whether or not to include ancestor headings when splitting. class ChunkingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # 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 |