View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchRequestBoostSpec (google_api_retail v0.3.0)

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 10.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchRequestBoostSpec{
  conditionBoostSpecs:
    [
      GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec.t()
    ]
    | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.