- Notifications
You must be signed in to change notification settings - Fork2k
feat: add storage batch operations samples#4180
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
feat: add storage batch operations samples#4180
Uh oh!
There was an error while loading.Please reload this page.
Conversation
e7476df toc1d08bdComparesnippet-botbot commentedSep 12, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Here is the summary of changes. You are about to add 6 region tags.
This comment is generated bysnippet-bot.
|
c1d08bd tob424e2cComparethiyaguk09 commentedSep 22, 2025
@ddelgrosso1 Just a friendly reminder to review this PR when you get a chance. Thanks! |
thiyaguk09 commentedSep 30, 2025
@ddelgrosso1 Could you please merge this PR if possible? |
fb51efe to6f5d870Compare
chandra-siri left a comment
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.
Added a minor comment. Nothing blocking.
Uh oh!
There was an error while loading.Please reload this page.
…on & Error Handling)Improve the robustness and clarity of the Storage Batch Operations APIsamples:* **Error Handling:** Wraps all asynchronous Batch Operations APIsamples (Create, Get, List, Cancel) in `try...catch` blocks forproduction readiness.* **Specific Diagnostics:** Adds specific gRPC error code checks(`NOT_FOUND`, `FAILED_PRECONDITION`) within the `catch` blocks toprovide detailed diagnostic feedback to users regarding job state ornon-existence.* **Documentation:** Clarifies JSDoc for all function parameters (e.g.,`projectId`, `jobId`, `objectPrefix`), ensuring examples and types areclear for developers.
6f5d870 to7dceeccCompareddelgrosso1 commentedOct 27, 2025
Looks like Storage Intelligence is not enabled for the long-door-651 project. You will need to reach out to a member of the Cloud SDK Node team to get it enabled. |
thiyaguk09 commentedOct 30, 2025
@ddelgrosso1 Storage Intelligence permission has been enabled, and I am currently unable to run tests from my end. Could you please review it once? |
thiyaguk09 commentedNov 18, 2025
@ddelgrosso1,@chandra-siri Could you please run the test cases again? I don't have permission to do so on my end. I have received confirmation that Storage Intelligence permission has been granted. |
Description
Fixes #
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist
npm test(seeTesting)npm run lint(seeStyle)GoogleCloudPlatform/nodejs-docs-samples. Not a fork.