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.



3540
3541
3542
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3540

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)


3533
3534
3535
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3533

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)


3538
3539
3540
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3538

def excluded_targeting_option_id
  @excluded_targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3545
3546
3547
3548
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3545

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