class Google::Apis::YoutubeV3::AbuseReport
Attributes
abuse_types[RW]
Corresponds to the JSON property `abuseTypes` @return [Array<Google::Apis::YoutubeV3::AbuseType>]
description[RW]
Corresponds to the JSON property `description` @return [String]
subject[RW]
Corresponds to the JSON property `subject` @return [Google::Apis::YoutubeV3::Entity]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 49 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 54 def update!(**args) @abuse_types = args[:abuse_types] if args.key?(:abuse_types) @description = args[:description] if args.key?(:description) @related_entities = args[:related_entities] if args.key?(:related_entities) @subject = args[:subject] if args.key?(:subject) end