Class: Google::Apis::DisplayvideoV1::DigitalContentLabelAssignedTargetingOptionDetails

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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DigitalContentLabelAssignedTargetingOptionDetails

Returns a new instance of DigitalContentLabelAssignedTargetingOptionDetails.



3414
3415
3416
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3414

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

Instance Attribute Details

#content_rating_tierString

Output only. The display name of the digital content label rating tier. Corresponds to the JSON property contentRatingTier

Returns:

  • (String)


3407
3408
3409
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3407

def content_rating_tier
  @content_rating_tier
end

#excluded_targeting_option_idString

Required. ID of the digital content label to be EXCLUDED. Corresponds to the JSON property excludedTargetingOptionId

Returns:

  • (String)


3412
3413
3414
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3412

def excluded_targeting_option_id
  @excluded_targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3419
3420
3421
3422
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3419

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