Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/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) ⇒ GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig

Returns a new instance of GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig.



7674
7675
7676
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7674

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

Instance Attribute Details

#content_search_specGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec

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



7672
7673
7674
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7672

def content_search_spec
  @content_search_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7679
7680
7681
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7679

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