googlecloud 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/CHANGELOG +4 -0
- data/LICENSE +674 -0
- data/Manifest +111 -0
- data/README.md +4 -3
- data/bin/gcutil +53 -0
- data/googlecloud.gemspec +4 -3
- data/packages/gcutil-1.7.1/CHANGELOG +197 -0
- data/packages/gcutil-1.7.1/LICENSE +202 -0
- data/packages/gcutil-1.7.1/VERSION +1 -0
- data/packages/gcutil-1.7.1/gcutil +53 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/LICENSE +23 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/__init__.py +1 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/discovery.py +743 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/errors.py +123 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/ext/__init__.py +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/http.py +1443 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/mimeparse.py +172 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/model.py +385 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/schema.py +303 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/__init__.py +1 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/anyjson.py +32 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/appengine.py +528 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/client.py +1139 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/clientsecrets.py +105 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/crypt.py +244 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/django_orm.py +124 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/file.py +107 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/locked_file.py +343 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/multistore_file.py +379 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/tools.py +174 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/uritemplate/__init__.py +147 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/LICENSE +202 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/__init__.py +3 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/__init__.py +3 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/app.py +356 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/appcommands.py +783 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/basetest.py +1260 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/datelib.py +421 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/debug.py +60 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/file_util.py +181 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/resources.py +67 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/run_script_module.py +217 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/setup_command.py +159 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/shellutil.py +49 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/stopwatch.py +204 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/__init__.py +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auth_helper.py +140 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auth_helper_test.py +149 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auto_auth.py +130 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auto_auth_test.py +75 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/basic_cmds.py +128 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/basic_cmds_test.py +111 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/command_base.py +1808 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/command_base_test.py +1651 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/compute/v1beta13.json +2851 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/compute/v1beta14.json +3361 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/disk_cmds.py +342 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/disk_cmds_test.py +474 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/firewall_cmds.py +344 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/firewall_cmds_test.py +231 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/flags_cache.py +274 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/gcutil +89 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/gcutil_logging.py +69 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/image_cmds.py +262 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/image_cmds_test.py +172 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/instance_cmds.py +1506 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/instance_cmds_test.py +1904 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/kernel_cmds.py +91 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/kernel_cmds_test.py +56 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/machine_type_cmds.py +106 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/machine_type_cmds_test.py +59 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata.py +96 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata_lib.py +357 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata_test.py +84 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/mock_api.py +420 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/mock_metadata.py +58 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/move_cmds.py +824 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/move_cmds_test.py +307 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/network_cmds.py +178 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/network_cmds_test.py +133 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/operation_cmds.py +181 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/operation_cmds_test.py +196 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/path_initializer.py +38 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/project_cmds.py +173 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/project_cmds_test.py +111 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/scopes.py +61 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/scopes_test.py +50 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/snapshot_cmds.py +276 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/snapshot_cmds_test.py +260 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/ssh_keys.py +266 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/ssh_keys_test.py +128 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/table_formatter.py +563 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/thread_pool.py +188 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/thread_pool_test.py +88 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/utils.py +208 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/utils_test.py +193 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version.py +17 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version_checker.py +246 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version_checker_test.py +271 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/zone_cmds.py +151 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/zone_cmds_test.py +60 -0
- data/packages/gcutil-1.7.1/lib/httplib2/LICENSE +21 -0
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/__init__.py +1630 -0
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/cacerts.txt +714 -0
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/iri2uri.py +110 -0
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/socks.py +438 -0
- data/packages/gcutil-1.7.1/lib/iso8601/LICENSE +20 -0
- data/packages/gcutil-1.7.1/lib/iso8601/iso8601/__init__.py +1 -0
- data/packages/gcutil-1.7.1/lib/iso8601/iso8601/iso8601.py +102 -0
- data/packages/gcutil-1.7.1/lib/iso8601/iso8601/test_iso8601.py +111 -0
- data/packages/gcutil-1.7.1/lib/python_gflags/AUTHORS +2 -0
- data/packages/gcutil-1.7.1/lib/python_gflags/LICENSE +28 -0
- data/packages/gcutil-1.7.1/lib/python_gflags/gflags.py +2862 -0
- data/packages/gcutil-1.7.1/lib/python_gflags/gflags2man.py +544 -0
- data/packages/gcutil-1.7.1/lib/python_gflags/gflags_validators.py +187 -0
- metadata +118 -5
- metadata.gz.sig +0 -0
@@ -0,0 +1,3361 @@
|
|
1
|
+
{
|
2
|
+
"kind": "discovery#restDescription",
|
3
|
+
"discoveryVersion": "v1",
|
4
|
+
"id": "compute:v1beta14",
|
5
|
+
"name": "compute",
|
6
|
+
"version": "v1beta14",
|
7
|
+
"revision": "20130211",
|
8
|
+
"title": "Compute Engine API",
|
9
|
+
"description": "API for the Google Compute Engine service.",
|
10
|
+
"ownerDomain": "google.com",
|
11
|
+
"ownerName": "Google",
|
12
|
+
"icons": {
|
13
|
+
"x16": "http://www.google.com/images/icons/product/compute_engine-16.png",
|
14
|
+
"x32": "http://www.google.com/images/icons/product/compute_engine-32.png"
|
15
|
+
},
|
16
|
+
"documentationLink": "https://developers.google.com/compute/docs/reference/v1beta14",
|
17
|
+
"labels": [
|
18
|
+
"limited_availability"
|
19
|
+
],
|
20
|
+
"protocol": "rest",
|
21
|
+
"baseUrl": "https://www.googleapis.com/compute/v1beta14/projects/",
|
22
|
+
"basePath": "/compute/v1beta14/projects/",
|
23
|
+
"rootUrl": "https://www.googleapis.com/",
|
24
|
+
"servicePath": "compute/v1beta14/projects/",
|
25
|
+
"batchPath": "batch",
|
26
|
+
"parameters": {
|
27
|
+
"alt": {
|
28
|
+
"type": "string",
|
29
|
+
"description": "Data format for the response.",
|
30
|
+
"default": "json",
|
31
|
+
"enum": [
|
32
|
+
"json"
|
33
|
+
],
|
34
|
+
"enumDescriptions": [
|
35
|
+
"Responses with Content-Type of application/json"
|
36
|
+
],
|
37
|
+
"location": "query"
|
38
|
+
},
|
39
|
+
"fields": {
|
40
|
+
"type": "string",
|
41
|
+
"description": "Selector specifying which fields to include in a partial response.",
|
42
|
+
"location": "query"
|
43
|
+
},
|
44
|
+
"key": {
|
45
|
+
"type": "string",
|
46
|
+
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
47
|
+
"location": "query"
|
48
|
+
},
|
49
|
+
"oauth_token": {
|
50
|
+
"type": "string",
|
51
|
+
"description": "OAuth 2.0 token for the current user.",
|
52
|
+
"location": "query"
|
53
|
+
},
|
54
|
+
"prettyPrint": {
|
55
|
+
"type": "boolean",
|
56
|
+
"description": "Returns response with indentations and line breaks.",
|
57
|
+
"default": "true",
|
58
|
+
"location": "query"
|
59
|
+
},
|
60
|
+
"quotaUser": {
|
61
|
+
"type": "string",
|
62
|
+
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
|
63
|
+
"location": "query"
|
64
|
+
},
|
65
|
+
"userIp": {
|
66
|
+
"type": "string",
|
67
|
+
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
|
68
|
+
"location": "query"
|
69
|
+
}
|
70
|
+
},
|
71
|
+
"auth": {
|
72
|
+
"oauth2": {
|
73
|
+
"scopes": {
|
74
|
+
"https://www.googleapis.com/auth/compute": {
|
75
|
+
"description": "View and manage your Google Compute Engine resources"
|
76
|
+
},
|
77
|
+
"https://www.googleapis.com/auth/compute.readonly": {
|
78
|
+
"description": "View your Google Compute Engine resources"
|
79
|
+
},
|
80
|
+
"https://www.googleapis.com/auth/devstorage.read_only": {
|
81
|
+
"description": "View your data in Google Cloud Storage"
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
},
|
86
|
+
"schemas": {
|
87
|
+
"AccessConfig": {
|
88
|
+
"id": "AccessConfig",
|
89
|
+
"type": "object",
|
90
|
+
"description": "An access configuration attached to an instance's network interface.",
|
91
|
+
"properties": {
|
92
|
+
"kind": {
|
93
|
+
"type": "string",
|
94
|
+
"description": "Type of the resource.",
|
95
|
+
"default": "compute#accessConfig"
|
96
|
+
},
|
97
|
+
"name": {
|
98
|
+
"type": "string",
|
99
|
+
"description": "Name of this access configuration."
|
100
|
+
},
|
101
|
+
"natIP": {
|
102
|
+
"type": "string",
|
103
|
+
"description": "An external IP address associated with this instance. Specify an unused static IP address available to the project. If not specified, the external IP will be drawn from a shared ephemeral pool."
|
104
|
+
},
|
105
|
+
"type": {
|
106
|
+
"type": "string",
|
107
|
+
"description": "Type of configuration. Must be set to \"ONE_TO_ONE_NAT\". This configures port-for-port NAT to the internet.",
|
108
|
+
"default": "ONE_TO_ONE_NAT"
|
109
|
+
}
|
110
|
+
}
|
111
|
+
},
|
112
|
+
"AttachedDisk": {
|
113
|
+
"id": "AttachedDisk",
|
114
|
+
"type": "object",
|
115
|
+
"description": "An instance-attached disk resource.",
|
116
|
+
"properties": {
|
117
|
+
"boot": {
|
118
|
+
"type": "boolean",
|
119
|
+
"description": "Indicates that this is a boot disk. VM will use the first partition of the disk for its root filesystem."
|
120
|
+
},
|
121
|
+
"deviceName": {
|
122
|
+
"type": "string",
|
123
|
+
"description": "Persistent disk only; must be unique within the instance when specified. This represents a unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, a default will be chosen by the system."
|
124
|
+
},
|
125
|
+
"index": {
|
126
|
+
"type": "integer",
|
127
|
+
"description": "A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, the server will choose an appropriate value.",
|
128
|
+
"format": "int32"
|
129
|
+
},
|
130
|
+
"kind": {
|
131
|
+
"type": "string",
|
132
|
+
"description": "Type of the resource.",
|
133
|
+
"default": "compute#attachedDisk"
|
134
|
+
},
|
135
|
+
"mode": {
|
136
|
+
"type": "string",
|
137
|
+
"description": "The mode in which to attach this disk, either \"READ_WRITE\" or \"READ_ONLY\"."
|
138
|
+
},
|
139
|
+
"source": {
|
140
|
+
"type": "string",
|
141
|
+
"description": "Persistent disk only; the URL of the persistent disk resource."
|
142
|
+
},
|
143
|
+
"type": {
|
144
|
+
"type": "string",
|
145
|
+
"description": "Type of the disk, either \"EPHEMERAL\" or \"PERSISTENT\". Note that persistent disks must be created before you can specify them here.",
|
146
|
+
"annotations": {
|
147
|
+
"required": [
|
148
|
+
"compute.instances.insert"
|
149
|
+
]
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
},
|
154
|
+
"DeprecationStatus": {
|
155
|
+
"id": "DeprecationStatus",
|
156
|
+
"type": "object",
|
157
|
+
"description": "Deprecation status for a public resource.",
|
158
|
+
"properties": {
|
159
|
+
"deleted": {
|
160
|
+
"type": "string",
|
161
|
+
"description": "An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to DELETED."
|
162
|
+
},
|
163
|
+
"deprecated": {
|
164
|
+
"type": "string",
|
165
|
+
"description": "An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to DEPRECATED."
|
166
|
+
},
|
167
|
+
"obsolete": {
|
168
|
+
"type": "string",
|
169
|
+
"description": "An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to OBSOLETE."
|
170
|
+
},
|
171
|
+
"replacement": {
|
172
|
+
"type": "string",
|
173
|
+
"description": "A URL of the suggested replacement for the deprecated resource. The deprecated resource and its replacement must be resources of the same kind."
|
174
|
+
},
|
175
|
+
"state": {
|
176
|
+
"type": "string",
|
177
|
+
"description": "The deprecation state. Can be \"DEPRECATED\", \"OBSOLETE\", or \"DELETED\". Operations which create a new resource using a \"DEPRECATED\" resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. New uses of \"OBSOLETE\" or \"DELETED\" resources will result in an error."
|
178
|
+
}
|
179
|
+
}
|
180
|
+
},
|
181
|
+
"Disk": {
|
182
|
+
"id": "Disk",
|
183
|
+
"type": "object",
|
184
|
+
"description": "A persistent disk resource.",
|
185
|
+
"properties": {
|
186
|
+
"creationTimestamp": {
|
187
|
+
"type": "string",
|
188
|
+
"description": "Creation timestamp in RFC3339 text format (output only)."
|
189
|
+
},
|
190
|
+
"description": {
|
191
|
+
"type": "string",
|
192
|
+
"description": "An optional textual description of the resource; provided by the client when the resource is created."
|
193
|
+
},
|
194
|
+
"id": {
|
195
|
+
"type": "string",
|
196
|
+
"description": "Unique identifier for the resource; defined by the server (output only).",
|
197
|
+
"format": "uint64"
|
198
|
+
},
|
199
|
+
"kind": {
|
200
|
+
"type": "string",
|
201
|
+
"description": "Type of the resource.",
|
202
|
+
"default": "compute#disk"
|
203
|
+
},
|
204
|
+
"name": {
|
205
|
+
"type": "string",
|
206
|
+
"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.",
|
207
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
208
|
+
"annotations": {
|
209
|
+
"required": [
|
210
|
+
"compute.disks.insert"
|
211
|
+
]
|
212
|
+
}
|
213
|
+
},
|
214
|
+
"options": {
|
215
|
+
"type": "string",
|
216
|
+
"description": "Internal use only."
|
217
|
+
},
|
218
|
+
"selfLink": {
|
219
|
+
"type": "string",
|
220
|
+
"description": "Server defined URL for the resource (output only)."
|
221
|
+
},
|
222
|
+
"sizeGb": {
|
223
|
+
"type": "string",
|
224
|
+
"description": "Size of the persistent disk, specified in GB. This parameter is optional when creating a disk from a disk image or a snapshot, otherwise it is required.",
|
225
|
+
"format": "int64"
|
226
|
+
},
|
227
|
+
"sourceSnapshot": {
|
228
|
+
"type": "string",
|
229
|
+
"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-created."
|
230
|
+
},
|
231
|
+
"sourceSnapshotId": {
|
232
|
+
"type": "string",
|
233
|
+
"description": "The 'id' value of the snapshot used to create this disk. This value may be used to determine whether the disk was created from the current or a previous instance of a given disk snapshot."
|
234
|
+
},
|
235
|
+
"status": {
|
236
|
+
"type": "string",
|
237
|
+
"description": "The status of disk creation (output only)."
|
238
|
+
},
|
239
|
+
"zone": {
|
240
|
+
"type": "string",
|
241
|
+
"description": "URL of the zone where the disk resides (output only)."
|
242
|
+
}
|
243
|
+
}
|
244
|
+
},
|
245
|
+
"DiskList": {
|
246
|
+
"id": "DiskList",
|
247
|
+
"type": "object",
|
248
|
+
"description": "Contains a list of persistent disk resources.",
|
249
|
+
"properties": {
|
250
|
+
"id": {
|
251
|
+
"type": "string",
|
252
|
+
"description": "Unique identifier for the resource; defined by the server (output only)."
|
253
|
+
},
|
254
|
+
"items": {
|
255
|
+
"type": "array",
|
256
|
+
"description": "The persistent disk resources.",
|
257
|
+
"items": {
|
258
|
+
"$ref": "Disk"
|
259
|
+
}
|
260
|
+
},
|
261
|
+
"kind": {
|
262
|
+
"type": "string",
|
263
|
+
"description": "Type of resource.",
|
264
|
+
"default": "compute#diskList"
|
265
|
+
},
|
266
|
+
"nextPageToken": {
|
267
|
+
"type": "string",
|
268
|
+
"description": "A token used to continue a truncated list request (output only)."
|
269
|
+
},
|
270
|
+
"selfLink": {
|
271
|
+
"type": "string",
|
272
|
+
"description": "Server defined URL for this resource (output only)."
|
273
|
+
}
|
274
|
+
}
|
275
|
+
},
|
276
|
+
"Firewall": {
|
277
|
+
"id": "Firewall",
|
278
|
+
"type": "object",
|
279
|
+
"description": "A firewall resource.",
|
280
|
+
"properties": {
|
281
|
+
"allowed": {
|
282
|
+
"type": "array",
|
283
|
+
"description": "The list of rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection.",
|
284
|
+
"items": {
|
285
|
+
"type": "object",
|
286
|
+
"properties": {
|
287
|
+
"IPProtocol": {
|
288
|
+
"type": "string",
|
289
|
+
"description": "Required; this is the IP protocol that is allowed for this rule. This can either be a well known protocol string (tcp, udp or icmp) or the IP protocol number."
|
290
|
+
},
|
291
|
+
"ports": {
|
292
|
+
"type": "array",
|
293
|
+
"description": "An optional list of ports which are allowed. It is an error to specify this for any protocol that isn't UDP or TCP. Each entry must be either an integer or a range. If not specified, connections through any port are allowed.\nExample inputs include: [\"22\"], [\"80\",\"443\"] and [\"12345-12349\"].",
|
294
|
+
"items": {
|
295
|
+
"type": "string"
|
296
|
+
}
|
297
|
+
}
|
298
|
+
}
|
299
|
+
}
|
300
|
+
},
|
301
|
+
"creationTimestamp": {
|
302
|
+
"type": "string",
|
303
|
+
"description": "Creation timestamp in RFC3339 text format (output only)."
|
304
|
+
},
|
305
|
+
"description": {
|
306
|
+
"type": "string",
|
307
|
+
"description": "An optional textual description of the resource; provided by the client when the resource is created."
|
308
|
+
},
|
309
|
+
"id": {
|
310
|
+
"type": "string",
|
311
|
+
"description": "Unique identifier for the resource; defined by the server (output only).",
|
312
|
+
"format": "uint64"
|
313
|
+
},
|
314
|
+
"kind": {
|
315
|
+
"type": "string",
|
316
|
+
"description": "Type of the resource.",
|
317
|
+
"default": "compute#firewall"
|
318
|
+
},
|
319
|
+
"name": {
|
320
|
+
"type": "string",
|
321
|
+
"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.",
|
322
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
323
|
+
"annotations": {
|
324
|
+
"required": [
|
325
|
+
"compute.firewalls.insert",
|
326
|
+
"compute.firewalls.patch"
|
327
|
+
]
|
328
|
+
}
|
329
|
+
},
|
330
|
+
"network": {
|
331
|
+
"type": "string",
|
332
|
+
"description": "URL of the network to which this firewall is applied; provided by the client when the firewall is created.",
|
333
|
+
"annotations": {
|
334
|
+
"required": [
|
335
|
+
"compute.firewalls.insert",
|
336
|
+
"compute.firewalls.patch"
|
337
|
+
]
|
338
|
+
}
|
339
|
+
},
|
340
|
+
"selfLink": {
|
341
|
+
"type": "string",
|
342
|
+
"description": "Server defined URL for the resource (output only)."
|
343
|
+
},
|
344
|
+
"sourceRanges": {
|
345
|
+
"type": "array",
|
346
|
+
"description": "A list of IP address blocks expressed in CIDR format which this rule applies to. One or both of sourceRanges and sourceTags may be set; an inbound connection is allowed if either the range or the tag of the source matches.",
|
347
|
+
"items": {
|
348
|
+
"type": "string"
|
349
|
+
}
|
350
|
+
},
|
351
|
+
"sourceTags": {
|
352
|
+
"type": "array",
|
353
|
+
"description": "A list of instance tags which this rule applies to. One or both of sourceRanges and sourceTags may be set; an inbound connection is allowed if either the range or the tag of the source matches.",
|
354
|
+
"items": {
|
355
|
+
"type": "string"
|
356
|
+
}
|
357
|
+
},
|
358
|
+
"targetTags": {
|
359
|
+
"type": "array",
|
360
|
+
"description": "A list of instance tags indicating sets of instances located on network which may make network connections as specified in allowed. If no targetTags are specified, the firewall rule applies to all instances on the specified network.",
|
361
|
+
"items": {
|
362
|
+
"type": "string"
|
363
|
+
}
|
364
|
+
}
|
365
|
+
}
|
366
|
+
},
|
367
|
+
"FirewallList": {
|
368
|
+
"id": "FirewallList",
|
369
|
+
"type": "object",
|
370
|
+
"description": "Contains a list of firewall resources.",
|
371
|
+
"properties": {
|
372
|
+
"id": {
|
373
|
+
"type": "string",
|
374
|
+
"description": "Unique identifier for the resource; defined by the server (output only)."
|
375
|
+
},
|
376
|
+
"items": {
|
377
|
+
"type": "array",
|
378
|
+
"description": "The firewall resources.",
|
379
|
+
"items": {
|
380
|
+
"$ref": "Firewall"
|
381
|
+
}
|
382
|
+
},
|
383
|
+
"kind": {
|
384
|
+
"type": "string",
|
385
|
+
"description": "Type of resource.",
|
386
|
+
"default": "compute#firewallList"
|
387
|
+
},
|
388
|
+
"nextPageToken": {
|
389
|
+
"type": "string",
|
390
|
+
"description": "A token used to continue a truncated list request (output only)."
|
391
|
+
},
|
392
|
+
"selfLink": {
|
393
|
+
"type": "string",
|
394
|
+
"description": "Server defined URL for this resource (output only)."
|
395
|
+
}
|
396
|
+
}
|
397
|
+
},
|
398
|
+
"Image": {
|
399
|
+
"id": "Image",
|
400
|
+
"type": "object",
|
401
|
+
"description": "A disk image resource.",
|
402
|
+
"properties": {
|
403
|
+
"creationTimestamp": {
|
404
|
+
"type": "string",
|
405
|
+
"description": "Creation timestamp in RFC3339 text format (output only)."
|
406
|
+
},
|
407
|
+
"deprecated": {
|
408
|
+
"$ref": "DeprecationStatus",
|
409
|
+
"description": "The deprecation status associated with this image."
|
410
|
+
},
|
411
|
+
"description": {
|
412
|
+
"type": "string",
|
413
|
+
"description": "Textual description of the resource; provided by the client when the resource is created."
|
414
|
+
},
|
415
|
+
"id": {
|
416
|
+
"type": "string",
|
417
|
+
"description": "Unique identifier for the resource; defined by the server (output only).",
|
418
|
+
"format": "uint64"
|
419
|
+
},
|
420
|
+
"kind": {
|
421
|
+
"type": "string",
|
422
|
+
"description": "Type of the resource.",
|
423
|
+
"default": "compute#image"
|
424
|
+
},
|
425
|
+
"name": {
|
426
|
+
"type": "string",
|
427
|
+
"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.",
|
428
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
429
|
+
"annotations": {
|
430
|
+
"required": [
|
431
|
+
"compute.images.insert"
|
432
|
+
]
|
433
|
+
}
|
434
|
+
},
|
435
|
+
"preferredKernel": {
|
436
|
+
"type": "string",
|
437
|
+
"description": "An optional URL of the preferred kernel for use with this disk image. If not specified, a server defined default kernel will be used.",
|
438
|
+
"annotations": {
|
439
|
+
"required": [
|
440
|
+
"compute.images.insert"
|
441
|
+
]
|
442
|
+
}
|
443
|
+
},
|
444
|
+
"rawDisk": {
|
445
|
+
"type": "object",
|
446
|
+
"description": "The raw disk image parameters.",
|
447
|
+
"properties": {
|
448
|
+
"containerType": {
|
449
|
+
"type": "string",
|
450
|
+
"description": "The format used to encode and transmit the block device. Should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.",
|
451
|
+
"default": "TAR"
|
452
|
+
},
|
453
|
+
"sha1Checksum": {
|
454
|
+
"type": "string",
|
455
|
+
"description": "An optional SHA1 checksum of the disk image before unpackaging; provided by the client when the disk image is created.",
|
456
|
+
"pattern": "[a-f0-9]{40}"
|
457
|
+
},
|
458
|
+
"source": {
|
459
|
+
"type": "string",
|
460
|
+
"description": "The full Google Cloud Storage URL where the disk image is stored; provided by the client when the disk image is created.",
|
461
|
+
"annotations": {
|
462
|
+
"required": [
|
463
|
+
"compute.images.insert"
|
464
|
+
]
|
465
|
+
}
|
466
|
+
}
|
467
|
+
}
|
468
|
+
},
|
469
|
+
"selfLink": {
|
470
|
+
"type": "string",
|
471
|
+
"description": "Server defined URL for the resource (output only)."
|
472
|
+
},
|
473
|
+
"sourceType": {
|
474
|
+
"type": "string",
|
475
|
+
"description": "Must be \"RAW\"; provided by the client when the disk image is created.",
|
476
|
+
"default": "RAW",
|
477
|
+
"annotations": {
|
478
|
+
"required": [
|
479
|
+
"compute.images.insert"
|
480
|
+
]
|
481
|
+
}
|
482
|
+
}
|
483
|
+
}
|
484
|
+
},
|
485
|
+
"ImageList": {
|
486
|
+
"id": "ImageList",
|
487
|
+
"type": "object",
|
488
|
+
"description": "Contains a list of disk image resources.",
|
489
|
+
"properties": {
|
490
|
+
"id": {
|
491
|
+
"type": "string",
|
492
|
+
"description": "Unique identifier for the resource; defined by the server (output only)."
|
493
|
+
},
|
494
|
+
"items": {
|
495
|
+
"type": "array",
|
496
|
+
"description": "The disk image resources.",
|
497
|
+
"items": {
|
498
|
+
"$ref": "Image"
|
499
|
+
}
|
500
|
+
},
|
501
|
+
"kind": {
|
502
|
+
"type": "string",
|
503
|
+
"description": "Type of resource.",
|
504
|
+
"default": "compute#imageList"
|
505
|
+
},
|
506
|
+
"nextPageToken": {
|
507
|
+
"type": "string",
|
508
|
+
"description": "A token used to continue a truncated list request (output only)."
|
509
|
+
},
|
510
|
+
"selfLink": {
|
511
|
+
"type": "string",
|
512
|
+
"description": "Server defined URL for this resource (output only)."
|
513
|
+
}
|
514
|
+
}
|
515
|
+
},
|
516
|
+
"Instance": {
|
517
|
+
"id": "Instance",
|
518
|
+
"type": "object",
|
519
|
+
"description": "An instance resource.",
|
520
|
+
"properties": {
|
521
|
+
"canIpForward": {
|
522
|
+
"type": "boolean",
|
523
|
+
"description": "Reserved for future use."
|
524
|
+
},
|
525
|
+
"creationTimestamp": {
|
526
|
+
"type": "string",
|
527
|
+
"description": "Creation timestamp in RFC3339 text format (output only)."
|
528
|
+
},
|
529
|
+
"description": {
|
530
|
+
"type": "string",
|
531
|
+
"description": "An optional textual description of the resource; provided by the client when the resource is created."
|
532
|
+
},
|
533
|
+
"disks": {
|
534
|
+
"type": "array",
|
535
|
+
"description": "Array of disks associated with this instance. Persistent disks must be created before you can assign them.",
|
536
|
+
"items": {
|
537
|
+
"$ref": "AttachedDisk"
|
538
|
+
}
|
539
|
+
},
|
540
|
+
"id": {
|
541
|
+
"type": "string",
|
542
|
+
"description": "Unique identifier for the resource; defined by the server (output only).",
|
543
|
+
"format": "uint64"
|
544
|
+
},
|
545
|
+
"image": {
|
546
|
+
"type": "string",
|
547
|
+
"description": "An optional URL of the disk image resource to be installed on this instance; provided by the client when the instance is created. Alternatively to passing the image, the client may choose to boot from a persistent disk, by setting boot=true flag on one of the entries in disks[] collection."
|
548
|
+
},
|
549
|
+
"kernel": {
|
550
|
+
"type": "string",
|
551
|
+
"description": "URL of the kernel resource to use when booting. In case of booting from persistent disk, this parameter is required. When booting from a disk image, it is optional, but may be provided to use a different kernel than the one associated with the image."
|
552
|
+
},
|
553
|
+
"kind": {
|
554
|
+
"type": "string",
|
555
|
+
"description": "Type of the resource.",
|
556
|
+
"default": "compute#instance"
|
557
|
+
},
|
558
|
+
"machineType": {
|
559
|
+
"type": "string",
|
560
|
+
"description": "URL of the machine type resource describing which machine type to use to host the instance; provided by the client when the instance is created.",
|
561
|
+
"annotations": {
|
562
|
+
"required": [
|
563
|
+
"compute.instances.insert"
|
564
|
+
]
|
565
|
+
}
|
566
|
+
},
|
567
|
+
"metadata": {
|
568
|
+
"$ref": "Metadata",
|
569
|
+
"description": "Metadata key/value pairs assigned to this instance. Consists of custom metadata or predefined keys; see Instance documentation for more information."
|
570
|
+
},
|
571
|
+
"name": {
|
572
|
+
"type": "string",
|
573
|
+
"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.",
|
574
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
575
|
+
"annotations": {
|
576
|
+
"required": [
|
577
|
+
"compute.instances.insert"
|
578
|
+
]
|
579
|
+
}
|
580
|
+
},
|
581
|
+
"networkInterfaces": {
|
582
|
+
"type": "array",
|
583
|
+
"description": "Array of configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet. Currently, ONE_TO_ONE_NAT is the only access config supported. If there are no accessConfigs specified, then this instance will have no external internet access.",
|
584
|
+
"items": {
|
585
|
+
"$ref": "NetworkInterface"
|
586
|
+
}
|
587
|
+
},
|
588
|
+
"selfLink": {
|
589
|
+
"type": "string",
|
590
|
+
"description": "Server defined URL for the resource (output only)."
|
591
|
+
},
|
592
|
+
"serviceAccounts": {
|
593
|
+
"type": "array",
|
594
|
+
"description": "A list of service accounts each with specified scopes, for which access tokens are to be made available to the instance through metadata queries.",
|
595
|
+
"items": {
|
596
|
+
"$ref": "ServiceAccount"
|
597
|
+
}
|
598
|
+
},
|
599
|
+
"status": {
|
600
|
+
"type": "string",
|
601
|
+
"description": "Instance status. One of the following values: \"PROVISIONING\", \"STAGING\", \"RUNNING\", \"STOPPING\", \"STOPPED\", \"TERMINATED\" (output only)."
|
602
|
+
},
|
603
|
+
"statusMessage": {
|
604
|
+
"type": "string",
|
605
|
+
"description": "An optional, human-readable explanation of the status (output only)."
|
606
|
+
},
|
607
|
+
"tags": {
|
608
|
+
"$ref": "Tags",
|
609
|
+
"description": "A list of tags to be applied to this instance. Used to identify valid sources or targets for network firewalls. Provided by the client on instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035."
|
610
|
+
},
|
611
|
+
"zone": {
|
612
|
+
"type": "string",
|
613
|
+
"description": "URL of the zone where the instance resides (output only)."
|
614
|
+
}
|
615
|
+
}
|
616
|
+
},
|
617
|
+
"InstanceList": {
|
618
|
+
"id": "InstanceList",
|
619
|
+
"type": "object",
|
620
|
+
"description": "Contains a list of instance resources.",
|
621
|
+
"properties": {
|
622
|
+
"id": {
|
623
|
+
"type": "string",
|
624
|
+
"description": "Unique identifier for the resource; defined by the server (output only)."
|
625
|
+
},
|
626
|
+
"items": {
|
627
|
+
"type": "array",
|
628
|
+
"description": "A list of instance resources.",
|
629
|
+
"items": {
|
630
|
+
"$ref": "Instance"
|
631
|
+
}
|
632
|
+
},
|
633
|
+
"kind": {
|
634
|
+
"type": "string",
|
635
|
+
"description": "Type of resource.",
|
636
|
+
"default": "compute#instanceList"
|
637
|
+
},
|
638
|
+
"nextPageToken": {
|
639
|
+
"type": "string",
|
640
|
+
"description": "A token used to continue a truncated list request (output only)."
|
641
|
+
},
|
642
|
+
"selfLink": {
|
643
|
+
"type": "string",
|
644
|
+
"description": "Server defined URL for this resource (output only)."
|
645
|
+
}
|
646
|
+
}
|
647
|
+
},
|
648
|
+
"Kernel": {
|
649
|
+
"id": "Kernel",
|
650
|
+
"type": "object",
|
651
|
+
"description": "A kernel resource.",
|
652
|
+
"properties": {
|
653
|
+
"creationTimestamp": {
|
654
|
+
"type": "string",
|
655
|
+
"description": "Creation timestamp in RFC3339 text format (output only)."
|
656
|
+
},
|
657
|
+
"deprecated": {
|
658
|
+
"$ref": "DeprecationStatus",
|
659
|
+
"description": "The deprecation status associated with this kernel."
|
660
|
+
},
|
661
|
+
"description": {
|
662
|
+
"type": "string",
|
663
|
+
"description": "An optional textual description of the resource."
|
664
|
+
},
|
665
|
+
"id": {
|
666
|
+
"type": "string",
|
667
|
+
"description": "Unique identifier for the resource; defined by the server (output only).",
|
668
|
+
"format": "uint64"
|
669
|
+
},
|
670
|
+
"kind": {
|
671
|
+
"type": "string",
|
672
|
+
"description": "Type of the resource.",
|
673
|
+
"default": "compute#kernel"
|
674
|
+
},
|
675
|
+
"name": {
|
676
|
+
"type": "string",
|
677
|
+
"description": "Name of the resource.",
|
678
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
|
679
|
+
},
|
680
|
+
"selfLink": {
|
681
|
+
"type": "string",
|
682
|
+
"description": "Server defined URL for the resource (output only)."
|
683
|
+
}
|
684
|
+
}
|
685
|
+
},
|
686
|
+
"KernelList": {
|
687
|
+
"id": "KernelList",
|
688
|
+
"type": "object",
|
689
|
+
"description": "Contains a list of kernel resources.",
|
690
|
+
"properties": {
|
691
|
+
"id": {
|
692
|
+
"type": "string",
|
693
|
+
"description": "Unique identifier for the resource; defined by the server (output only)."
|
694
|
+
},
|
695
|
+
"items": {
|
696
|
+
"type": "array",
|
697
|
+
"description": "The kernel resources.",
|
698
|
+
"items": {
|
699
|
+
"$ref": "Kernel"
|
700
|
+
}
|
701
|
+
},
|
702
|
+
"kind": {
|
703
|
+
"type": "string",
|
704
|
+
"description": "Type of resource.",
|
705
|
+
"default": "compute#kernelList"
|
706
|
+
},
|
707
|
+
"nextPageToken": {
|
708
|
+
"type": "string",
|
709
|
+
"description": "A token used to continue a truncated list request (output only)."
|
710
|
+
},
|
711
|
+
"selfLink": {
|
712
|
+
"type": "string",
|
713
|
+
"description": "Server defined URL for this resource (output only)."
|
714
|
+
}
|
715
|
+
}
|
716
|
+
},
|
717
|
+
"MachineType": {
|
718
|
+
"id": "MachineType",
|
719
|
+
"type": "object",
|
720
|
+
"description": "A machine type resource.",
|
721
|
+
"properties": {
|
722
|
+
"availableZone": {
|
723
|
+
"type": "array",
|
724
|
+
"description": "The zones that this machine type can run in.",
|
725
|
+
"items": {
|
726
|
+
"type": "string"
|
727
|
+
}
|
728
|
+
},
|
729
|
+
"creationTimestamp": {
|
730
|
+
"type": "string",
|
731
|
+
"description": "Creation timestamp in RFC3339 text format (output only)."
|
732
|
+
},
|
733
|
+
"deprecated": {
|
734
|
+
"$ref": "DeprecationStatus",
|
735
|
+
"description": "The deprecation status associated with this machine type."
|
736
|
+
},
|
737
|
+
"description": {
|
738
|
+
"type": "string",
|
739
|
+
"description": "An optional textual description of the resource."
|
740
|
+
},
|
741
|
+
"ephemeralDisks": {
|
742
|
+
"type": "array",
|
743
|
+
"description": "List of extended ephemeral disks assigned to the instance.",
|
744
|
+
"items": {
|
745
|
+
"type": "object",
|
746
|
+
"properties": {
|
747
|
+
"diskGb": {
|
748
|
+
"type": "integer",
|
749
|
+
"description": "Size of the ephemeral disk, defined in GB.",
|
750
|
+
"format": "int32"
|
751
|
+
}
|
752
|
+
}
|
753
|
+
}
|
754
|
+
},
|
755
|
+
"guestCpus": {
|
756
|
+
"type": "integer",
|
757
|
+
"description": "Count of CPUs exposed to the instance.",
|
758
|
+
"format": "int32"
|
759
|
+
},
|
760
|
+
"id": {
|
761
|
+
"type": "string",
|
762
|
+
"description": "Unique identifier for the resource; defined by the server (output only).",
|
763
|
+
"format": "uint64"
|
764
|
+
},
|
765
|
+
"imageSpaceGb": {
|
766
|
+
"type": "integer",
|
767
|
+
"description": "Space allotted for the image, defined in GB.",
|
768
|
+
"format": "int32"
|
769
|
+
},
|
770
|
+
"kind": {
|
771
|
+
"type": "string",
|
772
|
+
"description": "Type of the resource.",
|
773
|
+
"default": "compute#machineType"
|
774
|
+
},
|
775
|
+
"maximumPersistentDisks": {
|
776
|
+
"type": "integer",
|
777
|
+
"description": "Maximum persistent disks allowed.",
|
778
|
+
"format": "int32"
|
779
|
+
},
|
780
|
+
"maximumPersistentDisksSizeGb": {
|
781
|
+
"type": "string",
|
782
|
+
"description": "Maximum total persistent disks size (GB) allowed.",
|
783
|
+
"format": "int64"
|
784
|
+
},
|
785
|
+
"memoryMb": {
|
786
|
+
"type": "integer",
|
787
|
+
"description": "Physical memory assigned to the instance, defined in MB.",
|
788
|
+
"format": "int32"
|
789
|
+
},
|
790
|
+
"name": {
|
791
|
+
"type": "string",
|
792
|
+
"description": "Name of the resource.",
|
793
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
|
794
|
+
},
|
795
|
+
"selfLink": {
|
796
|
+
"type": "string",
|
797
|
+
"description": "Server defined URL for the resource (output only)."
|
798
|
+
}
|
799
|
+
}
|
800
|
+
},
|
801
|
+
"MachineTypeList": {
|
802
|
+
"id": "MachineTypeList",
|
803
|
+
"type": "object",
|
804
|
+
"description": "Contains a list of machine type resources.",
|
805
|
+
"properties": {
|
806
|
+
"id": {
|
807
|
+
"type": "string",
|
808
|
+
"description": "Unique identifier for the resource; defined by the server (output only)."
|
809
|
+
},
|
810
|
+
"items": {
|
811
|
+
"type": "array",
|
812
|
+
"description": "The machine type resources.",
|
813
|
+
"items": {
|
814
|
+
"$ref": "MachineType"
|
815
|
+
}
|
816
|
+
},
|
817
|
+
"kind": {
|
818
|
+
"type": "string",
|
819
|
+
"description": "Type of resource.",
|
820
|
+
"default": "compute#machineTypeList"
|
821
|
+
},
|
822
|
+
"nextPageToken": {
|
823
|
+
"type": "string",
|
824
|
+
"description": "A token used to continue a truncated list request (output only)."
|
825
|
+
},
|
826
|
+
"selfLink": {
|
827
|
+
"type": "string",
|
828
|
+
"description": "Server defined URL for this resource (output only)."
|
829
|
+
}
|
830
|
+
}
|
831
|
+
},
|
832
|
+
"Metadata": {
|
833
|
+
"id": "Metadata",
|
834
|
+
"type": "object",
|
835
|
+
"description": "A metadata key/value entry.",
|
836
|
+
"properties": {
|
837
|
+
"fingerprint": {
|
838
|
+
"type": "string",
|
839
|
+
"description": "Fingerprint of this resource. A hash of the metadata's contents. This field is used for optimistic locking. An up-to-date metadata fingerprint must be provided in order to modify metadata.",
|
840
|
+
"format": "byte"
|
841
|
+
},
|
842
|
+
"items": {
|
843
|
+
"type": "array",
|
844
|
+
"description": "Array of key/value pairs. The total size of all keys and values must be less than 512 KB.",
|
845
|
+
"items": {
|
846
|
+
"type": "object",
|
847
|
+
"properties": {
|
848
|
+
"key": {
|
849
|
+
"type": "string",
|
850
|
+
"description": "Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project.",
|
851
|
+
"pattern": "[a-zA-Z0-9-_]{1,128}",
|
852
|
+
"annotations": {
|
853
|
+
"required": [
|
854
|
+
"compute.instances.insert",
|
855
|
+
"compute.projects.setCommonInstanceMetadata"
|
856
|
+
]
|
857
|
+
}
|
858
|
+
},
|
859
|
+
"value": {
|
860
|
+
"type": "string",
|
861
|
+
"description": "Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 32768 bytes.",
|
862
|
+
"annotations": {
|
863
|
+
"required": [
|
864
|
+
"compute.instances.insert",
|
865
|
+
"compute.projects.setCommonInstanceMetadata"
|
866
|
+
]
|
867
|
+
}
|
868
|
+
}
|
869
|
+
}
|
870
|
+
}
|
871
|
+
},
|
872
|
+
"kind": {
|
873
|
+
"type": "string",
|
874
|
+
"description": "Type of the resource.",
|
875
|
+
"default": "compute#metadata"
|
876
|
+
}
|
877
|
+
}
|
878
|
+
},
|
879
|
+
"Network": {
|
880
|
+
"id": "Network",
|
881
|
+
"type": "object",
|
882
|
+
"description": "A network resource.",
|
883
|
+
"properties": {
|
884
|
+
"IPv4Range": {
|
885
|
+
"type": "string",
|
886
|
+
"description": "Required; The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created.",
|
887
|
+
"pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}/[0-9]{1,2}",
|
888
|
+
"annotations": {
|
889
|
+
"required": [
|
890
|
+
"compute.networks.insert"
|
891
|
+
]
|
892
|
+
}
|
893
|
+
},
|
894
|
+
"creationTimestamp": {
|
895
|
+
"type": "string",
|
896
|
+
"description": "Creation timestamp in RFC3339 text format (output only)."
|
897
|
+
},
|
898
|
+
"description": {
|
899
|
+
"type": "string",
|
900
|
+
"description": "An optional textual description of the resource; provided by the client when the resource is created."
|
901
|
+
},
|
902
|
+
"gatewayIPv4": {
|
903
|
+
"type": "string",
|
904
|
+
"description": "An optional address that is used for default routing to other networks. This must be within the range specified by IPv4Range, and is typically the first usable address in that range. If not specified, the default value is the first usable address in IPv4Range.",
|
905
|
+
"pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}"
|
906
|
+
},
|
907
|
+
"id": {
|
908
|
+
"type": "string",
|
909
|
+
"description": "Unique identifier for the resource; defined by the server (output only).",
|
910
|
+
"format": "uint64"
|
911
|
+
},
|
912
|
+
"kind": {
|
913
|
+
"type": "string",
|
914
|
+
"description": "Type of the resource.",
|
915
|
+
"default": "compute#network"
|
916
|
+
},
|
917
|
+
"name": {
|
918
|
+
"type": "string",
|
919
|
+
"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.",
|
920
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
921
|
+
"annotations": {
|
922
|
+
"required": [
|
923
|
+
"compute.networks.insert"
|
924
|
+
]
|
925
|
+
}
|
926
|
+
},
|
927
|
+
"selfLink": {
|
928
|
+
"type": "string",
|
929
|
+
"description": "Server defined URL for the resource (output only)."
|
930
|
+
}
|
931
|
+
}
|
932
|
+
},
|
933
|
+
"NetworkInterface": {
|
934
|
+
"id": "NetworkInterface",
|
935
|
+
"type": "object",
|
936
|
+
"description": "A network interface resource attached to an instance.",
|
937
|
+
"properties": {
|
938
|
+
"accessConfigs": {
|
939
|
+
"type": "array",
|
940
|
+
"description": "Array of configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet. Currently, ONE_TO_ONE_NAT is the only access config supported. If there are no accessConfigs specified, then this instance will have no external internet access.",
|
941
|
+
"items": {
|
942
|
+
"$ref": "AccessConfig"
|
943
|
+
}
|
944
|
+
},
|
945
|
+
"name": {
|
946
|
+
"type": "string",
|
947
|
+
"description": "Name of the network interface, determined by the server; for network devices, these are e.g. eth0, eth1, etc. (output only)."
|
948
|
+
},
|
949
|
+
"network": {
|
950
|
+
"type": "string",
|
951
|
+
"description": "URL of the network resource attached to this interface.",
|
952
|
+
"annotations": {
|
953
|
+
"required": [
|
954
|
+
"compute.instances.insert"
|
955
|
+
]
|
956
|
+
}
|
957
|
+
},
|
958
|
+
"networkIP": {
|
959
|
+
"type": "string",
|
960
|
+
"description": "An optional IPV4 internal network address to assign to the instance for this network interface. If not specified, one will be assigned from the available range."
|
961
|
+
}
|
962
|
+
}
|
963
|
+
},
|
964
|
+
"NetworkList": {
|
965
|
+
"id": "NetworkList",
|
966
|
+
"type": "object",
|
967
|
+
"description": "Contains a list of network resources.",
|
968
|
+
"properties": {
|
969
|
+
"id": {
|
970
|
+
"type": "string",
|
971
|
+
"description": "Unique identifier for the resource; defined by the server (output only)."
|
972
|
+
},
|
973
|
+
"items": {
|
974
|
+
"type": "array",
|
975
|
+
"description": "The network resources.",
|
976
|
+
"items": {
|
977
|
+
"$ref": "Network"
|
978
|
+
}
|
979
|
+
},
|
980
|
+
"kind": {
|
981
|
+
"type": "string",
|
982
|
+
"description": "Type of resource.",
|
983
|
+
"default": "compute#networkList"
|
984
|
+
},
|
985
|
+
"nextPageToken": {
|
986
|
+
"type": "string",
|
987
|
+
"description": "A token used to continue a truncated list request (output only)."
|
988
|
+
},
|
989
|
+
"selfLink": {
|
990
|
+
"type": "string",
|
991
|
+
"description": "Server defined URL for this resource (output only)."
|
992
|
+
}
|
993
|
+
}
|
994
|
+
},
|
995
|
+
"Operation": {
|
996
|
+
"id": "Operation",
|
997
|
+
"type": "object",
|
998
|
+
"description": "An operation resource, used to manage asynchronous API requests.",
|
999
|
+
"properties": {
|
1000
|
+
"clientOperationId": {
|
1001
|
+
"type": "string",
|
1002
|
+
"description": "An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project (output only)."
|
1003
|
+
},
|
1004
|
+
"creationTimestamp": {
|
1005
|
+
"type": "string",
|
1006
|
+
"description": "Creation timestamp in RFC3339 text format (output only)."
|
1007
|
+
},
|
1008
|
+
"endTime": {
|
1009
|
+
"type": "string",
|
1010
|
+
"description": "The time that this operation was completed. This is in RFC 3339 format (output only)."
|
1011
|
+
},
|
1012
|
+
"error": {
|
1013
|
+
"type": "object",
|
1014
|
+
"description": "If errors occurred during processing of this operation, this field will be populated (output only).",
|
1015
|
+
"properties": {
|
1016
|
+
"errors": {
|
1017
|
+
"type": "array",
|
1018
|
+
"description": "The array of errors encountered while processing this operation.",
|
1019
|
+
"items": {
|
1020
|
+
"type": "object",
|
1021
|
+
"properties": {
|
1022
|
+
"code": {
|
1023
|
+
"type": "string",
|
1024
|
+
"description": "The error type identifier for this error."
|
1025
|
+
},
|
1026
|
+
"location": {
|
1027
|
+
"type": "string",
|
1028
|
+
"description": "Indicates the field in the request which caused the error. This property is optional."
|
1029
|
+
},
|
1030
|
+
"message": {
|
1031
|
+
"type": "string",
|
1032
|
+
"description": "An optional, human-readable error message."
|
1033
|
+
}
|
1034
|
+
}
|
1035
|
+
}
|
1036
|
+
}
|
1037
|
+
}
|
1038
|
+
},
|
1039
|
+
"httpErrorMessage": {
|
1040
|
+
"type": "string",
|
1041
|
+
"description": "If operation fails, the HTTP error message returned, e.g. NOT FOUND. (output only)."
|
1042
|
+
},
|
1043
|
+
"httpErrorStatusCode": {
|
1044
|
+
"type": "integer",
|
1045
|
+
"description": "If operation fails, the HTTP error status code returned, e.g. 404. (output only).",
|
1046
|
+
"format": "int32"
|
1047
|
+
},
|
1048
|
+
"id": {
|
1049
|
+
"type": "string",
|
1050
|
+
"description": "Unique identifier for the resource; defined by the server (output only).",
|
1051
|
+
"format": "uint64"
|
1052
|
+
},
|
1053
|
+
"insertTime": {
|
1054
|
+
"type": "string",
|
1055
|
+
"description": "The time that this operation was requested. This is in RFC 3339 format (output only)."
|
1056
|
+
},
|
1057
|
+
"kind": {
|
1058
|
+
"type": "string",
|
1059
|
+
"description": "Type of the resource.",
|
1060
|
+
"default": "compute#operation"
|
1061
|
+
},
|
1062
|
+
"name": {
|
1063
|
+
"type": "string",
|
1064
|
+
"description": "Name of the resource (output only)."
|
1065
|
+
},
|
1066
|
+
"operationType": {
|
1067
|
+
"type": "string",
|
1068
|
+
"description": "Type of the operation. Examples include \"insert\", \"update\", and \"delete\" (output only)."
|
1069
|
+
},
|
1070
|
+
"progress": {
|
1071
|
+
"type": "integer",
|
1072
|
+
"description": "An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses (output only).",
|
1073
|
+
"format": "int32"
|
1074
|
+
},
|
1075
|
+
"selfLink": {
|
1076
|
+
"type": "string",
|
1077
|
+
"description": "Server defined URL for the resource (output only)."
|
1078
|
+
},
|
1079
|
+
"startTime": {
|
1080
|
+
"type": "string",
|
1081
|
+
"description": "The time that this operation was started by the server. This is in RFC 3339 format (output only)."
|
1082
|
+
},
|
1083
|
+
"status": {
|
1084
|
+
"type": "string",
|
1085
|
+
"description": "Status of the operation. Can be one of the following: \"PENDING\", \"RUNNING\", or \"DONE\" (output only)."
|
1086
|
+
},
|
1087
|
+
"statusMessage": {
|
1088
|
+
"type": "string",
|
1089
|
+
"description": "An optional textual description of the current status of the operation (output only)."
|
1090
|
+
},
|
1091
|
+
"targetId": {
|
1092
|
+
"type": "string",
|
1093
|
+
"description": "Unique target id which identifies a particular incarnation of the target (output only).",
|
1094
|
+
"format": "uint64"
|
1095
|
+
},
|
1096
|
+
"targetLink": {
|
1097
|
+
"type": "string",
|
1098
|
+
"description": "URL of the resource the operation is mutating (output only)."
|
1099
|
+
},
|
1100
|
+
"user": {
|
1101
|
+
"type": "string",
|
1102
|
+
"description": "User who requested the operation, for example \"user@example.com\" (output only)."
|
1103
|
+
},
|
1104
|
+
"warnings": {
|
1105
|
+
"type": "array",
|
1106
|
+
"description": "If warning messages generated during processing of this operation, this field will be populated (output only).",
|
1107
|
+
"items": {
|
1108
|
+
"type": "object",
|
1109
|
+
"properties": {
|
1110
|
+
"code": {
|
1111
|
+
"type": "string",
|
1112
|
+
"description": "The warning type identifier for this warning."
|
1113
|
+
},
|
1114
|
+
"data": {
|
1115
|
+
"type": "array",
|
1116
|
+
"description": "Metadata for this warning in 'key: value' format.",
|
1117
|
+
"items": {
|
1118
|
+
"type": "object",
|
1119
|
+
"properties": {
|
1120
|
+
"key": {
|
1121
|
+
"type": "string",
|
1122
|
+
"description": "A key for the warning data."
|
1123
|
+
},
|
1124
|
+
"value": {
|
1125
|
+
"type": "string",
|
1126
|
+
"description": "A warning data value corresponding to the key."
|
1127
|
+
}
|
1128
|
+
}
|
1129
|
+
}
|
1130
|
+
},
|
1131
|
+
"message": {
|
1132
|
+
"type": "string",
|
1133
|
+
"description": "Optional human-readable details for this warning."
|
1134
|
+
}
|
1135
|
+
}
|
1136
|
+
}
|
1137
|
+
},
|
1138
|
+
"zone": {
|
1139
|
+
"type": "string",
|
1140
|
+
"description": "URL of the zone where the operation resides (output only)."
|
1141
|
+
}
|
1142
|
+
}
|
1143
|
+
},
|
1144
|
+
"OperationList": {
|
1145
|
+
"id": "OperationList",
|
1146
|
+
"type": "object",
|
1147
|
+
"description": "Contains a list of operation resources.",
|
1148
|
+
"properties": {
|
1149
|
+
"id": {
|
1150
|
+
"type": "string",
|
1151
|
+
"description": "Unique identifier for the resource; defined by the server (output only)."
|
1152
|
+
},
|
1153
|
+
"items": {
|
1154
|
+
"type": "array",
|
1155
|
+
"description": "The operation resources.",
|
1156
|
+
"items": {
|
1157
|
+
"$ref": "Operation"
|
1158
|
+
}
|
1159
|
+
},
|
1160
|
+
"kind": {
|
1161
|
+
"type": "string",
|
1162
|
+
"description": "Type of resource.",
|
1163
|
+
"default": "compute#operationList"
|
1164
|
+
},
|
1165
|
+
"nextPageToken": {
|
1166
|
+
"type": "string",
|
1167
|
+
"description": "A token used to continue a truncated list request (output only)."
|
1168
|
+
},
|
1169
|
+
"selfLink": {
|
1170
|
+
"type": "string",
|
1171
|
+
"description": "Server defined URL for this resource (output only)."
|
1172
|
+
}
|
1173
|
+
}
|
1174
|
+
},
|
1175
|
+
"Project": {
|
1176
|
+
"id": "Project",
|
1177
|
+
"type": "object",
|
1178
|
+
"description": "A project resource. Projects can be created only in the APIs Console. Unless marked otherwise, values can only be modified in the console.",
|
1179
|
+
"properties": {
|
1180
|
+
"commonInstanceMetadata": {
|
1181
|
+
"$ref": "Metadata",
|
1182
|
+
"description": "Metadata key/value pairs available to all instances contained in this project."
|
1183
|
+
},
|
1184
|
+
"creationTimestamp": {
|
1185
|
+
"type": "string",
|
1186
|
+
"description": "Creation timestamp in RFC3339 text format (output only)."
|
1187
|
+
},
|
1188
|
+
"description": {
|
1189
|
+
"type": "string",
|
1190
|
+
"description": "An optional textual description of the resource."
|
1191
|
+
},
|
1192
|
+
"externalIpAddresses": {
|
1193
|
+
"type": "array",
|
1194
|
+
"description": "Internet available IP addresses available for use in this project.",
|
1195
|
+
"items": {
|
1196
|
+
"type": "string"
|
1197
|
+
}
|
1198
|
+
},
|
1199
|
+
"id": {
|
1200
|
+
"type": "string",
|
1201
|
+
"description": "Unique identifier for the resource; defined by the server (output only).",
|
1202
|
+
"format": "uint64"
|
1203
|
+
},
|
1204
|
+
"kind": {
|
1205
|
+
"type": "string",
|
1206
|
+
"description": "Type of the resource.",
|
1207
|
+
"default": "compute#project"
|
1208
|
+
},
|
1209
|
+
"name": {
|
1210
|
+
"type": "string",
|
1211
|
+
"description": "Name of the resource."
|
1212
|
+
},
|
1213
|
+
"quotas": {
|
1214
|
+
"type": "array",
|
1215
|
+
"description": "Quotas assigned to this project.",
|
1216
|
+
"items": {
|
1217
|
+
"$ref": "Quota"
|
1218
|
+
}
|
1219
|
+
},
|
1220
|
+
"selfLink": {
|
1221
|
+
"type": "string",
|
1222
|
+
"description": "Server defined URL for the resource (output only)."
|
1223
|
+
}
|
1224
|
+
}
|
1225
|
+
},
|
1226
|
+
"Quota": {
|
1227
|
+
"id": "Quota",
|
1228
|
+
"type": "object",
|
1229
|
+
"description": "A quotas entry.",
|
1230
|
+
"properties": {
|
1231
|
+
"limit": {
|
1232
|
+
"type": "number",
|
1233
|
+
"description": "Quota limit for this metric.",
|
1234
|
+
"format": "double"
|
1235
|
+
},
|
1236
|
+
"metric": {
|
1237
|
+
"type": "string",
|
1238
|
+
"description": "Name of the quota metric."
|
1239
|
+
},
|
1240
|
+
"usage": {
|
1241
|
+
"type": "number",
|
1242
|
+
"description": "Current usage of this metric.",
|
1243
|
+
"format": "double"
|
1244
|
+
}
|
1245
|
+
}
|
1246
|
+
},
|
1247
|
+
"SerialPortOutput": {
|
1248
|
+
"id": "SerialPortOutput",
|
1249
|
+
"type": "object",
|
1250
|
+
"description": "An instance serial console output.",
|
1251
|
+
"properties": {
|
1252
|
+
"contents": {
|
1253
|
+
"type": "string",
|
1254
|
+
"description": "The contents of the console output."
|
1255
|
+
},
|
1256
|
+
"kind": {
|
1257
|
+
"type": "string",
|
1258
|
+
"description": "Type of the resource.",
|
1259
|
+
"default": "compute#serialPortOutput"
|
1260
|
+
},
|
1261
|
+
"selfLink": {
|
1262
|
+
"type": "string",
|
1263
|
+
"description": "Server defined URL for the resource (output only)."
|
1264
|
+
}
|
1265
|
+
}
|
1266
|
+
},
|
1267
|
+
"ServiceAccount": {
|
1268
|
+
"id": "ServiceAccount",
|
1269
|
+
"type": "object",
|
1270
|
+
"description": "A service account.",
|
1271
|
+
"properties": {
|
1272
|
+
"email": {
|
1273
|
+
"type": "string",
|
1274
|
+
"description": "Email address of the service account."
|
1275
|
+
},
|
1276
|
+
"scopes": {
|
1277
|
+
"type": "array",
|
1278
|
+
"description": "The list of scopes to be made available for this service account.",
|
1279
|
+
"items": {
|
1280
|
+
"type": "string"
|
1281
|
+
}
|
1282
|
+
}
|
1283
|
+
}
|
1284
|
+
},
|
1285
|
+
"Snapshot": {
|
1286
|
+
"id": "Snapshot",
|
1287
|
+
"type": "object",
|
1288
|
+
"description": "A persistent disk snapshot resource.",
|
1289
|
+
"properties": {
|
1290
|
+
"creationTimestamp": {
|
1291
|
+
"type": "string",
|
1292
|
+
"description": "Creation timestamp in RFC3339 text format (output only)."
|
1293
|
+
},
|
1294
|
+
"description": {
|
1295
|
+
"type": "string",
|
1296
|
+
"description": "An optional textual description of the resource; provided by the client when the resource is created."
|
1297
|
+
},
|
1298
|
+
"diskSizeGb": {
|
1299
|
+
"type": "string",
|
1300
|
+
"description": "Size of the persistent disk snapshot, specified in GB (output only).",
|
1301
|
+
"format": "int64"
|
1302
|
+
},
|
1303
|
+
"id": {
|
1304
|
+
"type": "string",
|
1305
|
+
"description": "Unique identifier for the resource; defined by the server (output only).",
|
1306
|
+
"format": "uint64"
|
1307
|
+
},
|
1308
|
+
"kind": {
|
1309
|
+
"type": "string",
|
1310
|
+
"description": "Type of the resource.",
|
1311
|
+
"default": "compute#snapshot"
|
1312
|
+
},
|
1313
|
+
"name": {
|
1314
|
+
"type": "string",
|
1315
|
+
"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.",
|
1316
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
1317
|
+
"annotations": {
|
1318
|
+
"required": [
|
1319
|
+
"compute.snapshots.insert"
|
1320
|
+
]
|
1321
|
+
}
|
1322
|
+
},
|
1323
|
+
"selfLink": {
|
1324
|
+
"type": "string",
|
1325
|
+
"description": "Server defined URL for the resource (output only)."
|
1326
|
+
},
|
1327
|
+
"sourceDisk": {
|
1328
|
+
"type": "string",
|
1329
|
+
"description": "The source disk used to create this snapshot. Once 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."
|
1330
|
+
},
|
1331
|
+
"sourceDiskId": {
|
1332
|
+
"type": "string",
|
1333
|
+
"description": "The 'id' value of the disk used to create this 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."
|
1334
|
+
},
|
1335
|
+
"status": {
|
1336
|
+
"type": "string",
|
1337
|
+
"description": "The status of the persistent disk snapshot (output only)."
|
1338
|
+
}
|
1339
|
+
}
|
1340
|
+
},
|
1341
|
+
"SnapshotList": {
|
1342
|
+
"id": "SnapshotList",
|
1343
|
+
"type": "object",
|
1344
|
+
"description": "Contains a list of persistent disk snapshot resources.",
|
1345
|
+
"properties": {
|
1346
|
+
"id": {
|
1347
|
+
"type": "string",
|
1348
|
+
"description": "Unique identifier for the resource; defined by the server (output only)."
|
1349
|
+
},
|
1350
|
+
"items": {
|
1351
|
+
"type": "array",
|
1352
|
+
"description": "The persistent snapshot resources.",
|
1353
|
+
"items": {
|
1354
|
+
"$ref": "Snapshot"
|
1355
|
+
}
|
1356
|
+
},
|
1357
|
+
"kind": {
|
1358
|
+
"type": "string",
|
1359
|
+
"description": "Type of resource.",
|
1360
|
+
"default": "compute#snapshotList"
|
1361
|
+
},
|
1362
|
+
"nextPageToken": {
|
1363
|
+
"type": "string",
|
1364
|
+
"description": "A token used to continue a truncated list request (output only)."
|
1365
|
+
},
|
1366
|
+
"selfLink": {
|
1367
|
+
"type": "string",
|
1368
|
+
"description": "Server defined URL for this resource (output only)."
|
1369
|
+
}
|
1370
|
+
}
|
1371
|
+
},
|
1372
|
+
"Tags": {
|
1373
|
+
"id": "Tags",
|
1374
|
+
"type": "object",
|
1375
|
+
"description": "A set of instance tags.",
|
1376
|
+
"properties": {
|
1377
|
+
"fingerprint": {
|
1378
|
+
"type": "string",
|
1379
|
+
"description": "Fingerprint of this resource. A hash of the tags stored in this object. This field is used optimistic locking. An up-to-date tags fingerprint must be provided in order to modify tags.",
|
1380
|
+
"format": "byte"
|
1381
|
+
},
|
1382
|
+
"items": {
|
1383
|
+
"type": "array",
|
1384
|
+
"description": "An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.",
|
1385
|
+
"items": {
|
1386
|
+
"type": "string"
|
1387
|
+
}
|
1388
|
+
}
|
1389
|
+
}
|
1390
|
+
},
|
1391
|
+
"Zone": {
|
1392
|
+
"id": "Zone",
|
1393
|
+
"type": "object",
|
1394
|
+
"description": "A zone resource.",
|
1395
|
+
"properties": {
|
1396
|
+
"availableMachineType": {
|
1397
|
+
"type": "array",
|
1398
|
+
"description": "The machine types that can be used in this zone (output only).",
|
1399
|
+
"items": {
|
1400
|
+
"type": "string"
|
1401
|
+
}
|
1402
|
+
},
|
1403
|
+
"creationTimestamp": {
|
1404
|
+
"type": "string",
|
1405
|
+
"description": "Creation timestamp in RFC3339 text format (output only)."
|
1406
|
+
},
|
1407
|
+
"deprecated": {
|
1408
|
+
"$ref": "DeprecationStatus",
|
1409
|
+
"description": "The deprecation status associated with this zone."
|
1410
|
+
},
|
1411
|
+
"description": {
|
1412
|
+
"type": "string",
|
1413
|
+
"description": "Textual description of the resource."
|
1414
|
+
},
|
1415
|
+
"id": {
|
1416
|
+
"type": "string",
|
1417
|
+
"description": "Unique identifier for the resource; defined by the server (output only).",
|
1418
|
+
"format": "uint64"
|
1419
|
+
},
|
1420
|
+
"kind": {
|
1421
|
+
"type": "string",
|
1422
|
+
"description": "Type of the resource.",
|
1423
|
+
"default": "compute#zone"
|
1424
|
+
},
|
1425
|
+
"maintenanceWindows": {
|
1426
|
+
"type": "array",
|
1427
|
+
"description": "Scheduled maintenance windows for the zone. When the zone is in a maintenance window, all resources which reside in the zone will be unavailable.",
|
1428
|
+
"items": {
|
1429
|
+
"type": "object",
|
1430
|
+
"properties": {
|
1431
|
+
"beginTime": {
|
1432
|
+
"type": "string",
|
1433
|
+
"description": "Begin time of the maintenance window, in RFC 3339 format."
|
1434
|
+
},
|
1435
|
+
"description": {
|
1436
|
+
"type": "string",
|
1437
|
+
"description": "Textual description of the maintenance window."
|
1438
|
+
},
|
1439
|
+
"endTime": {
|
1440
|
+
"type": "string",
|
1441
|
+
"description": "End time of the maintenance window, in RFC 3339 format."
|
1442
|
+
},
|
1443
|
+
"name": {
|
1444
|
+
"type": "string",
|
1445
|
+
"description": "Name of the maintenance window."
|
1446
|
+
}
|
1447
|
+
}
|
1448
|
+
}
|
1449
|
+
},
|
1450
|
+
"name": {
|
1451
|
+
"type": "string",
|
1452
|
+
"description": "Name of the resource."
|
1453
|
+
},
|
1454
|
+
"quotas": {
|
1455
|
+
"type": "array",
|
1456
|
+
"description": "Quotas assigned to this zone.",
|
1457
|
+
"items": {
|
1458
|
+
"$ref": "Quota"
|
1459
|
+
}
|
1460
|
+
},
|
1461
|
+
"selfLink": {
|
1462
|
+
"type": "string",
|
1463
|
+
"description": "Server defined URL for the resource (output only)."
|
1464
|
+
},
|
1465
|
+
"status": {
|
1466
|
+
"type": "string",
|
1467
|
+
"description": "Status of the zone. \"UP\" or \"DOWN\"."
|
1468
|
+
}
|
1469
|
+
}
|
1470
|
+
},
|
1471
|
+
"ZoneList": {
|
1472
|
+
"id": "ZoneList",
|
1473
|
+
"type": "object",
|
1474
|
+
"description": "Contains a list of zone resources.",
|
1475
|
+
"properties": {
|
1476
|
+
"id": {
|
1477
|
+
"type": "string",
|
1478
|
+
"description": "Unique identifier for the resource; defined by the server (output only)."
|
1479
|
+
},
|
1480
|
+
"items": {
|
1481
|
+
"type": "array",
|
1482
|
+
"description": "The zone resources.",
|
1483
|
+
"items": {
|
1484
|
+
"$ref": "Zone"
|
1485
|
+
}
|
1486
|
+
},
|
1487
|
+
"kind": {
|
1488
|
+
"type": "string",
|
1489
|
+
"description": "Type of resource.",
|
1490
|
+
"default": "compute#zoneList"
|
1491
|
+
},
|
1492
|
+
"nextPageToken": {
|
1493
|
+
"type": "string",
|
1494
|
+
"description": "A token used to continue a truncated list request (output only)."
|
1495
|
+
},
|
1496
|
+
"selfLink": {
|
1497
|
+
"type": "string",
|
1498
|
+
"description": "Server defined URL for this resource (output only)."
|
1499
|
+
}
|
1500
|
+
}
|
1501
|
+
}
|
1502
|
+
},
|
1503
|
+
"resources": {
|
1504
|
+
"disks": {
|
1505
|
+
"methods": {
|
1506
|
+
"delete": {
|
1507
|
+
"id": "compute.disks.delete",
|
1508
|
+
"path": "{project}/zones/{zone}/disks/{disk}",
|
1509
|
+
"httpMethod": "DELETE",
|
1510
|
+
"description": "Deletes the specified persistent disk resource.",
|
1511
|
+
"parameters": {
|
1512
|
+
"disk": {
|
1513
|
+
"type": "string",
|
1514
|
+
"description": "Name of the persistent disk resource to delete.",
|
1515
|
+
"required": true,
|
1516
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
1517
|
+
"location": "path"
|
1518
|
+
},
|
1519
|
+
"project": {
|
1520
|
+
"type": "string",
|
1521
|
+
"description": "Name of the project scoping this request.",
|
1522
|
+
"required": true,
|
1523
|
+
"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])?))",
|
1524
|
+
"location": "path"
|
1525
|
+
},
|
1526
|
+
"zone": {
|
1527
|
+
"type": "string",
|
1528
|
+
"description": "Name of the zone scoping this request.",
|
1529
|
+
"required": true,
|
1530
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
1531
|
+
"location": "path"
|
1532
|
+
}
|
1533
|
+
},
|
1534
|
+
"parameterOrder": [
|
1535
|
+
"project",
|
1536
|
+
"zone",
|
1537
|
+
"disk"
|
1538
|
+
],
|
1539
|
+
"response": {
|
1540
|
+
"$ref": "Operation"
|
1541
|
+
},
|
1542
|
+
"scopes": [
|
1543
|
+
"https://www.googleapis.com/auth/compute"
|
1544
|
+
]
|
1545
|
+
},
|
1546
|
+
"get": {
|
1547
|
+
"id": "compute.disks.get",
|
1548
|
+
"path": "{project}/zones/{zone}/disks/{disk}",
|
1549
|
+
"httpMethod": "GET",
|
1550
|
+
"description": "Returns the specified persistent disk resource.",
|
1551
|
+
"parameters": {
|
1552
|
+
"disk": {
|
1553
|
+
"type": "string",
|
1554
|
+
"description": "Name of the persistent disk resource to return.",
|
1555
|
+
"required": true,
|
1556
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
1557
|
+
"location": "path"
|
1558
|
+
},
|
1559
|
+
"project": {
|
1560
|
+
"type": "string",
|
1561
|
+
"description": "Name of the project scoping this request.",
|
1562
|
+
"required": true,
|
1563
|
+
"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])?))",
|
1564
|
+
"location": "path"
|
1565
|
+
},
|
1566
|
+
"zone": {
|
1567
|
+
"type": "string",
|
1568
|
+
"description": "Name of the zone scoping this request.",
|
1569
|
+
"required": true,
|
1570
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
1571
|
+
"location": "path"
|
1572
|
+
}
|
1573
|
+
},
|
1574
|
+
"parameterOrder": [
|
1575
|
+
"project",
|
1576
|
+
"zone",
|
1577
|
+
"disk"
|
1578
|
+
],
|
1579
|
+
"response": {
|
1580
|
+
"$ref": "Disk"
|
1581
|
+
},
|
1582
|
+
"scopes": [
|
1583
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
1584
|
+
]
|
1585
|
+
},
|
1586
|
+
"insert": {
|
1587
|
+
"id": "compute.disks.insert",
|
1588
|
+
"path": "{project}/zones/{zone}/disks",
|
1589
|
+
"httpMethod": "POST",
|
1590
|
+
"description": "Creates a persistent disk resource in the specified project using the data included in the request.",
|
1591
|
+
"parameters": {
|
1592
|
+
"project": {
|
1593
|
+
"type": "string",
|
1594
|
+
"description": "Name of the project scoping this request.",
|
1595
|
+
"required": true,
|
1596
|
+
"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])?))",
|
1597
|
+
"location": "path"
|
1598
|
+
},
|
1599
|
+
"sourceImage": {
|
1600
|
+
"type": "string",
|
1601
|
+
"description": "Optional. Source image to restore onto a disk.",
|
1602
|
+
"location": "query"
|
1603
|
+
},
|
1604
|
+
"zone": {
|
1605
|
+
"type": "string",
|
1606
|
+
"description": "Name of the zone scoping this request.",
|
1607
|
+
"required": true,
|
1608
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
1609
|
+
"location": "path"
|
1610
|
+
}
|
1611
|
+
},
|
1612
|
+
"parameterOrder": [
|
1613
|
+
"project",
|
1614
|
+
"zone"
|
1615
|
+
],
|
1616
|
+
"request": {
|
1617
|
+
"$ref": "Disk"
|
1618
|
+
},
|
1619
|
+
"response": {
|
1620
|
+
"$ref": "Operation"
|
1621
|
+
},
|
1622
|
+
"scopes": [
|
1623
|
+
"https://www.googleapis.com/auth/compute"
|
1624
|
+
]
|
1625
|
+
},
|
1626
|
+
"list": {
|
1627
|
+
"id": "compute.disks.list",
|
1628
|
+
"path": "{project}/zones/{zone}/disks",
|
1629
|
+
"httpMethod": "GET",
|
1630
|
+
"description": "Retrieves the list of persistent disk resources contained within the specified zone.",
|
1631
|
+
"parameters": {
|
1632
|
+
"filter": {
|
1633
|
+
"type": "string",
|
1634
|
+
"description": "Optional. Filter expression for filtering listed resources.",
|
1635
|
+
"location": "query"
|
1636
|
+
},
|
1637
|
+
"maxResults": {
|
1638
|
+
"type": "integer",
|
1639
|
+
"description": "Optional. Maximum count of results to be returned. Maximum and default value is 100.",
|
1640
|
+
"default": "100",
|
1641
|
+
"format": "uint32",
|
1642
|
+
"minimum": "0",
|
1643
|
+
"maximum": "100",
|
1644
|
+
"location": "query"
|
1645
|
+
},
|
1646
|
+
"pageToken": {
|
1647
|
+
"type": "string",
|
1648
|
+
"description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.",
|
1649
|
+
"location": "query"
|
1650
|
+
},
|
1651
|
+
"project": {
|
1652
|
+
"type": "string",
|
1653
|
+
"description": "Name of the project scoping this request.",
|
1654
|
+
"required": true,
|
1655
|
+
"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])?))",
|
1656
|
+
"location": "path"
|
1657
|
+
},
|
1658
|
+
"zone": {
|
1659
|
+
"type": "string",
|
1660
|
+
"description": "Name of the zone scoping this request.",
|
1661
|
+
"required": true,
|
1662
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
1663
|
+
"location": "path"
|
1664
|
+
}
|
1665
|
+
},
|
1666
|
+
"parameterOrder": [
|
1667
|
+
"project",
|
1668
|
+
"zone"
|
1669
|
+
],
|
1670
|
+
"response": {
|
1671
|
+
"$ref": "DiskList"
|
1672
|
+
},
|
1673
|
+
"scopes": [
|
1674
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
1675
|
+
]
|
1676
|
+
}
|
1677
|
+
}
|
1678
|
+
},
|
1679
|
+
"firewalls": {
|
1680
|
+
"methods": {
|
1681
|
+
"delete": {
|
1682
|
+
"id": "compute.firewalls.delete",
|
1683
|
+
"path": "{project}/global/firewalls/{firewall}",
|
1684
|
+
"httpMethod": "DELETE",
|
1685
|
+
"description": "Deletes the specified firewall resource.",
|
1686
|
+
"parameters": {
|
1687
|
+
"firewall": {
|
1688
|
+
"type": "string",
|
1689
|
+
"description": "Name of the firewall resource to delete.",
|
1690
|
+
"required": true,
|
1691
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
1692
|
+
"location": "path"
|
1693
|
+
},
|
1694
|
+
"project": {
|
1695
|
+
"type": "string",
|
1696
|
+
"description": "Name of the project scoping this request.",
|
1697
|
+
"required": true,
|
1698
|
+
"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])?))",
|
1699
|
+
"location": "path"
|
1700
|
+
}
|
1701
|
+
},
|
1702
|
+
"parameterOrder": [
|
1703
|
+
"project",
|
1704
|
+
"firewall"
|
1705
|
+
],
|
1706
|
+
"response": {
|
1707
|
+
"$ref": "Operation"
|
1708
|
+
},
|
1709
|
+
"scopes": [
|
1710
|
+
"https://www.googleapis.com/auth/compute"
|
1711
|
+
]
|
1712
|
+
},
|
1713
|
+
"get": {
|
1714
|
+
"id": "compute.firewalls.get",
|
1715
|
+
"path": "{project}/global/firewalls/{firewall}",
|
1716
|
+
"httpMethod": "GET",
|
1717
|
+
"description": "Returns the specified firewall resource.",
|
1718
|
+
"parameters": {
|
1719
|
+
"firewall": {
|
1720
|
+
"type": "string",
|
1721
|
+
"description": "Name of the firewall resource to return.",
|
1722
|
+
"required": true,
|
1723
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
1724
|
+
"location": "path"
|
1725
|
+
},
|
1726
|
+
"project": {
|
1727
|
+
"type": "string",
|
1728
|
+
"description": "Name of the project scoping this request.",
|
1729
|
+
"required": true,
|
1730
|
+
"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])?))",
|
1731
|
+
"location": "path"
|
1732
|
+
}
|
1733
|
+
},
|
1734
|
+
"parameterOrder": [
|
1735
|
+
"project",
|
1736
|
+
"firewall"
|
1737
|
+
],
|
1738
|
+
"response": {
|
1739
|
+
"$ref": "Firewall"
|
1740
|
+
},
|
1741
|
+
"scopes": [
|
1742
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
1743
|
+
]
|
1744
|
+
},
|
1745
|
+
"insert": {
|
1746
|
+
"id": "compute.firewalls.insert",
|
1747
|
+
"path": "{project}/global/firewalls",
|
1748
|
+
"httpMethod": "POST",
|
1749
|
+
"description": "Creates a firewall resource in the specified project using the data included in the request.",
|
1750
|
+
"parameters": {
|
1751
|
+
"project": {
|
1752
|
+
"type": "string",
|
1753
|
+
"description": "Name of the project scoping this request.",
|
1754
|
+
"required": true,
|
1755
|
+
"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])?))",
|
1756
|
+
"location": "path"
|
1757
|
+
}
|
1758
|
+
},
|
1759
|
+
"parameterOrder": [
|
1760
|
+
"project"
|
1761
|
+
],
|
1762
|
+
"request": {
|
1763
|
+
"$ref": "Firewall"
|
1764
|
+
},
|
1765
|
+
"response": {
|
1766
|
+
"$ref": "Operation"
|
1767
|
+
},
|
1768
|
+
"scopes": [
|
1769
|
+
"https://www.googleapis.com/auth/compute"
|
1770
|
+
]
|
1771
|
+
},
|
1772
|
+
"list": {
|
1773
|
+
"id": "compute.firewalls.list",
|
1774
|
+
"path": "{project}/global/firewalls",
|
1775
|
+
"httpMethod": "GET",
|
1776
|
+
"description": "Retrieves the list of firewall resources available to the specified project.",
|
1777
|
+
"parameters": {
|
1778
|
+
"filter": {
|
1779
|
+
"type": "string",
|
1780
|
+
"description": "Optional. Filter expression for filtering listed resources.",
|
1781
|
+
"location": "query"
|
1782
|
+
},
|
1783
|
+
"maxResults": {
|
1784
|
+
"type": "integer",
|
1785
|
+
"description": "Optional. Maximum count of results to be returned. Maximum and default value is 100.",
|
1786
|
+
"default": "100",
|
1787
|
+
"format": "uint32",
|
1788
|
+
"minimum": "0",
|
1789
|
+
"maximum": "100",
|
1790
|
+
"location": "query"
|
1791
|
+
},
|
1792
|
+
"pageToken": {
|
1793
|
+
"type": "string",
|
1794
|
+
"description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.",
|
1795
|
+
"location": "query"
|
1796
|
+
},
|
1797
|
+
"project": {
|
1798
|
+
"type": "string",
|
1799
|
+
"description": "Name of the project scoping this request.",
|
1800
|
+
"required": true,
|
1801
|
+
"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])?))",
|
1802
|
+
"location": "path"
|
1803
|
+
}
|
1804
|
+
},
|
1805
|
+
"parameterOrder": [
|
1806
|
+
"project"
|
1807
|
+
],
|
1808
|
+
"response": {
|
1809
|
+
"$ref": "FirewallList"
|
1810
|
+
},
|
1811
|
+
"scopes": [
|
1812
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
1813
|
+
]
|
1814
|
+
},
|
1815
|
+
"patch": {
|
1816
|
+
"id": "compute.firewalls.patch",
|
1817
|
+
"path": "{project}/global/firewalls/{firewall}",
|
1818
|
+
"httpMethod": "PATCH",
|
1819
|
+
"description": "Updates the specified firewall resource with the data included in the request. This method supports patch semantics.",
|
1820
|
+
"parameters": {
|
1821
|
+
"firewall": {
|
1822
|
+
"type": "string",
|
1823
|
+
"description": "Name of the firewall resource to update.",
|
1824
|
+
"required": true,
|
1825
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
1826
|
+
"location": "path"
|
1827
|
+
},
|
1828
|
+
"project": {
|
1829
|
+
"type": "string",
|
1830
|
+
"description": "Name of the project scoping this request.",
|
1831
|
+
"required": true,
|
1832
|
+
"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])?))",
|
1833
|
+
"location": "path"
|
1834
|
+
}
|
1835
|
+
},
|
1836
|
+
"parameterOrder": [
|
1837
|
+
"project",
|
1838
|
+
"firewall"
|
1839
|
+
],
|
1840
|
+
"request": {
|
1841
|
+
"$ref": "Firewall"
|
1842
|
+
},
|
1843
|
+
"response": {
|
1844
|
+
"$ref": "Operation"
|
1845
|
+
},
|
1846
|
+
"scopes": [
|
1847
|
+
"https://www.googleapis.com/auth/compute"
|
1848
|
+
]
|
1849
|
+
},
|
1850
|
+
"update": {
|
1851
|
+
"id": "compute.firewalls.update",
|
1852
|
+
"path": "{project}/global/firewalls/{firewall}",
|
1853
|
+
"httpMethod": "PUT",
|
1854
|
+
"description": "Updates the specified firewall resource with the data included in the request.",
|
1855
|
+
"parameters": {
|
1856
|
+
"firewall": {
|
1857
|
+
"type": "string",
|
1858
|
+
"description": "Name of the firewall resource to update.",
|
1859
|
+
"required": true,
|
1860
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
1861
|
+
"location": "path"
|
1862
|
+
},
|
1863
|
+
"project": {
|
1864
|
+
"type": "string",
|
1865
|
+
"description": "Name of the project scoping this request.",
|
1866
|
+
"required": true,
|
1867
|
+
"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])?))",
|
1868
|
+
"location": "path"
|
1869
|
+
}
|
1870
|
+
},
|
1871
|
+
"parameterOrder": [
|
1872
|
+
"project",
|
1873
|
+
"firewall"
|
1874
|
+
],
|
1875
|
+
"request": {
|
1876
|
+
"$ref": "Firewall"
|
1877
|
+
},
|
1878
|
+
"response": {
|
1879
|
+
"$ref": "Operation"
|
1880
|
+
},
|
1881
|
+
"scopes": [
|
1882
|
+
"https://www.googleapis.com/auth/compute"
|
1883
|
+
]
|
1884
|
+
}
|
1885
|
+
}
|
1886
|
+
},
|
1887
|
+
"globalOperations": {
|
1888
|
+
"methods": {
|
1889
|
+
"delete": {
|
1890
|
+
"id": "compute.globalOperations.delete",
|
1891
|
+
"path": "{project}/global/operations/{operation}",
|
1892
|
+
"httpMethod": "DELETE",
|
1893
|
+
"description": "Deletes the specified operation resource.",
|
1894
|
+
"parameters": {
|
1895
|
+
"operation": {
|
1896
|
+
"type": "string",
|
1897
|
+
"description": "Name of the operation resource to delete.",
|
1898
|
+
"required": true,
|
1899
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
1900
|
+
"location": "path"
|
1901
|
+
},
|
1902
|
+
"project": {
|
1903
|
+
"type": "string",
|
1904
|
+
"description": "Name of the project scoping this request.",
|
1905
|
+
"required": true,
|
1906
|
+
"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])?))",
|
1907
|
+
"location": "path"
|
1908
|
+
}
|
1909
|
+
},
|
1910
|
+
"parameterOrder": [
|
1911
|
+
"project",
|
1912
|
+
"operation"
|
1913
|
+
],
|
1914
|
+
"scopes": [
|
1915
|
+
"https://www.googleapis.com/auth/compute"
|
1916
|
+
]
|
1917
|
+
},
|
1918
|
+
"get": {
|
1919
|
+
"id": "compute.globalOperations.get",
|
1920
|
+
"path": "{project}/global/operations/{operation}",
|
1921
|
+
"httpMethod": "GET",
|
1922
|
+
"description": "Retrieves the specified operation resource.",
|
1923
|
+
"parameters": {
|
1924
|
+
"operation": {
|
1925
|
+
"type": "string",
|
1926
|
+
"description": "Name of the operation resource to return.",
|
1927
|
+
"required": true,
|
1928
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
1929
|
+
"location": "path"
|
1930
|
+
},
|
1931
|
+
"project": {
|
1932
|
+
"type": "string",
|
1933
|
+
"description": "Name of the project scoping this request.",
|
1934
|
+
"required": true,
|
1935
|
+
"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])?))",
|
1936
|
+
"location": "path"
|
1937
|
+
}
|
1938
|
+
},
|
1939
|
+
"parameterOrder": [
|
1940
|
+
"project",
|
1941
|
+
"operation"
|
1942
|
+
],
|
1943
|
+
"response": {
|
1944
|
+
"$ref": "Operation"
|
1945
|
+
},
|
1946
|
+
"scopes": [
|
1947
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
1948
|
+
]
|
1949
|
+
},
|
1950
|
+
"list": {
|
1951
|
+
"id": "compute.globalOperations.list",
|
1952
|
+
"path": "{project}/global/operations",
|
1953
|
+
"httpMethod": "GET",
|
1954
|
+
"description": "Retrieves the list of operation resources contained within the specified project.",
|
1955
|
+
"parameters": {
|
1956
|
+
"filter": {
|
1957
|
+
"type": "string",
|
1958
|
+
"description": "Optional. Filter expression for filtering listed resources.",
|
1959
|
+
"location": "query"
|
1960
|
+
},
|
1961
|
+
"maxResults": {
|
1962
|
+
"type": "integer",
|
1963
|
+
"description": "Optional. Maximum count of results to be returned. Maximum and default value is 100.",
|
1964
|
+
"default": "100",
|
1965
|
+
"format": "uint32",
|
1966
|
+
"minimum": "0",
|
1967
|
+
"maximum": "100",
|
1968
|
+
"location": "query"
|
1969
|
+
},
|
1970
|
+
"pageToken": {
|
1971
|
+
"type": "string",
|
1972
|
+
"description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.",
|
1973
|
+
"location": "query"
|
1974
|
+
},
|
1975
|
+
"project": {
|
1976
|
+
"type": "string",
|
1977
|
+
"description": "Name of the project scoping this request.",
|
1978
|
+
"required": true,
|
1979
|
+
"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])?))",
|
1980
|
+
"location": "path"
|
1981
|
+
}
|
1982
|
+
},
|
1983
|
+
"parameterOrder": [
|
1984
|
+
"project"
|
1985
|
+
],
|
1986
|
+
"response": {
|
1987
|
+
"$ref": "OperationList"
|
1988
|
+
},
|
1989
|
+
"scopes": [
|
1990
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
1991
|
+
]
|
1992
|
+
}
|
1993
|
+
}
|
1994
|
+
},
|
1995
|
+
"images": {
|
1996
|
+
"methods": {
|
1997
|
+
"delete": {
|
1998
|
+
"id": "compute.images.delete",
|
1999
|
+
"path": "{project}/global/images/{image}",
|
2000
|
+
"httpMethod": "DELETE",
|
2001
|
+
"description": "Deletes the specified image resource.",
|
2002
|
+
"parameters": {
|
2003
|
+
"image": {
|
2004
|
+
"type": "string",
|
2005
|
+
"description": "Name of the image resource to delete.",
|
2006
|
+
"required": true,
|
2007
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2008
|
+
"location": "path"
|
2009
|
+
},
|
2010
|
+
"project": {
|
2011
|
+
"type": "string",
|
2012
|
+
"description": "Name of the project scoping this request.",
|
2013
|
+
"required": true,
|
2014
|
+
"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])?))",
|
2015
|
+
"location": "path"
|
2016
|
+
}
|
2017
|
+
},
|
2018
|
+
"parameterOrder": [
|
2019
|
+
"project",
|
2020
|
+
"image"
|
2021
|
+
],
|
2022
|
+
"response": {
|
2023
|
+
"$ref": "Operation"
|
2024
|
+
},
|
2025
|
+
"scopes": [
|
2026
|
+
"https://www.googleapis.com/auth/compute"
|
2027
|
+
]
|
2028
|
+
},
|
2029
|
+
"deprecate": {
|
2030
|
+
"id": "compute.images.deprecate",
|
2031
|
+
"path": "{project}/global/images/{image}/deprecate",
|
2032
|
+
"httpMethod": "POST",
|
2033
|
+
"description": "Sets the deprecation status of an image. If no message body is given, clears the deprecation status instead.",
|
2034
|
+
"parameters": {
|
2035
|
+
"image": {
|
2036
|
+
"type": "string",
|
2037
|
+
"description": "Image name.",
|
2038
|
+
"required": true,
|
2039
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2040
|
+
"location": "path"
|
2041
|
+
},
|
2042
|
+
"project": {
|
2043
|
+
"type": "string",
|
2044
|
+
"description": "Name of the project scoping this request.",
|
2045
|
+
"required": true,
|
2046
|
+
"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])?))",
|
2047
|
+
"location": "path"
|
2048
|
+
}
|
2049
|
+
},
|
2050
|
+
"parameterOrder": [
|
2051
|
+
"project",
|
2052
|
+
"image"
|
2053
|
+
],
|
2054
|
+
"request": {
|
2055
|
+
"$ref": "DeprecationStatus"
|
2056
|
+
},
|
2057
|
+
"response": {
|
2058
|
+
"$ref": "Operation"
|
2059
|
+
},
|
2060
|
+
"scopes": [
|
2061
|
+
"https://www.googleapis.com/auth/compute"
|
2062
|
+
]
|
2063
|
+
},
|
2064
|
+
"get": {
|
2065
|
+
"id": "compute.images.get",
|
2066
|
+
"path": "{project}/global/images/{image}",
|
2067
|
+
"httpMethod": "GET",
|
2068
|
+
"description": "Returns the specified image resource.",
|
2069
|
+
"parameters": {
|
2070
|
+
"image": {
|
2071
|
+
"type": "string",
|
2072
|
+
"description": "Name of the image resource to return.",
|
2073
|
+
"required": true,
|
2074
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2075
|
+
"location": "path"
|
2076
|
+
},
|
2077
|
+
"project": {
|
2078
|
+
"type": "string",
|
2079
|
+
"description": "Name of the project scoping this request.",
|
2080
|
+
"required": true,
|
2081
|
+
"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])?))",
|
2082
|
+
"location": "path"
|
2083
|
+
}
|
2084
|
+
},
|
2085
|
+
"parameterOrder": [
|
2086
|
+
"project",
|
2087
|
+
"image"
|
2088
|
+
],
|
2089
|
+
"response": {
|
2090
|
+
"$ref": "Image"
|
2091
|
+
},
|
2092
|
+
"scopes": [
|
2093
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
2094
|
+
]
|
2095
|
+
},
|
2096
|
+
"insert": {
|
2097
|
+
"id": "compute.images.insert",
|
2098
|
+
"path": "{project}/global/images",
|
2099
|
+
"httpMethod": "POST",
|
2100
|
+
"description": "Creates an image resource in the specified project using the data included in the request.",
|
2101
|
+
"parameters": {
|
2102
|
+
"project": {
|
2103
|
+
"type": "string",
|
2104
|
+
"description": "Name of the project scoping this request.",
|
2105
|
+
"required": true,
|
2106
|
+
"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])?))",
|
2107
|
+
"location": "path"
|
2108
|
+
}
|
2109
|
+
},
|
2110
|
+
"parameterOrder": [
|
2111
|
+
"project"
|
2112
|
+
],
|
2113
|
+
"request": {
|
2114
|
+
"$ref": "Image"
|
2115
|
+
},
|
2116
|
+
"response": {
|
2117
|
+
"$ref": "Operation"
|
2118
|
+
},
|
2119
|
+
"scopes": [
|
2120
|
+
"https://www.googleapis.com/auth/compute",
|
2121
|
+
"https://www.googleapis.com/auth/devstorage.read_only"
|
2122
|
+
]
|
2123
|
+
},
|
2124
|
+
"list": {
|
2125
|
+
"id": "compute.images.list",
|
2126
|
+
"path": "{project}/global/images",
|
2127
|
+
"httpMethod": "GET",
|
2128
|
+
"description": "Retrieves the list of image resources available to the specified project.",
|
2129
|
+
"parameters": {
|
2130
|
+
"filter": {
|
2131
|
+
"type": "string",
|
2132
|
+
"description": "Optional. Filter expression for filtering listed resources.",
|
2133
|
+
"location": "query"
|
2134
|
+
},
|
2135
|
+
"maxResults": {
|
2136
|
+
"type": "integer",
|
2137
|
+
"description": "Optional. Maximum count of results to be returned. Maximum and default value is 100.",
|
2138
|
+
"default": "100",
|
2139
|
+
"format": "uint32",
|
2140
|
+
"minimum": "0",
|
2141
|
+
"maximum": "100",
|
2142
|
+
"location": "query"
|
2143
|
+
},
|
2144
|
+
"pageToken": {
|
2145
|
+
"type": "string",
|
2146
|
+
"description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.",
|
2147
|
+
"location": "query"
|
2148
|
+
},
|
2149
|
+
"project": {
|
2150
|
+
"type": "string",
|
2151
|
+
"description": "Name of the project scoping this request.",
|
2152
|
+
"required": true,
|
2153
|
+
"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])?))",
|
2154
|
+
"location": "path"
|
2155
|
+
}
|
2156
|
+
},
|
2157
|
+
"parameterOrder": [
|
2158
|
+
"project"
|
2159
|
+
],
|
2160
|
+
"response": {
|
2161
|
+
"$ref": "ImageList"
|
2162
|
+
},
|
2163
|
+
"scopes": [
|
2164
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
2165
|
+
]
|
2166
|
+
}
|
2167
|
+
}
|
2168
|
+
},
|
2169
|
+
"instances": {
|
2170
|
+
"methods": {
|
2171
|
+
"addAccessConfig": {
|
2172
|
+
"id": "compute.instances.addAccessConfig",
|
2173
|
+
"path": "{project}/zones/{zone}/instances/{instance}/addAccessConfig",
|
2174
|
+
"httpMethod": "POST",
|
2175
|
+
"description": "Adds an access config to an instance's network interface.",
|
2176
|
+
"parameters": {
|
2177
|
+
"instance": {
|
2178
|
+
"type": "string",
|
2179
|
+
"description": "Instance name.",
|
2180
|
+
"required": true,
|
2181
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2182
|
+
"location": "path"
|
2183
|
+
},
|
2184
|
+
"network_interface": {
|
2185
|
+
"type": "string",
|
2186
|
+
"description": "Network interface name.",
|
2187
|
+
"required": true,
|
2188
|
+
"location": "query"
|
2189
|
+
},
|
2190
|
+
"project": {
|
2191
|
+
"type": "string",
|
2192
|
+
"description": "Project name.",
|
2193
|
+
"required": true,
|
2194
|
+
"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])?))",
|
2195
|
+
"location": "path"
|
2196
|
+
},
|
2197
|
+
"zone": {
|
2198
|
+
"type": "string",
|
2199
|
+
"description": "Name of the zone scoping this request.",
|
2200
|
+
"required": true,
|
2201
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2202
|
+
"location": "path"
|
2203
|
+
}
|
2204
|
+
},
|
2205
|
+
"parameterOrder": [
|
2206
|
+
"project",
|
2207
|
+
"zone",
|
2208
|
+
"instance",
|
2209
|
+
"network_interface"
|
2210
|
+
],
|
2211
|
+
"request": {
|
2212
|
+
"$ref": "AccessConfig"
|
2213
|
+
},
|
2214
|
+
"response": {
|
2215
|
+
"$ref": "Operation"
|
2216
|
+
},
|
2217
|
+
"scopes": [
|
2218
|
+
"https://www.googleapis.com/auth/compute"
|
2219
|
+
]
|
2220
|
+
},
|
2221
|
+
"attachDisk": {
|
2222
|
+
"id": "compute.instances.attachDisk",
|
2223
|
+
"path": "{project}/zones/{zone}/instances/{instance}/attachDisk",
|
2224
|
+
"httpMethod": "POST",
|
2225
|
+
"description": "Attaches a disk resource to an instance.",
|
2226
|
+
"parameters": {
|
2227
|
+
"instance": {
|
2228
|
+
"type": "string",
|
2229
|
+
"description": "Instance name.",
|
2230
|
+
"required": true,
|
2231
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2232
|
+
"location": "path"
|
2233
|
+
},
|
2234
|
+
"project": {
|
2235
|
+
"type": "string",
|
2236
|
+
"description": "Project name.",
|
2237
|
+
"required": true,
|
2238
|
+
"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])?))",
|
2239
|
+
"location": "path"
|
2240
|
+
},
|
2241
|
+
"zone": {
|
2242
|
+
"type": "string",
|
2243
|
+
"description": "Name of the zone scoping this request.",
|
2244
|
+
"required": true,
|
2245
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2246
|
+
"location": "path"
|
2247
|
+
}
|
2248
|
+
},
|
2249
|
+
"parameterOrder": [
|
2250
|
+
"project",
|
2251
|
+
"zone",
|
2252
|
+
"instance"
|
2253
|
+
],
|
2254
|
+
"request": {
|
2255
|
+
"$ref": "AttachedDisk"
|
2256
|
+
},
|
2257
|
+
"response": {
|
2258
|
+
"$ref": "Operation"
|
2259
|
+
},
|
2260
|
+
"scopes": [
|
2261
|
+
"https://www.googleapis.com/auth/compute"
|
2262
|
+
]
|
2263
|
+
},
|
2264
|
+
"delete": {
|
2265
|
+
"id": "compute.instances.delete",
|
2266
|
+
"path": "{project}/zones/{zone}/instances/{instance}",
|
2267
|
+
"httpMethod": "DELETE",
|
2268
|
+
"description": "Deletes the specified instance resource.",
|
2269
|
+
"parameters": {
|
2270
|
+
"instance": {
|
2271
|
+
"type": "string",
|
2272
|
+
"description": "Name of the instance resource to delete.",
|
2273
|
+
"required": true,
|
2274
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2275
|
+
"location": "path"
|
2276
|
+
},
|
2277
|
+
"project": {
|
2278
|
+
"type": "string",
|
2279
|
+
"description": "Name of the project scoping this request.",
|
2280
|
+
"required": true,
|
2281
|
+
"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])?))",
|
2282
|
+
"location": "path"
|
2283
|
+
},
|
2284
|
+
"zone": {
|
2285
|
+
"type": "string",
|
2286
|
+
"description": "Name of the zone scoping this request.",
|
2287
|
+
"required": true,
|
2288
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2289
|
+
"location": "path"
|
2290
|
+
}
|
2291
|
+
},
|
2292
|
+
"parameterOrder": [
|
2293
|
+
"project",
|
2294
|
+
"zone",
|
2295
|
+
"instance"
|
2296
|
+
],
|
2297
|
+
"response": {
|
2298
|
+
"$ref": "Operation"
|
2299
|
+
},
|
2300
|
+
"scopes": [
|
2301
|
+
"https://www.googleapis.com/auth/compute"
|
2302
|
+
]
|
2303
|
+
},
|
2304
|
+
"deleteAccessConfig": {
|
2305
|
+
"id": "compute.instances.deleteAccessConfig",
|
2306
|
+
"path": "{project}/zones/{zone}/instances/{instance}/deleteAccessConfig",
|
2307
|
+
"httpMethod": "POST",
|
2308
|
+
"description": "Deletes an access config from an instance's network interface.",
|
2309
|
+
"parameters": {
|
2310
|
+
"access_config": {
|
2311
|
+
"type": "string",
|
2312
|
+
"description": "Access config name.",
|
2313
|
+
"required": true,
|
2314
|
+
"location": "query"
|
2315
|
+
},
|
2316
|
+
"instance": {
|
2317
|
+
"type": "string",
|
2318
|
+
"description": "Instance name.",
|
2319
|
+
"required": true,
|
2320
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2321
|
+
"location": "path"
|
2322
|
+
},
|
2323
|
+
"network_interface": {
|
2324
|
+
"type": "string",
|
2325
|
+
"description": "Network interface name.",
|
2326
|
+
"required": true,
|
2327
|
+
"location": "query"
|
2328
|
+
},
|
2329
|
+
"project": {
|
2330
|
+
"type": "string",
|
2331
|
+
"description": "Project name.",
|
2332
|
+
"required": true,
|
2333
|
+
"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])?))",
|
2334
|
+
"location": "path"
|
2335
|
+
},
|
2336
|
+
"zone": {
|
2337
|
+
"type": "string",
|
2338
|
+
"description": "Name of the zone scoping this request.",
|
2339
|
+
"required": true,
|
2340
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2341
|
+
"location": "path"
|
2342
|
+
}
|
2343
|
+
},
|
2344
|
+
"parameterOrder": [
|
2345
|
+
"project",
|
2346
|
+
"zone",
|
2347
|
+
"instance",
|
2348
|
+
"access_config",
|
2349
|
+
"network_interface"
|
2350
|
+
],
|
2351
|
+
"response": {
|
2352
|
+
"$ref": "Operation"
|
2353
|
+
},
|
2354
|
+
"scopes": [
|
2355
|
+
"https://www.googleapis.com/auth/compute"
|
2356
|
+
]
|
2357
|
+
},
|
2358
|
+
"detachDisk": {
|
2359
|
+
"id": "compute.instances.detachDisk",
|
2360
|
+
"path": "{project}/zones/{zone}/instances/{instance}/detachDisk",
|
2361
|
+
"httpMethod": "POST",
|
2362
|
+
"description": "Detaches a disk from an instance.",
|
2363
|
+
"parameters": {
|
2364
|
+
"disk": {
|
2365
|
+
"type": "string",
|
2366
|
+
"description": "Disk device name.",
|
2367
|
+
"required": true,
|
2368
|
+
"pattern": "\\w[\\w.-]{0,254}",
|
2369
|
+
"location": "query"
|
2370
|
+
},
|
2371
|
+
"instance": {
|
2372
|
+
"type": "string",
|
2373
|
+
"description": "Instance name.",
|
2374
|
+
"required": true,
|
2375
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2376
|
+
"location": "path"
|
2377
|
+
},
|
2378
|
+
"project": {
|
2379
|
+
"type": "string",
|
2380
|
+
"description": "Project name.",
|
2381
|
+
"required": true,
|
2382
|
+
"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])?))",
|
2383
|
+
"location": "path"
|
2384
|
+
},
|
2385
|
+
"zone": {
|
2386
|
+
"type": "string",
|
2387
|
+
"description": "Name of the zone scoping this request.",
|
2388
|
+
"required": true,
|
2389
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2390
|
+
"location": "path"
|
2391
|
+
}
|
2392
|
+
},
|
2393
|
+
"parameterOrder": [
|
2394
|
+
"project",
|
2395
|
+
"zone",
|
2396
|
+
"instance",
|
2397
|
+
"disk"
|
2398
|
+
],
|
2399
|
+
"response": {
|
2400
|
+
"$ref": "Operation"
|
2401
|
+
},
|
2402
|
+
"scopes": [
|
2403
|
+
"https://www.googleapis.com/auth/compute"
|
2404
|
+
]
|
2405
|
+
},
|
2406
|
+
"get": {
|
2407
|
+
"id": "compute.instances.get",
|
2408
|
+
"path": "{project}/zones/{zone}/instances/{instance}",
|
2409
|
+
"httpMethod": "GET",
|
2410
|
+
"description": "Returns the specified instance resource.",
|
2411
|
+
"parameters": {
|
2412
|
+
"instance": {
|
2413
|
+
"type": "string",
|
2414
|
+
"description": "Name of the instance resource to return.",
|
2415
|
+
"required": true,
|
2416
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2417
|
+
"location": "path"
|
2418
|
+
},
|
2419
|
+
"project": {
|
2420
|
+
"type": "string",
|
2421
|
+
"description": "Name of the project scoping this request.",
|
2422
|
+
"required": true,
|
2423
|
+
"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])?))",
|
2424
|
+
"location": "path"
|
2425
|
+
},
|
2426
|
+
"zone": {
|
2427
|
+
"type": "string",
|
2428
|
+
"description": "Name of the zone scoping this request.",
|
2429
|
+
"required": true,
|
2430
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2431
|
+
"location": "path"
|
2432
|
+
}
|
2433
|
+
},
|
2434
|
+
"parameterOrder": [
|
2435
|
+
"project",
|
2436
|
+
"zone",
|
2437
|
+
"instance"
|
2438
|
+
],
|
2439
|
+
"response": {
|
2440
|
+
"$ref": "Instance"
|
2441
|
+
},
|
2442
|
+
"scopes": [
|
2443
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
2444
|
+
]
|
2445
|
+
},
|
2446
|
+
"getSerialPortOutput": {
|
2447
|
+
"id": "compute.instances.getSerialPortOutput",
|
2448
|
+
"path": "{project}/zones/{zone}/instances/{instance}/serialPort",
|
2449
|
+
"httpMethod": "GET",
|
2450
|
+
"description": "Returns the specified instance's serial port output.",
|
2451
|
+
"parameters": {
|
2452
|
+
"instance": {
|
2453
|
+
"type": "string",
|
2454
|
+
"description": "Name of the instance scoping this request.",
|
2455
|
+
"required": true,
|
2456
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2457
|
+
"location": "path"
|
2458
|
+
},
|
2459
|
+
"project": {
|
2460
|
+
"type": "string",
|
2461
|
+
"description": "Name of the project scoping this request.",
|
2462
|
+
"required": true,
|
2463
|
+
"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])?))",
|
2464
|
+
"location": "path"
|
2465
|
+
},
|
2466
|
+
"zone": {
|
2467
|
+
"type": "string",
|
2468
|
+
"description": "Name of the zone scoping this request.",
|
2469
|
+
"required": true,
|
2470
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2471
|
+
"location": "path"
|
2472
|
+
}
|
2473
|
+
},
|
2474
|
+
"parameterOrder": [
|
2475
|
+
"project",
|
2476
|
+
"zone",
|
2477
|
+
"instance"
|
2478
|
+
],
|
2479
|
+
"response": {
|
2480
|
+
"$ref": "SerialPortOutput"
|
2481
|
+
},
|
2482
|
+
"scopes": [
|
2483
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
2484
|
+
]
|
2485
|
+
},
|
2486
|
+
"insert": {
|
2487
|
+
"id": "compute.instances.insert",
|
2488
|
+
"path": "{project}/zones/{zone}/instances",
|
2489
|
+
"httpMethod": "POST",
|
2490
|
+
"description": "Creates an instance resource in the specified project using the data included in the request.",
|
2491
|
+
"parameters": {
|
2492
|
+
"project": {
|
2493
|
+
"type": "string",
|
2494
|
+
"description": "Name of the project scoping this request.",
|
2495
|
+
"required": true,
|
2496
|
+
"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])?))",
|
2497
|
+
"location": "path"
|
2498
|
+
},
|
2499
|
+
"zone": {
|
2500
|
+
"type": "string",
|
2501
|
+
"description": "Name of the zone scoping this request.",
|
2502
|
+
"required": true,
|
2503
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2504
|
+
"location": "path"
|
2505
|
+
}
|
2506
|
+
},
|
2507
|
+
"parameterOrder": [
|
2508
|
+
"project",
|
2509
|
+
"zone"
|
2510
|
+
],
|
2511
|
+
"request": {
|
2512
|
+
"$ref": "Instance"
|
2513
|
+
},
|
2514
|
+
"response": {
|
2515
|
+
"$ref": "Operation"
|
2516
|
+
},
|
2517
|
+
"scopes": [
|
2518
|
+
"https://www.googleapis.com/auth/compute"
|
2519
|
+
]
|
2520
|
+
},
|
2521
|
+
"list": {
|
2522
|
+
"id": "compute.instances.list",
|
2523
|
+
"path": "{project}/zones/{zone}/instances",
|
2524
|
+
"httpMethod": "GET",
|
2525
|
+
"description": "Retrieves the list of instance resources contained within the specified zone.",
|
2526
|
+
"parameters": {
|
2527
|
+
"filter": {
|
2528
|
+
"type": "string",
|
2529
|
+
"description": "Optional. Filter expression for filtering listed resources.",
|
2530
|
+
"location": "query"
|
2531
|
+
},
|
2532
|
+
"maxResults": {
|
2533
|
+
"type": "integer",
|
2534
|
+
"description": "Optional. Maximum count of results to be returned. Maximum and default value is 100.",
|
2535
|
+
"default": "100",
|
2536
|
+
"format": "uint32",
|
2537
|
+
"minimum": "0",
|
2538
|
+
"maximum": "100",
|
2539
|
+
"location": "query"
|
2540
|
+
},
|
2541
|
+
"pageToken": {
|
2542
|
+
"type": "string",
|
2543
|
+
"description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.",
|
2544
|
+
"location": "query"
|
2545
|
+
},
|
2546
|
+
"project": {
|
2547
|
+
"type": "string",
|
2548
|
+
"description": "Name of the project scoping this request.",
|
2549
|
+
"required": true,
|
2550
|
+
"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])?))",
|
2551
|
+
"location": "path"
|
2552
|
+
},
|
2553
|
+
"zone": {
|
2554
|
+
"type": "string",
|
2555
|
+
"description": "Name of the zone scoping this request.",
|
2556
|
+
"required": true,
|
2557
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2558
|
+
"location": "path"
|
2559
|
+
}
|
2560
|
+
},
|
2561
|
+
"parameterOrder": [
|
2562
|
+
"project",
|
2563
|
+
"zone"
|
2564
|
+
],
|
2565
|
+
"response": {
|
2566
|
+
"$ref": "InstanceList"
|
2567
|
+
},
|
2568
|
+
"scopes": [
|
2569
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
2570
|
+
]
|
2571
|
+
},
|
2572
|
+
"setMetadata": {
|
2573
|
+
"id": "compute.instances.setMetadata",
|
2574
|
+
"path": "{project}/zones/{zone}/instances/{instance}/setMetadata",
|
2575
|
+
"httpMethod": "POST",
|
2576
|
+
"description": "Sets metadata for the specified instance to the data included in the request.",
|
2577
|
+
"parameters": {
|
2578
|
+
"instance": {
|
2579
|
+
"type": "string",
|
2580
|
+
"description": "Name of the instance scoping this request.",
|
2581
|
+
"required": true,
|
2582
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2583
|
+
"location": "path"
|
2584
|
+
},
|
2585
|
+
"project": {
|
2586
|
+
"type": "string",
|
2587
|
+
"description": "Name of the project scoping this request.",
|
2588
|
+
"required": true,
|
2589
|
+
"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])?))",
|
2590
|
+
"location": "path"
|
2591
|
+
},
|
2592
|
+
"zone": {
|
2593
|
+
"type": "string",
|
2594
|
+
"description": "Name of the zone scoping this request.",
|
2595
|
+
"required": true,
|
2596
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2597
|
+
"location": "path"
|
2598
|
+
}
|
2599
|
+
},
|
2600
|
+
"parameterOrder": [
|
2601
|
+
"project",
|
2602
|
+
"zone",
|
2603
|
+
"instance"
|
2604
|
+
],
|
2605
|
+
"request": {
|
2606
|
+
"$ref": "Metadata"
|
2607
|
+
},
|
2608
|
+
"response": {
|
2609
|
+
"$ref": "Operation"
|
2610
|
+
},
|
2611
|
+
"scopes": [
|
2612
|
+
"https://www.googleapis.com/auth/compute"
|
2613
|
+
]
|
2614
|
+
},
|
2615
|
+
"setTags": {
|
2616
|
+
"id": "compute.instances.setTags",
|
2617
|
+
"path": "{project}/zones/{zone}/instances/{instance}/setTags",
|
2618
|
+
"httpMethod": "POST",
|
2619
|
+
"description": "Sets tags for the specified instance to the data included in the request.",
|
2620
|
+
"parameters": {
|
2621
|
+
"instance": {
|
2622
|
+
"type": "string",
|
2623
|
+
"description": "Name of the instance scoping this request.",
|
2624
|
+
"required": true,
|
2625
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2626
|
+
"location": "path"
|
2627
|
+
},
|
2628
|
+
"project": {
|
2629
|
+
"type": "string",
|
2630
|
+
"description": "Name of the project scoping this request.",
|
2631
|
+
"required": true,
|
2632
|
+
"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])?))",
|
2633
|
+
"location": "path"
|
2634
|
+
},
|
2635
|
+
"zone": {
|
2636
|
+
"type": "string",
|
2637
|
+
"description": "Name of the zone scoping this request.",
|
2638
|
+
"required": true,
|
2639
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2640
|
+
"location": "path"
|
2641
|
+
}
|
2642
|
+
},
|
2643
|
+
"parameterOrder": [
|
2644
|
+
"project",
|
2645
|
+
"zone",
|
2646
|
+
"instance"
|
2647
|
+
],
|
2648
|
+
"request": {
|
2649
|
+
"$ref": "Tags"
|
2650
|
+
},
|
2651
|
+
"response": {
|
2652
|
+
"$ref": "Operation"
|
2653
|
+
},
|
2654
|
+
"scopes": [
|
2655
|
+
"https://www.googleapis.com/auth/compute"
|
2656
|
+
]
|
2657
|
+
}
|
2658
|
+
}
|
2659
|
+
},
|
2660
|
+
"kernels": {
|
2661
|
+
"methods": {
|
2662
|
+
"get": {
|
2663
|
+
"id": "compute.kernels.get",
|
2664
|
+
"path": "{project}/global/kernels/{kernel}",
|
2665
|
+
"httpMethod": "GET",
|
2666
|
+
"description": "Returns the specified kernel resource.",
|
2667
|
+
"parameters": {
|
2668
|
+
"kernel": {
|
2669
|
+
"type": "string",
|
2670
|
+
"description": "Name of the kernel resource to return.",
|
2671
|
+
"required": true,
|
2672
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2673
|
+
"location": "path"
|
2674
|
+
},
|
2675
|
+
"project": {
|
2676
|
+
"type": "string",
|
2677
|
+
"description": "Name of the project scoping this request.",
|
2678
|
+
"required": true,
|
2679
|
+
"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])?))",
|
2680
|
+
"location": "path"
|
2681
|
+
}
|
2682
|
+
},
|
2683
|
+
"parameterOrder": [
|
2684
|
+
"project",
|
2685
|
+
"kernel"
|
2686
|
+
],
|
2687
|
+
"response": {
|
2688
|
+
"$ref": "Kernel"
|
2689
|
+
},
|
2690
|
+
"scopes": [
|
2691
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
2692
|
+
]
|
2693
|
+
},
|
2694
|
+
"list": {
|
2695
|
+
"id": "compute.kernels.list",
|
2696
|
+
"path": "{project}/global/kernels",
|
2697
|
+
"httpMethod": "GET",
|
2698
|
+
"description": "Retrieves the list of kernel resources available to the specified project.",
|
2699
|
+
"parameters": {
|
2700
|
+
"filter": {
|
2701
|
+
"type": "string",
|
2702
|
+
"description": "Optional. Filter expression for filtering listed resources.",
|
2703
|
+
"location": "query"
|
2704
|
+
},
|
2705
|
+
"maxResults": {
|
2706
|
+
"type": "integer",
|
2707
|
+
"description": "Optional. Maximum count of results to be returned. Maximum and default value is 100.",
|
2708
|
+
"default": "100",
|
2709
|
+
"format": "uint32",
|
2710
|
+
"minimum": "0",
|
2711
|
+
"maximum": "100",
|
2712
|
+
"location": "query"
|
2713
|
+
},
|
2714
|
+
"pageToken": {
|
2715
|
+
"type": "string",
|
2716
|
+
"description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.",
|
2717
|
+
"location": "query"
|
2718
|
+
},
|
2719
|
+
"project": {
|
2720
|
+
"type": "string",
|
2721
|
+
"description": "Name of the project scoping this request.",
|
2722
|
+
"required": true,
|
2723
|
+
"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])?))",
|
2724
|
+
"location": "path"
|
2725
|
+
}
|
2726
|
+
},
|
2727
|
+
"parameterOrder": [
|
2728
|
+
"project"
|
2729
|
+
],
|
2730
|
+
"response": {
|
2731
|
+
"$ref": "KernelList"
|
2732
|
+
},
|
2733
|
+
"scopes": [
|
2734
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
2735
|
+
]
|
2736
|
+
}
|
2737
|
+
}
|
2738
|
+
},
|
2739
|
+
"machineTypes": {
|
2740
|
+
"methods": {
|
2741
|
+
"get": {
|
2742
|
+
"id": "compute.machineTypes.get",
|
2743
|
+
"path": "{project}/global/machineTypes/{machineType}",
|
2744
|
+
"httpMethod": "GET",
|
2745
|
+
"description": "Returns the specified machine type resource.",
|
2746
|
+
"parameters": {
|
2747
|
+
"machineType": {
|
2748
|
+
"type": "string",
|
2749
|
+
"description": "Name of the machine type resource to return.",
|
2750
|
+
"required": true,
|
2751
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2752
|
+
"location": "path"
|
2753
|
+
},
|
2754
|
+
"project": {
|
2755
|
+
"type": "string",
|
2756
|
+
"description": "Name of the project scoping this request.",
|
2757
|
+
"required": true,
|
2758
|
+
"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])?))",
|
2759
|
+
"location": "path"
|
2760
|
+
}
|
2761
|
+
},
|
2762
|
+
"parameterOrder": [
|
2763
|
+
"project",
|
2764
|
+
"machineType"
|
2765
|
+
],
|
2766
|
+
"response": {
|
2767
|
+
"$ref": "MachineType"
|
2768
|
+
},
|
2769
|
+
"scopes": [
|
2770
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
2771
|
+
]
|
2772
|
+
},
|
2773
|
+
"list": {
|
2774
|
+
"id": "compute.machineTypes.list",
|
2775
|
+
"path": "{project}/global/machineTypes",
|
2776
|
+
"httpMethod": "GET",
|
2777
|
+
"description": "Retrieves the list of machine type resources available to the specified project.",
|
2778
|
+
"parameters": {
|
2779
|
+
"filter": {
|
2780
|
+
"type": "string",
|
2781
|
+
"description": "Optional. Filter expression for filtering listed resources.",
|
2782
|
+
"location": "query"
|
2783
|
+
},
|
2784
|
+
"maxResults": {
|
2785
|
+
"type": "integer",
|
2786
|
+
"description": "Optional. Maximum count of results to be returned. Maximum and default value is 100.",
|
2787
|
+
"default": "100",
|
2788
|
+
"format": "uint32",
|
2789
|
+
"minimum": "0",
|
2790
|
+
"maximum": "100",
|
2791
|
+
"location": "query"
|
2792
|
+
},
|
2793
|
+
"pageToken": {
|
2794
|
+
"type": "string",
|
2795
|
+
"description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.",
|
2796
|
+
"location": "query"
|
2797
|
+
},
|
2798
|
+
"project": {
|
2799
|
+
"type": "string",
|
2800
|
+
"description": "Name of the project scoping this request.",
|
2801
|
+
"required": true,
|
2802
|
+
"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])?))",
|
2803
|
+
"location": "path"
|
2804
|
+
}
|
2805
|
+
},
|
2806
|
+
"parameterOrder": [
|
2807
|
+
"project"
|
2808
|
+
],
|
2809
|
+
"response": {
|
2810
|
+
"$ref": "MachineTypeList"
|
2811
|
+
},
|
2812
|
+
"scopes": [
|
2813
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
2814
|
+
]
|
2815
|
+
}
|
2816
|
+
}
|
2817
|
+
},
|
2818
|
+
"networks": {
|
2819
|
+
"methods": {
|
2820
|
+
"delete": {
|
2821
|
+
"id": "compute.networks.delete",
|
2822
|
+
"path": "{project}/global/networks/{network}",
|
2823
|
+
"httpMethod": "DELETE",
|
2824
|
+
"description": "Deletes the specified network resource.",
|
2825
|
+
"parameters": {
|
2826
|
+
"network": {
|
2827
|
+
"type": "string",
|
2828
|
+
"description": "Name of the network resource to delete.",
|
2829
|
+
"required": true,
|
2830
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2831
|
+
"location": "path"
|
2832
|
+
},
|
2833
|
+
"project": {
|
2834
|
+
"type": "string",
|
2835
|
+
"description": "Name of the project scoping this request.",
|
2836
|
+
"required": true,
|
2837
|
+
"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])?))",
|
2838
|
+
"location": "path"
|
2839
|
+
}
|
2840
|
+
},
|
2841
|
+
"parameterOrder": [
|
2842
|
+
"project",
|
2843
|
+
"network"
|
2844
|
+
],
|
2845
|
+
"response": {
|
2846
|
+
"$ref": "Operation"
|
2847
|
+
},
|
2848
|
+
"scopes": [
|
2849
|
+
"https://www.googleapis.com/auth/compute"
|
2850
|
+
]
|
2851
|
+
},
|
2852
|
+
"get": {
|
2853
|
+
"id": "compute.networks.get",
|
2854
|
+
"path": "{project}/global/networks/{network}",
|
2855
|
+
"httpMethod": "GET",
|
2856
|
+
"description": "Returns the specified network resource.",
|
2857
|
+
"parameters": {
|
2858
|
+
"network": {
|
2859
|
+
"type": "string",
|
2860
|
+
"description": "Name of the network resource to return.",
|
2861
|
+
"required": true,
|
2862
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
2863
|
+
"location": "path"
|
2864
|
+
},
|
2865
|
+
"project": {
|
2866
|
+
"type": "string",
|
2867
|
+
"description": "Name of the project scoping this request.",
|
2868
|
+
"required": true,
|
2869
|
+
"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])?))",
|
2870
|
+
"location": "path"
|
2871
|
+
}
|
2872
|
+
},
|
2873
|
+
"parameterOrder": [
|
2874
|
+
"project",
|
2875
|
+
"network"
|
2876
|
+
],
|
2877
|
+
"response": {
|
2878
|
+
"$ref": "Network"
|
2879
|
+
},
|
2880
|
+
"scopes": [
|
2881
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
2882
|
+
]
|
2883
|
+
},
|
2884
|
+
"insert": {
|
2885
|
+
"id": "compute.networks.insert",
|
2886
|
+
"path": "{project}/global/networks",
|
2887
|
+
"httpMethod": "POST",
|
2888
|
+
"description": "Creates a network resource in the specified project using the data included in the request.",
|
2889
|
+
"parameters": {
|
2890
|
+
"project": {
|
2891
|
+
"type": "string",
|
2892
|
+
"description": "Name of the project scoping this request.",
|
2893
|
+
"required": true,
|
2894
|
+
"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])?))",
|
2895
|
+
"location": "path"
|
2896
|
+
}
|
2897
|
+
},
|
2898
|
+
"parameterOrder": [
|
2899
|
+
"project"
|
2900
|
+
],
|
2901
|
+
"request": {
|
2902
|
+
"$ref": "Network"
|
2903
|
+
},
|
2904
|
+
"response": {
|
2905
|
+
"$ref": "Operation"
|
2906
|
+
},
|
2907
|
+
"scopes": [
|
2908
|
+
"https://www.googleapis.com/auth/compute"
|
2909
|
+
]
|
2910
|
+
},
|
2911
|
+
"list": {
|
2912
|
+
"id": "compute.networks.list",
|
2913
|
+
"path": "{project}/global/networks",
|
2914
|
+
"httpMethod": "GET",
|
2915
|
+
"description": "Retrieves the list of network resources available to the specified project.",
|
2916
|
+
"parameters": {
|
2917
|
+
"filter": {
|
2918
|
+
"type": "string",
|
2919
|
+
"description": "Optional. Filter expression for filtering listed resources.",
|
2920
|
+
"location": "query"
|
2921
|
+
},
|
2922
|
+
"maxResults": {
|
2923
|
+
"type": "integer",
|
2924
|
+
"description": "Optional. Maximum count of results to be returned. Maximum and default value is 100.",
|
2925
|
+
"default": "100",
|
2926
|
+
"format": "uint32",
|
2927
|
+
"minimum": "0",
|
2928
|
+
"maximum": "100",
|
2929
|
+
"location": "query"
|
2930
|
+
},
|
2931
|
+
"pageToken": {
|
2932
|
+
"type": "string",
|
2933
|
+
"description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.",
|
2934
|
+
"location": "query"
|
2935
|
+
},
|
2936
|
+
"project": {
|
2937
|
+
"type": "string",
|
2938
|
+
"description": "Name of the project scoping this request.",
|
2939
|
+
"required": true,
|
2940
|
+
"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])?))",
|
2941
|
+
"location": "path"
|
2942
|
+
}
|
2943
|
+
},
|
2944
|
+
"parameterOrder": [
|
2945
|
+
"project"
|
2946
|
+
],
|
2947
|
+
"response": {
|
2948
|
+
"$ref": "NetworkList"
|
2949
|
+
},
|
2950
|
+
"scopes": [
|
2951
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
2952
|
+
]
|
2953
|
+
}
|
2954
|
+
}
|
2955
|
+
},
|
2956
|
+
"projects": {
|
2957
|
+
"methods": {
|
2958
|
+
"get": {
|
2959
|
+
"id": "compute.projects.get",
|
2960
|
+
"path": "{project}",
|
2961
|
+
"httpMethod": "GET",
|
2962
|
+
"description": "Returns the specified project resource.",
|
2963
|
+
"parameters": {
|
2964
|
+
"project": {
|
2965
|
+
"type": "string",
|
2966
|
+
"description": "Name of the project resource to retrieve.",
|
2967
|
+
"required": true,
|
2968
|
+
"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])?))",
|
2969
|
+
"location": "path"
|
2970
|
+
}
|
2971
|
+
},
|
2972
|
+
"parameterOrder": [
|
2973
|
+
"project"
|
2974
|
+
],
|
2975
|
+
"response": {
|
2976
|
+
"$ref": "Project"
|
2977
|
+
},
|
2978
|
+
"scopes": [
|
2979
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
2980
|
+
]
|
2981
|
+
},
|
2982
|
+
"setCommonInstanceMetadata": {
|
2983
|
+
"id": "compute.projects.setCommonInstanceMetadata",
|
2984
|
+
"path": "{project}/setCommonInstanceMetadata",
|
2985
|
+
"httpMethod": "POST",
|
2986
|
+
"description": "Sets metadata common to all instances within the specified project using the data included in the request.",
|
2987
|
+
"parameters": {
|
2988
|
+
"project": {
|
2989
|
+
"type": "string",
|
2990
|
+
"description": "Name of the project scoping this request.",
|
2991
|
+
"required": true,
|
2992
|
+
"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])?))",
|
2993
|
+
"location": "path"
|
2994
|
+
}
|
2995
|
+
},
|
2996
|
+
"parameterOrder": [
|
2997
|
+
"project"
|
2998
|
+
],
|
2999
|
+
"request": {
|
3000
|
+
"$ref": "Metadata"
|
3001
|
+
},
|
3002
|
+
"response": {
|
3003
|
+
"$ref": "Operation"
|
3004
|
+
},
|
3005
|
+
"scopes": [
|
3006
|
+
"https://www.googleapis.com/auth/compute"
|
3007
|
+
]
|
3008
|
+
}
|
3009
|
+
}
|
3010
|
+
},
|
3011
|
+
"snapshots": {
|
3012
|
+
"methods": {
|
3013
|
+
"delete": {
|
3014
|
+
"id": "compute.snapshots.delete",
|
3015
|
+
"path": "{project}/global/snapshots/{snapshot}",
|
3016
|
+
"httpMethod": "DELETE",
|
3017
|
+
"description": "Deletes the specified persistent disk snapshot resource.",
|
3018
|
+
"parameters": {
|
3019
|
+
"project": {
|
3020
|
+
"type": "string",
|
3021
|
+
"description": "Name of the project scoping this request.",
|
3022
|
+
"required": true,
|
3023
|
+
"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])?))",
|
3024
|
+
"location": "path"
|
3025
|
+
},
|
3026
|
+
"snapshot": {
|
3027
|
+
"type": "string",
|
3028
|
+
"description": "Name of the persistent disk snapshot resource to delete.",
|
3029
|
+
"required": true,
|
3030
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
3031
|
+
"location": "path"
|
3032
|
+
}
|
3033
|
+
},
|
3034
|
+
"parameterOrder": [
|
3035
|
+
"project",
|
3036
|
+
"snapshot"
|
3037
|
+
],
|
3038
|
+
"response": {
|
3039
|
+
"$ref": "Operation"
|
3040
|
+
},
|
3041
|
+
"scopes": [
|
3042
|
+
"https://www.googleapis.com/auth/compute"
|
3043
|
+
]
|
3044
|
+
},
|
3045
|
+
"get": {
|
3046
|
+
"id": "compute.snapshots.get",
|
3047
|
+
"path": "{project}/global/snapshots/{snapshot}",
|
3048
|
+
"httpMethod": "GET",
|
3049
|
+
"description": "Returns the specified persistent disk snapshot resource.",
|
3050
|
+
"parameters": {
|
3051
|
+
"project": {
|
3052
|
+
"type": "string",
|
3053
|
+
"description": "Name of the project scoping this request.",
|
3054
|
+
"required": true,
|
3055
|
+
"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])?))",
|
3056
|
+
"location": "path"
|
3057
|
+
},
|
3058
|
+
"snapshot": {
|
3059
|
+
"type": "string",
|
3060
|
+
"description": "Name of the persistent disk snapshot resource to return.",
|
3061
|
+
"required": true,
|
3062
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
3063
|
+
"location": "path"
|
3064
|
+
}
|
3065
|
+
},
|
3066
|
+
"parameterOrder": [
|
3067
|
+
"project",
|
3068
|
+
"snapshot"
|
3069
|
+
],
|
3070
|
+
"response": {
|
3071
|
+
"$ref": "Snapshot"
|
3072
|
+
},
|
3073
|
+
"scopes": [
|
3074
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
3075
|
+
]
|
3076
|
+
},
|
3077
|
+
"insert": {
|
3078
|
+
"id": "compute.snapshots.insert",
|
3079
|
+
"path": "{project}/global/snapshots",
|
3080
|
+
"httpMethod": "POST",
|
3081
|
+
"description": "Creates a persistent disk snapshot resource in the specified project using the data included in the request.",
|
3082
|
+
"parameters": {
|
3083
|
+
"project": {
|
3084
|
+
"type": "string",
|
3085
|
+
"description": "Name of the project scoping this request.",
|
3086
|
+
"required": true,
|
3087
|
+
"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])?))",
|
3088
|
+
"location": "path"
|
3089
|
+
}
|
3090
|
+
},
|
3091
|
+
"parameterOrder": [
|
3092
|
+
"project"
|
3093
|
+
],
|
3094
|
+
"request": {
|
3095
|
+
"$ref": "Snapshot"
|
3096
|
+
},
|
3097
|
+
"response": {
|
3098
|
+
"$ref": "Operation"
|
3099
|
+
},
|
3100
|
+
"scopes": [
|
3101
|
+
"https://www.googleapis.com/auth/compute"
|
3102
|
+
]
|
3103
|
+
},
|
3104
|
+
"list": {
|
3105
|
+
"id": "compute.snapshots.list",
|
3106
|
+
"path": "{project}/global/snapshots",
|
3107
|
+
"httpMethod": "GET",
|
3108
|
+
"description": "Retrieves the list of persistent disk snapshot resources contained within the specified project.",
|
3109
|
+
"parameters": {
|
3110
|
+
"filter": {
|
3111
|
+
"type": "string",
|
3112
|
+
"description": "Optional. Filter expression for filtering listed resources.",
|
3113
|
+
"location": "query"
|
3114
|
+
},
|
3115
|
+
"maxResults": {
|
3116
|
+
"type": "integer",
|
3117
|
+
"description": "Optional. Maximum count of results to be returned. Maximum and default value is 100.",
|
3118
|
+
"default": "100",
|
3119
|
+
"format": "uint32",
|
3120
|
+
"minimum": "0",
|
3121
|
+
"maximum": "100",
|
3122
|
+
"location": "query"
|
3123
|
+
},
|
3124
|
+
"pageToken": {
|
3125
|
+
"type": "string",
|
3126
|
+
"description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.",
|
3127
|
+
"location": "query"
|
3128
|
+
},
|
3129
|
+
"project": {
|
3130
|
+
"type": "string",
|
3131
|
+
"description": "Name of the project scoping this request.",
|
3132
|
+
"required": true,
|
3133
|
+
"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])?))",
|
3134
|
+
"location": "path"
|
3135
|
+
}
|
3136
|
+
},
|
3137
|
+
"parameterOrder": [
|
3138
|
+
"project"
|
3139
|
+
],
|
3140
|
+
"response": {
|
3141
|
+
"$ref": "SnapshotList"
|
3142
|
+
},
|
3143
|
+
"scopes": [
|
3144
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
3145
|
+
]
|
3146
|
+
}
|
3147
|
+
}
|
3148
|
+
},
|
3149
|
+
"zoneOperations": {
|
3150
|
+
"methods": {
|
3151
|
+
"delete": {
|
3152
|
+
"id": "compute.zoneOperations.delete",
|
3153
|
+
"path": "{project}/zones/{zone}/operations/{operation}",
|
3154
|
+
"httpMethod": "DELETE",
|
3155
|
+
"description": "Deletes the specified zone-specific operation resource.",
|
3156
|
+
"parameters": {
|
3157
|
+
"operation": {
|
3158
|
+
"type": "string",
|
3159
|
+
"description": "Name of the operation resource to delete.",
|
3160
|
+
"required": true,
|
3161
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
3162
|
+
"location": "path"
|
3163
|
+
},
|
3164
|
+
"project": {
|
3165
|
+
"type": "string",
|
3166
|
+
"description": "Name of the project scoping this request.",
|
3167
|
+
"required": true,
|
3168
|
+
"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])?))",
|
3169
|
+
"location": "path"
|
3170
|
+
},
|
3171
|
+
"zone": {
|
3172
|
+
"type": "string",
|
3173
|
+
"description": "Name of the zone scoping this request.",
|
3174
|
+
"required": true,
|
3175
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
3176
|
+
"location": "path"
|
3177
|
+
}
|
3178
|
+
},
|
3179
|
+
"parameterOrder": [
|
3180
|
+
"project",
|
3181
|
+
"zone",
|
3182
|
+
"operation"
|
3183
|
+
],
|
3184
|
+
"scopes": [
|
3185
|
+
"https://www.googleapis.com/auth/compute"
|
3186
|
+
]
|
3187
|
+
},
|
3188
|
+
"get": {
|
3189
|
+
"id": "compute.zoneOperations.get",
|
3190
|
+
"path": "{project}/zones/{zone}/operations/{operation}",
|
3191
|
+
"httpMethod": "GET",
|
3192
|
+
"description": "Retrieves the specified zone-specific operation resource.",
|
3193
|
+
"parameters": {
|
3194
|
+
"operation": {
|
3195
|
+
"type": "string",
|
3196
|
+
"description": "Name of the operation resource to return.",
|
3197
|
+
"required": true,
|
3198
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
3199
|
+
"location": "path"
|
3200
|
+
},
|
3201
|
+
"project": {
|
3202
|
+
"type": "string",
|
3203
|
+
"description": "Name of the project scoping this request.",
|
3204
|
+
"required": true,
|
3205
|
+
"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])?))",
|
3206
|
+
"location": "path"
|
3207
|
+
},
|
3208
|
+
"zone": {
|
3209
|
+
"type": "string",
|
3210
|
+
"description": "Name of the zone scoping this request.",
|
3211
|
+
"required": true,
|
3212
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
3213
|
+
"location": "path"
|
3214
|
+
}
|
3215
|
+
},
|
3216
|
+
"parameterOrder": [
|
3217
|
+
"project",
|
3218
|
+
"zone",
|
3219
|
+
"operation"
|
3220
|
+
],
|
3221
|
+
"response": {
|
3222
|
+
"$ref": "Operation"
|
3223
|
+
},
|
3224
|
+
"scopes": [
|
3225
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
3226
|
+
]
|
3227
|
+
},
|
3228
|
+
"list": {
|
3229
|
+
"id": "compute.zoneOperations.list",
|
3230
|
+
"path": "{project}/zones/{zone}/operations",
|
3231
|
+
"httpMethod": "GET",
|
3232
|
+
"description": "Retrieves the list of operation resources contained within the specified zone.",
|
3233
|
+
"parameters": {
|
3234
|
+
"filter": {
|
3235
|
+
"type": "string",
|
3236
|
+
"description": "Optional. Filter expression for filtering listed resources.",
|
3237
|
+
"location": "query"
|
3238
|
+
},
|
3239
|
+
"maxResults": {
|
3240
|
+
"type": "integer",
|
3241
|
+
"description": "Optional. Maximum count of results to be returned. Maximum and default value is 100.",
|
3242
|
+
"default": "100",
|
3243
|
+
"format": "uint32",
|
3244
|
+
"minimum": "0",
|
3245
|
+
"maximum": "100",
|
3246
|
+
"location": "query"
|
3247
|
+
},
|
3248
|
+
"pageToken": {
|
3249
|
+
"type": "string",
|
3250
|
+
"description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.",
|
3251
|
+
"location": "query"
|
3252
|
+
},
|
3253
|
+
"project": {
|
3254
|
+
"type": "string",
|
3255
|
+
"description": "Name of the project scoping this request.",
|
3256
|
+
"required": true,
|
3257
|
+
"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])?))",
|
3258
|
+
"location": "path"
|
3259
|
+
},
|
3260
|
+
"zone": {
|
3261
|
+
"type": "string",
|
3262
|
+
"description": "Name of the zone scoping this request.",
|
3263
|
+
"required": true,
|
3264
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
3265
|
+
"location": "path"
|
3266
|
+
}
|
3267
|
+
},
|
3268
|
+
"parameterOrder": [
|
3269
|
+
"project",
|
3270
|
+
"zone"
|
3271
|
+
],
|
3272
|
+
"response": {
|
3273
|
+
"$ref": "OperationList"
|
3274
|
+
},
|
3275
|
+
"scopes": [
|
3276
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
3277
|
+
]
|
3278
|
+
}
|
3279
|
+
}
|
3280
|
+
},
|
3281
|
+
"zones": {
|
3282
|
+
"methods": {
|
3283
|
+
"get": {
|
3284
|
+
"id": "compute.zones.get",
|
3285
|
+
"path": "{project}/zones/{zone}",
|
3286
|
+
"httpMethod": "GET",
|
3287
|
+
"description": "Returns the specified zone resource.",
|
3288
|
+
"parameters": {
|
3289
|
+
"project": {
|
3290
|
+
"type": "string",
|
3291
|
+
"description": "Name of the project scoping this request.",
|
3292
|
+
"required": true,
|
3293
|
+
"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])?))",
|
3294
|
+
"location": "path"
|
3295
|
+
},
|
3296
|
+
"zone": {
|
3297
|
+
"type": "string",
|
3298
|
+
"description": "Name of the zone resource to return.",
|
3299
|
+
"required": true,
|
3300
|
+
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
3301
|
+
"location": "path"
|
3302
|
+
}
|
3303
|
+
},
|
3304
|
+
"parameterOrder": [
|
3305
|
+
"project",
|
3306
|
+
"zone"
|
3307
|
+
],
|
3308
|
+
"response": {
|
3309
|
+
"$ref": "Zone"
|
3310
|
+
},
|
3311
|
+
"scopes": [
|
3312
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
3313
|
+
]
|
3314
|
+
},
|
3315
|
+
"list": {
|
3316
|
+
"id": "compute.zones.list",
|
3317
|
+
"path": "{project}/zones",
|
3318
|
+
"httpMethod": "GET",
|
3319
|
+
"description": "Retrieves the list of zone resources available to the specified project.",
|
3320
|
+
"parameters": {
|
3321
|
+
"filter": {
|
3322
|
+
"type": "string",
|
3323
|
+
"description": "Optional. Filter expression for filtering listed resources.",
|
3324
|
+
"location": "query"
|
3325
|
+
},
|
3326
|
+
"maxResults": {
|
3327
|
+
"type": "integer",
|
3328
|
+
"description": "Optional. Maximum count of results to be returned. Maximum and default value is 100.",
|
3329
|
+
"default": "100",
|
3330
|
+
"format": "uint32",
|
3331
|
+
"minimum": "0",
|
3332
|
+
"maximum": "100",
|
3333
|
+
"location": "query"
|
3334
|
+
},
|
3335
|
+
"pageToken": {
|
3336
|
+
"type": "string",
|
3337
|
+
"description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.",
|
3338
|
+
"location": "query"
|
3339
|
+
},
|
3340
|
+
"project": {
|
3341
|
+
"type": "string",
|
3342
|
+
"description": "Name of the project scoping this request.",
|
3343
|
+
"required": true,
|
3344
|
+
"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])?))",
|
3345
|
+
"location": "path"
|
3346
|
+
}
|
3347
|
+
},
|
3348
|
+
"parameterOrder": [
|
3349
|
+
"project"
|
3350
|
+
],
|
3351
|
+
"response": {
|
3352
|
+
"$ref": "ZoneList"
|
3353
|
+
},
|
3354
|
+
"scopes": [
|
3355
|
+
"https://www.googleapis.com/auth/compute.readonly"
|
3356
|
+
]
|
3357
|
+
}
|
3358
|
+
}
|
3359
|
+
}
|
3360
|
+
}
|
3361
|
+
}
|