Skip to content

Commit d37929f

Browse files
fix(retail): update the API
#### retail:v2alpha The following keys were changed: - resources.projects.resources.locations.resources.catalogs.methods.patch.parameters.updateMask.description - resources.projects.resources.locations.resources.catalogs.methods.updateAttributesConfig.parameters.updateMask.description - resources.projects.resources.locations.resources.catalogs.methods.updateCompletionConfig.parameters.updateMask.description - schemas.GoogleCloudRetailV2alphaReplaceCatalogAttributeRequest.properties.updateMask.description #### retail:v2beta The following keys were changed: - resources.projects.resources.locations.resources.catalogs.methods.patch.parameters.updateMask.description - resources.projects.resources.locations.resources.catalogs.methods.updateAttributesConfig.parameters.updateMask.description - resources.projects.resources.locations.resources.catalogs.methods.updateCompletionConfig.parameters.updateMask.description - schemas.GoogleCloudRetailV2betaReplaceCatalogAttributeRequest.properties.updateMask.description #### retail:v2 The following keys were changed: - resources.projects.resources.locations.resources.catalogs.methods.patch.parameters.updateMask.description - resources.projects.resources.locations.resources.catalogs.methods.updateAttributesConfig.parameters.updateMask.description - resources.projects.resources.locations.resources.catalogs.methods.updateCompletionConfig.parameters.updateMask.description - schemas.GoogleCloudRetailV2ReplaceCatalogAttributeRequest.properties.updateMask.description
1 parent bc9b6e5 commit d37929f

6 files changed

Lines changed: 36 additions & 36 deletions

File tree

discovery/retail-v2.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@
384384
"type": "string"
385385
},
386386
"updateMask": {
387-
"description": "Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.",
387+
"description": "Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.",
388388
"format": "google-fieldmask",
389389
"location": "query",
390390
"type": "string"
@@ -446,7 +446,7 @@
446446
"type": "string"
447447
},
448448
"updateMask": {
449-
"description": "Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.",
449+
"description": "Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.",
450450
"format": "google-fieldmask",
451451
"location": "query",
452452
"type": "string"
@@ -480,7 +480,7 @@
480480
"type": "string"
481481
},
482482
"updateMask": {
483-
"description": "Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.",
483+
"description": "Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.",
484484
"format": "google-fieldmask",
485485
"location": "query",
486486
"type": "string"
@@ -2353,7 +2353,7 @@
23532353
}
23542354
}
23552355
},
2356-
"revision": "20260423",
2356+
"revision": "20260507",
23572357
"rootUrl": "https://retail.googleapis.com/",
23582358
"schemas": {
23592359
"GoogleApiHttpBody": {
@@ -5403,7 +5403,7 @@
54035403
"description": "Required. The updated CatalogAttribute."
54045404
},
54055405
"updateMask": {
5406-
"description": "Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.",
5406+
"description": "Optional. Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.",
54075407
"format": "google-fieldmask",
54085408
"type": "string"
54095409
}

discovery/retail-v2alpha.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@
582582
"type": "string"
583583
},
584584
"updateMask": {
585-
"description": "Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.",
585+
"description": "Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.",
586586
"format": "google-fieldmask",
587587
"location": "query",
588588
"type": "string"
@@ -644,7 +644,7 @@
644644
"type": "string"
645645
},
646646
"updateMask": {
647-
"description": "Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.",
647+
"description": "Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.",
648648
"format": "google-fieldmask",
649649
"location": "query",
650650
"type": "string"
@@ -678,7 +678,7 @@
678678
"type": "string"
679679
},
680680
"updateMask": {
681-
"description": "Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.",
681+
"description": "Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.",
682682
"format": "google-fieldmask",
683683
"location": "query",
684684
"type": "string"
@@ -2874,7 +2874,7 @@
28742874
}
28752875
}
28762876
},
2877-
"revision": "20260423",
2877+
"revision": "20260507",
28782878
"rootUrl": "https://retail.googleapis.com/",
28792879
"schemas": {
28802880
"GoogleApiHttpBody": {
@@ -7283,7 +7283,7 @@
72837283
"description": "Required. The updated CatalogAttribute."
72847284
},
72857285
"updateMask": {
7286-
"description": "Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.",
7286+
"description": "Optional. Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.",
72877287
"format": "google-fieldmask",
72887288
"type": "string"
72897289
}

discovery/retail-v2beta.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@
445445
"type": "string"
446446
},
447447
"updateMask": {
448-
"description": "Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.",
448+
"description": "Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.",
449449
"format": "google-fieldmask",
450450
"location": "query",
451451
"type": "string"
@@ -507,7 +507,7 @@
507507
"type": "string"
508508
},
509509
"updateMask": {
510-
"description": "Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.",
510+
"description": "Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.",
511511
"format": "google-fieldmask",
512512
"location": "query",
513513
"type": "string"
@@ -541,7 +541,7 @@
541541
"type": "string"
542542
},
543543
"updateMask": {
544-
"description": "Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.",
544+
"description": "Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.",
545545
"format": "google-fieldmask",
546546
"location": "query",
547547
"type": "string"
@@ -2498,7 +2498,7 @@
24982498
}
24992499
}
25002500
},
2501-
"revision": "20260423",
2501+
"revision": "20260507",
25022502
"rootUrl": "https://retail.googleapis.com/",
25032503
"schemas": {
25042504
"GoogleApiHttpBody": {
@@ -7213,7 +7213,7 @@
72137213
"description": "Required. The updated CatalogAttribute."
72147214
},
72157215
"updateMask": {
7216-
"description": "Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.",
7216+
"description": "Optional. Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.",
72177217
"format": "google-fieldmask",
72187218
"type": "string"
72197219
}

src/apis/retail/v2.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3295,7 +3295,7 @@ export namespace retail_v2 {
32953295
*/
32963296
catalogAttribute?: Schema$GoogleCloudRetailV2CatalogAttribute;
32973297
/**
3298-
* Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.
3298+
* Optional. Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.
32993299
*/
33003300
updateMask?: string | null;
33013301
}
@@ -5775,7 +5775,7 @@ export namespace retail_v2 {
57755775
* const res = await retail.projects.locations.catalogs.patch({
57765776
* // Required. Immutable. The fully qualified resource name of the catalog.
57775777
* name: 'projects/my-project/locations/my-location/catalogs/my-catalog',
5778-
* // Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
5778+
* // Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
57795779
* updateMask: 'placeholder-value',
57805780
*
57815781
* // Request body metadata
@@ -6075,7 +6075,7 @@ export namespace retail_v2 {
60756075
* const res = await retail.projects.locations.catalogs.updateAttributesConfig({
60766076
* // Required. Immutable. The fully qualified resource name of the attribute config. Format: `projects/x/locations/x/catalogs/x/attributesConfig`
60776077
* name: 'projects/my-project/locations/my-location/catalogs/my-catalog/attributesConfig',
6078-
* // Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.
6078+
* // Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.
60796079
* updateMask: 'placeholder-value',
60806080
*
60816081
* // Request body metadata
@@ -6234,7 +6234,7 @@ export namespace retail_v2 {
62346234
* const res = await retail.projects.locations.catalogs.updateCompletionConfig({
62356235
* // Required. Immutable. Fully qualified name `projects/x/locations/x/catalogs/x/completionConfig`
62366236
* name: 'projects/my-project/locations/my-location/catalogs/my-catalog/completionConfig',
6237-
* // Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.
6237+
* // Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.
62386238
* updateMask: 'placeholder-value',
62396239
*
62406240
* // Request body metadata
@@ -6976,7 +6976,7 @@ export namespace retail_v2 {
69766976
*/
69776977
name?: string;
69786978
/**
6979-
* Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
6979+
* Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
69806980
*/
69816981
updateMask?: string;
69826982

@@ -7002,7 +7002,7 @@ export namespace retail_v2 {
70027002
*/
70037003
name?: string;
70047004
/**
7005-
* Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.
7005+
* Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.
70067006
*/
70077007
updateMask?: string;
70087008

@@ -7017,7 +7017,7 @@ export namespace retail_v2 {
70177017
*/
70187018
name?: string;
70197019
/**
7020-
* Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.
7020+
* Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.
70217021
*/
70227022
updateMask?: string;
70237023

src/apis/retail/v2alpha.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2845,7 +2845,7 @@ export namespace retail_v2alpha {
28452845
*/
28462846
catalogAttribute?: Schema$GoogleCloudRetailV2alphaCatalogAttribute;
28472847
/**
2848-
* Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.
2848+
* Optional. Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.
28492849
*/
28502850
updateMask?: string | null;
28512851
}
@@ -7240,7 +7240,7 @@ export namespace retail_v2alpha {
72407240
* const res = await retail.projects.locations.catalogs.patch({
72417241
* // Required. Immutable. The fully qualified resource name of the catalog.
72427242
* name: 'projects/my-project/locations/my-location/catalogs/my-catalog',
7243-
* // Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
7243+
* // Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
72447244
* updateMask: 'placeholder-value',
72457245
*
72467246
* // Request body metadata
@@ -7544,7 +7544,7 @@ export namespace retail_v2alpha {
75447544
* const res = await retail.projects.locations.catalogs.updateAttributesConfig({
75457545
* // Required. Immutable. The fully qualified resource name of the attribute config. Format: `projects/x/locations/x/catalogs/x/attributesConfig`
75467546
* name: 'projects/my-project/locations/my-location/catalogs/my-catalog/attributesConfig',
7547-
* // Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.
7547+
* // Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.
75487548
* updateMask: 'placeholder-value',
75497549
*
75507550
* // Request body metadata
@@ -7703,7 +7703,7 @@ export namespace retail_v2alpha {
77037703
* const res = await retail.projects.locations.catalogs.updateCompletionConfig({
77047704
* // Required. Immutable. Fully qualified name `projects/x/locations/x/catalogs/x/completionConfig`
77057705
* name: 'projects/my-project/locations/my-location/catalogs/my-catalog/completionConfig',
7706-
* // Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.
7706+
* // Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.
77077707
* updateMask: 'placeholder-value',
77087708
*
77097709
* // Request body metadata
@@ -8445,7 +8445,7 @@ export namespace retail_v2alpha {
84458445
*/
84468446
name?: string;
84478447
/**
8448-
* Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
8448+
* Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
84498449
*/
84508450
updateMask?: string;
84518451

@@ -8471,7 +8471,7 @@ export namespace retail_v2alpha {
84718471
*/
84728472
name?: string;
84738473
/**
8474-
* Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.
8474+
* Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.
84758475
*/
84768476
updateMask?: string;
84778477

@@ -8486,7 +8486,7 @@ export namespace retail_v2alpha {
84868486
*/
84878487
name?: string;
84888488
/**
8489-
* Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.
8489+
* Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.
84908490
*/
84918491
updateMask?: string;
84928492

0 commit comments

Comments
 (0)