googleapis / googleapis/google-cloud-java

[java-storage] allow cancelling a resumable upload

Đang mở
#12,639 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
api: storage type: feature request
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.