GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add KMS quickstart. by jmdobry · Pull Request #296 · GoogleCloudPlatform/nodejs-docs-samples

Conversation

@jmdobry

@jmdobry jmdobry commented Jan 11, 2017

Copy link
Copy Markdown
Member

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jmdobry jmdobry self-assigned this Jan 11, 2017
@jmdobry
jmdobry requested a review from ace-n January 11, 2017 18:10
ace-n
ace-n suggested changes Jan 11, 2017
View reviewed changes

@ace-n ace-n left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, other than grammatical nits and (some relevant) failing tests.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread kms/quickstart.js Outdated
// Your Google Cloud Platform project ID
const projectId = 'YOUR_PROJECT_ID';

// The "global" zone will list all keys, can be a specific zone if desired

@ace-n ace-n Jan 11, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammar nit: The "global" zone will list all keys. It can be a specific zone if desired

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jmdobry jmdobry Jan 11, 2017

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread kms/quickstart.js Outdated
// Acquires credentials
google.auth.getApplicationDefault((err, authClient) => {
if (err) {
console.error('Filed to acquire credentials');

@ace-n ace-n Jan 11, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: Failed

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jmdobry jmdobry Jan 11, 2017

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread kms/system-test/quickstart.test.js Outdated
function list (callback) {
google.auth.getApplicationDefault((err, authClient) => {
if (err) {
callback(new Error('Filed to acquire credentials'));

@ace-n ace-n Jan 11, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: failed

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jmdobry jmdobry Jan 11, 2017

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ace-n

ace-n commented Jan 11, 2017

Copy link
Copy Markdown
Contributor

Failing test output on CircleCI:

Uncaught Exception: kms/system-test/quickstart.test.js
  TypeError: google.cloudkms is not a function
    google.auth.getApplicationDefault (kms/system-test/quickstart.test.js:36:29)
    callback (node_modules/googleapis/node_modules/google-auth-library/lib/auth/googleauth.js:42:14)
    node_modules/googleapis/node_modules/google-auth-library/lib/auth/googleauth.js:289:13
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jmdobry
Add KMS quickstart.
9cd9f4f
@jmdobry

jmdobry commented Jan 11, 2017

Copy link
Copy Markdown
Member Author

Fixed

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jmdobry
jmdobry force-pushed the kms branch from f268b64 to 9cd9f4f Compare January 11, 2017 18:29
@jmdobry
jmdobry merged commit f800be2 into master Jan 11, 2017
ace-n pushed a commit that referenced this pull request Jan 11, 2017
@jmdobry Ace Nassri
Add KMS quickstart. (#296)
f2d185b
@jmdobry
jmdobry deleted the kms branch January 12, 2017 17:49
ivanmkc pushed a commit that referenced this pull request Nov 3, 2022
@release-please
chore: release 2.2.6 (#297)
b193d5f
🤖 I have created a release \*beep\* \*boop\*
---
### [2.2.6](https://www.github.com/googleapis/nodejs-datalabeling/compare/v2.2.5...v2.2.6) (2021-07-21)


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#296](https://www.github.com/googleapis/nodejs-datalabeling/issues/296)) ([b67af5c](https://www.github.com/googleapis/nodejs-datalabeling/commit/b67af5c6eea1142d6b1f08f7dd9213a7078a4d59))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
grayside pushed a commit that referenced this pull request Nov 8, 2022
@release-please @grayside
chore: release 2.2.6 (#297)
18f7738
🤖 I have created a release \*beep\* \*boop\*
---
### [2.2.6](https://www.github.com/googleapis/nodejs-datalabeling/compare/v2.2.5...v2.2.6) (2021-07-21)


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#296](https://www.github.com/googleapis/nodejs-datalabeling/issues/296)) ([b67af5c](https://www.github.com/googleapis/nodejs-datalabeling/commit/b67af5c6eea1142d6b1f08f7dd9213a7078a4d59))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
ace-n pushed a commit that referenced this pull request Nov 11, 2022
@nnegrey
docs: add translate ga samples (#296)
fc35876
* docs: add translate ga samples

* update package.json

* add missing file

* Add license headers
@ace-n ace-n mentioned this pull request Nov 11, 2022
migrate code from googleapis/nodejs-automl #2841
Merged
ace-n pushed a commit that referenced this pull request Nov 11, 2022
@nnegrey
docs: add translate ga samples (#296)
639e033
* docs: add translate ga samples

* update package.json

* add missing file

* Add license headers
ace-n pushed a commit that referenced this pull request Nov 14, 2022
@nnegrey Ace Nassri
docs: add translate ga samples (#296)
ce62524
* docs: add translate ga samples

* update package.json

* add missing file

* Add license headers
ace-n pushed a commit that referenced this pull request Nov 15, 2022
@nnegrey Ace Nassri
docs: add translate ga samples (#296)
56d6289
* docs: add translate ga samples

* update package.json

* add missing file

* Add license headers
ace-n pushed a commit that referenced this pull request Nov 15, 2022
@nnegrey Ace Nassri
docs: add translate ga samples (#296)
6438d03
* docs: add translate ga samples

* update package.json

* add missing file

* Add license headers
@telpirion telpirion mentioned this pull request Nov 16, 2022
chore(vision): migrate code from googleapis/nodejs-vision #2858
Merged
telpirion pushed a commit that referenced this pull request Nov 16, 2022
@yoshi-automation @jkwlui
BREAKING: rename method imagePath => referenceImagePath (#296)
870f233
* [CHANGE ME] Re-generated  to pick up changes in the API or client library generator.

* rename imagePath => referenceImagePath in samples
grayside pushed a commit that referenced this pull request Nov 16, 2022
@release-please
chore: release 1.7.0 (#296)
efc9eec
🤖 I have created a release \*beep\* \*boop\* 
---
## [1.7.0](https://www.github.com/googleapis/nodejs-cloud-container/compare/v1.6.2...v1.7.0) (2020-03-06)


### Features

* deferred client initialization ([#304](https://www.github.com/googleapis/nodejs-cloud-container/issues/304)) ([b1b7080](https://www.github.com/googleapis/nodejs-cloud-container/commit/b1b70806289aea73a6e83d3d33983d05856f21f3))
* export protos in src/index.ts ([acaaeff](https://www.github.com/googleapis/nodejs-cloud-container/commit/acaaeff08ad5505accc15bb496bcd3a29086a5ac))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
This was referenced Nov 16, 2022
migrate code from googleapis/nodejs-cloud-container #2859
Closed
migrate code from googleapis/nodejs-cloud-container #2860
Merged
ace-n pushed a commit that referenced this pull request Nov 17, 2022
@nnegrey Ace Nassri
docs: add translate ga samples (#296)
9677f5d
* docs: add translate ga samples

* update package.json

* add missing file

* Add license headers
ace-n pushed a commit that referenced this pull request Nov 17, 2022
@nnegrey Ace Nassri
docs: add translate ga samples (#296)
1f4c291
* docs: add translate ga samples

* update package.json

* add missing file

* Add license headers
ace-n pushed a commit that referenced this pull request Nov 17, 2022
@release-please Ace Nassri
chore: release 1.7.0 (#296)
5d8852f
🤖 I have created a release \*beep\* \*boop\* 
---
## [1.7.0](https://www.github.com/googleapis/nodejs-cloud-container/compare/v1.6.2...v1.7.0) (2020-03-06)


### Features

* deferred client initialization ([#304](https://www.github.com/googleapis/nodejs-cloud-container/issues/304)) ([b1b7080](https://www.github.com/googleapis/nodejs-cloud-container/commit/b1b70806289aea73a6e83d3d33983d05856f21f3))
* export protos in src/index.ts ([acaaeff](https://www.github.com/googleapis/nodejs-cloud-container/commit/acaaeff08ad5505accc15bb496bcd3a29086a5ac))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
grayside pushed a commit that referenced this pull request Nov 17, 2022
@release-please @grayside
chore: release 1.7.0 (#296)
1562846
🤖 I have created a release \*beep\* \*boop\* 
---
## [1.7.0](https://www.github.com/googleapis/nodejs-cloud-container/compare/v1.6.2...v1.7.0) (2020-03-06)


### Features

* deferred client initialization ([#304](https://www.github.com/googleapis/nodejs-cloud-container/issues/304)) ([b1b7080](https://www.github.com/googleapis/nodejs-cloud-container/commit/b1b70806289aea73a6e83d3d33983d05856f21f3))
* export protos in src/index.ts ([acaaeff](https://www.github.com/googleapis/nodejs-cloud-container/commit/acaaeff08ad5505accc15bb496bcd3a29086a5ac))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
ahrarmonsur pushed a commit that referenced this pull request Nov 17, 2022
@nnegrey Ahrar Monsur
docs: add translate ga samples (#296)
62db156
* docs: add translate ga samples

* update package.json

* add missing file

* Add license headers
ahrarmonsur pushed a commit that referenced this pull request Nov 17, 2022
@release-please Ahrar Monsur
chore: release 1.7.0 (#296)
c217d9d
🤖 I have created a release \*beep\* \*boop\* 
---
## [1.7.0](https://www.github.com/googleapis/nodejs-cloud-container/compare/v1.6.2...v1.7.0) (2020-03-06)


### Features

* deferred client initialization ([#304](https://www.github.com/googleapis/nodejs-cloud-container/issues/304)) ([b1b7080](https://www.github.com/googleapis/nodejs-cloud-container/commit/b1b70806289aea73a6e83d3d33983d05856f21f3))
* export protos in src/index.ts ([acaaeff](https://www.github.com/googleapis/nodejs-cloud-container/commit/acaaeff08ad5505accc15bb496bcd3a29086a5ac))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
@kweinmeister kweinmeister mentioned this pull request Nov 18, 2022
migrate code from googleapis/nodejs-text-to-speech #2872
Merged
kweinmeister pushed a commit that referenced this pull request Nov 18, 2022
@release-please Benjamin E. Coe
chore: release 2.0.1 (#296)
61cd3f5
ahrarmonsur pushed a commit that referenced this pull request Nov 18, 2022
@release-please
chore: release 3.10.1 (#296)
1dac2dd
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@ahrarmonsur ahrarmonsur mentioned this pull request Nov 18, 2022
migrate code from googleapis/nodejs-secret-manager #2874
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@ace-n ace-n ace-n requested changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@jmdobry jmdobry

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@jmdobry @ace-n
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.