PluginProbe
Authorizer / 2.2
Authorizer v2.2
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / inc / google-api-php-client / src / Google / Service / Replicapool.php

Replicapool.php in Authorizer 2.2, at inc/google-api-php-client/src/Google/Service/Replicapool.php

1,590 lines 38.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Copyright 2010 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18 /**
19 * Service definition for Replicapool (v1beta1).
20 *
21 * <p>
22 * The Replica Pool API allows users to declaratively provision and manage groups of Google Compute Engine instances based on a common template.
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="https://developers.google.com/compute/docs/replica-pool/" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Google_Service_Replicapool extends Google_Service
33 {
34 /** View and manage your data across Google Cloud Platform services. */
35 const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform";
36 /** View and manage your Google Cloud Platform management resources and deployment status information. */
37 const NDEV_CLOUDMAN = "https://www.googleapis.com/auth/ndev.cloudman";
38 /** View your Google Cloud Platform management resources and deployment status information. */
39 const NDEV_CLOUDMAN_READONLY = "https://www.googleapis.com/auth/ndev.cloudman.readonly";
40 /** View and manage replica pools. */
41 const REPLICAPOOL = "https://www.googleapis.com/auth/replicapool";
42 /** View replica pools. */
43 const REPLICAPOOL_READONLY = "https://www.googleapis.com/auth/replicapool.readonly";
44
45 public $pools;
46 public $replicas;
47
48
49 /**
50 * Constructs the internal representation of the Replicapool service.
51 *
52 * @param Google_Client $client
53 */
54 public function __construct(Google_Client $client)
55 {
56 parent::__construct($client);
57 $this->servicePath = 'replicapool/v1beta1/projects/';
58 $this->version = 'v1beta1';
59 $this->serviceName = 'replicapool';
60
61 $this->pools = new Google_Service_Replicapool_Pools_Resource(
62 $this,
63 $this->serviceName,
64 'pools',
65 array(
66 'methods' => array(
67 'delete' => array(
68 'path' => '{projectName}/zones/{zone}/pools/{poolName}',
69 'httpMethod' => 'POST',
70 'parameters' => array(
71 'projectName' => array(
72 'location' => 'path',
73 'type' => 'string',
74 'required' => true,
75 ),
76 'zone' => array(
77 'location' => 'path',
78 'type' => 'string',
79 'required' => true,
80 ),
81 'poolName' => array(
82 'location' => 'path',
83 'type' => 'string',
84 'required' => true,
85 ),
86 ),
87 ),'get' => array(
88 'path' => '{projectName}/zones/{zone}/pools/{poolName}',
89 'httpMethod' => 'GET',
90 'parameters' => array(
91 'projectName' => array(
92 'location' => 'path',
93 'type' => 'string',
94 'required' => true,
95 ),
96 'zone' => array(
97 'location' => 'path',
98 'type' => 'string',
99 'required' => true,
100 ),
101 'poolName' => array(
102 'location' => 'path',
103 'type' => 'string',
104 'required' => true,
105 ),
106 ),
107 ),'insert' => array(
108 'path' => '{projectName}/zones/{zone}/pools',
109 'httpMethod' => 'POST',
110 'parameters' => array(
111 'projectName' => array(
112 'location' => 'path',
113 'type' => 'string',
114 'required' => true,
115 ),
116 'zone' => array(
117 'location' => 'path',
118 'type' => 'string',
119 'required' => true,
120 ),
121 ),
122 ),'list' => array(
123 'path' => '{projectName}/zones/{zone}/pools',
124 'httpMethod' => 'GET',
125 'parameters' => array(
126 'projectName' => array(
127 'location' => 'path',
128 'type' => 'string',
129 'required' => true,
130 ),
131 'zone' => array(
132 'location' => 'path',
133 'type' => 'string',
134 'required' => true,
135 ),
136 'pageToken' => array(
137 'location' => 'query',
138 'type' => 'string',
139 ),
140 'maxResults' => array(
141 'location' => 'query',
142 'type' => 'integer',
143 ),
144 ),
145 ),'resize' => array(
146 'path' => '{projectName}/zones/{zone}/pools/{poolName}/resize',
147 'httpMethod' => 'POST',
148 'parameters' => array(
149 'projectName' => array(
150 'location' => 'path',
151 'type' => 'string',
152 'required' => true,
153 ),
154 'zone' => array(
155 'location' => 'path',
156 'type' => 'string',
157 'required' => true,
158 ),
159 'poolName' => array(
160 'location' => 'path',
161 'type' => 'string',
162 'required' => true,
163 ),
164 'numReplicas' => array(
165 'location' => 'query',
166 'type' => 'integer',
167 ),
168 ),
169 ),'updatetemplate' => array(
170 'path' => '{projectName}/zones/{zone}/pools/{poolName}/updateTemplate',
171 'httpMethod' => 'POST',
172 'parameters' => array(
173 'projectName' => array(
174 'location' => 'path',
175 'type' => 'string',
176 'required' => true,
177 ),
178 'zone' => array(
179 'location' => 'path',
180 'type' => 'string',
181 'required' => true,
182 ),
183 'poolName' => array(
184 'location' => 'path',
185 'type' => 'string',
186 'required' => true,
187 ),
188 ),
189 ),
190 )
191 )
192 );
193 $this->replicas = new Google_Service_Replicapool_Replicas_Resource(
194 $this,
195 $this->serviceName,
196 'replicas',
197 array(
198 'methods' => array(
199 'delete' => array(
200 'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}',
201 'httpMethod' => 'POST',
202 'parameters' => array(
203 'projectName' => array(
204 'location' => 'path',
205 'type' => 'string',
206 'required' => true,
207 ),
208 'zone' => array(
209 'location' => 'path',
210 'type' => 'string',
211 'required' => true,
212 ),
213 'poolName' => array(
214 'location' => 'path',
215 'type' => 'string',
216 'required' => true,
217 ),
218 'replicaName' => array(
219 'location' => 'path',
220 'type' => 'string',
221 'required' => true,
222 ),
223 ),
224 ),'get' => array(
225 'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}',
226 'httpMethod' => 'GET',
227 'parameters' => array(
228 'projectName' => array(
229 'location' => 'path',
230 'type' => 'string',
231 'required' => true,
232 ),
233 'zone' => array(
234 'location' => 'path',
235 'type' => 'string',
236 'required' => true,
237 ),
238 'poolName' => array(
239 'location' => 'path',
240 'type' => 'string',
241 'required' => true,
242 ),
243 'replicaName' => array(
244 'location' => 'path',
245 'type' => 'string',
246 'required' => true,
247 ),
248 ),
249 ),'list' => array(
250 'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas',
251 'httpMethod' => 'GET',
252 'parameters' => array(
253 'projectName' => array(
254 'location' => 'path',
255 'type' => 'string',
256 'required' => true,
257 ),
258 'zone' => array(
259 'location' => 'path',
260 'type' => 'string',
261 'required' => true,
262 ),
263 'poolName' => array(
264 'location' => 'path',
265 'type' => 'string',
266 'required' => true,
267 ),
268 'pageToken' => array(
269 'location' => 'query',
270 'type' => 'string',
271 ),
272 'maxResults' => array(
273 'location' => 'query',
274 'type' => 'integer',
275 ),
276 ),
277 ),'restart' => array(
278 'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}/restart',
279 'httpMethod' => 'POST',
280 'parameters' => array(
281 'projectName' => array(
282 'location' => 'path',
283 'type' => 'string',
284 'required' => true,
285 ),
286 'zone' => array(
287 'location' => 'path',
288 'type' => 'string',
289 'required' => true,
290 ),
291 'poolName' => array(
292 'location' => 'path',
293 'type' => 'string',
294 'required' => true,
295 ),
296 'replicaName' => array(
297 'location' => 'path',
298 'type' => 'string',
299 'required' => true,
300 ),
301 ),
302 ),
303 )
304 )
305 );
306 }
307 }
308
309
310 /**
311 * The "pools" collection of methods.
312 * Typical usage is:
313 * <code>
314 * $replicapoolService = new Google_Service_Replicapool(...);
315 * $pools = $replicapoolService->pools;
316 * </code>
317 */
318 class Google_Service_Replicapool_Pools_Resource extends Google_Service_Resource
319 {
320
321 /**
322 * Deletes a replica pool. (pools.delete)
323 *
324 * @param string $projectName
325 * The project ID for this replica pool.
326 * @param string $zone
327 * The zone for this replica pool.
328 * @param string $poolName
329 * The name of the replica pool to delete.
330 * @param Google_PoolsDeleteRequest $postBody
331 * @param array $optParams Optional parameters.
332 */
333 public function delete($projectName, $zone, $poolName, Google_Service_Replicapool_PoolsDeleteRequest $postBody, $optParams = array())
334 {
335 $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'postBody' => $postBody);
336 $params = array_merge($params, $optParams);
337 return $this->call('delete', array($params));
338 }
339 /**
340 * Gets information about a single replica pool. (pools.get)
341 *
342 * @param string $projectName
343 * The project ID for this replica pool.
344 * @param string $zone
345 * The zone for this replica pool.
346 * @param string $poolName
347 * The name of the replica pool for which you want to get more information.
348 * @param array $optParams Optional parameters.
349 * @return Google_Service_Replicapool_Pool
350 */
351 public function get($projectName, $zone, $poolName, $optParams = array())
352 {
353 $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName);
354 $params = array_merge($params, $optParams);
355 return $this->call('get', array($params), "Google_Service_Replicapool_Pool");
356 }
357 /**
358 * Inserts a new replica pool. (pools.insert)
359 *
360 * @param string $projectName
361 * The project ID for this replica pool.
362 * @param string $zone
363 * The zone for this replica pool.
364 * @param Google_Pool $postBody
365 * @param array $optParams Optional parameters.
366 * @return Google_Service_Replicapool_Pool
367 */
368 public function insert($projectName, $zone, Google_Service_Replicapool_Pool $postBody, $optParams = array())
369 {
370 $params = array('projectName' => $projectName, 'zone' => $zone, 'postBody' => $postBody);
371 $params = array_merge($params, $optParams);
372 return $this->call('insert', array($params), "Google_Service_Replicapool_Pool");
373 }
374 /**
375 * List all replica pools. (pools.listPools)
376 *
377 * @param string $projectName
378 * The project ID for this replica pool.
379 * @param string $zone
380 * The zone for this replica pool.
381 * @param array $optParams Optional parameters.
382 *
383 * @opt_param string pageToken
384 * Specifies a nextPageToken returned by a previous list request. This token can be used to request
385 * the next page of results from a previous list request.
386 * @opt_param int maxResults
387 * Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default:
388 * 50)
389 * @return Google_Service_Replicapool_PoolsListResponse
390 */
391 public function listPools($projectName, $zone, $optParams = array())
392 {
393 $params = array('projectName' => $projectName, 'zone' => $zone);
394 $params = array_merge($params, $optParams);
395 return $this->call('list', array($params), "Google_Service_Replicapool_PoolsListResponse");
396 }
397 /**
398 * Resize a pool. (pools.resize)
399 *
400 * @param string $projectName
401 * The project ID for this replica pool.
402 * @param string $zone
403 * The zone for this replica pool.
404 * @param string $poolName
405 * The name of the replica pool to resize.
406 * @param array $optParams Optional parameters.
407 *
408 * @opt_param int numReplicas
409 * The desired number of replicas to resize to. If this number is larger than the existing number
410 * of replicas, new replicas will be added. If the number is smaller, then existing replicas will
411 * be deleted.
412 This is an asynchronous operation, and multiple overlapping resize requests can be
413 * made. Replica Pools will use the information from the last resize request.
414 * @return Google_Service_Replicapool_Pool
415 */
416 public function resize($projectName, $zone, $poolName, $optParams = array())
417 {
418 $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName);
419 $params = array_merge($params, $optParams);
420 return $this->call('resize', array($params), "Google_Service_Replicapool_Pool");
421 }
422 /**
423 * Update the template used by the pool. (pools.updatetemplate)
424 *
425 * @param string $projectName
426 * The project ID for this replica pool.
427 * @param string $zone
428 * The zone for this replica pool.
429 * @param string $poolName
430 * The name of the replica pool to update.
431 * @param Google_Template $postBody
432 * @param array $optParams Optional parameters.
433 */
434 public function updatetemplate($projectName, $zone, $poolName, Google_Service_Replicapool_Template $postBody, $optParams = array())
435 {
436 $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'postBody' => $postBody);
437 $params = array_merge($params, $optParams);
438 return $this->call('updatetemplate', array($params));
439 }
440 }
441
442 /**
443 * The "replicas" collection of methods.
444 * Typical usage is:
445 * <code>
446 * $replicapoolService = new Google_Service_Replicapool(...);
447 * $replicas = $replicapoolService->replicas;
448 * </code>
449 */
450 class Google_Service_Replicapool_Replicas_Resource extends Google_Service_Resource
451 {
452
453 /**
454 * Deletes a replica from the pool. (replicas.delete)
455 *
456 * @param string $projectName
457 * The project ID for this request.
458 * @param string $zone
459 * The zone where the replica lives.
460 * @param string $poolName
461 * The replica pool name for this request.
462 * @param string $replicaName
463 * The name of the replica to delete.
464 * @param Google_ReplicasDeleteRequest $postBody
465 * @param array $optParams Optional parameters.
466 * @return Google_Service_Replicapool_Replica
467 */
468 public function delete($projectName, $zone, $poolName, $replicaName, Google_Service_Replicapool_ReplicasDeleteRequest $postBody, $optParams = array())
469 {
470 $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'replicaName' => $replicaName, 'postBody' => $postBody);
471 $params = array_merge($params, $optParams);
472 return $this->call('delete', array($params), "Google_Service_Replicapool_Replica");
473 }
474 /**
475 * Gets information about a specific replica. (replicas.get)
476 *
477 * @param string $projectName
478 * The name of project ID for this request.
479 * @param string $zone
480 * The zone where the replica lives.
481 * @param string $poolName
482 * The replica pool name for this request.
483 * @param string $replicaName
484 * The name of the replica for which you want to get more information.
485 * @param array $optParams Optional parameters.
486 * @return Google_Service_Replicapool_Replica
487 */
488 public function get($projectName, $zone, $poolName, $replicaName, $optParams = array())
489 {
490 $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'replicaName' => $replicaName);
491 $params = array_merge($params, $optParams);
492 return $this->call('get', array($params), "Google_Service_Replicapool_Replica");
493 }
494 /**
495 * Lists all replicas in a pool. (replicas.listReplicas)
496 *
497 * @param string $projectName
498 * The name of project ID for this request.
499 * @param string $zone
500 * The zone where the replica lives.
501 * @param string $poolName
502 * The replica pool name for this request.
503 * @param array $optParams Optional parameters.
504 *
505 * @opt_param string pageToken
506 * Specifies a nextPageToken returned by a previous list request. This token can be used to request
507 * the next page of results from a previous list request.
508 * @opt_param int maxResults
509 * Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default:
510 * 50)
511 * @return Google_Service_Replicapool_ReplicasListResponse
512 */
513 public function listReplicas($projectName, $zone, $poolName, $optParams = array())
514 {
515 $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName);
516 $params = array_merge($params, $optParams);
517 return $this->call('list', array($params), "Google_Service_Replicapool_ReplicasListResponse");
518 }
519 /**
520 * Restarts a replica in a pool. (replicas.restart)
521 *
522 * @param string $projectName
523 * The name of project ID for this request.
524 * @param string $zone
525 * The zone where the replica lives.
526 * @param string $poolName
527 * The replica pool name for this request.
528 * @param string $replicaName
529 * The name of the replica to restart in the pool.
530 * @param array $optParams Optional parameters.
531 */
532 public function restart($projectName, $zone, $poolName, $replicaName, $optParams = array())
533 {
534 $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'replicaName' => $replicaName);
535 $params = array_merge($params, $optParams);
536 return $this->call('restart', array($params));
537 }
538 }
539
540
541
542
543 class Google_Service_Replicapool_AccessConfig extends Google_Model
544 {
545 public $name;
546 public $natIp;
547 public $type;
548
549 public function setName($name)
550 {
551 $this->name = $name;
552 }
553
554 public function getName()
555 {
556 return $this->name;
557 }
558
559 public function setNatIp($natIp)
560 {
561 $this->natIp = $natIp;
562 }
563
564 public function getNatIp()
565 {
566 return $this->natIp;
567 }
568
569 public function setType($type)
570 {
571 $this->type = $type;
572 }
573
574 public function getType()
575 {
576 return $this->type;
577 }
578 }
579
580 class Google_Service_Replicapool_Action extends Google_Collection
581 {
582 public $commands;
583 protected $envVariablesType = 'Google_Service_Replicapool_EnvVariable';
584 protected $envVariablesDataType = 'array';
585 public $timeoutMilliSeconds;
586
587 public function setCommands($commands)
588 {
589 $this->commands = $commands;
590 }
591
592 public function getCommands()
593 {
594 return $this->commands;
595 }
596
597 public function setEnvVariables($envVariables)
598 {
599 $this->envVariables = $envVariables;
600 }
601
602 public function getEnvVariables()
603 {
604 return $this->envVariables;
605 }
606
607 public function setTimeoutMilliSeconds($timeoutMilliSeconds)
608 {
609 $this->timeoutMilliSeconds = $timeoutMilliSeconds;
610 }
611
612 public function getTimeoutMilliSeconds()
613 {
614 return $this->timeoutMilliSeconds;
615 }
616 }
617
618 class Google_Service_Replicapool_DiskAttachment extends Google_Model
619 {
620 public $deviceName;
621 public $index;
622
623 public function setDeviceName($deviceName)
624 {
625 $this->deviceName = $deviceName;
626 }
627
628 public function getDeviceName()
629 {
630 return $this->deviceName;
631 }
632
633 public function setIndex($index)
634 {
635 $this->index = $index;
636 }
637
638 public function getIndex()
639 {
640 return $this->index;
641 }
642 }
643
644 class Google_Service_Replicapool_EnvVariable extends Google_Model
645 {
646 public $hidden;
647 public $name;
648 public $value;
649
650 public function setHidden($hidden)
651 {
652 $this->hidden = $hidden;
653 }
654
655 public function getHidden()
656 {
657 return $this->hidden;
658 }
659
660 public function setName($name)
661 {
662 $this->name = $name;
663 }
664
665 public function getName()
666 {
667 return $this->name;
668 }
669
670 public function setValue($value)
671 {
672 $this->value = $value;
673 }
674
675 public function getValue()
676 {
677 return $this->value;
678 }
679 }
680
681 class Google_Service_Replicapool_ExistingDisk extends Google_Model
682 {
683 protected $attachmentType = 'Google_Service_Replicapool_DiskAttachment';
684 protected $attachmentDataType = '';
685 public $source;
686
687 public function setAttachment(Google_Service_Replicapool_DiskAttachment $attachment)
688 {
689 $this->attachment = $attachment;
690 }
691
692 public function getAttachment()
693 {
694 return $this->attachment;
695 }
696
697 public function setSource($source)
698 {
699 $this->source = $source;
700 }
701
702 public function getSource()
703 {
704 return $this->source;
705 }
706 }
707
708 class Google_Service_Replicapool_HealthCheck extends Google_Model
709 {
710 public $checkIntervalSec;
711 public $description;
712 public $healthyThreshold;
713 public $host;
714 public $name;
715 public $path;
716 public $port;
717 public $timeoutSec;
718 public $unhealthyThreshold;
719
720 public function setCheckIntervalSec($checkIntervalSec)
721 {
722 $this->checkIntervalSec = $checkIntervalSec;
723 }
724
725 public function getCheckIntervalSec()
726 {
727 return $this->checkIntervalSec;
728 }
729
730 public function setDescription($description)
731 {
732 $this->description = $description;
733 }
734
735 public function getDescription()
736 {
737 return $this->description;
738 }
739
740 public function setHealthyThreshold($healthyThreshold)
741 {
742 $this->healthyThreshold = $healthyThreshold;
743 }
744
745 public function getHealthyThreshold()
746 {
747 return $this->healthyThreshold;
748 }
749
750 public function setHost($host)
751 {
752 $this->host = $host;
753 }
754
755 public function getHost()
756 {
757 return $this->host;
758 }
759
760 public function setName($name)
761 {
762 $this->name = $name;
763 }
764
765 public function getName()
766 {
767 return $this->name;
768 }
769
770 public function setPath($path)
771 {
772 $this->path = $path;
773 }
774
775 public function getPath()
776 {
777 return $this->path;
778 }
779
780 public function setPort($port)
781 {
782 $this->port = $port;
783 }
784
785 public function getPort()
786 {
787 return $this->port;
788 }
789
790 public function setTimeoutSec($timeoutSec)
791 {
792 $this->timeoutSec = $timeoutSec;
793 }
794
795 public function getTimeoutSec()
796 {
797 return $this->timeoutSec;
798 }
799
800 public function setUnhealthyThreshold($unhealthyThreshold)
801 {
802 $this->unhealthyThreshold = $unhealthyThreshold;
803 }
804
805 public function getUnhealthyThreshold()
806 {
807 return $this->unhealthyThreshold;
808 }
809 }
810
811 class Google_Service_Replicapool_Label extends Google_Model
812 {
813 public $key;
814 public $value;
815
816 public function setKey($key)
817 {
818 $this->key = $key;
819 }
820
821 public function getKey()
822 {
823 return $this->key;
824 }
825
826 public function setValue($value)
827 {
828 $this->value = $value;
829 }
830
831 public function getValue()
832 {
833 return $this->value;
834 }
835 }
836
837 class Google_Service_Replicapool_Metadata extends Google_Collection
838 {
839 public $fingerPrint;
840 protected $itemsType = 'Google_Service_Replicapool_MetadataItem';
841 protected $itemsDataType = 'array';
842
843 public function setFingerPrint($fingerPrint)
844 {
845 $this->fingerPrint = $fingerPrint;
846 }
847
848 public function getFingerPrint()
849 {
850 return $this->fingerPrint;
851 }
852
853 public function setItems($items)
854 {
855 $this->items = $items;
856 }
857
858 public function getItems()
859 {
860 return $this->items;
861 }
862 }
863
864 class Google_Service_Replicapool_MetadataItem extends Google_Model
865 {
866 public $key;
867 public $value;
868
869 public function setKey($key)
870 {
871 $this->key = $key;
872 }
873
874 public function getKey()
875 {
876 return $this->key;
877 }
878
879 public function setValue($value)
880 {
881 $this->value = $value;
882 }
883
884 public function getValue()
885 {
886 return $this->value;
887 }
888 }
889
890 class Google_Service_Replicapool_NetworkInterface extends Google_Collection
891 {
892 protected $accessConfigsType = 'Google_Service_Replicapool_AccessConfig';
893 protected $accessConfigsDataType = 'array';
894 public $network;
895 public $networkIp;
896
897 public function setAccessConfigs($accessConfigs)
898 {
899 $this->accessConfigs = $accessConfigs;
900 }
901
902 public function getAccessConfigs()
903 {
904 return $this->accessConfigs;
905 }
906
907 public function setNetwork($network)
908 {
909 $this->network = $network;
910 }
911
912 public function getNetwork()
913 {
914 return $this->network;
915 }
916
917 public function setNetworkIp($networkIp)
918 {
919 $this->networkIp = $networkIp;
920 }
921
922 public function getNetworkIp()
923 {
924 return $this->networkIp;
925 }
926 }
927
928 class Google_Service_Replicapool_NewDisk extends Google_Model
929 {
930 protected $attachmentType = 'Google_Service_Replicapool_DiskAttachment';
931 protected $attachmentDataType = '';
932 public $autoDelete;
933 public $boot;
934 protected $initializeParamsType = 'Google_Service_Replicapool_NewDiskInitializeParams';
935 protected $initializeParamsDataType = '';
936
937 public function setAttachment(Google_Service_Replicapool_DiskAttachment $attachment)
938 {
939 $this->attachment = $attachment;
940 }
941
942 public function getAttachment()
943 {
944 return $this->attachment;
945 }
946
947 public function setAutoDelete($autoDelete)
948 {
949 $this->autoDelete = $autoDelete;
950 }
951
952 public function getAutoDelete()
953 {
954 return $this->autoDelete;
955 }
956
957 public function setBoot($boot)
958 {
959 $this->boot = $boot;
960 }
961
962 public function getBoot()
963 {
964 return $this->boot;
965 }
966
967 public function setInitializeParams(Google_Service_Replicapool_NewDiskInitializeParams $initializeParams)
968 {
969 $this->initializeParams = $initializeParams;
970 }
971
972 public function getInitializeParams()
973 {
974 return $this->initializeParams;
975 }
976 }
977
978 class Google_Service_Replicapool_NewDiskInitializeParams extends Google_Model
979 {
980 public $diskSizeGb;
981 public $sourceImage;
982
983 public function setDiskSizeGb($diskSizeGb)
984 {
985 $this->diskSizeGb = $diskSizeGb;
986 }
987
988 public function getDiskSizeGb()
989 {
990 return $this->diskSizeGb;
991 }
992
993 public function setSourceImage($sourceImage)
994 {
995 $this->sourceImage = $sourceImage;
996 }
997
998 public function getSourceImage()
999 {
1000 return $this->sourceImage;
1001 }
1002 }
1003
1004 class Google_Service_Replicapool_Pool extends Google_Collection
1005 {
1006 public $autoRestart;
1007 public $baseInstanceName;
1008 public $currentNumReplicas;
1009 public $description;
1010 protected $healthChecksType = 'Google_Service_Replicapool_HealthCheck';
1011 protected $healthChecksDataType = 'array';
1012 public $initialNumReplicas;
1013 protected $labelsType = 'Google_Service_Replicapool_Label';
1014 protected $labelsDataType = 'array';
1015 public $name;
1016 public $numReplicas;
1017 public $resourceViews;
1018 public $selfLink;
1019 public $targetPool;
1020 public $targetPools;
1021 protected $templateType = 'Google_Service_Replicapool_Template';
1022 protected $templateDataType = '';
1023 public $type;
1024
1025 public function setAutoRestart($autoRestart)
1026 {
1027 $this->autoRestart = $autoRestart;
1028 }
1029
1030 public function getAutoRestart()
1031 {
1032 return $this->autoRestart;
1033 }
1034
1035 public function setBaseInstanceName($baseInstanceName)
1036 {
1037 $this->baseInstanceName = $baseInstanceName;
1038 }
1039
1040 public function getBaseInstanceName()
1041 {
1042 return $this->baseInstanceName;
1043 }
1044
1045 public function setCurrentNumReplicas($currentNumReplicas)
1046 {
1047 $this->currentNumReplicas = $currentNumReplicas;
1048 }
1049
1050 public function getCurrentNumReplicas()
1051 {
1052 return $this->currentNumReplicas;
1053 }
1054
1055 public function setDescription($description)
1056 {
1057 $this->description = $description;
1058 }
1059
1060 public function getDescription()
1061 {
1062 return $this->description;
1063 }
1064
1065 public function setHealthChecks($healthChecks)
1066 {
1067 $this->healthChecks = $healthChecks;
1068 }
1069
1070 public function getHealthChecks()
1071 {
1072 return $this->healthChecks;
1073 }
1074
1075 public function setInitialNumReplicas($initialNumReplicas)
1076 {
1077 $this->initialNumReplicas = $initialNumReplicas;
1078 }
1079
1080 public function getInitialNumReplicas()
1081 {
1082 return $this->initialNumReplicas;
1083 }
1084
1085 public function setLabels($labels)
1086 {
1087 $this->labels = $labels;
1088 }
1089
1090 public function getLabels()
1091 {
1092 return $this->labels;
1093 }
1094
1095 public function setName($name)
1096 {
1097 $this->name = $name;
1098 }
1099
1100 public function getName()
1101 {
1102 return $this->name;
1103 }
1104
1105 public function setNumReplicas($numReplicas)
1106 {
1107 $this->numReplicas = $numReplicas;
1108 }
1109
1110 public function getNumReplicas()
1111 {
1112 return $this->numReplicas;
1113 }
1114
1115 public function setResourceViews($resourceViews)
1116 {
1117 $this->resourceViews = $resourceViews;
1118 }
1119
1120 public function getResourceViews()
1121 {
1122 return $this->resourceViews;
1123 }
1124
1125 public function setSelfLink($selfLink)
1126 {
1127 $this->selfLink = $selfLink;
1128 }
1129
1130 public function getSelfLink()
1131 {
1132 return $this->selfLink;
1133 }
1134
1135 public function setTargetPool($targetPool)
1136 {
1137 $this->targetPool = $targetPool;
1138 }
1139
1140 public function getTargetPool()
1141 {
1142 return $this->targetPool;
1143 }
1144
1145 public function setTargetPools($targetPools)
1146 {
1147 $this->targetPools = $targetPools;
1148 }
1149
1150 public function getTargetPools()
1151 {
1152 return $this->targetPools;
1153 }
1154
1155 public function setTemplate(Google_Service_Replicapool_Template $template)
1156 {
1157 $this->template = $template;
1158 }
1159
1160 public function getTemplate()
1161 {
1162 return $this->template;
1163 }
1164
1165 public function setType($type)
1166 {
1167 $this->type = $type;
1168 }
1169
1170 public function getType()
1171 {
1172 return $this->type;
1173 }
1174 }
1175
1176 class Google_Service_Replicapool_PoolsDeleteRequest extends Google_Collection
1177 {
1178 public $abandonInstances;
1179
1180 public function setAbandonInstances($abandonInstances)
1181 {
1182 $this->abandonInstances = $abandonInstances;
1183 }
1184
1185 public function getAbandonInstances()
1186 {
1187 return $this->abandonInstances;
1188 }
1189 }
1190
1191 class Google_Service_Replicapool_PoolsListResponse extends Google_Collection
1192 {
1193 public $nextPageToken;
1194 protected $resourcesType = 'Google_Service_Replicapool_Pool';
1195 protected $resourcesDataType = 'array';
1196
1197 public function setNextPageToken($nextPageToken)
1198 {
1199 $this->nextPageToken = $nextPageToken;
1200 }
1201
1202 public function getNextPageToken()
1203 {
1204 return $this->nextPageToken;
1205 }
1206
1207 public function setResources($resources)
1208 {
1209 $this->resources = $resources;
1210 }
1211
1212 public function getResources()
1213 {
1214 return $this->resources;
1215 }
1216 }
1217
1218 class Google_Service_Replicapool_Replica extends Google_Model
1219 {
1220 public $name;
1221 public $selfLink;
1222 protected $statusType = 'Google_Service_Replicapool_ReplicaStatus';
1223 protected $statusDataType = '';
1224
1225 public function setName($name)
1226 {
1227 $this->name = $name;
1228 }
1229
1230 public function getName()
1231 {
1232 return $this->name;
1233 }
1234
1235 public function setSelfLink($selfLink)
1236 {
1237 $this->selfLink = $selfLink;
1238 }
1239
1240 public function getSelfLink()
1241 {
1242 return $this->selfLink;
1243 }
1244
1245 public function setStatus(Google_Service_Replicapool_ReplicaStatus $status)
1246 {
1247 $this->status = $status;
1248 }
1249
1250 public function getStatus()
1251 {
1252 return $this->status;
1253 }
1254 }
1255
1256 class Google_Service_Replicapool_ReplicaStatus extends Google_Model
1257 {
1258 public $details;
1259 public $state;
1260 public $templateVersion;
1261 public $vmLink;
1262 public $vmStartTime;
1263
1264 public function setDetails($details)
1265 {
1266 $this->details = $details;
1267 }
1268
1269 public function getDetails()
1270 {
1271 return $this->details;
1272 }
1273
1274 public function setState($state)
1275 {
1276 $this->state = $state;
1277 }
1278
1279 public function getState()
1280 {
1281 return $this->state;
1282 }
1283
1284 public function setTemplateVersion($templateVersion)
1285 {
1286 $this->templateVersion = $templateVersion;
1287 }
1288
1289 public function getTemplateVersion()
1290 {
1291 return $this->templateVersion;
1292 }
1293
1294 public function setVmLink($vmLink)
1295 {
1296 $this->vmLink = $vmLink;
1297 }
1298
1299 public function getVmLink()
1300 {
1301 return $this->vmLink;
1302 }
1303
1304 public function setVmStartTime($vmStartTime)
1305 {
1306 $this->vmStartTime = $vmStartTime;
1307 }
1308
1309 public function getVmStartTime()
1310 {
1311 return $this->vmStartTime;
1312 }
1313 }
1314
1315 class Google_Service_Replicapool_ReplicasDeleteRequest extends Google_Model
1316 {
1317 public $abandonInstance;
1318
1319 public function setAbandonInstance($abandonInstance)
1320 {
1321 $this->abandonInstance = $abandonInstance;
1322 }
1323
1324 public function getAbandonInstance()
1325 {
1326 return $this->abandonInstance;
1327 }
1328 }
1329
1330 class Google_Service_Replicapool_ReplicasListResponse extends Google_Collection
1331 {
1332 public $nextPageToken;
1333 protected $resourcesType = 'Google_Service_Replicapool_Replica';
1334 protected $resourcesDataType = 'array';
1335
1336 public function setNextPageToken($nextPageToken)
1337 {
1338 $this->nextPageToken = $nextPageToken;
1339 }
1340
1341 public function getNextPageToken()
1342 {
1343 return $this->nextPageToken;
1344 }
1345
1346 public function setResources($resources)
1347 {
1348 $this->resources = $resources;
1349 }
1350
1351 public function getResources()
1352 {
1353 return $this->resources;
1354 }
1355 }
1356
1357 class Google_Service_Replicapool_ServiceAccount extends Google_Collection
1358 {
1359 public $email;
1360 public $scopes;
1361
1362 public function setEmail($email)
1363 {
1364 $this->email = $email;
1365 }
1366
1367 public function getEmail()
1368 {
1369 return $this->email;
1370 }
1371
1372 public function setScopes($scopes)
1373 {
1374 $this->scopes = $scopes;
1375 }
1376
1377 public function getScopes()
1378 {
1379 return $this->scopes;
1380 }
1381 }
1382
1383 class Google_Service_Replicapool_Tag extends Google_Collection
1384 {
1385 public $fingerPrint;
1386 public $items;
1387
1388 public function setFingerPrint($fingerPrint)
1389 {
1390 $this->fingerPrint = $fingerPrint;
1391 }
1392
1393 public function getFingerPrint()
1394 {
1395 return $this->fingerPrint;
1396 }
1397
1398 public function setItems($items)
1399 {
1400 $this->items = $items;
1401 }
1402
1403 public function getItems()
1404 {
1405 return $this->items;
1406 }
1407 }
1408
1409 class Google_Service_Replicapool_Template extends Google_Collection
1410 {
1411 protected $actionType = 'Google_Service_Replicapool_Action';
1412 protected $actionDataType = '';
1413 protected $healthChecksType = 'Google_Service_Replicapool_HealthCheck';
1414 protected $healthChecksDataType = 'array';
1415 public $version;
1416 protected $vmParamsType = 'Google_Service_Replicapool_VmParams';
1417 protected $vmParamsDataType = '';
1418
1419 public function setAction(Google_Service_Replicapool_Action $action)
1420 {
1421 $this->action = $action;
1422 }
1423
1424 public function getAction()
1425 {
1426 return $this->action;
1427 }
1428
1429 public function setHealthChecks($healthChecks)
1430 {
1431 $this->healthChecks = $healthChecks;
1432 }
1433
1434 public function getHealthChecks()
1435 {
1436 return $this->healthChecks;
1437 }
1438
1439 public function setVersion($version)
1440 {
1441 $this->version = $version;
1442 }
1443
1444 public function getVersion()
1445 {
1446 return $this->version;
1447 }
1448
1449 public function setVmParams(Google_Service_Replicapool_VmParams $vmParams)
1450 {
1451 $this->vmParams = $vmParams;
1452 }
1453
1454 public function getVmParams()
1455 {
1456 return $this->vmParams;
1457 }
1458 }
1459
1460 class Google_Service_Replicapool_VmParams extends Google_Collection
1461 {
1462 public $baseInstanceName;
1463 public $canIpForward;
1464 public $description;
1465 protected $disksToAttachType = 'Google_Service_Replicapool_ExistingDisk';
1466 protected $disksToAttachDataType = 'array';
1467 protected $disksToCreateType = 'Google_Service_Replicapool_NewDisk';
1468 protected $disksToCreateDataType = 'array';
1469 public $machineType;
1470 protected $metadataType = 'Google_Service_Replicapool_Metadata';
1471 protected $metadataDataType = '';
1472 protected $networkInterfacesType = 'Google_Service_Replicapool_NetworkInterface';
1473 protected $networkInterfacesDataType = 'array';
1474 public $onHostMaintenance;
1475 protected $serviceAccountsType = 'Google_Service_Replicapool_ServiceAccount';
1476 protected $serviceAccountsDataType = 'array';
1477 protected $tagsType = 'Google_Service_Replicapool_Tag';
1478 protected $tagsDataType = '';
1479
1480 public function setBaseInstanceName($baseInstanceName)
1481 {
1482 $this->baseInstanceName = $baseInstanceName;
1483 }
1484
1485 public function getBaseInstanceName()
1486 {
1487 return $this->baseInstanceName;
1488 }
1489
1490 public function setCanIpForward($canIpForward)
1491 {
1492 $this->canIpForward = $canIpForward;
1493 }
1494
1495 public function getCanIpForward()
1496 {
1497 return $this->canIpForward;
1498 }
1499
1500 public function setDescription($description)
1501 {
1502 $this->description = $description;
1503 }
1504
1505 public function getDescription()
1506 {
1507 return $this->description;
1508 }
1509
1510 public function setDisksToAttach($disksToAttach)
1511 {
1512 $this->disksToAttach = $disksToAttach;
1513 }
1514
1515 public function getDisksToAttach()
1516 {
1517 return $this->disksToAttach;
1518 }
1519
1520 public function setDisksToCreate($disksToCreate)
1521 {
1522 $this->disksToCreate = $disksToCreate;
1523 }
1524
1525 public function getDisksToCreate()
1526 {
1527 return $this->disksToCreate;
1528 }
1529
1530 public function setMachineType($machineType)
1531 {
1532 $this->machineType = $machineType;
1533 }
1534
1535 public function getMachineType()
1536 {
1537 return $this->machineType;
1538 }
1539
1540 public function setMetadata(Google_Service_Replicapool_Metadata $metadata)
1541 {
1542 $this->metadata = $metadata;
1543 }
1544
1545 public function getMetadata()
1546 {
1547 return $this->metadata;
1548 }
1549
1550 public function setNetworkInterfaces($networkInterfaces)
1551 {
1552 $this->networkInterfaces = $networkInterfaces;
1553 }
1554
1555 public function getNetworkInterfaces()
1556 {
1557 return $this->networkInterfaces;
1558 }
1559
1560 public function setOnHostMaintenance($onHostMaintenance)
1561 {
1562 $this->onHostMaintenance = $onHostMaintenance;
1563 }
1564
1565 public function getOnHostMaintenance()
1566 {
1567 return $this->onHostMaintenance;
1568 }
1569
1570 public function setServiceAccounts($serviceAccounts)
1571 {
1572 $this->serviceAccounts = $serviceAccounts;
1573 }
1574
1575 public function getServiceAccounts()
1576 {
1577 return $this->serviceAccounts;
1578 }
1579
1580 public function setTags(Google_Service_Replicapool_Tag $tags)
1581 {
1582 $this->tags = $tags;
1583 }
1584
1585 public function getTags()
1586 {
1587 return $this->tags;
1588 }
1589 }
1590