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": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/qK3Hzetd9eo6XriEgifky4rzxKI\"", | 29 "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/qUHCwz70L0xuP-BVWW3HW2bYL8A\"", |
30 "icons": { | 30 "icons": { |
31 "x16": "http://www.google.com/images/icons/product/compute_engine-16.png
", | 31 "x16": "https://www.google.com/images/icons/product/compute_engine-16.pn
g", |
32 "x32": "http://www.google.com/images/icons/product/compute_engine-32.png
" | 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": { |
40 "alt": { | 40 "alt": { |
41 "default": "json", | 41 "default": "json", |
42 "description": "Data format for the response.", | 42 "description": "Data format for the response.", |
(...skipping 2224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2267 "response": { | 2267 "response": { |
2268 "$ref": "ImageList" | 2268 "$ref": "ImageList" |
2269 }, | 2269 }, |
2270 "scopes": [ | 2270 "scopes": [ |
2271 "https://www.googleapis.com/auth/compute", | 2271 "https://www.googleapis.com/auth/compute", |
2272 "https://www.googleapis.com/auth/compute.readonly" | 2272 "https://www.googleapis.com/auth/compute.readonly" |
2273 ] | 2273 ] |
2274 } | 2274 } |
2275 } | 2275 } |
2276 }, | 2276 }, |
| 2277 "instanceTemplates": { |
| 2278 "methods": { |
| 2279 "delete": { |
| 2280 "description": "Deletes the specified instance template reso
urce.", |
| 2281 "httpMethod": "DELETE", |
| 2282 "id": "compute.instanceTemplates.delete", |
| 2283 "parameterOrder": [ |
| 2284 "project", |
| 2285 "instanceTemplate" |
| 2286 ], |
| 2287 "parameters": { |
| 2288 "instanceTemplate": { |
| 2289 "description": "Name of the instance template resour
ce to delete.", |
| 2290 "location": "path", |
| 2291 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 2292 "required": true, |
| 2293 "type": "string" |
| 2294 }, |
| 2295 "project": { |
| 2296 "description": "Name of the project scoping this req
uest.", |
| 2297 "location": "path", |
| 2298 "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])?))"
, |
| 2299 "required": true, |
| 2300 "type": "string" |
| 2301 } |
| 2302 }, |
| 2303 "path": "{project}/global/instanceTemplates/{instanceTemplat
e}", |
| 2304 "response": { |
| 2305 "$ref": "Operation" |
| 2306 }, |
| 2307 "scopes": [ |
| 2308 "https://www.googleapis.com/auth/compute" |
| 2309 ] |
| 2310 }, |
| 2311 "get": { |
| 2312 "description": "Returns the specified instance template reso
urce.", |
| 2313 "httpMethod": "GET", |
| 2314 "id": "compute.instanceTemplates.get", |
| 2315 "parameterOrder": [ |
| 2316 "project", |
| 2317 "instanceTemplate" |
| 2318 ], |
| 2319 "parameters": { |
| 2320 "instanceTemplate": { |
| 2321 "description": "Name of the instance template resour
ce to return.", |
| 2322 "location": "path", |
| 2323 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 2324 "required": true, |
| 2325 "type": "string" |
| 2326 }, |
| 2327 "project": { |
| 2328 "description": "Name of the project scoping this req
uest.", |
| 2329 "location": "path", |
| 2330 "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])?))"
, |
| 2331 "required": true, |
| 2332 "type": "string" |
| 2333 } |
| 2334 }, |
| 2335 "path": "{project}/global/instanceTemplates/{instanceTemplat
e}", |
| 2336 "response": { |
| 2337 "$ref": "InstanceTemplate" |
| 2338 }, |
| 2339 "scopes": [ |
| 2340 "https://www.googleapis.com/auth/compute", |
| 2341 "https://www.googleapis.com/auth/compute.readonly" |
| 2342 ] |
| 2343 }, |
| 2344 "insert": { |
| 2345 "description": "Creates an instance template resource in the
specified project using the data included in the request.", |
| 2346 "httpMethod": "POST", |
| 2347 "id": "compute.instanceTemplates.insert", |
| 2348 "parameterOrder": [ |
| 2349 "project" |
| 2350 ], |
| 2351 "parameters": { |
| 2352 "project": { |
| 2353 "description": "Name of the project scoping this req
uest.", |
| 2354 "location": "path", |
| 2355 "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])?))"
, |
| 2356 "required": true, |
| 2357 "type": "string" |
| 2358 } |
| 2359 }, |
| 2360 "path": "{project}/global/instanceTemplates", |
| 2361 "request": { |
| 2362 "$ref": "InstanceTemplate" |
| 2363 }, |
| 2364 "response": { |
| 2365 "$ref": "Operation" |
| 2366 }, |
| 2367 "scopes": [ |
| 2368 "https://www.googleapis.com/auth/compute" |
| 2369 ] |
| 2370 }, |
| 2371 "list": { |
| 2372 "description": "Retrieves the list of instance template reso
urces contained within the specified project.", |
| 2373 "httpMethod": "GET", |
| 2374 "id": "compute.instanceTemplates.list", |
| 2375 "parameterOrder": [ |
| 2376 "project" |
| 2377 ], |
| 2378 "parameters": { |
| 2379 "filter": { |
| 2380 "description": "Optional. Filter expression for filt
ering listed resources.", |
| 2381 "location": "query", |
| 2382 "type": "string" |
| 2383 }, |
| 2384 "maxResults": { |
| 2385 "default": "500", |
| 2386 "description": "Optional. Maximum count of results t
o be returned. Maximum value is 500 and default value is 500.", |
| 2387 "format": "uint32", |
| 2388 "location": "query", |
| 2389 "maximum": "500", |
| 2390 "minimum": "0", |
| 2391 "type": "integer" |
| 2392 }, |
| 2393 "pageToken": { |
| 2394 "description": "Optional. Tag returned by a previous
list request truncated by maxResults. Used to continue a previous list request.
", |
| 2395 "location": "query", |
| 2396 "type": "string" |
| 2397 }, |
| 2398 "project": { |
| 2399 "description": "Name of the project scoping this req
uest.", |
| 2400 "location": "path", |
| 2401 "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])?))"
, |
| 2402 "required": true, |
| 2403 "type": "string" |
| 2404 } |
| 2405 }, |
| 2406 "path": "{project}/global/instanceTemplates", |
| 2407 "response": { |
| 2408 "$ref": "InstanceTemplateList" |
| 2409 }, |
| 2410 "scopes": [ |
| 2411 "https://www.googleapis.com/auth/compute", |
| 2412 "https://www.googleapis.com/auth/compute.readonly" |
| 2413 ] |
| 2414 } |
| 2415 } |
| 2416 }, |
2277 "instances": { | 2417 "instances": { |
2278 "methods": { | 2418 "methods": { |
2279 "addAccessConfig": { | 2419 "addAccessConfig": { |
2280 "description": "Adds an access config to an instance's netwo
rk interface.", | 2420 "description": "Adds an access config to an instance's netwo
rk interface.", |
2281 "httpMethod": "POST", | 2421 "httpMethod": "POST", |
2282 "id": "compute.instances.addAccessConfig", | 2422 "id": "compute.instances.addAccessConfig", |
2283 "parameterOrder": [ | 2423 "parameterOrder": [ |
2284 "project", | 2424 "project", |
2285 "zone", | 2425 "zone", |
2286 "instance", | 2426 "instance", |
(...skipping 2855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5142 "$ref": "ZoneList" | 5282 "$ref": "ZoneList" |
5143 }, | 5283 }, |
5144 "scopes": [ | 5284 "scopes": [ |
5145 "https://www.googleapis.com/auth/compute", | 5285 "https://www.googleapis.com/auth/compute", |
5146 "https://www.googleapis.com/auth/compute.readonly" | 5286 "https://www.googleapis.com/auth/compute.readonly" |
5147 ] | 5287 ] |
5148 } | 5288 } |
5149 } | 5289 } |
5150 } | 5290 } |
5151 }, | 5291 }, |
5152 "revision": "20140827", | 5292 "revision": "20141006", |
5153 "rootUrl": "https://www.googleapis.com/", | 5293 "rootUrl": "https://www.googleapis.com/", |
5154 "schemas": { | 5294 "schemas": { |
5155 "AccessConfig": { | 5295 "AccessConfig": { |
5156 "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.", |
5157 "id": "AccessConfig", | 5297 "id": "AccessConfig", |
5158 "properties": { | 5298 "properties": { |
5159 "kind": { | 5299 "kind": { |
5160 "default": "compute#accessConfig", | 5300 "default": "compute#accessConfig", |
5161 "description": "Type of the resource.", | 5301 "description": "Type of the resource.", |
5162 "type": "string" | 5302 "type": "string" |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5567 "default": "compute#backendService", | 5707 "default": "compute#backendService", |
5568 "description": "Type of the resource.", | 5708 "description": "Type of the resource.", |
5569 "type": "string" | 5709 "type": "string" |
5570 }, | 5710 }, |
5571 "name": { | 5711 "name": { |
5572 "description": "Name of the resource; provided by the client
when the resource is created. The name must be 1-63 characters long, and comply
with RFC1035.", | 5712 "description": "Name of the resource; provided by the client
when the resource is created. The name must be 1-63 characters long, and comply
with RFC1035.", |
5573 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", | 5713 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
5574 "type": "string" | 5714 "type": "string" |
5575 }, | 5715 }, |
5576 "port": { | 5716 "port": { |
5577 "description": "The TCP port to connect on the backend. The
default value is 80.", | 5717 "description": "Deprecated in favor of port_name. The TCP po
rt to connect on the backend. The default value is 80.", |
5578 "format": "int32", | 5718 "format": "int32", |
5579 "type": "integer" | 5719 "type": "integer" |
5580 }, | 5720 }, |
5581 "portName": { | 5721 "portName": { |
5582 "description": "Name of backend port. The same name should a
ppear in the resource views referenced by this service. Required.", | 5722 "description": "Name of backend port. The same name should a
ppear in the resource views referenced by this service. Required.", |
5583 "type": "string" | 5723 "type": "string" |
5584 }, | 5724 }, |
5585 "protocol": { | 5725 "protocol": { |
5586 "enum": [ | 5726 "enum": [ |
5587 "HTTP" | 5727 "HTTP" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5734 "selfLink": { | 5874 "selfLink": { |
5735 "description": "Server defined URL for the resource (output
only).", | 5875 "description": "Server defined URL for the resource (output
only).", |
5736 "type": "string" | 5876 "type": "string" |
5737 }, | 5877 }, |
5738 "sizeGb": { | 5878 "sizeGb": { |
5739 "description": "Size of the persistent disk, specified in GB
. This parameter is optional when creating a disk from a disk image or a snapsho
t, otherwise it is required.", | 5879 "description": "Size of the persistent disk, specified in GB
. This parameter is optional when creating a disk from a disk image or a snapsho
t, otherwise it is required.", |
5740 "format": "int64", | 5880 "format": "int64", |
5741 "type": "string" | 5881 "type": "string" |
5742 }, | 5882 }, |
5743 "sourceImage": { | 5883 "sourceImage": { |
5744 "description": "The source image used to create this disk. O
nce the source image has been deleted from the system, this field will not be se
t, even if an image with the same name has been re-created.", | 5884 "description": "The source image used to create this disk.", |
5745 "type": "string" | 5885 "type": "string" |
5746 }, | 5886 }, |
5747 "sourceImageId": { | 5887 "sourceImageId": { |
5748 "description": "The 'id' value of the image used to create t
his disk. This value may be used to determine whether the disk was created from
the current or a previous instance of a given image.", | 5888 "description": "The 'id' value of the image used to create t
his disk. This value may be used to determine whether the disk was created from
the current or a previous instance of a given image.", |
5749 "type": "string" | 5889 "type": "string" |
5750 }, | 5890 }, |
5751 "sourceSnapshot": { | 5891 "sourceSnapshot": { |
5752 "description": "The source snapshot used to create this disk
. Once the source snapshot has been deleted from the system, this field will be
cleared, and will not be set even if a snapshot with the same name has been re-c
reated.", | 5892 "description": "The source snapshot used to create this disk
.", |
5753 "type": "string" | 5893 "type": "string" |
5754 }, | 5894 }, |
5755 "sourceSnapshotId": { | 5895 "sourceSnapshotId": { |
5756 "description": "The 'id' value of the snapshot used to creat
e this disk. This value may be used to determine whether the disk was created fr
om the current or a previous instance of a given disk snapshot.", | 5896 "description": "The 'id' value of the snapshot used to creat
e this disk. This value may be used to determine whether the disk was created fr
om the current or a previous instance of a given disk snapshot.", |
5757 "type": "string" | 5897 "type": "string" |
5758 }, | 5898 }, |
5759 "status": { | 5899 "status": { |
5760 "description": "The status of disk creation (output only).", | 5900 "description": "The status of disk creation (output only).", |
5761 "enum": [ | 5901 "enum": [ |
5762 "CREATING", | 5902 "CREATING", |
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6666 "type": "string" | 6806 "type": "string" |
6667 } | 6807 } |
6668 }, | 6808 }, |
6669 "type": "object" | 6809 "type": "object" |
6670 }, | 6810 }, |
6671 "selfLink": { | 6811 "selfLink": { |
6672 "description": "Server defined URL for the resource (output
only).", | 6812 "description": "Server defined URL for the resource (output
only).", |
6673 "type": "string" | 6813 "type": "string" |
6674 }, | 6814 }, |
6675 "sourceDisk": { | 6815 "sourceDisk": { |
6676 "description": "The source disk used to create this image. O
nce the source disk has been deleted from the system, this field will be cleared
, and will not be set even if a disk with the same name has been re-created.", | 6816 "description": "The source disk used to create this image.", |
6677 "type": "string" | 6817 "type": "string" |
6678 }, | 6818 }, |
6679 "sourceDiskId": { | 6819 "sourceDiskId": { |
6680 "description": "The 'id' value of the disk used to create th
is image. This value may be used to determine whether the image was taken from t
he current or a previous instance of a given disk name.", | 6820 "description": "The 'id' value of the disk used to create th
is image. This value may be used to determine whether the image was taken from t
he current or a previous instance of a given disk name.", |
6681 "type": "string" | 6821 "type": "string" |
6682 }, | 6822 }, |
6683 "sourceType": { | 6823 "sourceType": { |
6684 "default": "RAW", | 6824 "default": "RAW", |
6685 "description": "Must be \"RAW\"; provided by the client when
the disk image is created.", | 6825 "description": "Must be \"RAW\"; provided by the client when
the disk image is created.", |
6686 "enum": [ | 6826 "enum": [ |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6907 "description": "A token used to continue a truncated list re
quest (output only).", | 7047 "description": "A token used to continue a truncated list re
quest (output only).", |
6908 "type": "string" | 7048 "type": "string" |
6909 }, | 7049 }, |
6910 "selfLink": { | 7050 "selfLink": { |
6911 "description": "Server defined URL for this resource (output
only).", | 7051 "description": "Server defined URL for this resource (output
only).", |
6912 "type": "string" | 7052 "type": "string" |
6913 } | 7053 } |
6914 }, | 7054 }, |
6915 "type": "object" | 7055 "type": "object" |
6916 }, | 7056 }, |
| 7057 "InstanceProperties": { |
| 7058 "description": "", |
| 7059 "id": "InstanceProperties", |
| 7060 "properties": { |
| 7061 "canIpForward": { |
| 7062 "description": "Allows instances created based on this templ
ate to send packets with source IP addresses other than their own and receive pa
ckets with destination IP addresses other than their own. If these instances wil
l be used as an IP gateway or it will be set as the next-hop in a Route resource
, say true. If unsure, leave this set to false.", |
| 7063 "type": "boolean" |
| 7064 }, |
| 7065 "description": { |
| 7066 "description": "An optional textual description for the inst
ances created based on the instance template resource; provided by the client wh
en the template is created.", |
| 7067 "type": "string" |
| 7068 }, |
| 7069 "disks": { |
| 7070 "description": "Array of disks associated with instance crea
ted based on this template.", |
| 7071 "items": { |
| 7072 "$ref": "AttachedDisk" |
| 7073 }, |
| 7074 "type": "array" |
| 7075 }, |
| 7076 "machineType": { |
| 7077 "annotations": { |
| 7078 "required": [ |
| 7079 "compute.instanceTemplates.insert" |
| 7080 ] |
| 7081 }, |
| 7082 "description": "Name of the machine type resource describing
which machine type to use to host the instances created based on this template;
provided by the client when the instance template is created.", |
| 7083 "type": "string" |
| 7084 }, |
| 7085 "metadata": { |
| 7086 "$ref": "Metadata", |
| 7087 "description": "Metadata key/value pairs assigned to instanc
es created based on this template. Consists of custom metadata or predefined key
s; see Instance documentation for more information." |
| 7088 }, |
| 7089 "networkInterfaces": { |
| 7090 "description": "Array of configurations for this interface.
This specifies how this interface is configured to interact with other network s
ervices, such as connecting to the internet. Currently, ONE_TO_ONE_NAT is the on
ly access config supported. If there are no accessConfigs specified, then this i
nstances created based based on this template will have no external internet acc
ess.", |
| 7091 "items": { |
| 7092 "$ref": "NetworkInterface" |
| 7093 }, |
| 7094 "type": "array" |
| 7095 }, |
| 7096 "scheduling": { |
| 7097 "$ref": "Scheduling", |
| 7098 "description": "Scheduling options for the instances created
based on this template." |
| 7099 }, |
| 7100 "serviceAccounts": { |
| 7101 "description": "A list of service accounts each with specifi
ed scopes, for which access tokens are to be made available to the instances cre
ated based on this template, through metadata queries.", |
| 7102 "items": { |
| 7103 "$ref": "ServiceAccount" |
| 7104 }, |
| 7105 "type": "array" |
| 7106 }, |
| 7107 "tags": { |
| 7108 "$ref": "Tags", |
| 7109 "description": "A list of tags to be applied to the instance
s created based on this template used to identify valid sources or targets for n
etwork firewalls. Provided by the client on instance creation. The tags can be l
ater modified by the setTags method. Each tag within the list must comply with R
FC1035." |
| 7110 } |
| 7111 }, |
| 7112 "type": "object" |
| 7113 }, |
6917 "InstanceReference": { | 7114 "InstanceReference": { |
6918 "id": "InstanceReference", | 7115 "id": "InstanceReference", |
6919 "properties": { | 7116 "properties": { |
6920 "instance": { | 7117 "instance": { |
6921 "type": "string" | 7118 "type": "string" |
6922 } | 7119 } |
6923 }, | 7120 }, |
6924 "type": "object" | 7121 "type": "object" |
6925 }, | 7122 }, |
| 7123 "InstanceTemplate": { |
| 7124 "description": "An Instance Template resource.", |
| 7125 "id": "InstanceTemplate", |
| 7126 "properties": { |
| 7127 "creationTimestamp": { |
| 7128 "description": "Creation timestamp in RFC3339 text format (o
utput only).", |
| 7129 "type": "string" |
| 7130 }, |
| 7131 "description": { |
| 7132 "description": "An optional textual description of the insta
nce template resource; provided by the client when the resource is created.", |
| 7133 "type": "string" |
| 7134 }, |
| 7135 "id": { |
| 7136 "description": "Unique identifier for the resource; defined
by the server (output only).", |
| 7137 "format": "uint64", |
| 7138 "type": "string" |
| 7139 }, |
| 7140 "kind": { |
| 7141 "default": "compute#instanceTemplate", |
| 7142 "description": "Type of the resource.", |
| 7143 "type": "string" |
| 7144 }, |
| 7145 "name": { |
| 7146 "annotations": { |
| 7147 "required": [ |
| 7148 "compute.instanceTemplates.insert" |
| 7149 ] |
| 7150 }, |
| 7151 "description": "Name of the instance template resource; prov
ided by the client when the resource is created. The name must be 1-63 character
s long, and comply with RFC1035", |
| 7152 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 7153 "type": "string" |
| 7154 }, |
| 7155 "properties": { |
| 7156 "$ref": "InstanceProperties", |
| 7157 "description": "The instance properties portion of this inst
ance template resource." |
| 7158 }, |
| 7159 "selfLink": { |
| 7160 "description": "Server defined URL for the resource (output
only).", |
| 7161 "type": "string" |
| 7162 } |
| 7163 }, |
| 7164 "type": "object" |
| 7165 }, |
| 7166 "InstanceTemplateList": { |
| 7167 "description": "Contains a list of instance template resources.", |
| 7168 "id": "InstanceTemplateList", |
| 7169 "properties": { |
| 7170 "id": { |
| 7171 "description": "Unique identifier for the resource; defined
by the server (output only).", |
| 7172 "type": "string" |
| 7173 }, |
| 7174 "items": { |
| 7175 "description": "A list of instance template resources.", |
| 7176 "items": { |
| 7177 "$ref": "InstanceTemplate" |
| 7178 }, |
| 7179 "type": "array" |
| 7180 }, |
| 7181 "kind": { |
| 7182 "default": "compute#instanceTemplateList", |
| 7183 "description": "Type of resource.", |
| 7184 "type": "string" |
| 7185 }, |
| 7186 "nextPageToken": { |
| 7187 "description": "A token used to continue a truncated list re
quest (output only).", |
| 7188 "type": "string" |
| 7189 }, |
| 7190 "selfLink": { |
| 7191 "description": "Server defined URL for this resource (output
only).", |
| 7192 "type": "string" |
| 7193 } |
| 7194 }, |
| 7195 "type": "object" |
| 7196 }, |
6926 "InstancesScopedList": { | 7197 "InstancesScopedList": { |
6927 "id": "InstancesScopedList", | 7198 "id": "InstancesScopedList", |
6928 "properties": { | 7199 "properties": { |
6929 "instances": { | 7200 "instances": { |
6930 "description": "List of instances contained in this scope.", | 7201 "description": "List of instances contained in this scope.", |
6931 "items": { | 7202 "items": { |
6932 "$ref": "Instance" | 7203 "$ref": "Instance" |
6933 }, | 7204 }, |
6934 "type": "array" | 7205 "type": "array" |
6935 }, | 7206 }, |
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8282 "name": { | 8553 "name": { |
8283 "description": "Name of the resource; provided by the client
when the resource is created. The name must be 1-63 characters long, and comply
with RFC1035.", | 8554 "description": "Name of the resource; provided by the client
when the resource is created. The name must be 1-63 characters long, and comply
with RFC1035.", |
8284 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", | 8555 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
8285 "type": "string" | 8556 "type": "string" |
8286 }, | 8557 }, |
8287 "selfLink": { | 8558 "selfLink": { |
8288 "description": "Server defined URL for the resource (output
only).", | 8559 "description": "Server defined URL for the resource (output
only).", |
8289 "type": "string" | 8560 "type": "string" |
8290 }, | 8561 }, |
8291 "sourceDisk": { | 8562 "sourceDisk": { |
8292 "description": "The source disk used to create this snapshot
. Once the source disk has been deleted from the system, this field will be clea
red, and will not be set even if a disk with the same name has been re-created (
output only).", | 8563 "description": "The source disk used to create this snapshot
.", |
8293 "type": "string" | 8564 "type": "string" |
8294 }, | 8565 }, |
8295 "sourceDiskId": { | 8566 "sourceDiskId": { |
8296 "description": "The 'id' value of the disk used to create th
is snapshot. This value may be used to determine whether the snapshot was taken
from the current or a previous instance of a given disk name.", | 8567 "description": "The 'id' value of the disk used to create th
is snapshot. This value may be used to determine whether the snapshot was taken
from the current or a previous instance of a given disk name.", |
8297 "type": "string" | 8568 "type": "string" |
8298 }, | 8569 }, |
8299 "status": { | 8570 "status": { |
8300 "description": "The status of the persistent disk snapshot (
output only).", | 8571 "description": "The status of the persistent disk snapshot (
output only).", |
8301 "enum": [ | 8572 "enum": [ |
8302 "CREATING", | 8573 "CREATING", |
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9239 "type": "string" | 9510 "type": "string" |
9240 } | 9511 } |
9241 }, | 9512 }, |
9242 "type": "object" | 9513 "type": "object" |
9243 } | 9514 } |
9244 }, | 9515 }, |
9245 "servicePath": "compute/v1/projects/", | 9516 "servicePath": "compute/v1/projects/", |
9246 "title": "Compute Engine API", | 9517 "title": "Compute Engine API", |
9247 "version": "v1" | 9518 "version": "v1" |
9248 } | 9519 } |
OLD | NEW |