-
Notifications
You must be signed in to change notification settings - Fork 2k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add storage batch operations samples #4180
Conversation
e7476df to
c1d08bd
Compare
Here is the summary of changes.
You are about to add 6 region tags.
- storagebatchoperations/cancelJob.js:25, tag
storage_batch_cancel_job - storagebatchoperations/createJob.js:25, tag
storage_batch_create_job - storagebatchoperations/deleteJob.js:25, tag
storage_batch_delete_job - storagebatchoperations/getJob.js:25, tag
storage_batch_get_job - storagebatchoperations/listJobs.js:25, tag
storage_batch_list_jobs - storagebatchoperations/quickstart.js:25, tag
storage_batch_quickstart
This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:
- Refresh this comment
c1d08bd to
b424e2c
Compare
thiyaguk09
commented
Sep 22, 2025
@ddelgrosso1 Just a friendly reminder to review this PR when you get a chance. Thanks!
thiyaguk09
commented
Sep 30, 2025
@ddelgrosso1 Could you please merge this PR if possible?
fb51efe to
6f5d870
Compare
@chandra-siri
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.
...on & Error Handling) Improve the robustness and clarity of the Storage Batch Operations API samples: * **Error Handling:** Wraps all asynchronous Batch Operations API samples (Create, Get, List, Cancel) in `try...catch` blocks for production readiness. * **Specific Diagnostics:** Adds specific gRPC error code checks (`NOT_FOUND`, `FAILED_PRECONDITION`) within the `catch` blocks to provide detailed diagnostic feedback to users regarding job state or non-existence. * **Documentation:** Clarifies JSDoc for all function parameters (e.g., `projectId`, `jobId`, `objectPrefix`), ensuring examples and types are clear for developers.
6f5d870 to
7dceecc
Compare
ddelgrosso1
commented
Oct 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
commented
Oct 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
commented
Nov 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(see Testing)npm run lint(see Style)GoogleCloudPlatform/nodejs-docs-samples. Not a fork.