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.



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

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



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

def country_restrictions
  @country_restrictions
end

#ownerString

The trademark content owner. Corresponds to the JSON property owner

Returns:

  • (String)


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

def owner
  @owner
end

#termString

The trademark term. Corresponds to the JSON property term

Returns:

  • (String)


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