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\u003eThis webpage details the \u003ccode\u003eRating\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, specifically version 1.3.0, used for representing a product's rating.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRating\u003c/code\u003e class provides properties to access the \u003ccode\u003eAverageRating\u003c/code\u003e, \u003ccode\u003eRatingCount\u003c/code\u003e, and \u003ccode\u003eRatingHistogram\u003c/code\u003e which is an array of counts for each star rating, all related to the rating of a product.\u003c/p\u003e\n"],["\u003cp\u003eThe page shows all of the versions available for the \u003ccode\u003eRating\u003c/code\u003e class, from version 1.0.0 up to version 2.12.0, with the latest version being 2.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRating\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe properties \u003ccode\u003eAverageRating\u003c/code\u003e, \u003ccode\u003eRatingCount\u003c/code\u003e, and \u003ccode\u003eRatingHistogram\u003c/code\u003e will result in an \u003ccode\u003eINVALID_ARGUMENT\u003c/code\u003e error if they are given improper data, such as the rating being greater than 5 or if the count is negative.\u003c/p\u003e\n"]]],[],null,[]]