feat: add storage batch operations samples#4180
feat: add storage batch operations samples#4180thiyaguk09 wants to merge 10 commits intoGoogleCloudPlatform:mainfrom
Conversation
e7476df to
c1d08bd
Compare
|
Here is the summary of changes. You are about to add 6 region tags.
This comment is generated by snippet-bot.
|
c1d08bd to
b424e2c
Compare
|
@ddelgrosso1 Just a friendly reminder to review this PR when you get a chance. Thanks! |
|
@ddelgrosso1 Could you please merge this PR if possible? |
fb51efe to
6f5d870
Compare
chandra-siri
left a comment
There was a problem hiding this comment.
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
|
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. |
|
@ddelgrosso1 Storage Intelligence permission has been enabled, and I am currently unable to run tests from my end. Could you please review it once? |
|
@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.