@googleapis/merchantapi 9.0.0 → 10.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/reviews_v1beta.ts CHANGED
@@ -175,10 +175,6 @@ export namespace merchantapi_reviews_v1beta {
175
175
  * A review for a merchant. For more information, see [Introduction to Merchant Review Feeds](https://developers.google.com/merchant-review-feeds)
176
176
  */
177
177
  export interface Schema$MerchantReview {
178
- /**
179
- * Optional. A list of merchant review attributes.
180
- */
181
- attributes?: Schema$MerchantReviewAttributes;
182
178
  /**
183
179
  * Optional. A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the data specification in its generic form (for example, `{ "name": "size type", "value": "regular" \}`). This is useful for submitting attributes not explicitly exposed by the API, such as experimental attributes. Maximum allowed number of characters for each custom attribute is 10240 (represents sum of characters for name and value). Maximum 2500 custom attributes can be set per product, with total size of 102.4kB. Underscores in custom attribute names are replaced by spaces upon insertion.
184
180
  */
@@ -187,6 +183,10 @@ export namespace merchantapi_reviews_v1beta {
187
183
  * Output only. The primary data source of the merchant review.
188
184
  */
189
185
  dataSource?: string | null;
186
+ /**
187
+ * Optional. A list of merchant review attributes.
188
+ */
189
+ merchantReviewAttributes?: Schema$MerchantReviewAttributes;
190
190
  /**
191
191
  * Required. The user provided merchant review ID to uniquely identify the merchant review.
192
192
  */
@@ -361,10 +361,6 @@ export namespace merchantapi_reviews_v1beta {
361
361
  * A review for a product. For more information, see [Introduction to Product Review Feeds](https://developers.google.com/product-review-feeds)
362
362
  */
363
363
  export interface Schema$ProductReview {
364
- /**
365
- * Optional. A list of product review attributes.
366
- */
367
- attributes?: Schema$ProductReviewAttributes;
368
364
  /**
369
365
  * Optional. A list of custom (merchant-provided) attributes.
370
366
  */
@@ -377,6 +373,10 @@ export namespace merchantapi_reviews_v1beta {
377
373
  * Identifier. The name of the product review. Format: `"{productreview.name=accounts/{account\}/productReviews/{productReview\}\}"`
378
374
  */
379
375
  name?: string | null;
376
+ /**
377
+ * Optional. A list of product review attributes.
378
+ */
379
+ productReviewAttributes?: Schema$ProductReviewAttributes;
380
380
  /**
381
381
  * Required. The permanent, unique identifier for the product review in the publisher’s system.
382
382
  */
@@ -829,9 +829,9 @@ export namespace merchantapi_reviews_v1beta {
829
829
  *
830
830
  * // Example response
831
831
  * // {
832
- * // "attributes": {},
833
832
  * // "customAttributes": [],
834
833
  * // "dataSource": "my_dataSource",
834
+ * // "merchantReviewAttributes": {},
835
835
  * // "merchantReviewId": "my_merchantReviewId",
836
836
  * // "merchantReviewStatus": {},
837
837
  * // "name": "my_name"
@@ -973,9 +973,9 @@ export namespace merchantapi_reviews_v1beta {
973
973
  * requestBody: {
974
974
  * // request body parameters
975
975
  * // {
976
- * // "attributes": {},
977
976
  * // "customAttributes": [],
978
977
  * // "dataSource": "my_dataSource",
978
+ * // "merchantReviewAttributes": {},
979
979
  * // "merchantReviewId": "my_merchantReviewId",
980
980
  * // "merchantReviewStatus": {},
981
981
  * // "name": "my_name"
@@ -986,9 +986,9 @@ export namespace merchantapi_reviews_v1beta {
986
986
  *
987
987
  * // Example response
988
988
  * // {
989
- * // "attributes": {},
990
989
  * // "customAttributes": [],
991
990
  * // "dataSource": "my_dataSource",
991
+ * // "merchantReviewAttributes": {},
992
992
  * // "merchantReviewId": "my_merchantReviewId",
993
993
  * // "merchantReviewStatus": {},
994
994
  * // "name": "my_name"
@@ -1460,10 +1460,10 @@ export namespace merchantapi_reviews_v1beta {
1460
1460
  *
1461
1461
  * // Example response
1462
1462
  * // {
1463
- * // "attributes": {},
1464
1463
  * // "customAttributes": [],
1465
1464
  * // "dataSource": "my_dataSource",
1466
1465
  * // "name": "my_name",
1466
+ * // "productReviewAttributes": {},
1467
1467
  * // "productReviewId": "my_productReviewId",
1468
1468
  * // "productReviewStatus": {}
1469
1469
  * // }
@@ -1604,10 +1604,10 @@ export namespace merchantapi_reviews_v1beta {
1604
1604
  * requestBody: {
1605
1605
  * // request body parameters
1606
1606
  * // {
1607
- * // "attributes": {},
1608
1607
  * // "customAttributes": [],
1609
1608
  * // "dataSource": "my_dataSource",
1610
1609
  * // "name": "my_name",
1610
+ * // "productReviewAttributes": {},
1611
1611
  * // "productReviewId": "my_productReviewId",
1612
1612
  * // "productReviewStatus": {}
1613
1613
  * // }
@@ -1617,10 +1617,10 @@ export namespace merchantapi_reviews_v1beta {
1617
1617
  *
1618
1618
  * // Example response
1619
1619
  * // {
1620
- * // "attributes": {},
1621
1620
  * // "customAttributes": [],
1622
1621
  * // "dataSource": "my_dataSource",
1623
1622
  * // "name": "my_name",
1623
+ * // "productReviewAttributes": {},
1624
1624
  * // "productReviewId": "my_productReviewId",
1625
1625
  * // "productReviewStatus": {}
1626
1626
  * // }