View Source GoogleApi.DisplayVideo.V3.Model.AlgorithmRulesRule (google_api_display_video v0.34.0)

Set of conditions. The return value of the rule is either: The return value for single met condition or The defined default return value if no conditions are met.

Attributes

  • conditions (type: list(GoogleApi.DisplayVideo.V3.Model.AlgorithmRulesRuleCondition.t), default: nil) - List of conditions in this rule. The criteria among conditions should be mutually exclusive.
  • defaultReturnValue (type: GoogleApi.DisplayVideo.V3.Model.AlgorithmRulesSignalValue.t, default: nil) - The default return value applied when none of the conditions are met.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DisplayVideo.V3.Model.AlgorithmRulesRule{
  conditions:
    [GoogleApi.DisplayVideo.V3.Model.AlgorithmRulesRuleCondition.t()] | nil,
  defaultReturnValue:
    GoogleApi.DisplayVideo.V3.Model.AlgorithmRulesSignalValue.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.