-
Notifications
You must be signed in to change notification settings - Fork 639
Closed
Labels
🚨This issue needs some love.This issue needs some love.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.triage meI really want to be triaged.I really want to be triaged.
Milestone
Description
The web interface supports a shared-publicly checkbox (see screenshot below). We should support this functionality for easy-share links! BAM!
Something like this:
bucket.makePublic('filename.png', function(err, public_url) {
console.log(public_url); // https://storage.googleapis.com/bucket-name/filename.png
}); // could also return file stat instead of public url for more info
bucket.makePrivate('filename.png', function(err, stat) {
console.log(stat.acl); // [] (assuming acl is the ObjectAccessControls object here)
});Screenshot:
Metadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.triage meI really want to be triaged.I really want to be triaged.
