class Google::Apis::YoutubeV3::VideoRating
Basic details about rating of a video.
Attributes
rating[RW]
Rating of a video. Corresponds to the JSON property `rating` @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 8317 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 8322 def update!(**args) @rating = args[:rating] if args.key?(:rating) @video_id = args[:video_id] if args.key?(:video_id) end