Class: Google::Apis::DisplayvideoV3::GenderTargetingOptionDetails

Inherits:
Object
  • Object
show all
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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenderTargetingOptionDetails

Returns a new instance of GenderTargetingOptionDetails.



6586
6587
6588
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6586

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#genderString

Output only. The gender of an audience. Corresponds to the JSON property gender

Returns:

  • (String)


6584
6585
6586
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6584

def gender
  @gender
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6591
6592
6593
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6591

def update!(**args)
  @gender = args[:gender] if args.key?(:gender)
end