Class: Google::Apis::DisplayvideoV1::SensitiveCategoryTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::SensitiveCategoryTargetingOptionDetails
- 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 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
-
#sensitive_category ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SensitiveCategoryTargetingOptionDetails
constructor
A new instance of SensitiveCategoryTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SensitiveCategoryTargetingOptionDetails
Returns a new instance of SensitiveCategoryTargetingOptionDetails.
7600 7601 7602 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7600 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sensitive_category ⇒ String
Output only. An enum for the DV360 Sensitive category content classifier.
Corresponds to the JSON property sensitiveCategory
7598 7599 7600 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7598 def sensitive_category @sensitive_category end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7605 7606 7607 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7605 def update!(**args) @sensitive_category = args[:sensitive_category] if args.key?(:sensitive_category) end |