Class: Google::Apis::DisplayvideoV1::GenderAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::GenderAssignedTargetingOptionDetails
- 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
Details for assigned gender targeting option. This will be populated in the
details field of an AssignedTargetingOption when targeting_type is
TARTGETING_TYPE_GENDER
.
Instance Attribute Summary collapse
-
#gender ⇒ String
Output only.
-
#targeting_option_id ⇒ 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.
4242 4243 4244 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4242 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gender ⇒ String
Output only. The gender of the audience.
Corresponds to the JSON property gender
4234 4235 4236 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4234 def gender @gender end |
#targeting_option_id ⇒ String
Required. The targeting_option_id of a TargetingOption of type
TARGETING_TYPE_GENDER
.
Corresponds to the JSON property targetingOptionId
4240 4241 4242 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4240 def targeting_option_id @targeting_option_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4247 4248 4249 4250 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4247 def update!(**args) @gender = args[:gender] if args.key?(:gender) @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id) end |