googleapis / googleapis/google-cloud-java
[java-storage] allow cancelling a resumable upload
- Ngôn ngữ chính
- Java
- Star
- 2.1k
- Fork
- 1.2k
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 157
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.