Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonGenderInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonGenderInfo
- 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
A gender criterion.
Instance Attribute Summary collapse
-
#type ⇒ String
Type of the gender.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonGenderInfo
constructor
A new instance of GoogleAdsSearchads360V0CommonGenderInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonGenderInfo
Returns a new instance of GoogleAdsSearchads360V0CommonGenderInfo.
325 326 327 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 325 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Type of the gender.
Corresponds to the JSON property type
323 324 325 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 323 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
330 331 332 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 330 def update!(**args) @type = args[:type] if args.key?(:type) end |