Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Related configurations applied to a specific type of document parser.
Instance Attribute Summary collapse
-
#digital_parsing_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig
The digital parsing configurations for documents.
-
#layout_parsing_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
The layout parsing configurations for documents.
-
#ocr_parsing_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig
The OCR parsing configurations for documents.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
Returns a new instance of GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig.
9124 9125 9126 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9124 def initialize(**args) update!(**args) end |
Instance Attribute Details
#digital_parsing_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig
The digital parsing configurations for documents.
Corresponds to the JSON property digitalParsingConfig
9112 9113 9114 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9112 def digital_parsing_config @digital_parsing_config end |
#layout_parsing_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
The layout parsing configurations for documents.
Corresponds to the JSON property layoutParsingConfig
9117 9118 9119 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9117 def layout_parsing_config @layout_parsing_config end |
#ocr_parsing_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig
The OCR parsing configurations for documents.
Corresponds to the JSON property ocrParsingConfig
9122 9123 9124 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9122 def ocr_parsing_config @ocr_parsing_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9129 9130 9131 9132 9133 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9129 def update!(**args) @digital_parsing_config = args[:digital_parsing_config] if args.key?(:digital_parsing_config) @layout_parsing_config = args[:layout_parsing_config] if args.key?(:layout_parsing_config) @ocr_parsing_config = args[:ocr_parsing_config] if args.key?(:ocr_parsing_config) end |