Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaOcrParsingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaOcrParsingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
The OCR parsing configurations for documents.
Instance Attribute Summary collapse
-
#enhanced_document_elements ⇒ Array<String>
Apply additional enhanced OCR processing to a list of document elements.
-
#use_native_text ⇒ Boolean
(also: #use_native_text?)
If true, will use native text instead of OCR text on pages containing native text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaOcrParsingConfig
constructor
A new instance of GoogleCloudDiscoveryengineV1betaOcrParsingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaOcrParsingConfig
Returns a new instance of GoogleCloudDiscoveryengineV1betaOcrParsingConfig.
6034 6035 6036 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6034 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enhanced_document_elements ⇒ Array<String>
Apply additional enhanced OCR processing to a list of document elements.
Supported values: * table: advanced table parsing model.
Corresponds to the JSON property enhancedDocumentElements
6025 6026 6027 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6025 def enhanced_document_elements @enhanced_document_elements end |
#use_native_text ⇒ Boolean Also known as: use_native_text?
If true, will use native text instead of OCR text on pages containing native
text.
Corresponds to the JSON property useNativeText
6031 6032 6033 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6031 def use_native_text @use_native_text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6039 6040 6041 6042 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 6039 def update!(**args) @enhanced_document_elements = args[:enhanced_document_elements] if args.key?(:enhanced_document_elements) @use_native_text = args[:use_native_text] if args.key?(:use_native_text) end |