Class: Google::Apis::DisplayvideoV4::ParentalStatusAssignedTargetingOptionDetails

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

Overview

Details for assigned parental status targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_PARENTAL_STATUS.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ParentalStatusAssignedTargetingOptionDetails

Returns a new instance of ParentalStatusAssignedTargetingOptionDetails.



11958
11959
11960
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 11958

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

Instance Attribute Details

#parental_statusString

Required. The parental status of the audience. Corresponds to the JSON property parentalStatus

Returns:

  • (String)


11956
11957
11958
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 11956

def parental_status
  @parental_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11963
11964
11965
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 11963

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