Skip to content

feat(storage): Restart & delete resumable upload #21896

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

Merged

Conversation

shubhangi-google
Copy link
Contributor

@shubhangi-google shubhangi-google commented Feb 27, 2025

Feature to support Restart and Delete resumable upload functionality

@example   

storage = Google::Cloud::Storage.new
bucket = storage.bucket bucket_name
## sample upload_id=  "AKDAyIs3wDvKFtl2e4PopZi-YtGZDxFr2vlR4Z58T6hL9Seypi5W2s7vrRe6-Qw5Fur79g11bT7MtcsSu-vYRkm5nVUKPpm_ciLPn65GQDqNMQ"
#Initiating Resumable upload 
bucket.create_file file, file_name
#Restarting  Resumable upload 
bucket.restart_resumable_upload file, upload_id
#Deleting Resumable upload 
bucket.delete_resumable_upload upload_id

Implementation linked with- googleapis/google-cloud-ruby#29215

@shubhangi-google shubhangi-google requested a review from a team as a code owner February 27, 2025 10:00
@shubhangi-google shubhangi-google marked this pull request as draft February 27, 2025 10:01
@shubhangi-google shubhangi-google changed the title feat(storage):Restart delete resumable upload feat(storage): Restart delete resumable upload Feb 27, 2025
@shubhangi-google shubhangi-google marked this pull request as ready for review March 11, 2025 04:08
@shubhangi-google shubhangi-google marked this pull request as draft April 24, 2025 12:05
@shubhangi-google shubhangi-google marked this pull request as ready for review May 2, 2025 09:23
@bajajneha27 bajajneha27 changed the title feat(storage): Restart delete resumable upload feat(storage): Restart & delete resumable upload May 2, 2025
Copy link
Contributor

@bajajneha27 bajajneha27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a couple of questions. The review is getting stretched but we're nearly there.
I'm going to take another round of review to be sure of the design once again. Thanks.

shubhangi-google and others added 3 commits May 13, 2025 11:08
Co-authored-by: Neha Bajaj <bajajneha27@users.noreply.github.com>
shubhangi-google and others added 2 commits May 19, 2025 11:32
Co-authored-by: Neha Bajaj <bajajneha27@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants