public RepeatedField<int> RatingHistogram { get; }
List of rating counts per rating value (index = rating - 1). The list is
empty if there is no rating. If the list is non-empty, its size is
always 5. Otherwise, an INVALID_ARGUMENT error is returned.
For example, [41, 14, 13, 47, 303]. It means that the
[Product][google.cloud.retail.v2.Product] got 41 ratings with 1 star, 14
ratings with 2 star, and so on.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe webpage provides documentation for the \u003ccode\u003eRating\u003c/code\u003e class within the Google Cloud Retail v2 API, which is used to represent the rating of a product.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a version history, with the latest being version 2.12.0 and going as far back as version 1.0.0, with each link to the documentation for the specific version, as well as a current documentation version at 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRating\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, as well as inheriting members from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has three main properties: \u003ccode\u003eAverageRating\u003c/code\u003e, which represents the average rating from 1-5, \u003ccode\u003eRatingCount\u003c/code\u003e, which represents the total count of ratings, and \u003ccode\u003eRatingHistogram\u003c/code\u003e, which provides a breakdown of ratings per star value.\u003c/p\u003e\n"],["\u003cp\u003eThere are also two constructors available, one default \u003ccode\u003eRating()\u003c/code\u003e and another \u003ccode\u003eRating(Rating other)\u003c/code\u003e, which takes an existing \u003ccode\u003eRating\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]