Class: Google::Apis::DisplayvideoV3::SensitiveCategoryTargetingOptionDetails

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 sensitive category. This will be populated in the sensitive_category_details field of the TargetingOption when targeting_type is TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SensitiveCategoryTargetingOptionDetails

Returns a new instance of SensitiveCategoryTargetingOptionDetails.



12524
12525
12526
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12524

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

Instance Attribute Details

#sensitive_categoryString

Output only. An enum for the DV360 Sensitive category content classifier. Corresponds to the JSON property sensitiveCategory

Returns:

  • (String)


12522
12523
12524
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12522

def sensitive_category
  @sensitive_category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12529
12530
12531
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12529

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