Class: Google::Apis::DisplayvideoV3::AdPolicyTopicEvidenceTrademark
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::AdPolicyTopicEvidenceTrademark
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
Trademark terms that caused a policy violation.
Instance Attribute Summary collapse
-
#country_restrictions ⇒ Array<Google::Apis::DisplayvideoV3::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.
918 919 920 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 918 def initialize(**args) update!(**args) end |
Instance Attribute Details
#country_restrictions ⇒ Array<Google::Apis::DisplayvideoV3::AdPolicyCriterionRestriction>
Countries where the policy violation is relevant.
Corresponds to the JSON property countryRestrictions
906 907 908 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 906 def country_restrictions @country_restrictions end |
#owner ⇒ String
The trademark content owner.
Corresponds to the JSON property owner
911 912 913 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 911 def owner @owner end |
#term ⇒ String
The trademark term.
Corresponds to the JSON property term
916 917 918 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 916 def term @term end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
923 924 925 926 927 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 923 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 |