Class: Google::Apis::YoutubeV3::VideoAbuseReport
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::YoutubeV3::VideoAbuseReport
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/google/apis/youtube_v3/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #comments  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Additional comments regarding the abuse report.
 - 
  
    
      #language  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The language that the content was viewed in.
 - 
  
    
      #reason_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The high-level, or primary, reason that the content is abusive.
 - 
  
    
      #secondary_reason_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The specific, or secondary, reason that this content is abusive (if available).
 - 
  
    
      #video_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID that YouTube uses to uniquely identify the video.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VideoAbuseReport 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of VideoAbuseReport.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VideoAbuseReport
Returns a new instance of VideoAbuseReport
      7022 7023 7024  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 7022 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#comments ⇒ String
Additional comments regarding the abuse report.
Corresponds to the JSON property comments
      6997 6998 6999  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 6997 def comments @comments end  | 
  
#language ⇒ String
The language that the content was viewed in.
Corresponds to the JSON property language
      7002 7003 7004  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 7002 def language @language end  | 
  
#reason_id ⇒ String
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
      7008 7009 7010  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 7008 def reason_id @reason_id end  | 
  
#secondary_reason_id ⇒ String
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
      7015 7016 7017  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 7015 def secondary_reason_id @secondary_reason_id end  | 
  
#video_id ⇒ String
The ID that YouTube uses to uniquely identify the video.
Corresponds to the JSON property videoId
      7020 7021 7022  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 7020 def video_id @video_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      7027 7028 7029 7030 7031 7032 7033  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 7027 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  |