Class: Google::Apis::DisplayvideoV3::AdPolicyTopicEvidenceLegalRemoval
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::AdPolicyTopicEvidenceLegalRemoval
- 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
Legal related regulation enforcement, either from DMCA or local legal regulation.
Instance Attribute Summary collapse
-
#complaint_type ⇒ String
The type of complaint causing the legal removal.
-
#country_restrictions ⇒ Array<Google::Apis::DisplayvideoV3::AdPolicyCriterionRestriction>
The countries restricted due to the legal removal.
-
#dmca ⇒ Google::Apis::DisplayvideoV3::AdPolicyTopicEvidenceLegalRemovalDmca
DMCA complaint details.
-
#local_legal ⇒ Google::Apis::DisplayvideoV3::AdPolicyTopicEvidenceLegalRemovalLocalLegal
Local legal regulation details.
-
#restricted_uris ⇒ Array<String>
The urls restricted due to the legal removal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdPolicyTopicEvidenceLegalRemoval
constructor
A new instance of AdPolicyTopicEvidenceLegalRemoval.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdPolicyTopicEvidenceLegalRemoval
Returns a new instance of AdPolicyTopicEvidenceLegalRemoval.
782 783 784 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 782 def initialize(**args) update!(**args) end |
Instance Attribute Details
#complaint_type ⇒ String
The type of complaint causing the legal removal.
Corresponds to the JSON property complaintType
760 761 762 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 760 def complaint_type @complaint_type end |
#country_restrictions ⇒ Array<Google::Apis::DisplayvideoV3::AdPolicyCriterionRestriction>
The countries restricted due to the legal removal.
Corresponds to the JSON property countryRestrictions
765 766 767 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 765 def country_restrictions @country_restrictions end |
#dmca ⇒ Google::Apis::DisplayvideoV3::AdPolicyTopicEvidenceLegalRemovalDmca
DMCA complaint details.
Corresponds to the JSON property dmca
770 771 772 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 770 def dmca @dmca end |
#local_legal ⇒ Google::Apis::DisplayvideoV3::AdPolicyTopicEvidenceLegalRemovalLocalLegal
Local legal regulation details.
Corresponds to the JSON property localLegal
775 776 777 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 775 def local_legal @local_legal end |
#restricted_uris ⇒ Array<String>
The urls restricted due to the legal removal.
Corresponds to the JSON property restrictedUris
780 781 782 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 780 def restricted_uris @restricted_uris end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
787 788 789 790 791 792 793 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 787 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 |