class Google::Apis::YoutubeV3::VideoAbuseReport

Attributes

comments[RW]

Additional comments regarding the abuse report. Corresponds to the JSON property `comments` @return [String]

language[RW]

The language that the content was viewed in. Corresponds to the JSON property `language` @return [String]

reason_id[RW]

The high-level, or primary, reason that the content is abusive. The value is an abuse report reason ID. Corresponds to the JSON property `reasonId` @return [String]

secondary_reason_id[RW]

The specific, or secondary, reason that this content is abusive (if available). The value is an abuse report reason ID that is a valid secondary reason for the primary reason. Corresponds to the JSON property `secondaryReasonId` @return [String]

video_id[RW]

The ID that YouTube uses to uniquely identify the video. Corresponds to the JSON property `videoId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 7286
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 7291
def update!(**args)
  @comments = args[:comments] if args.key?(:comments)
  @language = args[:language] if args.key?(:language)
  @reason_id = args[:reason_id] if args.key?(:reason_id)
  @secondary_reason_id = args[:secondary_reason_id] if args.key?(:secondary_reason_id)
  @video_id = args[:video_id] if args.key?(:video_id)
end