Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig

Returns a new instance of GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig.



19569
19570
19571
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 19569

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#digital_parsing_configGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig

The digital parsing configurations for documents. Corresponds to the JSON property digitalParsingConfig



19557
19558
19559
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 19557

def digital_parsing_config
  @digital_parsing_config
end

#layout_parsing_configGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig

The layout parsing configurations for documents. Corresponds to the JSON property layoutParsingConfig



19562
19563
19564
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 19562

def layout_parsing_config
  @layout_parsing_config
end

#ocr_parsing_configGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig

The OCR parsing configurations for documents. Corresponds to the JSON property ocrParsingConfig



19567
19568
19569
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 19567

def ocr_parsing_config
  @ocr_parsing_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19574
19575
19576
19577
19578
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 19574

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