Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAgeRangeInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAgeRangeInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
An age range criterion.
Instance Attribute Summary collapse
-
#type ⇒ String
Type of the age range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonAgeRangeInfo
constructor
A new instance of GoogleAdsSearchads360V0CommonAgeRangeInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonAgeRangeInfo
Returns a new instance of GoogleAdsSearchads360V0CommonAgeRangeInfo.
106 107 108 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 106 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Type of the age range.
Corresponds to the JSON property type
104 105 106 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 104 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
111 112 113 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 111 def update!(**args) @type = args[:type] if args.key?(:type) end |