-
Notifications
You must be signed in to change notification settings - Fork 639
Description
Trying to upload a file with a predefinedAcl of 'publicRead' i.e. apply acl of allUsers = READABLE and owner has full access. This applies a simple query parameter to the request which we have no access to apply with the current library. I'm guessing this is by design but I can see a scenario in the future where a single developer is happily using this library and then wants to do something slightly outside the "norm" (where we decide what the norm is?) and therefore they can't use this library anymore to get the job done, so they abandon using this library. 😦
I mean, perhaps we could "open" this small functionality as:
bucket.write('filename.png', {
data: data,
metadata: {},
public: true // will apply ?predefinedAcl=publicRead to URL
}, callback);But the bigger question still remains:
How do we choose what to include and exclude from this library? Who decides what features exposed by the API make the cut in our library? Why would I ever choose to use gcloud in the first place if it's explicitly designed to leave out features that I don't know if I need to use yet?