Class: Google::Apis::DisplayvideoV2::ParentalStatusTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb

Overview

Represents a targetable parental status. This will be populated in the parental_status_details field of a TargetingOption when targeting_type is TARGETING_TYPE_PARENTAL_STATUS.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ParentalStatusTargetingOptionDetails

Returns a new instance of ParentalStatusTargetingOptionDetails.



9655
9656
9657
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9655

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

Instance Attribute Details

#parental_statusString

Output only. The parental status of an audience. Corresponds to the JSON property parentalStatus

Returns:

  • (String)


9653
9654
9655
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9653

def parental_status
  @parental_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9660
9661
9662
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9660

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