Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig

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

Configuration for chunking config.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig

Returns a new instance of GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig.



6133
6134
6135
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6133

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

Instance Attribute Details

#layout_based_chunking_configGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig

Configuration for the layout based chunking. Corresponds to the JSON property layoutBasedChunkingConfig



6131
6132
6133
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6131

def layout_based_chunking_config
  @layout_based_chunking_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6138
6139
6140
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6138

def update!(**args)
  @layout_based_chunking_config = args[:layout_based_chunking_config] if args.key?(:layout_based_chunking_config)
end