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/8cCymGQcL21bwNs4pLrUlHm7CoQ\"", | 29 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/9bnQR_kC7lWpyFxyRiXZLFFekco\"", |
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 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
979 "response": { | 979 "response": { |
980 "$ref": "ObjectAccessControl" | 980 "$ref": "ObjectAccessControl" |
981 }, | 981 }, |
982 "scopes": [ | 982 "scopes": [ |
983 "https://www.googleapis.com/auth/cloud-platform", | 983 "https://www.googleapis.com/auth/cloud-platform", |
984 "https://www.googleapis.com/auth/devstorage.full_control
" | 984 "https://www.googleapis.com/auth/devstorage.full_control
" |
985 ] | 985 ] |
986 } | 986 } |
987 } | 987 } |
988 }, | 988 }, |
| 989 "notifications": { |
| 990 "methods": { |
| 991 "delete": { |
| 992 "description": "Permanently deletes a notification subscript
ion.", |
| 993 "httpMethod": "DELETE", |
| 994 "id": "storage.notifications.delete", |
| 995 "parameterOrder": [ |
| 996 "bucket", |
| 997 "notification" |
| 998 ], |
| 999 "parameters": { |
| 1000 "bucket": { |
| 1001 "description": "The parent bucket of the notificatio
n.", |
| 1002 "location": "path", |
| 1003 "required": true, |
| 1004 "type": "string" |
| 1005 }, |
| 1006 "notification": { |
| 1007 "description": "ID of the notification to delete.", |
| 1008 "location": "path", |
| 1009 "required": true, |
| 1010 "type": "string" |
| 1011 } |
| 1012 }, |
| 1013 "path": "b/{bucket}/notificationConfigs/{notification}", |
| 1014 "scopes": [ |
| 1015 "https://www.googleapis.com/auth/cloud-platform", |
| 1016 "https://www.googleapis.com/auth/devstorage.full_control
", |
| 1017 "https://www.googleapis.com/auth/devstorage.read_write" |
| 1018 ] |
| 1019 }, |
| 1020 "get": { |
| 1021 "description": "View a notification configuration.", |
| 1022 "httpMethod": "GET", |
| 1023 "id": "storage.notifications.get", |
| 1024 "parameterOrder": [ |
| 1025 "bucket", |
| 1026 "notification" |
| 1027 ], |
| 1028 "parameters": { |
| 1029 "bucket": { |
| 1030 "description": "The parent bucket of the notificatio
n.", |
| 1031 "location": "path", |
| 1032 "required": true, |
| 1033 "type": "string" |
| 1034 }, |
| 1035 "notification": { |
| 1036 "description": "Notification ID", |
| 1037 "location": "path", |
| 1038 "required": true, |
| 1039 "type": "string" |
| 1040 } |
| 1041 }, |
| 1042 "path": "b/{bucket}/notificationConfigs/{notification}", |
| 1043 "response": { |
| 1044 "$ref": "Notification" |
| 1045 }, |
| 1046 "scopes": [ |
| 1047 "https://www.googleapis.com/auth/cloud-platform", |
| 1048 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
| 1049 "https://www.googleapis.com/auth/devstorage.full_control
", |
| 1050 "https://www.googleapis.com/auth/devstorage.read_only", |
| 1051 "https://www.googleapis.com/auth/devstorage.read_write" |
| 1052 ] |
| 1053 }, |
| 1054 "insert": { |
| 1055 "description": "Creates a notification subscription for a gi
ven bucket.", |
| 1056 "httpMethod": "POST", |
| 1057 "id": "storage.notifications.insert", |
| 1058 "parameterOrder": [ |
| 1059 "bucket" |
| 1060 ], |
| 1061 "parameters": { |
| 1062 "bucket": { |
| 1063 "description": "The parent bucket of the notificatio
n.", |
| 1064 "location": "path", |
| 1065 "required": true, |
| 1066 "type": "string" |
| 1067 } |
| 1068 }, |
| 1069 "path": "b/{bucket}/notificationConfigs", |
| 1070 "request": { |
| 1071 "$ref": "Notification" |
| 1072 }, |
| 1073 "response": { |
| 1074 "$ref": "Notification" |
| 1075 }, |
| 1076 "scopes": [ |
| 1077 "https://www.googleapis.com/auth/cloud-platform", |
| 1078 "https://www.googleapis.com/auth/devstorage.full_control
", |
| 1079 "https://www.googleapis.com/auth/devstorage.read_write" |
| 1080 ] |
| 1081 }, |
| 1082 "list": { |
| 1083 "description": "Retrieves a list of notification subscriptio
ns for a given bucket.", |
| 1084 "httpMethod": "GET", |
| 1085 "id": "storage.notifications.list", |
| 1086 "parameterOrder": [ |
| 1087 "bucket" |
| 1088 ], |
| 1089 "parameters": { |
| 1090 "bucket": { |
| 1091 "description": "Name of a GCS bucket.", |
| 1092 "location": "path", |
| 1093 "required": true, |
| 1094 "type": "string" |
| 1095 } |
| 1096 }, |
| 1097 "path": "b/{bucket}/notificationConfigs", |
| 1098 "response": { |
| 1099 "$ref": "Notifications" |
| 1100 }, |
| 1101 "scopes": [ |
| 1102 "https://www.googleapis.com/auth/cloud-platform", |
| 1103 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
| 1104 "https://www.googleapis.com/auth/devstorage.full_control
", |
| 1105 "https://www.googleapis.com/auth/devstorage.read_only", |
| 1106 "https://www.googleapis.com/auth/devstorage.read_write" |
| 1107 ] |
| 1108 } |
| 1109 } |
| 1110 }, |
989 "objectAccessControls": { | 1111 "objectAccessControls": { |
990 "methods": { | 1112 "methods": { |
991 "delete": { | 1113 "delete": { |
992 "description": "Permanently deletes the ACL entry for the sp
ecified entity on the specified object.", | 1114 "description": "Permanently deletes the ACL entry for the sp
ecified entity on the specified object.", |
993 "httpMethod": "DELETE", | 1115 "httpMethod": "DELETE", |
994 "id": "storage.objectAccessControls.delete", | 1116 "id": "storage.objectAccessControls.delete", |
995 "parameterOrder": [ | 1117 "parameterOrder": [ |
996 "bucket", | 1118 "bucket", |
997 "object", | 1119 "object", |
998 "entity" | 1120 "entity" |
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2315 "scopes": [ | 2437 "scopes": [ |
2316 "https://www.googleapis.com/auth/cloud-platform", | 2438 "https://www.googleapis.com/auth/cloud-platform", |
2317 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", | 2439 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
2318 "https://www.googleapis.com/auth/devstorage.full_control
", | 2440 "https://www.googleapis.com/auth/devstorage.full_control
", |
2319 "https://www.googleapis.com/auth/devstorage.read_only", | 2441 "https://www.googleapis.com/auth/devstorage.read_only", |
2320 "https://www.googleapis.com/auth/devstorage.read_write" | 2442 "https://www.googleapis.com/auth/devstorage.read_write" |
2321 ], | 2443 ], |
2322 "supportsSubscription": true | 2444 "supportsSubscription": true |
2323 } | 2445 } |
2324 } | 2446 } |
| 2447 }, |
| 2448 "projects": { |
| 2449 "resources": { |
| 2450 "serviceAccount": { |
| 2451 "methods": { |
| 2452 "get": { |
| 2453 "description": "Get the email address of this projec
t's GCS service account.", |
| 2454 "httpMethod": "GET", |
| 2455 "id": "storage.projects.serviceAccount.get", |
| 2456 "parameterOrder": [ |
| 2457 "projectId" |
| 2458 ], |
| 2459 "parameters": { |
| 2460 "projectId": { |
| 2461 "description": "Project ID", |
| 2462 "location": "path", |
| 2463 "required": true, |
| 2464 "type": "string" |
| 2465 } |
| 2466 }, |
| 2467 "path": "projects/{projectId}/serviceAccount", |
| 2468 "response": { |
| 2469 "$ref": "ServiceAccount" |
| 2470 }, |
| 2471 "scopes": [ |
| 2472 "https://www.googleapis.com/auth/cloud-platform"
, |
| 2473 "https://www.googleapis.com/auth/cloud-platform.
read-only", |
| 2474 "https://www.googleapis.com/auth/devstorage.full
_control", |
| 2475 "https://www.googleapis.com/auth/devstorage.read
_only", |
| 2476 "https://www.googleapis.com/auth/devstorage.read
_write" |
| 2477 ] |
| 2478 } |
| 2479 } |
| 2480 } |
| 2481 } |
2325 } | 2482 } |
2326 }, | 2483 }, |
2327 "revision": "20170308", | 2484 "revision": "20170329", |
2328 "rootUrl": "https://www.googleapis.com/", | 2485 "rootUrl": "https://www.googleapis.com/", |
2329 "schemas": { | 2486 "schemas": { |
2330 "Bucket": { | 2487 "Bucket": { |
2331 "description": "A bucket.", | 2488 "description": "A bucket.", |
2332 "id": "Bucket", | 2489 "id": "Bucket", |
2333 "properties": { | 2490 "properties": { |
2334 "acl": { | 2491 "acl": { |
2335 "annotations": { | 2492 "annotations": { |
2336 "required": [ | 2493 "required": [ |
2337 "storage.buckets.update" | 2494 "storage.buckets.update" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2391 }, | 2548 }, |
2392 "id": { | 2549 "id": { |
2393 "description": "The ID of the bucket. For buckets, the id an
d name properities are the same.", | 2550 "description": "The ID of the bucket. For buckets, the id an
d name properities are the same.", |
2394 "type": "string" | 2551 "type": "string" |
2395 }, | 2552 }, |
2396 "kind": { | 2553 "kind": { |
2397 "default": "storage#bucket", | 2554 "default": "storage#bucket", |
2398 "description": "The kind of item this is. For buckets, this
is always storage#bucket.", | 2555 "description": "The kind of item this is. For buckets, this
is always storage#bucket.", |
2399 "type": "string" | 2556 "type": "string" |
2400 }, | 2557 }, |
| 2558 "labels": { |
| 2559 "additionalProperties": { |
| 2560 "description": "An individual label entry.", |
| 2561 "type": "string" |
| 2562 }, |
| 2563 "description": "User-provided labels, in key/value pairs.", |
| 2564 "type": "object" |
| 2565 }, |
2401 "lifecycle": { | 2566 "lifecycle": { |
2402 "description": "The bucket's lifecycle configuration. See li
fecycle management for more information.", | 2567 "description": "The bucket's lifecycle configuration. See li
fecycle management for more information.", |
2403 "properties": { | 2568 "properties": { |
2404 "rule": { | 2569 "rule": { |
2405 "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.", | 2570 "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.", |
2406 "items": { | 2571 "items": { |
2407 "properties": { | 2572 "properties": { |
2408 "action": { | 2573 "action": { |
2409 "description": "The action to take.", | 2574 "description": "The action to take.", |
2410 "properties": { | 2575 "properties": { |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2770 "type": "object" | 2935 "type": "object" |
2771 } | 2936 } |
2772 }, | 2937 }, |
2773 "type": "object" | 2938 "type": "object" |
2774 }, | 2939 }, |
2775 "type": "array" | 2940 "type": "array" |
2776 } | 2941 } |
2777 }, | 2942 }, |
2778 "type": "object" | 2943 "type": "object" |
2779 }, | 2944 }, |
| 2945 "Notification": { |
| 2946 "description": "A subscription to receive Google PubSub notification
s.", |
| 2947 "id": "Notification", |
| 2948 "properties": { |
| 2949 "custom_attributes": { |
| 2950 "additionalProperties": { |
| 2951 "type": "string" |
| 2952 }, |
| 2953 "description": "An optional list of additional attributes to
attach to each Cloud PubSub message published for this notification subscriptio
n.", |
| 2954 "type": "object" |
| 2955 }, |
| 2956 "etag": { |
| 2957 "description": "HTTP 1.1 Entity tag for this subscription no
tification.", |
| 2958 "type": "string" |
| 2959 }, |
| 2960 "event_types": { |
| 2961 "description": "If present, only send notifications about li
sted event types. If empty, sent notifications for all event types.", |
| 2962 "items": { |
| 2963 "type": "string" |
| 2964 }, |
| 2965 "type": "array" |
| 2966 }, |
| 2967 "id": { |
| 2968 "description": "The ID of the notification.", |
| 2969 "type": "string" |
| 2970 }, |
| 2971 "kind": { |
| 2972 "default": "storage#notification", |
| 2973 "description": "The kind of item this is. For notifications,
this is always storage#notification.", |
| 2974 "type": "string" |
| 2975 }, |
| 2976 "object_name_prefix": { |
| 2977 "description": "If present, only apply this notification con
figuration to object names that begin with this prefix.", |
| 2978 "type": "string" |
| 2979 }, |
| 2980 "payload_format": { |
| 2981 "default": "JSON_API_V1", |
| 2982 "description": "The desired content of the Payload.", |
| 2983 "type": "string" |
| 2984 }, |
| 2985 "selfLink": { |
| 2986 "description": "The canonical URL of this notification.", |
| 2987 "type": "string" |
| 2988 }, |
| 2989 "topic": { |
| 2990 "annotations": { |
| 2991 "required": [ |
| 2992 "storage.notifications.insert" |
| 2993 ] |
| 2994 }, |
| 2995 "description": "The Cloud PubSub topic to which this subscri
ption publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identi
fier}/topics/{my-topic}'", |
| 2996 "type": "string" |
| 2997 } |
| 2998 }, |
| 2999 "type": "object" |
| 3000 }, |
| 3001 "Notifications": { |
| 3002 "description": "A list of notification subscriptions.", |
| 3003 "id": "Notifications", |
| 3004 "properties": { |
| 3005 "items": { |
| 3006 "description": "The list of items.", |
| 3007 "items": { |
| 3008 "$ref": "Notification" |
| 3009 }, |
| 3010 "type": "array" |
| 3011 }, |
| 3012 "kind": { |
| 3013 "default": "storage#notifications", |
| 3014 "description": "The kind of item this is. For lists of notif
ications, this is always storage#notifications.", |
| 3015 "type": "string" |
| 3016 } |
| 3017 }, |
| 3018 "type": "object" |
| 3019 }, |
2780 "Object": { | 3020 "Object": { |
2781 "description": "An object.", | 3021 "description": "An object.", |
2782 "id": "Object", | 3022 "id": "Object", |
2783 "properties": { | 3023 "properties": { |
2784 "acl": { | 3024 "acl": { |
2785 "annotations": { | 3025 "annotations": { |
2786 "required": [ | 3026 "required": [ |
2787 "storage.objects.update" | 3027 "storage.objects.update" |
2788 ] | 3028 ] |
2789 }, | 3029 }, |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3151 "type": "string" | 3391 "type": "string" |
3152 }, | 3392 }, |
3153 "totalBytesRewritten": { | 3393 "totalBytesRewritten": { |
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.", | 3394 "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.", |
3155 "format": "uint64", | 3395 "format": "uint64", |
3156 "type": "string" | 3396 "type": "string" |
3157 } | 3397 } |
3158 }, | 3398 }, |
3159 "type": "object" | 3399 "type": "object" |
3160 }, | 3400 }, |
| 3401 "ServiceAccount": { |
| 3402 "description": "A subscription to receive Google PubSub notification
s.", |
| 3403 "id": "ServiceAccount", |
| 3404 "properties": { |
| 3405 "email_address": { |
| 3406 "description": "The ID of the notification.", |
| 3407 "type": "string" |
| 3408 }, |
| 3409 "kind": { |
| 3410 "default": "storage#serviceAccount", |
| 3411 "description": "The kind of item this is. For notifications,
this is always storage#notification.", |
| 3412 "type": "string" |
| 3413 } |
| 3414 }, |
| 3415 "type": "object" |
| 3416 }, |
3161 "TestIamPermissionsResponse": { | 3417 "TestIamPermissionsResponse": { |
3162 "description": "A storage.(buckets|objects).testIamPermissions respo
nse.", | 3418 "description": "A storage.(buckets|objects).testIamPermissions respo
nse.", |
3163 "id": "TestIamPermissionsResponse", | 3419 "id": "TestIamPermissionsResponse", |
3164 "properties": { | 3420 "properties": { |
3165 "kind": { | 3421 "kind": { |
3166 "default": "storage#testIamPermissionsResponse", | 3422 "default": "storage#testIamPermissionsResponse", |
3167 "description": "The kind of item this is.", | 3423 "description": "The kind of item this is.", |
3168 "type": "string" | 3424 "type": "string" |
3169 }, | 3425 }, |
3170 "permissions": { | 3426 "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.", | 3427 "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": { | 3428 "items": { |
3173 "type": "string" | 3429 "type": "string" |
3174 }, | 3430 }, |
3175 "type": "array" | 3431 "type": "array" |
3176 } | 3432 } |
3177 }, | 3433 }, |
3178 "type": "object" | 3434 "type": "object" |
3179 } | 3435 } |
3180 }, | 3436 }, |
3181 "servicePath": "storage/v1/", | 3437 "servicePath": "storage/v1/", |
3182 "title": "Cloud Storage JSON API", | 3438 "title": "Cloud Storage JSON API", |
3183 "version": "v1" | 3439 "version": "v1" |
3184 } | 3440 } |
OLD | NEW |