Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#data_stores ⇒ Array<String>
Optional.
-
#spec ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs
constructor
A new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs
Returns a new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs.
21129 21130 21131 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21129 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_stores ⇒ Array<String>
Optional. Data Stores where the boosting configuration is applied. The full
names of the referenced data stores. Formats: projects/project/locations/
location/collections/collection/dataStores/data_store`projects/`project`
/locations/`location`/dataStores/`data_store
Corresponds to the JSON property dataStores
21122 21123 21124 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21122 def data_stores @data_stores end |
#spec ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec>
Optional. A list of boosting specifications.
Corresponds to the JSON property spec
21127 21128 21129 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21127 def spec @spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21134 21135 21136 21137 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21134 def update!(**args) @data_stores = args[:data_stores] if args.key?(:data_stores) @spec = args[:spec] if args.key?(:spec) end |