Class: Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ParsingConfig

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

Overview

Related configurations applied to a specific type of document parser.

Defined Under Namespace

Classes: DigitalParsingConfig, OcrParsingConfig

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns Configurations applied to digital parser.



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
# File 'proto_docs/google/cloud/discoveryengine/v1beta/document_processing_config.rb', line 63

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
end

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

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

Returns:



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
# File 'proto_docs/google/cloud/discoveryengine/v1beta/document_processing_config.rb', line 63

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
end