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": "\"tbys6C40o18GZwyMen5GMkdK-3s/87TjkqlQLQJ6FjZ3rw1XvgyEGys\"", | 29 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/8cCymGQcL21bwNs4pLrUlHm7CoQ\"", |
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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 "$ref": "Bucket" | 349 "$ref": "Bucket" |
350 }, | 350 }, |
351 "scopes": [ | 351 "scopes": [ |
352 "https://www.googleapis.com/auth/cloud-platform", | 352 "https://www.googleapis.com/auth/cloud-platform", |
353 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", | 353 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
354 "https://www.googleapis.com/auth/devstorage.full_control
", | 354 "https://www.googleapis.com/auth/devstorage.full_control
", |
355 "https://www.googleapis.com/auth/devstorage.read_only", | 355 "https://www.googleapis.com/auth/devstorage.read_only", |
356 "https://www.googleapis.com/auth/devstorage.read_write" | 356 "https://www.googleapis.com/auth/devstorage.read_write" |
357 ] | 357 ] |
358 }, | 358 }, |
| 359 "getIamPolicy": { |
| 360 "description": "Returns an IAM policy for the specified buck
et.", |
| 361 "httpMethod": "GET", |
| 362 "id": "storage.buckets.getIamPolicy", |
| 363 "parameterOrder": [ |
| 364 "bucket" |
| 365 ], |
| 366 "parameters": { |
| 367 "bucket": { |
| 368 "description": "Name of a bucket.", |
| 369 "location": "path", |
| 370 "required": true, |
| 371 "type": "string" |
| 372 } |
| 373 }, |
| 374 "path": "b/{bucket}/iam", |
| 375 "response": { |
| 376 "$ref": "Policy" |
| 377 }, |
| 378 "scopes": [ |
| 379 "https://www.googleapis.com/auth/cloud-platform", |
| 380 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
| 381 "https://www.googleapis.com/auth/devstorage.full_control
", |
| 382 "https://www.googleapis.com/auth/devstorage.read_only", |
| 383 "https://www.googleapis.com/auth/devstorage.read_write" |
| 384 ] |
| 385 }, |
359 "insert": { | 386 "insert": { |
360 "description": "Creates a new bucket.", | 387 "description": "Creates a new bucket.", |
361 "httpMethod": "POST", | 388 "httpMethod": "POST", |
362 "id": "storage.buckets.insert", | 389 "id": "storage.buckets.insert", |
363 "parameterOrder": [ | 390 "parameterOrder": [ |
364 "project" | 391 "project" |
365 ], | 392 ], |
366 "parameters": { | 393 "parameters": { |
367 "predefinedAcl": { | 394 "predefinedAcl": { |
368 "description": "Apply a predefined set of access con
trols to this bucket.", | 395 "description": "Apply a predefined set of access con
trols to this bucket.", |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 "$ref": "Bucket" | 607 "$ref": "Bucket" |
581 }, | 608 }, |
582 "response": { | 609 "response": { |
583 "$ref": "Bucket" | 610 "$ref": "Bucket" |
584 }, | 611 }, |
585 "scopes": [ | 612 "scopes": [ |
586 "https://www.googleapis.com/auth/cloud-platform", | 613 "https://www.googleapis.com/auth/cloud-platform", |
587 "https://www.googleapis.com/auth/devstorage.full_control
" | 614 "https://www.googleapis.com/auth/devstorage.full_control
" |
588 ] | 615 ] |
589 }, | 616 }, |
| 617 "setIamPolicy": { |
| 618 "description": "Updates an IAM policy for the specified buck
et.", |
| 619 "httpMethod": "PUT", |
| 620 "id": "storage.buckets.setIamPolicy", |
| 621 "parameterOrder": [ |
| 622 "bucket" |
| 623 ], |
| 624 "parameters": { |
| 625 "bucket": { |
| 626 "description": "Name of a bucket.", |
| 627 "location": "path", |
| 628 "required": true, |
| 629 "type": "string" |
| 630 } |
| 631 }, |
| 632 "path": "b/{bucket}/iam", |
| 633 "request": { |
| 634 "$ref": "Policy" |
| 635 }, |
| 636 "response": { |
| 637 "$ref": "Policy" |
| 638 }, |
| 639 "scopes": [ |
| 640 "https://www.googleapis.com/auth/cloud-platform", |
| 641 "https://www.googleapis.com/auth/devstorage.full_control
", |
| 642 "https://www.googleapis.com/auth/devstorage.read_write" |
| 643 ] |
| 644 }, |
| 645 "testIamPermissions": { |
| 646 "description": "Tests a set of permissions on the given buck
et to see which, if any, are held by the caller.", |
| 647 "httpMethod": "GET", |
| 648 "id": "storage.buckets.testIamPermissions", |
| 649 "parameterOrder": [ |
| 650 "bucket", |
| 651 "permissions" |
| 652 ], |
| 653 "parameters": { |
| 654 "bucket": { |
| 655 "description": "Name of a bucket.", |
| 656 "location": "path", |
| 657 "required": true, |
| 658 "type": "string" |
| 659 }, |
| 660 "permissions": { |
| 661 "description": "Permissions to test.", |
| 662 "location": "query", |
| 663 "repeated": true, |
| 664 "required": true, |
| 665 "type": "string" |
| 666 } |
| 667 }, |
| 668 "path": "b/{bucket}/iam/testPermissions", |
| 669 "response": { |
| 670 "$ref": "TestIamPermissionsResponse" |
| 671 }, |
| 672 "scopes": [ |
| 673 "https://www.googleapis.com/auth/cloud-platform", |
| 674 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
| 675 "https://www.googleapis.com/auth/devstorage.full_control
", |
| 676 "https://www.googleapis.com/auth/devstorage.read_only", |
| 677 "https://www.googleapis.com/auth/devstorage.read_write" |
| 678 ] |
| 679 }, |
590 "update": { | 680 "update": { |
591 "description": "Updates a bucket. Changes to the bucket will
be readable immediately after writing, but configuration changes may take time
to propagate.", | 681 "description": "Updates a bucket. Changes to the bucket will
be readable immediately after writing, but configuration changes may take time
to propagate.", |
592 "httpMethod": "PUT", | 682 "httpMethod": "PUT", |
593 "id": "storage.buckets.update", | 683 "id": "storage.buckets.update", |
594 "parameterOrder": [ | 684 "parameterOrder": [ |
595 "bucket" | 685 "bucket" |
596 ], | 686 ], |
597 "parameters": { | 687 "parameters": { |
598 "bucket": { | 688 "bucket": { |
599 "description": "Name of a bucket.", | 689 "description": "Name of a bucket.", |
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1495 }, | 1585 }, |
1496 "scopes": [ | 1586 "scopes": [ |
1497 "https://www.googleapis.com/auth/cloud-platform", | 1587 "https://www.googleapis.com/auth/cloud-platform", |
1498 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", | 1588 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
1499 "https://www.googleapis.com/auth/devstorage.full_control
", | 1589 "https://www.googleapis.com/auth/devstorage.full_control
", |
1500 "https://www.googleapis.com/auth/devstorage.read_only", | 1590 "https://www.googleapis.com/auth/devstorage.read_only", |
1501 "https://www.googleapis.com/auth/devstorage.read_write" | 1591 "https://www.googleapis.com/auth/devstorage.read_write" |
1502 ], | 1592 ], |
1503 "supportsMediaDownload": true | 1593 "supportsMediaDownload": true |
1504 }, | 1594 }, |
| 1595 "getIamPolicy": { |
| 1596 "description": "Returns an IAM policy for the specified obje
ct.", |
| 1597 "httpMethod": "GET", |
| 1598 "id": "storage.objects.getIamPolicy", |
| 1599 "parameterOrder": [ |
| 1600 "bucket", |
| 1601 "object" |
| 1602 ], |
| 1603 "parameters": { |
| 1604 "bucket": { |
| 1605 "description": "Name of the bucket in which the obje
ct resides.", |
| 1606 "location": "path", |
| 1607 "required": true, |
| 1608 "type": "string" |
| 1609 }, |
| 1610 "generation": { |
| 1611 "description": "If present, selects a specific revis
ion of this object (as opposed to the latest version, the default).", |
| 1612 "format": "int64", |
| 1613 "location": "query", |
| 1614 "type": "string" |
| 1615 }, |
| 1616 "object": { |
| 1617 "description": "Name of the object. For information
about how to URL encode object names to be path safe, see Encoding URI Path Part
s.", |
| 1618 "location": "path", |
| 1619 "required": true, |
| 1620 "type": "string" |
| 1621 } |
| 1622 }, |
| 1623 "path": "b/{bucket}/o/{object}/iam", |
| 1624 "response": { |
| 1625 "$ref": "Policy" |
| 1626 }, |
| 1627 "scopes": [ |
| 1628 "https://www.googleapis.com/auth/cloud-platform", |
| 1629 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
| 1630 "https://www.googleapis.com/auth/devstorage.full_control
", |
| 1631 "https://www.googleapis.com/auth/devstorage.read_only", |
| 1632 "https://www.googleapis.com/auth/devstorage.read_write" |
| 1633 ] |
| 1634 }, |
1505 "insert": { | 1635 "insert": { |
1506 "description": "Stores a new object and metadata.", | 1636 "description": "Stores a new object and metadata.", |
1507 "httpMethod": "POST", | 1637 "httpMethod": "POST", |
1508 "id": "storage.objects.insert", | 1638 "id": "storage.objects.insert", |
1509 "mediaUpload": { | 1639 "mediaUpload": { |
1510 "accept": [ | 1640 "accept": [ |
1511 "*/*" | 1641 "*/*" |
1512 ], | 1642 ], |
1513 "protocols": { | 1643 "protocols": { |
1514 "resumable": { | 1644 "resumable": { |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1923 }, | 2053 }, |
1924 "response": { | 2054 "response": { |
1925 "$ref": "RewriteResponse" | 2055 "$ref": "RewriteResponse" |
1926 }, | 2056 }, |
1927 "scopes": [ | 2057 "scopes": [ |
1928 "https://www.googleapis.com/auth/cloud-platform", | 2058 "https://www.googleapis.com/auth/cloud-platform", |
1929 "https://www.googleapis.com/auth/devstorage.full_control
", | 2059 "https://www.googleapis.com/auth/devstorage.full_control
", |
1930 "https://www.googleapis.com/auth/devstorage.read_write" | 2060 "https://www.googleapis.com/auth/devstorage.read_write" |
1931 ] | 2061 ] |
1932 }, | 2062 }, |
| 2063 "setIamPolicy": { |
| 2064 "description": "Updates an IAM policy for the specified obje
ct.", |
| 2065 "httpMethod": "PUT", |
| 2066 "id": "storage.objects.setIamPolicy", |
| 2067 "parameterOrder": [ |
| 2068 "bucket", |
| 2069 "object" |
| 2070 ], |
| 2071 "parameters": { |
| 2072 "bucket": { |
| 2073 "description": "Name of the bucket in which the obje
ct resides.", |
| 2074 "location": "path", |
| 2075 "required": true, |
| 2076 "type": "string" |
| 2077 }, |
| 2078 "generation": { |
| 2079 "description": "If present, selects a specific revis
ion of this object (as opposed to the latest version, the default).", |
| 2080 "format": "int64", |
| 2081 "location": "query", |
| 2082 "type": "string" |
| 2083 }, |
| 2084 "object": { |
| 2085 "description": "Name of the object. For information
about how to URL encode object names to be path safe, see Encoding URI Path Part
s.", |
| 2086 "location": "path", |
| 2087 "required": true, |
| 2088 "type": "string" |
| 2089 } |
| 2090 }, |
| 2091 "path": "b/{bucket}/o/{object}/iam", |
| 2092 "request": { |
| 2093 "$ref": "Policy" |
| 2094 }, |
| 2095 "response": { |
| 2096 "$ref": "Policy" |
| 2097 }, |
| 2098 "scopes": [ |
| 2099 "https://www.googleapis.com/auth/cloud-platform", |
| 2100 "https://www.googleapis.com/auth/devstorage.full_control
", |
| 2101 "https://www.googleapis.com/auth/devstorage.read_write" |
| 2102 ] |
| 2103 }, |
| 2104 "testIamPermissions": { |
| 2105 "description": "Tests a set of permissions on the given obje
ct to see which, if any, are held by the caller.", |
| 2106 "httpMethod": "GET", |
| 2107 "id": "storage.objects.testIamPermissions", |
| 2108 "parameterOrder": [ |
| 2109 "bucket", |
| 2110 "object", |
| 2111 "permissions" |
| 2112 ], |
| 2113 "parameters": { |
| 2114 "bucket": { |
| 2115 "description": "Name of the bucket in which the obje
ct resides.", |
| 2116 "location": "path", |
| 2117 "required": true, |
| 2118 "type": "string" |
| 2119 }, |
| 2120 "generation": { |
| 2121 "description": "If present, selects a specific revis
ion of this object (as opposed to the latest version, the default).", |
| 2122 "format": "int64", |
| 2123 "location": "query", |
| 2124 "type": "string" |
| 2125 }, |
| 2126 "object": { |
| 2127 "description": "Name of the object. For information
about how to URL encode object names to be path safe, see Encoding URI Path Part
s.", |
| 2128 "location": "path", |
| 2129 "required": true, |
| 2130 "type": "string" |
| 2131 }, |
| 2132 "permissions": { |
| 2133 "description": "Permissions to test.", |
| 2134 "location": "query", |
| 2135 "repeated": true, |
| 2136 "required": true, |
| 2137 "type": "string" |
| 2138 } |
| 2139 }, |
| 2140 "path": "b/{bucket}/o/{object}/iam/testPermissions", |
| 2141 "response": { |
| 2142 "$ref": "TestIamPermissionsResponse" |
| 2143 }, |
| 2144 "scopes": [ |
| 2145 "https://www.googleapis.com/auth/cloud-platform", |
| 2146 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
| 2147 "https://www.googleapis.com/auth/devstorage.full_control
", |
| 2148 "https://www.googleapis.com/auth/devstorage.read_only", |
| 2149 "https://www.googleapis.com/auth/devstorage.read_write" |
| 2150 ] |
| 2151 }, |
1933 "update": { | 2152 "update": { |
1934 "description": "Updates an object's metadata.", | 2153 "description": "Updates an object's metadata.", |
1935 "httpMethod": "PUT", | 2154 "httpMethod": "PUT", |
1936 "id": "storage.objects.update", | 2155 "id": "storage.objects.update", |
1937 "parameterOrder": [ | 2156 "parameterOrder": [ |
1938 "bucket", | 2157 "bucket", |
1939 "object" | 2158 "object" |
1940 ], | 2159 ], |
1941 "parameters": { | 2160 "parameters": { |
1942 "bucket": { | 2161 "bucket": { |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2098 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", | 2317 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
2099 "https://www.googleapis.com/auth/devstorage.full_control
", | 2318 "https://www.googleapis.com/auth/devstorage.full_control
", |
2100 "https://www.googleapis.com/auth/devstorage.read_only", | 2319 "https://www.googleapis.com/auth/devstorage.read_only", |
2101 "https://www.googleapis.com/auth/devstorage.read_write" | 2320 "https://www.googleapis.com/auth/devstorage.read_write" |
2102 ], | 2321 ], |
2103 "supportsSubscription": true | 2322 "supportsSubscription": true |
2104 } | 2323 } |
2105 } | 2324 } |
2106 } | 2325 } |
2107 }, | 2326 }, |
2108 "revision": "20170224", | 2327 "revision": "20170308", |
2109 "rootUrl": "https://www.googleapis.com/", | 2328 "rootUrl": "https://www.googleapis.com/", |
2110 "schemas": { | 2329 "schemas": { |
2111 "Bucket": { | 2330 "Bucket": { |
2112 "description": "A bucket.", | 2331 "description": "A bucket.", |
2113 "id": "Bucket", | 2332 "id": "Bucket", |
2114 "properties": { | 2333 "properties": { |
2115 "acl": { | 2334 "acl": { |
2116 "annotations": { | 2335 "annotations": { |
2117 "required": [ | 2336 "required": [ |
2118 "storage.buckets.update" | 2337 "storage.buckets.update" |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2839 "prefixes": { | 3058 "prefixes": { |
2840 "description": "The list of prefixes of objects matching-but
-not-listed up to and including the requested delimiter.", | 3059 "description": "The list of prefixes of objects matching-but
-not-listed up to and including the requested delimiter.", |
2841 "items": { | 3060 "items": { |
2842 "type": "string" | 3061 "type": "string" |
2843 }, | 3062 }, |
2844 "type": "array" | 3063 "type": "array" |
2845 } | 3064 } |
2846 }, | 3065 }, |
2847 "type": "object" | 3066 "type": "object" |
2848 }, | 3067 }, |
| 3068 "Policy": { |
| 3069 "description": "A bucket/object IAM policy.", |
| 3070 "id": "Policy", |
| 3071 "properties": { |
| 3072 "bindings": { |
| 3073 "annotations": { |
| 3074 "required": [ |
| 3075 "storage.buckets.setIamPolicy", |
| 3076 "storage.objects.setIamPolicy" |
| 3077 ] |
| 3078 }, |
| 3079 "description": "An association between a role, which comes w
ith a set of permissions, and members who may assume that role.", |
| 3080 "items": { |
| 3081 "properties": { |
| 3082 "members": { |
| 3083 "annotations": { |
| 3084 "required": [ |
| 3085 "storage.buckets.setIamPolicy", |
| 3086 "storage.objects.setIamPolicy" |
| 3087 ] |
| 3088 }, |
| 3089 "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", |
| 3090 "items": { |
| 3091 "type": "string" |
| 3092 }, |
| 3093 "type": "array" |
| 3094 }, |
| 3095 "role": { |
| 3096 "annotations": { |
| 3097 "required": [ |
| 3098 "storage.buckets.setIamPolicy", |
| 3099 "storage.objects.setIamPolicy" |
| 3100 ] |
| 3101 }, |
| 3102 "description": "The role to which members belong
. Two types of roles are supported: new IAM roles, which grant permissions that
do not map directly to those provided by ACLs, and legacy IAM roles, which do ma
p directly to ACL permissions. All roles are of the format roles/storage.specifi
cRole.\nThe new IAM roles are: \n- roles/storage.admin — Full control of Google
Cloud Storage resources. \n- roles/storage.objectViewer — Read-Only access to
Google Cloud Storage objects. \n- roles/storage.objectCreator — Access to creat
e objects in Google Cloud Storage. \n- roles/storage.objectAdmin — Full control
of Google Cloud Storage objects. The legacy IAM roles are: \n- roles/storage
.legacyObjectReader — Read-only access to objects without listing. Equivalent to
an ACL entry on an object with the READER role. \n- roles/storage.legacyObject
Owner — Read/write access to existing objects without listing. Equivalent to an
ACL entry on an object with the OWNER role. \n- roles/storage.legacyBucketReade
r — Read access to buckets with object listing. Equivalent to an ACL entry on a
bucket with the READER role. \n- roles/storage.legacyBucketWriter — Read access
to buckets with object listing/creation/deletion. Equivalent to an ACL entry on
a bucket with the WRITER role. \n- roles/storage.legacyBucketOwner — Read and
write access to existing buckets with object listing/creation/deletion. Equivale
nt to an ACL entry on a bucket with the OWNER role.", |
| 3103 "type": "string" |
| 3104 } |
| 3105 }, |
| 3106 "type": "object" |
| 3107 }, |
| 3108 "type": "array" |
| 3109 }, |
| 3110 "etag": { |
| 3111 "description": "HTTP 1.1 Entity tag for the policy.", |
| 3112 "format": "byte", |
| 3113 "type": "string" |
| 3114 }, |
| 3115 "kind": { |
| 3116 "default": "storage#policy", |
| 3117 "description": "The kind of item this is. For policies, this
is always storage#policy. This field is ignored on input.", |
| 3118 "type": "string" |
| 3119 }, |
| 3120 "resourceId": { |
| 3121 "description": "The ID of the resource to which this policy
belongs. Will be of the form buckets/bucket for buckets, and buckets/bucket/obje
cts/object for objects. A specific generation may be specified by appending #gen
erationNumber to the end of the object name, e.g. buckets/my-bucket/objects/data
.txt#17. The current generation can be denoted with #0. This field is ignored on
input.", |
| 3122 "type": "string" |
| 3123 } |
| 3124 }, |
| 3125 "type": "object" |
| 3126 }, |
2849 "RewriteResponse": { | 3127 "RewriteResponse": { |
2850 "description": "A rewrite response.", | 3128 "description": "A rewrite response.", |
2851 "id": "RewriteResponse", | 3129 "id": "RewriteResponse", |
2852 "properties": { | 3130 "properties": { |
2853 "done": { | 3131 "done": { |
2854 "description": "true if the copy is finished; otherwise, fal
se if the copy is in progress. This property is always present in the response."
, | 3132 "description": "true if the copy is finished; otherwise, fal
se if the copy is in progress. This property is always present in the response."
, |
2855 "type": "boolean" | 3133 "type": "boolean" |
2856 }, | 3134 }, |
2857 "kind": { | 3135 "kind": { |
2858 "default": "storage#rewriteResponse", | 3136 "default": "storage#rewriteResponse", |
(...skipping 13 matching lines...) Expand all Loading... |
2872 "description": "A token to use in subsequent requests to con
tinue copying data. This token is present in the response only when there is mor
e data to copy.", | 3150 "description": "A token to use in subsequent requests to con
tinue copying data. This token is present in the response only when there is mor
e data to copy.", |
2873 "type": "string" | 3151 "type": "string" |
2874 }, | 3152 }, |
2875 "totalBytesRewritten": { | 3153 "totalBytesRewritten": { |
2876 "description": "The total bytes written so far, which can be
used to provide a waiting user with a progress indicator. This property is alwa
ys present in the response.", | 3154 "description": "The total bytes written so far, which can be
used to provide a waiting user with a progress indicator. This property is alwa
ys present in the response.", |
2877 "format": "uint64", | 3155 "format": "uint64", |
2878 "type": "string" | 3156 "type": "string" |
2879 } | 3157 } |
2880 }, | 3158 }, |
2881 "type": "object" | 3159 "type": "object" |
| 3160 }, |
| 3161 "TestIamPermissionsResponse": { |
| 3162 "description": "A storage.(buckets|objects).testIamPermissions respo
nse.", |
| 3163 "id": "TestIamPermissionsResponse", |
| 3164 "properties": { |
| 3165 "kind": { |
| 3166 "default": "storage#testIamPermissionsResponse", |
| 3167 "description": "The kind of item this is.", |
| 3168 "type": "string" |
| 3169 }, |
| 3170 "permissions": { |
| 3171 "description": "The permissions held by the caller. Permissi
ons are always of the format storage.resource.capability, where resource is one
of buckets or objects. The supported permissions are as follows: \n- storage.bu
ckets.delete — Delete bucket. \n- storage.buckets.get — Read bucket metadata.
\n- storage.buckets.getIamPolicy — Read bucket IAM policy. \n- storage.buckets.
create — Create bucket. \n- storage.buckets.list — List buckets. \n- storage.b
uckets.setIamPolicy — Update bucket IAM policy. \n- storage.buckets.update — Up
date bucket metadata. \n- storage.objects.delete — Delete object. \n- storage.
objects.get — Read object data and metadata. \n- storage.objects.getIamPolicy —
Read object IAM policy. \n- storage.objects.create — Create object. \n- stora
ge.objects.list — List objects. \n- storage.objects.setIamPolicy — Update objec
t IAM policy. \n- storage.objects.update — Update object metadata.", |
| 3172 "items": { |
| 3173 "type": "string" |
| 3174 }, |
| 3175 "type": "array" |
| 3176 } |
| 3177 }, |
| 3178 "type": "object" |
2882 } | 3179 } |
2883 }, | 3180 }, |
2884 "servicePath": "storage/v1/", | 3181 "servicePath": "storage/v1/", |
2885 "title": "Cloud Storage JSON API", | 3182 "title": "Cloud Storage JSON API", |
2886 "version": "v1" | 3183 "version": "v1" |
2887 } | 3184 } |
OLD | NEW |