Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SearchConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SearchConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Search configuration for UCS search queries.
Instance Attribute Summary collapse
-
#boost_specs ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecs>
Optional.
-
#filter_specs ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FilterSpecs>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SearchConfig
constructor
A new instance of GoogleCloudDialogflowCxV3beta1SearchConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SearchConfig
Returns a new instance of GoogleCloudDialogflowCxV3beta1SearchConfig.
13389 13390 13391 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13389 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boost_specs ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecs>
Optional. Boosting configuration for the datastores. Maps from datastore name
to their boost configuration. Do not specify more than one BoostSpecs for each
datastore name. If multiple BoostSpecs are provided for the same datastore
name, the behavior is undefined.
Corresponds to the JSON property boostSpecs
13379 13380 13381 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13379 def boost_specs @boost_specs end |
#filter_specs ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FilterSpecs>
Optional. Filter configuration for the datastores. Maps from datastore name to
the filter expression for that datastore. Do not specify more than one
FilterSpecs for each datastore name. If multiple FilterSpecs are provided for
the same datastore name, the behavior is undefined.
Corresponds to the JSON property filterSpecs
13387 13388 13389 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13387 def filter_specs @filter_specs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13394 13395 13396 13397 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13394 def update!(**args) @boost_specs = args[:boost_specs] if args.key?(:boost_specs) @filter_specs = args[:filter_specs] if args.key?(:filter_specs) end |