Class: Google::Apis::YoutubeV3::VideoRating
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::YoutubeV3::VideoRating
 
 
- 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
- 
  
    
      #rating  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
rating. - 
  
    
      #video_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
videoId. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VideoRating 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of VideoRating.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VideoRating
Returns a new instance of VideoRating
      8058 8059 8060  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 8058 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#rating ⇒ String
Corresponds to the JSON property rating
      8051 8052 8053  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 8051 def @rating end  | 
  
#video_id ⇒ String
Corresponds to the JSON property videoId
      8056 8057 8058  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 8056 def video_id @video_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      8063 8064 8065 8066  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 8063 def update!(**args) @rating = args[:rating] if args.key?(:rating) @video_id = args[:video_id] if args.key?(:video_id) end  |