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

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

The OCR parsing configurations for documents.

Instance Attribute Summary collapse

Instance Attribute Details

#enhanced_document_elements::Array<::String>

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to layout_parsing_config.

Returns:

  • (::Array<::String>)

    [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to layout_parsing_config.



83
84
85
86
# File 'proto_docs/google/cloud/discoveryengine/v1beta/document_processing_config.rb', line 83

class OcrParsingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#use_native_text::Boolean

Returns If true, will use native text instead of OCR text on pages containing native text.

Returns:

  • (::Boolean)

    If true, will use native text instead of OCR text on pages containing native text.



83
84
85
86
# File 'proto_docs/google/cloud/discoveryengine/v1beta/document_processing_config.rb', line 83

class OcrParsingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end