Class: Google::Apis::DisplayvideoV1::DoubleVerifyBrandSafetyCategories
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::DoubleVerifyBrandSafetyCategories
- 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
Settings for brand safety controls.
Instance Attribute Summary collapse
-
#avoid_unknown_brand_safety_category ⇒ Boolean
(also: #avoid_unknown_brand_safety_category?)
Unknown or unrateable.
-
#avoided_high_severity_categories ⇒ Array<String>
Brand safety high severity avoidance categories.
-
#avoided_medium_severity_categories ⇒ Array<String>
Brand safety medium severity avoidance categories.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DoubleVerifyBrandSafetyCategories
constructor
A new instance of DoubleVerifyBrandSafetyCategories.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DoubleVerifyBrandSafetyCategories
Returns a new instance of DoubleVerifyBrandSafetyCategories.
4459 4460 4461 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4459 def initialize(**args) update!(**args) end |
Instance Attribute Details
#avoid_unknown_brand_safety_category ⇒ Boolean Also known as: avoid_unknown_brand_safety_category?
Unknown or unrateable.
Corresponds to the JSON property avoidUnknownBrandSafetyCategory
4446 4447 4448 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4446 def avoid_unknown_brand_safety_category @avoid_unknown_brand_safety_category end |
#avoided_high_severity_categories ⇒ Array<String>
Brand safety high severity avoidance categories.
Corresponds to the JSON property avoidedHighSeverityCategories
4452 4453 4454 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4452 def avoided_high_severity_categories @avoided_high_severity_categories end |
#avoided_medium_severity_categories ⇒ Array<String>
Brand safety medium severity avoidance categories.
Corresponds to the JSON property avoidedMediumSeverityCategories
4457 4458 4459 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4457 def avoided_medium_severity_categories @avoided_medium_severity_categories end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4464 4465 4466 4467 4468 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4464 def update!(**args) @avoid_unknown_brand_safety_category = args[:avoid_unknown_brand_safety_category] if args.key?(:avoid_unknown_brand_safety_category) @avoided_high_severity_categories = args[:avoided_high_severity_categories] if args.key?(:avoided_high_severity_categories) @avoided_medium_severity_categories = args[:avoided_medium_severity_categories] if args.key?(:avoided_medium_severity_categories) end |