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 generated/google/apis/youtube_partner_v1/classes.rb, line 2795
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_partner_v1/classes.rb, line 2800
def update!(**args)
  @rating = args[:rating] if args.key?(:rating)
  @rating_system = args[:rating_system] if args.key?(:rating_system)
end