Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Related configurations applied to a specific type of document parser.
Instance Attribute Summary collapse
-
#digital_parsing_config ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig
The digital parsing configurations for documents.
-
#layout_parsing_config ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
The layout parsing configurations for documents.
-
#ocr_parsing_config ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig
The OCR parsing configurations for documents.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
constructor
A new instance of GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
Returns a new instance of GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig.
4502 4503 4504 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4502 def initialize(**args) update!(**args) end |
Instance Attribute Details
#digital_parsing_config ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig
The digital parsing configurations for documents.
Corresponds to the JSON property digitalParsingConfig
4490 4491 4492 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4490 def digital_parsing_config @digital_parsing_config end |
#layout_parsing_config ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
The layout parsing configurations for documents.
Corresponds to the JSON property layoutParsingConfig
4495 4496 4497 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4495 def layout_parsing_config @layout_parsing_config end |
#ocr_parsing_config ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig
The OCR parsing configurations for documents.
Corresponds to the JSON property ocrParsingConfig
4500 4501 4502 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4500 def ocr_parsing_config @ocr_parsing_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4507 4508 4509 4510 4511 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4507 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 |