View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchRequestBoostSpec (google_api_retail v0.19.1)
Boost specification to boost certain items.
Attributes
-
conditionBoostSpecs
(type:list(GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec.t)
, default:nil
) - 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 20. -
skipBoostSpecValidation
(type:boolean()
, default:nil
) - Whether to skip boostspec validation. If this field is set to true, invalid BoostSpec.condition_boost_specs will be ignored and valid BoostSpec.condition_boost_specs will still be applied.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchRequestBoostSpec{ conditionBoostSpecs: [ GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec.t() ] | nil, skipBoostSpecValidation: boolean() | nil }