View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel (google_api_retail v0.10.0)

An individual panel with a list of ServingConfigs to consider for it.

Attributes

  • candidates (type: list(GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate.t), default: nil) - Required. The candidates to consider on the panel.
  • defaultCandidate (type: GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate.t, default: nil) - Required. The default candidate. If the model fails at serving time, we fall back to the default.
  • displayName (type: String.t, default: nil) - Optional. The name to display for the panel.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel{
    candidates:
      [
        GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate.t()
      ]
      | nil,
    defaultCandidate:
      GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate.t()
      | nil,
    displayName: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.