View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig (google_api_discovery_engine v0.27.0)

Custom threshold for cvr optimization_objective.

Attributes

  • targetField (type: String.t, default: nil) - Required. The name of the field to target. Currently supported values: watch-percentage, watch-time.
  • targetFieldValueFloat (type: number(), default: nil) - Required. The threshold to be applied to the target (e.g., 0.5).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig{
    targetField: String.t() | nil,
    targetFieldValueFloat: number() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.