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 \u003ccode\u003eRating\u003c/code\u003e class in the Retail v2 API provides a way to represent the rating of a product, including the average rating, the total number of ratings, and a histogram of ratings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRating\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and has constructors for creating new rating objects, as well as an object parameter constructor.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAverageRating\u003c/code\u003e property represents the average rating of a product, scaled from 1 to 5, while the \u003ccode\u003eRatingCount\u003c/code\u003e property indicates the total number of ratings received.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRatingHistogram\u003c/code\u003e is a property that contains a list of rating counts for each star rating (1-5), with the index of the list corresponding to the rating value minus one, and will return an error if the list is non-empty and not a size of 5.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation includes access to all prior versions of the Google Cloud Retail V2 API from versions 1.0.0 to 2.12.0, allowing a user to access any version.\u003c/p\u003e\n"]]],[],null,[]]