Class: Google::Apis::DisplayvideoV1::ParentalStatusAssignedTargetingOptionDetails

Inherits:
Object
  • Object
show all
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 parental status targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARTGETING_TYPE_PARENTAL_STATUS.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ParentalStatusAssignedTargetingOptionDetails

Returns a new instance of ParentalStatusAssignedTargetingOptionDetails.



6872
6873
6874
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6872

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

Instance Attribute Details

#parental_statusString

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

Returns:

  • (String)


6864
6865
6866
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6864

def parental_status
  @parental_status
end

#targeting_option_idString

Required. The targeting_option_id of a TargetingOption of type TARGETING_TYPE_PARENTAL_STATUS. Corresponds to the JSON property targetingOptionId

Returns:

  • (String)


6870
6871
6872
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6870

def targeting_option_id
  @targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6877
6878
6879
6880
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6877

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