Class: Google::Apis::DisplayvideoV2::DigitalContentLabelTargetingOptionDetails

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

Represents a targetable digital content label rating tier. This will be populated in the digital_content_label_details field of the TargetingOption when targeting_type is TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DigitalContentLabelTargetingOptionDetails

Returns a new instance of DigitalContentLabelTargetingOptionDetails.



4741
4742
4743
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4741

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

Instance Attribute Details

#content_rating_tierString

Output only. An enum for the content label brand safety tiers. Corresponds to the JSON property contentRatingTier

Returns:

  • (String)


4739
4740
4741
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4739

def content_rating_tier
  @content_rating_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4746
4747
4748
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4746

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