OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 }, | 7 }, |
| 8 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
| 9 "description": "MESSAGE UNDER CONSTRUCTION View your data ac
ross Google Cloud Platform services" |
| 10 }, |
8 "https://www.googleapis.com/auth/devstorage.full_control": { | 11 "https://www.googleapis.com/auth/devstorage.full_control": { |
9 "description": "Manage your data and permissions in Google C
loud Storage" | 12 "description": "Manage your data and permissions in Google C
loud Storage" |
10 }, | 13 }, |
11 "https://www.googleapis.com/auth/devstorage.read_only": { | 14 "https://www.googleapis.com/auth/devstorage.read_only": { |
12 "description": "View your data in Google Cloud Storage" | 15 "description": "View your data in Google Cloud Storage" |
13 }, | 16 }, |
14 "https://www.googleapis.com/auth/devstorage.read_write": { | 17 "https://www.googleapis.com/auth/devstorage.read_write": { |
15 "description": "Manage your data in Google Cloud Storage" | 18 "description": "Manage your data in Google Cloud Storage" |
16 } | 19 } |
17 } | 20 } |
18 } | 21 } |
19 }, | 22 }, |
20 "basePath": "/storage/v1/", | 23 "basePath": "/storage/v1/", |
21 "baseUrl": "https://www.googleapis.com/storage/v1/", | 24 "baseUrl": "https://www.googleapis.com/storage/v1/", |
22 "batchPath": "batch", | 25 "batchPath": "batch", |
23 "description": "Lets you store and retrieve potentially-large, immutable dat
a objects.", | 26 "description": "Lets you store and retrieve potentially-large, immutable dat
a objects.", |
24 "discoveryVersion": "v1", | 27 "discoveryVersion": "v1", |
25 "documentationLink": "https://developers.google.com/storage/docs/json_api/", | 28 "documentationLink": "https://developers.google.com/storage/docs/json_api/", |
26 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/lTxRjj5-AURGfd9glUYk42wgbOA\"", | 29 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/kWLJzEBeeLCaXvxPFKyXDnqCzaY\"", |
27 "icons": { | 30 "icons": { |
28 "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png
", | 31 "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png
", |
29 "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png
" | 32 "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png
" |
30 }, | 33 }, |
31 "id": "storage:v1", | 34 "id": "storage:v1", |
32 "kind": "discovery#restDescription", | 35 "kind": "discovery#restDescription", |
33 "labels": [ | 36 "labels": [ |
34 "labs" | 37 "labs" |
35 ], | 38 ], |
36 "name": "storage", | 39 "name": "storage", |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 "location": "query", | 337 "location": "query", |
335 "type": "string" | 338 "type": "string" |
336 } | 339 } |
337 }, | 340 }, |
338 "path": "b/{bucket}", | 341 "path": "b/{bucket}", |
339 "response": { | 342 "response": { |
340 "$ref": "Bucket" | 343 "$ref": "Bucket" |
341 }, | 344 }, |
342 "scopes": [ | 345 "scopes": [ |
343 "https://www.googleapis.com/auth/cloud-platform", | 346 "https://www.googleapis.com/auth/cloud-platform", |
| 347 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
344 "https://www.googleapis.com/auth/devstorage.full_control
", | 348 "https://www.googleapis.com/auth/devstorage.full_control
", |
345 "https://www.googleapis.com/auth/devstorage.read_only", | 349 "https://www.googleapis.com/auth/devstorage.read_only", |
346 "https://www.googleapis.com/auth/devstorage.read_write" | 350 "https://www.googleapis.com/auth/devstorage.read_write" |
347 ] | 351 ] |
348 }, | 352 }, |
349 "insert": { | 353 "insert": { |
350 "description": "Creates a new bucket.", | 354 "description": "Creates a new bucket.", |
351 "httpMethod": "POST", | 355 "httpMethod": "POST", |
352 "id": "storage.buckets.insert", | 356 "id": "storage.buckets.insert", |
353 "parameterOrder": [ | 357 "parameterOrder": [ |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 "location": "query", | 475 "location": "query", |
472 "type": "string" | 476 "type": "string" |
473 } | 477 } |
474 }, | 478 }, |
475 "path": "b", | 479 "path": "b", |
476 "response": { | 480 "response": { |
477 "$ref": "Buckets" | 481 "$ref": "Buckets" |
478 }, | 482 }, |
479 "scopes": [ | 483 "scopes": [ |
480 "https://www.googleapis.com/auth/cloud-platform", | 484 "https://www.googleapis.com/auth/cloud-platform", |
| 485 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
481 "https://www.googleapis.com/auth/devstorage.full_control
", | 486 "https://www.googleapis.com/auth/devstorage.full_control
", |
482 "https://www.googleapis.com/auth/devstorage.read_only", | 487 "https://www.googleapis.com/auth/devstorage.read_only", |
483 "https://www.googleapis.com/auth/devstorage.read_write" | 488 "https://www.googleapis.com/auth/devstorage.read_write" |
484 ] | 489 ] |
485 }, | 490 }, |
486 "patch": { | 491 "patch": { |
487 "description": "Updates a bucket. This method supports patch
semantics.", | 492 "description": "Updates a bucket. This method supports patch
semantics.", |
488 "httpMethod": "PATCH", | 493 "httpMethod": "PATCH", |
489 "id": "storage.buckets.patch", | 494 "id": "storage.buckets.patch", |
490 "parameterOrder": [ | 495 "parameterOrder": [ |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 "description": "Stop watching resources through this channel
", | 682 "description": "Stop watching resources through this channel
", |
678 "httpMethod": "POST", | 683 "httpMethod": "POST", |
679 "id": "storage.channels.stop", | 684 "id": "storage.channels.stop", |
680 "path": "channels/stop", | 685 "path": "channels/stop", |
681 "request": { | 686 "request": { |
682 "$ref": "Channel", | 687 "$ref": "Channel", |
683 "parameterName": "resource" | 688 "parameterName": "resource" |
684 }, | 689 }, |
685 "scopes": [ | 690 "scopes": [ |
686 "https://www.googleapis.com/auth/cloud-platform", | 691 "https://www.googleapis.com/auth/cloud-platform", |
| 692 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
687 "https://www.googleapis.com/auth/devstorage.full_control
", | 693 "https://www.googleapis.com/auth/devstorage.full_control
", |
688 "https://www.googleapis.com/auth/devstorage.read_only", | 694 "https://www.googleapis.com/auth/devstorage.read_only", |
689 "https://www.googleapis.com/auth/devstorage.read_write" | 695 "https://www.googleapis.com/auth/devstorage.read_write" |
690 ] | 696 ] |
691 } | 697 } |
692 } | 698 } |
693 }, | 699 }, |
694 "defaultObjectAccessControls": { | 700 "defaultObjectAccessControls": { |
695 "methods": { | 701 "methods": { |
696 "delete": { | 702 "delete": { |
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1465 "location": "query", | 1471 "location": "query", |
1466 "type": "string" | 1472 "type": "string" |
1467 } | 1473 } |
1468 }, | 1474 }, |
1469 "path": "b/{bucket}/o/{object}", | 1475 "path": "b/{bucket}/o/{object}", |
1470 "response": { | 1476 "response": { |
1471 "$ref": "Object" | 1477 "$ref": "Object" |
1472 }, | 1478 }, |
1473 "scopes": [ | 1479 "scopes": [ |
1474 "https://www.googleapis.com/auth/cloud-platform", | 1480 "https://www.googleapis.com/auth/cloud-platform", |
| 1481 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
1475 "https://www.googleapis.com/auth/devstorage.full_control
", | 1482 "https://www.googleapis.com/auth/devstorage.full_control
", |
1476 "https://www.googleapis.com/auth/devstorage.read_only", | 1483 "https://www.googleapis.com/auth/devstorage.read_only", |
1477 "https://www.googleapis.com/auth/devstorage.read_write" | 1484 "https://www.googleapis.com/auth/devstorage.read_write" |
1478 ], | 1485 ], |
1479 "supportsMediaDownload": true | 1486 "supportsMediaDownload": true |
1480 }, | 1487 }, |
1481 "insert": { | 1488 "insert": { |
1482 "description": "Stores a new object and metadata.", | 1489 "description": "Stores a new object and metadata.", |
1483 "httpMethod": "POST", | 1490 "httpMethod": "POST", |
1484 "id": "storage.objects.insert", | 1491 "id": "storage.objects.insert", |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1645 "location": "query", | 1652 "location": "query", |
1646 "type": "boolean" | 1653 "type": "boolean" |
1647 } | 1654 } |
1648 }, | 1655 }, |
1649 "path": "b/{bucket}/o", | 1656 "path": "b/{bucket}/o", |
1650 "response": { | 1657 "response": { |
1651 "$ref": "Objects" | 1658 "$ref": "Objects" |
1652 }, | 1659 }, |
1653 "scopes": [ | 1660 "scopes": [ |
1654 "https://www.googleapis.com/auth/cloud-platform", | 1661 "https://www.googleapis.com/auth/cloud-platform", |
| 1662 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
1655 "https://www.googleapis.com/auth/devstorage.full_control
", | 1663 "https://www.googleapis.com/auth/devstorage.full_control
", |
1656 "https://www.googleapis.com/auth/devstorage.read_only", | 1664 "https://www.googleapis.com/auth/devstorage.read_only", |
1657 "https://www.googleapis.com/auth/devstorage.read_write" | 1665 "https://www.googleapis.com/auth/devstorage.read_write" |
1658 ], | 1666 ], |
1659 "supportsSubscription": true | 1667 "supportsSubscription": true |
1660 }, | 1668 }, |
1661 "patch": { | 1669 "patch": { |
1662 "description": "Updates an object's metadata. This method su
pports patch semantics.", | 1670 "description": "Updates an object's metadata. This method su
pports patch semantics.", |
1663 "httpMethod": "PATCH", | 1671 "httpMethod": "PATCH", |
1664 "id": "storage.objects.patch", | 1672 "id": "storage.objects.patch", |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2063 "path": "b/{bucket}/o/watch", | 2071 "path": "b/{bucket}/o/watch", |
2064 "request": { | 2072 "request": { |
2065 "$ref": "Channel", | 2073 "$ref": "Channel", |
2066 "parameterName": "resource" | 2074 "parameterName": "resource" |
2067 }, | 2075 }, |
2068 "response": { | 2076 "response": { |
2069 "$ref": "Channel" | 2077 "$ref": "Channel" |
2070 }, | 2078 }, |
2071 "scopes": [ | 2079 "scopes": [ |
2072 "https://www.googleapis.com/auth/cloud-platform", | 2080 "https://www.googleapis.com/auth/cloud-platform", |
| 2081 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
2073 "https://www.googleapis.com/auth/devstorage.full_control
", | 2082 "https://www.googleapis.com/auth/devstorage.full_control
", |
2074 "https://www.googleapis.com/auth/devstorage.read_only", | 2083 "https://www.googleapis.com/auth/devstorage.read_only", |
2075 "https://www.googleapis.com/auth/devstorage.read_write" | 2084 "https://www.googleapis.com/auth/devstorage.read_write" |
2076 ], | 2085 ], |
2077 "supportsSubscription": true | 2086 "supportsSubscription": true |
2078 } | 2087 } |
2079 } | 2088 } |
2080 } | 2089 } |
2081 }, | 2090 }, |
2082 "revision": "20150326", | 2091 "revision": "20150723", |
2083 "rootUrl": "https://www.googleapis.com/", | 2092 "rootUrl": "https://www.googleapis.com/", |
2084 "schemas": { | 2093 "schemas": { |
2085 "Bucket": { | 2094 "Bucket": { |
2086 "description": "A bucket.", | 2095 "description": "A bucket.", |
2087 "id": "Bucket", | 2096 "id": "Bucket", |
2088 "properties": { | 2097 "properties": { |
2089 "acl": { | 2098 "acl": { |
2090 "annotations": { | 2099 "annotations": { |
2091 "required": [ | 2100 "required": [ |
2092 "storage.buckets.update" | 2101 "storage.buckets.update" |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2553 "description": "Content-Encoding of the object data.", | 2562 "description": "Content-Encoding of the object data.", |
2554 "type": "string" | 2563 "type": "string" |
2555 }, | 2564 }, |
2556 "contentLanguage": { | 2565 "contentLanguage": { |
2557 "description": "Content-Language of the object data.", | 2566 "description": "Content-Language of the object data.", |
2558 "type": "string" | 2567 "type": "string" |
2559 }, | 2568 }, |
2560 "contentType": { | 2569 "contentType": { |
2561 "annotations": { | 2570 "annotations": { |
2562 "required": [ | 2571 "required": [ |
| 2572 "storage.objects.insert", |
2563 "storage.objects.update" | 2573 "storage.objects.update" |
2564 ] | 2574 ] |
2565 }, | 2575 }, |
2566 "description": "Content-Type of the object data.", | 2576 "description": "Content-Type of the object data.", |
2567 "type": "string" | 2577 "type": "string" |
2568 }, | 2578 }, |
2569 "crc32c": { | 2579 "crc32c": { |
2570 "description": "CRC32c checksum, as described in RFC 4960, A
ppendix B; encoded using base64 in big-endian byte order.", | 2580 "description": "CRC32c checksum, as described in RFC 4960, A
ppendix B; encoded using base64 in big-endian byte order. For more information a
bout using the CRC32c checksum, see Hashes and ETags: Best Practices.", |
2571 "type": "string" | 2581 "type": "string" |
2572 }, | 2582 }, |
2573 "etag": { | 2583 "etag": { |
2574 "description": "HTTP 1.1 Entity tag for the object.", | 2584 "description": "HTTP 1.1 Entity tag for the object.", |
2575 "type": "string" | 2585 "type": "string" |
2576 }, | 2586 }, |
2577 "generation": { | 2587 "generation": { |
2578 "description": "The content generation of this object. Used
for object versioning.", | 2588 "description": "The content generation of this object. Used
for object versioning.", |
2579 "format": "int64", | 2589 "format": "int64", |
2580 "type": "string" | 2590 "type": "string" |
2581 }, | 2591 }, |
2582 "id": { | 2592 "id": { |
2583 "description": "The ID of the object.", | 2593 "description": "The ID of the object.", |
2584 "type": "string" | 2594 "type": "string" |
2585 }, | 2595 }, |
2586 "kind": { | 2596 "kind": { |
2587 "default": "storage#object", | 2597 "default": "storage#object", |
2588 "description": "The kind of item this is. For objects, this
is always storage#object.", | 2598 "description": "The kind of item this is. For objects, this
is always storage#object.", |
2589 "type": "string" | 2599 "type": "string" |
2590 }, | 2600 }, |
2591 "md5Hash": { | 2601 "md5Hash": { |
2592 "description": "MD5 hash of the data; encoded using base64."
, | 2602 "description": "MD5 hash of the data; encoded using base64.
For more information about using the MD5 hash, see Hashes and ETags: Best Practi
ces.", |
2593 "type": "string" | 2603 "type": "string" |
2594 }, | 2604 }, |
2595 "mediaLink": { | 2605 "mediaLink": { |
2596 "description": "Media download link.", | 2606 "description": "Media download link.", |
2597 "type": "string" | 2607 "type": "string" |
2598 }, | 2608 }, |
2599 "metadata": { | 2609 "metadata": { |
2600 "additionalProperties": { | 2610 "additionalProperties": { |
2601 "description": "An individual metadata entry.", | 2611 "description": "An individual metadata entry.", |
2602 "type": "string" | 2612 "type": "string" |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2805 "type": "string" | 2815 "type": "string" |
2806 } | 2816 } |
2807 }, | 2817 }, |
2808 "type": "object" | 2818 "type": "object" |
2809 } | 2819 } |
2810 }, | 2820 }, |
2811 "servicePath": "storage/v1/", | 2821 "servicePath": "storage/v1/", |
2812 "title": "Cloud Storage API", | 2822 "title": "Cloud Storage API", |
2813 "version": "v1" | 2823 "version": "v1" |
2814 } | 2824 } |
OLD | NEW |