alpakka
alpakka copied to clipboard
Utility to Update ACL for Google Store Objects
I am using the below code to upload an object in my Google Object store bucket
val gcpSink = GCStorage.resumableUpload(bucketName, objectName, ContentTypes.`text/plain(UTF-8)`, 256 * 1024 * 4)
val result: Future[StorageObject] = fileStream.runWith(gcpSink)
Once this object is uploaded, we need to manually update its ACL to make it publically available.
The request is to make the utility for updating the ACL of an object available.