From a7899a912669d4885055493f3a60e92402a261a7 Mon Sep 17 00:00:00 2001 From: Sofia Leon Date: Fri, 11 Nov 2022 10:33:40 -0800 Subject: [PATCH] build: add release-please config, fix owlbot-config --- .release-please-manifest.json | 1 + .../{.github => }/.OwlBot.yaml | 6 +- packages/google-cloud-apigateway/.mocharc.js | 2 +- .../google-cloud-apigateway/.prettierrc.js | 2 +- .../.repo-metadata.json | 4 +- packages/google-cloud-apigateway/README.md | 30 +- packages/google-cloud-apigateway/package.json | 13 +- .../google-cloud-apigateway/samples/README.md | 300 +++++++++++++++++- packages/google-cloud-apigateway/src/index.ts | 2 +- release-please-config.json | 3 +- 10 files changed, 336 insertions(+), 27 deletions(-) rename packages/google-cloud-apigateway/{.github => }/.OwlBot.yaml (80%) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c38b0a70276..8dfe3aa1255 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,6 +1,7 @@ { "packages/gapic-node-templating": "0.0.0", "packages/google-api-apikeys": "0.1.3", + "packages/google-cloud-apigateway": "2.1.2", "packages/google-cloud-batch": "0.3.2", "packages/google-cloud-beyondcorp-appconnections": "0.2.3", "packages/google-cloud-beyondcorp-appconnectors": "0.3.3", diff --git a/packages/google-cloud-apigateway/.github/.OwlBot.yaml b/packages/google-cloud-apigateway/.OwlBot.yaml similarity index 80% rename from packages/google-cloud-apigateway/.github/.OwlBot.yaml rename to packages/google-cloud-apigateway/.OwlBot.yaml index 59d771493f4..179b8d2b897 100644 --- a/packages/google-cloud-apigateway/.github/.OwlBot.yaml +++ b/packages/google-cloud-apigateway/.OwlBot.yaml @@ -11,15 +11,13 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -docker: - image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest deep-remove-regex: - /owl-bot-staging deep-copy-regex: - - source: /google/cloud/apigateway/(.*)/.*-nodejs/(.*) - dest: /owl-bot-staging/$1/$2 + - source: /google/cloud/apigateway/(.*)/.*-nodejs + dest: /owl-bot-staging/google-cloud-apigateway/$1 begin-after-commit-hash: f899f4fc473f95086eba7fb43b28794417e24aa0 diff --git a/packages/google-cloud-apigateway/.mocharc.js b/packages/google-cloud-apigateway/.mocharc.js index 0b600509bed..cdb7b752160 100644 --- a/packages/google-cloud-apigateway/.mocharc.js +++ b/packages/google-cloud-apigateway/.mocharc.js @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigateway/.prettierrc.js b/packages/google-cloud-apigateway/.prettierrc.js index d1b95106f4c..d546a4ad546 100644 --- a/packages/google-cloud-apigateway/.prettierrc.js +++ b/packages/google-cloud-apigateway/.prettierrc.js @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/packages/google-cloud-apigateway/.repo-metadata.json b/packages/google-cloud-apigateway/.repo-metadata.json index fb230e4bc54..1129ee06e43 100644 --- a/packages/google-cloud-apigateway/.repo-metadata.json +++ b/packages/google-cloud-apigateway/.repo-metadata.json @@ -3,13 +3,13 @@ "name": "api-gateway", "client_documentation": "https://cloud.google.com/nodejs/docs/reference/api-gateway/latest", "api_id": "apigateway.googleapis.com", - "issue_tracker": "https://github.com/googleapis/nodejs-api-gateway/issues", + "issue_tracker": "https://github.com/googleapis/google-cloud-node/issues", "distribution_name": "@google-cloud/api-gateway", "language": "nodejs", "release_level": "stable", "product_documentation": "https://cloud.google.com/api-gateway/docs", "name_pretty": "API Gateway", - "repo": "googleapis/nodejs-api-gateway", + "repo": "googleapis/google-cloud-node", "default_version": "v1", "api_shortname": "apigateway", "library_type": "GAPIC_AUTO" diff --git a/packages/google-cloud-apigateway/README.md b/packages/google-cloud-apigateway/README.md index 562e57a8841..d5b4108e871 100644 --- a/packages/google-cloud-apigateway/README.md +++ b/packages/google-cloud-apigateway/README.md @@ -2,7 +2,7 @@ [//]: # "To regenerate it, use `python -m synthtool`." Google Cloud Platform logo -# [API Gateway: Node.js Client](https://github.com/googleapis/nodejs-api-gateway) +# [API Gateway: Node.js Client](https://github.com/googleapis/google-cloud-node) [![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) [![npm version](https://img.shields.io/npm/v/@google-cloud/api-gateway.svg)](https://www.npmjs.org/package/@google-cloud/api-gateway) @@ -14,11 +14,11 @@ Apigateway client for Node.js A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/nodejs-api-gateway/blob/main/CHANGELOG.md). +[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-apigateway/CHANGELOG.md). * [API Gateway Node.js Client API Reference][client-docs] * [API Gateway Documentation][product-docs] -* [github.com/googleapis/nodejs-api-gateway](https://github.com/googleapis/nodejs-api-gateway) +* [github.com/googleapis/google-cloud-node/packages/google-cloud-apigateway](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-apigateway) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -79,11 +79,27 @@ listApis(); ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/nodejs-api-gateway/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample. +Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample. | Sample | Source Code | Try it | | --------------------------- | --------------------------------- | ------ | -| Quickstart | [source code](https://github.com/googleapis/nodejs-api-gateway/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-api-gateway&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) | +| Api_gateway_service.create_api | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_api.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_api.js,samples/README.md) | +| Api_gateway_service.create_api_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_api_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_api_config.js,samples/README.md) | +| Api_gateway_service.create_gateway | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_gateway.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_gateway.js,samples/README.md) | +| Api_gateway_service.delete_api | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_api.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_api.js,samples/README.md) | +| Api_gateway_service.delete_api_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_api_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_api_config.js,samples/README.md) | +| Api_gateway_service.delete_gateway | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_gateway.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_gateway.js,samples/README.md) | +| Api_gateway_service.get_api | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_api.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_api.js,samples/README.md) | +| Api_gateway_service.get_api_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_api_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_api_config.js,samples/README.md) | +| Api_gateway_service.get_gateway | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_gateway.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_gateway.js,samples/README.md) | +| Api_gateway_service.list_api_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_api_configs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_api_configs.js,samples/README.md) | +| Api_gateway_service.list_apis | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_apis.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_apis.js,samples/README.md) | +| Api_gateway_service.list_gateways | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_gateways.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_gateways.js,samples/README.md) | +| Api_gateway_service.update_api | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_api.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_api.js,samples/README.md) | +| Api_gateway_service.update_api_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_api_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_api_config.js,samples/README.md) | +| Api_gateway_service.update_gateway | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_gateway.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_gateway.js,samples/README.md) | +| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/quickstart.js,samples/README.md) | +| Quickstart.test | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/test/quickstart.test.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/test/quickstart.test.js,samples/README.md) | @@ -133,7 +149,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages] ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-api-gateway/blob/main/CONTRIBUTING.md). +Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md). Please note that this `README.md`, the `samples/README.md`, and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`) @@ -145,7 +161,7 @@ to its templates in Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/nodejs-api-gateway/blob/main/LICENSE) +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) [client-docs]: https://cloud.google.com/nodejs/docs/reference/api-gateway/latest [product-docs]: https://cloud.google.com/api-gateway/docs diff --git a/packages/google-cloud-apigateway/package.json b/packages/google-cloud-apigateway/package.json index 3c833a1ce72..9915df3f986 100644 --- a/packages/google-cloud-apigateway/package.json +++ b/packages/google-cloud-apigateway/package.json @@ -2,7 +2,11 @@ "name": "@google-cloud/api-gateway", "version": "2.1.2", "description": "Apigateway client for Node.js", - "repository": "googleapis/nodejs-api-gateway", + "repository": { + "type": "git", + "directory": "packages/google-cloud-apigateway", + "url": "https://github.com/googleapis/google-cloud-node.git" + }, "license": "Apache-2.0", "author": "Google LLC", "main": "build/src/index.js", @@ -34,8 +38,8 @@ "prelint": "cd samples; npm link ../; npm i", "lint": "gts check", "prepare": "npm run compile-protos && npm run compile", - "samples-test": "cd samples/ && npm link ../ && npm test", - "system-test": "c8 mocha build/system-test", + "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", + "system-test": "npm run compile && c8 mocha build/system-test", "test": "c8 mocha build/test" }, "dependencies": { @@ -62,5 +66,6 @@ }, "engines": { "node": ">=12.0.0" - } + }, + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-apigateway" } diff --git a/packages/google-cloud-apigateway/samples/README.md b/packages/google-cloud-apigateway/samples/README.md index 2fbc99e85ac..6affbee5f42 100644 --- a/packages/google-cloud-apigateway/samples/README.md +++ b/packages/google-cloud-apigateway/samples/README.md @@ -2,7 +2,7 @@ [//]: # "To regenerate it, use `python -m synthtool`." Google Cloud Platform logo -# [API Gateway: Node.js Samples](https://github.com/googleapis/nodejs-api-gateway) +# [API Gateway: Node.js Samples](https://github.com/googleapis/google-cloud-node) [![Open in Cloud Shell][shell_img]][shell_link] @@ -12,12 +12,28 @@ * [Before you begin](#before-you-begin) * [Samples](#samples) + * [Api_gateway_service.create_api](#api_gateway_service.create_api) + * [Api_gateway_service.create_api_config](#api_gateway_service.create_api_config) + * [Api_gateway_service.create_gateway](#api_gateway_service.create_gateway) + * [Api_gateway_service.delete_api](#api_gateway_service.delete_api) + * [Api_gateway_service.delete_api_config](#api_gateway_service.delete_api_config) + * [Api_gateway_service.delete_gateway](#api_gateway_service.delete_gateway) + * [Api_gateway_service.get_api](#api_gateway_service.get_api) + * [Api_gateway_service.get_api_config](#api_gateway_service.get_api_config) + * [Api_gateway_service.get_gateway](#api_gateway_service.get_gateway) + * [Api_gateway_service.list_api_configs](#api_gateway_service.list_api_configs) + * [Api_gateway_service.list_apis](#api_gateway_service.list_apis) + * [Api_gateway_service.list_gateways](#api_gateway_service.list_gateways) + * [Api_gateway_service.update_api](#api_gateway_service.update_api) + * [Api_gateway_service.update_api_config](#api_gateway_service.update_api_config) + * [Api_gateway_service.update_gateway](#api_gateway_service.update_gateway) * [Quickstart](#quickstart) + * [Quickstart.test](#quickstart.test) ## Before you begin Before running the samples, make sure you've followed the steps outlined in -[Using the client library](https://github.com/googleapis/nodejs-api-gateway#using-the-client-library). +[Using the client library](https://github.com/googleapis/google-cloud-node#using-the-client-library). `cd samples` @@ -29,16 +45,288 @@ Before running the samples, make sure you've followed the steps outlined in +### Api_gateway_service.create_api + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_api.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_api.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_api.js` + + +----- + + + + +### Api_gateway_service.create_api_config + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_api_config.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_api_config.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_api_config.js` + + +----- + + + + +### Api_gateway_service.create_gateway + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_gateway.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_gateway.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.create_gateway.js` + + +----- + + + + +### Api_gateway_service.delete_api + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_api.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_api.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_api.js` + + +----- + + + + +### Api_gateway_service.delete_api_config + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_api_config.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_api_config.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_api_config.js` + + +----- + + + + +### Api_gateway_service.delete_gateway + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_gateway.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_gateway.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.delete_gateway.js` + + +----- + + + + +### Api_gateway_service.get_api + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_api.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_api.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_api.js` + + +----- + + + + +### Api_gateway_service.get_api_config + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_api_config.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_api_config.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_api_config.js` + + +----- + + + + +### Api_gateway_service.get_gateway + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_gateway.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_gateway.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.get_gateway.js` + + +----- + + + + +### Api_gateway_service.list_api_configs + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_api_configs.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_api_configs.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_api_configs.js` + + +----- + + + + +### Api_gateway_service.list_apis + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_apis.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_apis.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_apis.js` + + +----- + + + + +### Api_gateway_service.list_gateways + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_gateways.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_gateways.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.list_gateways.js` + + +----- + + + + +### Api_gateway_service.update_api + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_api.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_api.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_api.js` + + +----- + + + + +### Api_gateway_service.update_api_config + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_api_config.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_api_config.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_api_config.js` + + +----- + + + + +### Api_gateway_service.update_gateway + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_gateway.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_gateway.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/api_gateway_service.update_gateway.js` + + +----- + + + + ### Quickstart -View the [source code](https://github.com/googleapis/nodejs-api-gateway/blob/main/samples/quickstart.js). +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/quickstart.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/quickstart.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/quickstart.js` + + +----- + + + + +### Quickstart.test + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/test/quickstart.test.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-api-gateway&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/test/quickstart.test.js,samples/README.md) __Usage:__ -`node samples/quickstart.js` +`node /workspace/google-cloud-node/samples/test/quickstart.test.js` @@ -46,5 +334,5 @@ __Usage:__ [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png -[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-api-gateway&page=editor&open_in_editor=samples/README.md +[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=samples/README.md [product-docs]: https://cloud.google.com/api-gateway/docs diff --git a/packages/google-cloud-apigateway/src/index.ts b/packages/google-cloud-apigateway/src/index.ts index 238b040ec87..cc528af6507 100644 --- a/packages/google-cloud-apigateway/src/index.ts +++ b/packages/google-cloud-apigateway/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/release-please-config.json b/release-please-config.json index ca8fb90627b..3919e989a33 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -2,6 +2,7 @@ "initial-version": "0.1.0", "packages": { "packages/google-api-apikeys": {}, + "packages/google-cloud-apigateway": {}, "packages/google-cloud-batch": {}, "packages/google-cloud-beyondcorp-appconnections": {}, "packages/google-cloud-beyondcorp-appconnectors": {}, @@ -49,4 +50,4 @@ } ], "release-type": "node" -} \ No newline at end of file +}