googleapis / googleapis/google-cloud-java

[java-storage] allow cancelling a resumable upload

Aperta
#12,639 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
api: storage type: feature request
Lingua principale
Java
Stelle
2.1k
Fork
1.2k
Merge medio
1g 23h
PR unite (30g)
154

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.