Class: Google::Apis::DoubleclickbidmanagerV2::Rule
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclickbidmanagerV2::Rule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/doubleclickbidmanager_v2/classes.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb
Overview
A Rule defines a name, and a boolean expression in conjunctive normal form.external
that can
be applied to a path event to determine if that name should be applied.
Instance Attribute Summary collapse
-
#disjunctive_match_statements ⇒ Array<Google::Apis::DoubleclickbidmanagerV2::DisjunctiveMatchStatement>
DisjunctiveMatchStatements within a Rule.
-
#name ⇒ String
Rule name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Rule
constructor
A new instance of Rule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Rule
Returns a new instance of Rule.
711 712 713 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 711 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disjunctive_match_statements ⇒ Array<Google::Apis::DoubleclickbidmanagerV2::DisjunctiveMatchStatement>
DisjunctiveMatchStatements within a Rule. DisjunctiveMatchStatement OR's all
contained filters.
Corresponds to the JSON property disjunctiveMatchStatements
704 705 706 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 704 def disjunctive_match_statements @disjunctive_match_statements end |
#name ⇒ String
Rule name.
Corresponds to the JSON property name
709 710 711 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 709 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
716 717 718 719 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 716 def update!(**args) @disjunctive_match_statements = args[:disjunctive_match_statements] if args.key?(:disjunctive_match_statements) @name = args[:name] if args.key?(:name) end |