class Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestBoostSpec

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::RetailV2::GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/retail_v2/classes.rb, line 2488
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_v2/classes.rb, line 2493
def update!(**args)
  @condition_boost_specs = args[:condition_boost_specs] if args.key?(:condition_boost_specs)
end