From e18046a73223801093a3067864d33c6a09b6285c Mon Sep 17 00:00:00 2001 From: Sofia Leon Date: Fri, 7 Oct 2022 18:33:18 -0700 Subject: [PATCH] build: add release-please config, fix owlbot-config --- .release-please-manifest.json | 9 +- .../{.github => }/.OwlBot.yaml | 6 +- packages/google-cloud-oslogin/.mocharc.js | 2 +- packages/google-cloud-oslogin/.prettierrc.js | 2 +- .../google-cloud-oslogin/.repo-metadata.json | 2 +- packages/google-cloud-oslogin/README.md | 27 ++- packages/google-cloud-oslogin/package.json | 4 +- .../google-cloud-oslogin/samples/README.md | 228 +++++++++++++++++- packages/google-cloud-oslogin/src/index.ts | 2 +- release-please-config.json | 9 +- 10 files changed, 259 insertions(+), 32 deletions(-) rename packages/google-cloud-oslogin/{.github => }/.OwlBot.yaml (79%) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 128b7819ac23..b55d18d1a6ee 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -7,13 +7,14 @@ "packages/google-cloud-beyondcorp-appgateways": "0.2.1", "packages/google-cloud-beyondcorp-clientconnectorservices": "0.2.1", "packages/google-cloud-beyondcorp-clientgateways": "0.2.1", + "packages/google-cloud-bigquery-analyticshub": "0.1.0", + "packages/google-cloud-bigquery-datapolicies": "0.1.0", "packages/google-cloud-gkemulticloud": "0.1.2", + "packages/google-cloud-oslogin": "4.0.2", "packages/google-cloud-redis": "3.1.3", "packages/google-cloud-security-publicca": "0.1.1", "packages/google-devtools-artifactregistry": "2.0.0", "packages/google-iam": "0.2.0", - "packages/typeless-sample-bot": "1.0.0", - "packages/google-cloud-bigquery-analyticshub": "0.1.0", - "packages/google-cloud-bigquery-datapolicies": "0.1.0", - "packages/google-maps-routing": "0.1.1" + "packages/google-maps-routing": "0.1.1", + "packages/typeless-sample-bot": "1.0.0" } diff --git a/packages/google-cloud-oslogin/.github/.OwlBot.yaml b/packages/google-cloud-oslogin/.OwlBot.yaml similarity index 79% rename from packages/google-cloud-oslogin/.github/.OwlBot.yaml rename to packages/google-cloud-oslogin/.OwlBot.yaml index 03fa6c8c7493..edcb8680974a 100644 --- a/packages/google-cloud-oslogin/.github/.OwlBot.yaml +++ b/packages/google-cloud-oslogin/.OwlBot.yaml @@ -11,13 +11,11 @@ # 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/oslogin/(.*)/.*-nodejs/(.*) - dest: /owl-bot-staging/$1/$2 + - source: /google/cloud/oslogin/(.*)/.*-nodejs + dest: /owl-bot-staging/google-cloud-oslogin/$1 diff --git a/packages/google-cloud-oslogin/.mocharc.js b/packages/google-cloud-oslogin/.mocharc.js index 0b600509bed2..cdb7b7521602 100644 --- a/packages/google-cloud-oslogin/.mocharc.js +++ b/packages/google-cloud-oslogin/.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-oslogin/.prettierrc.js b/packages/google-cloud-oslogin/.prettierrc.js index d1b95106f4ce..d546a4ad5460 100644 --- a/packages/google-cloud-oslogin/.prettierrc.js +++ b/packages/google-cloud-oslogin/.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-oslogin/.repo-metadata.json b/packages/google-cloud-oslogin/.repo-metadata.json index ddff9ea8e148..03c20aaddd24 100644 --- a/packages/google-cloud-oslogin/.repo-metadata.json +++ b/packages/google-cloud-oslogin/.repo-metadata.json @@ -6,7 +6,7 @@ "default_version": "v1", "language": "nodejs", "name_pretty": "Google Cloud OS Login", - "repo": "googleapis/nodejs-os-login", + "repo": "googleapis/google-cloud-node", "product_documentation": "https://cloud.google.com/compute/docs/oslogin/", "requires_billing": true, "name": "oslogin", diff --git a/packages/google-cloud-oslogin/README.md b/packages/google-cloud-oslogin/README.md index 7e633027b34c..96526953c0a7 100644 --- a/packages/google-cloud-oslogin/README.md +++ b/packages/google-cloud-oslogin/README.md @@ -1,9 +1,8 @@ -'**_THIS REPOSITORY IS DEPRECATED. ALL OF ITS CONTENT AND HISTORY HAS BEEN MOVED TO [GOOGLE-CLOUD-NODE](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-oslogin)_**' [//]: # "This README.md file is auto-generated, all changes to this file will be lost." [//]: # "To regenerate it, use `python -m synthtool`." Google Cloud Platform logo -# [Google Cloud OS Login: Node.js Client](https://github.com/googleapis/nodejs-os-login) +# [Google Cloud OS Login: 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/os-login.svg)](https://www.npmjs.org/package/@google-cloud/os-login) @@ -15,11 +14,11 @@ Google Cloud OS Login API client for Node.js A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/nodejs-os-login/blob/main/CHANGELOG.md). +[the CHANGELOG](https://github.com/googleapis/google-cloud-node/blob/main/CHANGELOG.md). * [Google Cloud OS Login Node.js Client API Reference][client-docs] * [Google Cloud OS Login Documentation][product-docs] -* [github.com/googleapis/nodejs-os-login](https://github.com/googleapis/nodejs-os-login) +* [github.com/googleapis/google-cloud-node](https://github.com/googleapis/google-cloud-node) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -99,11 +98,23 @@ callGetLoginProfile(); ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/nodejs-os-login/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-os-login/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-os-login&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) | +| Os_login_service.delete_posix_account | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1/os_login_service.delete_posix_account.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=packages/google-cloud-oslogin/samples/generated/v1/os_login_service.delete_posix_account.js,samples/README.md) | +| Os_login_service.delete_ssh_public_key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1/os_login_service.delete_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1/os_login_service.delete_ssh_public_key.js,samples/README.md) | +| Os_login_service.get_login_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1/os_login_service.get_login_profile.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=packages/google-cloud-oslogin/samples/generated/v1/os_login_service.get_login_profile.js,samples/README.md) | +| Os_login_service.get_ssh_public_key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1/os_login_service.get_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1/os_login_service.get_ssh_public_key.js,samples/README.md) | +| Os_login_service.import_ssh_public_key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1/os_login_service.import_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1/os_login_service.import_ssh_public_key.js,samples/README.md) | +| Os_login_service.update_ssh_public_key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1/os_login_service.update_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1/os_login_service.update_ssh_public_key.js,samples/README.md) | +| Os_login_service.delete_posix_account | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.delete_posix_account.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=packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.delete_posix_account.js,samples/README.md) | +| Os_login_service.delete_ssh_public_key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.delete_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.delete_ssh_public_key.js,samples/README.md) | +| Os_login_service.get_login_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.get_login_profile.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=packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.get_login_profile.js,samples/README.md) | +| Os_login_service.get_ssh_public_key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.get_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.get_ssh_public_key.js,samples/README.md) | +| Os_login_service.import_ssh_public_key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.import_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.import_ssh_public_key.js,samples/README.md) | +| Os_login_service.update_ssh_public_key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.update_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.update_ssh_public_key.js,samples/README.md) | +| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/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=packages/google-cloud-oslogin/samples/quickstart.js,samples/README.md) | @@ -153,7 +164,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages] ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-os-login/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`) @@ -165,7 +176,7 @@ to its templates in Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/nodejs-os-login/blob/main/LICENSE) +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) [client-docs]: https://cloud.google.com/nodejs/docs/reference/os-login/latest [product-docs]: https://cloud.google.com/compute/docs/oslogin/ diff --git a/packages/google-cloud-oslogin/package.json b/packages/google-cloud-oslogin/package.json index cce8bbd2a07c..8f52e47f51f8 100644 --- a/packages/google-cloud-oslogin/package.json +++ b/packages/google-cloud-oslogin/package.json @@ -30,8 +30,8 @@ ], "scripts": { "test": "c8 mocha build/test", - "samples-test": "cd samples/ && npm link ../ && npm install && npm test && cd ../", - "system-test": "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", "lint": "gts check", "fix": "gts fix", "docs": "jsdoc -c .jsdoc.js", diff --git a/packages/google-cloud-oslogin/samples/README.md b/packages/google-cloud-oslogin/samples/README.md index 57277d8cb7d9..1d467a890a1a 100644 --- a/packages/google-cloud-oslogin/samples/README.md +++ b/packages/google-cloud-oslogin/samples/README.md @@ -2,7 +2,7 @@ [//]: # "To regenerate it, use `python -m synthtool`." Google Cloud Platform logo -# [Google Cloud OS Login: Node.js Samples](https://github.com/googleapis/nodejs-os-login) +# [Google Cloud OS Login: Node.js Samples](https://github.com/googleapis/google-cloud-node) [![Open in Cloud Shell][shell_img]][shell_link] @@ -12,12 +12,24 @@ * [Before you begin](#before-you-begin) * [Samples](#samples) + * [Os_login_service.delete_posix_account](#os_login_service.delete_posix_account) + * [Os_login_service.delete_ssh_public_key](#os_login_service.delete_ssh_public_key) + * [Os_login_service.get_login_profile](#os_login_service.get_login_profile) + * [Os_login_service.get_ssh_public_key](#os_login_service.get_ssh_public_key) + * [Os_login_service.import_ssh_public_key](#os_login_service.import_ssh_public_key) + * [Os_login_service.update_ssh_public_key](#os_login_service.update_ssh_public_key) + * [Os_login_service.delete_posix_account](#os_login_service.delete_posix_account) + * [Os_login_service.delete_ssh_public_key](#os_login_service.delete_ssh_public_key) + * [Os_login_service.get_login_profile](#os_login_service.get_login_profile) + * [Os_login_service.get_ssh_public_key](#os_login_service.get_ssh_public_key) + * [Os_login_service.import_ssh_public_key](#os_login_service.import_ssh_public_key) + * [Os_login_service.update_ssh_public_key](#os_login_service.update_ssh_public_key) * [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-os-login#using-the-client-library). +[Using the client library](https://github.com/googleapis/google-cloud-node#using-the-client-library). `cd samples` @@ -29,16 +41,220 @@ Before running the samples, make sure you've followed the steps outlined in +### Os_login_service.delete_posix_account + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1/os_login_service.delete_posix_account.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=packages/google-cloud-oslogin/samples/generated/v1/os_login_service.delete_posix_account.js,samples/README.md) + +__Usage:__ + + +`node packages/google-cloud-oslogin/samples/generated/v1/os_login_service.delete_posix_account.js` + + +----- + + + + +### Os_login_service.delete_ssh_public_key + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1/os_login_service.delete_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1/os_login_service.delete_ssh_public_key.js,samples/README.md) + +__Usage:__ + + +`node packages/google-cloud-oslogin/samples/generated/v1/os_login_service.delete_ssh_public_key.js` + + +----- + + + + +### Os_login_service.get_login_profile + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1/os_login_service.get_login_profile.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=packages/google-cloud-oslogin/samples/generated/v1/os_login_service.get_login_profile.js,samples/README.md) + +__Usage:__ + + +`node packages/google-cloud-oslogin/samples/generated/v1/os_login_service.get_login_profile.js` + + +----- + + + + +### Os_login_service.get_ssh_public_key + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1/os_login_service.get_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1/os_login_service.get_ssh_public_key.js,samples/README.md) + +__Usage:__ + + +`node packages/google-cloud-oslogin/samples/generated/v1/os_login_service.get_ssh_public_key.js` + + +----- + + + + +### Os_login_service.import_ssh_public_key + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1/os_login_service.import_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1/os_login_service.import_ssh_public_key.js,samples/README.md) + +__Usage:__ + + +`node packages/google-cloud-oslogin/samples/generated/v1/os_login_service.import_ssh_public_key.js` + + +----- + + + + +### Os_login_service.update_ssh_public_key + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1/os_login_service.update_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1/os_login_service.update_ssh_public_key.js,samples/README.md) + +__Usage:__ + + +`node packages/google-cloud-oslogin/samples/generated/v1/os_login_service.update_ssh_public_key.js` + + +----- + + + + +### Os_login_service.delete_posix_account + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.delete_posix_account.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=packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.delete_posix_account.js,samples/README.md) + +__Usage:__ + + +`node packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.delete_posix_account.js` + + +----- + + + + +### Os_login_service.delete_ssh_public_key + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.delete_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.delete_ssh_public_key.js,samples/README.md) + +__Usage:__ + + +`node packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.delete_ssh_public_key.js` + + +----- + + + + +### Os_login_service.get_login_profile + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.get_login_profile.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=packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.get_login_profile.js,samples/README.md) + +__Usage:__ + + +`node packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.get_login_profile.js` + + +----- + + + + +### Os_login_service.get_ssh_public_key + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.get_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.get_ssh_public_key.js,samples/README.md) + +__Usage:__ + + +`node packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.get_ssh_public_key.js` + + +----- + + + + +### Os_login_service.import_ssh_public_key + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.import_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.import_ssh_public_key.js,samples/README.md) + +__Usage:__ + + +`node packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.import_ssh_public_key.js` + + +----- + + + + +### Os_login_service.update_ssh_public_key + +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.update_ssh_public_key.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=packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.update_ssh_public_key.js,samples/README.md) + +__Usage:__ + + +`node packages/google-cloud-oslogin/samples/generated/v1beta/os_login_service.update_ssh_public_key.js` + + +----- + + + + ### Quickstart -View the [source code](https://github.com/googleapis/nodejs-os-login/blob/main/samples/quickstart.js). +View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oslogin/samples/quickstart.js). -[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-os-login&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=packages/google-cloud-oslogin/samples/quickstart.js,samples/README.md) __Usage:__ -`node samples/quickstart.js` +`node packages/google-cloud-oslogin/samples/quickstart.js` @@ -46,5 +262,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-os-login&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/compute/docs/oslogin/ diff --git a/packages/google-cloud-oslogin/src/index.ts b/packages/google-cloud-oslogin/src/index.ts index 433e819d12e2..1dc4180a07a8 100644 --- a/packages/google-cloud-oslogin/src/index.ts +++ b/packages/google-cloud-oslogin/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 4685e03a6bde..38d86ff6180b 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -7,15 +7,16 @@ "packages/google-cloud-beyondcorp-appgateways": {}, "packages/google-cloud-beyondcorp-clientconnectorservices": {}, "packages/google-cloud-beyondcorp-clientgateways": {}, + "packages/google-cloud-bigquery-analyticshub": {}, + "packages/google-cloud-bigquery-datapolicies": {}, "packages/google-cloud-gkemulticloud": {}, + "packages/google-cloud-oslogin": {}, "packages/google-cloud-redis": {}, "packages/google-cloud-security-publicca": {}, "packages/google-devtools-artifactregistry": {}, "packages/google-iam": {}, - "packages/typeless-sample-bot": {}, - "packages/google-cloud-bigquery-datapolicies": {}, - "packages/google-cloud-bigquery-analyticshub": {}, - "packages/google-maps-routing": {} + "packages/google-maps-routing": {}, + "packages/typeless-sample-bot": {} }, "plugins": [ {