class Google::Apis::YoutubeV3::VideoRating

Attributes

rating[RW]

Corresponds to the JSON property `rating` @return [String]

video_id[RW]

Corresponds to the JSON property `videoId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 7780
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_v3/classes.rb, line 7785
def update!(**args)
  @rating = args[:rating] if args.key?(:rating)
  @video_id = args[:video_id] if args.key?(:video_id)
end