sample(storage-control): add Ruby delete_folder_recursive sample#34703
Open
nidhiii-27 wants to merge 9 commits into
Open
sample(storage-control): add Ruby delete_folder_recursive sample#34703nidhiii-27 wants to merge 9 commits into
nidhiii-27 wants to merge 9 commits into
Conversation
Updates compose file sample to support deleting source objects optionally. Fixes b/441557254 [Generated-by: AI]
Resolve comments in files_test.rb by adding assertions on source files and testing error scenarios. [Generated-by: AI]
Adds a Ruby code sample demonstrating hierarchical namespace recursive folder delete. Fixes: b/530059259 [Generated-by: AI]
Redefines StorageDownloadCommand#execute_once to skip chunk processing and offset modification for non-2xx status codes (e.g. 503 errors). This prevents range headers from being sent incorrectly on retry attempts. [Generated-by: AI]
5bc8902 to
d751a7b
Compare
|
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
Reverts a monkey patch in StorageDownloadCommand that was causing regressions in acceptance tests. Also sorts custom contexts in the storage_get_object_contexts sample to ensure consistent output and fix flaky tests. Additionally fixes a bug in the delete_folder_recursive sample entry point. [Generated-by: AI]
[Generated-by: AI]
[Generated-by: AI]
Fixed acceptance tests in google-cloud-storage that were broken by incorrect bucket references and restricted names. [Generated-by: AI]
torreypayne
approved these changes
Jul 6, 2026
Contributor
|
Since this is just adding samples, the conventional commit message should be either |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Ruby code sample demonstrating hierarchical namespace recursive folder delete.
Fixes: b/530059259
[Generated-by: AI]