Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig

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

Configuration for chunking config.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig

Returns a new instance of GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig.



4003
4004
4005
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4003

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

Instance Attribute Details

#layout_based_chunking_configGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig

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



4001
4002
4003
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4001

def layout_based_chunking_config
  @layout_based_chunking_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4008
4009
4010
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4008

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