googleapis / googleapis/google-cloud-java

[java-storage] support partial Path uploads

Open
#13,705 2 comments 0 reactions 1 assignee Claimed by @ShreyasSinha View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.