Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::Engine::MediaRecommendationEngineConfig::OptimizationObjectiveConfig (v2.3.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::Engine::MediaRecommendationEngineConfig::OptimizationObjectiveConfig.

Custom threshold for cvr optimization_objective.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#target_field

def target_field() -> ::String
Returns
  • (::String) — Required. The name of the field to target. Currently supported values: watch-percentage, watch-time.

#target_field=

def target_field=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the field to target. Currently supported values: watch-percentage, watch-time.
Returns
  • (::String) — Required. The name of the field to target. Currently supported values: watch-percentage, watch-time.

#target_field_value_float

def target_field_value_float() -> ::Float
Returns
  • (::Float) — Required. The threshold to be applied to the target (e.g., 0.5).

#target_field_value_float=

def target_field_value_float=(value) -> ::Float
Parameter
  • value (::Float) — Required. The threshold to be applied to the target (e.g., 0.5).
Returns
  • (::Float) — Required. The threshold to be applied to the target (e.g., 0.5).