Class: Google::Apis::DisplayvideoV1::DigitalContentLabelAssignedTargetingOptionDetails

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

Targeting details for digital content label. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DigitalContentLabelAssignedTargetingOptionDetails

Returns a new instance of DigitalContentLabelAssignedTargetingOptionDetails.



3846
3847
3848
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3846

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

Instance Attribute Details

#content_rating_tierString

Output only. The display name of the digital content label rating tier. Corresponds to the JSON property contentRatingTier

Returns:

  • (String)


3839
3840
3841
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3839

def content_rating_tier
  @content_rating_tier
end

#excluded_targeting_option_idString

Required. ID of the digital content label to be EXCLUDED. Corresponds to the JSON property excludedTargetingOptionId

Returns:

  • (String)


3844
3845
3846
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3844

def excluded_targeting_option_id
  @excluded_targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3851
3852
3853
3854
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3851

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