Class: Google::Apis::DisplayvideoV3::AdPolicyTopicEvidenceTrademark

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

Instance Method Summary collapse

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

#ownerString

The trademark content owner. Corresponds to the JSON property owner

Returns:

  • (String)


911
912
913
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 911

def owner
  @owner
end

#termString

The trademark term. Corresponds to the JSON property term

Returns:

  • (String)


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