From da7cdbd0c9fa0824803ca8d83ef04a4aeeb34e34 Mon Sep 17 00:00:00 2001 From: Sofia Leon Date: Tue, 15 Nov 2022 17:07:35 -0800 Subject: [PATCH] build: add release-please config, fix owlbot-config --- .release-please-manifest.json | 48 ++--- .../{.github => }/.OwlBot.yaml | 6 +- .../.mocharc.js | 2 +- .../.prettierrc.js | 2 +- .../.repo-metadata.json | 2 +- .../README.md | 23 ++- .../package.json | 13 +- .../samples/README.md | 174 +++++++++++++++++- .../src/index.ts | 2 +- release-please-config.json | 51 ++--- 10 files changed, 249 insertions(+), 74 deletions(-) rename packages/google-cloud-bigquery-connection/{.github => }/.OwlBot.yaml (81%) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 16c6eb41325..8f6c424848a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,16 +1,16 @@ { "packages/gapic-node-templating": "0.0.0", "packages/google-api-apikeys": "0.1.3", - "packages/google-cloud-baremetalsolution": "0.2.2", + "packages/google-api-servicecontrol": "2.0.3", "packages/google-api-servicemanagement": "1.1.3", - "packages/google-cloud-apigateway": "2.1.2", "packages/google-api-serviceusage": "2.1.2", - "packages/google-api-servicecontrol": "2.0.3", "packages/google-appengine": "2.1.2", "packages/google-cloud-accessapproval": "2.1.2", + "packages/google-cloud-apigateway": "2.1.2", "packages/google-cloud-apigeeconnect": "2.1.3", "packages/google-cloud-asset": "4.5.0", "packages/google-cloud-assuredworkloads": "3.5.0", + "packages/google-cloud-baremetalsolution": "0.2.2", "packages/google-cloud-batch": "0.3.2", "packages/google-cloud-beyondcorp-appconnections": "0.2.3", "packages/google-cloud-beyondcorp-appconnectors": "0.3.3", @@ -18,55 +18,56 @@ "packages/google-cloud-beyondcorp-clientconnectorservices": "0.2.3", "packages/google-cloud-beyondcorp-clientgateways": "0.2.3", "packages/google-cloud-bigquery-analyticshub": "0.1.2", + "packages/google-cloud-bigquery-connection": "2.0.2", "packages/google-cloud-bigquery-dataexchange": "0.3.2", "packages/google-cloud-bigquery-datapolicies": "0.1.2", "packages/google-cloud-bigquery-datatransfer": "3.1.5", "packages/google-cloud-bigquery-reservation": "2.0.4", "packages/google-cloud-bigquery-storage": "3.2.0", - "packages/google-cloud-binaryauthorization": "2.1.1", "packages/google-cloud-billing": "3.1.3", "packages/google-cloud-billing-budgets": "4.1.2", + "packages/google-cloud-binaryauthorization": "2.1.1", "packages/google-cloud-certificatemanager": "0.6.2", + "packages/google-cloud-channel": "2.2.0", "packages/google-cloud-clouddms": "2.1.2", "packages/google-cloud-contactcenterinsights": "2.1.2", - "packages/google-cloud-channel": "2.2.0", "packages/google-cloud-contentwarehouse": "0.1.2", "packages/google-cloud-datafusion": "2.1.2", "packages/google-cloud-datalabeling": "3.1.1", "packages/google-cloud-dataplex": "2.2.2", "packages/google-cloud-dataproc": "4.1.1", - "packages/google-cloud-datastream": "2.1.2", "packages/google-cloud-dataqna": "2.0.2", + "packages/google-cloud-datastream": "2.1.2", "packages/google-cloud-deploy": "2.2.2", - "packages/google-cloud-dialogflow-cx": "3.1.2", "packages/google-cloud-dialogflow": "5.3.0", + "packages/google-cloud-dialogflow-cx": "3.1.2", "packages/google-cloud-discoveryengine": "0.2.0", - "packages/google-cloud-gkebackup": "0.2.2", - "packages/google-cloud-eventarc-publishing": "2.3.0", + "packages/google-cloud-documentai": "6.1.0", + "packages/google-cloud-domains": "2.1.2", "packages/google-cloud-essentialcontacts": "2.0.2", "packages/google-cloud-eventarc": "2.2.0", - "packages/google-cloud-domains": "2.1.2", - "packages/google-cloud-gaming": "3.1.3", + "packages/google-cloud-eventarc-publishing": "2.3.0", "packages/google-cloud-functions": "2.2.3", - "packages/google-cloud-documentai": "6.1.0", + "packages/google-cloud-gaming": "3.1.3", + "packages/google-cloud-gkebackup": "0.2.2", "packages/google-cloud-gkeconnect-gateway": "2.0.5", "packages/google-cloud-gkehub": "3.2.2", "packages/google-cloud-gkemulticloud": "0.1.4", - "packages/google-cloud-kms": "3.1.0", - "packages/google-cloud-ids": "2.1.2", "packages/google-cloud-iap": "2.0.3", + "packages/google-cloud-ids": "2.1.2", "packages/google-cloud-iot": "3.1.2", + "packages/google-cloud-kms": "3.1.0", "packages/google-cloud-language": "5.1.2", - "packages/google-cloud-mediatranslation": "3.0.5", "packages/google-cloud-lifesciences": "2.1.2", + "packages/google-cloud-mediatranslation": "3.0.5", "packages/google-cloud-memcache": "2.1.4", "packages/google-cloud-metastore": "3.1.2", "packages/google-cloud-monitoring": "3.0.3", - "packages/google-cloud-orgpolicy": "2.0.3", - "packages/google-cloud-optimization": "2.1.1", - "packages/google-cloud-networksecurity": "1.0.2", "packages/google-cloud-networkmanagement": "2.3.1", + "packages/google-cloud-networksecurity": "1.0.2", "packages/google-cloud-notebooks": "2.1.2", + "packages/google-cloud-optimization": "2.1.1", + "packages/google-cloud-orgpolicy": "2.0.3", "packages/google-cloud-osconfig": "2.1.2", "packages/google-cloud-oslogin": "4.0.4", "packages/google-cloud-phishingprotection": "3.0.6", @@ -76,10 +77,9 @@ "packages/google-cloud-redis": "3.1.5", "packages/google-cloud-resourcemanager": "4.1.3", "packages/google-cloud-resourcesettings": "2.0.3", - "packages/google-cloud-security-privateca": "4.1.2", - "packages/google-cloud-secretmanager": "4.1.4", "packages/google-cloud-scheduler": "3.0.5", "packages/google-cloud-secretmanager": "4.1.4", + "packages/google-cloud-security-privateca": "4.1.2", "packages/google-cloud-security-publicca": "0.1.3", "packages/google-cloud-servicedirectory": "4.0.4", "packages/google-cloud-shell": "2.0.4", @@ -90,19 +90,19 @@ "packages/google-cloud-video-livestream": "0.3.4", "packages/google-cloud-video-transcoder": "2.2.3", "packages/google-cloud-videointelligence": "4.1.1", - "packages/google-cloud-vpcaccess": "2.1.3", "packages/google-cloud-vmmigration": "2.2.1", + "packages/google-cloud-vpcaccess": "2.1.3", + "packages/google-cloud-webrisk": "3.2.0", "packages/google-cloud-websecurityscanner": "2.1.3", "packages/google-cloud-workflows-executions": "2.2.0", - "packages/google-cloud-webrisk": "3.2.0", "packages/google-container": "4.4.0", "packages/google-dataflow": "2.0.1", "packages/google-devtools-artifactregistry": "2.0.2", - "packages/google-devtools-containeranalysis": "4.4.1", "packages/google-devtools-cloudbuild": "3.2.0", + "packages/google-devtools-containeranalysis": "4.4.1", "packages/google-iam": "0.2.2", - "packages/google-identity-accesscontextmanager": "2.2.0", "packages/google-iam-credentials": "2.0.2", + "packages/google-identity-accesscontextmanager": "2.2.0", "packages/google-maps-addressvalidation": "0.1.0", "packages/google-maps-routing": "0.2.1", "packages/google-monitoring-dashboard": "2.8.0", diff --git a/packages/google-cloud-bigquery-connection/.github/.OwlBot.yaml b/packages/google-cloud-bigquery-connection/.OwlBot.yaml similarity index 81% rename from packages/google-cloud-bigquery-connection/.github/.OwlBot.yaml rename to packages/google-cloud-bigquery-connection/.OwlBot.yaml index 5bbf72cc78d..749515ecbb6 100644 --- a/packages/google-cloud-bigquery-connection/.github/.OwlBot.yaml +++ b/packages/google-cloud-bigquery-connection/.OwlBot.yaml @@ -11,8 +11,6 @@ # 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 @@ -21,8 +19,8 @@ deep-preserve-regex: - /owl-bot-staging/v1beta1 deep-copy-regex: - - source: /google/cloud/bigquery/connection/(.*)/.*-nodejs/(.*) - dest: /owl-bot-staging/$1/$2 + - source: /google/cloud/bigquery/connection/(.*)/.*-nodejs + dest: /owl-bot-staging/google-cloud-bigquery-connection/$1 begin-after-commit-hash: fb91803ccef5d7c695139b22788b309e2197856b diff --git a/packages/google-cloud-bigquery-connection/.mocharc.js b/packages/google-cloud-bigquery-connection/.mocharc.js index 0b600509bed..cdb7b752160 100644 --- a/packages/google-cloud-bigquery-connection/.mocharc.js +++ b/packages/google-cloud-bigquery-connection/.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-bigquery-connection/.prettierrc.js b/packages/google-cloud-bigquery-connection/.prettierrc.js index d1b95106f4c..d546a4ad546 100644 --- a/packages/google-cloud-bigquery-connection/.prettierrc.js +++ b/packages/google-cloud-bigquery-connection/.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-bigquery-connection/.repo-metadata.json b/packages/google-cloud-bigquery-connection/.repo-metadata.json index ede9e8eea9a..984a81e55da 100644 --- a/packages/google-cloud-bigquery-connection/.repo-metadata.json +++ b/packages/google-cloud-bigquery-connection/.repo-metadata.json @@ -1,6 +1,6 @@ { "language": "nodejs", - "repo": "googleapis/nodejs-bigquery-connection", + "repo": "googleapis/google-cloud-node", "name": "bigqueryconnection", "issue_tracker": "https://b.corp.google.com/savedsearches/559654", "default_version": "v1", diff --git a/packages/google-cloud-bigquery-connection/README.md b/packages/google-cloud-bigquery-connection/README.md index fdec3d3f342..0a1b3a19452 100644 --- a/packages/google-cloud-bigquery-connection/README.md +++ b/packages/google-cloud-bigquery-connection/README.md @@ -2,7 +2,7 @@ [//]: # "To regenerate it, use `python -m synthtool`." Google Cloud Platform logo -# [Google BigQuery Connection: Node.js Client](https://github.com/googleapis/nodejs-bigquery-connection) +# [Google BigQuery Connection: 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/bigquery-connection.svg)](https://www.npmjs.org/package/@google-cloud/bigquery-connection) @@ -14,11 +14,11 @@ BigQuery Connection client for Node.js A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/nodejs-bigquery-connection/blob/main/CHANGELOG.md). +[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-bigquery-connection/CHANGELOG.md). * [Google BigQuery Connection Node.js Client API Reference][client-docs] * [Google BigQuery Connection Documentation][product-docs] -* [github.com/googleapis/nodejs-bigquery-connection](https://github.com/googleapis/nodejs-bigquery-connection) +* [github.com/googleapis/google-cloud-node/packages/google-cloud-bigquery-connection](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-bigquery-connection) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -85,11 +85,20 @@ const listConnectionsResponse = listConnections(); ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/nodejs-bigquery-connection/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-bigquery-connection/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-bigquery-connection&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) | +| Connection_service.create_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.create_connection.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/connection_service.create_connection.js,samples/README.md) | +| Connection_service.delete_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.delete_connection.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/connection_service.delete_connection.js,samples/README.md) | +| Connection_service.get_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.get_connection.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/connection_service.get_connection.js,samples/README.md) | +| Connection_service.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.get_iam_policy.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/connection_service.get_iam_policy.js,samples/README.md) | +| Connection_service.list_connections | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.list_connections.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/connection_service.list_connections.js,samples/README.md) | +| Connection_service.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.set_iam_policy.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/connection_service.set_iam_policy.js,samples/README.md) | +| Connection_service.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.test_iam_permissions.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/connection_service.test_iam_permissions.js,samples/README.md) | +| Connection_service.update_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.update_connection.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/connection_service.update_connection.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 | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/test/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/test/quickstart.js,samples/README.md) | @@ -139,7 +148,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages] ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-bigquery-connection/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`) @@ -151,7 +160,7 @@ to its templates in Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/nodejs-bigquery-connection/blob/main/LICENSE) +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) [client-docs]: https://cloud.google.com/nodejs/docs/reference/bigquery-connection/latest [product-docs]: https://cloud.google.com/bigquery/docs/reference/bigqueryconnection diff --git a/packages/google-cloud-bigquery-connection/package.json b/packages/google-cloud-bigquery-connection/package.json index 9c03397eceb..81c1312b289 100644 --- a/packages/google-cloud-bigquery-connection/package.json +++ b/packages/google-cloud-bigquery-connection/package.json @@ -2,7 +2,11 @@ "name": "@google-cloud/bigquery-connection", "version": "2.0.2", "description": "BigQuery Connection client for Node.js", - "repository": "googleapis/nodejs-bigquery-connection", + "repository": { + "type": "git", + "directory": "packages/google-cloud-bigquery-connection", + "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", - "system-test": "c8 mocha build/system-test", - "samples-test": "cd samples/ && npm link ../ && npm install && npm test && cd ../", + "system-test": "npm run compile && c8 mocha build/system-test", + "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm 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-bigquery-connection" } diff --git a/packages/google-cloud-bigquery-connection/samples/README.md b/packages/google-cloud-bigquery-connection/samples/README.md index 5056d39c620..988a3e366b0 100644 --- a/packages/google-cloud-bigquery-connection/samples/README.md +++ b/packages/google-cloud-bigquery-connection/samples/README.md @@ -2,7 +2,7 @@ [//]: # "To regenerate it, use `python -m synthtool`." Google Cloud Platform logo -# [Google BigQuery Connection: Node.js Samples](https://github.com/googleapis/nodejs-bigquery-connection) +# [Google BigQuery Connection: Node.js Samples](https://github.com/googleapis/google-cloud-node) [![Open in Cloud Shell][shell_img]][shell_link] @@ -12,12 +12,21 @@ * [Before you begin](#before-you-begin) * [Samples](#samples) + * [Connection_service.create_connection](#connection_service.create_connection) + * [Connection_service.delete_connection](#connection_service.delete_connection) + * [Connection_service.get_connection](#connection_service.get_connection) + * [Connection_service.get_iam_policy](#connection_service.get_iam_policy) + * [Connection_service.list_connections](#connection_service.list_connections) + * [Connection_service.set_iam_policy](#connection_service.set_iam_policy) + * [Connection_service.test_iam_permissions](#connection_service.test_iam_permissions) + * [Connection_service.update_connection](#connection_service.update_connection) + * [Quickstart](#quickstart) * [Quickstart](#quickstart) ## 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-bigquery-connection#using-the-client-library). +[Using the client library](https://github.com/googleapis/google-cloud-node#using-the-client-library). `cd samples` @@ -29,16 +38,169 @@ Before running the samples, make sure you've followed the steps outlined in +### Connection_service.create_connection + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.create_connection.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/connection_service.create_connection.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/connection_service.create_connection.js` + + +----- + + + + +### Connection_service.delete_connection + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.delete_connection.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/connection_service.delete_connection.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/connection_service.delete_connection.js` + + +----- + + + + +### Connection_service.get_connection + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.get_connection.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/connection_service.get_connection.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/connection_service.get_connection.js` + + +----- + + + + +### Connection_service.get_iam_policy + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.get_iam_policy.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/connection_service.get_iam_policy.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/connection_service.get_iam_policy.js` + + +----- + + + + +### Connection_service.list_connections + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.list_connections.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/connection_service.list_connections.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/connection_service.list_connections.js` + + +----- + + + + +### Connection_service.set_iam_policy + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.set_iam_policy.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/connection_service.set_iam_policy.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/connection_service.set_iam_policy.js` + + +----- + + + + +### Connection_service.test_iam_permissions + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.test_iam_permissions.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/connection_service.test_iam_permissions.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/connection_service.test_iam_permissions.js` + + +----- + + + + +### Connection_service.update_connection + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.update_connection.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/connection_service.update_connection.js,samples/README.md) + +__Usage:__ + + +`node /workspace/google-cloud-node/samples/generated/v1/connection_service.update_connection.js` + + +----- + + + + +### Quickstart + +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 -View the [source code](https://github.com/googleapis/nodejs-bigquery-connection/blob/main/samples/quickstart.js). +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/test/quickstart.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery-connection&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.js,samples/README.md) __Usage:__ -`node samples/quickstart.js` +`node /workspace/google-cloud-node/samples/test/quickstart.js` @@ -46,5 +208,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-bigquery-connection&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/bigquery/docs/reference/bigqueryconnection diff --git a/packages/google-cloud-bigquery-connection/src/index.ts b/packages/google-cloud-bigquery-connection/src/index.ts index d0ffe606cfc..f21a4480c37 100644 --- a/packages/google-cloud-bigquery-connection/src/index.ts +++ b/packages/google-cloud-bigquery-connection/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 48791614588..3afc96d366e 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -2,16 +2,16 @@ "initial-version": "0.1.0", "packages": { "packages/google-api-apikeys": {}, - "packages/google-cloud-baremetalsolution": {}, + "packages/google-api-servicecontrol": {}, "packages/google-api-servicemanagement": {}, - "packages/google-cloud-apigateway": {}, "packages/google-api-serviceusage": {}, - "packages/google-api-servicecontrol": {}, "packages/google-appengine": {}, "packages/google-cloud-accessapproval": {}, + "packages/google-cloud-apigateway": {}, "packages/google-cloud-apigeeconnect": {}, "packages/google-cloud-asset": {}, "packages/google-cloud-assuredworkloads": {}, + "packages/google-cloud-baremetalsolution": {}, "packages/google-cloud-batch": {}, "packages/google-cloud-beyondcorp-appconnections": {}, "packages/google-cloud-beyondcorp-appconnectors": {}, @@ -19,55 +19,56 @@ "packages/google-cloud-beyondcorp-clientconnectorservices": {}, "packages/google-cloud-beyondcorp-clientgateways": {}, "packages/google-cloud-bigquery-analyticshub": {}, + "packages/google-cloud-bigquery-connection": {}, "packages/google-cloud-bigquery-dataexchange": {}, "packages/google-cloud-bigquery-datapolicies": {}, "packages/google-cloud-bigquery-datatransfer": {}, "packages/google-cloud-bigquery-reservation": {}, "packages/google-cloud-bigquery-storage": {}, - "packages/google-cloud-binaryauthorization": {}, "packages/google-cloud-billing": {}, "packages/google-cloud-billing-budgets": {}, + "packages/google-cloud-binaryauthorization": {}, "packages/google-cloud-certificatemanager": {}, + "packages/google-cloud-channel": {}, "packages/google-cloud-clouddms": {}, "packages/google-cloud-contactcenterinsights": {}, - "packages/google-cloud-channel": {}, "packages/google-cloud-contentwarehouse": {}, "packages/google-cloud-datafusion": {}, "packages/google-cloud-datalabeling": {}, "packages/google-cloud-dataplex": {}, "packages/google-cloud-dataproc": {}, - "packages/google-cloud-datastream": {}, "packages/google-cloud-dataqna": {}, + "packages/google-cloud-datastream": {}, "packages/google-cloud-deploy": {}, - "packages/google-cloud-dialogflow-cx": {}, "packages/google-cloud-dialogflow": {}, + "packages/google-cloud-dialogflow-cx": {}, "packages/google-cloud-discoveryengine": {}, - "packages/google-cloud-gkebackup": {}, - "packages/google-cloud-eventarc-publishing": {}, + "packages/google-cloud-documentai": {}, + "packages/google-cloud-domains": {}, "packages/google-cloud-essentialcontacts": {}, "packages/google-cloud-eventarc": {}, - "packages/google-cloud-domains": {}, - "packages/google-cloud-gaming": {}, + "packages/google-cloud-eventarc-publishing": {}, "packages/google-cloud-functions": {}, - "packages/google-cloud-documentai": {}, + "packages/google-cloud-gaming": {}, + "packages/google-cloud-gkebackup": {}, "packages/google-cloud-gkeconnect-gateway": {}, "packages/google-cloud-gkehub": {}, "packages/google-cloud-gkemulticloud": {}, - "packages/google-cloud-kms": {}, - "packages/google-cloud-ids": {}, "packages/google-cloud-iap": {}, + "packages/google-cloud-ids": {}, "packages/google-cloud-iot": {}, + "packages/google-cloud-kms": {}, "packages/google-cloud-language": {}, - "packages/google-cloud-mediatranslation": {}, "packages/google-cloud-lifesciences": {}, + "packages/google-cloud-mediatranslation": {}, "packages/google-cloud-memcache": {}, "packages/google-cloud-metastore": {}, "packages/google-cloud-monitoring": {}, - "packages/google-cloud-orgpolicy": {}, - "packages/google-cloud-optimization": {}, - "packages/google-cloud-networksecurity": {}, "packages/google-cloud-networkmanagement": {}, + "packages/google-cloud-networksecurity": {}, "packages/google-cloud-notebooks": {}, + "packages/google-cloud-optimization": {}, + "packages/google-cloud-orgpolicy": {}, "packages/google-cloud-osconfig": {}, "packages/google-cloud-oslogin": {}, "packages/google-cloud-phishingprotection": {}, @@ -77,9 +78,9 @@ "packages/google-cloud-redis": {}, "packages/google-cloud-resourcemanager": {}, "packages/google-cloud-resourcesettings": {}, - "packages/google-cloud-security-privateca": {}, - "packages/google-cloud-secretmanager": {}, "packages/google-cloud-scheduler": {}, + "packages/google-cloud-secretmanager": {}, + "packages/google-cloud-security-privateca": {}, "packages/google-cloud-security-publicca": {}, "packages/google-cloud-servicedirectory": {}, "packages/google-cloud-shell": {}, @@ -90,19 +91,19 @@ "packages/google-cloud-video-livestream": {}, "packages/google-cloud-video-transcoder": {}, "packages/google-cloud-videointelligence": {}, - "packages/google-cloud-vpcaccess": {}, "packages/google-cloud-vmmigration": {}, + "packages/google-cloud-vpcaccess": {}, + "packages/google-cloud-webrisk": {}, "packages/google-cloud-websecurityscanner": {}, "packages/google-cloud-workflows-executions": {}, - "packages/google-cloud-webrisk": {}, "packages/google-container": {}, "packages/google-dataflow": {}, "packages/google-devtools-artifactregistry": {}, - "packages/google-devtools-containeranalysis": {}, "packages/google-devtools-cloudbuild": {}, + "packages/google-devtools-containeranalysis": {}, "packages/google-iam": {}, - "packages/google-identity-accesscontextmanager": {}, "packages/google-iam-credentials": {}, + "packages/google-identity-accesscontextmanager": {}, "packages/google-maps-addressvalidation": {}, "packages/google-maps-routing": {}, "packages/google-monitoring-dashboard": {}, @@ -116,4 +117,4 @@ } ], "release-type": "node" -} \ No newline at end of file +}