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": { | 8 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
9 "description": "View your data across Google Cloud Platform
services" | 9 "description": "View your data across Google Cloud Platform
services" |
10 }, | 10 }, |
11 "https://www.googleapis.com/auth/devstorage.full_control": { | 11 "https://www.googleapis.com/auth/devstorage.full_control": { |
12 "description": "Manage your data and permissions in Google C
loud Storage" | 12 "description": "Manage your data and permissions in Google C
loud Storage" |
13 }, | 13 }, |
14 "https://www.googleapis.com/auth/devstorage.read_only": { | 14 "https://www.googleapis.com/auth/devstorage.read_only": { |
15 "description": "View your data in Google Cloud Storage" | 15 "description": "View your data in Google Cloud Storage" |
16 }, | 16 }, |
17 "https://www.googleapis.com/auth/devstorage.read_write": { | 17 "https://www.googleapis.com/auth/devstorage.read_write": { |
18 "description": "Manage your data in Google Cloud Storage" | 18 "description": "Manage your data in Google Cloud Storage" |
19 } | 19 } |
20 } | 20 } |
21 } | 21 } |
22 }, | 22 }, |
23 "basePath": "/storage/v1/", | 23 "basePath": "/storage/v1/", |
24 "baseUrl": "https://www.googleapis.com/storage/v1/", | 24 "baseUrl": "https://www.googleapis.com/storage/v1/", |
25 "batchPath": "batch", | 25 "batchPath": "batch/storage/v1", |
26 "description": "Stores and retrieves potentially large, immutable data objec
ts.", | 26 "description": "Stores and retrieves potentially large, immutable data objec
ts.", |
27 "discoveryVersion": "v1", | 27 "discoveryVersion": "v1", |
28 "documentationLink": "https://developers.google.com/storage/docs/json_api/", | 28 "documentationLink": "https://developers.google.com/storage/docs/json_api/", |
29 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/tlgWHRfLf7fwkqtOCpLemeoORxg\"", | 29 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/dkoYxqfGO2jaG60VA5h0K8BOG4k\"", |
30 "icons": { | 30 "icons": { |
31 "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
", |
32 "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
" |
33 }, | 33 }, |
34 "id": "storage:v1", | 34 "id": "storage:v1", |
35 "kind": "discovery#restDescription", | 35 "kind": "discovery#restDescription", |
36 "labels": [ | 36 "labels": [ |
37 "labs" | 37 "labs" |
38 ], | 38 ], |
39 "name": "storage", | 39 "name": "storage", |
(...skipping 2080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2120 "scopes": [ | 2120 "scopes": [ |
2121 "https://www.googleapis.com/auth/cloud-platform", | 2121 "https://www.googleapis.com/auth/cloud-platform", |
2122 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", | 2122 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
2123 "https://www.googleapis.com/auth/devstorage.full_control
", | 2123 "https://www.googleapis.com/auth/devstorage.full_control
", |
2124 "https://www.googleapis.com/auth/devstorage.read_only", | 2124 "https://www.googleapis.com/auth/devstorage.read_only", |
2125 "https://www.googleapis.com/auth/devstorage.read_write" | 2125 "https://www.googleapis.com/auth/devstorage.read_write" |
2126 ], | 2126 ], |
2127 "supportsSubscription": true | 2127 "supportsSubscription": true |
2128 }, | 2128 }, |
2129 "patch": { | 2129 "patch": { |
2130 "description": "Updates an object's metadata. This method su
pports patch semantics.", | 2130 "description": "Patches an object's metadata.", |
2131 "httpMethod": "PATCH", | 2131 "httpMethod": "PATCH", |
2132 "id": "storage.objects.patch", | 2132 "id": "storage.objects.patch", |
2133 "parameterOrder": [ | 2133 "parameterOrder": [ |
2134 "bucket", | 2134 "bucket", |
2135 "object" | 2135 "object" |
2136 ], | 2136 ], |
2137 "parameters": { | 2137 "parameters": { |
2138 "bucket": { | 2138 "bucket": { |
2139 "description": "Name of the bucket in which the obje
ct resides.", | 2139 "description": "Name of the bucket in which the obje
ct resides.", |
2140 "location": "path", | 2140 "location": "path", |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2220 "path": "b/{bucket}/o/{object}", | 2220 "path": "b/{bucket}/o/{object}", |
2221 "request": { | 2221 "request": { |
2222 "$ref": "Object" | 2222 "$ref": "Object" |
2223 }, | 2223 }, |
2224 "response": { | 2224 "response": { |
2225 "$ref": "Object" | 2225 "$ref": "Object" |
2226 }, | 2226 }, |
2227 "scopes": [ | 2227 "scopes": [ |
2228 "https://www.googleapis.com/auth/cloud-platform", | 2228 "https://www.googleapis.com/auth/cloud-platform", |
2229 "https://www.googleapis.com/auth/devstorage.full_control
" | 2229 "https://www.googleapis.com/auth/devstorage.full_control
" |
2230 ] | 2230 ], |
| 2231 "supportsMediaDownload": true |
2231 }, | 2232 }, |
2232 "rewrite": { | 2233 "rewrite": { |
2233 "description": "Rewrites a source object to a destination ob
ject. Optionally overrides metadata.", | 2234 "description": "Rewrites a source object to a destination ob
ject. Optionally overrides metadata.", |
2234 "httpMethod": "POST", | 2235 "httpMethod": "POST", |
2235 "id": "storage.objects.rewrite", | 2236 "id": "storage.objects.rewrite", |
2236 "parameterOrder": [ | 2237 "parameterOrder": [ |
2237 "sourceBucket", | 2238 "sourceBucket", |
2238 "sourceObject", | 2239 "sourceObject", |
2239 "destinationBucket", | 2240 "destinationBucket", |
2240 "destinationObject" | 2241 "destinationObject" |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2699 "https://www.googleapis.com/auth/devstorage.full
_control", | 2700 "https://www.googleapis.com/auth/devstorage.full
_control", |
2700 "https://www.googleapis.com/auth/devstorage.read
_only", | 2701 "https://www.googleapis.com/auth/devstorage.read
_only", |
2701 "https://www.googleapis.com/auth/devstorage.read
_write" | 2702 "https://www.googleapis.com/auth/devstorage.read
_write" |
2702 ] | 2703 ] |
2703 } | 2704 } |
2704 } | 2705 } |
2705 } | 2706 } |
2706 } | 2707 } |
2707 } | 2708 } |
2708 }, | 2709 }, |
2709 "revision": "20170810", | 2710 "revision": "20170824", |
2710 "rootUrl": "https://www.googleapis.com/", | 2711 "rootUrl": "https://www.googleapis.com/", |
2711 "schemas": { | 2712 "schemas": { |
2712 "Bucket": { | 2713 "Bucket": { |
2713 "description": "A bucket.", | 2714 "description": "A bucket.", |
2714 "id": "Bucket", | 2715 "id": "Bucket", |
2715 "properties": { | 2716 "properties": { |
2716 "acl": { | 2717 "acl": { |
2717 "annotations": { | 2718 "annotations": { |
2718 "required": [ | 2719 "required": [ |
2719 "storage.buckets.update" | 2720 "storage.buckets.update" |
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3560 "bindings": { | 3561 "bindings": { |
3561 "annotations": { | 3562 "annotations": { |
3562 "required": [ | 3563 "required": [ |
3563 "storage.buckets.setIamPolicy", | 3564 "storage.buckets.setIamPolicy", |
3564 "storage.objects.setIamPolicy" | 3565 "storage.objects.setIamPolicy" |
3565 ] | 3566 ] |
3566 }, | 3567 }, |
3567 "description": "An association between a role, which comes w
ith a set of permissions, and members who may assume that role.", | 3568 "description": "An association between a role, which comes w
ith a set of permissions, and members who may assume that role.", |
3568 "items": { | 3569 "items": { |
3569 "properties": { | 3570 "properties": { |
| 3571 "condition": { |
| 3572 "type": "any" |
| 3573 }, |
3570 "members": { | 3574 "members": { |
3571 "annotations": { | 3575 "annotations": { |
3572 "required": [ | 3576 "required": [ |
3573 "storage.buckets.setIamPolicy", | 3577 "storage.buckets.setIamPolicy", |
3574 "storage.objects.setIamPolicy" | 3578 "storage.objects.setIamPolicy" |
3575 ] | 3579 ] |
3576 }, | 3580 }, |
3577 "description": "A collection of identifiers for
members who may assume the provided role. Recognized identifiers are as follows:
\n- allUsers — A special identifier that represents anyone on the internet; wi
th or without a Google account. \n- allAuthenticatedUsers — A special identifie
r that represents anyone who is authenticated with a Google account or a service
account. \n- user:emailid — An email address that represents a specific accoun
t. For example, user:alice@gmail.com or user:joe@example.com. \n- serviceAccoun
t:emailid — An email address that represents a service account. For example, se
rviceAccount:my-other-app@appspot.gserviceaccount.com . \n- group:emailid — An
email address that represents a Google group. For example, group:admins@example.
com. \n- domain:domain — A Google Apps domain name that represents all the user
s of that domain. For example, domain:google.com or domain:example.com. \n- pro
jectOwner:projectid — Owners of the given project. For example, projectOwner:my-
example-project \n- projectEditor:projectid — Editors of the given project. For
example, projectEditor:my-example-project \n- projectViewer:projectid — Viewer
s of the given project. For example, projectViewer:my-example-project", | 3581 "description": "A collection of identifiers for
members who may assume the provided role. Recognized identifiers are as follows:
\n- allUsers — A special identifier that represents anyone on the internet; wi
th or without a Google account. \n- allAuthenticatedUsers — A special identifie
r that represents anyone who is authenticated with a Google account or a service
account. \n- user:emailid — An email address that represents a specific accoun
t. For example, user:alice@gmail.com or user:joe@example.com. \n- serviceAccoun
t:emailid — An email address that represents a service account. For example, se
rviceAccount:my-other-app@appspot.gserviceaccount.com . \n- group:emailid — An
email address that represents a Google group. For example, group:admins@example.
com. \n- domain:domain — A Google Apps domain name that represents all the user
s of that domain. For example, domain:google.com or domain:example.com. \n- pro
jectOwner:projectid — Owners of the given project. For example, projectOwner:my-
example-project \n- projectEditor:projectid — Editors of the given project. For
example, projectEditor:my-example-project \n- projectViewer:projectid — Viewer
s of the given project. For example, projectViewer:my-example-project", |
3578 "items": { | 3582 "items": { |
3579 "type": "string" | 3583 "type": "string" |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3679 "type": "array" | 3683 "type": "array" |
3680 } | 3684 } |
3681 }, | 3685 }, |
3682 "type": "object" | 3686 "type": "object" |
3683 } | 3687 } |
3684 }, | 3688 }, |
3685 "servicePath": "storage/v1/", | 3689 "servicePath": "storage/v1/", |
3686 "title": "Cloud Storage JSON API", | 3690 "title": "Cloud Storage JSON API", |
3687 "version": "v1" | 3691 "version": "v1" |
3688 } | 3692 } |
OLD | NEW |