Class: Google::Apis::DisplayvideoV4::AdPolicyTopicEvidenceTrademark

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_restrictionsArray<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

#ownerString

The trademark content owner. Corresponds to the JSON property owner

Returns:

  • (String)


1017
1018
1019
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1017

def owner
  @owner
end

#termString

The trademark term. Corresponds to the JSON property term

Returns:

  • (String)


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