Class: Google::Apis::CesV1::DataStoreToolBoostSpecs
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::DataStoreToolBoostSpecs
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Boost specifications to boost certain documents. For more information, please refer to https://cloud.google.com/generative-ai-app-builder/docs/boosting.
Instance Attribute Summary collapse
-
#data_stores ⇒ Array<String>
Required.
-
#spec ⇒ Array<Google::Apis::CesV1::DataStoreToolBoostSpec>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataStoreToolBoostSpecs
constructor
A new instance of DataStoreToolBoostSpecs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataStoreToolBoostSpecs
Returns a new instance of DataStoreToolBoostSpecs.
2256 2257 2258 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2256 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_stores ⇒ Array<String>
Required. The Data Store where the boosting configuration is applied. Full
resource name of DataStore, such as projects/project/locations/location/
collections/collection/dataStores/dataStore.
Corresponds to the JSON property dataStores
2249 2250 2251 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2249 def data_stores @data_stores end |
#spec ⇒ Array<Google::Apis::CesV1::DataStoreToolBoostSpec>
Required. A list of boosting specifications.
Corresponds to the JSON property spec
2254 2255 2256 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2254 def spec @spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2261 2262 2263 2264 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2261 def update!(**args) @data_stores = args[:data_stores] if args.key?(:data_stores) @spec = args[:spec] if args.key?(:spec) end |