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

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

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 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/ndev.cloudman": {
9 "description": "View and manage your Google Cloud Platform m anagement resources and deployment status information"
10 },
11 "https://www.googleapis.com/auth/ndev.cloudman.readonly": {
12 "description": "View your Google Cloud Platform management r esources and deployment status information"
13 },
14 "https://www.googleapis.com/auth/replicapool": {
15 "description": "View and manage replica pools"
16 },
17 "https://www.googleapis.com/auth/replicapool.readonly": {
18 "description": "View replica pools"
19 }
20 }
21 }
22 },
23 "basePath": "/replicapool/v1beta1/projects/",
24 "baseUrl": "https://www.googleapis.com/replicapool/v1beta1/projects/",
25 "batchPath": "batch",
26 "description": "The Replica Pool API allows users to declaratively provision and manage groups of Google Compute Engine instances based on a common template .",
27 "discoveryVersion": "v1",
28 "documentationLink": "https://developers.google.com/compute/docs/replica-poo l/",
29 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/7J4unpNjcNo2pcmmAY8uBF1BWss\"",
30 "icons": {
31 "x16": "http://www.google.com/images/icons/product/search-16.gif",
32 "x32": "http://www.google.com/images/icons/product/search-32.gif"
33 },
34 "id": "replicapool:v1beta1",
35 "kind": "discovery#restDescription",
36 "labels": [
37 "limited_availability"
38 ],
39 "name": "replicapool",
40 "ownerDomain": "google.com",
41 "ownerName": "Google",
42 "parameters": {
43 "alt": {
44 "default": "json",
45 "description": "Data format for the response.",
46 "enum": [
47 "json"
48 ],
49 "enumDescriptions": [
50 "Responses with Content-Type of application/json"
51 ],
52 "location": "query",
53 "type": "string"
54 },
55 "fields": {
56 "description": "Selector specifying which fields to include in a par tial response.",
57 "location": "query",
58 "type": "string"
59 },
60 "key": {
61 "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.",
62 "location": "query",
63 "type": "string"
64 },
65 "oauth_token": {
66 "description": "OAuth 2.0 token for the current user.",
67 "location": "query",
68 "type": "string"
69 },
70 "prettyPrint": {
71 "default": "true",
72 "description": "Returns response with indentations and line breaks." ,
73 "location": "query",
74 "type": "boolean"
75 },
76 "quotaUser": {
77 "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.",
78 "location": "query",
79 "type": "string"
80 },
81 "userIp": {
82 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
83 "location": "query",
84 "type": "string"
85 }
86 },
87 "protocol": "rest",
88 "resources": {
89 "pools": {
90 "methods": {
91 "delete": {
92 "description": "Deletes a replica pool.",
93 "httpMethod": "POST",
94 "id": "replicapool.pools.delete",
95 "parameterOrder": [
96 "projectName",
97 "zone",
98 "poolName"
99 ],
100 "parameters": {
101 "poolName": {
102 "description": "The name of the replica pool for thi s request.",
103 "location": "path",
104 "required": true,
105 "type": "string"
106 },
107 "projectName": {
108 "description": "The project ID for this replica pool .",
109 "location": "path",
110 "required": true,
111 "type": "string"
112 },
113 "zone": {
114 "description": "The zone for this replica pool.",
115 "location": "path",
116 "required": true,
117 "type": "string"
118 }
119 },
120 "path": "{projectName}/zones/{zone}/pools/{poolName}",
121 "request": {
122 "$ref": "PoolsDeleteRequest"
123 },
124 "scopes": [
125 "https://www.googleapis.com/auth/cloud-platform",
126 "https://www.googleapis.com/auth/ndev.cloudman",
127 "https://www.googleapis.com/auth/replicapool"
128 ]
129 },
130 "get": {
131 "description": "Gets information about a single replica pool .",
132 "httpMethod": "GET",
133 "id": "replicapool.pools.get",
134 "parameterOrder": [
135 "projectName",
136 "zone",
137 "poolName"
138 ],
139 "parameters": {
140 "poolName": {
141 "description": "The name of the replica pool for thi s request.",
142 "location": "path",
143 "required": true,
144 "type": "string"
145 },
146 "projectName": {
147 "description": "The project ID for this replica pool .",
148 "location": "path",
149 "required": true,
150 "type": "string"
151 },
152 "zone": {
153 "description": "The zone for this replica pool.",
154 "location": "path",
155 "required": true,
156 "type": "string"
157 }
158 },
159 "path": "{projectName}/zones/{zone}/pools/{poolName}",
160 "response": {
161 "$ref": "Pool"
162 },
163 "scopes": [
164 "https://www.googleapis.com/auth/cloud-platform",
165 "https://www.googleapis.com/auth/ndev.cloudman",
166 "https://www.googleapis.com/auth/ndev.cloudman.readonly" ,
167 "https://www.googleapis.com/auth/replicapool",
168 "https://www.googleapis.com/auth/replicapool.readonly"
169 ]
170 },
171 "insert": {
172 "description": "Inserts a new replica pool.",
173 "httpMethod": "POST",
174 "id": "replicapool.pools.insert",
175 "parameterOrder": [
176 "projectName",
177 "zone"
178 ],
179 "parameters": {
180 "projectName": {
181 "description": "The project ID for this replica pool .",
182 "location": "path",
183 "required": true,
184 "type": "string"
185 },
186 "zone": {
187 "description": "The zone for this replica pool.",
188 "location": "path",
189 "required": true,
190 "type": "string"
191 }
192 },
193 "path": "{projectName}/zones/{zone}/pools",
194 "request": {
195 "$ref": "Pool"
196 },
197 "response": {
198 "$ref": "Pool"
199 },
200 "scopes": [
201 "https://www.googleapis.com/auth/cloud-platform",
202 "https://www.googleapis.com/auth/ndev.cloudman",
203 "https://www.googleapis.com/auth/replicapool"
204 ]
205 },
206 "list": {
207 "description": "List all replica pools.",
208 "httpMethod": "GET",
209 "id": "replicapool.pools.list",
210 "parameterOrder": [
211 "projectName",
212 "zone"
213 ],
214 "parameters": {
215 "maxResults": {
216 "default": "500",
217 "description": "Maximum count of results to be retur ned. Acceptable values are 0 to 100, inclusive. (Default: 50)",
218 "format": "int32",
219 "location": "query",
220 "maximum": "1000",
221 "minimum": "0",
222 "type": "integer"
223 },
224 "pageToken": {
225 "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.",
226 "location": "query",
227 "type": "string"
228 },
229 "projectName": {
230 "description": "The project ID for this request.",
231 "location": "path",
232 "required": true,
233 "type": "string"
234 },
235 "zone": {
236 "description": "The zone for this replica pool.",
237 "location": "path",
238 "required": true,
239 "type": "string"
240 }
241 },
242 "path": "{projectName}/zones/{zone}/pools",
243 "response": {
244 "$ref": "PoolsListResponse"
245 },
246 "scopes": [
247 "https://www.googleapis.com/auth/cloud-platform",
248 "https://www.googleapis.com/auth/ndev.cloudman",
249 "https://www.googleapis.com/auth/ndev.cloudman.readonly" ,
250 "https://www.googleapis.com/auth/replicapool",
251 "https://www.googleapis.com/auth/replicapool.readonly"
252 ]
253 },
254 "resize": {
255 "description": "Resize a pool. This is an asynchronous opera tion, and multiple overlapping resize requests can be made. Replica Pools will u se the information from the last resize request.",
256 "httpMethod": "POST",
257 "id": "replicapool.pools.resize",
258 "parameterOrder": [
259 "projectName",
260 "zone",
261 "poolName"
262 ],
263 "parameters": {
264 "numReplicas": {
265 "description": "The desired number of replicas to re size to. If this number is larger than the existing number of replicas, new repl icas will be added. If the number is smaller, then existing replicas will be del eted.",
266 "format": "int32",
267 "location": "query",
268 "type": "integer"
269 },
270 "poolName": {
271 "description": "The name of the replica pool for thi s request.",
272 "location": "path",
273 "required": true,
274 "type": "string"
275 },
276 "projectName": {
277 "description": "The project ID for this replica pool .",
278 "location": "path",
279 "required": true,
280 "type": "string"
281 },
282 "zone": {
283 "description": "The zone for this replica pool.",
284 "location": "path",
285 "required": true,
286 "type": "string"
287 }
288 },
289 "path": "{projectName}/zones/{zone}/pools/{poolName}/resize" ,
290 "response": {
291 "$ref": "Pool"
292 },
293 "scopes": [
294 "https://www.googleapis.com/auth/cloud-platform",
295 "https://www.googleapis.com/auth/ndev.cloudman",
296 "https://www.googleapis.com/auth/replicapool"
297 ]
298 },
299 "updatetemplate": {
300 "description": "Update the template used by the pool.",
301 "httpMethod": "POST",
302 "id": "replicapool.pools.updatetemplate",
303 "parameterOrder": [
304 "projectName",
305 "zone",
306 "poolName"
307 ],
308 "parameters": {
309 "poolName": {
310 "description": "The name of the replica pool for thi s request.",
311 "location": "path",
312 "required": true,
313 "type": "string"
314 },
315 "projectName": {
316 "description": "The project ID for this replica pool .",
317 "location": "path",
318 "required": true,
319 "type": "string"
320 },
321 "zone": {
322 "description": "The zone for this replica pool.",
323 "location": "path",
324 "required": true,
325 "type": "string"
326 }
327 },
328 "path": "{projectName}/zones/{zone}/pools/{poolName}/updateT emplate",
329 "request": {
330 "$ref": "Template"
331 },
332 "scopes": [
333 "https://www.googleapis.com/auth/cloud-platform",
334 "https://www.googleapis.com/auth/ndev.cloudman",
335 "https://www.googleapis.com/auth/replicapool"
336 ]
337 }
338 }
339 },
340 "replicas": {
341 "methods": {
342 "delete": {
343 "description": "Deletes a replica from the pool.",
344 "httpMethod": "POST",
345 "id": "replicapool.replicas.delete",
346 "parameterOrder": [
347 "projectName",
348 "zone",
349 "poolName",
350 "replicaName"
351 ],
352 "parameters": {
353 "poolName": {
354 "description": "The replica pool name for this reque st.",
355 "location": "path",
356 "required": true,
357 "type": "string"
358 },
359 "projectName": {
360 "description": "The project ID for this request.",
361 "location": "path",
362 "required": true,
363 "type": "string"
364 },
365 "replicaName": {
366 "description": "The name of the replica for this req uest.",
367 "location": "path",
368 "required": true,
369 "type": "string"
370 },
371 "zone": {
372 "description": "The zone where the replica lives.",
373 "location": "path",
374 "required": true,
375 "type": "string"
376 }
377 },
378 "path": "{projectName}/zones/{zone}/pools/{poolName}/replica s/{replicaName}",
379 "request": {
380 "$ref": "ReplicasDeleteRequest"
381 },
382 "response": {
383 "$ref": "Replica"
384 },
385 "scopes": [
386 "https://www.googleapis.com/auth/cloud-platform",
387 "https://www.googleapis.com/auth/ndev.cloudman",
388 "https://www.googleapis.com/auth/replicapool"
389 ]
390 },
391 "get": {
392 "description": "Gets information about a specific replica.",
393 "httpMethod": "GET",
394 "id": "replicapool.replicas.get",
395 "parameterOrder": [
396 "projectName",
397 "zone",
398 "poolName",
399 "replicaName"
400 ],
401 "parameters": {
402 "poolName": {
403 "description": "The replica pool name for this reque st.",
404 "location": "path",
405 "required": true,
406 "type": "string"
407 },
408 "projectName": {
409 "description": "The project ID for this request.",
410 "location": "path",
411 "required": true,
412 "type": "string"
413 },
414 "replicaName": {
415 "description": "The name of the replica for this req uest.",
416 "location": "path",
417 "required": true,
418 "type": "string"
419 },
420 "zone": {
421 "description": "The zone where the replica lives.",
422 "location": "path",
423 "required": true,
424 "type": "string"
425 }
426 },
427 "path": "{projectName}/zones/{zone}/pools/{poolName}/replica s/{replicaName}",
428 "response": {
429 "$ref": "Replica"
430 },
431 "scopes": [
432 "https://www.googleapis.com/auth/cloud-platform",
433 "https://www.googleapis.com/auth/ndev.cloudman",
434 "https://www.googleapis.com/auth/ndev.cloudman.readonly" ,
435 "https://www.googleapis.com/auth/replicapool",
436 "https://www.googleapis.com/auth/replicapool.readonly"
437 ]
438 },
439 "list": {
440 "description": "Lists all replicas in a pool.",
441 "httpMethod": "GET",
442 "id": "replicapool.replicas.list",
443 "parameterOrder": [
444 "projectName",
445 "zone",
446 "poolName"
447 ],
448 "parameters": {
449 "maxResults": {
450 "default": "500",
451 "description": "Maximum count of results to be retur ned. Acceptable values are 0 to 100, inclusive. (Default: 50)",
452 "format": "int32",
453 "location": "query",
454 "maximum": "1000",
455 "minimum": "0",
456 "type": "integer"
457 },
458 "pageToken": {
459 "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.",
460 "location": "query",
461 "type": "string"
462 },
463 "poolName": {
464 "description": "The replica pool name for this reque st.",
465 "location": "path",
466 "required": true,
467 "type": "string"
468 },
469 "projectName": {
470 "description": "The project ID for this request.",
471 "location": "path",
472 "required": true,
473 "type": "string"
474 },
475 "zone": {
476 "description": "The zone where the replica pool live s.",
477 "location": "path",
478 "required": true,
479 "type": "string"
480 }
481 },
482 "path": "{projectName}/zones/{zone}/pools/{poolName}/replica s",
483 "response": {
484 "$ref": "ReplicasListResponse"
485 },
486 "scopes": [
487 "https://www.googleapis.com/auth/cloud-platform",
488 "https://www.googleapis.com/auth/ndev.cloudman",
489 "https://www.googleapis.com/auth/ndev.cloudman.readonly" ,
490 "https://www.googleapis.com/auth/replicapool",
491 "https://www.googleapis.com/auth/replicapool.readonly"
492 ]
493 },
494 "restart": {
495 "description": "Restarts a replica in a pool.",
496 "httpMethod": "POST",
497 "id": "replicapool.replicas.restart",
498 "parameterOrder": [
499 "projectName",
500 "zone",
501 "poolName",
502 "replicaName"
503 ],
504 "parameters": {
505 "poolName": {
506 "description": "The replica pool name for this reque st.",
507 "location": "path",
508 "required": true,
509 "type": "string"
510 },
511 "projectName": {
512 "description": "The project ID for this request.",
513 "location": "path",
514 "required": true,
515 "type": "string"
516 },
517 "replicaName": {
518 "description": "The name of the replica for this req uest.",
519 "location": "path",
520 "required": true,
521 "type": "string"
522 },
523 "zone": {
524 "description": "The zone where the replica lives.",
525 "location": "path",
526 "required": true,
527 "type": "string"
528 }
529 },
530 "path": "{projectName}/zones/{zone}/pools/{poolName}/replica s/{replicaName}/restart",
531 "response": {
532 "$ref": "Replica"
533 },
534 "scopes": [
535 "https://www.googleapis.com/auth/cloud-platform",
536 "https://www.googleapis.com/auth/ndev.cloudman",
537 "https://www.googleapis.com/auth/replicapool"
538 ]
539 }
540 }
541 }
542 },
543 "revision": "20140827",
544 "rootUrl": "https://www.googleapis.com/",
545 "schemas": {
546 "AccessConfig": {
547 "description": "A Compute Engine network accessConfig. Identical to the accessConfig on corresponding Compute Engine resource.",
548 "id": "AccessConfig",
549 "properties": {
550 "name": {
551 "description": "Name of this access configuration.",
552 "type": "string"
553 },
554 "natIp": {
555 "description": "An external IP address associated with this instance.",
556 "type": "string"
557 },
558 "type": {
559 "description": "Type of this access configuration file. Curr ently only ONE_TO_ONE_NAT is supported.",
560 "type": "string"
561 }
562 },
563 "type": "object"
564 },
565 "Action": {
566 "description": "An action that gets executed during initialization o f the replicas.",
567 "id": "Action",
568 "properties": {
569 "commands": {
570 "description": "A list of commands to run, one per line. If any command fails, the whole action is considered a failure and no further actio ns are run. This also marks the virtual machine or replica as a failure.",
571 "items": {
572 "type": "string"
573 },
574 "type": "array"
575 },
576 "envVariables": {
577 "description": "A list of environment variables to use for t he commands in this action.",
578 "items": {
579 "$ref": "EnvVariable"
580 },
581 "type": "array"
582 },
583 "timeoutMilliSeconds": {
584 "description": "If an action's commands on a particular repl ica do not finish in the specified timeoutMilliSeconds, the replica is considere d to be in a FAILING state. No efforts are made to stop any processes that were spawned or created as the result of running the action's commands. The default i s the max allowed value, 1 hour (i.e. 3600000 milliseconds).",
585 "format": "int32",
586 "type": "integer"
587 }
588 },
589 "type": "object"
590 },
591 "DiskAttachment": {
592 "description": "Specifies how to attach a disk to a Replica.",
593 "id": "DiskAttachment",
594 "properties": {
595 "deviceName": {
596 "description": "The device name of this disk.",
597 "type": "string"
598 },
599 "index": {
600 "description": "A zero-based index to assign to this disk, w here 0 is reserved for the boot disk. If not specified, this is assigned by the server.",
601 "format": "uint32",
602 "type": "integer"
603 }
604 },
605 "type": "object"
606 },
607 "EnvVariable": {
608 "description": "An environment variable to set for an action.",
609 "id": "EnvVariable",
610 "properties": {
611 "hidden": {
612 "description": "Deprecated, do not use.",
613 "type": "boolean"
614 },
615 "name": {
616 "description": "The name of the environment variable.",
617 "type": "string"
618 },
619 "value": {
620 "description": "The value of the variable.",
621 "type": "string"
622 }
623 },
624 "type": "object"
625 },
626 "ExistingDisk": {
627 "description": "A pre-existing persistent disk that will be attached to every Replica in the Pool in READ_ONLY mode.",
628 "id": "ExistingDisk",
629 "properties": {
630 "attachment": {
631 "$ref": "DiskAttachment",
632 "description": "How the disk will be attached to the Replica ."
633 },
634 "source": {
635 "description": "The name of the Persistent Disk resource. Th e Persistent Disk resource must be in the same zone as the Pool.",
636 "type": "string"
637 }
638 },
639 "type": "object"
640 },
641 "HealthCheck": {
642 "id": "HealthCheck",
643 "properties": {
644 "checkIntervalSec": {
645 "description": "How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.",
646 "format": "int32",
647 "type": "integer"
648 },
649 "description": {
650 "description": "The description for this health check.",
651 "type": "string"
652 },
653 "healthyThreshold": {
654 "description": "The number of consecutive health check reque sts that need to succeed before the replica is considered healthy again. The def ault value is 2.",
655 "format": "int32",
656 "type": "integer"
657 },
658 "host": {
659 "description": "The value of the host header in the HTTP hea lth check request. If left empty (default value), the localhost IP 127.0.0.1 wil l be used.",
660 "type": "string"
661 },
662 "name": {
663 "description": "The name of this health check.",
664 "type": "string"
665 },
666 "path": {
667 "description": "The localhost request path to send this heal th check, in the format /path/to/use. For example, /healthcheck.",
668 "type": "string"
669 },
670 "port": {
671 "description": "The TCP port for the health check requests." ,
672 "format": "int32",
673 "type": "integer"
674 },
675 "timeoutSec": {
676 "description": "How long (in seconds) to wait before a timeo ut failure for this healthcheck. The default value is 5 seconds.",
677 "format": "int32",
678 "type": "integer"
679 },
680 "unhealthyThreshold": {
681 "description": "The number of consecutive health check reque sts that need to fail in order to consider the replica unhealthy. The default va lue is 2.",
682 "format": "int32",
683 "type": "integer"
684 }
685 },
686 "type": "object"
687 },
688 "Label": {
689 "description": "A label to apply to this replica pool.",
690 "id": "Label",
691 "properties": {
692 "key": {
693 "description": "The key for this label.",
694 "type": "string"
695 },
696 "value": {
697 "description": "The value of this label.",
698 "type": "string"
699 }
700 },
701 "type": "object"
702 },
703 "Metadata": {
704 "description": "A Compute Engine metadata entry. Identical to the me tadata on the corresponding Compute Engine resource.",
705 "id": "Metadata",
706 "properties": {
707 "fingerPrint": {
708 "description": "The fingerprint of the metadata. Required fo r updating the metadata entries for this instance.",
709 "type": "string"
710 },
711 "items": {
712 "description": "A list of metadata items.",
713 "items": {
714 "$ref": "MetadataItem"
715 },
716 "type": "array"
717 }
718 },
719 "type": "object"
720 },
721 "MetadataItem": {
722 "description": "A Compute Engine metadata item, defined as a key:val ue pair. Identical to the metadata on the corresponding Compute Engine resource. ",
723 "id": "MetadataItem",
724 "properties": {
725 "key": {
726 "description": "A metadata key.",
727 "type": "string"
728 },
729 "value": {
730 "description": "A metadata value.",
731 "type": "string"
732 }
733 },
734 "type": "object"
735 },
736 "NetworkInterface": {
737 "description": "A Compute Engine NetworkInterface resource. Identica l to the NetworkInterface on the corresponding Compute Engine resource.",
738 "id": "NetworkInterface",
739 "properties": {
740 "accessConfigs": {
741 "description": "An array of configurations for this interfac e. This specifies how this interface is configured to interact with other networ k services.",
742 "items": {
743 "$ref": "AccessConfig"
744 },
745 "type": "array"
746 },
747 "network": {
748 "description": "Name the Network resource to which this inte rface applies.",
749 "type": "string"
750 },
751 "networkIp": {
752 "description": "An optional IPV4 internal network address to assign to the instance for this network interface.",
753 "type": "string"
754 }
755 },
756 "type": "object"
757 },
758 "NewDisk": {
759 "description": "A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica in READ_WRITE mode.",
760 "id": "NewDisk",
761 "properties": {
762 "attachment": {
763 "$ref": "DiskAttachment",
764 "description": "How the disk will be attached to the Replica ."
765 },
766 "autoDelete": {
767 "description": "If true, then this disk will be deleted when the instance is deleted. The default value is true.",
768 "type": "boolean"
769 },
770 "boot": {
771 "description": "If true, indicates that this is the root per sistent disk.",
772 "type": "boolean"
773 },
774 "initializeParams": {
775 "$ref": "NewDiskInitializeParams",
776 "description": "Create the new disk using these parameters. The name of the disk will be <instance_name>-<four_random_charactersgt;."
777 }
778 },
779 "type": "object"
780 },
781 "NewDiskInitializeParams": {
782 "description": "Initialization parameters for creating a new disk.",
783 "id": "NewDiskInitializeParams",
784 "properties": {
785 "diskSizeGb": {
786 "description": "The size of the created disk in gigabytes.",
787 "format": "int64",
788 "type": "string"
789 },
790 "diskType": {
791 "description": "Name of the disk type resource describing wh ich disk type to use to create the disk. For example 'pd-ssd' or 'pd-standard'. Default is 'pd-standard'",
792 "type": "string"
793 },
794 "sourceImage": {
795 "description": "The name or fully-qualified URL of a source image to use to create this disk. If you provide a name of the source image, Rep lica Pool will look for an image with that name in your project. If you are spec ifying an image provided by Compute Engine, you will need to provide the full UR L with the correct project, such as:\nhttp://www.googleapis.com/compute/v1/proje cts/debian-cloud/ global/images/debian-wheezy-7-vYYYYMMDD",
796 "type": "string"
797 }
798 },
799 "type": "object"
800 },
801 "Pool": {
802 "id": "Pool",
803 "properties": {
804 "autoRestart": {
805 "description": "Whether replicas in this pool should be rest arted if they experience a failure. The default value is true.",
806 "type": "boolean"
807 },
808 "baseInstanceName": {
809 "description": "The base instance name to use for the replic as in this pool. This must match the regex [a-z]([-a-z0-9]*[a-z0-9])?. If specif ied, the instances in this replica pool will be named in the format <base-instan ce-name>-<ID>. The <ID> postfix will be a four character alphanumeric identifier generated by the service.\n\nIf this is not specified by the user, a random bas e instance name is generated by the service.",
810 "type": "string"
811 },
812 "currentNumReplicas": {
813 "description": "[Output Only] The current number of replicas in the pool.",
814 "format": "int32",
815 "type": "integer"
816 },
817 "description": {
818 "description": "An optional description of the replica pool. ",
819 "type": "string"
820 },
821 "healthChecks": {
822 "description": "Deprecated. Please use template[].healthChec ks instead.",
823 "items": {
824 "$ref": "HealthCheck"
825 },
826 "type": "array"
827 },
828 "initialNumReplicas": {
829 "description": "The initial number of replicas this pool sho uld have. You must provide a value greater than or equal to 0.",
830 "format": "int32",
831 "type": "integer"
832 },
833 "labels": {
834 "description": "A list of labels to attach to this replica p ool and all created virtual machines in this replica pool.",
835 "items": {
836 "$ref": "Label"
837 },
838 "type": "array"
839 },
840 "name": {
841 "description": "The name of the replica pool. Must follow th e regex [a-z]([-a-z0-9]*[a-z0-9])? and be 1-28 characters long.",
842 "type": "string"
843 },
844 "numReplicas": {
845 "description": "Deprecated! Use initial_num_replicas instead .",
846 "format": "int32",
847 "type": "integer"
848 },
849 "resourceViews": {
850 "description": "The list of resource views that should be up dated with all the replicas that are managed by this pool.",
851 "items": {
852 "type": "string"
853 },
854 "type": "array"
855 },
856 "selfLink": {
857 "description": "[Output Only] A self-link to the replica poo l.",
858 "type": "string"
859 },
860 "targetPool": {
861 "description": "Deprecated, please use target_pools instead. ",
862 "type": "string"
863 },
864 "targetPools": {
865 "description": "A list of target pools to update with the re plicas that are managed by this pool. If specified, the replicas in this replica pool will be added to the specified target pools for load balancing purposes. T he replica pool must live in the same region as the specified target pools. Thes e values must be the target pool resource names, and not fully qualified URLs.",
866 "items": {
867 "type": "string"
868 },
869 "type": "array"
870 },
871 "template": {
872 "$ref": "Template",
873 "description": "The template to use when creating replicas i n this pool. This template is used during initial instance creation of the pool, when growing the pool in size, or when a replica restarts."
874 },
875 "type": {
876 "description": "Deprecated! Do not set.",
877 "type": "string"
878 }
879 },
880 "type": "object"
881 },
882 "PoolsDeleteRequest": {
883 "id": "PoolsDeleteRequest",
884 "properties": {
885 "abandonInstances": {
886 "description": "If there are instances you would like to kee p, you can specify them here. These instances won't be deleted, but the associat ed replica objects will be removed.",
887 "items": {
888 "type": "string"
889 },
890 "type": "array"
891 }
892 },
893 "type": "object"
894 },
895 "PoolsListResponse": {
896 "id": "PoolsListResponse",
897 "properties": {
898 "nextPageToken": {
899 "type": "string"
900 },
901 "resources": {
902 "items": {
903 "$ref": "Pool"
904 },
905 "type": "array"
906 }
907 },
908 "type": "object"
909 },
910 "Replica": {
911 "description": "An individual Replica within a Pool. Replicas are au tomatically created by the replica pool, using the template provided by the user . You cannot directly create replicas.",
912 "id": "Replica",
913 "properties": {
914 "name": {
915 "description": "[Output Only] The name of the Replica object .",
916 "type": "string"
917 },
918 "selfLink": {
919 "description": "[Output Only] The self-link of the Replica." ,
920 "type": "string"
921 },
922 "status": {
923 "$ref": "ReplicaStatus",
924 "description": "[Output Only] Last known status of the Repli ca."
925 }
926 },
927 "type": "object"
928 },
929 "ReplicaStatus": {
930 "description": "The current status of a Replica.",
931 "id": "ReplicaStatus",
932 "properties": {
933 "details": {
934 "description": "[Output Only] Human-readable details about t he current state of the replica",
935 "type": "string"
936 },
937 "state": {
938 "description": "[Output Only] The state of the Replica.",
939 "type": "string"
940 },
941 "templateVersion": {
942 "description": "[Output Only] The template used to build the replica.",
943 "type": "string"
944 },
945 "vmLink": {
946 "description": "[Output Only] Link to the virtual machine th at this Replica represents.",
947 "type": "string"
948 },
949 "vmStartTime": {
950 "description": "[Output Only] The time that this Replica got to the RUNNING state, in RFC 3339 format. If the start time is unknown, UNKNOWN is returned.",
951 "type": "string"
952 }
953 },
954 "type": "object"
955 },
956 "ReplicasDeleteRequest": {
957 "id": "ReplicasDeleteRequest",
958 "properties": {
959 "abandonInstance": {
960 "description": "Whether the instance resource represented by this replica should be deleted or abandoned. If abandoned, the replica will be deleted but the virtual machine instance will remain. By default, this is set to false and the instance will be deleted along with the replica.",
961 "type": "boolean"
962 }
963 },
964 "type": "object"
965 },
966 "ReplicasListResponse": {
967 "id": "ReplicasListResponse",
968 "properties": {
969 "nextPageToken": {
970 "type": "string"
971 },
972 "resources": {
973 "items": {
974 "$ref": "Replica"
975 },
976 "type": "array"
977 }
978 },
979 "type": "object"
980 },
981 "ServiceAccount": {
982 "description": "A Compute Engine service account, identical to the C ompute Engine resource.",
983 "id": "ServiceAccount",
984 "properties": {
985 "email": {
986 "description": "The service account email address, for examp le: 123845678986@project.gserviceaccount.com",
987 "type": "string"
988 },
989 "scopes": {
990 "description": "The list of OAuth2 scopes to obtain for the service account, for example: https://www.googleapis.com/auth/devstorage.full_co ntrol",
991 "items": {
992 "type": "string"
993 },
994 "type": "array"
995 }
996 },
997 "type": "object"
998 },
999 "Tag": {
1000 "description": "A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource.",
1001 "id": "Tag",
1002 "properties": {
1003 "fingerPrint": {
1004 "description": "The fingerprint of the tag. Required for upd ating the list of tags.",
1005 "type": "string"
1006 },
1007 "items": {
1008 "description": "Items contained in this tag.",
1009 "items": {
1010 "type": "string"
1011 },
1012 "type": "array"
1013 }
1014 },
1015 "type": "object"
1016 },
1017 "Template": {
1018 "description": "The template used for creating replicas in the pool. ",
1019 "id": "Template",
1020 "properties": {
1021 "action": {
1022 "$ref": "Action",
1023 "description": "An action to run during initialization of yo ur replicas. An action is run as shell commands which are executed one after the other in the same bash shell, so any state established by one command is inheri ted by later commands."
1024 },
1025 "healthChecks": {
1026 "description": "A list of HTTP Health Checks to configure fo r this replica pool and all virtual machines in this replica pool.",
1027 "items": {
1028 "$ref": "HealthCheck"
1029 },
1030 "type": "array"
1031 },
1032 "version": {
1033 "description": "A free-form string describing the version of this template. You can provide any versioning string you would like. For exampl e, version1 or template-v1.",
1034 "type": "string"
1035 },
1036 "vmParams": {
1037 "$ref": "VmParams",
1038 "description": "The virtual machine parameters to use for cr eating replicas. You can define settings such as the machine type and the image of replicas in this pool. This is required if replica type is SMART_VM."
1039 }
1040 },
1041 "type": "object"
1042 },
1043 "VmParams": {
1044 "description": "Parameters for creating a Compute Engine Instance re source. Most fields are identical to the corresponding Compute Engine resource." ,
1045 "id": "VmParams",
1046 "properties": {
1047 "baseInstanceName": {
1048 "description": "Deprecated. Please use baseInstanceName inst ead.",
1049 "type": "string"
1050 },
1051 "canIpForward": {
1052 "description": "Enables IP Forwarding, which allows this ins tance to receive packets destined for a different IP address, and send packets w ith a different source IP. See IP Forwarding for more information.",
1053 "type": "boolean"
1054 },
1055 "description": {
1056 "description": "An optional textual description of the insta nce.",
1057 "type": "string"
1058 },
1059 "disksToAttach": {
1060 "description": "A list of existing Persistent Disk resources to attach to each replica in the pool. Each disk will be attached in read-only mode to every replica.",
1061 "items": {
1062 "$ref": "ExistingDisk"
1063 },
1064 "type": "array"
1065 },
1066 "disksToCreate": {
1067 "description": "A list of Disk resources to create and attac h to each Replica in the Pool. Currently, you can only define one disk and it mu st be a root persistent disk. Note that Replica Pool will create a root persiste nt disk for each replica.",
1068 "items": {
1069 "$ref": "NewDisk"
1070 },
1071 "type": "array"
1072 },
1073 "machineType": {
1074 "description": "The machine type for this instance. The reso urce name (e.g. n1-standard-1).",
1075 "type": "string"
1076 },
1077 "metadata": {
1078 "$ref": "Metadata",
1079 "description": "The metadata key/value pairs assigned to thi s instance."
1080 },
1081 "networkInterfaces": {
1082 "description": "A list of network interfaces for the instanc e. Currently only one interface is supported by Google Compute Engine, ONE_TO_ON E_NAT.",
1083 "items": {
1084 "$ref": "NetworkInterface"
1085 },
1086 "type": "array"
1087 },
1088 "onHostMaintenance": {
1089 "type": "string"
1090 },
1091 "serviceAccounts": {
1092 "description": "A list of Service Accounts to enable for thi s instance.",
1093 "items": {
1094 "$ref": "ServiceAccount"
1095 },
1096 "type": "array"
1097 },
1098 "tags": {
1099 "$ref": "Tag",
1100 "description": "A list of tags to apply to the Google Comput e Engine instance to identify resources."
1101 }
1102 },
1103 "type": "object"
1104 }
1105 },
1106 "servicePath": "replicapool/v1beta1/projects/",
1107 "title": "Replica Pool API",
1108 "version": "v1beta1"
1109 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698