Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecs
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecs
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Boost specifications for data stores.
Instance Attribute Summary collapse
-
#data_stores ⇒ Array<String>
Optional.
-
#spec ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpec>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3BoostSpecs
constructor
A new instance of GoogleCloudDialogflowCxV3BoostSpecs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3BoostSpecs
Returns a new instance of GoogleCloudDialogflowCxV3BoostSpecs.
939 940 941 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 939 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
932 933 934 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 932 def data_stores @data_stores end |
#spec ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpec>
Optional. A list of boosting specifications.
Corresponds to the JSON property spec
937 938 939 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 937 def spec @spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
944 945 946 947 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 944 def update!(**args) @data_stores = args[:data_stores] if args.key?(:data_stores) @spec = args[:spec] if args.key?(:spec) end |