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/gtcWNCypj7VTDxrk1rvvuniNHZo\"", | 29 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/VwfrBbrm1x1NC_RQejLBiqBNNFk\"", |
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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 }, | 488 }, |
489 "scopes": [ | 489 "scopes": [ |
490 "https://www.googleapis.com/auth/cloud-platform", | 490 "https://www.googleapis.com/auth/cloud-platform", |
491 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", | 491 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
492 "https://www.googleapis.com/auth/devstorage.full_control
", | 492 "https://www.googleapis.com/auth/devstorage.full_control
", |
493 "https://www.googleapis.com/auth/devstorage.read_only", | 493 "https://www.googleapis.com/auth/devstorage.read_only", |
494 "https://www.googleapis.com/auth/devstorage.read_write" | 494 "https://www.googleapis.com/auth/devstorage.read_write" |
495 ] | 495 ] |
496 }, | 496 }, |
497 "patch": { | 497 "patch": { |
498 "description": "Updates a bucket. This method supports patch
semantics.", | 498 "description": "Updates a bucket. Changes to the bucket will
be readable immediately after writing, but configuration changes may take time
to propagate. This method supports patch semantics.", |
499 "httpMethod": "PATCH", | 499 "httpMethod": "PATCH", |
500 "id": "storage.buckets.patch", | 500 "id": "storage.buckets.patch", |
501 "parameterOrder": [ | 501 "parameterOrder": [ |
502 "bucket" | 502 "bucket" |
503 ], | 503 ], |
504 "parameters": { | 504 "parameters": { |
505 "bucket": { | 505 "bucket": { |
506 "description": "Name of a bucket.", | 506 "description": "Name of a bucket.", |
507 "location": "path", | 507 "location": "path", |
508 "required": true, | 508 "required": true, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 }, | 580 }, |
581 "response": { | 581 "response": { |
582 "$ref": "Bucket" | 582 "$ref": "Bucket" |
583 }, | 583 }, |
584 "scopes": [ | 584 "scopes": [ |
585 "https://www.googleapis.com/auth/cloud-platform", | 585 "https://www.googleapis.com/auth/cloud-platform", |
586 "https://www.googleapis.com/auth/devstorage.full_control
" | 586 "https://www.googleapis.com/auth/devstorage.full_control
" |
587 ] | 587 ] |
588 }, | 588 }, |
589 "update": { | 589 "update": { |
590 "description": "Updates a bucket.", | 590 "description": "Updates a bucket. Changes to the bucket will
be readable immediately after writing, but configuration changes may take time
to propagate.", |
591 "httpMethod": "PUT", | 591 "httpMethod": "PUT", |
592 "id": "storage.buckets.update", | 592 "id": "storage.buckets.update", |
593 "parameterOrder": [ | 593 "parameterOrder": [ |
594 "bucket" | 594 "bucket" |
595 ], | 595 ], |
596 "parameters": { | 596 "parameters": { |
597 "bucket": { | 597 "bucket": { |
598 "description": "Name of a bucket.", | 598 "description": "Name of a bucket.", |
599 "location": "path", | 599 "location": "path", |
600 "required": true, | 600 "required": true, |
(...skipping 602 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" | |
1218 } | 1213 } |
1219 }, | 1214 }, |
1220 "path": "b/{destinationBucket}/o/{destinationObject}/compose
", | 1215 "path": "b/{destinationBucket}/o/{destinationObject}/compose
", |
1221 "request": { | 1216 "request": { |
1222 "$ref": "ComposeRequest" | 1217 "$ref": "ComposeRequest" |
1223 }, | 1218 }, |
1224 "response": { | 1219 "response": { |
1225 "$ref": "Object" | 1220 "$ref": "Object" |
1226 }, | 1221 }, |
1227 "scopes": [ | 1222 "scopes": [ |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1557 "format": "int64", | 1552 "format": "int64", |
1558 "location": "query", | 1553 "location": "query", |
1559 "type": "string" | 1554 "type": "string" |
1560 }, | 1555 }, |
1561 "ifMetagenerationNotMatch": { | 1556 "ifMetagenerationNotMatch": { |
1562 "description": "Makes the operation conditional on w
hether the object's current metageneration does not match the given value.", | 1557 "description": "Makes the operation conditional on w
hether the object's current metageneration does not match the given value.", |
1563 "format": "int64", | 1558 "format": "int64", |
1564 "location": "query", | 1559 "location": "query", |
1565 "type": "string" | 1560 "type": "string" |
1566 }, | 1561 }, |
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 }, | |
1572 "name": { | 1562 "name": { |
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.", | 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.", |
1574 "location": "query", | 1564 "location": "query", |
1575 "type": "string" | 1565 "type": "string" |
1576 }, | 1566 }, |
1577 "predefinedAcl": { | 1567 "predefinedAcl": { |
1578 "description": "Apply a predefined set of access con
trols to this object.", | 1568 "description": "Apply a predefined set of access con
trols to this object.", |
1579 "enum": [ | 1569 "enum": [ |
1580 "authenticatedRead", | 1570 "authenticatedRead", |
1581 "bucketOwnerFullControl", | 1571 "bucketOwnerFullControl", |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1800 "destinationBucket", | 1790 "destinationBucket", |
1801 "destinationObject" | 1791 "destinationObject" |
1802 ], | 1792 ], |
1803 "parameters": { | 1793 "parameters": { |
1804 "destinationBucket": { | 1794 "destinationBucket": { |
1805 "description": "Name of the bucket in which to store
the new object. Overrides the provided object metadata's bucket value, if any."
, | 1795 "description": "Name of the bucket in which to store
the new object. Overrides the provided object metadata's bucket value, if any."
, |
1806 "location": "path", | 1796 "location": "path", |
1807 "required": true, | 1797 "required": true, |
1808 "type": "string" | 1798 "type": "string" |
1809 }, | 1799 }, |
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 }, | |
1815 "destinationObject": { | 1800 "destinationObject": { |
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.", | 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.", |
1817 "location": "path", | 1802 "location": "path", |
1818 "required": true, | 1803 "required": true, |
1819 "type": "string" | 1804 "type": "string" |
1820 }, | 1805 }, |
1821 "destinationPredefinedAcl": { | 1806 "destinationPredefinedAcl": { |
1822 "description": "Apply a predefined set of access con
trols to the destination object.", | 1807 "description": "Apply a predefined set of access con
trols to the destination object.", |
1823 "enum": [ | 1808 "enum": [ |
1824 "authenticatedRead", | 1809 "authenticatedRead", |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2110 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", | 2095 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
2111 "https://www.googleapis.com/auth/devstorage.full_control
", | 2096 "https://www.googleapis.com/auth/devstorage.full_control
", |
2112 "https://www.googleapis.com/auth/devstorage.read_only", | 2097 "https://www.googleapis.com/auth/devstorage.read_only", |
2113 "https://www.googleapis.com/auth/devstorage.read_write" | 2098 "https://www.googleapis.com/auth/devstorage.read_write" |
2114 ], | 2099 ], |
2115 "supportsSubscription": true | 2100 "supportsSubscription": true |
2116 } | 2101 } |
2117 } | 2102 } |
2118 } | 2103 } |
2119 }, | 2104 }, |
2120 "revision": "20160802", | 2105 "revision": "20161027", |
2121 "rootUrl": "https://www.googleapis.com/", | 2106 "rootUrl": "https://www.googleapis.com/", |
2122 "schemas": { | 2107 "schemas": { |
2123 "Bucket": { | 2108 "Bucket": { |
2124 "description": "A bucket.", | 2109 "description": "A bucket.", |
2125 "id": "Bucket", | 2110 "id": "Bucket", |
2126 "properties": { | 2111 "properties": { |
2127 "acl": { | 2112 "acl": { |
2128 "annotations": { | 2113 "annotations": { |
2129 "required": [ | 2114 "required": [ |
2130 "storage.buckets.update" | 2115 "storage.buckets.update" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2171 }, | 2156 }, |
2172 "type": "array" | 2157 "type": "array" |
2173 }, | 2158 }, |
2174 "defaultObjectAcl": { | 2159 "defaultObjectAcl": { |
2175 "description": "Default access controls to apply to new obje
cts when no ACL is provided.", | 2160 "description": "Default access controls to apply to new obje
cts when no ACL is provided.", |
2176 "items": { | 2161 "items": { |
2177 "$ref": "ObjectAccessControl" | 2162 "$ref": "ObjectAccessControl" |
2178 }, | 2163 }, |
2179 "type": "array" | 2164 "type": "array" |
2180 }, | 2165 }, |
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 }, | |
2190 "etag": { | 2166 "etag": { |
2191 "description": "HTTP 1.1 Entity tag for the bucket.", | 2167 "description": "HTTP 1.1 Entity tag for the bucket.", |
2192 "type": "string" | 2168 "type": "string" |
2193 }, | 2169 }, |
2194 "id": { | 2170 "id": { |
2195 "description": "The ID of the bucket.", | 2171 "description": "The ID of the bucket.", |
2196 "type": "string" | 2172 "type": "string" |
2197 }, | 2173 }, |
2198 "kind": { | 2174 "kind": { |
2199 "default": "storage#bucket", | 2175 "default": "storage#bucket", |
2200 "description": "The kind of item this is. For buckets, this
is always storage#bucket.", | 2176 "description": "The kind of item this is. For buckets, this
is always storage#bucket.", |
2201 "type": "string" | 2177 "type": "string" |
2202 }, | 2178 }, |
2203 "lifecycle": { | 2179 "lifecycle": { |
2204 "description": "The bucket's lifecycle configuration. See li
fecycle management for more information.", | 2180 "description": "The bucket's lifecycle configuration. See li
fecycle management for more information.", |
2205 "properties": { | 2181 "properties": { |
2206 "rule": { | 2182 "rule": { |
2207 "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.", | 2183 "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.", |
2208 "items": { | 2184 "items": { |
2209 "properties": { | 2185 "properties": { |
2210 "action": { | 2186 "action": { |
2211 "description": "The action to take.", | 2187 "description": "The action to take.", |
2212 "properties": { | 2188 "properties": { |
| 2189 "storageClass": { |
| 2190 "description": "Target storage c
lass. Required iff the type of the action is SetStorageClass.", |
| 2191 "type": "string" |
| 2192 }, |
2213 "type": { | 2193 "type": { |
2214 "description": "Type of the acti
on. Currently, only Delete is supported.", | 2194 "description": "Type of the acti
on. Currently, only Delete and SetStorageClass are supported.", |
2215 "type": "string" | 2195 "type": "string" |
2216 } | 2196 } |
2217 }, | 2197 }, |
2218 "type": "object" | 2198 "type": "object" |
2219 }, | 2199 }, |
2220 "condition": { | 2200 "condition": { |
2221 "description": "The condition(s) under w
hich the action will be taken.", | 2201 "description": "The condition(s) under w
hich the action will be taken.", |
2222 "properties": { | 2202 "properties": { |
2223 "age": { | 2203 "age": { |
2224 "description": "Age of an object
(in days). This condition is satisfied when an object reaches the specified age
.", | 2204 "description": "Age of an object
(in days). This condition is satisfied when an object reaches the specified age
.", |
2225 "format": "int32", | 2205 "format": "int32", |
2226 "type": "integer" | 2206 "type": "integer" |
2227 }, | 2207 }, |
2228 "createdBefore": { | 2208 "createdBefore": { |
2229 "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.", | 2209 "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.", |
2230 "format": "date", | 2210 "format": "date", |
2231 "type": "string" | 2211 "type": "string" |
2232 }, | 2212 }, |
2233 "isLive": { | 2213 "isLive": { |
2234 "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.", | 2214 "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.", |
2235 "type": "boolean" | 2215 "type": "boolean" |
2236 }, | 2216 }, |
| 2217 "matchesStorageClass": { |
| 2218 "description": "Objects having a
ny of the storage classes specified by this condition will be matched. Values in
clude MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, STANDARD, and DURABLE_REDUCE
D_AVAILABILITY.", |
| 2219 "items": { |
| 2220 "type": "string" |
| 2221 }, |
| 2222 "type": "array" |
| 2223 }, |
2237 "numNewerVersions": { | 2224 "numNewerVersions": { |
2238 "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.", | 2225 "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.", |
2239 "format": "int32", | 2226 "format": "int32", |
2240 "type": "integer" | 2227 "type": "integer" |
2241 } | 2228 } |
2242 }, | 2229 }, |
2243 "type": "object" | 2230 "type": "object" |
2244 } | 2231 } |
2245 }, | 2232 }, |
2246 "type": "object" | 2233 "type": "object" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2299 "projectNumber": { | 2286 "projectNumber": { |
2300 "description": "The project number of the project the bucket
belongs to.", | 2287 "description": "The project number of the project the bucket
belongs to.", |
2301 "format": "uint64", | 2288 "format": "uint64", |
2302 "type": "string" | 2289 "type": "string" |
2303 }, | 2290 }, |
2304 "selfLink": { | 2291 "selfLink": { |
2305 "description": "The URI of this bucket.", | 2292 "description": "The URI of this bucket.", |
2306 "type": "string" | 2293 "type": "string" |
2307 }, | 2294 }, |
2308 "storageClass": { | 2295 "storageClass": { |
2309 "description": "The bucket's storage class. This defines how
objects in the bucket are stored and determines the SLA and the cost of storage
. Values include STANDARD, NEARLINE and DURABLE_REDUCED_AVAILABILITY. Defaults t
o STANDARD. For more information, see storage classes.", | 2296 "description": "The bucket's default storage class, used whe
never no storageClass is specified for a newly-created object. This defines how
objects in the bucket are stored and determines the SLA and the cost of storage.
Values include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, and DURA
BLE_REDUCED_AVAILABILITY. If this value is not specified when the bucket is crea
ted, it will default to STANDARD. For more information, see storage classes.", |
2310 "type": "string" | 2297 "type": "string" |
2311 }, | 2298 }, |
2312 "timeCreated": { | 2299 "timeCreated": { |
2313 "description": "The creation time of the bucket in RFC 3339
format.", | 2300 "description": "The creation time of the bucket in RFC 3339
format.", |
2314 "format": "date-time", | 2301 "format": "date-time", |
2315 "type": "string" | 2302 "type": "string" |
2316 }, | 2303 }, |
2317 "updated": { | 2304 "updated": { |
2318 "description": "The modification time of the bucket in RFC 3
339 format.", | 2305 "description": "The modification time of the bucket in RFC 3
339 format.", |
2319 "format": "date-time", | 2306 "format": "date-time", |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2642 }, | 2629 }, |
2643 "id": { | 2630 "id": { |
2644 "description": "The ID of the object.", | 2631 "description": "The ID of the object.", |
2645 "type": "string" | 2632 "type": "string" |
2646 }, | 2633 }, |
2647 "kind": { | 2634 "kind": { |
2648 "default": "storage#object", | 2635 "default": "storage#object", |
2649 "description": "The kind of item this is. For objects, this
is always storage#object.", | 2636 "description": "The kind of item this is. For objects, this
is always storage#object.", |
2650 "type": "string" | 2637 "type": "string" |
2651 }, | 2638 }, |
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 }, | |
2656 "md5Hash": { | 2639 "md5Hash": { |
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.", | 2640 "description": "MD5 hash of the data; encoded using base64.
For more information about using the MD5 hash, see Hashes and ETags: Best Practi
ces.", |
2658 "type": "string" | 2641 "type": "string" |
2659 }, | 2642 }, |
2660 "mediaLink": { | 2643 "mediaLink": { |
2661 "description": "Media download link.", | 2644 "description": "Media download link.", |
2662 "type": "string" | 2645 "type": "string" |
2663 }, | 2646 }, |
2664 "metadata": { | 2647 "metadata": { |
2665 "additionalProperties": { | 2648 "additionalProperties": { |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2733 }, | 2716 }, |
2734 "domain": { | 2717 "domain": { |
2735 "description": "The domain associated with the entity, if an
y.", | 2718 "description": "The domain associated with the entity, if an
y.", |
2736 "type": "string" | 2719 "type": "string" |
2737 }, | 2720 }, |
2738 "email": { | 2721 "email": { |
2739 "description": "The email address associated with the entity
, if any.", | 2722 "description": "The email address associated with the entity
, if any.", |
2740 "type": "string" | 2723 "type": "string" |
2741 }, | 2724 }, |
2742 "entity": { | 2725 "entity": { |
| 2726 "annotations": { |
| 2727 "required": [ |
| 2728 "storage.defaultObjectAccessControls.insert", |
| 2729 "storage.objectAccessControls.insert" |
| 2730 ] |
| 2731 }, |
2743 "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.", | 2732 "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.", |
2744 "type": "string" | 2733 "type": "string" |
2745 }, | 2734 }, |
2746 "entityId": { | 2735 "entityId": { |
2747 "description": "The ID for the entity, if any.", | 2736 "description": "The ID for the entity, if any.", |
2748 "type": "string" | 2737 "type": "string" |
2749 }, | 2738 }, |
2750 "etag": { | 2739 "etag": { |
2751 "description": "HTTP 1.1 Entity tag for the access-control e
ntry.", | 2740 "description": "HTTP 1.1 Entity tag for the access-control e
ntry.", |
2752 "type": "string" | 2741 "type": "string" |
2753 }, | 2742 }, |
2754 "generation": { | 2743 "generation": { |
2755 "description": "The content generation of the object.", | 2744 "description": "The content generation of the object, if app
lied to an object.", |
2756 "format": "int64", | 2745 "format": "int64", |
2757 "type": "string" | 2746 "type": "string" |
2758 }, | 2747 }, |
2759 "id": { | 2748 "id": { |
2760 "description": "The ID of the access-control entry.", | 2749 "description": "The ID of the access-control entry.", |
2761 "type": "string" | 2750 "type": "string" |
2762 }, | 2751 }, |
2763 "kind": { | 2752 "kind": { |
2764 "default": "storage#objectAccessControl", | 2753 "default": "storage#objectAccessControl", |
2765 "description": "The kind of item this is. For object access
control entries, this is always storage#objectAccessControl.", | 2754 "description": "The kind of item this is. For object access
control entries, this is always storage#objectAccessControl.", |
2766 "type": "string" | 2755 "type": "string" |
2767 }, | 2756 }, |
2768 "object": { | 2757 "object": { |
2769 "description": "The name of the object.", | 2758 "description": "The name of the object, if applied to an obj
ect.", |
2770 "type": "string" | 2759 "type": "string" |
2771 }, | 2760 }, |
2772 "projectTeam": { | 2761 "projectTeam": { |
2773 "description": "The project team associated with the entity,
if any.", | 2762 "description": "The project team associated with the entity,
if any.", |
2774 "properties": { | 2763 "properties": { |
2775 "projectNumber": { | 2764 "projectNumber": { |
2776 "description": "The project number.", | 2765 "description": "The project number.", |
2777 "type": "string" | 2766 "type": "string" |
2778 }, | 2767 }, |
2779 "team": { | 2768 "team": { |
2780 "description": "The team.", | 2769 "description": "The team.", |
2781 "type": "string" | 2770 "type": "string" |
2782 } | 2771 } |
2783 }, | 2772 }, |
2784 "type": "object" | 2773 "type": "object" |
2785 }, | 2774 }, |
2786 "role": { | 2775 "role": { |
| 2776 "annotations": { |
| 2777 "required": [ |
| 2778 "storage.defaultObjectAccessControls.insert", |
| 2779 "storage.objectAccessControls.insert" |
| 2780 ] |
| 2781 }, |
2787 "description": "The access permission for the entity.", | 2782 "description": "The access permission for the entity.", |
2788 "type": "string" | 2783 "type": "string" |
2789 }, | 2784 }, |
2790 "selfLink": { | 2785 "selfLink": { |
2791 "description": "The link to this access-control entry.", | 2786 "description": "The link to this access-control entry.", |
2792 "type": "string" | 2787 "type": "string" |
2793 } | 2788 } |
2794 }, | 2789 }, |
2795 "type": "object" | 2790 "type": "object" |
2796 }, | 2791 }, |
2797 "ObjectAccessControls": { | 2792 "ObjectAccessControls": { |
2798 "description": "An access-control list.", | 2793 "description": "An access-control list.", |
2799 "id": "ObjectAccessControls", | 2794 "id": "ObjectAccessControls", |
2800 "properties": { | 2795 "properties": { |
2801 "items": { | 2796 "items": { |
2802 "description": "The list of items.", | 2797 "description": "The list of items.", |
2803 "items": { | 2798 "items": { |
2804 "type": "any" | 2799 "$ref": "ObjectAccessControl" |
2805 }, | 2800 }, |
2806 "type": "array" | 2801 "type": "array" |
2807 }, | 2802 }, |
2808 "kind": { | 2803 "kind": { |
2809 "default": "storage#objectAccessControls", | 2804 "default": "storage#objectAccessControls", |
2810 "description": "The kind of item this is. For lists of objec
t access control entries, this is always storage#objectAccessControls.", | 2805 "description": "The kind of item this is. For lists of objec
t access control entries, this is always storage#objectAccessControls.", |
2811 "type": "string" | 2806 "type": "string" |
2812 } | 2807 } |
2813 }, | 2808 }, |
2814 "type": "object" | 2809 "type": "object" |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2875 "type": "string" | 2870 "type": "string" |
2876 } | 2871 } |
2877 }, | 2872 }, |
2878 "type": "object" | 2873 "type": "object" |
2879 } | 2874 } |
2880 }, | 2875 }, |
2881 "servicePath": "storage/v1/", | 2876 "servicePath": "storage/v1/", |
2882 "title": "Cloud Storage JSON API", | 2877 "title": "Cloud Storage JSON API", |
2883 "version": "v1" | 2878 "version": "v1" |
2884 } | 2879 } |
OLD | NEW |