Skip to content

Commit

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

The following keys were changed:
- schemas.Promotion.properties.contentLanguage.description
- schemas.Promotion.properties.targetCountry.description
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 9, 2023
1 parent baccc47 commit 6b0614b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions discovery/content-v2.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -5953,7 +5953,7 @@
}
}
},
"revision": "20230123",
"revision": "20230202",
"rootUrl": "https://shoppingcontent.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -14156,7 +14156,7 @@
"type": "array"
},
"contentLanguage": {
"description": "Required. The content language used as part of the unique identifier. `en` content language is available for all target countries. `fr` content language is available for `CA` and `FR` target countries, and `de` content language is available for `DE` target country.",
"description": "Required. The content language used as part of the unique identifier. `en` content language is available for all target countries. `fr` content language is available for `CA` and `FR` target countries. `de` content language is available for `DE` target country. `nl` content language is available for `NL` target country. `it` content language is available for `IT` target country. `pt` content language is available for `BR` target country. `ja` content language is available for `JP` target country. `ko` content language is available for `KR` target country.",
"type": "string"
},
"couponValueType": {
Expand Down Expand Up @@ -14418,7 +14418,7 @@
"type": "array"
},
"targetCountry": {
"description": "Required. The target country used as part of the unique identifier. Can be `AU`, `CA`, `DE`, `FR`, `GB`, `IN` or `US`.",
"description": "Required. The target country used as part of the unique identifier. Can be `AU`, `CA`, `DE`, `FR`, `GB`, `IN`, `US`, `BR`, `ES`, `NL`, `JP`, `IT` or `KR`.",
"type": "string"
}
},
Expand Down
4 changes: 2 additions & 2 deletions src/apis/content/v2.1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6316,7 +6316,7 @@ export namespace content_v2_1 {
*/
brandExclusion?: string[] | null;
/**
* Required. The content language used as part of the unique identifier. `en` content language is available for all target countries. `fr` content language is available for `CA` and `FR` target countries, and `de` content language is available for `DE` target country.
* Required. The content language used as part of the unique identifier. `en` content language is available for all target countries. `fr` content language is available for `CA` and `FR` target countries. `de` content language is available for `DE` target country. `nl` content language is available for `NL` target country. `it` content language is available for `IT` target country. `pt` content language is available for `BR` target country. `ja` content language is available for `JP` target country. `ko` content language is available for `KR` target country.
*/
contentLanguage?: string | null;
/**
Expand Down Expand Up @@ -6468,7 +6468,7 @@ export namespace content_v2_1 {
*/
storeCodeExclusion?: string[] | null;
/**
* Required. The target country used as part of the unique identifier. Can be `AU`, `CA`, `DE`, `FR`, `GB`, `IN` or `US`.
* Required. The target country used as part of the unique identifier. Can be `AU`, `CA`, `DE`, `FR`, `GB`, `IN`, `US`, `BR`, `ES`, `NL`, `JP`, `IT` or `KR`.
*/
targetCountry?: string | null;
}
Expand Down

0 comments on commit 6b0614b

Please sign in to comment.