Skip to content

Commit

Permalink
feat(content): update the API
Browse files Browse the repository at this point in the history
#### content:v2.1

The following keys were added:
- schemas.Product.properties.additionalSizeType.description
- schemas.Product.properties.additionalSizeType.type

The following keys were changed:
- schemas.AccountsLinkRequest.properties.services.description
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 5, 2021
1 parent 13f0991 commit 8d8f6d4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
8 changes: 6 additions & 2 deletions discovery/content-v2.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -5307,7 +5307,7 @@
}
}
},
"revision": "20210318",
"revision": "20210325",
"rootUrl": "https://shoppingcontent.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -6035,7 +6035,7 @@
"type": "string"
},
"services": {
"description": " Acceptable values are: - \"`shoppingAdsProductManagement`\" - \"`shoppingAdsOther`\" - \"`shoppingActionsProductManagement`\" - \"`shoppingActionsOrderManagement`\" - \"`shoppingActionsOther`\" ",
"description": " Acceptable values are: - \"`shoppingAdsProductManagement`\" - \"`shoppingActionsProductManagement`\" - \"`shoppingActionsOrderManagement`\" ",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -11192,6 +11192,10 @@
},
"type": "array"
},
"additionalSizeType": {
"description": "Additional cut of the item. Used together with size_type to represent combined size types for apparel items.",
"type": "string"
},
"adsGrouping": {
"description": "Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.",
"type": "string"
Expand Down
9 changes: 8 additions & 1 deletion src/apis/content/v2.1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ export namespace content_v2_1 {
*/
linkType?: string | null;
/**
* Acceptable values are: - "`shoppingAdsProductManagement`" - "`shoppingAdsOther`" - "`shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`" - "`shoppingActionsOther`"
* Acceptable values are: - "`shoppingAdsProductManagement`" - "`shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`"
*/
services?: string[] | null;
}
Expand Down Expand Up @@ -4612,6 +4612,10 @@ export namespace content_v2_1 {
* Additional URLs of images of the item.
*/
additionalImageLinks?: string[] | null;
/**
* Additional cut of the item. Used together with size_type to represent combined size types for apparel items.
*/
additionalSizeType?: string | null;
/**
* Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
*/
Expand Down Expand Up @@ -23039,6 +23043,7 @@ export namespace content_v2_1 {
* // Example response
* // {
* // "additionalImageLinks": [],
* // "additionalSizeType": "my_additionalSizeType",
* // "adsGrouping": "my_adsGrouping",
* // "adsLabels": [],
* // "adsRedirect": "my_adsRedirect",
Expand Down Expand Up @@ -23248,6 +23253,7 @@ export namespace content_v2_1 {
* // request body parameters
* // {
* // "additionalImageLinks": [],
* // "additionalSizeType": "my_additionalSizeType",
* // "adsGrouping": "my_adsGrouping",
* // "adsLabels": [],
* // "adsRedirect": "my_adsRedirect",
Expand Down Expand Up @@ -23335,6 +23341,7 @@ export namespace content_v2_1 {
* // Example response
* // {
* // "additionalImageLinks": [],
* // "additionalSizeType": "my_additionalSizeType",
* // "adsGrouping": "my_adsGrouping",
* // "adsLabels": [],
* // "adsRedirect": "my_adsRedirect",
Expand Down

0 comments on commit 8d8f6d4

Please sign in to comment.