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.



980
981
982
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 980

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



968
969
970
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 968

def country_restrictions
  @country_restrictions
end

#ownerString

The trademark content owner. Corresponds to the JSON property owner

Returns:

  • (String)


973
974
975
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 973

def owner
  @owner
end

#termString

The trademark term. Corresponds to the JSON property term

Returns:

  • (String)


978
979
980
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 978

def term
  @term
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



985
986
987
988
989
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 985

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