Class: Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb

Overview

Related configurations applied to a specific type of document parser.

Defined Under Namespace

Classes: DigitalParsingConfig, LayoutParsingConfig, OcrParsingConfig

Instance Attribute Summary collapse

Instance Attribute Details

#digital_parsing_config::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::DigitalParsingConfig

Returns Configurations applied to digital parser.



103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb', line 103

class ParsingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The digital parsing configurations for documents.
  class DigitalParsingConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The OCR parsing configurations for documents.
  # @!attribute [rw] enhanced_document_elements
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::String>]
  #     [DEPRECATED] This field is deprecated. To use the additional enhanced
  #     document elements processing, please switch to `layout_parsing_config`.
  # @!attribute [rw] use_native_text
  #   @return [::Boolean]
  #     If true, will use native text instead of OCR text on pages containing
  #     native text.
  class OcrParsingConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The layout parsing configurations for documents.
  class LayoutParsingConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#layout_parsing_config::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::LayoutParsingConfig

Returns Configurations applied to layout parser.



103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb', line 103

class ParsingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The digital parsing configurations for documents.
  class DigitalParsingConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The OCR parsing configurations for documents.
  # @!attribute [rw] enhanced_document_elements
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::String>]
  #     [DEPRECATED] This field is deprecated. To use the additional enhanced
  #     document elements processing, please switch to `layout_parsing_config`.
  # @!attribute [rw] use_native_text
  #   @return [::Boolean]
  #     If true, will use native text instead of OCR text on pages containing
  #     native text.
  class OcrParsingConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The layout parsing configurations for documents.
  class LayoutParsingConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#ocr_parsing_config::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::OcrParsingConfig

Returns Configurations applied to OCR parser. Currently it only applies to PDFs.

Returns:



103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb', line 103

class ParsingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The digital parsing configurations for documents.
  class DigitalParsingConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The OCR parsing configurations for documents.
  # @!attribute [rw] enhanced_document_elements
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::String>]
  #     [DEPRECATED] This field is deprecated. To use the additional enhanced
  #     document elements processing, please switch to `layout_parsing_config`.
  # @!attribute [rw] use_native_text
  #   @return [::Boolean]
  #     If true, will use native text instead of OCR text on pages containing
  #     native text.
  class OcrParsingConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The layout parsing configurations for documents.
  class LayoutParsingConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end