Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Configuration specific to search queries with data stores.
Instance Attribute Summary collapse
-
#boost_specs ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs>
Optional.
-
#filter_specs ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig
constructor
A new instance of GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig
Returns a new instance of GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig.
16591 16592 16593 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16591 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boost_specs ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs>
Optional. Boost specifications for data stores. 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
16581 16582 16583 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16581 def boost_specs @boost_specs end |
#filter_specs ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs>
Optional. Filter specification for data store queries. TMaps 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
16589 16590 16591 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16589 def filter_specs @filter_specs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16596 16597 16598 16599 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16596 def update!(**args) @boost_specs = args[:boost_specs] if args.key?(:boost_specs) @filter_specs = args[:filter_specs] if args.key?(:filter_specs) end |