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

Allow for upload id to be retrieved or created by Storage api #691

Open
tomcham opened this issue Jan 25, 2021 · 2 comments
Open

Allow for upload id to be retrieved or created by Storage api #691

tomcham opened this issue Jan 25, 2021 · 2 comments
Labels
api: storage Issues related to the googleapis/java-storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@tomcham
Copy link

tomcham commented Jan 25, 2021

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Is your feature request related to a problem? Please describe.
What the problem is. Example: I'm always frustrated when [...]

Describe the solution you'd like
I'm using WriteChannel returned by https://googleapis.dev/java/google-cloud-storage/latest/com/google/cloud/storage/Storage.html#writer-com.google.cloud.storage.BlobInfo-com.google.cloud.storage.Storage.BlobWriteOption...- for streaming uploads. I have a use case where there is another process that might take over the resumable session, but in order to do that I need the upload id. Is it possible expose the upload id or allow creation of a resumable upload session?

Describe alternatives you've considered
Use WriteChannel#capture and serialize the object but is overly complex for my use case.

Additional context
Any other context or screenshots about the feature request.

@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/java-storage API. label Jan 25, 2021
@frankyn frankyn added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Jan 25, 2021
@frankyn frankyn self-assigned this Jan 25, 2021
@frankyn frankyn removed their assignment Apr 19, 2021
@tomcham
Copy link
Author

tomcham commented Sep 7, 2023

Hello, any plans to support this?

@tomcham
Copy link
Author

tomcham commented Sep 11, 2023

@frankyn @BenWhitehead Any guidance on how to get the upload id after invoking Storage#writer? I couldn't find any public methods that expose this.

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 googleapis/java-storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants