class Google::Apis::YoutubePartnerV1::Rating
Attributes
rating[RW]
The rating that the asset received. Corresponds to the JSON property `rating` @return [String]
rating_system[RW]
The rating system associated with the rating. Corresponds to the JSON property `ratingSystem` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_partner_v1/classes.rb, line 3280 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_partner_v1/classes.rb, line 3285 def update!(**args) @rating = args[:rating] if args.key?(:rating) @rating_system = args[:rating_system] if args.key?(:rating_system) end