| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/compute": { | 5 "https://www.googleapis.com/auth/compute": { |
| 6 "description": "View and manage your Google Compute Engine r
esources" | 6 "description": "View and manage your Google Compute Engine r
esources" |
| 7 }, | 7 }, |
| 8 "https://www.googleapis.com/auth/compute.readonly": { | 8 "https://www.googleapis.com/auth/compute.readonly": { |
| 9 "description": "View your Google Compute Engine resources" | 9 "description": "View your Google Compute Engine resources" |
| 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": "/compute/v1/projects/", | 23 "basePath": "/compute/v1/projects/", |
| 24 "baseUrl": "https://www.googleapis.com/compute/v1/projects/", | 24 "baseUrl": "https://www.googleapis.com/compute/v1/projects/", |
| 25 "batchPath": "batch", | 25 "batchPath": "batch", |
| 26 "description": "API for the Google Compute Engine service.", | 26 "description": "API for the Google Compute Engine service.", |
| 27 "discoveryVersion": "v1", | 27 "discoveryVersion": "v1", |
| 28 "documentationLink": "https://developers.google.com/compute/docs/reference/l
atest/", | 28 "documentationLink": "https://developers.google.com/compute/docs/reference/l
atest/", |
| 29 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/vsvLdIv49o6nVslSjOWeUZPaQTM\"", | 29 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/p_mCJMb7VwoC3-6YahcTdtq2Nr4\"", |
| 30 "icons": { | 30 "icons": { |
| 31 "x16": "https://www.google.com/images/icons/product/compute_engine-16.pn
g", | 31 "x16": "https://www.google.com/images/icons/product/compute_engine-16.pn
g", |
| 32 "x32": "https://www.google.com/images/icons/product/compute_engine-32.pn
g" | 32 "x32": "https://www.google.com/images/icons/product/compute_engine-32.pn
g" |
| 33 }, | 33 }, |
| 34 "id": "compute:v1", | 34 "id": "compute:v1", |
| 35 "kind": "discovery#restDescription", | 35 "kind": "discovery#restDescription", |
| 36 "name": "compute", | 36 "name": "compute", |
| 37 "ownerDomain": "google.com", | 37 "ownerDomain": "google.com", |
| 38 "ownerName": "Google", | 38 "ownerName": "Google", |
| 39 "parameters": { | 39 "parameters": { |
| (...skipping 3039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3079 "path": "{project}/zones/{zone}/instances/{instance}/setTags
", | 3079 "path": "{project}/zones/{zone}/instances/{instance}/setTags
", |
| 3080 "request": { | 3080 "request": { |
| 3081 "$ref": "Tags" | 3081 "$ref": "Tags" |
| 3082 }, | 3082 }, |
| 3083 "response": { | 3083 "response": { |
| 3084 "$ref": "Operation" | 3084 "$ref": "Operation" |
| 3085 }, | 3085 }, |
| 3086 "scopes": [ | 3086 "scopes": [ |
| 3087 "https://www.googleapis.com/auth/compute" | 3087 "https://www.googleapis.com/auth/compute" |
| 3088 ] | 3088 ] |
| 3089 }, |
| 3090 "start": { |
| 3091 "description": "Starts an instance", |
| 3092 "httpMethod": "POST", |
| 3093 "id": "compute.instances.start", |
| 3094 "parameterOrder": [ |
| 3095 "project", |
| 3096 "zone", |
| 3097 "instance" |
| 3098 ], |
| 3099 "parameters": { |
| 3100 "instance": { |
| 3101 "description": "Name of the instance resource to sta
rt.", |
| 3102 "location": "path", |
| 3103 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 3104 "required": true, |
| 3105 "type": "string" |
| 3106 }, |
| 3107 "project": { |
| 3108 "description": "Name of the project scoping this req
uest.", |
| 3109 "location": "path", |
| 3110 "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a
-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))"
, |
| 3111 "required": true, |
| 3112 "type": "string" |
| 3113 }, |
| 3114 "zone": { |
| 3115 "description": "Name of the zone scoping this reques
t.", |
| 3116 "location": "path", |
| 3117 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 3118 "required": true, |
| 3119 "type": "string" |
| 3120 } |
| 3121 }, |
| 3122 "path": "{project}/zones/{zone}/instances/{instance}/start", |
| 3123 "response": { |
| 3124 "$ref": "Operation" |
| 3125 }, |
| 3126 "scopes": [ |
| 3127 "https://www.googleapis.com/auth/compute" |
| 3128 ] |
| 3129 }, |
| 3130 "stop": { |
| 3131 "description": "Stops an instance", |
| 3132 "httpMethod": "POST", |
| 3133 "id": "compute.instances.stop", |
| 3134 "parameterOrder": [ |
| 3135 "project", |
| 3136 "zone", |
| 3137 "instance" |
| 3138 ], |
| 3139 "parameters": { |
| 3140 "instance": { |
| 3141 "description": "Name of the instance resource to sta
rt.", |
| 3142 "location": "path", |
| 3143 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 3144 "required": true, |
| 3145 "type": "string" |
| 3146 }, |
| 3147 "project": { |
| 3148 "description": "Name of the project scoping this req
uest.", |
| 3149 "location": "path", |
| 3150 "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a
-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))"
, |
| 3151 "required": true, |
| 3152 "type": "string" |
| 3153 }, |
| 3154 "zone": { |
| 3155 "description": "Name of the zone scoping this reques
t.", |
| 3156 "location": "path", |
| 3157 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 3158 "required": true, |
| 3159 "type": "string" |
| 3160 } |
| 3161 }, |
| 3162 "path": "{project}/zones/{zone}/instances/{instance}/stop", |
| 3163 "response": { |
| 3164 "$ref": "Operation" |
| 3165 }, |
| 3166 "scopes": [ |
| 3167 "https://www.googleapis.com/auth/compute" |
| 3168 ] |
| 3089 } | 3169 } |
| 3090 } | 3170 } |
| 3091 }, | 3171 }, |
| 3092 "licenses": { | 3172 "licenses": { |
| 3093 "methods": { | 3173 "methods": { |
| 3094 "get": { | 3174 "get": { |
| 3095 "description": "Returns the specified license resource.", | 3175 "description": "Returns the specified license resource.", |
| 3096 "httpMethod": "GET", | 3176 "httpMethod": "GET", |
| 3097 "id": "compute.licenses.get", | 3177 "id": "compute.licenses.get", |
| 3098 "parameterOrder": [ | 3178 "parameterOrder": [ |
| (...skipping 2183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5282 "$ref": "ZoneList" | 5362 "$ref": "ZoneList" |
| 5283 }, | 5363 }, |
| 5284 "scopes": [ | 5364 "scopes": [ |
| 5285 "https://www.googleapis.com/auth/compute", | 5365 "https://www.googleapis.com/auth/compute", |
| 5286 "https://www.googleapis.com/auth/compute.readonly" | 5366 "https://www.googleapis.com/auth/compute.readonly" |
| 5287 ] | 5367 ] |
| 5288 } | 5368 } |
| 5289 } | 5369 } |
| 5290 } | 5370 } |
| 5291 }, | 5371 }, |
| 5292 "revision": "20141112", | 5372 "revision": "20141118", |
| 5293 "rootUrl": "https://www.googleapis.com/", | 5373 "rootUrl": "https://www.googleapis.com/", |
| 5294 "schemas": { | 5374 "schemas": { |
| 5295 "AccessConfig": { | 5375 "AccessConfig": { |
| 5296 "description": "An access configuration attached to an instance's ne
twork interface.", | 5376 "description": "An access configuration attached to an instance's ne
twork interface.", |
| 5297 "id": "AccessConfig", | 5377 "id": "AccessConfig", |
| 5298 "properties": { | 5378 "properties": { |
| 5299 "kind": { | 5379 "kind": { |
| 5300 "default": "compute#accessConfig", | 5380 "default": "compute#accessConfig", |
| 5301 "description": "Type of the resource.", | 5381 "description": "Type of the resource.", |
| 5302 "type": "string" | 5382 "type": "string" |
| (...skipping 4214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9517 "type": "string" | 9597 "type": "string" |
| 9518 } | 9598 } |
| 9519 }, | 9599 }, |
| 9520 "type": "object" | 9600 "type": "object" |
| 9521 } | 9601 } |
| 9522 }, | 9602 }, |
| 9523 "servicePath": "compute/v1/projects/", | 9603 "servicePath": "compute/v1/projects/", |
| 9524 "title": "Compute Engine API", | 9604 "title": "Compute Engine API", |
| 9525 "version": "v1" | 9605 "version": "v1" |
| 9526 } | 9606 } |
| OLD | NEW |