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": "\"l66ggWbucbkBw9Lpos72oziyefE/-BgSACntyU8GgmwDEZuxapImoKg\"", | 29 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/vsvLdIv49o6nVslSjOWeUZPaQTM\"", |
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 3109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3149 "maximum": "500", | 3149 "maximum": "500", |
3150 "minimum": "0", | 3150 "minimum": "0", |
3151 "type": "integer" | 3151 "type": "integer" |
3152 }, | 3152 }, |
3153 "pageToken": { | 3153 "pageToken": { |
3154 "description": "Optional. Tag returned by a previous
list request truncated by maxResults. Used to continue a previous list request.
", | 3154 "description": "Optional. Tag returned by a previous
list request truncated by maxResults. Used to continue a previous list request.
", |
3155 "location": "query", | 3155 "location": "query", |
3156 "type": "string" | 3156 "type": "string" |
3157 }, | 3157 }, |
3158 "project": { | 3158 "project": { |
3159 "description": "Name of the project scoping this req
uest.", | 3159 "description": "Project ID for this request.", |
3160 "location": "path", | 3160 "location": "path", |
3161 "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])?))"
, | 3161 "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])?))"
, |
3162 "required": true, | 3162 "required": true, |
3163 "type": "string" | 3163 "type": "string" |
3164 } | 3164 } |
3165 }, | 3165 }, |
3166 "path": "{project}/aggregated/machineTypes", | 3166 "path": "{project}/aggregated/machineTypes", |
3167 "response": { | 3167 "response": { |
3168 "$ref": "MachineTypeAggregatedList" | 3168 "$ref": "MachineTypeAggregatedList" |
3169 }, | 3169 }, |
(...skipping 13 matching lines...) Expand all Loading... |
3183 ], | 3183 ], |
3184 "parameters": { | 3184 "parameters": { |
3185 "machineType": { | 3185 "machineType": { |
3186 "description": "Name of the machine type resource to
return.", | 3186 "description": "Name of the machine type resource to
return.", |
3187 "location": "path", | 3187 "location": "path", |
3188 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", | 3188 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
3189 "required": true, | 3189 "required": true, |
3190 "type": "string" | 3190 "type": "string" |
3191 }, | 3191 }, |
3192 "project": { | 3192 "project": { |
3193 "description": "Name of the project scoping this req
uest.", | 3193 "description": "Project ID for this request.", |
3194 "location": "path", | 3194 "location": "path", |
3195 "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])?))"
, | 3195 "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])?))"
, |
3196 "required": true, | 3196 "required": true, |
3197 "type": "string" | 3197 "type": "string" |
3198 }, | 3198 }, |
3199 "zone": { | 3199 "zone": { |
3200 "description": "Name of the zone scoping this reques
t.", | 3200 "description": "Name of the zone scoping this reques
t.", |
3201 "location": "path", | 3201 "location": "path", |
3202 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", | 3202 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
3203 "required": true, | 3203 "required": true, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3235 "maximum": "500", | 3235 "maximum": "500", |
3236 "minimum": "0", | 3236 "minimum": "0", |
3237 "type": "integer" | 3237 "type": "integer" |
3238 }, | 3238 }, |
3239 "pageToken": { | 3239 "pageToken": { |
3240 "description": "Optional. Tag returned by a previous
list request truncated by maxResults. Used to continue a previous list request.
", | 3240 "description": "Optional. Tag returned by a previous
list request truncated by maxResults. Used to continue a previous list request.
", |
3241 "location": "query", | 3241 "location": "query", |
3242 "type": "string" | 3242 "type": "string" |
3243 }, | 3243 }, |
3244 "project": { | 3244 "project": { |
3245 "description": "Name of the project scoping this req
uest.", | 3245 "description": "Project ID for this request.", |
3246 "location": "path", | 3246 "location": "path", |
3247 "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])?))"
, | 3247 "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])?))"
, |
3248 "required": true, | 3248 "required": true, |
3249 "type": "string" | 3249 "type": "string" |
3250 }, | 3250 }, |
3251 "zone": { | 3251 "zone": { |
3252 "description": "Name of the zone scoping this reques
t.", | 3252 "description": "Name of the zone scoping this reques
t.", |
3253 "location": "path", | 3253 "location": "path", |
3254 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", | 3254 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
3255 "required": true, | 3255 "required": true, |
(...skipping 2026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5282 "$ref": "ZoneList" | 5282 "$ref": "ZoneList" |
5283 }, | 5283 }, |
5284 "scopes": [ | 5284 "scopes": [ |
5285 "https://www.googleapis.com/auth/compute", | 5285 "https://www.googleapis.com/auth/compute", |
5286 "https://www.googleapis.com/auth/compute.readonly" | 5286 "https://www.googleapis.com/auth/compute.readonly" |
5287 ] | 5287 ] |
5288 } | 5288 } |
5289 } | 5289 } |
5290 } | 5290 } |
5291 }, | 5291 }, |
5292 "revision": "20141105", | 5292 "revision": "20141112", |
5293 "rootUrl": "https://www.googleapis.com/", | 5293 "rootUrl": "https://www.googleapis.com/", |
5294 "schemas": { | 5294 "schemas": { |
5295 "AccessConfig": { | 5295 "AccessConfig": { |
5296 "description": "An access configuration attached to an instance's ne
twork interface.", | 5296 "description": "An access configuration attached to an instance's ne
twork interface.", |
5297 "id": "AccessConfig", | 5297 "id": "AccessConfig", |
5298 "properties": { | 5298 "properties": { |
5299 "kind": { | 5299 "kind": { |
5300 "default": "compute#accessConfig", | 5300 "default": "compute#accessConfig", |
5301 "description": "Type of the resource.", | 5301 "description": "Type of the resource.", |
5302 "type": "string" | 5302 "type": "string" |
(...skipping 1996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7299 "type": "string" | 7299 "type": "string" |
7300 } | 7300 } |
7301 }, | 7301 }, |
7302 "type": "object" | 7302 "type": "object" |
7303 }, | 7303 }, |
7304 "MachineType": { | 7304 "MachineType": { |
7305 "description": "A machine type resource.", | 7305 "description": "A machine type resource.", |
7306 "id": "MachineType", | 7306 "id": "MachineType", |
7307 "properties": { | 7307 "properties": { |
7308 "creationTimestamp": { | 7308 "creationTimestamp": { |
7309 "description": "Creation timestamp in RFC3339 text format (o
utput only).", | 7309 "description": "[Output Only] Creation timestamp in RFC3339
text format.", |
7310 "type": "string" | 7310 "type": "string" |
7311 }, | 7311 }, |
7312 "deprecated": { | 7312 "deprecated": { |
7313 "$ref": "DeprecationStatus", | 7313 "$ref": "DeprecationStatus", |
7314 "description": "The deprecation status associated with this
machine type." | 7314 "description": "The deprecation status associated with this
machine type." |
7315 }, | 7315 }, |
7316 "description": { | 7316 "description": { |
7317 "description": "An optional textual description of the resou
rce.", | 7317 "description": "An optional textual description of the resou
rce.", |
7318 "type": "string" | 7318 "type": "string" |
7319 }, | 7319 }, |
7320 "guestCpus": { | 7320 "guestCpus": { |
7321 "description": "Count of CPUs exposed to the instance.", | 7321 "description": "Count of CPUs exposed to the instance.", |
7322 "format": "int32", | 7322 "format": "int32", |
7323 "type": "integer" | 7323 "type": "integer" |
7324 }, | 7324 }, |
7325 "id": { | 7325 "id": { |
7326 "description": "Unique identifier for the resource; defined
by the server (output only).", | 7326 "description": "[Output Only] Unique identifier for the reso
urce; defined by the server.", |
7327 "format": "uint64", | 7327 "format": "uint64", |
7328 "type": "string" | 7328 "type": "string" |
7329 }, | 7329 }, |
7330 "imageSpaceGb": { | 7330 "imageSpaceGb": { |
7331 "description": "Space allotted for the image, defined in GB.
", | 7331 "description": "Space allotted for the image, defined in GB.
", |
7332 "format": "int32", | 7332 "format": "int32", |
7333 "type": "integer" | 7333 "type": "integer" |
7334 }, | 7334 }, |
7335 "kind": { | 7335 "kind": { |
7336 "default": "compute#machineType", | 7336 "default": "compute#machineType", |
(...skipping 28 matching lines...) Expand all Loading... |
7365 "description": "Size of the scratch disk, define
d in GB.", | 7365 "description": "Size of the scratch disk, define
d in GB.", |
7366 "format": "int32", | 7366 "format": "int32", |
7367 "type": "integer" | 7367 "type": "integer" |
7368 } | 7368 } |
7369 }, | 7369 }, |
7370 "type": "object" | 7370 "type": "object" |
7371 }, | 7371 }, |
7372 "type": "array" | 7372 "type": "array" |
7373 }, | 7373 }, |
7374 "selfLink": { | 7374 "selfLink": { |
7375 "description": "Server defined URL for the resource (output
only).", | 7375 "description": "[Output Only] Server defined URL for the res
ource.", |
7376 "type": "string" | 7376 "type": "string" |
7377 }, | 7377 }, |
7378 "zone": { | 7378 "zone": { |
7379 "description": "Url of the zone where the machine type resid
es (output only).", | 7379 "description": "[Output Only] The name of the zone where the
machine type resides, such as us-central1-a.", |
7380 "type": "string" | 7380 "type": "string" |
7381 } | 7381 } |
7382 }, | 7382 }, |
7383 "type": "object" | 7383 "type": "object" |
7384 }, | 7384 }, |
7385 "MachineTypeAggregatedList": { | 7385 "MachineTypeAggregatedList": { |
7386 "id": "MachineTypeAggregatedList", | 7386 "id": "MachineTypeAggregatedList", |
7387 "properties": { | 7387 "properties": { |
7388 "id": { | 7388 "id": { |
7389 "description": "Unique identifier for the resource; defined
by the server (output only).", | 7389 "description": "[Output Only] Unique identifier for the reso
urce; defined by the server.", |
7390 "type": "string" | 7390 "type": "string" |
7391 }, | 7391 }, |
7392 "items": { | 7392 "items": { |
7393 "additionalProperties": { | 7393 "additionalProperties": { |
7394 "$ref": "MachineTypesScopedList", | 7394 "$ref": "MachineTypesScopedList", |
7395 "description": "Name of the scope containing this set of
machine types." | 7395 "description": "Name of the scope containing this set of
machine types." |
7396 }, | 7396 }, |
7397 "description": "A map of scoped machine type lists.", | 7397 "description": "A map of scoped machine type lists.", |
7398 "type": "object" | 7398 "type": "object" |
7399 }, | 7399 }, |
7400 "kind": { | 7400 "kind": { |
7401 "default": "compute#machineTypeAggregatedList", | 7401 "default": "compute#machineTypeAggregatedList", |
7402 "description": "Type of resource.", | 7402 "description": "Type of resource.", |
7403 "type": "string" | 7403 "type": "string" |
7404 }, | 7404 }, |
7405 "nextPageToken": { | 7405 "nextPageToken": { |
7406 "description": "A token used to continue a truncated list re
quest (output only).", | 7406 "description": "[Output Only] A token used to continue a tru
ncated list request.", |
7407 "type": "string" | 7407 "type": "string" |
7408 }, | 7408 }, |
7409 "selfLink": { | 7409 "selfLink": { |
7410 "description": "Server defined URL for this resource (output
only).", | 7410 "description": "Server defined URL for this resource (output
only).", |
7411 "type": "string" | 7411 "type": "string" |
7412 } | 7412 } |
7413 }, | 7413 }, |
7414 "type": "object" | 7414 "type": "object" |
7415 }, | 7415 }, |
7416 "MachineTypeList": { | 7416 "MachineTypeList": { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7448 "id": "MachineTypesScopedList", | 7448 "id": "MachineTypesScopedList", |
7449 "properties": { | 7449 "properties": { |
7450 "machineTypes": { | 7450 "machineTypes": { |
7451 "description": "List of machine types contained in this scop
e.", | 7451 "description": "List of machine types contained in this scop
e.", |
7452 "items": { | 7452 "items": { |
7453 "$ref": "MachineType" | 7453 "$ref": "MachineType" |
7454 }, | 7454 }, |
7455 "type": "array" | 7455 "type": "array" |
7456 }, | 7456 }, |
7457 "warning": { | 7457 "warning": { |
7458 "description": "Informational warning which replaces the lis
t of machine types when the list is empty.", | 7458 "description": "An informational warning that appears when t
he machine types list is empty.", |
7459 "properties": { | 7459 "properties": { |
7460 "code": { | 7460 "code": { |
7461 "description": "The warning type identifier for this
warning.", | 7461 "description": "The warning type identifier for this
warning.", |
7462 "enum": [ | 7462 "enum": [ |
7463 "DEPRECATED_RESOURCE_USED", | 7463 "DEPRECATED_RESOURCE_USED", |
7464 "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", | 7464 "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", |
7465 "INJECTED_KERNELS_DEPRECATED", | 7465 "INJECTED_KERNELS_DEPRECATED", |
7466 "NEXT_HOP_ADDRESS_NOT_ASSIGNED", | 7466 "NEXT_HOP_ADDRESS_NOT_ASSIGNED", |
7467 "NEXT_HOP_CANNOT_IP_FORWARD", | 7467 "NEXT_HOP_CANNOT_IP_FORWARD", |
7468 "NEXT_HOP_INSTANCE_NOT_FOUND", | 7468 "NEXT_HOP_INSTANCE_NOT_FOUND", |
(...skipping 2048 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9517 "type": "string" | 9517 "type": "string" |
9518 } | 9518 } |
9519 }, | 9519 }, |
9520 "type": "object" | 9520 "type": "object" |
9521 } | 9521 } |
9522 }, | 9522 }, |
9523 "servicePath": "compute/v1/projects/", | 9523 "servicePath": "compute/v1/projects/", |
9524 "title": "Compute Engine API", | 9524 "title": "Compute Engine API", |
9525 "version": "v1" | 9525 "version": "v1" |
9526 } | 9526 } |
OLD | NEW |