Class: Google::Apis::DisplayvideoV1::GenderTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::GenderTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb
Overview
Represents a targetable gender. This will be populated in the gender_details
field of a TargetingOption when targeting_type is TARGETING_TYPE_GENDER
.
Instance Attribute Summary collapse
-
#gender ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenderTargetingOptionDetails
constructor
A new instance of GenderTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenderTargetingOptionDetails
Returns a new instance of GenderTargetingOptionDetails.
4263 4264 4265 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4263 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gender ⇒ String
Output only. The gender of an audience.
Corresponds to the JSON property gender
4261 4262 4263 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4261 def gender @gender end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4268 4269 4270 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4268 def update!(**args) @gender = args[:gender] if args.key?(:gender) end |