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.



1031
1032
1033
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1031

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



1019
1020
1021
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1019

def country_restrictions
  @country_restrictions
end

#ownerString

The trademark content owner. Corresponds to the JSON property owner

Returns:

  • (String)


1024
1025
1026
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1024

def owner
  @owner
end

#termString

The trademark term. Corresponds to the JSON property term

Returns:

  • (String)


1029
1030
1031
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1029

def term
  @term
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1036
1037
1038
1039
1040
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1036

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