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.
11550 11551 11552 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11550 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operator ⇒ String
Type of list operation to perform.
Corresponds to the JSON property operator
11543 11544 11545 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11543 def operator @operator end |
#value ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonTargetRestriction
The list of per-targeting-dimension targeting settings.
Corresponds to the JSON property value
11548 11549 11550 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11548 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11555 11556 11557 11558 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11555 def update!(**args) @operator = args[:operator] if args.key?(:operator) @value = args[:value] if args.key?(:value) end |