GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig constructor

const GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig({
  1. required Input<String> targetField,
  2. required Input<double> targetFieldValueFloat,
})

Creates a new GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig. targetField The name of the field to target. Currently supported values: watch-percentage, watch-time. targetFieldValueFloat The threshold to be applied to the target (e.g., 0.5).

Implementation

const GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig({
  required this.targetField,
  required this.targetFieldValueFloat,
});