Class: Google::Apis::DisplayvideoV4::AdPolicyTopicEvidenceLegalRemoval

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

Legal related regulation enforcement, either from DMCA or local legal regulation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdPolicyTopicEvidenceLegalRemoval

Returns a new instance of AdPolicyTopicEvidenceLegalRemoval.



894
895
896
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 894

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#complaint_typeString

The type of complaint causing the legal removal. Corresponds to the JSON property complaintType

Returns:

  • (String)


872
873
874
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 872

def complaint_type
  @complaint_type
end

#country_restrictionsArray<Google::Apis::DisplayvideoV4::AdPolicyCriterionRestriction>

The countries restricted due to the legal removal. Corresponds to the JSON property countryRestrictions



877
878
879
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 877

def country_restrictions
  @country_restrictions
end

#dmcaGoogle::Apis::DisplayvideoV4::AdPolicyTopicEvidenceLegalRemovalDmca

DMCA complaint details. Corresponds to the JSON property dmca



882
883
884
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 882

def dmca
  @dmca
end

Local legal regulation details. Corresponds to the JSON property localLegal



887
888
889
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 887

def local_legal
  @local_legal
end

#restricted_urisArray<String>

The urls restricted due to the legal removal. Corresponds to the JSON property restrictedUris

Returns:

  • (Array<String>)


892
893
894
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 892

def restricted_uris
  @restricted_uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



899
900
901
902
903
904
905
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 899

def update!(**args)
  @complaint_type = args[:complaint_type] if args.key?(:complaint_type)
  @country_restrictions = args[:country_restrictions] if args.key?(:country_restrictions)
  @dmca = args[:dmca] if args.key?(:dmca)
  @local_legal = args[:local_legal] if args.key?(:local_legal)
  @restricted_uris = args[:restricted_uris] if args.key?(:restricted_uris)
end