View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig (google_api_discovery_engine v0.16.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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.