Class: Google::Apis::DisplayvideoV1::SensitiveCategoryAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::SensitiveCategoryAssignedTargetingOptionDetails
- 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
Targeting details for sensitive category. This will be populated in the
details field of an AssignedTargetingOption when targeting_type is
TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
.
Instance Attribute Summary collapse
-
#excluded_targeting_option_id ⇒ String
Required.
-
#sensitive_category ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SensitiveCategoryAssignedTargetingOptionDetails
constructor
A new instance of SensitiveCategoryAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SensitiveCategoryAssignedTargetingOptionDetails
Returns a new instance of SensitiveCategoryAssignedTargetingOptionDetails.
7578 7579 7580 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7578 def initialize(**args) update!(**args) end |
Instance Attribute Details
#excluded_targeting_option_id ⇒ String
Required. ID of the sensitive category to be EXCLUDED.
Corresponds to the JSON property excludedTargetingOptionId
7571 7572 7573 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7571 def excluded_targeting_option_id @excluded_targeting_option_id end |
#sensitive_category ⇒ String
Output only. An enum for the DV360 Sensitive category content classifier.
Corresponds to the JSON property sensitiveCategory
7576 7577 7578 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7576 def sensitive_category @sensitive_category end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7583 7584 7585 7586 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7583 def update!(**args) @excluded_targeting_option_id = args[:excluded_targeting_option_id] if args.key?(:excluded_targeting_option_id) @sensitive_category = args[:sensitive_category] if args.key?(:sensitive_category) end |