Class: Google::Apis::DisplayvideoV3::DigitalContentLabelTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/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.



5421
5422
5423
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5421

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)


5419
5420
5421
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5419

def content_rating_tier
  @content_rating_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5426
5427
5428
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5426

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