Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonGenderInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonGenderInfo
- 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 gender criterion.
Instance Attribute Summary collapse
-
#type ⇒ String
Type of the gender.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonGenderInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonGenderInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonGenderInfo
Returns a new instance of GoogleAdsSearchads360V23CommonGenderInfo.
5242 5243 5244 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5242 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Type of the gender.
Corresponds to the JSON property type
5240 5241 5242 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5240 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5247 5248 5249 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5247 def update!(**args) @type = args[:type] if args.key?(:type) end |