Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: discovery/googleapis_beta/replicapoolupdater__v1beta1.json

Issue 698403003: Api roll 5: 2014-11-05 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services"
7 },
8 "https://www.googleapis.com/auth/replicapool": {
9 "description": "View and manage replica pools"
10 },
11 "https://www.googleapis.com/auth/replicapool.readonly": {
12 "description": "View replica pools"
13 }
14 }
15 }
16 },
17 "basePath": "/replicapoolupdater/v1beta1/projects/",
18 "baseUrl": "https://www.googleapis.com/replicapoolupdater/v1beta1/projects/" ,
19 "batchPath": "batch",
20 "description": "The Google Compute Engine Instance Group Updater API provide s services for updating groups of Compute Engine Instances.",
21 "discoveryVersion": "v1",
22 "documentationLink": "",
23 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/7FRX0hPrcBX5nF_FMe00xO_Wdmw\"",
24 "icons": {
25 "x16": "http://www.google.com/images/icons/product/search-16.gif",
26 "x32": "http://www.google.com/images/icons/product/search-32.gif"
27 },
28 "id": "replicapoolupdater:v1beta1",
29 "kind": "discovery#restDescription",
30 "labels": [
31 "limited_availability"
32 ],
33 "name": "replicapoolupdater",
34 "ownerDomain": "google.com",
35 "ownerName": "Google",
36 "parameters": {
37 "alt": {
38 "default": "json",
39 "description": "Data format for the response.",
40 "enum": [
41 "json"
42 ],
43 "enumDescriptions": [
44 "Responses with Content-Type of application/json"
45 ],
46 "location": "query",
47 "type": "string"
48 },
49 "fields": {
50 "description": "Selector specifying which fields to include in a par tial response.",
51 "location": "query",
52 "type": "string"
53 },
54 "key": {
55 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
56 "location": "query",
57 "type": "string"
58 },
59 "oauth_token": {
60 "description": "OAuth 2.0 token for the current user.",
61 "location": "query",
62 "type": "string"
63 },
64 "prettyPrint": {
65 "default": "true",
66 "description": "Returns response with indentations and line breaks." ,
67 "location": "query",
68 "type": "boolean"
69 },
70 "quotaUser": {
71 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters. Overrides userIp if both are provided.",
72 "location": "query",
73 "type": "string"
74 },
75 "userIp": {
76 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
77 "location": "query",
78 "type": "string"
79 }
80 },
81 "protocol": "rest",
82 "resources": {
83 "updates": {
84 "methods": {
85 "cancel": {
86 "description": "Called on the particular Update endpoint. Ca ncels the update in state PAUSED. No-op if invoked in state CANCELLED.",
87 "httpMethod": "POST",
88 "id": "replicapoolupdater.updates.cancel",
89 "parameterOrder": [
90 "project",
91 "zone",
92 "instanceGroupManager",
93 "update"
94 ],
95 "parameters": {
96 "instanceGroupManager": {
97 "description": "Name of the instance group manager f or this request.",
98 "location": "path",
99 "required": true,
100 "type": "string"
101 },
102 "project": {
103 "description": "Project ID for this request.",
104 "location": "path",
105 "required": true,
106 "type": "string"
107 },
108 "update": {
109 "description": "Unique (in the context of a group) h andle of an update.",
110 "location": "path",
111 "required": true,
112 "type": "string"
113 },
114 "zone": {
115 "description": "Zone for the instance group manager. ",
116 "location": "path",
117 "required": true,
118 "type": "string"
119 }
120 },
121 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta nceGroupManager}/updates/{update}/cancel",
122 "scopes": [
123 "https://www.googleapis.com/auth/cloud-platform",
124 "https://www.googleapis.com/auth/replicapool"
125 ]
126 },
127 "get": {
128 "description": "Called on the particular Update endpoint. Re turns the Update resource.",
129 "httpMethod": "GET",
130 "id": "replicapoolupdater.updates.get",
131 "parameterOrder": [
132 "project",
133 "zone",
134 "instanceGroupManager",
135 "update"
136 ],
137 "parameters": {
138 "instanceGroupManager": {
139 "description": "Name of the instance group manager f or this request.",
140 "location": "path",
141 "required": true,
142 "type": "string"
143 },
144 "project": {
145 "description": "Project ID for this request.",
146 "location": "path",
147 "required": true,
148 "type": "string"
149 },
150 "update": {
151 "description": "Unique (in the context of a group) h andle of an update.",
152 "location": "path",
153 "required": true,
154 "type": "string"
155 },
156 "zone": {
157 "description": "Zone for the instance group manager. ",
158 "location": "path",
159 "required": true,
160 "type": "string"
161 }
162 },
163 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta nceGroupManager}/updates/{update}",
164 "response": {
165 "$ref": "Update"
166 },
167 "scopes": [
168 "https://www.googleapis.com/auth/cloud-platform",
169 "https://www.googleapis.com/auth/replicapool",
170 "https://www.googleapis.com/auth/replicapool.readonly"
171 ]
172 },
173 "insert": {
174 "description": "Called on the collection endpoint. Inserts t he new Update resource and starts the update.",
175 "httpMethod": "POST",
176 "id": "replicapoolupdater.updates.insert",
177 "parameterOrder": [
178 "project",
179 "zone",
180 "instanceGroupManager"
181 ],
182 "parameters": {
183 "instanceGroupManager": {
184 "description": "Name of the instance group manager f or this request.",
185 "location": "path",
186 "required": true,
187 "type": "string"
188 },
189 "project": {
190 "description": "Project ID for this request.",
191 "location": "path",
192 "required": true,
193 "type": "string"
194 },
195 "zone": {
196 "description": "Zone for the instance group manager. ",
197 "location": "path",
198 "required": true,
199 "type": "string"
200 }
201 },
202 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta nceGroupManager}/updates",
203 "request": {
204 "$ref": "Update"
205 },
206 "response": {
207 "$ref": "InsertResponse"
208 },
209 "scopes": [
210 "https://www.googleapis.com/auth/cloud-platform",
211 "https://www.googleapis.com/auth/replicapool"
212 ]
213 },
214 "list": {
215 "description": "Called on the collection endpoint. Lists upd ates for a given instance group, in reverse chronological order. Pagination is s upported, see ListRequestHeader.",
216 "httpMethod": "GET",
217 "id": "replicapoolupdater.updates.list",
218 "parameterOrder": [
219 "project",
220 "zone",
221 "instanceGroupManager"
222 ],
223 "parameters": {
224 "instanceGroupManager": {
225 "description": "Name of the instance group manager f or this request.",
226 "location": "path",
227 "required": true,
228 "type": "string"
229 },
230 "maxResults": {
231 "default": "50",
232 "description": "Maximum count of results to be retur ned. Acceptable values are 1 to 100, inclusive. (Default: 50)",
233 "format": "int32",
234 "location": "query",
235 "maximum": "100",
236 "minimum": "1",
237 "type": "integer"
238 },
239 "pageToken": {
240 "description": "Set this to the nextPageToken value returned by a previous list request to obtain the next page of results from the previous list request.",
241 "location": "query",
242 "type": "string"
243 },
244 "project": {
245 "description": "Project ID for this request.",
246 "location": "path",
247 "required": true,
248 "type": "string"
249 },
250 "zone": {
251 "description": "Zone for the instance group manager. ",
252 "location": "path",
253 "required": true,
254 "type": "string"
255 }
256 },
257 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta nceGroupManager}/updates",
258 "response": {
259 "$ref": "UpdateList"
260 },
261 "scopes": [
262 "https://www.googleapis.com/auth/cloud-platform",
263 "https://www.googleapis.com/auth/replicapool",
264 "https://www.googleapis.com/auth/replicapool.readonly"
265 ]
266 },
267 "pause": {
268 "description": "Called on the particular Update endpoint. Pa uses the update in state from { ROLLING_FORWARD, ROLLING_BACK, PAUSED }. No-op i f invoked in state PAUSED.",
269 "httpMethod": "POST",
270 "id": "replicapoolupdater.updates.pause",
271 "parameterOrder": [
272 "project",
273 "zone",
274 "instanceGroupManager",
275 "update"
276 ],
277 "parameters": {
278 "instanceGroupManager": {
279 "description": "Name of the instance group manager f or this request.",
280 "location": "path",
281 "required": true,
282 "type": "string"
283 },
284 "project": {
285 "description": "Project ID for this request.",
286 "location": "path",
287 "required": true,
288 "type": "string"
289 },
290 "update": {
291 "description": "Unique (in the context of a group) h andle of an update.",
292 "location": "path",
293 "required": true,
294 "type": "string"
295 },
296 "zone": {
297 "description": "Zone for the instance group manager. ",
298 "location": "path",
299 "required": true,
300 "type": "string"
301 }
302 },
303 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta nceGroupManager}/updates/{update}/pause",
304 "scopes": [
305 "https://www.googleapis.com/auth/cloud-platform",
306 "https://www.googleapis.com/auth/replicapool"
307 ]
308 },
309 "rollback": {
310 "description": "Called on the particular Update endpoint. Ro lls back the update in state from { ROLLING_FORWARD, ROLLING_BACK, PAUSED }. No- op if invoked in state ROLLED_BACK.",
311 "httpMethod": "POST",
312 "id": "replicapoolupdater.updates.rollback",
313 "parameterOrder": [
314 "project",
315 "zone",
316 "instanceGroupManager",
317 "update"
318 ],
319 "parameters": {
320 "instanceGroupManager": {
321 "description": "Name of the instance group manager f or this request.",
322 "location": "path",
323 "required": true,
324 "type": "string"
325 },
326 "project": {
327 "description": "Project ID for this request.",
328 "location": "path",
329 "required": true,
330 "type": "string"
331 },
332 "update": {
333 "description": "Unique (in the context of a group) h andle of an update.",
334 "location": "path",
335 "required": true,
336 "type": "string"
337 },
338 "zone": {
339 "description": "Zone for the instance group manager. ",
340 "location": "path",
341 "required": true,
342 "type": "string"
343 }
344 },
345 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta nceGroupManager}/updates/{update}/rollback",
346 "scopes": [
347 "https://www.googleapis.com/auth/cloud-platform",
348 "https://www.googleapis.com/auth/replicapool"
349 ]
350 },
351 "rollforward": {
352 "description": "Called on the particular Update endpoint. Ro lls forward the update in state from { ROLLING_FORWARD, ROLLING_BACK, PAUSED }. No-op if invoked in state ROLLED_OUT.",
353 "httpMethod": "POST",
354 "id": "replicapoolupdater.updates.rollforward",
355 "parameterOrder": [
356 "project",
357 "zone",
358 "instanceGroupManager",
359 "update"
360 ],
361 "parameters": {
362 "instanceGroupManager": {
363 "description": "Name of the instance group manager f or this request.",
364 "location": "path",
365 "required": true,
366 "type": "string"
367 },
368 "project": {
369 "description": "Project ID for this request.",
370 "location": "path",
371 "required": true,
372 "type": "string"
373 },
374 "update": {
375 "description": "Unique (in the context of a group) h andle of an update.",
376 "location": "path",
377 "required": true,
378 "type": "string"
379 },
380 "zone": {
381 "description": "Zone for the instance group manager. ",
382 "location": "path",
383 "required": true,
384 "type": "string"
385 }
386 },
387 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta nceGroupManager}/updates/{update}/rollforward",
388 "scopes": [
389 "https://www.googleapis.com/auth/cloud-platform",
390 "https://www.googleapis.com/auth/replicapool"
391 ]
392 }
393 }
394 }
395 },
396 "revision": "20141016",
397 "rootUrl": "https://www.googleapis.com/",
398 "schemas": {
399 "InsertResponse": {
400 "description": "Response returned by Insert method.",
401 "id": "InsertResponse",
402 "properties": {
403 "update": {
404 "description": "Unique (in the context of a group) handle of an update.",
405 "type": "string"
406 }
407 },
408 "type": "object"
409 },
410 "InstanceUpdate": {
411 "description": "Update of a single instance.",
412 "id": "InstanceUpdate",
413 "properties": {
414 "instanceName": {
415 "description": "Name of an instance.",
416 "type": "string"
417 },
418 "state": {
419 "description": "State of an instance update.",
420 "type": "string"
421 }
422 },
423 "type": "object"
424 },
425 "Update": {
426 "description": "Resource describing a single update (rollout) of an instance group to the given template.",
427 "id": "Update",
428 "properties": {
429 "details": {
430 "description": "[Output Only] Human-readable description of an update progress.",
431 "type": "string"
432 },
433 "handle": {
434 "description": "[Output Only] Unique (in the context of a gr oup) handle assigned to this update.",
435 "type": "string"
436 },
437 "instanceTemplate": {
438 "description": "Url of an instance template to be applied.",
439 "type": "string"
440 },
441 "instanceUpdates": {
442 "description": "[Output Only] Collection of instance updates .",
443 "items": {
444 "$ref": "InstanceUpdate"
445 },
446 "type": "array"
447 },
448 "kind": {
449 "default": "replicapoolupdater#update",
450 "description": "[Output only] The resource type. Always repl icapoolupdater#update.",
451 "type": "string"
452 },
453 "policy": {
454 "$ref": "UpdatePolicy",
455 "description": "Parameters of an update process."
456 },
457 "selfLink": {
458 "description": "[Output only] The fully qualified URL for th is resource.",
459 "type": "string"
460 },
461 "state": {
462 "description": "[Output Only] Current state of an update.",
463 "type": "string"
464 },
465 "targetState": {
466 "description": "[Output Only] Requested state of an update. This is the state that the updater is moving towards. Acceptable values are: \n - \"ROLLED_OUT\": The user has requested the update to go forward. \n- \"ROLLED_ BACK\": The user has requested the update to be rolled back. \n- \"PAUSED\": The user has requested the update to be paused.\n \n- \"CANCELLED\": The user has r equested the update to be cancelled. The updater service is in the process of ca nceling the update.",
467 "type": "string"
468 }
469 },
470 "type": "object"
471 },
472 "UpdateList": {
473 "description": "Response returned by List method.",
474 "id": "UpdateList",
475 "properties": {
476 "items": {
477 "description": "Collection of requested updates.",
478 "items": {
479 "$ref": "Update"
480 },
481 "type": "array"
482 },
483 "nextPageToken": {
484 "description": "A token used to continue a truncated list re quest.",
485 "type": "string"
486 }
487 },
488 "type": "object"
489 },
490 "UpdatePolicy": {
491 "description": "Parameters of an update process.",
492 "id": "UpdatePolicy",
493 "properties": {
494 "canary": {
495 "$ref": "UpdatePolicyCanary",
496 "description": "Parameters of a canary phase. If absent, can ary will NOT be performed."
497 },
498 "maxNumConcurrentInstances": {
499 "description": "Maximum number of instances that can be upda ted simultaneously (concurrently). An update of an instance starts when the inst ance is about to be restarted and finishes after the instance has been restarted and the sleep period (defined by sleep_after_instance_restart_sec) has passed." ,
500 "format": "int32",
501 "type": "integer"
502 },
503 "sleepAfterInstanceRestartSec": {
504 "description": "Time period after the instance has been rest arted but before marking the update of this instance as done.",
505 "format": "int32",
506 "type": "integer"
507 }
508 },
509 "type": "object"
510 },
511 "UpdatePolicyCanary": {
512 "description": "Parameters of a canary phase.",
513 "id": "UpdatePolicyCanary",
514 "properties": {
515 "numInstances": {
516 "description": "Number of instances updated as a part of can ary phase. If absent, the default number of instances will be used.",
517 "format": "int32",
518 "type": "integer"
519 }
520 },
521 "type": "object"
522 }
523 },
524 "servicePath": "replicapoolupdater/v1beta1/projects/",
525 "title": "Google Compute Engine Instance Group Updater API",
526 "version": "v1beta1"
527 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698