Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonTargetRestrictionOperation
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonTargetRestrictionOperation
- 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
Operation to be performed on a target restriction list in a mutate.
Instance Attribute Summary collapse
-
#operator ⇒ String
Type of list operation to perform.
-
#value ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonTargetRestriction
The list of per-targeting-dimension targeting settings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonTargetRestrictionOperation
constructor
A new instance of GoogleAdsSearchads360V23CommonTargetRestrictionOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonTargetRestrictionOperation
Returns a new instance of GoogleAdsSearchads360V23CommonTargetRestrictionOperation.
11676 11677 11678 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11676 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operator ⇒ String
Type of list operation to perform.
Corresponds to the JSON property operator
11669 11670 11671 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11669 def operator @operator end |
#value ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonTargetRestriction
The list of per-targeting-dimension targeting settings.
Corresponds to the JSON property value
11674 11675 11676 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11674 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11681 11682 11683 11684 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11681 def update!(**args) @operator = args[:operator] if args.key?(:operator) @value = args[:value] if args.key?(:value) end |