Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(sample): Fix PERMISSION_DENIED in WriteCommittedStream #1248

Merged
merged 1 commit into from
Aug 23, 2021
Merged

docs(sample): Fix PERMISSION_DENIED in WriteCommittedStream #1248

merged 1 commit into from
Aug 23, 2021

Conversation

bphenriques
Copy link
Contributor

@bphenriques bphenriques commented Aug 19, 2021

See details in #1246 .

This is a suggestion from Google's support (Case#28707078) which I am documenting here in case others stumble upon this issue.

It is odd that passing the client triggers the error therefore this PR only aims to fix the sample rather than working out the production code (which is still in PRE-GA so issues are expected). Feel free to close this PR if the production code is fixed instead in the meantime (which is preferable).

Let me know if I need add more details on the issue. I omitted as the linked ticket includes the details.

Fixes #1246 ☕️


Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • [ ] Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

@product-auto-label product-auto-label bot added the api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. label Aug 19, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 19, 2021
…tedStream`

The sample yields a `PERMISSION_DENIED` error if we pass the `client` even if the regions are compatible and the authenticated gcloud agent/service has the required permissions.

More details on:
https://issuetracker.google.com/issues/196338290
@bphenriques bphenriques changed the title Fix PERMISSION_DENIED in WriteCommittedStream docs(sample): Fix PERMISSION_DENIED in WriteCommittedStream Aug 19, 2021
@bphenriques bphenriques marked this pull request as ready for review August 19, 2021 09:48
@stephaniewang526 stephaniewang526 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 19, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 19, 2021
@stephaniewang526
Copy link
Contributor

could you share the buganizer ticket related to this please?

@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Aug 20, 2021
@bphenriques
Copy link
Contributor Author

I only have access to https://issuetracker.google.com/issues/196338290

Another ticket (where the resolution was proposed) was created in my behalf by a colleague of mine, therefore I do not have permissions. I only have access to the email thread which says that it is case #28707078.

@stephaniewang526 stephaniewang526 merged commit 6d38bd5 into googleapis:master Aug 23, 2021
gcf-merge-on-green bot pushed a commit that referenced this pull request Aug 24, 2021
shubhwip pushed a commit to shubhwip/java-bigquerystorage that referenced this pull request Oct 7, 2023
shubhwip pushed a commit to shubhwip/java-bigquerystorage that referenced this pull request Oct 7, 2023
🤖 I have created a release *beep* *boop*
---


## [0.127.3](https://github.com/googleapis/java-storage-nio/compare/v0.127.2...v0.127.3) (2023-09-13)


### Dependencies

* Update actions/checkout action to v4 ([googleapis#1245](https://github.com/googleapis/java-storage-nio/issues/1245)) ([9d0a175](https://github.com/googleapis/java-storage-nio/commit/9d0a17581020058a35c592dce895a7e601faf584))
* Update dependency com.google.apis:google-api-services-storage to v1-rev20230710-2.0.0 ([googleapis#1238](https://github.com/googleapis/java-storage-nio/issues/1238)) ([51b12aa](https://github.com/googleapis/java-storage-nio/commit/51b12aa6044407220f8461e92c673607406fd719))
* Update dependency com.google.apis:google-api-services-storage to v1-rev20230907-2.0.0 ([googleapis#1249](https://github.com/googleapis/java-storage-nio/issues/1249)) ([d362b23](https://github.com/googleapis/java-storage-nio/commit/d362b230aae976ab2ff1eb92da67f34da38fe183))
* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.15.0 ([googleapis#1248](https://github.com/googleapis/java-storage-nio/issues/1248)) ([173db6b](https://github.com/googleapis/java-storage-nio/commit/173db6b6f5dd83a0c25e43f28fe8bf6a28c73c9a))
* Update dependency com.google.cloud:google-cloud-storage to v2.26.1 ([googleapis#1239](https://github.com/googleapis/java-storage-nio/issues/1239)) ([2a0866a](https://github.com/googleapis/java-storage-nio/commit/2a0866adc21f0df5370d20f942a47c5f7cd57496))
* Update dependency com.google.cloud:google-cloud-storage to v2.27.0 ([googleapis#1250](https://github.com/googleapis/java-storage-nio/issues/1250)) ([cd51778](https://github.com/googleapis/java-storage-nio/commit/cd51778387c2635df29fabb445be19505492c9d2))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. cla: yes This human has signed the Contributor License Agreement. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BigQueryStorage PERMISSION_DENIED in the WriteCommitedStream sample
4 participants