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

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

Issue 1268013003: Api-roll 21: 2015-08-04 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 years, 4 months 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/cloud-platform.read-only": {
9 "description": "MESSAGE UNDER CONSTRUCTION View your data ac ross Google Cloud Platform services"
10 },
11 "https://www.googleapis.com/auth/ndev.cloudman": {
12 "description": "View and manage your Google Cloud Platform m anagement resources and deployment status information"
13 },
14 "https://www.googleapis.com/auth/ndev.cloudman.readonly": {
15 "description": "View your Google Cloud Platform management r esources and deployment status information"
16 }
17 }
18 }
19 },
20 "basePath": "/deploymentmanager/v2beta2/projects/",
21 "baseUrl": "https://www.googleapis.com/deploymentmanager/v2beta2/projects/",
22 "batchPath": "batch",
23 "canonicalName": "Deployment Manager",
24 "description": "The Deployment Manager API allows users to declaratively con figure, deploy and run complex solutions on the Google Cloud Platform.",
25 "discoveryVersion": "v1",
26 "documentationLink": "https://developers.google.com/deployment-manager/",
27 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/guLJBPXGbDBnc4IiWoaiCyL_DPU\"",
28 "icons": {
29 "x16": "http://www.google.com/images/icons/product/search-16.gif",
30 "x32": "http://www.google.com/images/icons/product/search-32.gif"
31 },
32 "id": "deploymentmanager:v2beta2",
33 "kind": "discovery#restDescription",
34 "name": "deploymentmanager",
35 "ownerDomain": "google.com",
36 "ownerName": "Google",
37 "parameters": {
38 "alt": {
39 "default": "json",
40 "description": "Data format for the response.",
41 "enum": [
42 "json"
43 ],
44 "enumDescriptions": [
45 "Responses with Content-Type of application/json"
46 ],
47 "location": "query",
48 "type": "string"
49 },
50 "fields": {
51 "description": "Selector specifying which fields to include in a par tial response.",
52 "location": "query",
53 "type": "string"
54 },
55 "key": {
56 "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.",
57 "location": "query",
58 "type": "string"
59 },
60 "oauth_token": {
61 "description": "OAuth 2.0 token for the current user.",
62 "location": "query",
63 "type": "string"
64 },
65 "prettyPrint": {
66 "default": "true",
67 "description": "Returns response with indentations and line breaks." ,
68 "location": "query",
69 "type": "boolean"
70 },
71 "quotaUser": {
72 "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.",
73 "location": "query",
74 "type": "string"
75 },
76 "userIp": {
77 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
78 "location": "query",
79 "type": "string"
80 }
81 },
82 "protocol": "rest",
83 "resources": {
84 "deployments": {
85 "methods": {
86 "delete": {
87 "description": "Deletes a deployment and all of the resource s in the deployment.",
88 "httpMethod": "DELETE",
89 "id": "deploymentmanager.deployments.delete",
90 "parameterOrder": [
91 "project",
92 "deployment"
93 ],
94 "parameters": {
95 "deployment": {
96 "description": "The name of the deployment for this request.",
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 project ID for this request.",
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 },
110 "path": "{project}/global/deployments/{deployment}",
111 "response": {
112 "$ref": "Operation"
113 },
114 "scopes": [
115 "https://www.googleapis.com/auth/cloud-platform",
116 "https://www.googleapis.com/auth/ndev.cloudman"
117 ]
118 },
119 "get": {
120 "description": "Gets information about a specific deployment .",
121 "httpMethod": "GET",
122 "id": "deploymentmanager.deployments.get",
123 "parameterOrder": [
124 "project",
125 "deployment"
126 ],
127 "parameters": {
128 "deployment": {
129 "description": "The name of the deployment for this request.",
130 "location": "path",
131 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
132 "required": true,
133 "type": "string"
134 },
135 "project": {
136 "description": "The project ID for this request.",
137 "location": "path",
138 "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])?))" ,
139 "required": true,
140 "type": "string"
141 }
142 },
143 "path": "{project}/global/deployments/{deployment}",
144 "response": {
145 "$ref": "Deployment"
146 },
147 "scopes": [
148 "https://www.googleapis.com/auth/cloud-platform",
149 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
150 "https://www.googleapis.com/auth/ndev.cloudman",
151 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
152 ]
153 },
154 "insert": {
155 "description": "Creates a deployment and all of the resource s described by the deployment manifest.",
156 "httpMethod": "POST",
157 "id": "deploymentmanager.deployments.insert",
158 "parameterOrder": [
159 "project"
160 ],
161 "parameters": {
162 "project": {
163 "description": "The project ID for this request.",
164 "location": "path",
165 "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])?))" ,
166 "required": true,
167 "type": "string"
168 }
169 },
170 "path": "{project}/global/deployments",
171 "request": {
172 "$ref": "Deployment"
173 },
174 "response": {
175 "$ref": "Operation"
176 },
177 "scopes": [
178 "https://www.googleapis.com/auth/cloud-platform",
179 "https://www.googleapis.com/auth/ndev.cloudman"
180 ]
181 },
182 "list": {
183 "description": "Lists all deployments for a given project.",
184 "httpMethod": "GET",
185 "id": "deploymentmanager.deployments.list",
186 "parameterOrder": [
187 "project"
188 ],
189 "parameters": {
190 "filter": {
191 "description": "Sets a filter expression for filteri ng listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supporte d (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The liter al value must be valid for the type of field (string, number, boolean). For stri ng fields, the literal value is interpreted as a regular expression using RE2 sy ntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
192 "location": "query",
193 "type": "string"
194 },
195 "maxResults": {
196 "default": "500",
197 "description": "Maximum count of results to be retur ned.",
198 "format": "uint32",
199 "location": "query",
200 "maximum": "500",
201 "minimum": "0",
202 "type": "integer"
203 },
204 "pageToken": {
205 "description": "Specifies a page token to use. Use t his parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.",
206 "location": "query",
207 "type": "string"
208 },
209 "project": {
210 "description": "The project ID for this request.",
211 "location": "path",
212 "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])?))" ,
213 "required": true,
214 "type": "string"
215 }
216 },
217 "path": "{project}/global/deployments",
218 "response": {
219 "$ref": "DeploymentsListResponse"
220 },
221 "scopes": [
222 "https://www.googleapis.com/auth/cloud-platform",
223 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
224 "https://www.googleapis.com/auth/ndev.cloudman",
225 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
226 ]
227 },
228 "patch": {
229 "description": "Updates a deployment and all of the resource s described by the deployment manifest. This method supports patch semantics.",
230 "httpMethod": "PATCH",
231 "id": "deploymentmanager.deployments.patch",
232 "parameterOrder": [
233 "project",
234 "deployment"
235 ],
236 "parameters": {
237 "createPolicy": {
238 "default": "CREATE_OR_ACQUIRE",
239 "description": "Sets the policy to use for creating new resources.",
240 "enum": [
241 "ACQUIRE",
242 "CREATE_OR_ACQUIRE"
243 ],
244 "enumDescriptions": [
245 "",
246 ""
247 ],
248 "location": "query",
249 "type": "string"
250 },
251 "deletePolicy": {
252 "default": "DELETE",
253 "description": "Sets the policy to use for deleting resources.",
254 "enum": [
255 "ABANDON",
256 "DELETE"
257 ],
258 "enumDescriptions": [
259 "",
260 ""
261 ],
262 "location": "query",
263 "type": "string"
264 },
265 "deployment": {
266 "description": "The name of the deployment for this request.",
267 "location": "path",
268 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
269 "required": true,
270 "type": "string"
271 },
272 "project": {
273 "description": "The project ID for this request.",
274 "location": "path",
275 "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])?))" ,
276 "required": true,
277 "type": "string"
278 },
279 "updatePolicy": {
280 "default": "PATCH",
281 "description": "Sets the policy to use for updating resources.",
282 "enum": [
283 "PATCH",
284 "UPDATE"
285 ],
286 "enumDescriptions": [
287 "",
288 ""
289 ],
290 "location": "query",
291 "type": "string"
292 }
293 },
294 "path": "{project}/global/deployments/{deployment}",
295 "request": {
296 "$ref": "Deployment"
297 },
298 "response": {
299 "$ref": "Operation"
300 },
301 "scopes": [
302 "https://www.googleapis.com/auth/cloud-platform",
303 "https://www.googleapis.com/auth/ndev.cloudman"
304 ]
305 },
306 "update": {
307 "description": "Updates a deployment and all of the resource s described by the deployment manifest.",
308 "httpMethod": "PUT",
309 "id": "deploymentmanager.deployments.update",
310 "parameterOrder": [
311 "project",
312 "deployment"
313 ],
314 "parameters": {
315 "createPolicy": {
316 "default": "CREATE_OR_ACQUIRE",
317 "description": "Sets the policy to use for creating new resources.",
318 "enum": [
319 "ACQUIRE",
320 "CREATE_OR_ACQUIRE"
321 ],
322 "enumDescriptions": [
323 "",
324 ""
325 ],
326 "location": "query",
327 "type": "string"
328 },
329 "deletePolicy": {
330 "default": "DELETE",
331 "description": "Sets the policy to use for deleting resources.",
332 "enum": [
333 "ABANDON",
334 "DELETE"
335 ],
336 "enumDescriptions": [
337 "",
338 ""
339 ],
340 "location": "query",
341 "type": "string"
342 },
343 "deployment": {
344 "description": "The name of the deployment for this request.",
345 "location": "path",
346 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
347 "required": true,
348 "type": "string"
349 },
350 "project": {
351 "description": "The project ID for this request.",
352 "location": "path",
353 "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])?))" ,
354 "required": true,
355 "type": "string"
356 },
357 "updatePolicy": {
358 "default": "PATCH",
359 "description": "Sets the policy to use for updating resources.",
360 "enum": [
361 "PATCH",
362 "UPDATE"
363 ],
364 "enumDescriptions": [
365 "",
366 ""
367 ],
368 "location": "query",
369 "type": "string"
370 }
371 },
372 "path": "{project}/global/deployments/{deployment}",
373 "request": {
374 "$ref": "Deployment"
375 },
376 "response": {
377 "$ref": "Operation"
378 },
379 "scopes": [
380 "https://www.googleapis.com/auth/cloud-platform",
381 "https://www.googleapis.com/auth/ndev.cloudman"
382 ]
383 }
384 }
385 },
386 "manifests": {
387 "methods": {
388 "get": {
389 "description": "Gets information about a specific manifest." ,
390 "httpMethod": "GET",
391 "id": "deploymentmanager.manifests.get",
392 "parameterOrder": [
393 "project",
394 "deployment",
395 "manifest"
396 ],
397 "parameters": {
398 "deployment": {
399 "description": "The name of the deployment for this request.",
400 "location": "path",
401 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
402 "required": true,
403 "type": "string"
404 },
405 "manifest": {
406 "description": "The name of the manifest for this re quest.",
407 "location": "path",
408 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
409 "required": true,
410 "type": "string"
411 },
412 "project": {
413 "description": "The project ID for this request.",
414 "location": "path",
415 "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])?))" ,
416 "required": true,
417 "type": "string"
418 }
419 },
420 "path": "{project}/global/deployments/{deployment}/manifests /{manifest}",
421 "response": {
422 "$ref": "Manifest"
423 },
424 "scopes": [
425 "https://www.googleapis.com/auth/cloud-platform",
426 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
427 "https://www.googleapis.com/auth/ndev.cloudman",
428 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
429 ]
430 },
431 "list": {
432 "description": "Lists all manifests for a given deployment." ,
433 "httpMethod": "GET",
434 "id": "deploymentmanager.manifests.list",
435 "parameterOrder": [
436 "project",
437 "deployment"
438 ],
439 "parameters": {
440 "deployment": {
441 "description": "The name of the deployment for this request.",
442 "location": "path",
443 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
444 "required": true,
445 "type": "string"
446 },
447 "filter": {
448 "description": "Sets a filter expression for filteri ng listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supporte d (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The liter al value must be valid for the type of field (string, number, boolean). For stri ng fields, the literal value is interpreted as a regular expression using RE2 sy ntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
449 "location": "query",
450 "type": "string"
451 },
452 "maxResults": {
453 "default": "500",
454 "description": "Maximum count of results to be retur ned.",
455 "format": "uint32",
456 "location": "query",
457 "maximum": "500",
458 "minimum": "0",
459 "type": "integer"
460 },
461 "pageToken": {
462 "description": "Specifies a page token to use. Use t his parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.",
463 "location": "query",
464 "type": "string"
465 },
466 "project": {
467 "description": "The project ID for this request.",
468 "location": "path",
469 "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])?))" ,
470 "required": true,
471 "type": "string"
472 }
473 },
474 "path": "{project}/global/deployments/{deployment}/manifests ",
475 "response": {
476 "$ref": "ManifestsListResponse"
477 },
478 "scopes": [
479 "https://www.googleapis.com/auth/cloud-platform",
480 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
481 "https://www.googleapis.com/auth/ndev.cloudman",
482 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
483 ]
484 }
485 }
486 },
487 "operations": {
488 "methods": {
489 "get": {
490 "description": "Gets information about a specific operation. ",
491 "httpMethod": "GET",
492 "id": "deploymentmanager.operations.get",
493 "parameterOrder": [
494 "project",
495 "operation"
496 ],
497 "parameters": {
498 "operation": {
499 "description": "The name of the operation for this r equest.",
500 "location": "path",
501 "required": true,
502 "type": "string"
503 },
504 "project": {
505 "description": "The project ID for this request.",
506 "location": "path",
507 "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])?))" ,
508 "required": true,
509 "type": "string"
510 }
511 },
512 "path": "{project}/global/operations/{operation}",
513 "response": {
514 "$ref": "Operation"
515 },
516 "scopes": [
517 "https://www.googleapis.com/auth/cloud-platform",
518 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
519 "https://www.googleapis.com/auth/ndev.cloudman",
520 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
521 ]
522 },
523 "list": {
524 "description": "Lists all operations for a project.",
525 "httpMethod": "GET",
526 "id": "deploymentmanager.operations.list",
527 "parameterOrder": [
528 "project"
529 ],
530 "parameters": {
531 "filter": {
532 "description": "Sets a filter expression for filteri ng listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supporte d (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The liter al value must be valid for the type of field (string, number, boolean). For stri ng fields, the literal value is interpreted as a regular expression using RE2 sy ntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
533 "location": "query",
534 "type": "string"
535 },
536 "maxResults": {
537 "default": "500",
538 "description": "Maximum count of results to be retur ned.",
539 "format": "uint32",
540 "location": "query",
541 "maximum": "500",
542 "minimum": "0",
543 "type": "integer"
544 },
545 "pageToken": {
546 "description": "Specifies a page token to use. Use t his parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.",
547 "location": "query",
548 "type": "string"
549 },
550 "project": {
551 "description": "The project ID for this request.",
552 "location": "path",
553 "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])?))" ,
554 "required": true,
555 "type": "string"
556 }
557 },
558 "path": "{project}/global/operations",
559 "response": {
560 "$ref": "OperationsListResponse"
561 },
562 "scopes": [
563 "https://www.googleapis.com/auth/cloud-platform",
564 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
565 "https://www.googleapis.com/auth/ndev.cloudman",
566 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
567 ]
568 }
569 }
570 },
571 "resources": {
572 "methods": {
573 "get": {
574 "description": "Gets information about a single resource.",
575 "httpMethod": "GET",
576 "id": "deploymentmanager.resources.get",
577 "parameterOrder": [
578 "project",
579 "deployment",
580 "resource"
581 ],
582 "parameters": {
583 "deployment": {
584 "description": "The name of the deployment for this request.",
585 "location": "path",
586 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
587 "required": true,
588 "type": "string"
589 },
590 "project": {
591 "description": "The project ID for this request.",
592 "location": "path",
593 "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])?))" ,
594 "required": true,
595 "type": "string"
596 },
597 "resource": {
598 "description": "The name of the resource for this re quest.",
599 "location": "path",
600 "required": true,
601 "type": "string"
602 }
603 },
604 "path": "{project}/global/deployments/{deployment}/resources /{resource}",
605 "response": {
606 "$ref": "Resource"
607 },
608 "scopes": [
609 "https://www.googleapis.com/auth/cloud-platform",
610 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
611 "https://www.googleapis.com/auth/ndev.cloudman",
612 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
613 ]
614 },
615 "list": {
616 "description": "Lists all resources in a given deployment.",
617 "httpMethod": "GET",
618 "id": "deploymentmanager.resources.list",
619 "parameterOrder": [
620 "project",
621 "deployment"
622 ],
623 "parameters": {
624 "deployment": {
625 "description": "The name of the deployment for this request.",
626 "location": "path",
627 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
628 "required": true,
629 "type": "string"
630 },
631 "filter": {
632 "description": "Sets a filter expression for filteri ng listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supporte d (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The liter al value must be valid for the type of field (string, number, boolean). For stri ng fields, the literal value is interpreted as a regular expression using RE2 sy ntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
633 "location": "query",
634 "type": "string"
635 },
636 "maxResults": {
637 "default": "500",
638 "description": "Maximum count of results to be retur ned.",
639 "format": "uint32",
640 "location": "query",
641 "maximum": "500",
642 "minimum": "0",
643 "type": "integer"
644 },
645 "pageToken": {
646 "description": "Specifies a page token to use. Use t his parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.",
647 "location": "query",
648 "type": "string"
649 },
650 "project": {
651 "description": "The project ID for this request.",
652 "location": "path",
653 "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])?))" ,
654 "required": true,
655 "type": "string"
656 }
657 },
658 "path": "{project}/global/deployments/{deployment}/resources ",
659 "response": {
660 "$ref": "ResourcesListResponse"
661 },
662 "scopes": [
663 "https://www.googleapis.com/auth/cloud-platform",
664 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
665 "https://www.googleapis.com/auth/ndev.cloudman",
666 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
667 ]
668 }
669 }
670 },
671 "types": {
672 "methods": {
673 "list": {
674 "description": "Lists all resource types for Deployment Mana ger.",
675 "httpMethod": "GET",
676 "id": "deploymentmanager.types.list",
677 "parameterOrder": [
678 "project"
679 ],
680 "parameters": {
681 "filter": {
682 "description": "Sets a filter expression for filteri ng listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.\n\nThe FIELD_NAME is the name of the field you want to compare. Only atomic field types are supporte d (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The liter al value must be valid for the type of field (string, number, boolean). For stri ng fields, the literal value is interpreted as a regular expression using RE2 sy ntax. The literal value must match the entire field.\n\nFor example, filter=name ne example-instance.",
683 "location": "query",
684 "type": "string"
685 },
686 "maxResults": {
687 "default": "500",
688 "description": "Maximum count of results to be retur ned.",
689 "format": "uint32",
690 "location": "query",
691 "maximum": "500",
692 "minimum": "0",
693 "type": "integer"
694 },
695 "pageToken": {
696 "description": "Specifies a page token to use. Use t his parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.",
697 "location": "query",
698 "type": "string"
699 },
700 "project": {
701 "description": "The project ID for this request.",
702 "location": "path",
703 "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])?))" ,
704 "required": true,
705 "type": "string"
706 }
707 },
708 "path": "{project}/global/types",
709 "response": {
710 "$ref": "TypesListResponse"
711 },
712 "scopes": [
713 "https://www.googleapis.com/auth/cloud-platform",
714 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
715 "https://www.googleapis.com/auth/ndev.cloudman",
716 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
717 ]
718 }
719 }
720 }
721 },
722 "revision": "20150728",
723 "rootUrl": "https://www.googleapis.com/",
724 "schemas": {
725 "Deployment": {
726 "description": "",
727 "id": "Deployment",
728 "properties": {
729 "description": {
730 "description": "An optional user-provided description of the deployment.",
731 "type": "string"
732 },
733 "fingerprint": {
734 "description": "Specifies a fingerprint for update() request s. A fingerprint is a randomly generated value that must be provided in update() requests to perform optimistic locking. This ensures optimistic concurrency so that only one update can be performed at a time. The fingerprint is initially ge nerated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get() request to a deployment.",
735 "format": "byte",
736 "type": "string"
737 },
738 "id": {
739 "description": "[Output Only] Unique identifier for the reso urce; defined by the server.",
740 "format": "uint64",
741 "type": "string"
742 },
743 "insertTime": {
744 "description": "[Output Only] Timestamp when the deployment was created, in RFC3339 text format .",
745 "type": "string"
746 },
747 "intent": {
748 "description": "[Input Only] Specifies how Deployment Manage r should apply this template. Possible options are PREVIEW, UPDATE, and CANCEL.\ n\nPREVIEW creates a deployment and creates \"shell\" resources but does not act ually instantiate these resources. This allows you to preview what your deployme nt looks like. You can use this intent to preview updates to deployments or prev iew new deployments. You must provide a target.config with a configuration for t his intent. After previewing a deployment, you can deploy your resources by maki ng a request with the UPDATE intent or you can CANCEL the preview altogether. No te that the deployment will still exist after you cancel the preview and you mus t separately delete this deployment if you want to remove it.\n\nUPDATE performs an update to the underlying resources in a deployment. If you provide a populat ed target.config field with this request, Deployment Manager uses that configura tion to perform an update. If you had previewed this update beforehand, and do n ot supply a target.config or provide an empty target.config, Deployment Manager uses the last previewed configuration.\n\nCANCEL cancels an update that is in PR EVIEW or UPDATE but does not undo any changes already made.",
749 "type": "string"
750 },
751 "manifest": {
752 "description": "[Output Only] URL of the manifest representi ng the last manifest that was successfully deployed.",
753 "type": "string"
754 },
755 "name": {
756 "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. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character m ust be a lowercase letter, and all following characters must be a dash, lowercas e letter, or digit, except the last character, which cannot be a dash.",
757 "type": "string"
758 },
759 "state": {
760 "description": "[Output Only] The current state of the deplo yment. This can be DEPLOYED, DEPLOYMENT_FAILED, PREVIEWING, UPDATING, and CANCEL ING.",
761 "type": "string"
762 },
763 "target": {
764 "$ref": "TargetConfiguration",
765 "description": "[Input Only] The parameters that define your deployment, including the deployment configuration and relevant templates."
766 },
767 "update": {
768 "$ref": "DeploymentUpdate",
769 "description": "[Output Only] If Deployment Manager is curre ntly updating or previewing an update to this deployment, the updated configurat ion appears here."
770 },
771 "updateTime": {
772 "description": "[Output Only] Timestamp when the deployment was updated, in RFC3339 text format .",
773 "type": "string"
774 }
775 },
776 "type": "object"
777 },
778 "DeploymentUpdate": {
779 "description": "",
780 "id": "DeploymentUpdate",
781 "properties": {
782 "errors": {
783 "description": "[Output Only] List of all errors encountered while trying to enact the update.",
784 "items": {
785 "type": "string"
786 },
787 "type": "array"
788 },
789 "manifest": {
790 "description": "[Output Only] URL of the manifest representi ng the update configuration of this deployment.",
791 "type": "string"
792 }
793 },
794 "type": "object"
795 },
796 "DeploymentsListResponse": {
797 "description": "A response containing a partial list of deployments and a page token used to build the next request if the request has been truncate d.",
798 "id": "DeploymentsListResponse",
799 "properties": {
800 "deployments": {
801 "description": "[Output Only] The deployments contained in t his response.",
802 "items": {
803 "$ref": "Deployment"
804 },
805 "type": "array"
806 },
807 "nextPageToken": {
808 "description": "[Output Only] A token used to continue a tru ncated list request.",
809 "type": "string"
810 }
811 },
812 "type": "object"
813 },
814 "ImportFile": {
815 "description": "",
816 "id": "ImportFile",
817 "properties": {
818 "content": {
819 "description": "The contents of the file.",
820 "type": "string"
821 },
822 "name": {
823 "description": "The name of the file.",
824 "type": "string"
825 }
826 },
827 "type": "object"
828 },
829 "Manifest": {
830 "description": "",
831 "id": "Manifest",
832 "properties": {
833 "config": {
834 "description": "[Output Only] The YAML configuration for thi s manifest.",
835 "type": "string"
836 },
837 "evaluatedConfig": {
838 "description": "[Output Only] The fully-expanded configurati on file, including any templates and references.",
839 "type": "string"
840 },
841 "id": {
842 "description": "[Output Only] Unique identifier for the reso urce; defined by the server.",
843 "format": "uint64",
844 "type": "string"
845 },
846 "imports": {
847 "description": "[Output Only] The imported files for this ma nifest.",
848 "items": {
849 "$ref": "ImportFile"
850 },
851 "type": "array"
852 },
853 "insertTime": {
854 "description": "[Output Only] Timestamp when the manifest wa s created, in RFC3339 text format.",
855 "type": "string"
856 },
857 "layout": {
858 "description": "[Output Only] The YAML layout for this manif est.",
859 "type": "string"
860 },
861 "name": {
862 "description": "[Output Only] The name of the manifest.",
863 "type": "string"
864 },
865 "selfLink": {
866 "description": "[Output Only] Self link for the manifest.",
867 "type": "string"
868 }
869 },
870 "type": "object"
871 },
872 "ManifestsListResponse": {
873 "description": "A response containing a partial list of manifests an d a page token used to build the next request if the request has been truncated. ",
874 "id": "ManifestsListResponse",
875 "properties": {
876 "manifests": {
877 "description": "[Output Only] Manifests contained in this li st response.",
878 "items": {
879 "$ref": "Manifest"
880 },
881 "type": "array"
882 },
883 "nextPageToken": {
884 "description": "[Output Only] A token used to continue a tru ncated list request.",
885 "type": "string"
886 }
887 },
888 "type": "object"
889 },
890 "Operation": {
891 "description": "An Operation resource, used to manage asynchronous A PI requests.",
892 "id": "Operation",
893 "properties": {
894 "clientOperationId": {
895 "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.",
896 "type": "string"
897 },
898 "creationTimestamp": {
899 "description": "[Output Only] Creation timestamp in RFC3339 text format.",
900 "type": "string"
901 },
902 "endTime": {
903 "description": "[Output Only] The time that this operation w as completed. This is in RFC3339 text format.",
904 "type": "string"
905 },
906 "error": {
907 "description": "[Output Only] If errors are generated during processing of the operation, this field will be populated.",
908 "properties": {
909 "errors": {
910 "description": "[Output Only] The array of errors en countered while processing this operation.",
911 "items": {
912 "properties": {
913 "code": {
914 "description": "[Output Only] The error type identifier for this error.",
915 "type": "string"
916 },
917 "location": {
918 "description": "[Output Only] Indicates the field in the request which caused the error. This property is optional.",
919 "type": "string"
920 },
921 "message": {
922 "description": "[Output Only] An optiona l, human-readable error message.",
923 "type": "string"
924 }
925 },
926 "type": "object"
927 },
928 "type": "array"
929 }
930 },
931 "type": "object"
932 },
933 "httpErrorMessage": {
934 "description": "[Output Only] If the operation fails, this f ield contains the HTTP error message that was returned, such as NOT FOUND.",
935 "type": "string"
936 },
937 "httpErrorStatusCode": {
938 "description": "[Output Only] If the operation fails, this f ield contains the HTTP error message that was returned, such as 404.",
939 "format": "int32",
940 "type": "integer"
941 },
942 "id": {
943 "description": "[Output Only] Unique identifier for the reso urce; defined by the server.",
944 "format": "uint64",
945 "type": "string"
946 },
947 "insertTime": {
948 "description": "[Output Only] The time that this operation w as requested. This is in RFC3339 text format.",
949 "type": "string"
950 },
951 "kind": {
952 "default": "deploymentmanager#operation",
953 "description": "[Output Only] Type of the resource. Always c ompute#Operation for Operation resources.",
954 "type": "string"
955 },
956 "name": {
957 "description": "[Output Only] Name of the resource.",
958 "type": "string"
959 },
960 "operationType": {
961 "description": "[Output Only] Type of the operation, such as insert, update, and delete.",
962 "type": "string"
963 },
964 "progress": {
965 "description": "[Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or suppo rt any granularity of operations. This should not be used to guess at when the o peration will be complete. This number should monotonically increase as the oper ation progresses.",
966 "format": "int32",
967 "type": "integer"
968 },
969 "region": {
970 "description": "[Output Only] URL of the region where the op eration resides. Only applicable for regional resources.",
971 "type": "string"
972 },
973 "selfLink": {
974 "description": "[Output Only] Server defined URL for the res ource.",
975 "type": "string"
976 },
977 "startTime": {
978 "description": "[Output Only] The time that this operation w as started by the server. This is in RFC3339 text format.",
979 "type": "string"
980 },
981 "status": {
982 "description": "[Output Only] Status of the operation. Can b e one of the following: PENDING, RUNNING, or DONE.",
983 "type": "string"
984 },
985 "statusMessage": {
986 "description": "[Output Only] An optional textual descriptio n of the current status of the operation.",
987 "type": "string"
988 },
989 "targetId": {
990 "description": "[Output Only] Unique target ID which identif ies a particular incarnation of the target.",
991 "format": "uint64",
992 "type": "string"
993 },
994 "targetLink": {
995 "description": "[Output Only] URL of the resource the operat ion is mutating.",
996 "type": "string"
997 },
998 "user": {
999 "description": "[Output Only] User who requested the operati on, for example: user@example.com.",
1000 "type": "string"
1001 },
1002 "warnings": {
1003 "description": "[Output Only] If warning messages are genera ted during processing of the operation, this field will be populated.",
1004 "items": {
1005 "properties": {
1006 "code": {
1007 "description": "[Output Only] The warning type i dentifier for this warning.",
1008 "type": "string"
1009 },
1010 "data": {
1011 "description": "[Output Only] Metadata for this warning in key: value format.",
1012 "items": {
1013 "properties": {
1014 "key": {
1015 "description": "[Output Only] A key for the warning data.",
1016 "type": "string"
1017 },
1018 "value": {
1019 "description": "[Output Only] A warn ing data value corresponding to the key.",
1020 "type": "string"
1021 }
1022 },
1023 "type": "object"
1024 },
1025 "type": "array"
1026 },
1027 "message": {
1028 "description": "[Output Only] Optional human-rea dable details for this warning.",
1029 "type": "string"
1030 }
1031 },
1032 "type": "object"
1033 },
1034 "type": "array"
1035 },
1036 "zone": {
1037 "description": "[Output Only] URL of the zone where the oper ation resides.",
1038 "type": "string"
1039 }
1040 },
1041 "type": "object"
1042 },
1043 "OperationsListResponse": {
1044 "description": "A response containing a partial list of operations a nd a page token used to build the next request if the request has been truncated .",
1045 "id": "OperationsListResponse",
1046 "properties": {
1047 "nextPageToken": {
1048 "description": "[Output Only] A token used to continue a tru ncated list request.",
1049 "type": "string"
1050 },
1051 "operations": {
1052 "description": "[Output Only] Operations contained in this l ist response.",
1053 "items": {
1054 "$ref": "Operation"
1055 },
1056 "type": "array"
1057 }
1058 },
1059 "type": "object"
1060 },
1061 "Resource": {
1062 "description": "",
1063 "id": "Resource",
1064 "properties": {
1065 "finalProperties": {
1066 "description": "[Output Only] The evaluated properties of th e resource with references expanded. Returned as serialized YAML.",
1067 "type": "string"
1068 },
1069 "id": {
1070 "description": "[Output Only] Unique identifier for the reso urce; defined by the server.",
1071 "format": "uint64",
1072 "type": "string"
1073 },
1074 "insertTime": {
1075 "description": "[Output Only] Timestamp when the resource wa s created or acquired, in RFC3339 text format .",
1076 "type": "string"
1077 },
1078 "manifest": {
1079 "description": "[Output Only] URL of the manifest representi ng the current configuration of this resource.",
1080 "type": "string"
1081 },
1082 "name": {
1083 "description": "[Output Only] The name of the resource as it appears in the YAML config.",
1084 "type": "string"
1085 },
1086 "properties": {
1087 "description": "[Output Only] The current properties of the resource before any references have been filled in. Returned as serialized YAML. ",
1088 "type": "string"
1089 },
1090 "type": {
1091 "description": "[Output Only] The type of the resource, for example compute.v1.instance, or replicaPools.v1beta2.instanceGroupManager.",
1092 "type": "string"
1093 },
1094 "update": {
1095 "$ref": "ResourceUpdate",
1096 "description": "[Output Only] If Deployment Manager is curre ntly updating or previewing an update to this resource, the updated configuratio n appears here."
1097 },
1098 "updateTime": {
1099 "description": "[Output Only] Timestamp when the resource wa s updated, in RFC3339 text format .",
1100 "type": "string"
1101 },
1102 "url": {
1103 "description": "[Output Only] The URL of the actual resource .",
1104 "type": "string"
1105 }
1106 },
1107 "type": "object"
1108 },
1109 "ResourceUpdate": {
1110 "description": "",
1111 "id": "ResourceUpdate",
1112 "properties": {
1113 "errors": {
1114 "description": "[Output Only] List of all errors encountered while trying to enact update.intent.",
1115 "items": {
1116 "type": "string"
1117 },
1118 "type": "array"
1119 },
1120 "finalProperties": {
1121 "description": "[Output Only] The expanded properties of the resource with reference values expanded. Returned as serialized YAML.",
1122 "type": "string"
1123 },
1124 "intent": {
1125 "description": "[Output Only] The intent of the resource: PR EVIEW, UPDATE, or CANCEL.",
1126 "type": "string"
1127 },
1128 "manifest": {
1129 "description": "[Output Only] URL of the manifest representi ng the update configuration of this resource.",
1130 "type": "string"
1131 },
1132 "properties": {
1133 "description": "[Output Only] The set of updated properties for this resource, before references are expanded. Returned as serialized YAML." ,
1134 "type": "string"
1135 },
1136 "state": {
1137 "description": "[Output Only] The state of the resource.",
1138 "type": "string"
1139 }
1140 },
1141 "type": "object"
1142 },
1143 "ResourcesListResponse": {
1144 "description": "A response containing a partial list of resources an d a page token used to build the next request if the request has been truncated. ",
1145 "id": "ResourcesListResponse",
1146 "properties": {
1147 "nextPageToken": {
1148 "description": "A token used to continue a truncated list re quest.",
1149 "type": "string"
1150 },
1151 "resources": {
1152 "description": "Resources contained in this list response.",
1153 "items": {
1154 "$ref": "Resource"
1155 },
1156 "type": "array"
1157 }
1158 },
1159 "type": "object"
1160 },
1161 "TargetConfiguration": {
1162 "description": "",
1163 "id": "TargetConfiguration",
1164 "properties": {
1165 "config": {
1166 "description": "The configuration to use for this deployment .",
1167 "type": "string"
1168 },
1169 "imports": {
1170 "description": "Specifies any files to import for this confi guration. This can be used to import templates or other files. For example, you might import a text file in order to use the file in a template.",
1171 "items": {
1172 "$ref": "ImportFile"
1173 },
1174 "type": "array"
1175 }
1176 },
1177 "type": "object"
1178 },
1179 "Type": {
1180 "description": "A resource type supported by Deployment Manager.",
1181 "id": "Type",
1182 "properties": {
1183 "name": {
1184 "description": "Name of the type.",
1185 "type": "string"
1186 }
1187 },
1188 "type": "object"
1189 },
1190 "TypesListResponse": {
1191 "description": "A response that returns all Types supported by Deplo yment Manager",
1192 "id": "TypesListResponse",
1193 "properties": {
1194 "nextPageToken": {
1195 "description": "A token used to continue a truncated list re quest.",
1196 "type": "string"
1197 },
1198 "types": {
1199 "description": "[Output Only] A list of resource types suppo rted by Deployment Manager.",
1200 "items": {
1201 "$ref": "Type"
1202 },
1203 "type": "array"
1204 }
1205 },
1206 "type": "object"
1207 }
1208 },
1209 "servicePath": "deploymentmanager/v2beta2/projects/",
1210 "title": "Google Cloud Deployment Manager API V2",
1211 "version": "v2beta2"
1212 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698