blob: 0b6edf46c6fb3f66d2a0c700c59c53ba17e56f65 [file] [log] [blame]
Craig Citro065b5302014-08-14 00:47:23 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -080075<h1><a href="storage_v1.html">Cloud Storage JSON API</a> . <a href="storage_v1.defaultObjectAccessControls.html">defaultObjectAccessControls</a></h1>
Craig Citro065b5302014-08-14 00:47:23 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070081 <code><a href="#delete">delete(bucket, entity, provisionalUserProject=None, userProject=None)</a></code></p>
Craig Citro065b5302014-08-14 00:47:23 -070082<p class="firstline">Permanently deletes the default object ACL entry for the specified entity on the specified bucket.</p>
83<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070084 <code><a href="#get">get(bucket, entity, provisionalUserProject=None, userProject=None)</a></code></p>
Craig Citro065b5302014-08-14 00:47:23 -070085<p class="firstline">Returns the default object ACL entry for the specified entity on the specified bucket.</p>
86<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070087 <code><a href="#insert">insert(bucket, body=None, provisionalUserProject=None, userProject=None)</a></code></p>
Craig Citro065b5302014-08-14 00:47:23 -070088<p class="firstline">Creates a new default object ACL entry on the specified bucket.</p>
89<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070090 <code><a href="#list">list(bucket, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None, provisionalUserProject=None, userProject=None)</a></code></p>
Craig Citro065b5302014-08-14 00:47:23 -070091<p class="firstline">Retrieves default object ACL entries on the specified bucket.</p>
92<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070093 <code><a href="#patch">patch(bucket, entity, body=None, provisionalUserProject=None, userProject=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070094<p class="firstline">Patches a default object ACL entry on the specified bucket.</p>
Craig Citro065b5302014-08-14 00:47:23 -070095<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070096 <code><a href="#update">update(bucket, entity, body=None, provisionalUserProject=None, userProject=None)</a></code></p>
Craig Citro065b5302014-08-14 00:47:23 -070097<p class="firstline">Updates a default object ACL entry on the specified bucket.</p>
98<h3>Method Details</h3>
99<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102</div>
103
104<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700105 <code class="details" id="delete">delete(bucket, entity, provisionalUserProject=None, userProject=None)</code>
Craig Citro065b5302014-08-14 00:47:23 -0700106 <pre>Permanently deletes the default object ACL entry for the specified entity on the specified bucket.
107
108Args:
109 bucket: string, Name of a bucket. (required)
110 entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700111 provisionalUserProject: string, The project to be billed for this request if the target bucket is requester-pays bucket.
Bu Sun Kim65020912020-05-20 12:08:20 -0700112 userProject: string, The project to be billed for this request. Required for Requester Pays buckets.
Craig Citro065b5302014-08-14 00:47:23 -0700113</pre>
114</div>
115
116<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700117 <code class="details" id="get">get(bucket, entity, provisionalUserProject=None, userProject=None)</code>
Craig Citro065b5302014-08-14 00:47:23 -0700118 <pre>Returns the default object ACL entry for the specified entity on the specified bucket.
119
120Args:
121 bucket: string, Name of a bucket. (required)
122 entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700123 provisionalUserProject: string, The project to be billed for this request if the target bucket is requester-pays bucket.
Bu Sun Kim65020912020-05-20 12:08:20 -0700124 userProject: string, The project to be billed for this request. Required for Requester Pays buckets.
Craig Citro065b5302014-08-14 00:47:23 -0700125
126Returns:
127 An object of the form:
128
129 { # An access-control entry.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800130 &quot;bucket&quot;: &quot;A String&quot;, # The name of the bucket.
131 &quot;domain&quot;: &quot;A String&quot;, # The domain associated with the entity, if any.
132 &quot;email&quot;: &quot;A String&quot;, # The email address associated with the entity, if any.
133 &quot;entity&quot;: &quot;A String&quot;, # The entity holding the permission, in one of the following forms:
134 # - user-userId
135 # - user-email
136 # - group-groupId
137 # - group-email
138 # - domain-domain
139 # - project-team-projectId
140 # - allUsers
141 # - allAuthenticatedUsers Examples:
142 # - The user liz@example.com would be user-liz@example.com.
143 # - The group example@googlegroups.com would be group-example@googlegroups.com.
144 # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
145 &quot;entityId&quot;: &quot;A String&quot;, # The ID for the entity, if any.
146 &quot;etag&quot;: &quot;A String&quot;, # HTTP 1.1 Entity tag for the access-control entry.
147 &quot;generation&quot;: &quot;A String&quot;, # The content generation of the object, if applied to an object.
148 &quot;id&quot;: &quot;A String&quot;, # The ID of the access-control entry.
149 &quot;kind&quot;: &quot;storage#objectAccessControl&quot;, # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
150 &quot;object&quot;: &quot;A String&quot;, # The name of the object, if applied to an object.
151 &quot;projectTeam&quot;: { # The project team associated with the entity, if any.
152 &quot;projectNumber&quot;: &quot;A String&quot;, # The project number.
153 &quot;team&quot;: &quot;A String&quot;, # The team.
154 },
155 &quot;role&quot;: &quot;A String&quot;, # The access permission for the entity.
156 &quot;selfLink&quot;: &quot;A String&quot;, # The link to this access-control entry.
157}</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700158</div>
159
160<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700161 <code class="details" id="insert">insert(bucket, body=None, provisionalUserProject=None, userProject=None)</code>
Craig Citro065b5302014-08-14 00:47:23 -0700162 <pre>Creates a new default object ACL entry on the specified bucket.
163
164Args:
165 bucket: string, Name of a bucket. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700166 body: object, The request body.
Craig Citro065b5302014-08-14 00:47:23 -0700167 The object takes the form of:
168
169{ # An access-control entry.
Bu Sun Kim65020912020-05-20 12:08:20 -0700170 &quot;bucket&quot;: &quot;A String&quot;, # The name of the bucket.
171 &quot;domain&quot;: &quot;A String&quot;, # The domain associated with the entity, if any.
172 &quot;email&quot;: &quot;A String&quot;, # The email address associated with the entity, if any.
173 &quot;entity&quot;: &quot;A String&quot;, # The entity holding the permission, in one of the following forms:
Craig Citro065b5302014-08-14 00:47:23 -0700174 # - user-userId
175 # - user-email
176 # - group-groupId
177 # - group-email
178 # - domain-domain
179 # - project-team-projectId
180 # - allUsers
181 # - allAuthenticatedUsers Examples:
182 # - The user liz@example.com would be user-liz@example.com.
183 # - The group example@googlegroups.com would be group-example@googlegroups.com.
184 # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
Bu Sun Kim65020912020-05-20 12:08:20 -0700185 &quot;entityId&quot;: &quot;A String&quot;, # The ID for the entity, if any.
186 &quot;etag&quot;: &quot;A String&quot;, # HTTP 1.1 Entity tag for the access-control entry.
187 &quot;generation&quot;: &quot;A String&quot;, # The content generation of the object, if applied to an object.
188 &quot;id&quot;: &quot;A String&quot;, # The ID of the access-control entry.
189 &quot;kind&quot;: &quot;storage#objectAccessControl&quot;, # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
190 &quot;object&quot;: &quot;A String&quot;, # The name of the object, if applied to an object.
191 &quot;projectTeam&quot;: { # The project team associated with the entity, if any.
192 &quot;projectNumber&quot;: &quot;A String&quot;, # The project number.
193 &quot;team&quot;: &quot;A String&quot;, # The team.
Craig Citro065b5302014-08-14 00:47:23 -0700194 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700195 &quot;role&quot;: &quot;A String&quot;, # The access permission for the entity.
196 &quot;selfLink&quot;: &quot;A String&quot;, # The link to this access-control entry.
Craig Citro065b5302014-08-14 00:47:23 -0700197}
198
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700199 provisionalUserProject: string, The project to be billed for this request if the target bucket is requester-pays bucket.
Bu Sun Kim65020912020-05-20 12:08:20 -0700200 userProject: string, The project to be billed for this request. Required for Requester Pays buckets.
Craig Citro065b5302014-08-14 00:47:23 -0700201
202Returns:
203 An object of the form:
204
205 { # An access-control entry.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800206 &quot;bucket&quot;: &quot;A String&quot;, # The name of the bucket.
207 &quot;domain&quot;: &quot;A String&quot;, # The domain associated with the entity, if any.
208 &quot;email&quot;: &quot;A String&quot;, # The email address associated with the entity, if any.
209 &quot;entity&quot;: &quot;A String&quot;, # The entity holding the permission, in one of the following forms:
210 # - user-userId
211 # - user-email
212 # - group-groupId
213 # - group-email
214 # - domain-domain
215 # - project-team-projectId
216 # - allUsers
217 # - allAuthenticatedUsers Examples:
218 # - The user liz@example.com would be user-liz@example.com.
219 # - The group example@googlegroups.com would be group-example@googlegroups.com.
220 # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
221 &quot;entityId&quot;: &quot;A String&quot;, # The ID for the entity, if any.
222 &quot;etag&quot;: &quot;A String&quot;, # HTTP 1.1 Entity tag for the access-control entry.
223 &quot;generation&quot;: &quot;A String&quot;, # The content generation of the object, if applied to an object.
224 &quot;id&quot;: &quot;A String&quot;, # The ID of the access-control entry.
225 &quot;kind&quot;: &quot;storage#objectAccessControl&quot;, # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
226 &quot;object&quot;: &quot;A String&quot;, # The name of the object, if applied to an object.
227 &quot;projectTeam&quot;: { # The project team associated with the entity, if any.
228 &quot;projectNumber&quot;: &quot;A String&quot;, # The project number.
229 &quot;team&quot;: &quot;A String&quot;, # The team.
230 },
231 &quot;role&quot;: &quot;A String&quot;, # The access permission for the entity.
232 &quot;selfLink&quot;: &quot;A String&quot;, # The link to this access-control entry.
233}</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700234</div>
235
236<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700237 <code class="details" id="list">list(bucket, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None, provisionalUserProject=None, userProject=None)</code>
Craig Citro065b5302014-08-14 00:47:23 -0700238 <pre>Retrieves default object ACL entries on the specified bucket.
239
240Args:
241 bucket: string, Name of a bucket. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700242 ifMetagenerationMatch: string, If present, only return default ACL listing if the bucket&#x27;s current metageneration matches this value.
243 ifMetagenerationNotMatch: string, If present, only return default ACL listing if the bucket&#x27;s current metageneration does not match the given value.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700244 provisionalUserProject: string, The project to be billed for this request if the target bucket is requester-pays bucket.
Bu Sun Kim65020912020-05-20 12:08:20 -0700245 userProject: string, The project to be billed for this request. Required for Requester Pays buckets.
Craig Citro065b5302014-08-14 00:47:23 -0700246
247Returns:
248 An object of the form:
249
250 { # An access-control list.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800251 &quot;items&quot;: [ # The list of items.
252 { # An access-control entry.
253 &quot;bucket&quot;: &quot;A String&quot;, # The name of the bucket.
254 &quot;domain&quot;: &quot;A String&quot;, # The domain associated with the entity, if any.
255 &quot;email&quot;: &quot;A String&quot;, # The email address associated with the entity, if any.
256 &quot;entity&quot;: &quot;A String&quot;, # The entity holding the permission, in one of the following forms:
257 # - user-userId
258 # - user-email
259 # - group-groupId
260 # - group-email
261 # - domain-domain
262 # - project-team-projectId
263 # - allUsers
264 # - allAuthenticatedUsers Examples:
265 # - The user liz@example.com would be user-liz@example.com.
266 # - The group example@googlegroups.com would be group-example@googlegroups.com.
267 # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
268 &quot;entityId&quot;: &quot;A String&quot;, # The ID for the entity, if any.
269 &quot;etag&quot;: &quot;A String&quot;, # HTTP 1.1 Entity tag for the access-control entry.
270 &quot;generation&quot;: &quot;A String&quot;, # The content generation of the object, if applied to an object.
271 &quot;id&quot;: &quot;A String&quot;, # The ID of the access-control entry.
272 &quot;kind&quot;: &quot;storage#objectAccessControl&quot;, # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
273 &quot;object&quot;: &quot;A String&quot;, # The name of the object, if applied to an object.
274 &quot;projectTeam&quot;: { # The project team associated with the entity, if any.
275 &quot;projectNumber&quot;: &quot;A String&quot;, # The project number.
276 &quot;team&quot;: &quot;A String&quot;, # The team.
Sai Cheemalapatiea3a5e12016-10-12 14:05:53 -0700277 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800278 &quot;role&quot;: &quot;A String&quot;, # The access permission for the entity.
279 &quot;selfLink&quot;: &quot;A String&quot;, # The link to this access-control entry.
280 },
281 ],
282 &quot;kind&quot;: &quot;storage#objectAccessControls&quot;, # The kind of item this is. For lists of object access control entries, this is always storage#objectAccessControls.
283}</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700284</div>
285
286<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700287 <code class="details" id="patch">patch(bucket, entity, body=None, provisionalUserProject=None, userProject=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700288 <pre>Patches a default object ACL entry on the specified bucket.
Craig Citro065b5302014-08-14 00:47:23 -0700289
290Args:
291 bucket: string, Name of a bucket. (required)
292 entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700293 body: object, The request body.
Craig Citro065b5302014-08-14 00:47:23 -0700294 The object takes the form of:
295
296{ # An access-control entry.
Bu Sun Kim65020912020-05-20 12:08:20 -0700297 &quot;bucket&quot;: &quot;A String&quot;, # The name of the bucket.
298 &quot;domain&quot;: &quot;A String&quot;, # The domain associated with the entity, if any.
299 &quot;email&quot;: &quot;A String&quot;, # The email address associated with the entity, if any.
300 &quot;entity&quot;: &quot;A String&quot;, # The entity holding the permission, in one of the following forms:
Craig Citro065b5302014-08-14 00:47:23 -0700301 # - user-userId
302 # - user-email
303 # - group-groupId
304 # - group-email
305 # - domain-domain
306 # - project-team-projectId
307 # - allUsers
308 # - allAuthenticatedUsers Examples:
309 # - The user liz@example.com would be user-liz@example.com.
310 # - The group example@googlegroups.com would be group-example@googlegroups.com.
311 # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
Bu Sun Kim65020912020-05-20 12:08:20 -0700312 &quot;entityId&quot;: &quot;A String&quot;, # The ID for the entity, if any.
313 &quot;etag&quot;: &quot;A String&quot;, # HTTP 1.1 Entity tag for the access-control entry.
314 &quot;generation&quot;: &quot;A String&quot;, # The content generation of the object, if applied to an object.
315 &quot;id&quot;: &quot;A String&quot;, # The ID of the access-control entry.
316 &quot;kind&quot;: &quot;storage#objectAccessControl&quot;, # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
317 &quot;object&quot;: &quot;A String&quot;, # The name of the object, if applied to an object.
318 &quot;projectTeam&quot;: { # The project team associated with the entity, if any.
319 &quot;projectNumber&quot;: &quot;A String&quot;, # The project number.
320 &quot;team&quot;: &quot;A String&quot;, # The team.
Craig Citro065b5302014-08-14 00:47:23 -0700321 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700322 &quot;role&quot;: &quot;A String&quot;, # The access permission for the entity.
323 &quot;selfLink&quot;: &quot;A String&quot;, # The link to this access-control entry.
Craig Citro065b5302014-08-14 00:47:23 -0700324}
325
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700326 provisionalUserProject: string, The project to be billed for this request if the target bucket is requester-pays bucket.
Bu Sun Kim65020912020-05-20 12:08:20 -0700327 userProject: string, The project to be billed for this request. Required for Requester Pays buckets.
Craig Citro065b5302014-08-14 00:47:23 -0700328
329Returns:
330 An object of the form:
331
332 { # An access-control entry.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800333 &quot;bucket&quot;: &quot;A String&quot;, # The name of the bucket.
334 &quot;domain&quot;: &quot;A String&quot;, # The domain associated with the entity, if any.
335 &quot;email&quot;: &quot;A String&quot;, # The email address associated with the entity, if any.
336 &quot;entity&quot;: &quot;A String&quot;, # The entity holding the permission, in one of the following forms:
337 # - user-userId
338 # - user-email
339 # - group-groupId
340 # - group-email
341 # - domain-domain
342 # - project-team-projectId
343 # - allUsers
344 # - allAuthenticatedUsers Examples:
345 # - The user liz@example.com would be user-liz@example.com.
346 # - The group example@googlegroups.com would be group-example@googlegroups.com.
347 # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
348 &quot;entityId&quot;: &quot;A String&quot;, # The ID for the entity, if any.
349 &quot;etag&quot;: &quot;A String&quot;, # HTTP 1.1 Entity tag for the access-control entry.
350 &quot;generation&quot;: &quot;A String&quot;, # The content generation of the object, if applied to an object.
351 &quot;id&quot;: &quot;A String&quot;, # The ID of the access-control entry.
352 &quot;kind&quot;: &quot;storage#objectAccessControl&quot;, # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
353 &quot;object&quot;: &quot;A String&quot;, # The name of the object, if applied to an object.
354 &quot;projectTeam&quot;: { # The project team associated with the entity, if any.
355 &quot;projectNumber&quot;: &quot;A String&quot;, # The project number.
356 &quot;team&quot;: &quot;A String&quot;, # The team.
357 },
358 &quot;role&quot;: &quot;A String&quot;, # The access permission for the entity.
359 &quot;selfLink&quot;: &quot;A String&quot;, # The link to this access-control entry.
360}</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700361</div>
362
363<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700364 <code class="details" id="update">update(bucket, entity, body=None, provisionalUserProject=None, userProject=None)</code>
Craig Citro065b5302014-08-14 00:47:23 -0700365 <pre>Updates a default object ACL entry on the specified bucket.
366
367Args:
368 bucket: string, Name of a bucket. (required)
369 entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700370 body: object, The request body.
Craig Citro065b5302014-08-14 00:47:23 -0700371 The object takes the form of:
372
373{ # An access-control entry.
Bu Sun Kim65020912020-05-20 12:08:20 -0700374 &quot;bucket&quot;: &quot;A String&quot;, # The name of the bucket.
375 &quot;domain&quot;: &quot;A String&quot;, # The domain associated with the entity, if any.
376 &quot;email&quot;: &quot;A String&quot;, # The email address associated with the entity, if any.
377 &quot;entity&quot;: &quot;A String&quot;, # The entity holding the permission, in one of the following forms:
Craig Citro065b5302014-08-14 00:47:23 -0700378 # - user-userId
379 # - user-email
380 # - group-groupId
381 # - group-email
382 # - domain-domain
383 # - project-team-projectId
384 # - allUsers
385 # - allAuthenticatedUsers Examples:
386 # - The user liz@example.com would be user-liz@example.com.
387 # - The group example@googlegroups.com would be group-example@googlegroups.com.
388 # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
Bu Sun Kim65020912020-05-20 12:08:20 -0700389 &quot;entityId&quot;: &quot;A String&quot;, # The ID for the entity, if any.
390 &quot;etag&quot;: &quot;A String&quot;, # HTTP 1.1 Entity tag for the access-control entry.
391 &quot;generation&quot;: &quot;A String&quot;, # The content generation of the object, if applied to an object.
392 &quot;id&quot;: &quot;A String&quot;, # The ID of the access-control entry.
393 &quot;kind&quot;: &quot;storage#objectAccessControl&quot;, # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
394 &quot;object&quot;: &quot;A String&quot;, # The name of the object, if applied to an object.
395 &quot;projectTeam&quot;: { # The project team associated with the entity, if any.
396 &quot;projectNumber&quot;: &quot;A String&quot;, # The project number.
397 &quot;team&quot;: &quot;A String&quot;, # The team.
Craig Citro065b5302014-08-14 00:47:23 -0700398 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700399 &quot;role&quot;: &quot;A String&quot;, # The access permission for the entity.
400 &quot;selfLink&quot;: &quot;A String&quot;, # The link to this access-control entry.
Craig Citro065b5302014-08-14 00:47:23 -0700401}
402
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700403 provisionalUserProject: string, The project to be billed for this request if the target bucket is requester-pays bucket.
Bu Sun Kim65020912020-05-20 12:08:20 -0700404 userProject: string, The project to be billed for this request. Required for Requester Pays buckets.
Craig Citro065b5302014-08-14 00:47:23 -0700405
406Returns:
407 An object of the form:
408
409 { # An access-control entry.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800410 &quot;bucket&quot;: &quot;A String&quot;, # The name of the bucket.
411 &quot;domain&quot;: &quot;A String&quot;, # The domain associated with the entity, if any.
412 &quot;email&quot;: &quot;A String&quot;, # The email address associated with the entity, if any.
413 &quot;entity&quot;: &quot;A String&quot;, # The entity holding the permission, in one of the following forms:
414 # - user-userId
415 # - user-email
416 # - group-groupId
417 # - group-email
418 # - domain-domain
419 # - project-team-projectId
420 # - allUsers
421 # - allAuthenticatedUsers Examples:
422 # - The user liz@example.com would be user-liz@example.com.
423 # - The group example@googlegroups.com would be group-example@googlegroups.com.
424 # - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
425 &quot;entityId&quot;: &quot;A String&quot;, # The ID for the entity, if any.
426 &quot;etag&quot;: &quot;A String&quot;, # HTTP 1.1 Entity tag for the access-control entry.
427 &quot;generation&quot;: &quot;A String&quot;, # The content generation of the object, if applied to an object.
428 &quot;id&quot;: &quot;A String&quot;, # The ID of the access-control entry.
429 &quot;kind&quot;: &quot;storage#objectAccessControl&quot;, # The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
430 &quot;object&quot;: &quot;A String&quot;, # The name of the object, if applied to an object.
431 &quot;projectTeam&quot;: { # The project team associated with the entity, if any.
432 &quot;projectNumber&quot;: &quot;A String&quot;, # The project number.
433 &quot;team&quot;: &quot;A String&quot;, # The team.
434 },
435 &quot;role&quot;: &quot;A String&quot;, # The access permission for the entity.
436 &quot;selfLink&quot;: &quot;A String&quot;, # The link to this access-control entry.
437}</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700438</div>
439
440</body></html>