Class: Google::Apis::DisplayvideoV2::ParentalStatusAssignedTargetingOptionDetails

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

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.



9475
9476
9477
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9475

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

Instance Attribute Details

#parental_statusString

The parental status of the audience. Output only in v1. Required in v2. Corresponds to the JSON property parentalStatus

Returns:

  • (String)


9473
9474
9475
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9473

def parental_status
  @parental_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9480
9481
9482
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9480

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