Skip to content
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

Support starting a resumable upload #819

Closed
stephenplusplus opened this issue Aug 24, 2015 · 4 comments
Closed

Support starting a resumable upload #819

stephenplusplus opened this issue Aug 24, 2015 · 4 comments
Assignees
Labels
api: storage Issues related to the Cloud Storage API.

Comments

@stephenplusplus
Copy link
Contributor

We should break apart the steps to start and create a resumable upload, supporting use cases like #818.

@stephenplusplus stephenplusplus added enhancement api: storage Issues related to the Cloud Storage API. labels Aug 24, 2015
@stephenplusplus stephenplusplus self-assigned this Aug 24, 2015
@stephenplusplus
Copy link
Contributor Author

I added a createURI function to gcs-resumable-upload: https://github.com/stephenplusplus/gcs-resumable-upload#uploadcreateuriconfig-callback

@jgeewax should we still add a method in gcloud-node to call out to that, or just let users use gcs-resumable-upload for that functionality?

@ghost
Copy link

ghost commented Sep 2, 2015

@stephenplusplus I see that gcs-resumable-upload is a dependency of gcloud-node. After initializing gcloud, how do I call createURI without requiring gcs-resumable-upload separately?

@stephenplusplus
Copy link
Contributor Author

That's what I was wondering if we should support, and based on you asking, I think it's fair to say we should! As of now, a release with gcs-resumable-upload hasn't been made, so I will try to get that in before we get out 0.21.0. For now, you can use the module directly to get the uri.

@stephenplusplus
Copy link
Contributor Author

Added in #852 - @winduptoy feel free to pull down my branch and give it a shot. Feedback is very welcome!

$ npm install --save stephenplusplus/gcloud-node#spp--storage-allow-starting-resumable-uploads

sofisl pushed a commit that referenced this issue Jan 17, 2023
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/ba2d388f-b3b2-4ad7-a163-0c6b4d86894f/targets

- [ ] To automatically regenerate this PR, check this box.

Source-Link: googleapis/synthtool@05de3e1
sofisl pushed a commit that referenced this issue Jan 24, 2023
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408439482

Source-Link: googleapis/googleapis@b9f6184

Source-Link: googleapis/googleapis-gen@eb888bc
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
sofisl pushed a commit that referenced this issue Jan 25, 2023
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408439482

Source-Link: googleapis/googleapis@b9f6184

Source-Link: googleapis/googleapis-gen@eb888bc
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API.
Projects
None yet
Development

No branches or pull requests

1 participant