Sample Java code to do resumable/multipart upload in GCS

I found the documentation https://cloud.google.com/storage/docs/resumable-uploads#java to do resumable upload in GCS. While it mentions java client library has different methods to do resumable and multipart upload, there are no concrete examples for the same. I couldn't find any method to do multipart upload. Could anyone help here?

1 2 1,073
2 REPLIES 2

Hi @Deepikaa,

Welcome to Google Cloud Community!

You may want to check this link multi-part upload Google Storage. You can also file a feature request for Java Client library for multi part upload in Cloud Storage in this link.

Thanks

AmitD
New Member

Hello Community,

Is there any update on the multipart upload support in the native Java SDK,  Or we still need to follow the S3 implementation to achieve the same.

And there is one problem in S3 implementation, that it won't work in case of IAM ROLE authentication.