Class: Google::Apis::DisplayvideoV3::AlgorithmRules

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb

Overview

Rule-based algorithm.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AlgorithmRules

Returns a new instance of AlgorithmRules.



820
821
822
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 820

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#impression_signal_rulesetGoogle::Apis::DisplayvideoV3::AlgorithmRulesRuleset

A ruleset consisting of a list of rules and how to aggregate the resulting values. Corresponds to the JSON property impressionSignalRuleset



818
819
820
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 818

def impression_signal_ruleset
  @impression_signal_ruleset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



825
826
827
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 825

def update!(**args)
  @impression_signal_ruleset = args[:impression_signal_ruleset] if args.key?(:impression_signal_ruleset)
end