Class: Google::Apis::DisplayvideoV1::DigitalContentLabelTargetingOptionDetails

Inherits:
Object
  • Object
show all
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

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.



4324
4325
4326
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4324

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)


4322
4323
4324
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4322

def content_rating_tier
  @content_rating_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4329
4330
4331
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4329

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