Class: Google::Apis::DisplayvideoV1::DigitalContentLabelAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::DigitalContentLabelAssignedTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/representations.rb
Overview
Targeting details for digital content label. This will be populated in the
details field of an AssignedTargetingOption when targeting_type is
TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION.
Instance Attribute Summary collapse
-
#content_rating_tier ⇒ String
Output only.
-
#excluded_targeting_option_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DigitalContentLabelAssignedTargetingOptionDetails
constructor
A new instance of DigitalContentLabelAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DigitalContentLabelAssignedTargetingOptionDetails
Returns a new instance of DigitalContentLabelAssignedTargetingOptionDetails.
3827 3828 3829 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3827 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_rating_tier ⇒ String
Output only. The display name of the digital content label rating tier.
Corresponds to the JSON property contentRatingTier
3820 3821 3822 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3820 def @content_rating_tier end |
#excluded_targeting_option_id ⇒ String
Required. ID of the digital content label to be EXCLUDED.
Corresponds to the JSON property excludedTargetingOptionId
3825 3826 3827 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3825 def excluded_targeting_option_id @excluded_targeting_option_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3832 3833 3834 3835 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3832 def update!(**args) @content_rating_tier = args[:content_rating_tier] if args.key?(:content_rating_tier) @excluded_targeting_option_id = args[:excluded_targeting_option_id] if args.key?(:excluded_targeting_option_id) end |