Class: Google::Apis::DisplayvideoV4::AdPolicyTopicEvidenceTrademark
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV4::AdPolicyTopicEvidenceTrademark
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb
Overview
Trademark terms that caused a policy violation.
Instance Attribute Summary collapse
-
#country_restrictions ⇒ Array<Google::Apis::DisplayvideoV4::AdPolicyCriterionRestriction>
Countries where the policy violation is relevant.
-
#owner ⇒ String
The trademark content owner.
-
#term ⇒ String
The trademark term.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdPolicyTopicEvidenceTrademark
constructor
A new instance of AdPolicyTopicEvidenceTrademark.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdPolicyTopicEvidenceTrademark
Returns a new instance of AdPolicyTopicEvidenceTrademark.
1024 1025 1026 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1024 def initialize(**args) update!(**args) end |
Instance Attribute Details
#country_restrictions ⇒ Array<Google::Apis::DisplayvideoV4::AdPolicyCriterionRestriction>
Countries where the policy violation is relevant.
Corresponds to the JSON property countryRestrictions
1012 1013 1014 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1012 def country_restrictions @country_restrictions end |
#owner ⇒ String
The trademark content owner.
Corresponds to the JSON property owner
1017 1018 1019 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1017 def owner @owner end |
#term ⇒ String
The trademark term.
Corresponds to the JSON property term
1022 1023 1024 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1022 def term @term end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1029 1030 1031 1032 1033 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1029 def update!(**args) @country_restrictions = args[:country_restrictions] if args.key?(:country_restrictions) @owner = args[:owner] if args.key?(:owner) @term = args[:term] if args.key?(:term) end |