class Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestBoostSpec
Boost specification to boost certain items.
Attributes
condition_boost_specs[RW]
Condition boost specifications. If a product matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 10. Corresponds to the JSON property `conditionBoostSpecs` @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/retail_v2beta/classes.rb, line 3370 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/retail_v2beta/classes.rb, line 3375 def update!(**args) @condition_boost_specs = args[:condition_boost_specs] if args.key?(:condition_boost_specs) end