Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecs

Inherits:
Object
  • Object
show all
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

Boost specifications for data stores.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1BoostSpecs

Returns a new instance of GoogleCloudDialogflowCxV3beta1BoostSpecs.



4625
4626
4627
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4625

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#data_storesArray<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

Returns:

  • (Array<String>)


4618
4619
4620
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4618

def data_stores
  @data_stores
end

#specArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpec>

Optional. A list of boosting specifications. Corresponds to the JSON property spec



4623
4624
4625
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4623

def spec
  @spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4630
4631
4632
4633
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4630

def update!(**args)
  @data_stores = args[:data_stores] if args.key?(:data_stores)
  @spec = args[:spec] if args.key?(:spec)
end