Skip to content

Commit f2c43de

Browse files
yoshi-automationsofisl
authored andcommitted
fix(retail): update the API
#### retail:v2alpha The following keys were changed: - schemas.GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult.description - schemas.GoogleCloudRetailV2alphaProduct.properties.availability.description #### retail:v2beta The following keys were changed: - schemas.GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult.description - schemas.GoogleCloudRetailV2betaProduct.properties.availability.description #### retail:v2 The following keys were changed: - schemas.GoogleCloudRetailV2CompleteQueryResponseAttributeResult.description - schemas.GoogleCloudRetailV2Product.properties.availability.description
1 parent f9b8acb commit f2c43de

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

‎discovery/retail-v2.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,7 +2092,7 @@
20922092
}
20932093
}
20942094
},
2095-
"revision": "20240816",
2095+
"revision": "20240822",
20962096
"rootUrl": "https://retail.googleapis.com/",
20972097
"schemas": {
20982098
"GoogleApiHttpBody": {
@@ -2732,7 +2732,7 @@
27322732
"type": "object"
27332733
},
27342734
"GoogleCloudRetailV2CompleteQueryResponseAttributeResult": {
2735-
"description": "Resource that represents attribute results.",
2735+
"description": "Resource that represents attribute results. The list of suggestions for the attribute.",
27362736
"id": "GoogleCloudRetailV2CompleteQueryResponseAttributeResult",
27372737
"properties": {
27382738
"suggestions": {
@@ -3945,7 +3945,7 @@
39453945
"description": "The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product."
39463946
},
39473947
"availability": {
3948-
"description": "The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).",
3948+
"description": "The online availability of the Product. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered \"in stock\" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).",
39493949
"enum": [
39503950
"AVAILABILITY_UNSPECIFIED",
39513951
"IN_STOCK",

‎discovery/retail-v2alpha.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2613,7 +2613,7 @@
26132613
}
26142614
}
26152615
},
2616-
"revision": "20240816",
2616+
"revision": "20240822",
26172617
"rootUrl": "https://retail.googleapis.com/",
26182618
"schemas": {
26192619
"GoogleApiHttpBody": {
@@ -4043,7 +4043,7 @@
40434043
"type": "object"
40444044
},
40454045
"GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult": {
4046-
"description": "Resource that represents attribute results.",
4046+
"description": "Resource that represents attribute results. The list of suggestions for the attribute.",
40474047
"id": "GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult",
40484048
"properties": {
40494049
"suggestions": {
@@ -5768,7 +5768,7 @@
57685768
"description": "The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product."
57695769
},
57705770
"availability": {
5771-
"description": "The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).",
5771+
"description": "The online availability of the Product. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered \"in stock\" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).",
57725772
"enum": [
57735773
"AVAILABILITY_UNSPECIFIED",
57745774
"IN_STOCK",

‎discovery/retail-v2beta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2237,7 +2237,7 @@
22372237
}
22382238
}
22392239
},
2240-
"revision": "20240816",
2240+
"revision": "20240822",
22412241
"rootUrl": "https://retail.googleapis.com/",
22422242
"schemas": {
22432243
"GoogleApiHttpBody": {
@@ -4386,7 +4386,7 @@
43864386
"type": "object"
43874387
},
43884388
"GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult": {
4389-
"description": "Resource that represents attribute results.",
4389+
"description": "Resource that represents attribute results. The list of suggestions for the attribute.",
43904390
"id": "GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult",
43914391
"properties": {
43924392
"suggestions": {
@@ -5746,7 +5746,7 @@
57465746
"description": "The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product."
57475747
},
57485748
"availability": {
5749-
"description": "The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).",
5749+
"description": "The online availability of the Product. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered \"in stock\" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).",
57505750
"enum": [
57515751
"AVAILABILITY_UNSPECIFIED",
57525752
"IN_STOCK",

‎src/apis/retail/v2.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,7 @@ export namespace retail_v2 {
15391539
recentSearchResults?: Schema$GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult[];
15401540
}
15411541
/**
1542-
* Resource that represents attribute results.
1542+
* Resource that represents attribute results. The list of suggestions for the attribute.
15431543
*/
15441544
export interface Schema$GoogleCloudRetailV2CompleteQueryResponseAttributeResult {
15451545
suggestions?: string[] | null;
@@ -2409,7 +2409,7 @@ export namespace retail_v2 {
24092409
*/
24102410
audience?: Schema$GoogleCloudRetailV2Audience;
24112411
/**
2412-
* The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).
2412+
* The online availability of the Product. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered "in stock" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).
24132413
*/
24142414
availability?: string | null;
24152415
/**

‎src/apis/retail/v2alpha.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ export namespace retail_v2alpha {
723723
recentSearchResults?: Schema$GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult[];
724724
}
725725
/**
726-
* Resource that represents attribute results.
726+
* Resource that represents attribute results. The list of suggestions for the attribute.
727727
*/
728728
export interface Schema$GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult {
729729
suggestions?: string[] | null;
@@ -1938,7 +1938,7 @@ export namespace retail_v2alpha {
19381938
*/
19391939
audience?: Schema$GoogleCloudRetailV2alphaAudience;
19401940
/**
1941-
* The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).
1941+
* The online availability of the Product. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered "in stock" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).
19421942
*/
19431943
availability?: string | null;
19441944
/**

‎src/apis/retail/v2beta.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ export namespace retail_v2beta {
12121212
recentSearchResults?: Schema$GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult[];
12131213
}
12141214
/**
1215-
* Resource that represents attribute results.
1215+
* Resource that represents attribute results. The list of suggestions for the attribute.
12161216
*/
12171217
export interface Schema$GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult {
12181218
suggestions?: string[] | null;
@@ -2197,7 +2197,7 @@ export namespace retail_v2beta {
21972197
*/
21982198
audience?: Schema$GoogleCloudRetailV2betaAudience;
21992199
/**
2200-
* The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).
2200+
* The online availability of the Product. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered "in stock" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).
22012201
*/
22022202
availability?: string | null;
22032203
/**

0 commit comments

Comments
 (0)