Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig

Returns a new instance of GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig.



11371
11372
11373
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11371

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

Instance Attribute Details

#digital_parsing_configGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig

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



11359
11360
11361
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11359

def digital_parsing_config
  @digital_parsing_config
end

#layout_parsing_configGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig

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



11364
11365
11366
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11364

def layout_parsing_config
  @layout_parsing_config
end

#ocr_parsing_configGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig

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



11369
11370
11371
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11369

def ocr_parsing_config
  @ocr_parsing_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11376
11377
11378
11379
11380
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11376

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