@@ -282,6 +282,22 @@ public final class Attributes extends com.google.api.client.json.GenericJson {
282282 @ com .google .api .client .util .Key
283283 private java .lang .String material ;
284284
285+ /**
286+ * Maximum rating score of the product. Required if `rating` is provided. This field is for an
287+ * upcoming feature and is not yet used.
288+ * The value may be {@code null}.
289+ */
290+ @ com .google .api .client .util .Key @ com .google .api .client .json .JsonString
291+ private java .lang .Long maxRating ;
292+
293+ /**
294+ * Minimum rating score of the product. Required if `rating` is provided. This field is for an
295+ * upcoming feature and is not yet used.
296+ * The value may be {@code null}.
297+ */
298+ @ com .google .api .client .util .Key @ com .google .api .client .json .JsonString
299+ private java .lang .Long minRating ;
300+
285301 /**
286302 * Manufacturer Part Number ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
287303 * item.
@@ -372,6 +388,24 @@ public final class Attributes extends com.google.api.client.json.GenericJson {
372388 @ com .google .api .client .util .Key
373389 private ProductDimension productWidth ;
374390
391+ /**
392+ * Average rating score of the product. The value must be within the range of [`min_rating`,
393+ * `max_rating`], inclusive. When displayed on the product page, this rating is normalized to a
394+ * scale of [1, 5] with one decimal place. If provided, `review_count`, `min_rating`, and
395+ * `max_rating` are also required. This field is for an upcoming feature and is not yet used.
396+ * The value may be {@code null}.
397+ */
398+ @ com .google .api .client .util .Key
399+ private java .lang .Double rating ;
400+
401+ /**
402+ * Number of reviews of the product. Required if `rating` is provided. This field is for an
403+ * upcoming feature and is not yet used.
404+ * The value may be {@code null}.
405+ */
406+ @ com .google .api .client .util .Key @ com .google .api .client .json .JsonString
407+ private java .lang .Long reviewCount ;
408+
375409 /**
376410 * Size of the item. Only one value is allowed. For variants with different sizes, insert a
377411 * separate product for each size with the same `itemGroupId` value (see
@@ -1012,6 +1046,44 @@ public Attributes setMaterial(java.lang.String material) {
10121046 return this ;
10131047 }
10141048
1049+ /**
1050+ * Maximum rating score of the product. Required if `rating` is provided. This field is for an
1051+ * upcoming feature and is not yet used.
1052+ * @return value or {@code null} for none
1053+ */
1054+ public java .lang .Long getMaxRating () {
1055+ return maxRating ;
1056+ }
1057+
1058+ /**
1059+ * Maximum rating score of the product. Required if `rating` is provided. This field is for an
1060+ * upcoming feature and is not yet used.
1061+ * @param maxRating maxRating or {@code null} for none
1062+ */
1063+ public Attributes setMaxRating (java .lang .Long maxRating ) {
1064+ this .maxRating = maxRating ;
1065+ return this ;
1066+ }
1067+
1068+ /**
1069+ * Minimum rating score of the product. Required if `rating` is provided. This field is for an
1070+ * upcoming feature and is not yet used.
1071+ * @return value or {@code null} for none
1072+ */
1073+ public java .lang .Long getMinRating () {
1074+ return minRating ;
1075+ }
1076+
1077+ /**
1078+ * Minimum rating score of the product. Required if `rating` is provided. This field is for an
1079+ * upcoming feature and is not yet used.
1080+ * @param minRating minRating or {@code null} for none
1081+ */
1082+ public Attributes setMinRating (java .lang .Long minRating ) {
1083+ this .minRating = minRating ;
1084+ return this ;
1085+ }
1086+
10151087 /**
10161088 * Manufacturer Part Number ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
10171089 * item.
@@ -1228,6 +1300,48 @@ public Attributes setProductWidth(ProductDimension productWidth) {
12281300 return this ;
12291301 }
12301302
1303+ /**
1304+ * Average rating score of the product. The value must be within the range of [`min_rating`,
1305+ * `max_rating`], inclusive. When displayed on the product page, this rating is normalized to a
1306+ * scale of [1, 5] with one decimal place. If provided, `review_count`, `min_rating`, and
1307+ * `max_rating` are also required. This field is for an upcoming feature and is not yet used.
1308+ * @return value or {@code null} for none
1309+ */
1310+ public java .lang .Double getRating () {
1311+ return rating ;
1312+ }
1313+
1314+ /**
1315+ * Average rating score of the product. The value must be within the range of [`min_rating`,
1316+ * `max_rating`], inclusive. When displayed on the product page, this rating is normalized to a
1317+ * scale of [1, 5] with one decimal place. If provided, `review_count`, `min_rating`, and
1318+ * `max_rating` are also required. This field is for an upcoming feature and is not yet used.
1319+ * @param rating rating or {@code null} for none
1320+ */
1321+ public Attributes setRating (java .lang .Double rating ) {
1322+ this .rating = rating ;
1323+ return this ;
1324+ }
1325+
1326+ /**
1327+ * Number of reviews of the product. Required if `rating` is provided. This field is for an
1328+ * upcoming feature and is not yet used.
1329+ * @return value or {@code null} for none
1330+ */
1331+ public java .lang .Long getReviewCount () {
1332+ return reviewCount ;
1333+ }
1334+
1335+ /**
1336+ * Number of reviews of the product. Required if `rating` is provided. This field is for an
1337+ * upcoming feature and is not yet used.
1338+ * @param reviewCount reviewCount or {@code null} for none
1339+ */
1340+ public Attributes setReviewCount (java .lang .Long reviewCount ) {
1341+ this .reviewCount = reviewCount ;
1342+ return this ;
1343+ }
1344+
12311345 /**
12321346 * Size of the item. Only one value is allowed. For variants with different sizes, insert a
12331347 * separate product for each size with the same `itemGroupId` value (see
0 commit comments