Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs
- 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
Boost specifications for data stores.
Instance Attribute Summary collapse
-
#data_stores ⇒ Array<String>
Optional.
-
#spec ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs
constructor
A new instance of GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs
Returns a new instance of GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs.
14845 14846 14847 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14845 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
14838 14839 14840 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14838 def data_stores @data_stores end |
#spec ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec>
Optional. A list of boosting specifications.
Corresponds to the JSON property spec
14843 14844 14845 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14843 def spec @spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14850 14851 14852 14853 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14850 def update!(**args) @data_stores = args[:data_stores] if args.key?(:data_stores) @spec = args[:spec] if args.key?(:spec) end |