From 4ce2ee92e8f2f98b00cc3986ae552ceb78d421b8 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 20 Apr 2022 12:47:20 -0700 Subject: [PATCH] build(node): update client library version in samples metadata (#1356) (#79) * build(node): add feat in node post-processor to add client library version number in snippet metadata Co-authored-by: Benjamin E. Coe Source-Link: https://github.com/googleapis/synthtool/commit/d337b88dd1494365183718a2de0b7b4056b6fdfe Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:d106724ad2a96daa1b8d88de101ba50bdb30b8df62ffa0aa2b451d93b4556641 Co-authored-by: Owl Bot Co-authored-by: Benjamin E. Coe --- ...a.google.cloud.privatecatalog.v1beta1.json | 328 +++++++++--------- 1 file changed, 164 insertions(+), 164 deletions(-) diff --git a/packages/google-cloud-privatecatalog/samples/generated/v1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json b/packages/google-cloud-privatecatalog/samples/generated/v1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json index 9f3911c9e0a..a9d10432e9d 100644 --- a/packages/google-cloud-privatecatalog/samples/generated/v1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json +++ b/packages/google-cloud-privatecatalog/samples/generated/v1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json @@ -1,171 +1,171 @@ { - "clientLibrary": { - "name": "nodejs-privatecatalog", - "version": "0.1.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.privatecatalog.v1beta1", - "version": "v1beta1" - } - ] - }, - "snippets": [ - { - "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchCatalogs_async", - "title": "PrivateCatalog searchCatalogs Sample", - "origin": "API_DEFINITION", - "description": " Search [Catalog][google.cloud.privatecatalog.v1beta1.Catalog] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.", - "canonical": true, - "file": "private_catalog.search_catalogs.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SearchCatalogs", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs", - "async": true, - "parameters": [ - { - "name": "resource", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.privatecatalog.v1beta1.SearchCatalogsResponse", - "client": { - "shortName": "PrivateCatalogClient", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalogClient" - }, - "method": { - "shortName": "SearchCatalogs", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs", - "service": { - "shortName": "PrivateCatalog", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" - } - } - } + "clientLibrary": { + "name": "nodejs-privatecatalog", + "version": "1.1.1", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.privatecatalog.v1beta1", + "version": "v1beta1" + } + ] }, - { - "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchProducts_async", - "title": "PrivateCatalog searchProducts Sample", - "origin": "API_DEFINITION", - "description": " Search [Product][google.cloud.privatecatalog.v1beta1.Product] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.", - "canonical": true, - "file": "private_catalog.search_products.js", - "language": "JAVASCRIPT", - "segments": [ + "snippets": [ { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SearchProducts", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts", - "async": true, - "parameters": [ - { - "name": "resource", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.privatecatalog.v1beta1.SearchProductsResponse", - "client": { - "shortName": "PrivateCatalogClient", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalogClient" + "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchCatalogs_async", + "title": "PrivateCatalog searchCatalogs Sample", + "origin": "API_DEFINITION", + "description": " Search [Catalog][google.cloud.privatecatalog.v1beta1.Catalog] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.", + "canonical": true, + "file": "private_catalog.search_catalogs.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SearchCatalogs", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs", + "async": true, + "parameters": [ + { + "name": "resource", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.privatecatalog.v1beta1.SearchCatalogsResponse", + "client": { + "shortName": "PrivateCatalogClient", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalogClient" + }, + "method": { + "shortName": "SearchCatalogs", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs", + "service": { + "shortName": "PrivateCatalog", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" + } + } + } }, - "method": { - "shortName": "SearchProducts", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts", - "service": { - "shortName": "PrivateCatalog", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" - } - } - } - }, - { - "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchVersions_async", - "title": "PrivateCatalog searchVersions Sample", - "origin": "API_DEFINITION", - "description": " Search [Version][google.cloud.privatecatalog.v1beta1.Version] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.", - "canonical": true, - "file": "private_catalog.search_versions.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SearchVersions", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions", - "async": true, - "parameters": [ - { - "name": "resource", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.privatecatalog.v1beta1.SearchVersionsResponse", - "client": { - "shortName": "PrivateCatalogClient", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalogClient" + "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchProducts_async", + "title": "PrivateCatalog searchProducts Sample", + "origin": "API_DEFINITION", + "description": " Search [Product][google.cloud.privatecatalog.v1beta1.Product] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.", + "canonical": true, + "file": "private_catalog.search_products.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SearchProducts", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts", + "async": true, + "parameters": [ + { + "name": "resource", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.privatecatalog.v1beta1.SearchProductsResponse", + "client": { + "shortName": "PrivateCatalogClient", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalogClient" + }, + "method": { + "shortName": "SearchProducts", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts", + "service": { + "shortName": "PrivateCatalog", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" + } + } + } }, - "method": { - "shortName": "SearchVersions", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions", - "service": { - "shortName": "PrivateCatalog", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" - } + { + "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchVersions_async", + "title": "PrivateCatalog searchVersions Sample", + "origin": "API_DEFINITION", + "description": " Search [Version][google.cloud.privatecatalog.v1beta1.Version] resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.", + "canonical": true, + "file": "private_catalog.search_versions.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SearchVersions", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions", + "async": true, + "parameters": [ + { + "name": "resource", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.privatecatalog.v1beta1.SearchVersionsResponse", + "client": { + "shortName": "PrivateCatalogClient", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalogClient" + }, + "method": { + "shortName": "SearchVersions", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions", + "service": { + "shortName": "PrivateCatalog", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" + } + } + } } - } - } - ] -} + ] +} \ No newline at end of file