Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig

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) ⇒ GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig

Returns a new instance of GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig.



2696
2697
2698
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2696

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

Instance Attribute Details

#digital_parsing_configGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig

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



2684
2685
2686
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2684

def digital_parsing_config
  @digital_parsing_config
end

#layout_parsing_configGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig

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



2689
2690
2691
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2689

def layout_parsing_config
  @layout_parsing_config
end

#ocr_parsing_configGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOcrParsingConfig

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



2694
2695
2696
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2694

def ocr_parsing_config
  @ocr_parsing_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2701
2702
2703
2704
2705
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2701

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