Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
该库是最近公布的,它比旧的 google api 客户端http://googlecloudplatform.blogspot.jp/2014/09/gcloud-node-google-cloud-platform-client-library-for-nodejs 使用起来要简单得多。 html
您可以使用 ACL 元数据设置它们,如下所示:
bucket.createWriteStream(filename, { 'acl': [ { "entity": "allUsers", "role": "READER" } ] });
这会将对象设置为公共。