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

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

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.



3436
3437
3438
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3436

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)


3434
3435
3436
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3434

def content_rating_tier
  @content_rating_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3441
3442
3443
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3441

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