Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
A user list logical rule. A rule has a logical operator (and/or/not) and a list of user lists as operands.
Instance Attribute Summary collapse
-
#operator ⇒ String
The logical operator of the rule.
-
#rule_operands ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo>
The list of operands of the rule.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo
Returns a new instance of GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo.
12641 12642 12643 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12641 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operator ⇒ String
The logical operator of the rule.
Corresponds to the JSON property operator
12634 12635 12636 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12634 def operator @operator end |
#rule_operands ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo>
The list of operands of the rule.
Corresponds to the JSON property ruleOperands
12639 12640 12641 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12639 def rule_operands @rule_operands end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12646 12647 12648 12649 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12646 def update!(**args) @operator = args[:operator] if args.key?(:operator) @rule_operands = args[:rule_operands] if args.key?(:rule_operands) end |