Class: Google::Apis::DisplayvideoV3::GenderAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::GenderAssignedTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
Details for assigned gender targeting option. This will be populated in the
details field of an AssignedTargetingOption when targeting_type is
TARGETING_TYPE_GENDER
.
Instance Attribute Summary collapse
-
#gender ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenderAssignedTargetingOptionDetails
constructor
A new instance of GenderAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenderAssignedTargetingOptionDetails
Returns a new instance of GenderAssignedTargetingOptionDetails.
6566 6567 6568 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6566 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gender ⇒ String
Required. The gender of the audience.
Corresponds to the JSON property gender
6564 6565 6566 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6564 def gender @gender end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6571 6572 6573 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6571 def update!(**args) @gender = args[:gender] if args.key?(:gender) end |