class Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRating
The rating of a Product.
def initialize(**args)
def initialize(**args) update!(**args) end
def update!(**args)
def update!(**args) @average_rating = args[:average_rating] if args.key?(:average_rating) @rating_count = args[:rating_count] if args.key?(:rating_count) @rating_histogram = args[:rating_histogram] if args.key?(:rating_histogram) end