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.



12707
12708
12709
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12707

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

Instance Attribute Details

#operatorString

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

Returns:

  • (String)


12700
12701
12702
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12700

def operator
  @operator
end

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

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



12705
12706
12707
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12705

def rule_operands
  @rule_operands
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12712
12713
12714
12715
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12712

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