Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfigGenericConfig

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

Specifies the configurations needed for Generic Discovery.Currently we support:

  • content_search_spec: configuration for generic content search.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaServingConfigGenericConfig

Returns a new instance of GoogleCloudDiscoveryengineV1alphaServingConfigGenericConfig.



16941
16942
16943
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16941

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

Instance Attribute Details

#content_search_specGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec

A specification for configuring the behavior of content search. Corresponds to the JSON property contentSearchSpec



16939
16940
16941
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16939

def content_search_spec
  @content_search_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16946
16947
16948
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16946

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