Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: discovery/googleapis/storage__v1.json

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/devstorage.full_control": {
6 "description": "Manage your data and permissions in Google C loud Storage"
7 },
8 "https://www.googleapis.com/auth/devstorage.read_only": {
9 "description": "View your data in Google Cloud Storage"
10 },
11 "https://www.googleapis.com/auth/devstorage.read_write": {
12 "description": "Manage your data in Google Cloud Storage"
13 }
14 }
15 }
16 },
17 "basePath": "/storage/v1/",
18 "baseUrl": "https://www.googleapis.com/storage/v1/",
19 "batchPath": "batch",
20 "description": "Lets you store and retrieve potentially-large, immutable dat a objects.",
21 "discoveryVersion": "v1",
22 "documentationLink": "https://developers.google.com/storage/docs/json_api/",
23 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/OhKztLK4Ii8Zk7OTAP7hk0RY9sE\"",
24 "icons": {
25 "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png ",
26 "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png "
27 },
28 "id": "storage:v1",
29 "kind": "discovery#restDescription",
30 "labels": [
31 "labs"
32 ],
33 "name": "storage",
34 "ownerDomain": "google.com",
35 "ownerName": "Google",
36 "parameters": {
37 "alt": {
38 "default": "json",
39 "description": "Data format for the response.",
40 "enum": [
41 "json"
42 ],
43 "enumDescriptions": [
44 "Responses with Content-Type of application/json"
45 ],
46 "location": "query",
47 "type": "string"
48 },
49 "fields": {
50 "description": "Selector specifying which fields to include in a par tial response.",
51 "location": "query",
52 "type": "string"
53 },
54 "key": {
55 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
56 "location": "query",
57 "type": "string"
58 },
59 "oauth_token": {
60 "description": "OAuth 2.0 token for the current user.",
61 "location": "query",
62 "type": "string"
63 },
64 "prettyPrint": {
65 "default": "true",
66 "description": "Returns response with indentations and line breaks." ,
67 "location": "query",
68 "type": "boolean"
69 },
70 "quotaUser": {
71 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters. Overrides userIp if both are provided.",
72 "location": "query",
73 "type": "string"
74 },
75 "userIp": {
76 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
77 "location": "query",
78 "type": "string"
79 }
80 },
81 "protocol": "rest",
82 "resources": {
83 "bucketAccessControls": {
84 "methods": {
85 "delete": {
86 "description": "Permanently deletes the ACL entry for the sp ecified entity on the specified bucket.",
87 "httpMethod": "DELETE",
88 "id": "storage.bucketAccessControls.delete",
89 "parameterOrder": [
90 "bucket",
91 "entity"
92 ],
93 "parameters": {
94 "bucket": {
95 "description": "Name of a bucket.",
96 "location": "path",
97 "required": true,
98 "type": "string"
99 },
100 "entity": {
101 "description": "The entity holding the permission. C an be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUser s, or allAuthenticatedUsers.",
102 "location": "path",
103 "required": true,
104 "type": "string"
105 }
106 },
107 "path": "b/{bucket}/acl/{entity}",
108 "scopes": [
109 "https://www.googleapis.com/auth/devstorage.full_control "
110 ]
111 },
112 "get": {
113 "description": "Returns the ACL entry for the specified enti ty on the specified bucket.",
114 "httpMethod": "GET",
115 "id": "storage.bucketAccessControls.get",
116 "parameterOrder": [
117 "bucket",
118 "entity"
119 ],
120 "parameters": {
121 "bucket": {
122 "description": "Name of a bucket.",
123 "location": "path",
124 "required": true,
125 "type": "string"
126 },
127 "entity": {
128 "description": "The entity holding the permission. C an be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUser s, or allAuthenticatedUsers.",
129 "location": "path",
130 "required": true,
131 "type": "string"
132 }
133 },
134 "path": "b/{bucket}/acl/{entity}",
135 "response": {
136 "$ref": "BucketAccessControl"
137 },
138 "scopes": [
139 "https://www.googleapis.com/auth/devstorage.full_control "
140 ]
141 },
142 "insert": {
143 "description": "Creates a new ACL entry on the specified buc ket.",
144 "httpMethod": "POST",
145 "id": "storage.bucketAccessControls.insert",
146 "parameterOrder": [
147 "bucket"
148 ],
149 "parameters": {
150 "bucket": {
151 "description": "Name of a bucket.",
152 "location": "path",
153 "required": true,
154 "type": "string"
155 }
156 },
157 "path": "b/{bucket}/acl",
158 "request": {
159 "$ref": "BucketAccessControl"
160 },
161 "response": {
162 "$ref": "BucketAccessControl"
163 },
164 "scopes": [
165 "https://www.googleapis.com/auth/devstorage.full_control "
166 ]
167 },
168 "list": {
169 "description": "Retrieves ACL entries on the specified bucke t.",
170 "httpMethod": "GET",
171 "id": "storage.bucketAccessControls.list",
172 "parameterOrder": [
173 "bucket"
174 ],
175 "parameters": {
176 "bucket": {
177 "description": "Name of a bucket.",
178 "location": "path",
179 "required": true,
180 "type": "string"
181 }
182 },
183 "path": "b/{bucket}/acl",
184 "response": {
185 "$ref": "BucketAccessControls"
186 },
187 "scopes": [
188 "https://www.googleapis.com/auth/devstorage.full_control "
189 ]
190 },
191 "patch": {
192 "description": "Updates an ACL entry on the specified bucket . This method supports patch semantics.",
193 "httpMethod": "PATCH",
194 "id": "storage.bucketAccessControls.patch",
195 "parameterOrder": [
196 "bucket",
197 "entity"
198 ],
199 "parameters": {
200 "bucket": {
201 "description": "Name of a bucket.",
202 "location": "path",
203 "required": true,
204 "type": "string"
205 },
206 "entity": {
207 "description": "The entity holding the permission. C an be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUser s, or allAuthenticatedUsers.",
208 "location": "path",
209 "required": true,
210 "type": "string"
211 }
212 },
213 "path": "b/{bucket}/acl/{entity}",
214 "request": {
215 "$ref": "BucketAccessControl"
216 },
217 "response": {
218 "$ref": "BucketAccessControl"
219 },
220 "scopes": [
221 "https://www.googleapis.com/auth/devstorage.full_control "
222 ]
223 },
224 "update": {
225 "description": "Updates an ACL entry on the specified bucket .",
226 "httpMethod": "PUT",
227 "id": "storage.bucketAccessControls.update",
228 "parameterOrder": [
229 "bucket",
230 "entity"
231 ],
232 "parameters": {
233 "bucket": {
234 "description": "Name of a bucket.",
235 "location": "path",
236 "required": true,
237 "type": "string"
238 },
239 "entity": {
240 "description": "The entity holding the permission. C an be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUser s, or allAuthenticatedUsers.",
241 "location": "path",
242 "required": true,
243 "type": "string"
244 }
245 },
246 "path": "b/{bucket}/acl/{entity}",
247 "request": {
248 "$ref": "BucketAccessControl"
249 },
250 "response": {
251 "$ref": "BucketAccessControl"
252 },
253 "scopes": [
254 "https://www.googleapis.com/auth/devstorage.full_control "
255 ]
256 }
257 }
258 },
259 "buckets": {
260 "methods": {
261 "delete": {
262 "description": "Permanently deletes an empty bucket.",
263 "httpMethod": "DELETE",
264 "id": "storage.buckets.delete",
265 "parameterOrder": [
266 "bucket"
267 ],
268 "parameters": {
269 "bucket": {
270 "description": "Name of a bucket.",
271 "location": "path",
272 "required": true,
273 "type": "string"
274 },
275 "ifMetagenerationMatch": {
276 "description": "If set, only deletes the bucket if i ts metageneration matches this value.",
277 "format": "int64",
278 "location": "query",
279 "type": "string"
280 },
281 "ifMetagenerationNotMatch": {
282 "description": "If set, only deletes the bucket if i ts metageneration does not match this value.",
283 "format": "int64",
284 "location": "query",
285 "type": "string"
286 }
287 },
288 "path": "b/{bucket}",
289 "scopes": [
290 "https://www.googleapis.com/auth/devstorage.full_control ",
291 "https://www.googleapis.com/auth/devstorage.read_write"
292 ]
293 },
294 "get": {
295 "description": "Returns metadata for the specified bucket.",
296 "httpMethod": "GET",
297 "id": "storage.buckets.get",
298 "parameterOrder": [
299 "bucket"
300 ],
301 "parameters": {
302 "bucket": {
303 "description": "Name of a bucket.",
304 "location": "path",
305 "required": true,
306 "type": "string"
307 },
308 "ifMetagenerationMatch": {
309 "description": "Makes the return of the bucket metad ata conditional on whether the bucket's current metageneration matches the given value.",
310 "format": "int64",
311 "location": "query",
312 "type": "string"
313 },
314 "ifMetagenerationNotMatch": {
315 "description": "Makes the return of the bucket metad ata conditional on whether the bucket's current metageneration does not match th e given value.",
316 "format": "int64",
317 "location": "query",
318 "type": "string"
319 },
320 "projection": {
321 "description": "Set of properties to return. Default s to noAcl.",
322 "enum": [
323 "full",
324 "noAcl"
325 ],
326 "enumDescriptions": [
327 "Include all properties.",
328 "Omit acl and defaultObjectAcl properties."
329 ],
330 "location": "query",
331 "type": "string"
332 }
333 },
334 "path": "b/{bucket}",
335 "response": {
336 "$ref": "Bucket"
337 },
338 "scopes": [
339 "https://www.googleapis.com/auth/devstorage.full_control ",
340 "https://www.googleapis.com/auth/devstorage.read_only",
341 "https://www.googleapis.com/auth/devstorage.read_write"
342 ]
343 },
344 "insert": {
345 "description": "Creates a new bucket.",
346 "httpMethod": "POST",
347 "id": "storage.buckets.insert",
348 "parameterOrder": [
349 "project"
350 ],
351 "parameters": {
352 "predefinedAcl": {
353 "description": "Apply a predefined set of access con trols to this bucket.",
354 "enum": [
355 "authenticatedRead",
356 "private",
357 "projectPrivate",
358 "publicRead",
359 "publicReadWrite"
360 ],
361 "enumDescriptions": [
362 "Project team owners get OWNER access, and allAu thenticatedUsers get READER access.",
363 "Project team owners get OWNER access.",
364 "Project team members get access according to th eir roles.",
365 "Project team owners get OWNER access, and allUs ers get READER access.",
366 "Project team owners get OWNER access, and allUs ers get WRITER access."
367 ],
368 "location": "query",
369 "type": "string"
370 },
371 "project": {
372 "description": "A valid API project identifier.",
373 "location": "query",
374 "required": true,
375 "type": "string"
376 },
377 "projection": {
378 "description": "Set of properties to return. Default s to noAcl, unless the bucket resource specifies acl or defaultObjectAcl propert ies, when it defaults to full.",
379 "enum": [
380 "full",
381 "noAcl"
382 ],
383 "enumDescriptions": [
384 "Include all properties.",
385 "Omit acl and defaultObjectAcl properties."
386 ],
387 "location": "query",
388 "type": "string"
389 }
390 },
391 "path": "b",
392 "request": {
393 "$ref": "Bucket"
394 },
395 "response": {
396 "$ref": "Bucket"
397 },
398 "scopes": [
399 "https://www.googleapis.com/auth/devstorage.full_control ",
400 "https://www.googleapis.com/auth/devstorage.read_write"
401 ]
402 },
403 "list": {
404 "description": "Retrieves a list of buckets for a given proj ect.",
405 "httpMethod": "GET",
406 "id": "storage.buckets.list",
407 "parameterOrder": [
408 "project"
409 ],
410 "parameters": {
411 "maxResults": {
412 "description": "Maximum number of buckets to return. ",
413 "format": "uint32",
414 "location": "query",
415 "minimum": "0",
416 "type": "integer"
417 },
418 "pageToken": {
419 "description": "A previously-returned page token rep resenting part of the larger set of results to view.",
420 "location": "query",
421 "type": "string"
422 },
423 "project": {
424 "description": "A valid API project identifier.",
425 "location": "query",
426 "required": true,
427 "type": "string"
428 },
429 "projection": {
430 "description": "Set of properties to return. Default s to noAcl.",
431 "enum": [
432 "full",
433 "noAcl"
434 ],
435 "enumDescriptions": [
436 "Include all properties.",
437 "Omit acl and defaultObjectAcl properties."
438 ],
439 "location": "query",
440 "type": "string"
441 }
442 },
443 "path": "b",
444 "response": {
445 "$ref": "Buckets"
446 },
447 "scopes": [
448 "https://www.googleapis.com/auth/devstorage.full_control ",
449 "https://www.googleapis.com/auth/devstorage.read_only",
450 "https://www.googleapis.com/auth/devstorage.read_write"
451 ]
452 },
453 "patch": {
454 "description": "Updates a bucket. This method supports patch semantics.",
455 "httpMethod": "PATCH",
456 "id": "storage.buckets.patch",
457 "parameterOrder": [
458 "bucket"
459 ],
460 "parameters": {
461 "bucket": {
462 "description": "Name of a bucket.",
463 "location": "path",
464 "required": true,
465 "type": "string"
466 },
467 "ifMetagenerationMatch": {
468 "description": "Makes the return of the bucket metad ata conditional on whether the bucket's current metageneration matches the given value.",
469 "format": "int64",
470 "location": "query",
471 "type": "string"
472 },
473 "ifMetagenerationNotMatch": {
474 "description": "Makes the return of the bucket metad ata conditional on whether the bucket's current metageneration does not match th e given value.",
475 "format": "int64",
476 "location": "query",
477 "type": "string"
478 },
479 "predefinedAcl": {
480 "description": "Apply a predefined set of access con trols to this bucket.",
481 "enum": [
482 "authenticatedRead",
483 "private",
484 "projectPrivate",
485 "publicRead",
486 "publicReadWrite"
487 ],
488 "enumDescriptions": [
489 "Project team owners get OWNER access, and allAu thenticatedUsers get READER access.",
490 "Project team owners get OWNER access.",
491 "Project team members get access according to th eir roles.",
492 "Project team owners get OWNER access, and allUs ers get READER access.",
493 "Project team owners get OWNER access, and allUs ers get WRITER access."
494 ],
495 "location": "query",
496 "type": "string"
497 },
498 "projection": {
499 "description": "Set of properties to return. Default s to full.",
500 "enum": [
501 "full",
502 "noAcl"
503 ],
504 "enumDescriptions": [
505 "Include all properties.",
506 "Omit acl and defaultObjectAcl properties."
507 ],
508 "location": "query",
509 "type": "string"
510 }
511 },
512 "path": "b/{bucket}",
513 "request": {
514 "$ref": "Bucket"
515 },
516 "response": {
517 "$ref": "Bucket"
518 },
519 "scopes": [
520 "https://www.googleapis.com/auth/devstorage.full_control ",
521 "https://www.googleapis.com/auth/devstorage.read_write"
522 ]
523 },
524 "update": {
525 "description": "Updates a bucket.",
526 "httpMethod": "PUT",
527 "id": "storage.buckets.update",
528 "parameterOrder": [
529 "bucket"
530 ],
531 "parameters": {
532 "bucket": {
533 "description": "Name of a bucket.",
534 "location": "path",
535 "required": true,
536 "type": "string"
537 },
538 "ifMetagenerationMatch": {
539 "description": "Makes the return of the bucket metad ata conditional on whether the bucket's current metageneration matches the given value.",
540 "format": "int64",
541 "location": "query",
542 "type": "string"
543 },
544 "ifMetagenerationNotMatch": {
545 "description": "Makes the return of the bucket metad ata conditional on whether the bucket's current metageneration does not match th e given value.",
546 "format": "int64",
547 "location": "query",
548 "type": "string"
549 },
550 "predefinedAcl": {
551 "description": "Apply a predefined set of access con trols to this bucket.",
552 "enum": [
553 "authenticatedRead",
554 "private",
555 "projectPrivate",
556 "publicRead",
557 "publicReadWrite"
558 ],
559 "enumDescriptions": [
560 "Project team owners get OWNER access, and allAu thenticatedUsers get READER access.",
561 "Project team owners get OWNER access.",
562 "Project team members get access according to th eir roles.",
563 "Project team owners get OWNER access, and allUs ers get READER access.",
564 "Project team owners get OWNER access, and allUs ers get WRITER access."
565 ],
566 "location": "query",
567 "type": "string"
568 },
569 "projection": {
570 "description": "Set of properties to return. Default s to full.",
571 "enum": [
572 "full",
573 "noAcl"
574 ],
575 "enumDescriptions": [
576 "Include all properties.",
577 "Omit acl and defaultObjectAcl properties."
578 ],
579 "location": "query",
580 "type": "string"
581 }
582 },
583 "path": "b/{bucket}",
584 "request": {
585 "$ref": "Bucket"
586 },
587 "response": {
588 "$ref": "Bucket"
589 },
590 "scopes": [
591 "https://www.googleapis.com/auth/devstorage.full_control ",
592 "https://www.googleapis.com/auth/devstorage.read_write"
593 ]
594 }
595 }
596 },
597 "channels": {
598 "methods": {
599 "stop": {
600 "description": "Stop watching resources through this channel ",
601 "httpMethod": "POST",
602 "id": "storage.channels.stop",
603 "path": "channels/stop",
604 "request": {
605 "$ref": "Channel",
606 "parameterName": "resource"
607 },
608 "scopes": [
609 "https://www.googleapis.com/auth/devstorage.full_control ",
610 "https://www.googleapis.com/auth/devstorage.read_only",
611 "https://www.googleapis.com/auth/devstorage.read_write"
612 ]
613 }
614 }
615 },
616 "defaultObjectAccessControls": {
617 "methods": {
618 "delete": {
619 "description": "Permanently deletes the default object ACL e ntry for the specified entity on the specified bucket.",
620 "httpMethod": "DELETE",
621 "id": "storage.defaultObjectAccessControls.delete",
622 "parameterOrder": [
623 "bucket",
624 "entity"
625 ],
626 "parameters": {
627 "bucket": {
628 "description": "Name of a bucket.",
629 "location": "path",
630 "required": true,
631 "type": "string"
632 },
633 "entity": {
634 "description": "The entity holding the permission. C an be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUser s, or allAuthenticatedUsers.",
635 "location": "path",
636 "required": true,
637 "type": "string"
638 }
639 },
640 "path": "b/{bucket}/defaultObjectAcl/{entity}",
641 "scopes": [
642 "https://www.googleapis.com/auth/devstorage.full_control "
643 ]
644 },
645 "get": {
646 "description": "Returns the default object ACL entry for the specified entity on the specified bucket.",
647 "httpMethod": "GET",
648 "id": "storage.defaultObjectAccessControls.get",
649 "parameterOrder": [
650 "bucket",
651 "entity"
652 ],
653 "parameters": {
654 "bucket": {
655 "description": "Name of a bucket.",
656 "location": "path",
657 "required": true,
658 "type": "string"
659 },
660 "entity": {
661 "description": "The entity holding the permission. C an be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUser s, or allAuthenticatedUsers.",
662 "location": "path",
663 "required": true,
664 "type": "string"
665 }
666 },
667 "path": "b/{bucket}/defaultObjectAcl/{entity}",
668 "response": {
669 "$ref": "ObjectAccessControl"
670 },
671 "scopes": [
672 "https://www.googleapis.com/auth/devstorage.full_control "
673 ]
674 },
675 "insert": {
676 "description": "Creates a new default object ACL entry on th e specified bucket.",
677 "httpMethod": "POST",
678 "id": "storage.defaultObjectAccessControls.insert",
679 "parameterOrder": [
680 "bucket"
681 ],
682 "parameters": {
683 "bucket": {
684 "description": "Name of a bucket.",
685 "location": "path",
686 "required": true,
687 "type": "string"
688 }
689 },
690 "path": "b/{bucket}/defaultObjectAcl",
691 "request": {
692 "$ref": "ObjectAccessControl"
693 },
694 "response": {
695 "$ref": "ObjectAccessControl"
696 },
697 "scopes": [
698 "https://www.googleapis.com/auth/devstorage.full_control "
699 ]
700 },
701 "list": {
702 "description": "Retrieves default object ACL entries on the specified bucket.",
703 "httpMethod": "GET",
704 "id": "storage.defaultObjectAccessControls.list",
705 "parameterOrder": [
706 "bucket"
707 ],
708 "parameters": {
709 "bucket": {
710 "description": "Name of a bucket.",
711 "location": "path",
712 "required": true,
713 "type": "string"
714 },
715 "ifMetagenerationMatch": {
716 "description": "If present, only return default ACL listing if the bucket's current metageneration matches this value.",
717 "format": "int64",
718 "location": "query",
719 "type": "string"
720 },
721 "ifMetagenerationNotMatch": {
722 "description": "If present, only return default ACL listing if the bucket's current metageneration does not match the given value.",
723 "format": "int64",
724 "location": "query",
725 "type": "string"
726 }
727 },
728 "path": "b/{bucket}/defaultObjectAcl",
729 "response": {
730 "$ref": "ObjectAccessControls"
731 },
732 "scopes": [
733 "https://www.googleapis.com/auth/devstorage.full_control "
734 ]
735 },
736 "patch": {
737 "description": "Updates a default object ACL entry on the sp ecified bucket. This method supports patch semantics.",
738 "httpMethod": "PATCH",
739 "id": "storage.defaultObjectAccessControls.patch",
740 "parameterOrder": [
741 "bucket",
742 "entity"
743 ],
744 "parameters": {
745 "bucket": {
746 "description": "Name of a bucket.",
747 "location": "path",
748 "required": true,
749 "type": "string"
750 },
751 "entity": {
752 "description": "The entity holding the permission. C an be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUser s, or allAuthenticatedUsers.",
753 "location": "path",
754 "required": true,
755 "type": "string"
756 }
757 },
758 "path": "b/{bucket}/defaultObjectAcl/{entity}",
759 "request": {
760 "$ref": "ObjectAccessControl"
761 },
762 "response": {
763 "$ref": "ObjectAccessControl"
764 },
765 "scopes": [
766 "https://www.googleapis.com/auth/devstorage.full_control "
767 ]
768 },
769 "update": {
770 "description": "Updates a default object ACL entry on the sp ecified bucket.",
771 "httpMethod": "PUT",
772 "id": "storage.defaultObjectAccessControls.update",
773 "parameterOrder": [
774 "bucket",
775 "entity"
776 ],
777 "parameters": {
778 "bucket": {
779 "description": "Name of a bucket.",
780 "location": "path",
781 "required": true,
782 "type": "string"
783 },
784 "entity": {
785 "description": "The entity holding the permission. C an be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUser s, or allAuthenticatedUsers.",
786 "location": "path",
787 "required": true,
788 "type": "string"
789 }
790 },
791 "path": "b/{bucket}/defaultObjectAcl/{entity}",
792 "request": {
793 "$ref": "ObjectAccessControl"
794 },
795 "response": {
796 "$ref": "ObjectAccessControl"
797 },
798 "scopes": [
799 "https://www.googleapis.com/auth/devstorage.full_control "
800 ]
801 }
802 }
803 },
804 "objectAccessControls": {
805 "methods": {
806 "delete": {
807 "description": "Permanently deletes the ACL entry for the sp ecified entity on the specified object.",
808 "httpMethod": "DELETE",
809 "id": "storage.objectAccessControls.delete",
810 "parameterOrder": [
811 "bucket",
812 "object",
813 "entity"
814 ],
815 "parameters": {
816 "bucket": {
817 "description": "Name of a bucket.",
818 "location": "path",
819 "required": true,
820 "type": "string"
821 },
822 "entity": {
823 "description": "The entity holding the permission. C an be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUser s, or allAuthenticatedUsers.",
824 "location": "path",
825 "required": true,
826 "type": "string"
827 },
828 "generation": {
829 "description": "If present, selects a specific revis ion of this object (as opposed to the latest version, the default).",
830 "format": "int64",
831 "location": "query",
832 "type": "string"
833 },
834 "object": {
835 "description": "Name of the object.",
836 "location": "path",
837 "required": true,
838 "type": "string"
839 }
840 },
841 "path": "b/{bucket}/o/{object}/acl/{entity}",
842 "scopes": [
843 "https://www.googleapis.com/auth/devstorage.full_control "
844 ]
845 },
846 "get": {
847 "description": "Returns the ACL entry for the specified enti ty on the specified object.",
848 "httpMethod": "GET",
849 "id": "storage.objectAccessControls.get",
850 "parameterOrder": [
851 "bucket",
852 "object",
853 "entity"
854 ],
855 "parameters": {
856 "bucket": {
857 "description": "Name of a bucket.",
858 "location": "path",
859 "required": true,
860 "type": "string"
861 },
862 "entity": {
863 "description": "The entity holding the permission. C an be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUser s, or allAuthenticatedUsers.",
864 "location": "path",
865 "required": true,
866 "type": "string"
867 },
868 "generation": {
869 "description": "If present, selects a specific revis ion of this object (as opposed to the latest version, the default).",
870 "format": "int64",
871 "location": "query",
872 "type": "string"
873 },
874 "object": {
875 "description": "Name of the object.",
876 "location": "path",
877 "required": true,
878 "type": "string"
879 }
880 },
881 "path": "b/{bucket}/o/{object}/acl/{entity}",
882 "response": {
883 "$ref": "ObjectAccessControl"
884 },
885 "scopes": [
886 "https://www.googleapis.com/auth/devstorage.full_control "
887 ]
888 },
889 "insert": {
890 "description": "Creates a new ACL entry on the specified obj ect.",
891 "httpMethod": "POST",
892 "id": "storage.objectAccessControls.insert",
893 "parameterOrder": [
894 "bucket",
895 "object"
896 ],
897 "parameters": {
898 "bucket": {
899 "description": "Name of a bucket.",
900 "location": "path",
901 "required": true,
902 "type": "string"
903 },
904 "generation": {
905 "description": "If present, selects a specific revis ion of this object (as opposed to the latest version, the default).",
906 "format": "int64",
907 "location": "query",
908 "type": "string"
909 },
910 "object": {
911 "description": "Name of the object.",
912 "location": "path",
913 "required": true,
914 "type": "string"
915 }
916 },
917 "path": "b/{bucket}/o/{object}/acl",
918 "request": {
919 "$ref": "ObjectAccessControl"
920 },
921 "response": {
922 "$ref": "ObjectAccessControl"
923 },
924 "scopes": [
925 "https://www.googleapis.com/auth/devstorage.full_control "
926 ]
927 },
928 "list": {
929 "description": "Retrieves ACL entries on the specified objec t.",
930 "httpMethod": "GET",
931 "id": "storage.objectAccessControls.list",
932 "parameterOrder": [
933 "bucket",
934 "object"
935 ],
936 "parameters": {
937 "bucket": {
938 "description": "Name of a bucket.",
939 "location": "path",
940 "required": true,
941 "type": "string"
942 },
943 "generation": {
944 "description": "If present, selects a specific revis ion of this object (as opposed to the latest version, the default).",
945 "format": "int64",
946 "location": "query",
947 "type": "string"
948 },
949 "object": {
950 "description": "Name of the object.",
951 "location": "path",
952 "required": true,
953 "type": "string"
954 }
955 },
956 "path": "b/{bucket}/o/{object}/acl",
957 "response": {
958 "$ref": "ObjectAccessControls"
959 },
960 "scopes": [
961 "https://www.googleapis.com/auth/devstorage.full_control "
962 ]
963 },
964 "patch": {
965 "description": "Updates an ACL entry on the specified object . This method supports patch semantics.",
966 "httpMethod": "PATCH",
967 "id": "storage.objectAccessControls.patch",
968 "parameterOrder": [
969 "bucket",
970 "object",
971 "entity"
972 ],
973 "parameters": {
974 "bucket": {
975 "description": "Name of a bucket.",
976 "location": "path",
977 "required": true,
978 "type": "string"
979 },
980 "entity": {
981 "description": "The entity holding the permission. C an be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUser s, or allAuthenticatedUsers.",
982 "location": "path",
983 "required": true,
984 "type": "string"
985 },
986 "generation": {
987 "description": "If present, selects a specific revis ion of this object (as opposed to the latest version, the default).",
988 "format": "int64",
989 "location": "query",
990 "type": "string"
991 },
992 "object": {
993 "description": "Name of the object.",
994 "location": "path",
995 "required": true,
996 "type": "string"
997 }
998 },
999 "path": "b/{bucket}/o/{object}/acl/{entity}",
1000 "request": {
1001 "$ref": "ObjectAccessControl"
1002 },
1003 "response": {
1004 "$ref": "ObjectAccessControl"
1005 },
1006 "scopes": [
1007 "https://www.googleapis.com/auth/devstorage.full_control "
1008 ]
1009 },
1010 "update": {
1011 "description": "Updates an ACL entry on the specified object .",
1012 "httpMethod": "PUT",
1013 "id": "storage.objectAccessControls.update",
1014 "parameterOrder": [
1015 "bucket",
1016 "object",
1017 "entity"
1018 ],
1019 "parameters": {
1020 "bucket": {
1021 "description": "Name of a bucket.",
1022 "location": "path",
1023 "required": true,
1024 "type": "string"
1025 },
1026 "entity": {
1027 "description": "The entity holding the permission. C an be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUser s, or allAuthenticatedUsers.",
1028 "location": "path",
1029 "required": true,
1030 "type": "string"
1031 },
1032 "generation": {
1033 "description": "If present, selects a specific revis ion of this object (as opposed to the latest version, the default).",
1034 "format": "int64",
1035 "location": "query",
1036 "type": "string"
1037 },
1038 "object": {
1039 "description": "Name of the object.",
1040 "location": "path",
1041 "required": true,
1042 "type": "string"
1043 }
1044 },
1045 "path": "b/{bucket}/o/{object}/acl/{entity}",
1046 "request": {
1047 "$ref": "ObjectAccessControl"
1048 },
1049 "response": {
1050 "$ref": "ObjectAccessControl"
1051 },
1052 "scopes": [
1053 "https://www.googleapis.com/auth/devstorage.full_control "
1054 ]
1055 }
1056 }
1057 },
1058 "objects": {
1059 "methods": {
1060 "compose": {
1061 "description": "Concatenates a list of existing objects into a new object in the same bucket.",
1062 "httpMethod": "POST",
1063 "id": "storage.objects.compose",
1064 "parameterOrder": [
1065 "destinationBucket",
1066 "destinationObject"
1067 ],
1068 "parameters": {
1069 "destinationBucket": {
1070 "description": "Name of the bucket in which to store the new object.",
1071 "location": "path",
1072 "required": true,
1073 "type": "string"
1074 },
1075 "destinationObject": {
1076 "description": "Name of the new object.",
1077 "location": "path",
1078 "required": true,
1079 "type": "string"
1080 },
1081 "destinationPredefinedAcl": {
1082 "description": "Apply a predefined set of access con trols to the destination object.",
1083 "enum": [
1084 "authenticatedRead",
1085 "bucketOwnerFullControl",
1086 "bucketOwnerRead",
1087 "private",
1088 "projectPrivate",
1089 "publicRead"
1090 ],
1091 "enumDescriptions": [
1092 "Object owner gets OWNER access, and allAuthenti catedUsers get READER access.",
1093 "Object owner gets OWNER access, and project tea m owners get OWNER access.",
1094 "Object owner gets OWNER access, and project tea m owners get READER access.",
1095 "Object owner gets OWNER access.",
1096 "Object owner gets OWNER access, and project tea m members get access according to their roles.",
1097 "Object owner gets OWNER access, and allUsers ge t READER access."
1098 ],
1099 "location": "query",
1100 "type": "string"
1101 },
1102 "ifGenerationMatch": {
1103 "description": "Makes the operation conditional on w hether the object's current generation matches the given value.",
1104 "format": "int64",
1105 "location": "query",
1106 "type": "string"
1107 },
1108 "ifMetagenerationMatch": {
1109 "description": "Makes the operation conditional on w hether the object's current metageneration matches the given value.",
1110 "format": "int64",
1111 "location": "query",
1112 "type": "string"
1113 }
1114 },
1115 "path": "b/{destinationBucket}/o/{destinationObject}/compose ",
1116 "request": {
1117 "$ref": "ComposeRequest"
1118 },
1119 "response": {
1120 "$ref": "Object"
1121 },
1122 "scopes": [
1123 "https://www.googleapis.com/auth/devstorage.full_control ",
1124 "https://www.googleapis.com/auth/devstorage.read_write"
1125 ],
1126 "supportsMediaDownload": true
1127 },
1128 "copy": {
1129 "description": "Copies an object to a specified location. Op tionally overrides metadata.",
1130 "httpMethod": "POST",
1131 "id": "storage.objects.copy",
1132 "parameterOrder": [
1133 "sourceBucket",
1134 "sourceObject",
1135 "destinationBucket",
1136 "destinationObject"
1137 ],
1138 "parameters": {
1139 "destinationBucket": {
1140 "description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any." ,
1141 "location": "path",
1142 "required": true,
1143 "type": "string"
1144 },
1145 "destinationObject": {
1146 "description": "Name of the new object. Required whe n the object metadata is not otherwise provided. Overrides the object metadata's name value, if any.",
1147 "location": "path",
1148 "required": true,
1149 "type": "string"
1150 },
1151 "destinationPredefinedAcl": {
1152 "description": "Apply a predefined set of access con trols to the destination object.",
1153 "enum": [
1154 "authenticatedRead",
1155 "bucketOwnerFullControl",
1156 "bucketOwnerRead",
1157 "private",
1158 "projectPrivate",
1159 "publicRead"
1160 ],
1161 "enumDescriptions": [
1162 "Object owner gets OWNER access, and allAuthenti catedUsers get READER access.",
1163 "Object owner gets OWNER access, and project tea m owners get OWNER access.",
1164 "Object owner gets OWNER access, and project tea m owners get READER access.",
1165 "Object owner gets OWNER access.",
1166 "Object owner gets OWNER access, and project tea m members get access according to their roles.",
1167 "Object owner gets OWNER access, and allUsers ge t READER access."
1168 ],
1169 "location": "query",
1170 "type": "string"
1171 },
1172 "ifGenerationMatch": {
1173 "description": "Makes the operation conditional on w hether the destination object's current generation matches the given value.",
1174 "format": "int64",
1175 "location": "query",
1176 "type": "string"
1177 },
1178 "ifGenerationNotMatch": {
1179 "description": "Makes the operation conditional on w hether the destination object's current generation does not match the given valu e.",
1180 "format": "int64",
1181 "location": "query",
1182 "type": "string"
1183 },
1184 "ifMetagenerationMatch": {
1185 "description": "Makes the operation conditional on w hether the destination object's current metageneration matches the given value." ,
1186 "format": "int64",
1187 "location": "query",
1188 "type": "string"
1189 },
1190 "ifMetagenerationNotMatch": {
1191 "description": "Makes the operation conditional on w hether the destination object's current metageneration does not match the given value.",
1192 "format": "int64",
1193 "location": "query",
1194 "type": "string"
1195 },
1196 "ifSourceGenerationMatch": {
1197 "description": "Makes the operation conditional on w hether the source object's generation matches the given value.",
1198 "format": "int64",
1199 "location": "query",
1200 "type": "string"
1201 },
1202 "ifSourceGenerationNotMatch": {
1203 "description": "Makes the operation conditional on w hether the source object's generation does not match the given value.",
1204 "format": "int64",
1205 "location": "query",
1206 "type": "string"
1207 },
1208 "ifSourceMetagenerationMatch": {
1209 "description": "Makes the operation conditional on w hether the source object's current metageneration matches the given value.",
1210 "format": "int64",
1211 "location": "query",
1212 "type": "string"
1213 },
1214 "ifSourceMetagenerationNotMatch": {
1215 "description": "Makes the operation conditional on w hether the source object's current metageneration does not match the given value .",
1216 "format": "int64",
1217 "location": "query",
1218 "type": "string"
1219 },
1220 "projection": {
1221 "description": "Set of properties to return. Default s to noAcl, unless the object resource specifies the acl property, when it defau lts to full.",
1222 "enum": [
1223 "full",
1224 "noAcl"
1225 ],
1226 "enumDescriptions": [
1227 "Include all properties.",
1228 "Omit the acl property."
1229 ],
1230 "location": "query",
1231 "type": "string"
1232 },
1233 "sourceBucket": {
1234 "description": "Name of the bucket in which to find the source object.",
1235 "location": "path",
1236 "required": true,
1237 "type": "string"
1238 },
1239 "sourceGeneration": {
1240 "description": "If present, selects a specific revis ion of the source object (as opposed to the latest version, the default).",
1241 "format": "int64",
1242 "location": "query",
1243 "type": "string"
1244 },
1245 "sourceObject": {
1246 "description": "Name of the source object.",
1247 "location": "path",
1248 "required": true,
1249 "type": "string"
1250 }
1251 },
1252 "path": "b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destina tionBucket}/o/{destinationObject}",
1253 "request": {
1254 "$ref": "Object"
1255 },
1256 "response": {
1257 "$ref": "Object"
1258 },
1259 "scopes": [
1260 "https://www.googleapis.com/auth/devstorage.full_control ",
1261 "https://www.googleapis.com/auth/devstorage.read_write"
1262 ],
1263 "supportsMediaDownload": true
1264 },
1265 "delete": {
1266 "description": "Deletes an object and its metadata. Deletion s are permanent if versioning is not enabled for the bucket, or if the generatio n parameter is used.",
1267 "httpMethod": "DELETE",
1268 "id": "storage.objects.delete",
1269 "parameterOrder": [
1270 "bucket",
1271 "object"
1272 ],
1273 "parameters": {
1274 "bucket": {
1275 "description": "Name of the bucket in which the obje ct resides.",
1276 "location": "path",
1277 "required": true,
1278 "type": "string"
1279 },
1280 "generation": {
1281 "description": "If present, permanently deletes a sp ecific revision of this object (as opposed to the latest version, the default)." ,
1282 "format": "int64",
1283 "location": "query",
1284 "type": "string"
1285 },
1286 "ifGenerationMatch": {
1287 "description": "Makes the operation conditional on w hether the object's current generation matches the given value.",
1288 "format": "int64",
1289 "location": "query",
1290 "type": "string"
1291 },
1292 "ifGenerationNotMatch": {
1293 "description": "Makes the operation conditional on w hether the object's current generation does not match the given value.",
1294 "format": "int64",
1295 "location": "query",
1296 "type": "string"
1297 },
1298 "ifMetagenerationMatch": {
1299 "description": "Makes the operation conditional on w hether the object's current metageneration matches the given value.",
1300 "format": "int64",
1301 "location": "query",
1302 "type": "string"
1303 },
1304 "ifMetagenerationNotMatch": {
1305 "description": "Makes the operation conditional on w hether the object's current metageneration does not match the given value.",
1306 "format": "int64",
1307 "location": "query",
1308 "type": "string"
1309 },
1310 "object": {
1311 "description": "Name of the object.",
1312 "location": "path",
1313 "required": true,
1314 "type": "string"
1315 }
1316 },
1317 "path": "b/{bucket}/o/{object}",
1318 "scopes": [
1319 "https://www.googleapis.com/auth/devstorage.full_control ",
1320 "https://www.googleapis.com/auth/devstorage.read_write"
1321 ]
1322 },
1323 "get": {
1324 "description": "Retrieves objects or their metadata.",
1325 "httpMethod": "GET",
1326 "id": "storage.objects.get",
1327 "parameterOrder": [
1328 "bucket",
1329 "object"
1330 ],
1331 "parameters": {
1332 "bucket": {
1333 "description": "Name of the bucket in which the obje ct resides.",
1334 "location": "path",
1335 "required": true,
1336 "type": "string"
1337 },
1338 "generation": {
1339 "description": "If present, selects a specific revis ion of this object (as opposed to the latest version, the default).",
1340 "format": "int64",
1341 "location": "query",
1342 "type": "string"
1343 },
1344 "ifGenerationMatch": {
1345 "description": "Makes the operation conditional on w hether the object's generation matches the given value.",
1346 "format": "int64",
1347 "location": "query",
1348 "type": "string"
1349 },
1350 "ifGenerationNotMatch": {
1351 "description": "Makes the operation conditional on w hether the object's generation does not match the given value.",
1352 "format": "int64",
1353 "location": "query",
1354 "type": "string"
1355 },
1356 "ifMetagenerationMatch": {
1357 "description": "Makes the operation conditional on w hether the object's current metageneration matches the given value.",
1358 "format": "int64",
1359 "location": "query",
1360 "type": "string"
1361 },
1362 "ifMetagenerationNotMatch": {
1363 "description": "Makes the operation conditional on w hether the object's current metageneration does not match the given value.",
1364 "format": "int64",
1365 "location": "query",
1366 "type": "string"
1367 },
1368 "object": {
1369 "description": "Name of the object.",
1370 "location": "path",
1371 "required": true,
1372 "type": "string"
1373 },
1374 "projection": {
1375 "description": "Set of properties to return. Default s to noAcl.",
1376 "enum": [
1377 "full",
1378 "noAcl"
1379 ],
1380 "enumDescriptions": [
1381 "Include all properties.",
1382 "Omit the acl property."
1383 ],
1384 "location": "query",
1385 "type": "string"
1386 }
1387 },
1388 "path": "b/{bucket}/o/{object}",
1389 "response": {
1390 "$ref": "Object"
1391 },
1392 "scopes": [
1393 "https://www.googleapis.com/auth/devstorage.full_control ",
1394 "https://www.googleapis.com/auth/devstorage.read_only",
1395 "https://www.googleapis.com/auth/devstorage.read_write"
1396 ],
1397 "supportsMediaDownload": true
1398 },
1399 "insert": {
1400 "description": "Stores a new object and metadata.",
1401 "httpMethod": "POST",
1402 "id": "storage.objects.insert",
1403 "mediaUpload": {
1404 "accept": [
1405 "*/*"
1406 ],
1407 "protocols": {
1408 "resumable": {
1409 "multipart": true,
1410 "path": "/resumable/upload/storage/v1/b/{bucket} /o"
1411 },
1412 "simple": {
1413 "multipart": true,
1414 "path": "/upload/storage/v1/b/{bucket}/o"
1415 }
1416 }
1417 },
1418 "parameterOrder": [
1419 "bucket"
1420 ],
1421 "parameters": {
1422 "bucket": {
1423 "description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any." ,
1424 "location": "path",
1425 "required": true,
1426 "type": "string"
1427 },
1428 "contentEncoding": {
1429 "description": "If set, sets the contentEncoding pro perty of the final object to this value. Setting this parameter is equivalent to setting the contentEncoding metadata property. This can be useful when uploadin g an object with uploadType=media to indicate the encoding of the content being uploaded.",
1430 "location": "query",
1431 "type": "string"
1432 },
1433 "ifGenerationMatch": {
1434 "description": "Makes the operation conditional on w hether the object's current generation matches the given value.",
1435 "format": "int64",
1436 "location": "query",
1437 "type": "string"
1438 },
1439 "ifGenerationNotMatch": {
1440 "description": "Makes the operation conditional on w hether the object's current generation does not match the given value.",
1441 "format": "int64",
1442 "location": "query",
1443 "type": "string"
1444 },
1445 "ifMetagenerationMatch": {
1446 "description": "Makes the operation conditional on w hether the object's current metageneration matches the given value.",
1447 "format": "int64",
1448 "location": "query",
1449 "type": "string"
1450 },
1451 "ifMetagenerationNotMatch": {
1452 "description": "Makes the operation conditional on w hether the object's current metageneration does not match the given value.",
1453 "format": "int64",
1454 "location": "query",
1455 "type": "string"
1456 },
1457 "name": {
1458 "description": "Name of the object. Required when th e object metadata is not otherwise provided. Overrides the object metadata's nam e value, if any.",
1459 "location": "query",
1460 "type": "string"
1461 },
1462 "predefinedAcl": {
1463 "description": "Apply a predefined set of access con trols to this object.",
1464 "enum": [
1465 "authenticatedRead",
1466 "bucketOwnerFullControl",
1467 "bucketOwnerRead",
1468 "private",
1469 "projectPrivate",
1470 "publicRead"
1471 ],
1472 "enumDescriptions": [
1473 "Object owner gets OWNER access, and allAuthenti catedUsers get READER access.",
1474 "Object owner gets OWNER access, and project tea m owners get OWNER access.",
1475 "Object owner gets OWNER access, and project tea m owners get READER access.",
1476 "Object owner gets OWNER access.",
1477 "Object owner gets OWNER access, and project tea m members get access according to their roles.",
1478 "Object owner gets OWNER access, and allUsers ge t READER access."
1479 ],
1480 "location": "query",
1481 "type": "string"
1482 },
1483 "projection": {
1484 "description": "Set of properties to return. Default s to noAcl, unless the object resource specifies the acl property, when it defau lts to full.",
1485 "enum": [
1486 "full",
1487 "noAcl"
1488 ],
1489 "enumDescriptions": [
1490 "Include all properties.",
1491 "Omit the acl property."
1492 ],
1493 "location": "query",
1494 "type": "string"
1495 }
1496 },
1497 "path": "b/{bucket}/o",
1498 "request": {
1499 "$ref": "Object"
1500 },
1501 "response": {
1502 "$ref": "Object"
1503 },
1504 "scopes": [
1505 "https://www.googleapis.com/auth/devstorage.full_control ",
1506 "https://www.googleapis.com/auth/devstorage.read_write"
1507 ],
1508 "supportsMediaDownload": true,
1509 "supportsMediaUpload": true
1510 },
1511 "list": {
1512 "description": "Retrieves a list of objects matching the cri teria.",
1513 "httpMethod": "GET",
1514 "id": "storage.objects.list",
1515 "parameterOrder": [
1516 "bucket"
1517 ],
1518 "parameters": {
1519 "bucket": {
1520 "description": "Name of the bucket in which to look for objects.",
1521 "location": "path",
1522 "required": true,
1523 "type": "string"
1524 },
1525 "delimiter": {
1526 "description": "Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimite r will have their name, truncated after the delimiter, returned in prefixes. Dup licate prefixes are omitted.",
1527 "location": "query",
1528 "type": "string"
1529 },
1530 "maxResults": {
1531 "description": "Maximum number of items plus prefixe s to return. As duplicate prefixes are omitted, fewer total results may be retur ned than requested.",
1532 "format": "uint32",
1533 "location": "query",
1534 "minimum": "0",
1535 "type": "integer"
1536 },
1537 "pageToken": {
1538 "description": "A previously-returned page token rep resenting part of the larger set of results to view.",
1539 "location": "query",
1540 "type": "string"
1541 },
1542 "prefix": {
1543 "description": "Filter results to objects whose name s begin with this prefix.",
1544 "location": "query",
1545 "type": "string"
1546 },
1547 "projection": {
1548 "description": "Set of properties to return. Default s to noAcl.",
1549 "enum": [
1550 "full",
1551 "noAcl"
1552 ],
1553 "enumDescriptions": [
1554 "Include all properties.",
1555 "Omit the acl property."
1556 ],
1557 "location": "query",
1558 "type": "string"
1559 },
1560 "versions": {
1561 "description": "If true, lists all versions of a fil e as distinct results.",
1562 "location": "query",
1563 "type": "boolean"
1564 }
1565 },
1566 "path": "b/{bucket}/o",
1567 "response": {
1568 "$ref": "Objects"
1569 },
1570 "scopes": [
1571 "https://www.googleapis.com/auth/devstorage.full_control ",
1572 "https://www.googleapis.com/auth/devstorage.read_only",
1573 "https://www.googleapis.com/auth/devstorage.read_write"
1574 ],
1575 "supportsSubscription": true
1576 },
1577 "patch": {
1578 "description": "Updates an object's metadata. This method su pports patch semantics.",
1579 "httpMethod": "PATCH",
1580 "id": "storage.objects.patch",
1581 "parameterOrder": [
1582 "bucket",
1583 "object"
1584 ],
1585 "parameters": {
1586 "bucket": {
1587 "description": "Name of the bucket in which the obje ct resides.",
1588 "location": "path",
1589 "required": true,
1590 "type": "string"
1591 },
1592 "generation": {
1593 "description": "If present, selects a specific revis ion of this object (as opposed to the latest version, the default).",
1594 "format": "int64",
1595 "location": "query",
1596 "type": "string"
1597 },
1598 "ifGenerationMatch": {
1599 "description": "Makes the operation conditional on w hether the object's current generation matches the given value.",
1600 "format": "int64",
1601 "location": "query",
1602 "type": "string"
1603 },
1604 "ifGenerationNotMatch": {
1605 "description": "Makes the operation conditional on w hether the object's current generation does not match the given value.",
1606 "format": "int64",
1607 "location": "query",
1608 "type": "string"
1609 },
1610 "ifMetagenerationMatch": {
1611 "description": "Makes the operation conditional on w hether the object's current metageneration matches the given value.",
1612 "format": "int64",
1613 "location": "query",
1614 "type": "string"
1615 },
1616 "ifMetagenerationNotMatch": {
1617 "description": "Makes the operation conditional on w hether the object's current metageneration does not match the given value.",
1618 "format": "int64",
1619 "location": "query",
1620 "type": "string"
1621 },
1622 "object": {
1623 "description": "Name of the object.",
1624 "location": "path",
1625 "required": true,
1626 "type": "string"
1627 },
1628 "predefinedAcl": {
1629 "description": "Apply a predefined set of access con trols to this object.",
1630 "enum": [
1631 "authenticatedRead",
1632 "bucketOwnerFullControl",
1633 "bucketOwnerRead",
1634 "private",
1635 "projectPrivate",
1636 "publicRead"
1637 ],
1638 "enumDescriptions": [
1639 "Object owner gets OWNER access, and allAuthenti catedUsers get READER access.",
1640 "Object owner gets OWNER access, and project tea m owners get OWNER access.",
1641 "Object owner gets OWNER access, and project tea m owners get READER access.",
1642 "Object owner gets OWNER access.",
1643 "Object owner gets OWNER access, and project tea m members get access according to their roles.",
1644 "Object owner gets OWNER access, and allUsers ge t READER access."
1645 ],
1646 "location": "query",
1647 "type": "string"
1648 },
1649 "projection": {
1650 "description": "Set of properties to return. Default s to full.",
1651 "enum": [
1652 "full",
1653 "noAcl"
1654 ],
1655 "enumDescriptions": [
1656 "Include all properties.",
1657 "Omit the acl property."
1658 ],
1659 "location": "query",
1660 "type": "string"
1661 }
1662 },
1663 "path": "b/{bucket}/o/{object}",
1664 "request": {
1665 "$ref": "Object"
1666 },
1667 "response": {
1668 "$ref": "Object"
1669 },
1670 "scopes": [
1671 "https://www.googleapis.com/auth/devstorage.full_control ",
1672 "https://www.googleapis.com/auth/devstorage.read_write"
1673 ]
1674 },
1675 "update": {
1676 "description": "Updates an object's metadata.",
1677 "httpMethod": "PUT",
1678 "id": "storage.objects.update",
1679 "parameterOrder": [
1680 "bucket",
1681 "object"
1682 ],
1683 "parameters": {
1684 "bucket": {
1685 "description": "Name of the bucket in which the obje ct resides.",
1686 "location": "path",
1687 "required": true,
1688 "type": "string"
1689 },
1690 "generation": {
1691 "description": "If present, selects a specific revis ion of this object (as opposed to the latest version, the default).",
1692 "format": "int64",
1693 "location": "query",
1694 "type": "string"
1695 },
1696 "ifGenerationMatch": {
1697 "description": "Makes the operation conditional on w hether the object's current generation matches the given value.",
1698 "format": "int64",
1699 "location": "query",
1700 "type": "string"
1701 },
1702 "ifGenerationNotMatch": {
1703 "description": "Makes the operation conditional on w hether the object's current generation does not match the given value.",
1704 "format": "int64",
1705 "location": "query",
1706 "type": "string"
1707 },
1708 "ifMetagenerationMatch": {
1709 "description": "Makes the operation conditional on w hether the object's current metageneration matches the given value.",
1710 "format": "int64",
1711 "location": "query",
1712 "type": "string"
1713 },
1714 "ifMetagenerationNotMatch": {
1715 "description": "Makes the operation conditional on w hether the object's current metageneration does not match the given value.",
1716 "format": "int64",
1717 "location": "query",
1718 "type": "string"
1719 },
1720 "object": {
1721 "description": "Name of the object.",
1722 "location": "path",
1723 "required": true,
1724 "type": "string"
1725 },
1726 "predefinedAcl": {
1727 "description": "Apply a predefined set of access con trols to this object.",
1728 "enum": [
1729 "authenticatedRead",
1730 "bucketOwnerFullControl",
1731 "bucketOwnerRead",
1732 "private",
1733 "projectPrivate",
1734 "publicRead"
1735 ],
1736 "enumDescriptions": [
1737 "Object owner gets OWNER access, and allAuthenti catedUsers get READER access.",
1738 "Object owner gets OWNER access, and project tea m owners get OWNER access.",
1739 "Object owner gets OWNER access, and project tea m owners get READER access.",
1740 "Object owner gets OWNER access.",
1741 "Object owner gets OWNER access, and project tea m members get access according to their roles.",
1742 "Object owner gets OWNER access, and allUsers ge t READER access."
1743 ],
1744 "location": "query",
1745 "type": "string"
1746 },
1747 "projection": {
1748 "description": "Set of properties to return. Default s to full.",
1749 "enum": [
1750 "full",
1751 "noAcl"
1752 ],
1753 "enumDescriptions": [
1754 "Include all properties.",
1755 "Omit the acl property."
1756 ],
1757 "location": "query",
1758 "type": "string"
1759 }
1760 },
1761 "path": "b/{bucket}/o/{object}",
1762 "request": {
1763 "$ref": "Object"
1764 },
1765 "response": {
1766 "$ref": "Object"
1767 },
1768 "scopes": [
1769 "https://www.googleapis.com/auth/devstorage.full_control ",
1770 "https://www.googleapis.com/auth/devstorage.read_write"
1771 ],
1772 "supportsMediaDownload": true
1773 },
1774 "watchAll": {
1775 "description": "Watch for changes on all objects in a bucket .",
1776 "httpMethod": "POST",
1777 "id": "storage.objects.watchAll",
1778 "parameterOrder": [
1779 "bucket"
1780 ],
1781 "parameters": {
1782 "bucket": {
1783 "description": "Name of the bucket in which to look for objects.",
1784 "location": "path",
1785 "required": true,
1786 "type": "string"
1787 },
1788 "delimiter": {
1789 "description": "Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimite r will have their name, truncated after the delimiter, returned in prefixes. Dup licate prefixes are omitted.",
1790 "location": "query",
1791 "type": "string"
1792 },
1793 "maxResults": {
1794 "description": "Maximum number of items plus prefixe s to return. As duplicate prefixes are omitted, fewer total results may be retur ned than requested.",
1795 "format": "uint32",
1796 "location": "query",
1797 "minimum": "0",
1798 "type": "integer"
1799 },
1800 "pageToken": {
1801 "description": "A previously-returned page token rep resenting part of the larger set of results to view.",
1802 "location": "query",
1803 "type": "string"
1804 },
1805 "prefix": {
1806 "description": "Filter results to objects whose name s begin with this prefix.",
1807 "location": "query",
1808 "type": "string"
1809 },
1810 "projection": {
1811 "description": "Set of properties to return. Default s to noAcl.",
1812 "enum": [
1813 "full",
1814 "noAcl"
1815 ],
1816 "enumDescriptions": [
1817 "Include all properties.",
1818 "Omit the acl property."
1819 ],
1820 "location": "query",
1821 "type": "string"
1822 },
1823 "versions": {
1824 "description": "If true, lists all versions of a fil e as distinct results.",
1825 "location": "query",
1826 "type": "boolean"
1827 }
1828 },
1829 "path": "b/{bucket}/o/watch",
1830 "request": {
1831 "$ref": "Channel",
1832 "parameterName": "resource"
1833 },
1834 "response": {
1835 "$ref": "Channel"
1836 },
1837 "scopes": [
1838 "https://www.googleapis.com/auth/devstorage.full_control ",
1839 "https://www.googleapis.com/auth/devstorage.read_only",
1840 "https://www.googleapis.com/auth/devstorage.read_write"
1841 ],
1842 "supportsSubscription": true
1843 }
1844 }
1845 }
1846 },
1847 "revision": "20140828",
1848 "rootUrl": "https://www.googleapis.com/",
1849 "schemas": {
1850 "Bucket": {
1851 "description": "A bucket.",
1852 "id": "Bucket",
1853 "properties": {
1854 "acl": {
1855 "annotations": {
1856 "required": [
1857 "storage.buckets.update"
1858 ]
1859 },
1860 "description": "Access controls on the bucket.",
1861 "items": {
1862 "$ref": "BucketAccessControl"
1863 },
1864 "type": "array"
1865 },
1866 "cors": {
1867 "description": "The bucket's Cross-Origin Resource Sharing ( CORS) configuration.",
1868 "items": {
1869 "properties": {
1870 "maxAgeSeconds": {
1871 "description": "The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.",
1872 "format": "int32",
1873 "type": "integer"
1874 },
1875 "method": {
1876 "description": "The list of HTTP methods on whic h to include CORS response headers, (GET, OPTIONS, POST, etc) Note: \"*\" is per mitted in the list of methods, and means \"any method\".",
1877 "items": {
1878 "type": "string"
1879 },
1880 "type": "array"
1881 },
1882 "origin": {
1883 "description": "The list of Origins eligible to receive CORS response headers. Note: \"*\" is permitted in the list of origins, and means \"any Origin\".",
1884 "items": {
1885 "type": "string"
1886 },
1887 "type": "array"
1888 },
1889 "responseHeader": {
1890 "description": "The list of HTTP headers other t han the simple response headers to give permission for the user-agent to share a cross domains.",
1891 "items": {
1892 "type": "string"
1893 },
1894 "type": "array"
1895 }
1896 },
1897 "type": "object"
1898 },
1899 "type": "array"
1900 },
1901 "defaultObjectAcl": {
1902 "description": "Default access controls to apply to new obje cts when no ACL is provided.",
1903 "items": {
1904 "$ref": "ObjectAccessControl"
1905 },
1906 "type": "array"
1907 },
1908 "etag": {
1909 "description": "HTTP 1.1 Entity tag for the bucket.",
1910 "type": "string"
1911 },
1912 "id": {
1913 "description": "The ID of the bucket.",
1914 "type": "string"
1915 },
1916 "kind": {
1917 "default": "storage#bucket",
1918 "description": "The kind of item this is. For buckets, this is always storage#bucket.",
1919 "type": "string"
1920 },
1921 "lifecycle": {
1922 "description": "The bucket's lifecycle configuration. See li fecycle management for more information.",
1923 "properties": {
1924 "rule": {
1925 "description": "A lifecycle management rule, which i s made of an action to take and the condition(s) under which the action will be taken.",
1926 "items": {
1927 "properties": {
1928 "action": {
1929 "description": "The action to take.",
1930 "properties": {
1931 "type": {
1932 "description": "Type of the acti on. Currently, only Delete is supported.",
1933 "type": "string"
1934 }
1935 },
1936 "type": "object"
1937 },
1938 "condition": {
1939 "description": "The condition(s) under w hich the action will be taken.",
1940 "properties": {
1941 "age": {
1942 "description": "Age of an object (in days). This condition is satisfied when an object reaches the specified age .",
1943 "format": "int32",
1944 "type": "integer"
1945 },
1946 "createdBefore": {
1947 "description": "A date in RFC 33 39 format with only the date part (for instance, \"2013-01-15\"). This condition is satisfied when an object is created before midnight of the specified date in UTC.",
1948 "format": "date",
1949 "type": "string"
1950 },
1951 "isLive": {
1952 "description": "Relevant only fo r versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.",
1953 "type": "boolean"
1954 },
1955 "numNewerVersions": {
1956 "description": "Relevant only fo r versioned objects. If the value is N, this condition is satisfied when there a re at least N versions (including the live version) newer than this version of t he object.",
1957 "format": "int32",
1958 "type": "integer"
1959 }
1960 },
1961 "type": "object"
1962 }
1963 },
1964 "type": "object"
1965 },
1966 "type": "array"
1967 }
1968 },
1969 "type": "object"
1970 },
1971 "location": {
1972 "description": "The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults t o US. See the developer's guide for the authoritative list.",
1973 "type": "string"
1974 },
1975 "logging": {
1976 "description": "The bucket's logging configuration, which de fines the destination bucket and optional name prefix for the current bucket's l ogs.",
1977 "properties": {
1978 "logBucket": {
1979 "description": "The destination bucket where the cur rent bucket's logs should be placed.",
1980 "type": "string"
1981 },
1982 "logObjectPrefix": {
1983 "description": "A prefix for log object names.",
1984 "type": "string"
1985 }
1986 },
1987 "type": "object"
1988 },
1989 "metageneration": {
1990 "description": "The metadata generation of this bucket.",
1991 "format": "int64",
1992 "type": "string"
1993 },
1994 "name": {
1995 "annotations": {
1996 "required": [
1997 "storage.buckets.insert"
1998 ]
1999 },
2000 "description": "The name of the bucket.",
2001 "type": "string"
2002 },
2003 "owner": {
2004 "description": "The owner of the bucket. This is always the project team's owner group.",
2005 "properties": {
2006 "entity": {
2007 "description": "The entity, in the form project-owne r-projectId.",
2008 "type": "string"
2009 },
2010 "entityId": {
2011 "description": "The ID for the entity.",
2012 "type": "string"
2013 }
2014 },
2015 "type": "object"
2016 },
2017 "projectNumber": {
2018 "description": "The project number of the project the bucket belongs to.",
2019 "format": "uint64",
2020 "type": "string"
2021 },
2022 "selfLink": {
2023 "description": "The URI of this bucket.",
2024 "type": "string"
2025 },
2026 "storageClass": {
2027 "description": "The bucket's storage class. This defines how objects in the bucket are stored and determines the SLA and the cost of storage . Typical values are STANDARD and DURABLE_REDUCED_AVAILABILITY. Defaults to STAN DARD. See the developer's guide for the authoritative list.",
2028 "type": "string"
2029 },
2030 "timeCreated": {
2031 "description": "Creation time of the bucket in RFC 3339 form at.",
2032 "format": "date-time",
2033 "type": "string"
2034 },
2035 "versioning": {
2036 "description": "The bucket's versioning configuration.",
2037 "properties": {
2038 "enabled": {
2039 "description": "While set to true, versioning is ful ly enabled for this bucket.",
2040 "type": "boolean"
2041 }
2042 },
2043 "type": "object"
2044 },
2045 "website": {
2046 "description": "The bucket's website configuration.",
2047 "properties": {
2048 "mainPageSuffix": {
2049 "description": "Behaves as the bucket's directory in dex where missing objects are treated as potential directories.",
2050 "type": "string"
2051 },
2052 "notFoundPage": {
2053 "description": "The custom object to return when a r equested resource is not found.",
2054 "type": "string"
2055 }
2056 },
2057 "type": "object"
2058 }
2059 },
2060 "type": "object"
2061 },
2062 "BucketAccessControl": {
2063 "description": "An access-control entry.",
2064 "id": "BucketAccessControl",
2065 "properties": {
2066 "bucket": {
2067 "description": "The name of the bucket.",
2068 "type": "string"
2069 },
2070 "domain": {
2071 "description": "The domain associated with the entity, if an y.",
2072 "type": "string"
2073 },
2074 "email": {
2075 "description": "The email address associated with the entity , if any.",
2076 "type": "string"
2077 },
2078 "entity": {
2079 "annotations": {
2080 "required": [
2081 "storage.bucketAccessControls.insert"
2082 ]
2083 },
2084 "description": "The entity holding the permission, in one of the following forms: \n- user-userId \n- user-email \n- group-groupId \n- group -email \n- domain-domain \n- project-team-projectId \n- allUsers \n- allAuthenti catedUsers Examples: \n- The user liz@example.com would be user-liz@example.com. \n- The group example@googlegroups.com would be group-example@googlegroups.com. \n- To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.",
2085 "type": "string"
2086 },
2087 "entityId": {
2088 "description": "The ID for the entity, if any.",
2089 "type": "string"
2090 },
2091 "etag": {
2092 "description": "HTTP 1.1 Entity tag for the access-control e ntry.",
2093 "type": "string"
2094 },
2095 "id": {
2096 "description": "The ID of the access-control entry.",
2097 "type": "string"
2098 },
2099 "kind": {
2100 "default": "storage#bucketAccessControl",
2101 "description": "The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.",
2102 "type": "string"
2103 },
2104 "projectTeam": {
2105 "description": "The project team associated with the entity, if any.",
2106 "properties": {
2107 "projectNumber": {
2108 "description": "The project number.",
2109 "type": "string"
2110 },
2111 "team": {
2112 "description": "The team. Can be owners, editors, or viewers.",
2113 "type": "string"
2114 }
2115 },
2116 "type": "object"
2117 },
2118 "role": {
2119 "annotations": {
2120 "required": [
2121 "storage.bucketAccessControls.insert"
2122 ]
2123 },
2124 "description": "The access permission for the entity. Can be READER, WRITER, or OWNER.",
2125 "type": "string"
2126 },
2127 "selfLink": {
2128 "description": "The link to this access-control entry.",
2129 "type": "string"
2130 }
2131 },
2132 "type": "object"
2133 },
2134 "BucketAccessControls": {
2135 "description": "An access-control list.",
2136 "id": "BucketAccessControls",
2137 "properties": {
2138 "items": {
2139 "description": "The list of items.",
2140 "items": {
2141 "$ref": "BucketAccessControl"
2142 },
2143 "type": "array"
2144 },
2145 "kind": {
2146 "default": "storage#bucketAccessControls",
2147 "description": "The kind of item this is. For lists of bucke t access control entries, this is always storage#bucketAccessControls.",
2148 "type": "string"
2149 }
2150 },
2151 "type": "object"
2152 },
2153 "Buckets": {
2154 "description": "A list of buckets.",
2155 "id": "Buckets",
2156 "properties": {
2157 "items": {
2158 "description": "The list of items.",
2159 "items": {
2160 "$ref": "Bucket"
2161 },
2162 "type": "array"
2163 },
2164 "kind": {
2165 "default": "storage#buckets",
2166 "description": "The kind of item this is. For lists of bucke ts, this is always storage#buckets.",
2167 "type": "string"
2168 },
2169 "nextPageToken": {
2170 "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the nex t page of results.",
2171 "type": "string"
2172 }
2173 },
2174 "type": "object"
2175 },
2176 "Channel": {
2177 "description": "An notification channel used to watch for resource c hanges.",
2178 "id": "Channel",
2179 "properties": {
2180 "address": {
2181 "description": "The address where notifications are delivere d for this channel.",
2182 "type": "string"
2183 },
2184 "expiration": {
2185 "description": "Date and time of notification channel expira tion, expressed as a Unix timestamp, in milliseconds. Optional.",
2186 "format": "int64",
2187 "type": "string"
2188 },
2189 "id": {
2190 "description": "A UUID or similar unique string that identif ies this channel.",
2191 "type": "string"
2192 },
2193 "kind": {
2194 "default": "api#channel",
2195 "description": "Identifies this as a notification channel us ed to watch for changes to a resource. Value: the fixed string \"api#channel\"." ,
2196 "type": "string"
2197 },
2198 "params": {
2199 "additionalProperties": {
2200 "description": "Declares a new parameter by name.",
2201 "type": "string"
2202 },
2203 "description": "Additional parameters controlling delivery c hannel behavior. Optional.",
2204 "type": "object"
2205 },
2206 "payload": {
2207 "description": "A Boolean value to indicate whether payload is wanted. Optional.",
2208 "type": "boolean"
2209 },
2210 "resourceId": {
2211 "description": "An opaque ID that identifies the resource be ing watched on this channel. Stable across different API versions.",
2212 "type": "string"
2213 },
2214 "resourceUri": {
2215 "description": "A version-specific identifier for the watche d resource.",
2216 "type": "string"
2217 },
2218 "token": {
2219 "description": "An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.",
2220 "type": "string"
2221 },
2222 "type": {
2223 "description": "The type of delivery mechanism used for this channel.",
2224 "type": "string"
2225 }
2226 },
2227 "type": "object"
2228 },
2229 "ComposeRequest": {
2230 "description": "A Compose request.",
2231 "id": "ComposeRequest",
2232 "properties": {
2233 "destination": {
2234 "$ref": "Object",
2235 "description": "Properties of the resulting object."
2236 },
2237 "kind": {
2238 "default": "storage#composeRequest",
2239 "description": "The kind of item this is.",
2240 "type": "string"
2241 },
2242 "sourceObjects": {
2243 "annotations": {
2244 "required": [
2245 "storage.objects.compose"
2246 ]
2247 },
2248 "description": "The list of source objects that will be conc atenated into a single object.",
2249 "items": {
2250 "properties": {
2251 "generation": {
2252 "description": "The generation of this object to use as the source.",
2253 "format": "int64",
2254 "type": "string"
2255 },
2256 "name": {
2257 "annotations": {
2258 "required": [
2259 "storage.objects.compose"
2260 ]
2261 },
2262 "description": "The source object's name. The so urce object's bucket is implicitly the destination bucket.",
2263 "type": "string"
2264 },
2265 "objectPreconditions": {
2266 "description": "Conditions that must be met for this operation to execute.",
2267 "properties": {
2268 "ifGenerationMatch": {
2269 "description": "Only perform the composi tion if the generation of the source object that would be used matches this valu e. If this value and a generation are both specified, they must be the same valu e or the call will fail.",
2270 "format": "int64",
2271 "type": "string"
2272 }
2273 },
2274 "type": "object"
2275 }
2276 },
2277 "type": "object"
2278 },
2279 "type": "array"
2280 }
2281 },
2282 "type": "object"
2283 },
2284 "Object": {
2285 "description": "An object.",
2286 "id": "Object",
2287 "properties": {
2288 "acl": {
2289 "annotations": {
2290 "required": [
2291 "storage.objects.update"
2292 ]
2293 },
2294 "description": "Access controls on the object.",
2295 "items": {
2296 "$ref": "ObjectAccessControl"
2297 },
2298 "type": "array"
2299 },
2300 "bucket": {
2301 "description": "The name of the bucket containing this objec t.",
2302 "type": "string"
2303 },
2304 "cacheControl": {
2305 "description": "Cache-Control directive for the object data. ",
2306 "type": "string"
2307 },
2308 "componentCount": {
2309 "description": "Number of underlying components that make up this object. Components are accumulated by compose operations.",
2310 "format": "int32",
2311 "type": "integer"
2312 },
2313 "contentDisposition": {
2314 "description": "Content-Disposition of the object data.",
2315 "type": "string"
2316 },
2317 "contentEncoding": {
2318 "description": "Content-Encoding of the object data.",
2319 "type": "string"
2320 },
2321 "contentLanguage": {
2322 "description": "Content-Language of the object data.",
2323 "type": "string"
2324 },
2325 "contentType": {
2326 "annotations": {
2327 "required": [
2328 "storage.objects.update"
2329 ]
2330 },
2331 "description": "Content-Type of the object data.",
2332 "type": "string"
2333 },
2334 "crc32c": {
2335 "description": "CRC32c checksum, as described in RFC 4960, A ppendix B; encoded using base64.",
2336 "type": "string"
2337 },
2338 "etag": {
2339 "description": "HTTP 1.1 Entity tag for the object.",
2340 "type": "string"
2341 },
2342 "generation": {
2343 "description": "The content generation of this object. Used for object versioning.",
2344 "format": "int64",
2345 "type": "string"
2346 },
2347 "id": {
2348 "description": "The ID of the object.",
2349 "type": "string"
2350 },
2351 "kind": {
2352 "default": "storage#object",
2353 "description": "The kind of item this is. For objects, this is always storage#object.",
2354 "type": "string"
2355 },
2356 "md5Hash": {
2357 "description": "MD5 hash of the data; encoded using base64." ,
2358 "type": "string"
2359 },
2360 "mediaLink": {
2361 "description": "Media download link.",
2362 "type": "string"
2363 },
2364 "metadata": {
2365 "additionalProperties": {
2366 "description": "An individual metadata entry.",
2367 "type": "string"
2368 },
2369 "description": "User-provided metadata, in key/value pairs." ,
2370 "type": "object"
2371 },
2372 "metageneration": {
2373 "description": "The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata . A metageneration number is only meaningful in the context of a particular gene ration of a particular object.",
2374 "format": "int64",
2375 "type": "string"
2376 },
2377 "name": {
2378 "description": "The name of this object. Required if not spe cified by URL parameter.",
2379 "type": "string"
2380 },
2381 "owner": {
2382 "description": "The owner of the object. This will always be the uploader of the object.",
2383 "properties": {
2384 "entity": {
2385 "description": "The entity, in the form user-userId. ",
2386 "type": "string"
2387 },
2388 "entityId": {
2389 "description": "The ID for the entity.",
2390 "type": "string"
2391 }
2392 },
2393 "type": "object"
2394 },
2395 "selfLink": {
2396 "description": "The link to this object.",
2397 "type": "string"
2398 },
2399 "size": {
2400 "description": "Content-Length of the data in bytes.",
2401 "format": "uint64",
2402 "type": "string"
2403 },
2404 "storageClass": {
2405 "description": "Storage class of the object.",
2406 "type": "string"
2407 },
2408 "timeDeleted": {
2409 "description": "The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been dele ted.",
2410 "format": "date-time",
2411 "type": "string"
2412 },
2413 "updated": {
2414 "description": "The creation or modification time of the obj ect in RFC 3339 format. For buckets with versioning enabled, changing an object' s metadata does not change this property.",
2415 "format": "date-time",
2416 "type": "string"
2417 }
2418 },
2419 "type": "object"
2420 },
2421 "ObjectAccessControl": {
2422 "description": "An access-control entry.",
2423 "id": "ObjectAccessControl",
2424 "properties": {
2425 "bucket": {
2426 "description": "The name of the bucket.",
2427 "type": "string"
2428 },
2429 "domain": {
2430 "description": "The domain associated with the entity, if an y.",
2431 "type": "string"
2432 },
2433 "email": {
2434 "description": "The email address associated with the entity , if any.",
2435 "type": "string"
2436 },
2437 "entity": {
2438 "description": "The entity holding the permission, in one of the following forms: \n- user-userId \n- user-email \n- group-groupId \n- group -email \n- domain-domain \n- project-team-projectId \n- allUsers \n- allAuthenti catedUsers Examples: \n- The user liz@example.com would be user-liz@example.com. \n- The group example@googlegroups.com would be group-example@googlegroups.com. \n- To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.",
2439 "type": "string"
2440 },
2441 "entityId": {
2442 "description": "The ID for the entity, if any.",
2443 "type": "string"
2444 },
2445 "etag": {
2446 "description": "HTTP 1.1 Entity tag for the access-control e ntry.",
2447 "type": "string"
2448 },
2449 "generation": {
2450 "description": "The content generation of the object.",
2451 "format": "int64",
2452 "type": "string"
2453 },
2454 "id": {
2455 "description": "The ID of the access-control entry.",
2456 "type": "string"
2457 },
2458 "kind": {
2459 "default": "storage#objectAccessControl",
2460 "description": "The kind of item this is. For object access control entries, this is always storage#objectAccessControl.",
2461 "type": "string"
2462 },
2463 "object": {
2464 "description": "The name of the object.",
2465 "type": "string"
2466 },
2467 "projectTeam": {
2468 "description": "The project team associated with the entity, if any.",
2469 "properties": {
2470 "projectNumber": {
2471 "description": "The project number.",
2472 "type": "string"
2473 },
2474 "team": {
2475 "description": "The team. Can be owners, editors, or viewers.",
2476 "type": "string"
2477 }
2478 },
2479 "type": "object"
2480 },
2481 "role": {
2482 "description": "The access permission for the entity. Can be READER or OWNER.",
2483 "type": "string"
2484 },
2485 "selfLink": {
2486 "description": "The link to this access-control entry.",
2487 "type": "string"
2488 }
2489 },
2490 "type": "object"
2491 },
2492 "ObjectAccessControls": {
2493 "description": "An access-control list.",
2494 "id": "ObjectAccessControls",
2495 "properties": {
2496 "items": {
2497 "description": "The list of items.",
2498 "items": {
2499 "type": "any"
2500 },
2501 "type": "array"
2502 },
2503 "kind": {
2504 "default": "storage#objectAccessControls",
2505 "description": "The kind of item this is. For lists of objec t access control entries, this is always storage#objectAccessControls.",
2506 "type": "string"
2507 }
2508 },
2509 "type": "object"
2510 },
2511 "Objects": {
2512 "description": "A list of objects.",
2513 "id": "Objects",
2514 "properties": {
2515 "items": {
2516 "description": "The list of items.",
2517 "items": {
2518 "$ref": "Object"
2519 },
2520 "type": "array"
2521 },
2522 "kind": {
2523 "default": "storage#objects",
2524 "description": "The kind of item this is. For lists of objec ts, this is always storage#objects.",
2525 "type": "string"
2526 },
2527 "nextPageToken": {
2528 "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the nex t page of results.",
2529 "type": "string"
2530 },
2531 "prefixes": {
2532 "description": "The list of prefixes of objects matching-but -not-listed up to and including the requested delimiter.",
2533 "items": {
2534 "type": "string"
2535 },
2536 "type": "array"
2537 }
2538 },
2539 "type": "object"
2540 }
2541 },
2542 "servicePath": "storage/v1/",
2543 "title": "Cloud Storage API",
2544 "version": "v1"
2545 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698