Class: Google::Apis::CesV1::DataStoreToolBoostSpec
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::DataStoreToolBoostSpec
- 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 specification to boost certain documents.
Instance Attribute Summary collapse
-
#condition_boost_specs ⇒ Array<Google::Apis::CesV1::DataStoreToolBoostSpecConditionBoostSpec>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataStoreToolBoostSpec
constructor
A new instance of DataStoreToolBoostSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataStoreToolBoostSpec
Returns a new instance of DataStoreToolBoostSpec.
2110 2111 2112 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2110 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition_boost_specs ⇒ Array<Google::Apis::CesV1::DataStoreToolBoostSpecConditionBoostSpec>
Required. A list of boosting specifications.
Corresponds to the JSON property conditionBoostSpecs
2108 2109 2110 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2108 def condition_boost_specs @condition_boost_specs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2115 2116 2117 |
# File 'lib/google/apis/ces_v1/classes.rb', line 2115 def update!(**args) @condition_boost_specs = args[:condition_boost_specs] if args.key?(:condition_boost_specs) end |