googleapis / googleapis/google-cloud-java

[java-storage] allow cancelling a resumable upload

Offen
#12,639 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
api: storage type: feature request
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.