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.
1030 1031 1032 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1030 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
1018 1019 1020 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1018 def country_restrictions @country_restrictions end |
#owner ⇒ String
The trademark content owner.
Corresponds to the JSON property owner
1023 1024 1025 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1023 def owner @owner end |
#term ⇒ String
The trademark term.
Corresponds to the JSON property term
1028 1029 1030 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1028 def term @term end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1035 1036 1037 1038 1039 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1035 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 |