Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo

Returns a new instance of GoogleAdsSearchads360V23CommonUserListLogicalRuleInfo.



12767
12768
12769
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12767

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

Instance Attribute Details

#operatorString

The logical operator of the rule. Corresponds to the JSON property operator

Returns:

  • (String)


12760
12761
12762
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12760

def operator
  @operator
end

#rule_operandsArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLogicalUserListOperandInfo>

The list of operands of the rule. Corresponds to the JSON property ruleOperands



12765
12766
12767
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12765

def rule_operands
  @rule_operands
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12772
12773
12774
12775
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12772

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