Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfigGenericConfig
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfigGenericConfig
- 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
Specifies the configurations needed for Generic Discovery.Currently we support:
content_search_spec: configuration for generic content search.
Instance Attribute Summary collapse
-
#content_search_spec ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec
A specification for configuring the behavior of content search.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ServingConfigGenericConfig
constructor
A new instance of GoogleCloudDiscoveryengineV1ServingConfigGenericConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ServingConfigGenericConfig
Returns a new instance of GoogleCloudDiscoveryengineV1ServingConfigGenericConfig.
9672 9673 9674 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9672 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_search_spec ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec
A specification for configuring the behavior of content search.
Corresponds to the JSON property contentSearchSpec
9670 9671 9672 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9670 def content_search_spec @content_search_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9677 9678 9679 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9677 def update!(**args) @content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec) end |