File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,6 +36,30 @@ var util = require('../common/util.js');
3636 * object or bucket (for example, `READ` or `WRITE`); the scope defines who the
3737 * permission applies to (for example, a specific user or group of users).
3838 *
39+ * Where a `scope` value is accepted, we follow the format the Cloud Storage API
40+ * expects.
41+ *
42+ * Refer to
43+ * https://cloud.google.com/storage/docs/json_api/v1/defaultObjectAccessControls
44+ * for the most up-to-date values.
45+ *
46+ * - `user-userId`
47+ * - `user-email`
48+ * - `group-groupId`
49+ * - `group-email`
50+ * - `domain-domain`
51+ * - `project-team-projectId`
52+ * - `allUsers`
53+ * - `allAuthenticatedUsers`
54+ *
55+ * Examples:
56+ *
57+ * - The user "liz@example.com" would be `user-liz@example.com`.
58+ * - The group "example@googlegroups.com" would be
59+ * `group-example@googlegroups.com`.
60+ * - To refer to all members of the Google Apps for Business domain
61+ * "example.com", the entity would be `domain-example.com`.
62+ *
3963 * For more detailed information, see
4064 * [About Access Control Lists](http://goo.gl/6qBBPO).
4165 *
You can’t perform that action at this time.
0 commit comments