googleapis / googleapis/google-cloud-java
[java-storage] support partial Path uploads
Open
api: storage
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 154
Description
`Storage.createFrom(BlobInfo blobInfo, Path path, BlobWriteOption... options)` allows uploading directly from a file system. It would be useful to be able to upload a range of a file instead of the entire file. This feature would also be useful on `MultiPartUploadClient`, where it would be useful to be able to invoke `uploadPart` on a portion of a file.
Ideally, `Storage.createFrom` would have an overload that took a `Path, offset, size` and `RequestBody.of` would have an overload take took a `Path, offset, size`.
Contributor guide
Assessment
This issue has not been assessed yet.