Skip to content

Commit 9f030b0

Browse files
yoshi-automationsofisl
authored andcommitted
fix(retail): update the API
#### retail:v2alpha The following keys were changed: - schemas.GoogleCloudRetailV2alphaSearchRequest.properties.userAttributes.description #### retail:v2beta The following keys were changed: - schemas.GoogleCloudRetailV2betaSearchRequest.properties.userAttributes.description #### retail:v2 The following keys were changed: - schemas.GoogleCloudRetailV2SearchRequest.properties.userAttributes.description
1 parent 061f37a commit 9f030b0

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

discovery/retail-v2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2282,7 +2282,7 @@
22822282
}
22832283
}
22842284
},
2285-
"revision": "20250626",
2285+
"revision": "20250703",
22862286
"rootUrl": "https://retail.googleapis.com/",
22872287
"schemas": {
22882288
"GoogleApiHttpBody": {
@@ -5433,7 +5433,7 @@
54335433
"additionalProperties": {
54345434
"$ref": "GoogleCloudRetailV2StringList"
54355435
},
5436-
"description": "Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplcate keys are not allowed within a single query. Example: user_attributes: [ { key: \"pets\" value { values: \"dog\" values: \"cat\" } }, { key: \"state\" value { values: \"CA\" } } ]",
5436+
"description": "Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplicate keys are not allowed within a single query. Example: user_attributes: [ { key: \"pets\" value { values: \"dog\" values: \"cat\" } }, { key: \"state\" value { values: \"CA\" } } ]",
54375437
"type": "object"
54385438
},
54395439
"userInfo": {

discovery/retail-v2alpha.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2859,7 +2859,7 @@
28592859
}
28602860
}
28612861
},
2862-
"revision": "20250626",
2862+
"revision": "20250703",
28632863
"rootUrl": "https://retail.googleapis.com/",
28642864
"schemas": {
28652865
"GoogleApiHttpBody": {
@@ -7608,7 +7608,7 @@
76087608
"additionalProperties": {
76097609
"$ref": "GoogleCloudRetailV2alphaStringList"
76107610
},
7611-
"description": "Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplcate keys are not allowed within a single query. Example: user_attributes: [ { key: \"pets\" value { values: \"dog\" values: \"cat\" } }, { key: \"state\" value { values: \"CA\" } } ]",
7611+
"description": "Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplicate keys are not allowed within a single query. Example: user_attributes: [ { key: \"pets\" value { values: \"dog\" values: \"cat\" } }, { key: \"state\" value { values: \"CA\" } } ]",
76127612
"type": "object"
76137613
},
76147614
"userInfo": {

discovery/retail-v2beta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2427,7 +2427,7 @@
24272427
}
24282428
}
24292429
},
2430-
"revision": "20250626",
2430+
"revision": "20250703",
24312431
"rootUrl": "https://retail.googleapis.com/",
24322432
"schemas": {
24332433
"GoogleApiHttpBody": {
@@ -7246,7 +7246,7 @@
72467246
"additionalProperties": {
72477247
"$ref": "GoogleCloudRetailV2betaStringList"
72487248
},
7249-
"description": "Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplcate keys are not allowed within a single query. Example: user_attributes: [ { key: \"pets\" value { values: \"dog\" values: \"cat\" } }, { key: \"state\" value { values: \"CA\" } } ]",
7249+
"description": "Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplicate keys are not allowed within a single query. Example: user_attributes: [ { key: \"pets\" value { values: \"dog\" values: \"cat\" } }, { key: \"state\" value { values: \"CA\" } } ]",
72507250
"type": "object"
72517251
},
72527252
"userInfo": {

src/apis/retail/v2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3373,7 +3373,7 @@ export namespace retail_v2 {
33733373
*/
33743374
tileNavigationSpec?: Schema$GoogleCloudRetailV2SearchRequestTileNavigationSpec;
33753375
/**
3376-
* Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplcate keys are not allowed within a single query. Example: user_attributes: [ { key: "pets" value { values: "dog" values: "cat" \} \}, { key: "state" value { values: "CA" \} \} ]
3376+
* Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplicate keys are not allowed within a single query. Example: user_attributes: [ { key: "pets" value { values: "dog" values: "cat" \} \}, { key: "state" value { values: "CA" \} \} ]
33773377
*/
33783378
userAttributes?: {
33793379
[key: string]: Schema$GoogleCloudRetailV2StringList;

src/apis/retail/v2alpha.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3106,7 +3106,7 @@ export namespace retail_v2alpha {
31063106
*/
31073107
tileNavigationSpec?: Schema$GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec;
31083108
/**
3109-
* Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplcate keys are not allowed within a single query. Example: user_attributes: [ { key: "pets" value { values: "dog" values: "cat" \} \}, { key: "state" value { values: "CA" \} \} ]
3109+
* Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplicate keys are not allowed within a single query. Example: user_attributes: [ { key: "pets" value { values: "dog" values: "cat" \} \}, { key: "state" value { values: "CA" \} \} ]
31103110
*/
31113111
userAttributes?: {
31123112
[key: string]: Schema$GoogleCloudRetailV2alphaStringList;

src/apis/retail/v2beta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3169,7 +3169,7 @@ export namespace retail_v2beta {
31693169
*/
31703170
tileNavigationSpec?: Schema$GoogleCloudRetailV2betaSearchRequestTileNavigationSpec;
31713171
/**
3172-
* Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplcate keys are not allowed within a single query. Example: user_attributes: [ { key: "pets" value { values: "dog" values: "cat" \} \}, { key: "state" value { values: "CA" \} \} ]
3172+
* Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplicate keys are not allowed within a single query. Example: user_attributes: [ { key: "pets" value { values: "dog" values: "cat" \} \}, { key: "state" value { values: "CA" \} \} ]
31733173
*/
31743174
userAttributes?: {
31753175
[key: string]: Schema$GoogleCloudRetailV2betaStringList;

0 commit comments

Comments
 (0)