OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/compute": { | 8 "https://www.googleapis.com/auth/compute": { |
9 "description": "View and manage your Google Compute Engine r
esources" | 9 "description": "View and manage your Google Compute Engine r
esources" |
10 }, | 10 }, |
11 "https://www.googleapis.com/auth/compute.readonly": { | 11 "https://www.googleapis.com/auth/compute.readonly": { |
12 "description": "View your Google Compute Engine resources" | 12 "description": "View your Google Compute Engine resources" |
13 }, | |
14 "https://www.googleapis.com/auth/ndev.cloudman": { | |
15 "description": "View and manage your Google Cloud Platform m
anagement resources and deployment status information" | |
16 }, | |
17 "https://www.googleapis.com/auth/ndev.cloudman.readonly": { | |
18 "description": "View your Google Cloud Platform management r
esources and deployment status information" | |
19 } | 13 } |
20 } | 14 } |
21 } | 15 } |
22 }, | 16 }, |
23 "basePath": "/resourceviews/v1beta2/projects/", | 17 "basePath": "/replicapool/v1beta2/projects/", |
24 "baseUrl": "https://www.googleapis.com/resourceviews/v1beta2/projects/", | 18 "baseUrl": "https://www.googleapis.com/replicapool/v1beta2/projects/", |
25 "batchPath": "batch", | 19 "batchPath": "batch", |
26 "description": "The Resource View API allows users to create and manage logi
cal sets of Google Compute Engine instances.", | 20 "description": "The Google Compute Engine Instance Group Manager API provide
s groups of homogenous Compute Engine Instances.", |
27 "discoveryVersion": "v1", | 21 "discoveryVersion": "v1", |
28 "documentationLink": "https://developers.google.com/compute/", | 22 "documentationLink": "https://developers.google.com/compute/docs/instance-gr
oups/manager/v1beta2", |
29 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/h07P0KWaqrcoR1sKo_9XnasKmIs\"", | 23 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/o8KVD2TZK8SqQA452IHtm6GW-J8\"", |
30 "icons": { | 24 "icons": { |
31 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 25 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
32 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 26 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
33 }, | 27 }, |
34 "id": "resourceviews:v1beta2", | 28 "id": "replicapool:v1beta2", |
35 "kind": "discovery#restDescription", | 29 "kind": "discovery#restDescription", |
36 "labels": [ | 30 "labels": [ |
37 "limited_availability" | 31 "limited_availability" |
38 ], | 32 ], |
39 "name": "resourceviews", | 33 "name": "replicapool", |
40 "ownerDomain": "google.com", | 34 "ownerDomain": "google.com", |
41 "ownerName": "Google", | 35 "ownerName": "Google", |
42 "parameters": { | 36 "parameters": { |
43 "alt": { | 37 "alt": { |
44 "default": "json", | 38 "default": "json", |
45 "description": "Data format for the response.", | 39 "description": "Data format for the response.", |
46 "enum": [ | 40 "enum": [ |
47 "json" | 41 "json" |
48 ], | 42 ], |
49 "enumDescriptions": [ | 43 "enumDescriptions": [ |
(...skipping 29 matching lines...) Expand all Loading... |
79 "type": "string" | 73 "type": "string" |
80 }, | 74 }, |
81 "userIp": { | 75 "userIp": { |
82 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", | 76 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", |
83 "location": "query", | 77 "location": "query", |
84 "type": "string" | 78 "type": "string" |
85 } | 79 } |
86 }, | 80 }, |
87 "protocol": "rest", | 81 "protocol": "rest", |
88 "resources": { | 82 "resources": { |
89 "zoneOperations": { | 83 "instanceGroupManagers": { |
90 "methods": { | 84 "methods": { |
| 85 "abandonInstances": { |
| 86 "description": "Removes the specified instances from the man
aged instance group, and from any target pools of which they were members, witho
ut deleting the instances.", |
| 87 "httpMethod": "POST", |
| 88 "id": "replicapool.instanceGroupManagers.abandonInstances", |
| 89 "parameterOrder": [ |
| 90 "project", |
| 91 "zone", |
| 92 "instanceGroupManager" |
| 93 ], |
| 94 "parameters": { |
| 95 "instanceGroupManager": { |
| 96 "description": "The name of the instance group manag
er.", |
| 97 "location": "path", |
| 98 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 99 "required": true, |
| 100 "type": "string" |
| 101 }, |
| 102 "project": { |
| 103 "description": "The Google Developers Console projec
t name.", |
| 104 "location": "path", |
| 105 "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])?))"
, |
| 106 "required": true, |
| 107 "type": "string" |
| 108 }, |
| 109 "zone": { |
| 110 "description": "The name of the zone in which the in
stance group manager resides.", |
| 111 "location": "path", |
| 112 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 113 "required": true, |
| 114 "type": "string" |
| 115 } |
| 116 }, |
| 117 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/abandonInstances", |
| 118 "request": { |
| 119 "$ref": "InstanceGroupManagersAbandonInstancesRequest" |
| 120 }, |
| 121 "response": { |
| 122 "$ref": "Operation" |
| 123 }, |
| 124 "scopes": [ |
| 125 "https://www.googleapis.com/auth/cloud-platform", |
| 126 "https://www.googleapis.com/auth/compute" |
| 127 ] |
| 128 }, |
| 129 "delete": { |
| 130 "description": "Deletes the instance group manager and all i
nstances contained within. If you'd like to delete the manager without deleting
the instances, you must first abandon the instances to remove them from the grou
p.", |
| 131 "httpMethod": "DELETE", |
| 132 "id": "replicapool.instanceGroupManagers.delete", |
| 133 "parameterOrder": [ |
| 134 "project", |
| 135 "zone", |
| 136 "instanceGroupManager" |
| 137 ], |
| 138 "parameters": { |
| 139 "instanceGroupManager": { |
| 140 "description": "Name of the Instance Group Manager r
esource to delete.", |
| 141 "location": "path", |
| 142 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 143 "required": true, |
| 144 "type": "string" |
| 145 }, |
| 146 "project": { |
| 147 "description": "The Google Developers Console projec
t name.", |
| 148 "location": "path", |
| 149 "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])?))"
, |
| 150 "required": true, |
| 151 "type": "string" |
| 152 }, |
| 153 "zone": { |
| 154 "description": "The name of the zone in which the in
stance group manager resides.", |
| 155 "location": "path", |
| 156 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 157 "required": true, |
| 158 "type": "string" |
| 159 } |
| 160 }, |
| 161 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}", |
| 162 "response": { |
| 163 "$ref": "Operation" |
| 164 }, |
| 165 "scopes": [ |
| 166 "https://www.googleapis.com/auth/cloud-platform", |
| 167 "https://www.googleapis.com/auth/compute" |
| 168 ] |
| 169 }, |
| 170 "deleteInstances": { |
| 171 "description": "Deletes the specified instances. The instanc
es are removed from the instance group and any target pools of which they are a
member, then deleted. The targetSize of the instance group manager is reduced by
the number of instances deleted.", |
| 172 "httpMethod": "POST", |
| 173 "id": "replicapool.instanceGroupManagers.deleteInstances", |
| 174 "parameterOrder": [ |
| 175 "project", |
| 176 "zone", |
| 177 "instanceGroupManager" |
| 178 ], |
| 179 "parameters": { |
| 180 "instanceGroupManager": { |
| 181 "description": "The name of the instance group manag
er.", |
| 182 "location": "path", |
| 183 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 184 "required": true, |
| 185 "type": "string" |
| 186 }, |
| 187 "project": { |
| 188 "description": "The Google Developers Console projec
t name.", |
| 189 "location": "path", |
| 190 "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])?))"
, |
| 191 "required": true, |
| 192 "type": "string" |
| 193 }, |
| 194 "zone": { |
| 195 "description": "The name of the zone in which the in
stance group manager resides.", |
| 196 "location": "path", |
| 197 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 198 "required": true, |
| 199 "type": "string" |
| 200 } |
| 201 }, |
| 202 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/deleteInstances", |
| 203 "request": { |
| 204 "$ref": "InstanceGroupManagersDeleteInstancesRequest" |
| 205 }, |
| 206 "response": { |
| 207 "$ref": "Operation" |
| 208 }, |
| 209 "scopes": [ |
| 210 "https://www.googleapis.com/auth/cloud-platform", |
| 211 "https://www.googleapis.com/auth/compute" |
| 212 ] |
| 213 }, |
91 "get": { | 214 "get": { |
92 "description": "Retrieves the specified zone-specific operat
ion resource.", | 215 "description": "Returns the specified Instance Group Manager
resource.", |
93 "httpMethod": "GET", | 216 "httpMethod": "GET", |
94 "id": "resourceviews.zoneOperations.get", | 217 "id": "replicapool.instanceGroupManagers.get", |
95 "parameterOrder": [ | 218 "parameterOrder": [ |
96 "project", | 219 "project", |
97 "zone", | 220 "zone", |
98 "operation" | 221 "instanceGroupManager" |
99 ], | 222 ], |
100 "parameters": { | 223 "parameters": { |
101 "operation": { | 224 "instanceGroupManager": { |
102 "description": "Name of the operation resource to re
turn.", | 225 "description": "Name of the instance resource to ret
urn.", |
103 "location": "path", | 226 "location": "path", |
104 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", | 227 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
105 "required": true, | 228 "required": true, |
106 "type": "string" | 229 "type": "string" |
107 }, | 230 }, |
108 "project": { | 231 "project": { |
109 "description": "Name of the project scoping this req
uest.", | 232 "description": "The Google Developers Console projec
t name.", |
110 "location": "path", | 233 "location": "path", |
111 "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])?))"
, | 234 "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])?))"
, |
112 "required": true, | 235 "required": true, |
113 "type": "string" | 236 "type": "string" |
114 }, | 237 }, |
115 "zone": { | 238 "zone": { |
116 "description": "Name of the zone scoping this reques
t.", | 239 "description": "The name of the zone in which the in
stance group manager resides.", |
117 "location": "path", | 240 "location": "path", |
118 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", | 241 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
119 "required": true, | 242 "required": true, |
120 "type": "string" | 243 "type": "string" |
121 } | 244 } |
122 }, | 245 }, |
123 "path": "{project}/zones/{zone}/operations/{operation}", | 246 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}", |
124 "response": { | 247 "response": { |
125 "$ref": "Operation" | 248 "$ref": "InstanceGroupManager" |
126 }, | 249 }, |
127 "scopes": [ | 250 "scopes": [ |
128 "https://www.googleapis.com/auth/cloud-platform", | 251 "https://www.googleapis.com/auth/cloud-platform", |
129 "https://www.googleapis.com/auth/compute", | 252 "https://www.googleapis.com/auth/compute", |
130 "https://www.googleapis.com/auth/compute.readonly", | 253 "https://www.googleapis.com/auth/compute.readonly" |
131 "https://www.googleapis.com/auth/ndev.cloudman", | 254 ] |
132 "https://www.googleapis.com/auth/ndev.cloudman.readonly" | 255 }, |
| 256 "insert": { |
| 257 "description": "Creates an instance group manager, as well a
s the instance group and the specified number of instances.", |
| 258 "httpMethod": "POST", |
| 259 "id": "replicapool.instanceGroupManagers.insert", |
| 260 "parameterOrder": [ |
| 261 "project", |
| 262 "zone", |
| 263 "size" |
| 264 ], |
| 265 "parameters": { |
| 266 "project": { |
| 267 "description": "The Google Developers Console projec
t name.", |
| 268 "location": "path", |
| 269 "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])?))"
, |
| 270 "required": true, |
| 271 "type": "string" |
| 272 }, |
| 273 "size": { |
| 274 "description": "Number of instances that should exis
t.", |
| 275 "format": "int32", |
| 276 "location": "query", |
| 277 "minimum": "0", |
| 278 "required": true, |
| 279 "type": "integer" |
| 280 }, |
| 281 "zone": { |
| 282 "description": "The name of the zone in which the in
stance group manager resides.", |
| 283 "location": "path", |
| 284 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 285 "required": true, |
| 286 "type": "string" |
| 287 } |
| 288 }, |
| 289 "path": "{project}/zones/{zone}/instanceGroupManagers", |
| 290 "request": { |
| 291 "$ref": "InstanceGroupManager" |
| 292 }, |
| 293 "response": { |
| 294 "$ref": "Operation" |
| 295 }, |
| 296 "scopes": [ |
| 297 "https://www.googleapis.com/auth/cloud-platform", |
| 298 "https://www.googleapis.com/auth/compute" |
133 ] | 299 ] |
134 }, | 300 }, |
135 "list": { | 301 "list": { |
136 "description": "Retrieves the list of operation resources co
ntained within the specified zone.", | 302 "description": "Retrieves the list of Instance Group Manager
resources contained within the specified zone.", |
137 "httpMethod": "GET", | 303 "httpMethod": "GET", |
138 "id": "resourceviews.zoneOperations.list", | 304 "id": "replicapool.instanceGroupManagers.list", |
139 "parameterOrder": [ | 305 "parameterOrder": [ |
140 "project", | 306 "project", |
141 "zone" | 307 "zone" |
142 ], | 308 ], |
143 "parameters": { | 309 "parameters": { |
144 "filter": { | 310 "filter": { |
145 "description": "Optional. Filter expression for filt
ering listed resources.", | 311 "description": "Optional. Filter expression for filt
ering listed resources.", |
146 "location": "query", | 312 "location": "query", |
147 "type": "string" | 313 "type": "string" |
148 }, | 314 }, |
149 "maxResults": { | 315 "maxResults": { |
150 "default": "500", | 316 "default": "500", |
151 "description": "Optional. Maximum count of results t
o be returned. Maximum value is 500 and default value is 500.", | 317 "description": "Optional. Maximum count of results t
o be returned. Maximum value is 500 and default value is 500.", |
152 "format": "uint32", | 318 "format": "uint32", |
153 "location": "query", | 319 "location": "query", |
154 "maximum": "500", | 320 "maximum": "500", |
155 "minimum": "0", | 321 "minimum": "0", |
156 "type": "integer" | 322 "type": "integer" |
157 }, | 323 }, |
158 "pageToken": { | 324 "pageToken": { |
159 "description": "Optional. Tag returned by a previous
list request truncated by maxResults. Used to continue a previous list request.
", | 325 "description": "Optional. Tag returned by a previous
list request truncated by maxResults. Used to continue a previous list request.
", |
160 "location": "query", | 326 "location": "query", |
161 "type": "string" | 327 "type": "string" |
162 }, | 328 }, |
163 "project": { | 329 "project": { |
164 "description": "Name of the project scoping this req
uest.", | 330 "description": "The Google Developers Console projec
t name.", |
165 "location": "path", | 331 "location": "path", |
166 "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])?))"
, | 332 "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])?))"
, |
167 "required": true, | 333 "required": true, |
168 "type": "string" | 334 "type": "string" |
169 }, | 335 }, |
170 "zone": { | 336 "zone": { |
171 "description": "Name of the zone scoping this reques
t.", | 337 "description": "The name of the zone in which the in
stance group manager resides.", |
172 "location": "path", | 338 "location": "path", |
173 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", | 339 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
174 "required": true, | 340 "required": true, |
175 "type": "string" | 341 "type": "string" |
176 } | 342 } |
177 }, | 343 }, |
178 "path": "{project}/zones/{zone}/operations", | 344 "path": "{project}/zones/{zone}/instanceGroupManagers", |
179 "response": { | 345 "response": { |
180 "$ref": "OperationList" | 346 "$ref": "InstanceGroupManagerList" |
181 }, | 347 }, |
182 "scopes": [ | 348 "scopes": [ |
183 "https://www.googleapis.com/auth/cloud-platform", | 349 "https://www.googleapis.com/auth/cloud-platform", |
184 "https://www.googleapis.com/auth/compute", | 350 "https://www.googleapis.com/auth/compute", |
185 "https://www.googleapis.com/auth/compute.readonly", | 351 "https://www.googleapis.com/auth/compute.readonly" |
186 "https://www.googleapis.com/auth/ndev.cloudman", | 352 ] |
187 "https://www.googleapis.com/auth/ndev.cloudman.readonly" | 353 }, |
| 354 "recreateInstances": { |
| 355 "description": "Recreates the specified instances. The insta
nces are deleted, then recreated using the instance group manager's current inst
ance template.", |
| 356 "httpMethod": "POST", |
| 357 "id": "replicapool.instanceGroupManagers.recreateInstances", |
| 358 "parameterOrder": [ |
| 359 "project", |
| 360 "zone", |
| 361 "instanceGroupManager" |
| 362 ], |
| 363 "parameters": { |
| 364 "instanceGroupManager": { |
| 365 "description": "The name of the instance group manag
er.", |
| 366 "location": "path", |
| 367 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 368 "required": true, |
| 369 "type": "string" |
| 370 }, |
| 371 "project": { |
| 372 "description": "The Google Developers Console projec
t name.", |
| 373 "location": "path", |
| 374 "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])?))"
, |
| 375 "required": true, |
| 376 "type": "string" |
| 377 }, |
| 378 "zone": { |
| 379 "description": "The name of the zone in which the in
stance group manager resides.", |
| 380 "location": "path", |
| 381 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 382 "required": true, |
| 383 "type": "string" |
| 384 } |
| 385 }, |
| 386 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/recreateInstances", |
| 387 "request": { |
| 388 "$ref": "InstanceGroupManagersRecreateInstancesRequest" |
| 389 }, |
| 390 "response": { |
| 391 "$ref": "Operation" |
| 392 }, |
| 393 "scopes": [ |
| 394 "https://www.googleapis.com/auth/cloud-platform", |
| 395 "https://www.googleapis.com/auth/compute" |
| 396 ] |
| 397 }, |
| 398 "resize": { |
| 399 "description": "Resizes the managed instance group up or dow
n. If resized up, new instances are created using the current instance template.
If resized down, instances are removed in the order outlined in Resizing a mana
ged instance group.", |
| 400 "httpMethod": "POST", |
| 401 "id": "replicapool.instanceGroupManagers.resize", |
| 402 "parameterOrder": [ |
| 403 "project", |
| 404 "zone", |
| 405 "instanceGroupManager", |
| 406 "size" |
| 407 ], |
| 408 "parameters": { |
| 409 "instanceGroupManager": { |
| 410 "description": "The name of the instance group manag
er.", |
| 411 "location": "path", |
| 412 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 413 "required": true, |
| 414 "type": "string" |
| 415 }, |
| 416 "project": { |
| 417 "description": "The Google Developers Console projec
t name.", |
| 418 "location": "path", |
| 419 "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])?))"
, |
| 420 "required": true, |
| 421 "type": "string" |
| 422 }, |
| 423 "size": { |
| 424 "description": "Number of instances that should exis
t in this Instance Group Manager.", |
| 425 "format": "int32", |
| 426 "location": "query", |
| 427 "minimum": "0", |
| 428 "required": true, |
| 429 "type": "integer" |
| 430 }, |
| 431 "zone": { |
| 432 "description": "The name of the zone in which the in
stance group manager resides.", |
| 433 "location": "path", |
| 434 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 435 "required": true, |
| 436 "type": "string" |
| 437 } |
| 438 }, |
| 439 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/resize", |
| 440 "response": { |
| 441 "$ref": "Operation" |
| 442 }, |
| 443 "scopes": [ |
| 444 "https://www.googleapis.com/auth/cloud-platform", |
| 445 "https://www.googleapis.com/auth/compute" |
| 446 ] |
| 447 }, |
| 448 "setInstanceTemplate": { |
| 449 "description": "Sets the instance template to use when creat
ing new instances in this group. Existing instances are not affected.", |
| 450 "httpMethod": "POST", |
| 451 "id": "replicapool.instanceGroupManagers.setInstanceTemplate
", |
| 452 "parameterOrder": [ |
| 453 "project", |
| 454 "zone", |
| 455 "instanceGroupManager" |
| 456 ], |
| 457 "parameters": { |
| 458 "instanceGroupManager": { |
| 459 "description": "The name of the instance group manag
er.", |
| 460 "location": "path", |
| 461 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 462 "required": true, |
| 463 "type": "string" |
| 464 }, |
| 465 "project": { |
| 466 "description": "The Google Developers Console projec
t name.", |
| 467 "location": "path", |
| 468 "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])?))"
, |
| 469 "required": true, |
| 470 "type": "string" |
| 471 }, |
| 472 "zone": { |
| 473 "description": "The name of the zone in which the in
stance group manager resides.", |
| 474 "location": "path", |
| 475 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 476 "required": true, |
| 477 "type": "string" |
| 478 } |
| 479 }, |
| 480 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/setInstanceTemplate", |
| 481 "request": { |
| 482 "$ref": "InstanceGroupManagersSetInstanceTemplateRequest
" |
| 483 }, |
| 484 "response": { |
| 485 "$ref": "Operation" |
| 486 }, |
| 487 "scopes": [ |
| 488 "https://www.googleapis.com/auth/cloud-platform", |
| 489 "https://www.googleapis.com/auth/compute" |
| 490 ] |
| 491 }, |
| 492 "setTargetPools": { |
| 493 "description": "Modifies the target pools to which all new i
nstances in this group are assigned. Existing instances in the group are not aff
ected.", |
| 494 "httpMethod": "POST", |
| 495 "id": "replicapool.instanceGroupManagers.setTargetPools", |
| 496 "parameterOrder": [ |
| 497 "project", |
| 498 "zone", |
| 499 "instanceGroupManager" |
| 500 ], |
| 501 "parameters": { |
| 502 "instanceGroupManager": { |
| 503 "description": "The name of the instance group manag
er.", |
| 504 "location": "path", |
| 505 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 506 "required": true, |
| 507 "type": "string" |
| 508 }, |
| 509 "project": { |
| 510 "description": "The Google Developers Console projec
t name.", |
| 511 "location": "path", |
| 512 "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])?))"
, |
| 513 "required": true, |
| 514 "type": "string" |
| 515 }, |
| 516 "zone": { |
| 517 "description": "The name of the zone in which the in
stance group manager resides.", |
| 518 "location": "path", |
| 519 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
| 520 "required": true, |
| 521 "type": "string" |
| 522 } |
| 523 }, |
| 524 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/setTargetPools", |
| 525 "request": { |
| 526 "$ref": "InstanceGroupManagersSetTargetPoolsRequest" |
| 527 }, |
| 528 "response": { |
| 529 "$ref": "Operation" |
| 530 }, |
| 531 "scopes": [ |
| 532 "https://www.googleapis.com/auth/cloud-platform", |
| 533 "https://www.googleapis.com/auth/compute" |
188 ] | 534 ] |
189 } | 535 } |
190 } | 536 } |
191 }, | 537 }, |
192 "zoneViews": { | 538 "zoneOperations": { |
193 "methods": { | 539 "methods": { |
194 "addResources": { | |
195 "description": "Add resources to the view.", | |
196 "httpMethod": "POST", | |
197 "id": "resourceviews.zoneViews.addResources", | |
198 "parameterOrder": [ | |
199 "project", | |
200 "zone", | |
201 "resourceView" | |
202 ], | |
203 "parameters": { | |
204 "project": { | |
205 "description": "The project name of the resource vie
w.", | |
206 "location": "path", | |
207 "required": true, | |
208 "type": "string" | |
209 }, | |
210 "resourceView": { | |
211 "description": "The name of the resource view.", | |
212 "location": "path", | |
213 "required": true, | |
214 "type": "string" | |
215 }, | |
216 "zone": { | |
217 "description": "The zone name of the resource view."
, | |
218 "location": "path", | |
219 "required": true, | |
220 "type": "string" | |
221 } | |
222 }, | |
223 "path": "{project}/zones/{zone}/resourceViews/{resourceView}
/addResources", | |
224 "request": { | |
225 "$ref": "ZoneViewsAddResourcesRequest" | |
226 }, | |
227 "response": { | |
228 "$ref": "Operation" | |
229 }, | |
230 "scopes": [ | |
231 "https://www.googleapis.com/auth/cloud-platform", | |
232 "https://www.googleapis.com/auth/compute", | |
233 "https://www.googleapis.com/auth/ndev.cloudman" | |
234 ] | |
235 }, | |
236 "delete": { | |
237 "description": "Delete a resource view.", | |
238 "httpMethod": "DELETE", | |
239 "id": "resourceviews.zoneViews.delete", | |
240 "parameterOrder": [ | |
241 "project", | |
242 "zone", | |
243 "resourceView" | |
244 ], | |
245 "parameters": { | |
246 "project": { | |
247 "description": "The project name of the resource vie
w.", | |
248 "location": "path", | |
249 "required": true, | |
250 "type": "string" | |
251 }, | |
252 "resourceView": { | |
253 "description": "The name of the resource view.", | |
254 "location": "path", | |
255 "required": true, | |
256 "type": "string" | |
257 }, | |
258 "zone": { | |
259 "description": "The zone name of the resource view."
, | |
260 "location": "path", | |
261 "required": true, | |
262 "type": "string" | |
263 } | |
264 }, | |
265 "path": "{project}/zones/{zone}/resourceViews/{resourceView}
", | |
266 "response": { | |
267 "$ref": "Operation" | |
268 }, | |
269 "scopes": [ | |
270 "https://www.googleapis.com/auth/cloud-platform", | |
271 "https://www.googleapis.com/auth/compute", | |
272 "https://www.googleapis.com/auth/ndev.cloudman" | |
273 ] | |
274 }, | |
275 "get": { | 540 "get": { |
276 "description": "Get the information of a zonal resource view
.", | 541 "description": "Retrieves the specified zone-specific operat
ion resource.", |
277 "httpMethod": "GET", | 542 "httpMethod": "GET", |
278 "id": "resourceviews.zoneViews.get", | 543 "id": "replicapool.zoneOperations.get", |
279 "parameterOrder": [ | 544 "parameterOrder": [ |
280 "project", | 545 "project", |
281 "zone", | 546 "zone", |
282 "resourceView" | 547 "operation" |
283 ], | 548 ], |
284 "parameters": { | 549 "parameters": { |
285 "project": { | 550 "operation": { |
286 "description": "The project name of the resource vie
w.", | 551 "description": "Name of the operation resource to re
turn.", |
287 "location": "path", | 552 "location": "path", |
288 "required": true, | 553 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
289 "type": "string" | 554 "required": true, |
290 }, | 555 "type": "string" |
291 "resourceView": { | 556 }, |
292 "description": "The name of the resource view.", | 557 "project": { |
293 "location": "path", | 558 "description": "Name of the project scoping this req
uest.", |
294 "required": true, | 559 "location": "path", |
295 "type": "string" | 560 "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])?))"
, |
296 }, | 561 "required": true, |
297 "zone": { | 562 "type": "string" |
298 "description": "The zone name of the resource view."
, | 563 }, |
299 "location": "path", | 564 "zone": { |
300 "required": true, | 565 "description": "Name of the zone scoping this reques
t.", |
301 "type": "string" | 566 "location": "path", |
302 } | 567 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
303 }, | 568 "required": true, |
304 "path": "{project}/zones/{zone}/resourceViews/{resourceView}
", | 569 "type": "string" |
305 "response": { | 570 } |
306 "$ref": "ResourceView" | 571 }, |
307 }, | 572 "path": "{project}/zones/{zone}/operations/{operation}", |
308 "scopes": [ | 573 "response": { |
309 "https://www.googleapis.com/auth/cloud-platform", | 574 "$ref": "Operation" |
310 "https://www.googleapis.com/auth/compute", | 575 }, |
311 "https://www.googleapis.com/auth/compute.readonly", | 576 "scopes": [ |
312 "https://www.googleapis.com/auth/ndev.cloudman", | 577 "https://www.googleapis.com/auth/cloud-platform", |
313 "https://www.googleapis.com/auth/ndev.cloudman.readonly" | 578 "https://www.googleapis.com/auth/compute" |
314 ] | 579 ] |
315 }, | 580 }, |
316 "getService": { | 581 "list": { |
317 "description": "Get the service information of a resource vi
ew or a resource.", | 582 "description": "Retrieves the list of operation resources co
ntained within the specified zone.", |
318 "httpMethod": "POST", | 583 "httpMethod": "GET", |
319 "id": "resourceviews.zoneViews.getService", | 584 "id": "replicapool.zoneOperations.list", |
320 "parameterOrder": [ | 585 "parameterOrder": [ |
321 "project", | 586 "project", |
322 "zone", | 587 "zone" |
323 "resourceView" | 588 ], |
324 ], | 589 "parameters": { |
325 "parameters": { | 590 "filter": { |
326 "project": { | 591 "description": "Optional. Filter expression for filt
ering listed resources.", |
327 "description": "The project name of the resource vie
w.", | |
328 "location": "path", | |
329 "required": true, | |
330 "type": "string" | |
331 }, | |
332 "resourceName": { | |
333 "description": "The name of the resource if user wan
ts to get the service information of the resource.", | |
334 "location": "query", | 592 "location": "query", |
335 "type": "string" | 593 "type": "string" |
336 }, | 594 }, |
337 "resourceView": { | |
338 "description": "The name of the resource view.", | |
339 "location": "path", | |
340 "required": true, | |
341 "type": "string" | |
342 }, | |
343 "zone": { | |
344 "description": "The zone name of the resource view."
, | |
345 "location": "path", | |
346 "required": true, | |
347 "type": "string" | |
348 } | |
349 }, | |
350 "path": "{project}/zones/{zone}/resourceViews/{resourceView}
/getService", | |
351 "response": { | |
352 "$ref": "ZoneViewsGetServiceResponse" | |
353 }, | |
354 "scopes": [ | |
355 "https://www.googleapis.com/auth/cloud-platform", | |
356 "https://www.googleapis.com/auth/compute", | |
357 "https://www.googleapis.com/auth/ndev.cloudman" | |
358 ] | |
359 }, | |
360 "insert": { | |
361 "description": "Create a resource view.", | |
362 "httpMethod": "POST", | |
363 "id": "resourceviews.zoneViews.insert", | |
364 "parameterOrder": [ | |
365 "project", | |
366 "zone" | |
367 ], | |
368 "parameters": { | |
369 "project": { | |
370 "description": "The project name of the resource vie
w.", | |
371 "location": "path", | |
372 "required": true, | |
373 "type": "string" | |
374 }, | |
375 "zone": { | |
376 "description": "The zone name of the resource view."
, | |
377 "location": "path", | |
378 "required": true, | |
379 "type": "string" | |
380 } | |
381 }, | |
382 "path": "{project}/zones/{zone}/resourceViews", | |
383 "request": { | |
384 "$ref": "ResourceView" | |
385 }, | |
386 "response": { | |
387 "$ref": "Operation" | |
388 }, | |
389 "scopes": [ | |
390 "https://www.googleapis.com/auth/cloud-platform", | |
391 "https://www.googleapis.com/auth/compute", | |
392 "https://www.googleapis.com/auth/ndev.cloudman" | |
393 ] | |
394 }, | |
395 "list": { | |
396 "description": "List resource views.", | |
397 "httpMethod": "GET", | |
398 "id": "resourceviews.zoneViews.list", | |
399 "parameterOrder": [ | |
400 "project", | |
401 "zone" | |
402 ], | |
403 "parameters": { | |
404 "maxResults": { | 595 "maxResults": { |
405 "default": "5000", | 596 "default": "500", |
406 "description": "Maximum count of results to be retur
ned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)", | 597 "description": "Optional. Maximum count of results t
o be returned. Maximum value is 500 and default value is 500.", |
407 "format": "int32", | 598 "format": "uint32", |
408 "location": "query", | 599 "location": "query", |
409 "maximum": "5000", | 600 "maximum": "500", |
410 "minimum": "0", | 601 "minimum": "0", |
411 "type": "integer" | 602 "type": "integer" |
412 }, | 603 }, |
413 "pageToken": { | 604 "pageToken": { |
414 "description": "Specifies a nextPageToken returned b
y a previous list request. This token can be used to request the next page of re
sults from a previous list request.", | 605 "description": "Optional. Tag returned by a previous
list request truncated by maxResults. Used to continue a previous list request.
", |
415 "location": "query", | 606 "location": "query", |
416 "type": "string" | 607 "type": "string" |
417 }, | 608 }, |
418 "project": { | 609 "project": { |
419 "description": "The project name of the resource vie
w.", | 610 "description": "Name of the project scoping this req
uest.", |
420 "location": "path", | 611 "location": "path", |
421 "required": true, | 612 "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])?))"
, |
422 "type": "string" | 613 "required": true, |
423 }, | 614 "type": "string" |
424 "zone": { | 615 }, |
425 "description": "The zone name of the resource view."
, | 616 "zone": { |
426 "location": "path", | 617 "description": "Name of the zone scoping this reques
t.", |
427 "required": true, | 618 "location": "path", |
428 "type": "string" | 619 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
429 } | 620 "required": true, |
430 }, | 621 "type": "string" |
431 "path": "{project}/zones/{zone}/resourceViews", | 622 } |
432 "response": { | 623 }, |
433 "$ref": "ZoneViewsList" | 624 "path": "{project}/zones/{zone}/operations", |
434 }, | 625 "response": { |
435 "scopes": [ | 626 "$ref": "OperationList" |
436 "https://www.googleapis.com/auth/cloud-platform", | 627 }, |
437 "https://www.googleapis.com/auth/compute", | 628 "scopes": [ |
438 "https://www.googleapis.com/auth/compute.readonly", | 629 "https://www.googleapis.com/auth/cloud-platform", |
439 "https://www.googleapis.com/auth/ndev.cloudman", | 630 "https://www.googleapis.com/auth/compute" |
440 "https://www.googleapis.com/auth/ndev.cloudman.readonly" | |
441 ] | |
442 }, | |
443 "listResources": { | |
444 "description": "List the resources of the resource view.", | |
445 "httpMethod": "GET", | |
446 "id": "resourceviews.zoneViews.listResources", | |
447 "parameterOrder": [ | |
448 "project", | |
449 "zone", | |
450 "resourceView" | |
451 ], | |
452 "parameters": { | |
453 "format": { | |
454 "description": "The requested format of the return v
alue. It can be URL or URL_PORT. A JSON object will be included in the response
based on the format. The default format is NONE, which results in no JSON in the
response.", | |
455 "enum": [ | |
456 "NONE", | |
457 "URL", | |
458 "URL_PORT" | |
459 ], | |
460 "enumDescriptions": [ | |
461 "", | |
462 "", | |
463 "" | |
464 ], | |
465 "location": "query", | |
466 "type": "string" | |
467 }, | |
468 "listState": { | |
469 "default": "ALL", | |
470 "description": "The state of the instance to list. B
y default, it lists all instances.", | |
471 "enum": [ | |
472 "ALL", | |
473 "RUNNING" | |
474 ], | |
475 "enumDescriptions": [ | |
476 "", | |
477 "" | |
478 ], | |
479 "location": "query", | |
480 "type": "string" | |
481 }, | |
482 "maxResults": { | |
483 "default": "5000", | |
484 "description": "Maximum count of results to be retur
ned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)", | |
485 "format": "int32", | |
486 "location": "query", | |
487 "maximum": "5000", | |
488 "minimum": "0", | |
489 "type": "integer" | |
490 }, | |
491 "pageToken": { | |
492 "description": "Specifies a nextPageToken returned b
y a previous list request. This token can be used to request the next page of re
sults from a previous list request.", | |
493 "location": "query", | |
494 "type": "string" | |
495 }, | |
496 "project": { | |
497 "description": "The project name of the resource vie
w.", | |
498 "location": "path", | |
499 "required": true, | |
500 "type": "string" | |
501 }, | |
502 "resourceView": { | |
503 "description": "The name of the resource view.", | |
504 "location": "path", | |
505 "required": true, | |
506 "type": "string" | |
507 }, | |
508 "serviceName": { | |
509 "description": "The service name to return in the re
sponse. It is optional and if it is not set, all the service end points will be
returned.", | |
510 "location": "query", | |
511 "type": "string" | |
512 }, | |
513 "zone": { | |
514 "description": "The zone name of the resource view."
, | |
515 "location": "path", | |
516 "required": true, | |
517 "type": "string" | |
518 } | |
519 }, | |
520 "path": "{project}/zones/{zone}/resourceViews/{resourceView}
/resources", | |
521 "response": { | |
522 "$ref": "ZoneViewsListResourcesResponse" | |
523 }, | |
524 "scopes": [ | |
525 "https://www.googleapis.com/auth/cloud-platform", | |
526 "https://www.googleapis.com/auth/compute", | |
527 "https://www.googleapis.com/auth/compute.readonly", | |
528 "https://www.googleapis.com/auth/ndev.cloudman", | |
529 "https://www.googleapis.com/auth/ndev.cloudman.readonly" | |
530 ] | |
531 }, | |
532 "removeResources": { | |
533 "description": "Remove resources from the view.", | |
534 "httpMethod": "POST", | |
535 "id": "resourceviews.zoneViews.removeResources", | |
536 "parameterOrder": [ | |
537 "project", | |
538 "zone", | |
539 "resourceView" | |
540 ], | |
541 "parameters": { | |
542 "project": { | |
543 "description": "The project name of the resource vie
w.", | |
544 "location": "path", | |
545 "required": true, | |
546 "type": "string" | |
547 }, | |
548 "resourceView": { | |
549 "description": "The name of the resource view.", | |
550 "location": "path", | |
551 "required": true, | |
552 "type": "string" | |
553 }, | |
554 "zone": { | |
555 "description": "The zone name of the resource view."
, | |
556 "location": "path", | |
557 "required": true, | |
558 "type": "string" | |
559 } | |
560 }, | |
561 "path": "{project}/zones/{zone}/resourceViews/{resourceView}
/removeResources", | |
562 "request": { | |
563 "$ref": "ZoneViewsRemoveResourcesRequest" | |
564 }, | |
565 "response": { | |
566 "$ref": "Operation" | |
567 }, | |
568 "scopes": [ | |
569 "https://www.googleapis.com/auth/cloud-platform", | |
570 "https://www.googleapis.com/auth/compute", | |
571 "https://www.googleapis.com/auth/ndev.cloudman" | |
572 ] | |
573 }, | |
574 "setService": { | |
575 "description": "Update the service information of a resource
view or a resource.", | |
576 "httpMethod": "POST", | |
577 "id": "resourceviews.zoneViews.setService", | |
578 "parameterOrder": [ | |
579 "project", | |
580 "zone", | |
581 "resourceView" | |
582 ], | |
583 "parameters": { | |
584 "project": { | |
585 "description": "The project name of the resource vie
w.", | |
586 "location": "path", | |
587 "required": true, | |
588 "type": "string" | |
589 }, | |
590 "resourceView": { | |
591 "description": "The name of the resource view.", | |
592 "location": "path", | |
593 "required": true, | |
594 "type": "string" | |
595 }, | |
596 "zone": { | |
597 "description": "The zone name of the resource view."
, | |
598 "location": "path", | |
599 "required": true, | |
600 "type": "string" | |
601 } | |
602 }, | |
603 "path": "{project}/zones/{zone}/resourceViews/{resourceView}
/setService", | |
604 "request": { | |
605 "$ref": "ZoneViewsSetServiceRequest" | |
606 }, | |
607 "response": { | |
608 "$ref": "Operation" | |
609 }, | |
610 "scopes": [ | |
611 "https://www.googleapis.com/auth/cloud-platform", | |
612 "https://www.googleapis.com/auth/compute", | |
613 "https://www.googleapis.com/auth/ndev.cloudman" | |
614 ] | 631 ] |
615 } | 632 } |
616 } | 633 } |
617 } | 634 } |
618 }, | 635 }, |
619 "revision": "20140904", | 636 "revision": "20141002", |
620 "rootUrl": "https://www.googleapis.com/", | 637 "rootUrl": "https://www.googleapis.com/", |
621 "schemas": { | 638 "schemas": { |
622 "Label": { | 639 "InstanceGroupManager": { |
623 "description": "The Label to be applied to the resource views.", | 640 "description": "An Instance Group Manager resource.", |
624 "id": "Label", | 641 "id": "InstanceGroupManager", |
625 "properties": { | 642 "properties": { |
626 "key": { | 643 "baseInstanceName": { |
627 "description": "Key of the label.", | 644 "description": "The base instance name to use for instances
in this group. The value must be a valid RFC1035 name. Supported characters are
lowercase letters, numbers, and hyphens (-). Instances are named by appending a
hyphen and a random four-character string to the base instance name.", |
628 "type": "string" | 645 "type": "string" |
629 }, | 646 }, |
630 "value": { | 647 "creationTimestamp": { |
631 "description": "Value of the label.", | 648 "description": "[Output only] The time the instance group ma
nager was created, in RFC3339 text format.", |
632 "type": "string" | 649 "type": "string" |
| 650 }, |
| 651 "currentSize": { |
| 652 "description": "[Output only] The number of instances that c
urrently exist and are a part of this group. This includes instances that are st
arting but are not yet RUNNING, and instances that are in the process of being d
eleted or abandoned.", |
| 653 "format": "int32", |
| 654 "type": "integer" |
| 655 }, |
| 656 "description": { |
| 657 "description": "An optional textual description of the insta
nce group manager.", |
| 658 "type": "string" |
| 659 }, |
| 660 "fingerprint": { |
| 661 "description": "[Output only] Fingerprint of the instance gr
oup manager. This field is used for optimistic locking. An up-to-date fingerprin
t must be provided in order to modify the Instance Group Manager resource.", |
| 662 "format": "byte", |
| 663 "type": "string" |
| 664 }, |
| 665 "group": { |
| 666 "description": "[Output only] The full URL of the instance g
roup created by the manager. This group contains all of the instances being mana
ged, and cannot contain non-managed instances.", |
| 667 "type": "string" |
| 668 }, |
| 669 "id": { |
| 670 "description": "[Output only] A server-assigned unique ident
ifier for the resource.", |
| 671 "format": "uint64", |
| 672 "type": "string" |
| 673 }, |
| 674 "instanceTemplate": { |
| 675 "description": "The full URL to an instance template from wh
ich all new instances will be created.", |
| 676 "type": "string" |
| 677 }, |
| 678 "kind": { |
| 679 "default": "replicapool#instanceGroupManager", |
| 680 "description": "[Output only] The resource type. Always repl
icapool#instanceGroupManager.", |
| 681 "type": "string" |
| 682 }, |
| 683 "name": { |
| 684 "description": "The name of the instance group manager. Must
be 1-63 characters long and comply with RFC1035. Supported characters include l
owercase letters, numbers, and hyphens.", |
| 685 "type": "string" |
| 686 }, |
| 687 "selfLink": { |
| 688 "description": "[Output only] The fully qualified URL for th
is resource.", |
| 689 "type": "string" |
| 690 }, |
| 691 "targetPools": { |
| 692 "description": "The full URL of all target pools to which ne
w instances in the group are added. Updating the target pool values does not aff
ect existing instances.", |
| 693 "items": { |
| 694 "type": "string" |
| 695 }, |
| 696 "type": "array" |
| 697 }, |
| 698 "targetSize": { |
| 699 "description": "[Output only] The number of instances that t
he manager is attempting to maintain. Deleting or abandoning instances affects t
his number, as does resizing the group.", |
| 700 "format": "int32", |
| 701 "type": "integer" |
633 } | 702 } |
634 }, | 703 }, |
635 "type": "object" | 704 "type": "object" |
636 }, | 705 }, |
637 "ListResourceResponseItem": { | 706 "InstanceGroupManagerList": { |
638 "description": "The list response item that contains the resource an
d end points information.", | 707 "id": "InstanceGroupManagerList", |
639 "id": "ListResourceResponseItem", | |
640 "properties": { | 708 "properties": { |
641 "endpoints": { | 709 "id": { |
642 "additionalProperties": { | 710 "description": "Unique identifier for the resource; defined
by the server (output only).", |
643 "description": "The name of the service end point.", | 711 "type": "string" |
644 "items": { | 712 }, |
645 "format": "int32", | 713 "items": { |
646 "type": "integer" | 714 "description": "A list of instance resources.", |
647 }, | 715 "items": { |
648 "type": "array" | 716 "$ref": "InstanceGroupManager" |
649 }, | 717 }, |
650 "description": "The list of service end points on the resour
ce.", | 718 "type": "array" |
651 "type": "object" | 719 }, |
652 }, | 720 "kind": { |
653 "resource": { | 721 "default": "replicapool#instanceGroupManagerList", |
654 "description": "The full URL of the resource.", | 722 "description": "Type of resource.", |
655 "type": "string" | 723 "type": "string" |
| 724 }, |
| 725 "nextPageToken": { |
| 726 "description": "A token used to continue a truncated list re
quest (output only).", |
| 727 "type": "string" |
| 728 }, |
| 729 "selfLink": { |
| 730 "description": "Server defined URL for this resource (output
only).", |
| 731 "type": "string" |
| 732 } |
| 733 }, |
| 734 "type": "object" |
| 735 }, |
| 736 "InstanceGroupManagersAbandonInstancesRequest": { |
| 737 "id": "InstanceGroupManagersAbandonInstancesRequest", |
| 738 "properties": { |
| 739 "instances": { |
| 740 "description": "The names of one or more instances to abando
n. For example:\n{ 'instances': [ 'instance-c3po', 'instance-r2d2' ] }", |
| 741 "items": { |
| 742 "type": "string" |
| 743 }, |
| 744 "type": "array" |
| 745 } |
| 746 }, |
| 747 "type": "object" |
| 748 }, |
| 749 "InstanceGroupManagersDeleteInstancesRequest": { |
| 750 "id": "InstanceGroupManagersDeleteInstancesRequest", |
| 751 "properties": { |
| 752 "instances": { |
| 753 "description": "Names of instances to delete.\n\nExample: 'i
nstance-foo', 'instance-bar'", |
| 754 "items": { |
| 755 "type": "string" |
| 756 }, |
| 757 "type": "array" |
| 758 } |
| 759 }, |
| 760 "type": "object" |
| 761 }, |
| 762 "InstanceGroupManagersRecreateInstancesRequest": { |
| 763 "id": "InstanceGroupManagersRecreateInstancesRequest", |
| 764 "properties": { |
| 765 "instances": { |
| 766 "description": "The names of one or more instances to recrea
te. For example:\n{ 'instances': [ 'instance-c3po', 'instance-r2d2' ] }", |
| 767 "items": { |
| 768 "type": "string" |
| 769 }, |
| 770 "type": "array" |
| 771 } |
| 772 }, |
| 773 "type": "object" |
| 774 }, |
| 775 "InstanceGroupManagersSetInstanceTemplateRequest": { |
| 776 "id": "InstanceGroupManagersSetInstanceTemplateRequest", |
| 777 "properties": { |
| 778 "instanceTemplate": { |
| 779 "description": "The full URL to an Instance Template from wh
ich all new instances will be created.", |
| 780 "type": "string" |
| 781 } |
| 782 }, |
| 783 "type": "object" |
| 784 }, |
| 785 "InstanceGroupManagersSetTargetPoolsRequest": { |
| 786 "id": "InstanceGroupManagersSetTargetPoolsRequest", |
| 787 "properties": { |
| 788 "fingerprint": { |
| 789 "description": "The current fingerprint of the Instance Grou
p Manager resource. If this does not match the server-side fingerprint of the re
source, then the request will be rejected.", |
| 790 "format": "byte", |
| 791 "type": "string" |
| 792 }, |
| 793 "targetPools": { |
| 794 "description": "A list of fully-qualified URLs to existing T
arget Pool resources. New instances in the Instance Group Manager will be added
to the specified target pools; existing instances are not affected.", |
| 795 "items": { |
| 796 "type": "string" |
| 797 }, |
| 798 "type": "array" |
656 } | 799 } |
657 }, | 800 }, |
658 "type": "object" | 801 "type": "object" |
659 }, | 802 }, |
660 "Operation": { | 803 "Operation": { |
661 "description": "An operation resource, used to manage asynchronous A
PI requests.", | 804 "description": "An operation resource, used to manage asynchronous A
PI requests.", |
662 "id": "Operation", | 805 "id": "Operation", |
663 "properties": { | 806 "properties": { |
664 "clientOperationId": { | 807 "clientOperationId": { |
665 "description": "[Output only] An optional identifier specifi
ed by the client when the mutation was initiated. Must be unique for all operati
on resources in the project.", | 808 "description": "[Output only] An optional identifier specifi
ed by the client when the mutation was initiated. Must be unique for all operati
on resources in the project.", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 "id": { | 855 "id": { |
713 "description": "[Output Only] Unique identifier for the reso
urce, generated by the server.", | 856 "description": "[Output Only] Unique identifier for the reso
urce, generated by the server.", |
714 "format": "uint64", | 857 "format": "uint64", |
715 "type": "string" | 858 "type": "string" |
716 }, | 859 }, |
717 "insertTime": { | 860 "insertTime": { |
718 "description": "[Output Only] The time that this operation w
as requested, in RFC3339 text format.", | 861 "description": "[Output Only] The time that this operation w
as requested, in RFC3339 text format.", |
719 "type": "string" | 862 "type": "string" |
720 }, | 863 }, |
721 "kind": { | 864 "kind": { |
722 "default": "resourceviews#operation", | 865 "default": "replicapool#operation", |
723 "description": "[Output only] Type of the resource.", | 866 "description": "[Output only] Type of the resource.", |
724 "type": "string" | 867 "type": "string" |
725 }, | 868 }, |
726 "name": { | 869 "name": { |
727 "description": "[Output Only] Name of the resource.", | 870 "description": "[Output Only] Name of the resource.", |
728 "type": "string" | 871 "type": "string" |
729 }, | 872 }, |
730 "operationType": { | 873 "operationType": { |
731 "description": "[Output only] Type of the operation. Operati
ons include insert, update, and delete.", | 874 "description": "[Output only] Type of the operation. Operati
ons include insert, update, and delete.", |
732 "type": "string" | 875 "type": "string" |
(...skipping 10 matching lines...) Expand all Loading... |
743 "selfLink": { | 886 "selfLink": { |
744 "description": "[Output Only] Server-defined fully-qualified
URL for this resource.", | 887 "description": "[Output Only] Server-defined fully-qualified
URL for this resource.", |
745 "type": "string" | 888 "type": "string" |
746 }, | 889 }, |
747 "startTime": { | 890 "startTime": { |
748 "description": "[Output Only] The time that this operation w
as started by the server, in RFC3339 text format.", | 891 "description": "[Output Only] The time that this operation w
as started by the server, in RFC3339 text format.", |
749 "type": "string" | 892 "type": "string" |
750 }, | 893 }, |
751 "status": { | 894 "status": { |
752 "description": "[Output Only] Status of the operation.", | 895 "description": "[Output Only] Status of the operation.", |
| 896 "enum": [ |
| 897 "DONE", |
| 898 "PENDING", |
| 899 "RUNNING" |
| 900 ], |
| 901 "enumDescriptions": [ |
| 902 "", |
| 903 "", |
| 904 "" |
| 905 ], |
753 "type": "string" | 906 "type": "string" |
754 }, | 907 }, |
755 "statusMessage": { | 908 "statusMessage": { |
756 "description": "[Output Only] An optional textual descriptio
n of the current status of the operation.", | 909 "description": "[Output Only] An optional textual descriptio
n of the current status of the operation.", |
757 "type": "string" | 910 "type": "string" |
758 }, | 911 }, |
759 "targetId": { | 912 "targetId": { |
760 "description": "[Output Only] Unique target ID which identif
ies a particular incarnation of the target.", | 913 "description": "[Output Only] Unique target ID which identif
ies a particular incarnation of the target.", |
761 "format": "uint64", | 914 "format": "uint64", |
762 "type": "string" | 915 "type": "string" |
763 }, | 916 }, |
764 "targetLink": { | 917 "targetLink": { |
765 "description": "[Output only] URL of the resource the operat
ion is mutating.", | 918 "description": "[Output only] URL of the resource the operat
ion is mutating.", |
766 "type": "string" | 919 "type": "string" |
767 }, | 920 }, |
768 "user": { | 921 "user": { |
769 "description": "[Output Only] User who requested the operati
on, for example: user@example.com.", | 922 "description": "[Output Only] User who requested the operati
on, for example: user@example.com.", |
770 "type": "string" | 923 "type": "string" |
771 }, | 924 }, |
772 "warnings": { | 925 "warnings": { |
773 "description": "[Output Only] If there are issues with this
operation, a warning is returned.", | 926 "description": "[Output Only] If there are issues with this
operation, a warning is returned.", |
774 "items": { | 927 "items": { |
775 "properties": { | 928 "properties": { |
776 "code": { | 929 "code": { |
777 "description": "[Output only] The warning type i
dentifier for this warning.", | 930 "description": "[Output only] The warning type i
dentifier for this warning.", |
| 931 "enum": [ |
| 932 "DEPRECATED_RESOURCE_USED", |
| 933 "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", |
| 934 "INJECTED_KERNELS_DEPRECATED", |
| 935 "NEXT_HOP_ADDRESS_NOT_ASSIGNED", |
| 936 "NEXT_HOP_CANNOT_IP_FORWARD", |
| 937 "NEXT_HOP_INSTANCE_NOT_FOUND", |
| 938 "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", |
| 939 "NEXT_HOP_NOT_RUNNING", |
| 940 "NO_RESULTS_ON_PAGE", |
| 941 "REQUIRED_TOS_AGREEMENT", |
| 942 "RESOURCE_NOT_DELETED", |
| 943 "UNREACHABLE" |
| 944 ], |
| 945 "enumDescriptions": [ |
| 946 "", |
| 947 "", |
| 948 "", |
| 949 "", |
| 950 "", |
| 951 "", |
| 952 "", |
| 953 "", |
| 954 "", |
| 955 "", |
| 956 "", |
| 957 "" |
| 958 ], |
778 "type": "string" | 959 "type": "string" |
779 }, | 960 }, |
780 "data": { | 961 "data": { |
781 "description": "[Output only] Metadata for this
warning in key:value format.", | 962 "description": "[Output only] Metadata for this
warning in key:value format.", |
782 "items": { | 963 "items": { |
783 "properties": { | 964 "properties": { |
784 "key": { | 965 "key": { |
785 "description": "[Output Only] Metada
ta key for this warning.", | 966 "description": "[Output Only] Metada
ta key for this warning.", |
786 "type": "string" | 967 "type": "string" |
787 }, | 968 }, |
(...skipping 30 matching lines...) Expand all Loading... |
818 "type": "string" | 999 "type": "string" |
819 }, | 1000 }, |
820 "items": { | 1001 "items": { |
821 "description": "The operation resources.", | 1002 "description": "The operation resources.", |
822 "items": { | 1003 "items": { |
823 "$ref": "Operation" | 1004 "$ref": "Operation" |
824 }, | 1005 }, |
825 "type": "array" | 1006 "type": "array" |
826 }, | 1007 }, |
827 "kind": { | 1008 "kind": { |
828 "default": "resourceviews#operationList", | 1009 "default": "replicapool#operationList", |
829 "description": "Type of resource.", | 1010 "description": "Type of resource.", |
830 "type": "string" | 1011 "type": "string" |
831 }, | 1012 }, |
832 "nextPageToken": { | 1013 "nextPageToken": { |
833 "description": "A token used to continue a truncated list re
quest (output only).", | 1014 "description": "A token used to continue a truncated list re
quest (output only).", |
834 "type": "string" | 1015 "type": "string" |
835 }, | 1016 }, |
836 "selfLink": { | 1017 "selfLink": { |
837 "description": "Server defined URL for this resource (output
only).", | 1018 "description": "Server defined URL for this resource (output
only).", |
838 "type": "string" | 1019 "type": "string" |
839 } | 1020 } |
840 }, | 1021 }, |
841 "type": "object" | 1022 "type": "object" |
842 }, | |
843 "ResourceView": { | |
844 "description": "The resource view object.", | |
845 "id": "ResourceView", | |
846 "properties": { | |
847 "creationTimestamp": { | |
848 "description": "The creation time of the resource view.", | |
849 "type": "string" | |
850 }, | |
851 "description": { | |
852 "description": "The detailed description of the resource vie
w.", | |
853 "type": "string" | |
854 }, | |
855 "endpoints": { | |
856 "description": "Services endpoint information.", | |
857 "items": { | |
858 "$ref": "ServiceEndpoint" | |
859 }, | |
860 "type": "array" | |
861 }, | |
862 "fingerprint": { | |
863 "description": "The fingerprint of the service endpoint info
rmation.", | |
864 "type": "string" | |
865 }, | |
866 "id": { | |
867 "description": "[Output Only] The ID of the resource view.", | |
868 "type": "string" | |
869 }, | |
870 "kind": { | |
871 "default": "resourceviews#resourceView", | |
872 "description": "Type of the resource.", | |
873 "type": "string" | |
874 }, | |
875 "labels": { | |
876 "description": "The labels for events.", | |
877 "items": { | |
878 "$ref": "Label" | |
879 }, | |
880 "type": "array" | |
881 }, | |
882 "name": { | |
883 "description": "The name of the resource view.", | |
884 "type": "string" | |
885 }, | |
886 "network": { | |
887 "description": "The URL of a Compute Engine network to which
the resources in the view belong.", | |
888 "type": "string" | |
889 }, | |
890 "resources": { | |
891 "description": "A list of all resources in the resource view
.", | |
892 "items": { | |
893 "type": "string" | |
894 }, | |
895 "type": "array" | |
896 }, | |
897 "selfLink": { | |
898 "description": "[Output Only] A self-link to the resource vi
ew.", | |
899 "type": "string" | |
900 }, | |
901 "size": { | |
902 "description": "The total number of resources in the resourc
e view.", | |
903 "format": "uint32", | |
904 "type": "integer" | |
905 } | |
906 }, | |
907 "type": "object" | |
908 }, | |
909 "ServiceEndpoint": { | |
910 "description": "The service endpoint that may be started in a VM.", | |
911 "id": "ServiceEndpoint", | |
912 "properties": { | |
913 "name": { | |
914 "description": "The name of the service endpoint.", | |
915 "type": "string" | |
916 }, | |
917 "port": { | |
918 "description": "The port of the service endpoint.", | |
919 "format": "int32", | |
920 "type": "integer" | |
921 } | |
922 }, | |
923 "type": "object" | |
924 }, | |
925 "ZoneViewsAddResourcesRequest": { | |
926 "description": "The request to add resources to the resource view.", | |
927 "id": "ZoneViewsAddResourcesRequest", | |
928 "properties": { | |
929 "resources": { | |
930 "description": "The list of resources to be added.", | |
931 "items": { | |
932 "type": "string" | |
933 }, | |
934 "type": "array" | |
935 } | |
936 }, | |
937 "type": "object" | |
938 }, | |
939 "ZoneViewsGetServiceResponse": { | |
940 "id": "ZoneViewsGetServiceResponse", | |
941 "properties": { | |
942 "endpoints": { | |
943 "description": "The service information.", | |
944 "items": { | |
945 "$ref": "ServiceEndpoint" | |
946 }, | |
947 "type": "array" | |
948 }, | |
949 "fingerprint": { | |
950 "description": "The fingerprint of the service information."
, | |
951 "type": "string" | |
952 } | |
953 }, | |
954 "type": "object" | |
955 }, | |
956 "ZoneViewsList": { | |
957 "description": "The response to a list request.", | |
958 "id": "ZoneViewsList", | |
959 "properties": { | |
960 "items": { | |
961 "description": "The result that contains all resource views
that meet the criteria.", | |
962 "items": { | |
963 "$ref": "ResourceView" | |
964 }, | |
965 "type": "array" | |
966 }, | |
967 "kind": { | |
968 "default": "resourceviews#zoneViewsList", | |
969 "description": "Type of resource.", | |
970 "type": "string" | |
971 }, | |
972 "nextPageToken": { | |
973 "description": "A token used for pagination.", | |
974 "type": "string" | |
975 }, | |
976 "selfLink": { | |
977 "description": "Server defined URL for this resource (output
only).", | |
978 "type": "string" | |
979 } | |
980 }, | |
981 "type": "object" | |
982 }, | |
983 "ZoneViewsListResourcesResponse": { | |
984 "description": "The response to a list resource request.", | |
985 "id": "ZoneViewsListResourcesResponse", | |
986 "properties": { | |
987 "items": { | |
988 "description": "The formatted JSON that is requested by the
user.", | |
989 "items": { | |
990 "$ref": "ListResourceResponseItem" | |
991 }, | |
992 "type": "array" | |
993 }, | |
994 "network": { | |
995 "description": "The URL of a Compute Engine network to which
the resources in the view belong.", | |
996 "type": "string" | |
997 }, | |
998 "nextPageToken": { | |
999 "description": "A token used for pagination.", | |
1000 "type": "string" | |
1001 } | |
1002 }, | |
1003 "type": "object" | |
1004 }, | |
1005 "ZoneViewsRemoveResourcesRequest": { | |
1006 "description": "The request to remove resources from the resource vi
ew.", | |
1007 "id": "ZoneViewsRemoveResourcesRequest", | |
1008 "properties": { | |
1009 "resources": { | |
1010 "description": "The list of resources to be removed.", | |
1011 "items": { | |
1012 "type": "string" | |
1013 }, | |
1014 "type": "array" | |
1015 } | |
1016 }, | |
1017 "type": "object" | |
1018 }, | |
1019 "ZoneViewsSetServiceRequest": { | |
1020 "id": "ZoneViewsSetServiceRequest", | |
1021 "properties": { | |
1022 "endpoints": { | |
1023 "description": "The service information to be updated.", | |
1024 "items": { | |
1025 "$ref": "ServiceEndpoint" | |
1026 }, | |
1027 "type": "array" | |
1028 }, | |
1029 "fingerprint": { | |
1030 "description": "Fingerprint of the service information; a ha
sh of the contents. This field is used for optimistic locking when updating the
service entries.", | |
1031 "type": "string" | |
1032 }, | |
1033 "resourceName": { | |
1034 "description": "The name of the resource if user wants to up
date the service information of the resource.", | |
1035 "type": "string" | |
1036 } | |
1037 }, | |
1038 "type": "object" | |
1039 } | 1023 } |
1040 }, | 1024 }, |
1041 "servicePath": "resourceviews/v1beta2/projects/", | 1025 "servicePath": "replicapool/v1beta2/projects/", |
1042 "title": "Resource Views API", | 1026 "title": "Google Compute Engine Instance Group Manager API", |
1043 "version": "v1beta2" | 1027 "version": "v1beta2" |
1044 } | 1028 } |
OLD | NEW |