Class: Google::Apis::DoubleclickbidmanagerV1_1::Rule
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclickbidmanagerV1_1::Rule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/doubleclickbidmanager_v1_1/classes.rb,
lib/google/apis/doubleclickbidmanager_v1_1/representations.rb,
lib/google/apis/doubleclickbidmanager_v1_1/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::DoubleclickbidmanagerV1_1::DisjunctiveMatchStatement>
Corresponds to the JSON property
disjunctiveMatchStatements
. -
#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.
716 717 718 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 716 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disjunctive_match_statements ⇒ Array<Google::Apis::DoubleclickbidmanagerV1_1::DisjunctiveMatchStatement>
Corresponds to the JSON property disjunctiveMatchStatements
709 710 711 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 709 def disjunctive_match_statements @disjunctive_match_statements end |
#name ⇒ String
Rule name.
Corresponds to the JSON property name
714 715 716 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 714 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
721 722 723 724 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 721 def update!(**args) @disjunctive_match_statements = args[:disjunctive_match_statements] if args.key?(:disjunctive_match_statements) @name = args[:name] if args.key?(:name) end |