-
Notifications
You must be signed in to change notification settings - Fork 113
feat!: new generated version of compute API #537
Conversation
Here is the summary of possible violations 😱 There are 5 possible violations for removing region tag in use.
The end of the violation section. All the stuff below is FYI purposes only. Here is the summary of changes. You are about to add 12 region tags.
You are about to delete 11 region tags.
This comment is generated by snippet-bot.
|
e63a4ce
to
a739a73
Compare
Codecov Report
@@ Coverage Diff @@
## master #537 +/- ##
==========================================
- Coverage 99.61% 97.16% -2.45%
==========================================
Files 22 77 +55
Lines 11948 78901 +66953
Branches 0 3810 +3810
==========================================
+ Hits 11902 76666 +64764
- Misses 46 2162 +2116
- Partials 0 73 +73
Continue to review full report at Codecov.
|
@bcoe Picking up on the conversation from #534 -
The error is |
@@ -93,14 +115,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-compute/tre | |||
|
|||
| Sample | Source Code | Try it | | |||
| --------------------------- | --------------------------------- | ------ | | |||
| Create VM | [source code](https://github.com/googleapis/nodejs-compute/blob/master/samples/createVM.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/createVM.js,samples/README.md) | |
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.
I wonder if we could port a couple of the more interesting samples to the new API surface.
Hi, @bcoe. When trying to use the The following code:
yields the following error:
Is this path (automated generation of client libraries) still the path forward for your team? If so, let me know, and I'd be happy to give more feedback on iterations of 3.0.0. |
I have 2 pieces of feedback at the moment. I think that the typing for the Failure messages that occur when passing in an incomplete object as a request into a method are not very informational. This line failed: I got the message: My assumption is that it would use the default project and zone, but I then added the project and region as per the documentation. While this is on me for not RTFM, It would be useful for the error to display the required fields. After this, the sample was usable. I'm quite enjoying some of the new ergonomics, so thank you for your effort! |
Warning: This pull request is touching the following templated files:
|
* tests: add GCE tests for diregapic * tests: review fixes
fb6cde8
to
7b941ee
Compare
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
* generate paging version * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
* tests: add pagination tests * tests: lower max results
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
🤖 I have created a release \*beep\* \*boop\* --- ## [3.0.0](https://www.github.com/googleapis/nodejs-compute/compare/v2.6.0...v3.0.0) (2021-08-17) ### ⚠ BREAKING CHANGES * new generated version of compute API (#537) ### Features * new generated version of compute API ([#537](https://www.github.com/googleapis/nodejs-compute/issues/537)) ([4023676](https://www.github.com/googleapis/nodejs-compute/commit/4023676e121e3b3c71b681dbd77136ab74184e68)) ### Bug Fixes * **build:** migrate to using main branch ([#609](https://www.github.com/googleapis/nodejs-compute/issues/609)) ([3013bb5](https://www.github.com/googleapis/nodejs-compute/commit/3013bb53258d738e136327fd027b6ea4fae835db)) * **deps:** google-gax v2.24.1 ([#612](https://www.github.com/googleapis/nodejs-compute/issues/612)) ([8569747](https://www.github.com/googleapis/nodejs-compute/commit/856974738ab7051cdbf05575bc5871c0b6b4ea28)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Generator: gapic-generator-typescript version: 2.2.0
Break Change
As we discuss in the email thread, we remove hand written features and will provide sample code.
Additional features:
etc.
CLI command to generate nodejs-compute local:
Next: Update Bazel file to support auto-generation PR
Once it done, it is available using:
bazel build //google/cloud/compute/v1:compute-v1-nodejs