googleapis / googleapis/google-cloud-java
[java-storage] allow cancelling a resumable upload
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 154
Description
Thanks for stopping by to let us know something could be better!
**Is your feature request related to a problem? Please describe.**
The underlying resumable upload API allows [canceling an upload](https://cloud.google.com/storage/docs/performing-resumable-uploads#cancel-upload). However, the `WriteChannel` returned by the `Storage.writer` methods has no way to cancel the upload.
**Describe the solution you'd like**
Add an API like `cancel` to the object returned from `Storage.write`.
**Describe alternatives you've considered**
n/a
**Additional context**
Any other context or screenshots about the feature request.
Contributor guide
Assessment
This issue has not been assessed yet.