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.



5319
5320
5321
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5319

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)


5317
5318
5319
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5317

def content_rating_tier
  @content_rating_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5324
5325
5326
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5324

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