| 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", |
| 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": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/qFmlL1wk9J5Hs7xGPogERNgsXNE\"", | 29 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/gtcWNCypj7VTDxrk1rvvuniNHZo\"", |
| 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 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1203 "description": "Makes the operation conditional on w
hether the object's current generation matches the given value.", | 1203 "description": "Makes the operation conditional on w
hether the object's current generation matches the given value.", |
| 1204 "format": "int64", | 1204 "format": "int64", |
| 1205 "location": "query", | 1205 "location": "query", |
| 1206 "type": "string" | 1206 "type": "string" |
| 1207 }, | 1207 }, |
| 1208 "ifMetagenerationMatch": { | 1208 "ifMetagenerationMatch": { |
| 1209 "description": "Makes the operation conditional on w
hether the object's current metageneration matches the given value.", | 1209 "description": "Makes the operation conditional on w
hether the object's current metageneration matches the given value.", |
| 1210 "format": "int64", | 1210 "format": "int64", |
| 1211 "location": "query", | 1211 "location": "query", |
| 1212 "type": "string" | 1212 "type": "string" |
| 1213 }, |
| 1214 "kmsKeyName": { |
| 1215 "description": "Resource name of the Cloud KMS key,
of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-ke
y, that will be used to encrypt the object. Overrides the object metadata's kms_
key_name value, if any.", |
| 1216 "location": "query", |
| 1217 "type": "string" |
| 1213 } | 1218 } |
| 1214 }, | 1219 }, |
| 1215 "path": "b/{destinationBucket}/o/{destinationObject}/compose
", | 1220 "path": "b/{destinationBucket}/o/{destinationObject}/compose
", |
| 1216 "request": { | 1221 "request": { |
| 1217 "$ref": "ComposeRequest" | 1222 "$ref": "ComposeRequest" |
| 1218 }, | 1223 }, |
| 1219 "response": { | 1224 "response": { |
| 1220 "$ref": "Object" | 1225 "$ref": "Object" |
| 1221 }, | 1226 }, |
| 1222 "scopes": [ | 1227 "scopes": [ |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1552 "format": "int64", | 1557 "format": "int64", |
| 1553 "location": "query", | 1558 "location": "query", |
| 1554 "type": "string" | 1559 "type": "string" |
| 1555 }, | 1560 }, |
| 1556 "ifMetagenerationNotMatch": { | 1561 "ifMetagenerationNotMatch": { |
| 1557 "description": "Makes the operation conditional on w
hether the object's current metageneration does not match the given value.", | 1562 "description": "Makes the operation conditional on w
hether the object's current metageneration does not match the given value.", |
| 1558 "format": "int64", | 1563 "format": "int64", |
| 1559 "location": "query", | 1564 "location": "query", |
| 1560 "type": "string" | 1565 "type": "string" |
| 1561 }, | 1566 }, |
| 1567 "kmsKeyName": { |
| 1568 "description": "Resource name of the Cloud KMS key,
of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-ke
y, that will be used to encrypt the object. Overrides the object metadata's kms_
key_name value, if any.", |
| 1569 "location": "query", |
| 1570 "type": "string" |
| 1571 }, |
| 1562 "name": { | 1572 "name": { |
| 1563 "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. For information about how to URL encode object names to be path
safe, see Encoding URI Path Parts.", | 1573 "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. For information about how to URL encode object names to be path
safe, see Encoding URI Path Parts.", |
| 1564 "location": "query", | 1574 "location": "query", |
| 1565 "type": "string" | 1575 "type": "string" |
| 1566 }, | 1576 }, |
| 1567 "predefinedAcl": { | 1577 "predefinedAcl": { |
| 1568 "description": "Apply a predefined set of access con
trols to this object.", | 1578 "description": "Apply a predefined set of access con
trols to this object.", |
| 1569 "enum": [ | 1579 "enum": [ |
| 1570 "authenticatedRead", | 1580 "authenticatedRead", |
| 1571 "bucketOwnerFullControl", | 1581 "bucketOwnerFullControl", |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1790 "destinationBucket", | 1800 "destinationBucket", |
| 1791 "destinationObject" | 1801 "destinationObject" |
| 1792 ], | 1802 ], |
| 1793 "parameters": { | 1803 "parameters": { |
| 1794 "destinationBucket": { | 1804 "destinationBucket": { |
| 1795 "description": "Name of the bucket in which to store
the new object. Overrides the provided object metadata's bucket value, if any."
, | 1805 "description": "Name of the bucket in which to store
the new object. Overrides the provided object metadata's bucket value, if any."
, |
| 1796 "location": "path", | 1806 "location": "path", |
| 1797 "required": true, | 1807 "required": true, |
| 1798 "type": "string" | 1808 "type": "string" |
| 1799 }, | 1809 }, |
| 1810 "destinationKmsKeyName": { |
| 1811 "description": "Resource name of the Cloud KMS key,
of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-ke
y, that will be used to encrypt the object. Overrides the object metadata's kms_
key_name value, if any.", |
| 1812 "location": "query", |
| 1813 "type": "string" |
| 1814 }, |
| 1800 "destinationObject": { | 1815 "destinationObject": { |
| 1801 "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. For information about how to URL encode object names to be
path safe, see Encoding URI Path Parts.", | 1816 "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. For information about how to URL encode object names to be
path safe, see Encoding URI Path Parts.", |
| 1802 "location": "path", | 1817 "location": "path", |
| 1803 "required": true, | 1818 "required": true, |
| 1804 "type": "string" | 1819 "type": "string" |
| 1805 }, | 1820 }, |
| 1806 "destinationPredefinedAcl": { | 1821 "destinationPredefinedAcl": { |
| 1807 "description": "Apply a predefined set of access con
trols to the destination object.", | 1822 "description": "Apply a predefined set of access con
trols to the destination object.", |
| 1808 "enum": [ | 1823 "enum": [ |
| 1809 "authenticatedRead", | 1824 "authenticatedRead", |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2095 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", | 2110 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
| 2096 "https://www.googleapis.com/auth/devstorage.full_control
", | 2111 "https://www.googleapis.com/auth/devstorage.full_control
", |
| 2097 "https://www.googleapis.com/auth/devstorage.read_only", | 2112 "https://www.googleapis.com/auth/devstorage.read_only", |
| 2098 "https://www.googleapis.com/auth/devstorage.read_write" | 2113 "https://www.googleapis.com/auth/devstorage.read_write" |
| 2099 ], | 2114 ], |
| 2100 "supportsSubscription": true | 2115 "supportsSubscription": true |
| 2101 } | 2116 } |
| 2102 } | 2117 } |
| 2103 } | 2118 } |
| 2104 }, | 2119 }, |
| 2105 "revision": "20160727", | 2120 "revision": "20160802", |
| 2106 "rootUrl": "https://www.googleapis.com/", | 2121 "rootUrl": "https://www.googleapis.com/", |
| 2107 "schemas": { | 2122 "schemas": { |
| 2108 "Bucket": { | 2123 "Bucket": { |
| 2109 "description": "A bucket.", | 2124 "description": "A bucket.", |
| 2110 "id": "Bucket", | 2125 "id": "Bucket", |
| 2111 "properties": { | 2126 "properties": { |
| 2112 "acl": { | 2127 "acl": { |
| 2113 "annotations": { | 2128 "annotations": { |
| 2114 "required": [ | 2129 "required": [ |
| 2115 "storage.buckets.update" | 2130 "storage.buckets.update" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2156 }, | 2171 }, |
| 2157 "type": "array" | 2172 "type": "array" |
| 2158 }, | 2173 }, |
| 2159 "defaultObjectAcl": { | 2174 "defaultObjectAcl": { |
| 2160 "description": "Default access controls to apply to new obje
cts when no ACL is provided.", | 2175 "description": "Default access controls to apply to new obje
cts when no ACL is provided.", |
| 2161 "items": { | 2176 "items": { |
| 2162 "$ref": "ObjectAccessControl" | 2177 "$ref": "ObjectAccessControl" |
| 2163 }, | 2178 }, |
| 2164 "type": "array" | 2179 "type": "array" |
| 2165 }, | 2180 }, |
| 2181 "encryption": { |
| 2182 "description": "Encryption configuration used by default for
newly inserted objects, when no encryption config is specified.", |
| 2183 "properties": { |
| 2184 "default_kms_key_name": { |
| 2185 "type": "string" |
| 2186 } |
| 2187 }, |
| 2188 "type": "object" |
| 2189 }, |
| 2166 "etag": { | 2190 "etag": { |
| 2167 "description": "HTTP 1.1 Entity tag for the bucket.", | 2191 "description": "HTTP 1.1 Entity tag for the bucket.", |
| 2168 "type": "string" | 2192 "type": "string" |
| 2169 }, | 2193 }, |
| 2170 "id": { | 2194 "id": { |
| 2171 "description": "The ID of the bucket.", | 2195 "description": "The ID of the bucket.", |
| 2172 "type": "string" | 2196 "type": "string" |
| 2173 }, | 2197 }, |
| 2174 "kind": { | 2198 "kind": { |
| 2175 "default": "storage#bucket", | 2199 "default": "storage#bucket", |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2618 }, | 2642 }, |
| 2619 "id": { | 2643 "id": { |
| 2620 "description": "The ID of the object.", | 2644 "description": "The ID of the object.", |
| 2621 "type": "string" | 2645 "type": "string" |
| 2622 }, | 2646 }, |
| 2623 "kind": { | 2647 "kind": { |
| 2624 "default": "storage#object", | 2648 "default": "storage#object", |
| 2625 "description": "The kind of item this is. For objects, this
is always storage#object.", | 2649 "description": "The kind of item this is. For objects, this
is always storage#object.", |
| 2626 "type": "string" | 2650 "type": "string" |
| 2627 }, | 2651 }, |
| 2652 "kmsKeyName": { |
| 2653 "description": "Cloud KMS Key used to encrypt this object, i
f the object is encrypted by such a key.", |
| 2654 "type": "string" |
| 2655 }, |
| 2628 "md5Hash": { | 2656 "md5Hash": { |
| 2629 "description": "MD5 hash of the data; encoded using base64.
For more information about using the MD5 hash, see Hashes and ETags: Best Practi
ces.", | 2657 "description": "MD5 hash of the data; encoded using base64.
For more information about using the MD5 hash, see Hashes and ETags: Best Practi
ces.", |
| 2630 "type": "string" | 2658 "type": "string" |
| 2631 }, | 2659 }, |
| 2632 "mediaLink": { | 2660 "mediaLink": { |
| 2633 "description": "Media download link.", | 2661 "description": "Media download link.", |
| 2634 "type": "string" | 2662 "type": "string" |
| 2635 }, | 2663 }, |
| 2636 "metadata": { | 2664 "metadata": { |
| 2637 "additionalProperties": { | 2665 "additionalProperties": { |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2847 "type": "string" | 2875 "type": "string" |
| 2848 } | 2876 } |
| 2849 }, | 2877 }, |
| 2850 "type": "object" | 2878 "type": "object" |
| 2851 } | 2879 } |
| 2852 }, | 2880 }, |
| 2853 "servicePath": "storage/v1/", | 2881 "servicePath": "storage/v1/", |
| 2854 "title": "Cloud Storage JSON API", | 2882 "title": "Cloud Storage JSON API", |
| 2855 "version": "v1" | 2883 "version": "v1" |
| 2856 } | 2884 } |
| OLD | NEW |