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 / Compute.php

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

9,807 lines 241.8 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 Compute (v1).
20 *
21 * <p>
22 * API for the Google Compute Engine service.
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="https://developers.google.com/compute/docs/reference/latest/" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Google_Service_Compute extends Google_Service
33 {
34 /** View and manage your Google Compute Engine resources. */
35 const COMPUTE = "https://www.googleapis.com/auth/compute";
36 /** View your Google Compute Engine resources. */
37 const COMPUTE_READONLY = "https://www.googleapis.com/auth/compute.readonly";
38 /** Manage your data and permissions in Google Cloud Storage. */
39 const DEVSTORAGE_FULL_CONTROL = "https://www.googleapis.com/auth/devstorage.full_control";
40 /** View your data in Google Cloud Storage. */
41 const DEVSTORAGE_READ_ONLY = "https://www.googleapis.com/auth/devstorage.read_only";
42 /** Manage your data in Google Cloud Storage. */
43 const DEVSTORAGE_READ_WRITE = "https://www.googleapis.com/auth/devstorage.read_write";
44
45 public $addresses;
46 public $disks;
47 public $firewalls;
48 public $forwardingRules;
49 public $globalOperations;
50 public $httpHealthChecks;
51 public $images;
52 public $instances;
53 public $machineTypes;
54 public $networks;
55 public $projects;
56 public $regionOperations;
57 public $regions;
58 public $routes;
59 public $snapshots;
60 public $targetInstances;
61 public $targetPools;
62 public $zoneOperations;
63 public $zones;
64
65
66 /**
67 * Constructs the internal representation of the Compute service.
68 *
69 * @param Google_Client $client
70 */
71 public function __construct(Google_Client $client)
72 {
73 parent::__construct($client);
74 $this->servicePath = 'compute/v1/projects/';
75 $this->version = 'v1';
76 $this->serviceName = 'compute';
77
78 $this->addresses = new Google_Service_Compute_Addresses_Resource(
79 $this,
80 $this->serviceName,
81 'addresses',
82 array(
83 'methods' => array(
84 'aggregatedList' => array(
85 'path' => '{project}/aggregated/addresses',
86 'httpMethod' => 'GET',
87 'parameters' => array(
88 'project' => array(
89 'location' => 'path',
90 'type' => 'string',
91 'required' => true,
92 ),
93 'filter' => array(
94 'location' => 'query',
95 'type' => 'string',
96 ),
97 'pageToken' => array(
98 'location' => 'query',
99 'type' => 'string',
100 ),
101 'maxResults' => array(
102 'location' => 'query',
103 'type' => 'integer',
104 ),
105 ),
106 ),'delete' => array(
107 'path' => '{project}/regions/{region}/addresses/{address}',
108 'httpMethod' => 'DELETE',
109 'parameters' => array(
110 'project' => array(
111 'location' => 'path',
112 'type' => 'string',
113 'required' => true,
114 ),
115 'region' => array(
116 'location' => 'path',
117 'type' => 'string',
118 'required' => true,
119 ),
120 'address' => array(
121 'location' => 'path',
122 'type' => 'string',
123 'required' => true,
124 ),
125 ),
126 ),'get' => array(
127 'path' => '{project}/regions/{region}/addresses/{address}',
128 'httpMethod' => 'GET',
129 'parameters' => array(
130 'project' => array(
131 'location' => 'path',
132 'type' => 'string',
133 'required' => true,
134 ),
135 'region' => array(
136 'location' => 'path',
137 'type' => 'string',
138 'required' => true,
139 ),
140 'address' => array(
141 'location' => 'path',
142 'type' => 'string',
143 'required' => true,
144 ),
145 ),
146 ),'insert' => array(
147 'path' => '{project}/regions/{region}/addresses',
148 'httpMethod' => 'POST',
149 'parameters' => array(
150 'project' => array(
151 'location' => 'path',
152 'type' => 'string',
153 'required' => true,
154 ),
155 'region' => array(
156 'location' => 'path',
157 'type' => 'string',
158 'required' => true,
159 ),
160 ),
161 ),'list' => array(
162 'path' => '{project}/regions/{region}/addresses',
163 'httpMethod' => 'GET',
164 'parameters' => array(
165 'project' => array(
166 'location' => 'path',
167 'type' => 'string',
168 'required' => true,
169 ),
170 'region' => array(
171 'location' => 'path',
172 'type' => 'string',
173 'required' => true,
174 ),
175 'filter' => array(
176 'location' => 'query',
177 'type' => 'string',
178 ),
179 'pageToken' => array(
180 'location' => 'query',
181 'type' => 'string',
182 ),
183 'maxResults' => array(
184 'location' => 'query',
185 'type' => 'integer',
186 ),
187 ),
188 ),
189 )
190 )
191 );
192 $this->disks = new Google_Service_Compute_Disks_Resource(
193 $this,
194 $this->serviceName,
195 'disks',
196 array(
197 'methods' => array(
198 'aggregatedList' => array(
199 'path' => '{project}/aggregated/disks',
200 'httpMethod' => 'GET',
201 'parameters' => array(
202 'project' => array(
203 'location' => 'path',
204 'type' => 'string',
205 'required' => true,
206 ),
207 'filter' => array(
208 'location' => 'query',
209 'type' => 'string',
210 ),
211 'pageToken' => array(
212 'location' => 'query',
213 'type' => 'string',
214 ),
215 'maxResults' => array(
216 'location' => 'query',
217 'type' => 'integer',
218 ),
219 ),
220 ),'createSnapshot' => array(
221 'path' => '{project}/zones/{zone}/disks/{disk}/createSnapshot',
222 'httpMethod' => 'POST',
223 'parameters' => array(
224 'project' => array(
225 'location' => 'path',
226 'type' => 'string',
227 'required' => true,
228 ),
229 'zone' => array(
230 'location' => 'path',
231 'type' => 'string',
232 'required' => true,
233 ),
234 'disk' => array(
235 'location' => 'path',
236 'type' => 'string',
237 'required' => true,
238 ),
239 ),
240 ),'delete' => array(
241 'path' => '{project}/zones/{zone}/disks/{disk}',
242 'httpMethod' => 'DELETE',
243 'parameters' => array(
244 'project' => array(
245 'location' => 'path',
246 'type' => 'string',
247 'required' => true,
248 ),
249 'zone' => array(
250 'location' => 'path',
251 'type' => 'string',
252 'required' => true,
253 ),
254 'disk' => array(
255 'location' => 'path',
256 'type' => 'string',
257 'required' => true,
258 ),
259 ),
260 ),'get' => array(
261 'path' => '{project}/zones/{zone}/disks/{disk}',
262 'httpMethod' => 'GET',
263 'parameters' => array(
264 'project' => array(
265 'location' => 'path',
266 'type' => 'string',
267 'required' => true,
268 ),
269 'zone' => array(
270 'location' => 'path',
271 'type' => 'string',
272 'required' => true,
273 ),
274 'disk' => array(
275 'location' => 'path',
276 'type' => 'string',
277 'required' => true,
278 ),
279 ),
280 ),'insert' => array(
281 'path' => '{project}/zones/{zone}/disks',
282 'httpMethod' => 'POST',
283 'parameters' => array(
284 'project' => array(
285 'location' => 'path',
286 'type' => 'string',
287 'required' => true,
288 ),
289 'zone' => array(
290 'location' => 'path',
291 'type' => 'string',
292 'required' => true,
293 ),
294 'sourceImage' => array(
295 'location' => 'query',
296 'type' => 'string',
297 ),
298 ),
299 ),'list' => array(
300 'path' => '{project}/zones/{zone}/disks',
301 'httpMethod' => 'GET',
302 'parameters' => array(
303 'project' => array(
304 'location' => 'path',
305 'type' => 'string',
306 'required' => true,
307 ),
308 'zone' => array(
309 'location' => 'path',
310 'type' => 'string',
311 'required' => true,
312 ),
313 'filter' => array(
314 'location' => 'query',
315 'type' => 'string',
316 ),
317 'pageToken' => array(
318 'location' => 'query',
319 'type' => 'string',
320 ),
321 'maxResults' => array(
322 'location' => 'query',
323 'type' => 'integer',
324 ),
325 ),
326 ),
327 )
328 )
329 );
330 $this->firewalls = new Google_Service_Compute_Firewalls_Resource(
331 $this,
332 $this->serviceName,
333 'firewalls',
334 array(
335 'methods' => array(
336 'delete' => array(
337 'path' => '{project}/global/firewalls/{firewall}',
338 'httpMethod' => 'DELETE',
339 'parameters' => array(
340 'project' => array(
341 'location' => 'path',
342 'type' => 'string',
343 'required' => true,
344 ),
345 'firewall' => array(
346 'location' => 'path',
347 'type' => 'string',
348 'required' => true,
349 ),
350 ),
351 ),'get' => array(
352 'path' => '{project}/global/firewalls/{firewall}',
353 'httpMethod' => 'GET',
354 'parameters' => array(
355 'project' => array(
356 'location' => 'path',
357 'type' => 'string',
358 'required' => true,
359 ),
360 'firewall' => array(
361 'location' => 'path',
362 'type' => 'string',
363 'required' => true,
364 ),
365 ),
366 ),'insert' => array(
367 'path' => '{project}/global/firewalls',
368 'httpMethod' => 'POST',
369 'parameters' => array(
370 'project' => array(
371 'location' => 'path',
372 'type' => 'string',
373 'required' => true,
374 ),
375 ),
376 ),'list' => array(
377 'path' => '{project}/global/firewalls',
378 'httpMethod' => 'GET',
379 'parameters' => array(
380 'project' => array(
381 'location' => 'path',
382 'type' => 'string',
383 'required' => true,
384 ),
385 'filter' => array(
386 'location' => 'query',
387 'type' => 'string',
388 ),
389 'pageToken' => array(
390 'location' => 'query',
391 'type' => 'string',
392 ),
393 'maxResults' => array(
394 'location' => 'query',
395 'type' => 'integer',
396 ),
397 ),
398 ),'patch' => array(
399 'path' => '{project}/global/firewalls/{firewall}',
400 'httpMethod' => 'PATCH',
401 'parameters' => array(
402 'project' => array(
403 'location' => 'path',
404 'type' => 'string',
405 'required' => true,
406 ),
407 'firewall' => array(
408 'location' => 'path',
409 'type' => 'string',
410 'required' => true,
411 ),
412 ),
413 ),'update' => array(
414 'path' => '{project}/global/firewalls/{firewall}',
415 'httpMethod' => 'PUT',
416 'parameters' => array(
417 'project' => array(
418 'location' => 'path',
419 'type' => 'string',
420 'required' => true,
421 ),
422 'firewall' => array(
423 'location' => 'path',
424 'type' => 'string',
425 'required' => true,
426 ),
427 ),
428 ),
429 )
430 )
431 );
432 $this->forwardingRules = new Google_Service_Compute_ForwardingRules_Resource(
433 $this,
434 $this->serviceName,
435 'forwardingRules',
436 array(
437 'methods' => array(
438 'aggregatedList' => array(
439 'path' => '{project}/aggregated/forwardingRules',
440 'httpMethod' => 'GET',
441 'parameters' => array(
442 'project' => array(
443 'location' => 'path',
444 'type' => 'string',
445 'required' => true,
446 ),
447 'filter' => array(
448 'location' => 'query',
449 'type' => 'string',
450 ),
451 'pageToken' => array(
452 'location' => 'query',
453 'type' => 'string',
454 ),
455 'maxResults' => array(
456 'location' => 'query',
457 'type' => 'integer',
458 ),
459 ),
460 ),'delete' => array(
461 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}',
462 'httpMethod' => 'DELETE',
463 'parameters' => array(
464 'project' => array(
465 'location' => 'path',
466 'type' => 'string',
467 'required' => true,
468 ),
469 'region' => array(
470 'location' => 'path',
471 'type' => 'string',
472 'required' => true,
473 ),
474 'forwardingRule' => array(
475 'location' => 'path',
476 'type' => 'string',
477 'required' => true,
478 ),
479 ),
480 ),'get' => array(
481 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}',
482 'httpMethod' => 'GET',
483 'parameters' => array(
484 'project' => array(
485 'location' => 'path',
486 'type' => 'string',
487 'required' => true,
488 ),
489 'region' => array(
490 'location' => 'path',
491 'type' => 'string',
492 'required' => true,
493 ),
494 'forwardingRule' => array(
495 'location' => 'path',
496 'type' => 'string',
497 'required' => true,
498 ),
499 ),
500 ),'insert' => array(
501 'path' => '{project}/regions/{region}/forwardingRules',
502 'httpMethod' => 'POST',
503 'parameters' => array(
504 'project' => array(
505 'location' => 'path',
506 'type' => 'string',
507 'required' => true,
508 ),
509 'region' => array(
510 'location' => 'path',
511 'type' => 'string',
512 'required' => true,
513 ),
514 ),
515 ),'list' => array(
516 'path' => '{project}/regions/{region}/forwardingRules',
517 'httpMethod' => 'GET',
518 'parameters' => array(
519 'project' => array(
520 'location' => 'path',
521 'type' => 'string',
522 'required' => true,
523 ),
524 'region' => array(
525 'location' => 'path',
526 'type' => 'string',
527 'required' => true,
528 ),
529 'filter' => array(
530 'location' => 'query',
531 'type' => 'string',
532 ),
533 'pageToken' => array(
534 'location' => 'query',
535 'type' => 'string',
536 ),
537 'maxResults' => array(
538 'location' => 'query',
539 'type' => 'integer',
540 ),
541 ),
542 ),'setTarget' => array(
543 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget',
544 'httpMethod' => 'POST',
545 'parameters' => array(
546 'project' => array(
547 'location' => 'path',
548 'type' => 'string',
549 'required' => true,
550 ),
551 'region' => array(
552 'location' => 'path',
553 'type' => 'string',
554 'required' => true,
555 ),
556 'forwardingRule' => array(
557 'location' => 'path',
558 'type' => 'string',
559 'required' => true,
560 ),
561 ),
562 ),
563 )
564 )
565 );
566 $this->globalOperations = new Google_Service_Compute_GlobalOperations_Resource(
567 $this,
568 $this->serviceName,
569 'globalOperations',
570 array(
571 'methods' => array(
572 'aggregatedList' => array(
573 'path' => '{project}/aggregated/operations',
574 'httpMethod' => 'GET',
575 'parameters' => array(
576 'project' => array(
577 'location' => 'path',
578 'type' => 'string',
579 'required' => true,
580 ),
581 'filter' => array(
582 'location' => 'query',
583 'type' => 'string',
584 ),
585 'pageToken' => array(
586 'location' => 'query',
587 'type' => 'string',
588 ),
589 'maxResults' => array(
590 'location' => 'query',
591 'type' => 'integer',
592 ),
593 ),
594 ),'delete' => array(
595 'path' => '{project}/global/operations/{operation}',
596 'httpMethod' => 'DELETE',
597 'parameters' => array(
598 'project' => array(
599 'location' => 'path',
600 'type' => 'string',
601 'required' => true,
602 ),
603 'operation' => array(
604 'location' => 'path',
605 'type' => 'string',
606 'required' => true,
607 ),
608 ),
609 ),'get' => array(
610 'path' => '{project}/global/operations/{operation}',
611 'httpMethod' => 'GET',
612 'parameters' => array(
613 'project' => array(
614 'location' => 'path',
615 'type' => 'string',
616 'required' => true,
617 ),
618 'operation' => array(
619 'location' => 'path',
620 'type' => 'string',
621 'required' => true,
622 ),
623 ),
624 ),'list' => array(
625 'path' => '{project}/global/operations',
626 'httpMethod' => 'GET',
627 'parameters' => array(
628 'project' => array(
629 'location' => 'path',
630 'type' => 'string',
631 'required' => true,
632 ),
633 'filter' => array(
634 'location' => 'query',
635 'type' => 'string',
636 ),
637 'pageToken' => array(
638 'location' => 'query',
639 'type' => 'string',
640 ),
641 'maxResults' => array(
642 'location' => 'query',
643 'type' => 'integer',
644 ),
645 ),
646 ),
647 )
648 )
649 );
650 $this->httpHealthChecks = new Google_Service_Compute_HttpHealthChecks_Resource(
651 $this,
652 $this->serviceName,
653 'httpHealthChecks',
654 array(
655 'methods' => array(
656 'delete' => array(
657 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
658 'httpMethod' => 'DELETE',
659 'parameters' => array(
660 'project' => array(
661 'location' => 'path',
662 'type' => 'string',
663 'required' => true,
664 ),
665 'httpHealthCheck' => array(
666 'location' => 'path',
667 'type' => 'string',
668 'required' => true,
669 ),
670 ),
671 ),'get' => array(
672 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
673 'httpMethod' => 'GET',
674 'parameters' => array(
675 'project' => array(
676 'location' => 'path',
677 'type' => 'string',
678 'required' => true,
679 ),
680 'httpHealthCheck' => array(
681 'location' => 'path',
682 'type' => 'string',
683 'required' => true,
684 ),
685 ),
686 ),'insert' => array(
687 'path' => '{project}/global/httpHealthChecks',
688 'httpMethod' => 'POST',
689 'parameters' => array(
690 'project' => array(
691 'location' => 'path',
692 'type' => 'string',
693 'required' => true,
694 ),
695 ),
696 ),'list' => array(
697 'path' => '{project}/global/httpHealthChecks',
698 'httpMethod' => 'GET',
699 'parameters' => array(
700 'project' => array(
701 'location' => 'path',
702 'type' => 'string',
703 'required' => true,
704 ),
705 'filter' => array(
706 'location' => 'query',
707 'type' => 'string',
708 ),
709 'pageToken' => array(
710 'location' => 'query',
711 'type' => 'string',
712 ),
713 'maxResults' => array(
714 'location' => 'query',
715 'type' => 'integer',
716 ),
717 ),
718 ),'patch' => array(
719 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
720 'httpMethod' => 'PATCH',
721 'parameters' => array(
722 'project' => array(
723 'location' => 'path',
724 'type' => 'string',
725 'required' => true,
726 ),
727 'httpHealthCheck' => array(
728 'location' => 'path',
729 'type' => 'string',
730 'required' => true,
731 ),
732 ),
733 ),'update' => array(
734 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
735 'httpMethod' => 'PUT',
736 'parameters' => array(
737 'project' => array(
738 'location' => 'path',
739 'type' => 'string',
740 'required' => true,
741 ),
742 'httpHealthCheck' => array(
743 'location' => 'path',
744 'type' => 'string',
745 'required' => true,
746 ),
747 ),
748 ),
749 )
750 )
751 );
752 $this->images = new Google_Service_Compute_Images_Resource(
753 $this,
754 $this->serviceName,
755 'images',
756 array(
757 'methods' => array(
758 'delete' => array(
759 'path' => '{project}/global/images/{image}',
760 'httpMethod' => 'DELETE',
761 'parameters' => array(
762 'project' => array(
763 'location' => 'path',
764 'type' => 'string',
765 'required' => true,
766 ),
767 'image' => array(
768 'location' => 'path',
769 'type' => 'string',
770 'required' => true,
771 ),
772 ),
773 ),'deprecate' => array(
774 'path' => '{project}/global/images/{image}/deprecate',
775 'httpMethod' => 'POST',
776 'parameters' => array(
777 'project' => array(
778 'location' => 'path',
779 'type' => 'string',
780 'required' => true,
781 ),
782 'image' => array(
783 'location' => 'path',
784 'type' => 'string',
785 'required' => true,
786 ),
787 ),
788 ),'get' => array(
789 'path' => '{project}/global/images/{image}',
790 'httpMethod' => 'GET',
791 'parameters' => array(
792 'project' => array(
793 'location' => 'path',
794 'type' => 'string',
795 'required' => true,
796 ),
797 'image' => array(
798 'location' => 'path',
799 'type' => 'string',
800 'required' => true,
801 ),
802 ),
803 ),'insert' => array(
804 'path' => '{project}/global/images',
805 'httpMethod' => 'POST',
806 'parameters' => array(
807 'project' => array(
808 'location' => 'path',
809 'type' => 'string',
810 'required' => true,
811 ),
812 ),
813 ),'list' => array(
814 'path' => '{project}/global/images',
815 'httpMethod' => 'GET',
816 'parameters' => array(
817 'project' => array(
818 'location' => 'path',
819 'type' => 'string',
820 'required' => true,
821 ),
822 'filter' => array(
823 'location' => 'query',
824 'type' => 'string',
825 ),
826 'pageToken' => array(
827 'location' => 'query',
828 'type' => 'string',
829 ),
830 'maxResults' => array(
831 'location' => 'query',
832 'type' => 'integer',
833 ),
834 ),
835 ),
836 )
837 )
838 );
839 $this->instances = new Google_Service_Compute_Instances_Resource(
840 $this,
841 $this->serviceName,
842 'instances',
843 array(
844 'methods' => array(
845 'addAccessConfig' => array(
846 'path' => '{project}/zones/{zone}/instances/{instance}/addAccessConfig',
847 'httpMethod' => 'POST',
848 'parameters' => array(
849 'project' => array(
850 'location' => 'path',
851 'type' => 'string',
852 'required' => true,
853 ),
854 'zone' => array(
855 'location' => 'path',
856 'type' => 'string',
857 'required' => true,
858 ),
859 'instance' => array(
860 'location' => 'path',
861 'type' => 'string',
862 'required' => true,
863 ),
864 'networkInterface' => array(
865 'location' => 'query',
866 'type' => 'string',
867 'required' => true,
868 ),
869 ),
870 ),'aggregatedList' => array(
871 'path' => '{project}/aggregated/instances',
872 'httpMethod' => 'GET',
873 'parameters' => array(
874 'project' => array(
875 'location' => 'path',
876 'type' => 'string',
877 'required' => true,
878 ),
879 'filter' => array(
880 'location' => 'query',
881 'type' => 'string',
882 ),
883 'pageToken' => array(
884 'location' => 'query',
885 'type' => 'string',
886 ),
887 'maxResults' => array(
888 'location' => 'query',
889 'type' => 'integer',
890 ),
891 ),
892 ),'attachDisk' => array(
893 'path' => '{project}/zones/{zone}/instances/{instance}/attachDisk',
894 'httpMethod' => 'POST',
895 'parameters' => array(
896 'project' => array(
897 'location' => 'path',
898 'type' => 'string',
899 'required' => true,
900 ),
901 'zone' => array(
902 'location' => 'path',
903 'type' => 'string',
904 'required' => true,
905 ),
906 'instance' => array(
907 'location' => 'path',
908 'type' => 'string',
909 'required' => true,
910 ),
911 ),
912 ),'delete' => array(
913 'path' => '{project}/zones/{zone}/instances/{instance}',
914 'httpMethod' => 'DELETE',
915 'parameters' => array(
916 'project' => array(
917 'location' => 'path',
918 'type' => 'string',
919 'required' => true,
920 ),
921 'zone' => array(
922 'location' => 'path',
923 'type' => 'string',
924 'required' => true,
925 ),
926 'instance' => array(
927 'location' => 'path',
928 'type' => 'string',
929 'required' => true,
930 ),
931 ),
932 ),'deleteAccessConfig' => array(
933 'path' => '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig',
934 'httpMethod' => 'POST',
935 'parameters' => array(
936 'project' => array(
937 'location' => 'path',
938 'type' => 'string',
939 'required' => true,
940 ),
941 'zone' => array(
942 'location' => 'path',
943 'type' => 'string',
944 'required' => true,
945 ),
946 'instance' => array(
947 'location' => 'path',
948 'type' => 'string',
949 'required' => true,
950 ),
951 'accessConfig' => array(
952 'location' => 'query',
953 'type' => 'string',
954 'required' => true,
955 ),
956 'networkInterface' => array(
957 'location' => 'query',
958 'type' => 'string',
959 'required' => true,
960 ),
961 ),
962 ),'detachDisk' => array(
963 'path' => '{project}/zones/{zone}/instances/{instance}/detachDisk',
964 'httpMethod' => 'POST',
965 'parameters' => array(
966 'project' => array(
967 'location' => 'path',
968 'type' => 'string',
969 'required' => true,
970 ),
971 'zone' => array(
972 'location' => 'path',
973 'type' => 'string',
974 'required' => true,
975 ),
976 'instance' => array(
977 'location' => 'path',
978 'type' => 'string',
979 'required' => true,
980 ),
981 'deviceName' => array(
982 'location' => 'query',
983 'type' => 'string',
984 'required' => true,
985 ),
986 ),
987 ),'get' => array(
988 'path' => '{project}/zones/{zone}/instances/{instance}',
989 'httpMethod' => 'GET',
990 'parameters' => array(
991 'project' => array(
992 'location' => 'path',
993 'type' => 'string',
994 'required' => true,
995 ),
996 'zone' => array(
997 'location' => 'path',
998 'type' => 'string',
999 'required' => true,
1000 ),
1001 'instance' => array(
1002 'location' => 'path',
1003 'type' => 'string',
1004 'required' => true,
1005 ),
1006 ),
1007 ),'getSerialPortOutput' => array(
1008 'path' => '{project}/zones/{zone}/instances/{instance}/serialPort',
1009 'httpMethod' => 'GET',
1010 'parameters' => array(
1011 'project' => array(
1012 'location' => 'path',
1013 'type' => 'string',
1014 'required' => true,
1015 ),
1016 'zone' => array(
1017 'location' => 'path',
1018 'type' => 'string',
1019 'required' => true,
1020 ),
1021 'instance' => array(
1022 'location' => 'path',
1023 'type' => 'string',
1024 'required' => true,
1025 ),
1026 ),
1027 ),'insert' => array(
1028 'path' => '{project}/zones/{zone}/instances',
1029 'httpMethod' => 'POST',
1030 'parameters' => array(
1031 'project' => array(
1032 'location' => 'path',
1033 'type' => 'string',
1034 'required' => true,
1035 ),
1036 'zone' => array(
1037 'location' => 'path',
1038 'type' => 'string',
1039 'required' => true,
1040 ),
1041 ),
1042 ),'list' => array(
1043 'path' => '{project}/zones/{zone}/instances',
1044 'httpMethod' => 'GET',
1045 'parameters' => array(
1046 'project' => array(
1047 'location' => 'path',
1048 'type' => 'string',
1049 'required' => true,
1050 ),
1051 'zone' => array(
1052 'location' => 'path',
1053 'type' => 'string',
1054 'required' => true,
1055 ),
1056 'filter' => array(
1057 'location' => 'query',
1058 'type' => 'string',
1059 ),
1060 'pageToken' => array(
1061 'location' => 'query',
1062 'type' => 'string',
1063 ),
1064 'maxResults' => array(
1065 'location' => 'query',
1066 'type' => 'integer',
1067 ),
1068 ),
1069 ),'reset' => array(
1070 'path' => '{project}/zones/{zone}/instances/{instance}/reset',
1071 'httpMethod' => 'POST',
1072 'parameters' => array(
1073 'project' => array(
1074 'location' => 'path',
1075 'type' => 'string',
1076 'required' => true,
1077 ),
1078 'zone' => array(
1079 'location' => 'path',
1080 'type' => 'string',
1081 'required' => true,
1082 ),
1083 'instance' => array(
1084 'location' => 'path',
1085 'type' => 'string',
1086 'required' => true,
1087 ),
1088 ),
1089 ),'setDiskAutoDelete' => array(
1090 'path' => '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete',
1091 'httpMethod' => 'POST',
1092 'parameters' => array(
1093 'project' => array(
1094 'location' => 'path',
1095 'type' => 'string',
1096 'required' => true,
1097 ),
1098 'zone' => array(
1099 'location' => 'path',
1100 'type' => 'string',
1101 'required' => true,
1102 ),
1103 'instance' => array(
1104 'location' => 'path',
1105 'type' => 'string',
1106 'required' => true,
1107 ),
1108 'autoDelete' => array(
1109 'location' => 'query',
1110 'type' => 'boolean',
1111 'required' => true,
1112 ),
1113 'deviceName' => array(
1114 'location' => 'query',
1115 'type' => 'string',
1116 'required' => true,
1117 ),
1118 ),
1119 ),'setMetadata' => array(
1120 'path' => '{project}/zones/{zone}/instances/{instance}/setMetadata',
1121 'httpMethod' => 'POST',
1122 'parameters' => array(
1123 'project' => array(
1124 'location' => 'path',
1125 'type' => 'string',
1126 'required' => true,
1127 ),
1128 'zone' => array(
1129 'location' => 'path',
1130 'type' => 'string',
1131 'required' => true,
1132 ),
1133 'instance' => array(
1134 'location' => 'path',
1135 'type' => 'string',
1136 'required' => true,
1137 ),
1138 ),
1139 ),'setScheduling' => array(
1140 'path' => '{project}/zones/{zone}/instances/{instance}/setScheduling',
1141 'httpMethod' => 'POST',
1142 'parameters' => array(
1143 'project' => array(
1144 'location' => 'path',
1145 'type' => 'string',
1146 'required' => true,
1147 ),
1148 'zone' => array(
1149 'location' => 'path',
1150 'type' => 'string',
1151 'required' => true,
1152 ),
1153 'instance' => array(
1154 'location' => 'path',
1155 'type' => 'string',
1156 'required' => true,
1157 ),
1158 ),
1159 ),'setTags' => array(
1160 'path' => '{project}/zones/{zone}/instances/{instance}/setTags',
1161 'httpMethod' => 'POST',
1162 'parameters' => array(
1163 'project' => array(
1164 'location' => 'path',
1165 'type' => 'string',
1166 'required' => true,
1167 ),
1168 'zone' => array(
1169 'location' => 'path',
1170 'type' => 'string',
1171 'required' => true,
1172 ),
1173 'instance' => array(
1174 'location' => 'path',
1175 'type' => 'string',
1176 'required' => true,
1177 ),
1178 ),
1179 ),
1180 )
1181 )
1182 );
1183 $this->machineTypes = new Google_Service_Compute_MachineTypes_Resource(
1184 $this,
1185 $this->serviceName,
1186 'machineTypes',
1187 array(
1188 'methods' => array(
1189 'aggregatedList' => array(
1190 'path' => '{project}/aggregated/machineTypes',
1191 'httpMethod' => 'GET',
1192 'parameters' => array(
1193 'project' => array(
1194 'location' => 'path',
1195 'type' => 'string',
1196 'required' => true,
1197 ),
1198 'filter' => array(
1199 'location' => 'query',
1200 'type' => 'string',
1201 ),
1202 'pageToken' => array(
1203 'location' => 'query',
1204 'type' => 'string',
1205 ),
1206 'maxResults' => array(
1207 'location' => 'query',
1208 'type' => 'integer',
1209 ),
1210 ),
1211 ),'get' => array(
1212 'path' => '{project}/zones/{zone}/machineTypes/{machineType}',
1213 'httpMethod' => 'GET',
1214 'parameters' => array(
1215 'project' => array(
1216 'location' => 'path',
1217 'type' => 'string',
1218 'required' => true,
1219 ),
1220 'zone' => array(
1221 'location' => 'path',
1222 'type' => 'string',
1223 'required' => true,
1224 ),
1225 'machineType' => array(
1226 'location' => 'path',
1227 'type' => 'string',
1228 'required' => true,
1229 ),
1230 ),
1231 ),'list' => array(
1232 'path' => '{project}/zones/{zone}/machineTypes',
1233 'httpMethod' => 'GET',
1234 'parameters' => array(
1235 'project' => array(
1236 'location' => 'path',
1237 'type' => 'string',
1238 'required' => true,
1239 ),
1240 'zone' => array(
1241 'location' => 'path',
1242 'type' => 'string',
1243 'required' => true,
1244 ),
1245 'filter' => array(
1246 'location' => 'query',
1247 'type' => 'string',
1248 ),
1249 'pageToken' => array(
1250 'location' => 'query',
1251 'type' => 'string',
1252 ),
1253 'maxResults' => array(
1254 'location' => 'query',
1255 'type' => 'integer',
1256 ),
1257 ),
1258 ),
1259 )
1260 )
1261 );
1262 $this->networks = new Google_Service_Compute_Networks_Resource(
1263 $this,
1264 $this->serviceName,
1265 'networks',
1266 array(
1267 'methods' => array(
1268 'delete' => array(
1269 'path' => '{project}/global/networks/{network}',
1270 'httpMethod' => 'DELETE',
1271 'parameters' => array(
1272 'project' => array(
1273 'location' => 'path',
1274 'type' => 'string',
1275 'required' => true,
1276 ),
1277 'network' => array(
1278 'location' => 'path',
1279 'type' => 'string',
1280 'required' => true,
1281 ),
1282 ),
1283 ),'get' => array(
1284 'path' => '{project}/global/networks/{network}',
1285 'httpMethod' => 'GET',
1286 'parameters' => array(
1287 'project' => array(
1288 'location' => 'path',
1289 'type' => 'string',
1290 'required' => true,
1291 ),
1292 'network' => array(
1293 'location' => 'path',
1294 'type' => 'string',
1295 'required' => true,
1296 ),
1297 ),
1298 ),'insert' => array(
1299 'path' => '{project}/global/networks',
1300 'httpMethod' => 'POST',
1301 'parameters' => array(
1302 'project' => array(
1303 'location' => 'path',
1304 'type' => 'string',
1305 'required' => true,
1306 ),
1307 ),
1308 ),'list' => array(
1309 'path' => '{project}/global/networks',
1310 'httpMethod' => 'GET',
1311 'parameters' => array(
1312 'project' => array(
1313 'location' => 'path',
1314 'type' => 'string',
1315 'required' => true,
1316 ),
1317 'filter' => array(
1318 'location' => 'query',
1319 'type' => 'string',
1320 ),
1321 'pageToken' => array(
1322 'location' => 'query',
1323 'type' => 'string',
1324 ),
1325 'maxResults' => array(
1326 'location' => 'query',
1327 'type' => 'integer',
1328 ),
1329 ),
1330 ),
1331 )
1332 )
1333 );
1334 $this->projects = new Google_Service_Compute_Projects_Resource(
1335 $this,
1336 $this->serviceName,
1337 'projects',
1338 array(
1339 'methods' => array(
1340 'get' => array(
1341 'path' => '{project}',
1342 'httpMethod' => 'GET',
1343 'parameters' => array(
1344 'project' => array(
1345 'location' => 'path',
1346 'type' => 'string',
1347 'required' => true,
1348 ),
1349 ),
1350 ),'setCommonInstanceMetadata' => array(
1351 'path' => '{project}/setCommonInstanceMetadata',
1352 'httpMethod' => 'POST',
1353 'parameters' => array(
1354 'project' => array(
1355 'location' => 'path',
1356 'type' => 'string',
1357 'required' => true,
1358 ),
1359 ),
1360 ),
1361 )
1362 )
1363 );
1364 $this->regionOperations = new Google_Service_Compute_RegionOperations_Resource(
1365 $this,
1366 $this->serviceName,
1367 'regionOperations',
1368 array(
1369 'methods' => array(
1370 'delete' => array(
1371 'path' => '{project}/regions/{region}/operations/{operation}',
1372 'httpMethod' => 'DELETE',
1373 'parameters' => array(
1374 'project' => array(
1375 'location' => 'path',
1376 'type' => 'string',
1377 'required' => true,
1378 ),
1379 'region' => array(
1380 'location' => 'path',
1381 'type' => 'string',
1382 'required' => true,
1383 ),
1384 'operation' => array(
1385 'location' => 'path',
1386 'type' => 'string',
1387 'required' => true,
1388 ),
1389 ),
1390 ),'get' => array(
1391 'path' => '{project}/regions/{region}/operations/{operation}',
1392 'httpMethod' => 'GET',
1393 'parameters' => array(
1394 'project' => array(
1395 'location' => 'path',
1396 'type' => 'string',
1397 'required' => true,
1398 ),
1399 'region' => array(
1400 'location' => 'path',
1401 'type' => 'string',
1402 'required' => true,
1403 ),
1404 'operation' => array(
1405 'location' => 'path',
1406 'type' => 'string',
1407 'required' => true,
1408 ),
1409 ),
1410 ),'list' => array(
1411 'path' => '{project}/regions/{region}/operations',
1412 'httpMethod' => 'GET',
1413 'parameters' => array(
1414 'project' => array(
1415 'location' => 'path',
1416 'type' => 'string',
1417 'required' => true,
1418 ),
1419 'region' => array(
1420 'location' => 'path',
1421 'type' => 'string',
1422 'required' => true,
1423 ),
1424 'filter' => array(
1425 'location' => 'query',
1426 'type' => 'string',
1427 ),
1428 'pageToken' => array(
1429 'location' => 'query',
1430 'type' => 'string',
1431 ),
1432 'maxResults' => array(
1433 'location' => 'query',
1434 'type' => 'integer',
1435 ),
1436 ),
1437 ),
1438 )
1439 )
1440 );
1441 $this->regions = new Google_Service_Compute_Regions_Resource(
1442 $this,
1443 $this->serviceName,
1444 'regions',
1445 array(
1446 'methods' => array(
1447 'get' => array(
1448 'path' => '{project}/regions/{region}',
1449 'httpMethod' => 'GET',
1450 'parameters' => array(
1451 'project' => array(
1452 'location' => 'path',
1453 'type' => 'string',
1454 'required' => true,
1455 ),
1456 'region' => array(
1457 'location' => 'path',
1458 'type' => 'string',
1459 'required' => true,
1460 ),
1461 ),
1462 ),'list' => array(
1463 'path' => '{project}/regions',
1464 'httpMethod' => 'GET',
1465 'parameters' => array(
1466 'project' => array(
1467 'location' => 'path',
1468 'type' => 'string',
1469 'required' => true,
1470 ),
1471 'filter' => array(
1472 'location' => 'query',
1473 'type' => 'string',
1474 ),
1475 'pageToken' => array(
1476 'location' => 'query',
1477 'type' => 'string',
1478 ),
1479 'maxResults' => array(
1480 'location' => 'query',
1481 'type' => 'integer',
1482 ),
1483 ),
1484 ),
1485 )
1486 )
1487 );
1488 $this->routes = new Google_Service_Compute_Routes_Resource(
1489 $this,
1490 $this->serviceName,
1491 'routes',
1492 array(
1493 'methods' => array(
1494 'delete' => array(
1495 'path' => '{project}/global/routes/{route}',
1496 'httpMethod' => 'DELETE',
1497 'parameters' => array(
1498 'project' => array(
1499 'location' => 'path',
1500 'type' => 'string',
1501 'required' => true,
1502 ),
1503 'route' => array(
1504 'location' => 'path',
1505 'type' => 'string',
1506 'required' => true,
1507 ),
1508 ),
1509 ),'get' => array(
1510 'path' => '{project}/global/routes/{route}',
1511 'httpMethod' => 'GET',
1512 'parameters' => array(
1513 'project' => array(
1514 'location' => 'path',
1515 'type' => 'string',
1516 'required' => true,
1517 ),
1518 'route' => array(
1519 'location' => 'path',
1520 'type' => 'string',
1521 'required' => true,
1522 ),
1523 ),
1524 ),'insert' => array(
1525 'path' => '{project}/global/routes',
1526 'httpMethod' => 'POST',
1527 'parameters' => array(
1528 'project' => array(
1529 'location' => 'path',
1530 'type' => 'string',
1531 'required' => true,
1532 ),
1533 ),
1534 ),'list' => array(
1535 'path' => '{project}/global/routes',
1536 'httpMethod' => 'GET',
1537 'parameters' => array(
1538 'project' => array(
1539 'location' => 'path',
1540 'type' => 'string',
1541 'required' => true,
1542 ),
1543 'filter' => array(
1544 'location' => 'query',
1545 'type' => 'string',
1546 ),
1547 'pageToken' => array(
1548 'location' => 'query',
1549 'type' => 'string',
1550 ),
1551 'maxResults' => array(
1552 'location' => 'query',
1553 'type' => 'integer',
1554 ),
1555 ),
1556 ),
1557 )
1558 )
1559 );
1560 $this->snapshots = new Google_Service_Compute_Snapshots_Resource(
1561 $this,
1562 $this->serviceName,
1563 'snapshots',
1564 array(
1565 'methods' => array(
1566 'delete' => array(
1567 'path' => '{project}/global/snapshots/{snapshot}',
1568 'httpMethod' => 'DELETE',
1569 'parameters' => array(
1570 'project' => array(
1571 'location' => 'path',
1572 'type' => 'string',
1573 'required' => true,
1574 ),
1575 'snapshot' => array(
1576 'location' => 'path',
1577 'type' => 'string',
1578 'required' => true,
1579 ),
1580 ),
1581 ),'get' => array(
1582 'path' => '{project}/global/snapshots/{snapshot}',
1583 'httpMethod' => 'GET',
1584 'parameters' => array(
1585 'project' => array(
1586 'location' => 'path',
1587 'type' => 'string',
1588 'required' => true,
1589 ),
1590 'snapshot' => array(
1591 'location' => 'path',
1592 'type' => 'string',
1593 'required' => true,
1594 ),
1595 ),
1596 ),'list' => array(
1597 'path' => '{project}/global/snapshots',
1598 'httpMethod' => 'GET',
1599 'parameters' => array(
1600 'project' => array(
1601 'location' => 'path',
1602 'type' => 'string',
1603 'required' => true,
1604 ),
1605 'filter' => array(
1606 'location' => 'query',
1607 'type' => 'string',
1608 ),
1609 'pageToken' => array(
1610 'location' => 'query',
1611 'type' => 'string',
1612 ),
1613 'maxResults' => array(
1614 'location' => 'query',
1615 'type' => 'integer',
1616 ),
1617 ),
1618 ),
1619 )
1620 )
1621 );
1622 $this->targetInstances = new Google_Service_Compute_TargetInstances_Resource(
1623 $this,
1624 $this->serviceName,
1625 'targetInstances',
1626 array(
1627 'methods' => array(
1628 'aggregatedList' => array(
1629 'path' => '{project}/aggregated/targetInstances',
1630 'httpMethod' => 'GET',
1631 'parameters' => array(
1632 'project' => array(
1633 'location' => 'path',
1634 'type' => 'string',
1635 'required' => true,
1636 ),
1637 'filter' => array(
1638 'location' => 'query',
1639 'type' => 'string',
1640 ),
1641 'pageToken' => array(
1642 'location' => 'query',
1643 'type' => 'string',
1644 ),
1645 'maxResults' => array(
1646 'location' => 'query',
1647 'type' => 'integer',
1648 ),
1649 ),
1650 ),'delete' => array(
1651 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}',
1652 'httpMethod' => 'DELETE',
1653 'parameters' => array(
1654 'project' => array(
1655 'location' => 'path',
1656 'type' => 'string',
1657 'required' => true,
1658 ),
1659 'zone' => array(
1660 'location' => 'path',
1661 'type' => 'string',
1662 'required' => true,
1663 ),
1664 'targetInstance' => array(
1665 'location' => 'path',
1666 'type' => 'string',
1667 'required' => true,
1668 ),
1669 ),
1670 ),'get' => array(
1671 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}',
1672 'httpMethod' => 'GET',
1673 'parameters' => array(
1674 'project' => array(
1675 'location' => 'path',
1676 'type' => 'string',
1677 'required' => true,
1678 ),
1679 'zone' => array(
1680 'location' => 'path',
1681 'type' => 'string',
1682 'required' => true,
1683 ),
1684 'targetInstance' => array(
1685 'location' => 'path',
1686 'type' => 'string',
1687 'required' => true,
1688 ),
1689 ),
1690 ),'insert' => array(
1691 'path' => '{project}/zones/{zone}/targetInstances',
1692 'httpMethod' => 'POST',
1693 'parameters' => array(
1694 'project' => array(
1695 'location' => 'path',
1696 'type' => 'string',
1697 'required' => true,
1698 ),
1699 'zone' => array(
1700 'location' => 'path',
1701 'type' => 'string',
1702 'required' => true,
1703 ),
1704 ),
1705 ),'list' => array(
1706 'path' => '{project}/zones/{zone}/targetInstances',
1707 'httpMethod' => 'GET',
1708 'parameters' => array(
1709 'project' => array(
1710 'location' => 'path',
1711 'type' => 'string',
1712 'required' => true,
1713 ),
1714 'zone' => array(
1715 'location' => 'path',
1716 'type' => 'string',
1717 'required' => true,
1718 ),
1719 'filter' => array(
1720 'location' => 'query',
1721 'type' => 'string',
1722 ),
1723 'pageToken' => array(
1724 'location' => 'query',
1725 'type' => 'string',
1726 ),
1727 'maxResults' => array(
1728 'location' => 'query',
1729 'type' => 'integer',
1730 ),
1731 ),
1732 ),
1733 )
1734 )
1735 );
1736 $this->targetPools = new Google_Service_Compute_TargetPools_Resource(
1737 $this,
1738 $this->serviceName,
1739 'targetPools',
1740 array(
1741 'methods' => array(
1742 'addHealthCheck' => array(
1743 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck',
1744 'httpMethod' => 'POST',
1745 'parameters' => array(
1746 'project' => array(
1747 'location' => 'path',
1748 'type' => 'string',
1749 'required' => true,
1750 ),
1751 'region' => array(
1752 'location' => 'path',
1753 'type' => 'string',
1754 'required' => true,
1755 ),
1756 'targetPool' => array(
1757 'location' => 'path',
1758 'type' => 'string',
1759 'required' => true,
1760 ),
1761 ),
1762 ),'addInstance' => array(
1763 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addInstance',
1764 'httpMethod' => 'POST',
1765 'parameters' => array(
1766 'project' => array(
1767 'location' => 'path',
1768 'type' => 'string',
1769 'required' => true,
1770 ),
1771 'region' => array(
1772 'location' => 'path',
1773 'type' => 'string',
1774 'required' => true,
1775 ),
1776 'targetPool' => array(
1777 'location' => 'path',
1778 'type' => 'string',
1779 'required' => true,
1780 ),
1781 ),
1782 ),'aggregatedList' => array(
1783 'path' => '{project}/aggregated/targetPools',
1784 'httpMethod' => 'GET',
1785 'parameters' => array(
1786 'project' => array(
1787 'location' => 'path',
1788 'type' => 'string',
1789 'required' => true,
1790 ),
1791 'filter' => array(
1792 'location' => 'query',
1793 'type' => 'string',
1794 ),
1795 'pageToken' => array(
1796 'location' => 'query',
1797 'type' => 'string',
1798 ),
1799 'maxResults' => array(
1800 'location' => 'query',
1801 'type' => 'integer',
1802 ),
1803 ),
1804 ),'delete' => array(
1805 'path' => '{project}/regions/{region}/targetPools/{targetPool}',
1806 'httpMethod' => 'DELETE',
1807 'parameters' => array(
1808 'project' => array(
1809 'location' => 'path',
1810 'type' => 'string',
1811 'required' => true,
1812 ),
1813 'region' => array(
1814 'location' => 'path',
1815 'type' => 'string',
1816 'required' => true,
1817 ),
1818 'targetPool' => array(
1819 'location' => 'path',
1820 'type' => 'string',
1821 'required' => true,
1822 ),
1823 ),
1824 ),'get' => array(
1825 'path' => '{project}/regions/{region}/targetPools/{targetPool}',
1826 'httpMethod' => 'GET',
1827 'parameters' => array(
1828 'project' => array(
1829 'location' => 'path',
1830 'type' => 'string',
1831 'required' => true,
1832 ),
1833 'region' => array(
1834 'location' => 'path',
1835 'type' => 'string',
1836 'required' => true,
1837 ),
1838 'targetPool' => array(
1839 'location' => 'path',
1840 'type' => 'string',
1841 'required' => true,
1842 ),
1843 ),
1844 ),'getHealth' => array(
1845 'path' => '{project}/regions/{region}/targetPools/{targetPool}/getHealth',
1846 'httpMethod' => 'POST',
1847 'parameters' => array(
1848 'project' => array(
1849 'location' => 'path',
1850 'type' => 'string',
1851 'required' => true,
1852 ),
1853 'region' => array(
1854 'location' => 'path',
1855 'type' => 'string',
1856 'required' => true,
1857 ),
1858 'targetPool' => array(
1859 'location' => 'path',
1860 'type' => 'string',
1861 'required' => true,
1862 ),
1863 ),
1864 ),'insert' => array(
1865 'path' => '{project}/regions/{region}/targetPools',
1866 'httpMethod' => 'POST',
1867 'parameters' => array(
1868 'project' => array(
1869 'location' => 'path',
1870 'type' => 'string',
1871 'required' => true,
1872 ),
1873 'region' => array(
1874 'location' => 'path',
1875 'type' => 'string',
1876 'required' => true,
1877 ),
1878 ),
1879 ),'list' => array(
1880 'path' => '{project}/regions/{region}/targetPools',
1881 'httpMethod' => 'GET',
1882 'parameters' => array(
1883 'project' => array(
1884 'location' => 'path',
1885 'type' => 'string',
1886 'required' => true,
1887 ),
1888 'region' => array(
1889 'location' => 'path',
1890 'type' => 'string',
1891 'required' => true,
1892 ),
1893 'filter' => array(
1894 'location' => 'query',
1895 'type' => 'string',
1896 ),
1897 'pageToken' => array(
1898 'location' => 'query',
1899 'type' => 'string',
1900 ),
1901 'maxResults' => array(
1902 'location' => 'query',
1903 'type' => 'integer',
1904 ),
1905 ),
1906 ),'removeHealthCheck' => array(
1907 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck',
1908 'httpMethod' => 'POST',
1909 'parameters' => array(
1910 'project' => array(
1911 'location' => 'path',
1912 'type' => 'string',
1913 'required' => true,
1914 ),
1915 'region' => array(
1916 'location' => 'path',
1917 'type' => 'string',
1918 'required' => true,
1919 ),
1920 'targetPool' => array(
1921 'location' => 'path',
1922 'type' => 'string',
1923 'required' => true,
1924 ),
1925 ),
1926 ),'removeInstance' => array(
1927 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeInstance',
1928 'httpMethod' => 'POST',
1929 'parameters' => array(
1930 'project' => array(
1931 'location' => 'path',
1932 'type' => 'string',
1933 'required' => true,
1934 ),
1935 'region' => array(
1936 'location' => 'path',
1937 'type' => 'string',
1938 'required' => true,
1939 ),
1940 'targetPool' => array(
1941 'location' => 'path',
1942 'type' => 'string',
1943 'required' => true,
1944 ),
1945 ),
1946 ),'setBackup' => array(
1947 'path' => '{project}/regions/{region}/targetPools/{targetPool}/setBackup',
1948 'httpMethod' => 'POST',
1949 'parameters' => array(
1950 'project' => array(
1951 'location' => 'path',
1952 'type' => 'string',
1953 'required' => true,
1954 ),
1955 'region' => array(
1956 'location' => 'path',
1957 'type' => 'string',
1958 'required' => true,
1959 ),
1960 'targetPool' => array(
1961 'location' => 'path',
1962 'type' => 'string',
1963 'required' => true,
1964 ),
1965 'failoverRatio' => array(
1966 'location' => 'query',
1967 'type' => 'number',
1968 ),
1969 ),
1970 ),
1971 )
1972 )
1973 );
1974 $this->zoneOperations = new Google_Service_Compute_ZoneOperations_Resource(
1975 $this,
1976 $this->serviceName,
1977 'zoneOperations',
1978 array(
1979 'methods' => array(
1980 'delete' => array(
1981 'path' => '{project}/zones/{zone}/operations/{operation}',
1982 'httpMethod' => 'DELETE',
1983 'parameters' => array(
1984 'project' => array(
1985 'location' => 'path',
1986 'type' => 'string',
1987 'required' => true,
1988 ),
1989 'zone' => array(
1990 'location' => 'path',
1991 'type' => 'string',
1992 'required' => true,
1993 ),
1994 'operation' => array(
1995 'location' => 'path',
1996 'type' => 'string',
1997 'required' => true,
1998 ),
1999 ),
2000 ),'get' => array(
2001 'path' => '{project}/zones/{zone}/operations/{operation}',
2002 'httpMethod' => 'GET',
2003 'parameters' => array(
2004 'project' => array(
2005 'location' => 'path',
2006 'type' => 'string',
2007 'required' => true,
2008 ),
2009 'zone' => array(
2010 'location' => 'path',
2011 'type' => 'string',
2012 'required' => true,
2013 ),
2014 'operation' => array(
2015 'location' => 'path',
2016 'type' => 'string',
2017 'required' => true,
2018 ),
2019 ),
2020 ),'list' => array(
2021 'path' => '{project}/zones/{zone}/operations',
2022 'httpMethod' => 'GET',
2023 'parameters' => array(
2024 'project' => array(
2025 'location' => 'path',
2026 'type' => 'string',
2027 'required' => true,
2028 ),
2029 'zone' => array(
2030 'location' => 'path',
2031 'type' => 'string',
2032 'required' => true,
2033 ),
2034 'filter' => array(
2035 'location' => 'query',
2036 'type' => 'string',
2037 ),
2038 'pageToken' => array(
2039 'location' => 'query',
2040 'type' => 'string',
2041 ),
2042 'maxResults' => array(
2043 'location' => 'query',
2044 'type' => 'integer',
2045 ),
2046 ),
2047 ),
2048 )
2049 )
2050 );
2051 $this->zones = new Google_Service_Compute_Zones_Resource(
2052 $this,
2053 $this->serviceName,
2054 'zones',
2055 array(
2056 'methods' => array(
2057 'get' => array(
2058 'path' => '{project}/zones/{zone}',
2059 'httpMethod' => 'GET',
2060 'parameters' => array(
2061 'project' => array(
2062 'location' => 'path',
2063 'type' => 'string',
2064 'required' => true,
2065 ),
2066 'zone' => array(
2067 'location' => 'path',
2068 'type' => 'string',
2069 'required' => true,
2070 ),
2071 ),
2072 ),'list' => array(
2073 'path' => '{project}/zones',
2074 'httpMethod' => 'GET',
2075 'parameters' => array(
2076 'project' => array(
2077 'location' => 'path',
2078 'type' => 'string',
2079 'required' => true,
2080 ),
2081 'filter' => array(
2082 'location' => 'query',
2083 'type' => 'string',
2084 ),
2085 'pageToken' => array(
2086 'location' => 'query',
2087 'type' => 'string',
2088 ),
2089 'maxResults' => array(
2090 'location' => 'query',
2091 'type' => 'integer',
2092 ),
2093 ),
2094 ),
2095 )
2096 )
2097 );
2098 }
2099 }
2100
2101
2102 /**
2103 * The "addresses" collection of methods.
2104 * Typical usage is:
2105 * <code>
2106 * $computeService = new Google_Service_Compute(...);
2107 * $addresses = $computeService->addresses;
2108 * </code>
2109 */
2110 class Google_Service_Compute_Addresses_Resource extends Google_Service_Resource
2111 {
2112
2113 /**
2114 * Retrieves the list of addresses grouped by scope. (addresses.aggregatedList)
2115 *
2116 * @param string $project
2117 * Name of the project scoping this request.
2118 * @param array $optParams Optional parameters.
2119 *
2120 * @opt_param string filter
2121 * Optional. Filter expression for filtering listed resources.
2122 * @opt_param string pageToken
2123 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
2124 * previous list request.
2125 * @opt_param string maxResults
2126 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
2127 * 500.
2128 * @return Google_Service_Compute_AddressAggregatedList
2129 */
2130 public function aggregatedList($project, $optParams = array())
2131 {
2132 $params = array('project' => $project);
2133 $params = array_merge($params, $optParams);
2134 return $this->call('aggregatedList', array($params), "Google_Service_Compute_AddressAggregatedList");
2135 }
2136 /**
2137 * Deletes the specified address resource. (addresses.delete)
2138 *
2139 * @param string $project
2140 * Name of the project scoping this request.
2141 * @param string $region
2142 * Name of the region scoping this request.
2143 * @param string $address
2144 * Name of the address resource to delete.
2145 * @param array $optParams Optional parameters.
2146 * @return Google_Service_Compute_Operation
2147 */
2148 public function delete($project, $region, $address, $optParams = array())
2149 {
2150 $params = array('project' => $project, 'region' => $region, 'address' => $address);
2151 $params = array_merge($params, $optParams);
2152 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
2153 }
2154 /**
2155 * Returns the specified address resource. (addresses.get)
2156 *
2157 * @param string $project
2158 * Name of the project scoping this request.
2159 * @param string $region
2160 * Name of the region scoping this request.
2161 * @param string $address
2162 * Name of the address resource to return.
2163 * @param array $optParams Optional parameters.
2164 * @return Google_Service_Compute_Address
2165 */
2166 public function get($project, $region, $address, $optParams = array())
2167 {
2168 $params = array('project' => $project, 'region' => $region, 'address' => $address);
2169 $params = array_merge($params, $optParams);
2170 return $this->call('get', array($params), "Google_Service_Compute_Address");
2171 }
2172 /**
2173 * Creates an address resource in the specified project using the data included
2174 * in the request. (addresses.insert)
2175 *
2176 * @param string $project
2177 * Name of the project scoping this request.
2178 * @param string $region
2179 * Name of the region scoping this request.
2180 * @param Google_Address $postBody
2181 * @param array $optParams Optional parameters.
2182 * @return Google_Service_Compute_Operation
2183 */
2184 public function insert($project, $region, Google_Service_Compute_Address $postBody, $optParams = array())
2185 {
2186 $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
2187 $params = array_merge($params, $optParams);
2188 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
2189 }
2190 /**
2191 * Retrieves the list of address resources contained within the specified
2192 * region. (addresses.listAddresses)
2193 *
2194 * @param string $project
2195 * Name of the project scoping this request.
2196 * @param string $region
2197 * Name of the region scoping this request.
2198 * @param array $optParams Optional parameters.
2199 *
2200 * @opt_param string filter
2201 * Optional. Filter expression for filtering listed resources.
2202 * @opt_param string pageToken
2203 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
2204 * previous list request.
2205 * @opt_param string maxResults
2206 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
2207 * 500.
2208 * @return Google_Service_Compute_AddressList
2209 */
2210 public function listAddresses($project, $region, $optParams = array())
2211 {
2212 $params = array('project' => $project, 'region' => $region);
2213 $params = array_merge($params, $optParams);
2214 return $this->call('list', array($params), "Google_Service_Compute_AddressList");
2215 }
2216 }
2217
2218 /**
2219 * The "disks" collection of methods.
2220 * Typical usage is:
2221 * <code>
2222 * $computeService = new Google_Service_Compute(...);
2223 * $disks = $computeService->disks;
2224 * </code>
2225 */
2226 class Google_Service_Compute_Disks_Resource extends Google_Service_Resource
2227 {
2228
2229 /**
2230 * Retrieves the list of disks grouped by scope. (disks.aggregatedList)
2231 *
2232 * @param string $project
2233 * Name of the project scoping this request.
2234 * @param array $optParams Optional parameters.
2235 *
2236 * @opt_param string filter
2237 * Optional. Filter expression for filtering listed resources.
2238 * @opt_param string pageToken
2239 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
2240 * previous list request.
2241 * @opt_param string maxResults
2242 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
2243 * 500.
2244 * @return Google_Service_Compute_DiskAggregatedList
2245 */
2246 public function aggregatedList($project, $optParams = array())
2247 {
2248 $params = array('project' => $project);
2249 $params = array_merge($params, $optParams);
2250 return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskAggregatedList");
2251 }
2252 /**
2253 * (disks.createSnapshot)
2254 *
2255 * @param string $project
2256 * Name of the project scoping this request.
2257 * @param string $zone
2258 * Name of the zone scoping this request.
2259 * @param string $disk
2260 * Name of the persistent disk resource to snapshot.
2261 * @param Google_Snapshot $postBody
2262 * @param array $optParams Optional parameters.
2263 * @return Google_Service_Compute_Operation
2264 */
2265 public function createSnapshot($project, $zone, $disk, Google_Service_Compute_Snapshot $postBody, $optParams = array())
2266 {
2267 $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk, 'postBody' => $postBody);
2268 $params = array_merge($params, $optParams);
2269 return $this->call('createSnapshot', array($params), "Google_Service_Compute_Operation");
2270 }
2271 /**
2272 * Deletes the specified persistent disk resource. (disks.delete)
2273 *
2274 * @param string $project
2275 * Name of the project scoping this request.
2276 * @param string $zone
2277 * Name of the zone scoping this request.
2278 * @param string $disk
2279 * Name of the persistent disk resource to delete.
2280 * @param array $optParams Optional parameters.
2281 * @return Google_Service_Compute_Operation
2282 */
2283 public function delete($project, $zone, $disk, $optParams = array())
2284 {
2285 $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk);
2286 $params = array_merge($params, $optParams);
2287 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
2288 }
2289 /**
2290 * Returns the specified persistent disk resource. (disks.get)
2291 *
2292 * @param string $project
2293 * Name of the project scoping this request.
2294 * @param string $zone
2295 * Name of the zone scoping this request.
2296 * @param string $disk
2297 * Name of the persistent disk resource to return.
2298 * @param array $optParams Optional parameters.
2299 * @return Google_Service_Compute_Disk
2300 */
2301 public function get($project, $zone, $disk, $optParams = array())
2302 {
2303 $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk);
2304 $params = array_merge($params, $optParams);
2305 return $this->call('get', array($params), "Google_Service_Compute_Disk");
2306 }
2307 /**
2308 * Creates a persistent disk resource in the specified project using the data
2309 * included in the request. (disks.insert)
2310 *
2311 * @param string $project
2312 * Name of the project scoping this request.
2313 * @param string $zone
2314 * Name of the zone scoping this request.
2315 * @param Google_Disk $postBody
2316 * @param array $optParams Optional parameters.
2317 *
2318 * @opt_param string sourceImage
2319 * Optional. Source image to restore onto a disk.
2320 * @return Google_Service_Compute_Operation
2321 */
2322 public function insert($project, $zone, Google_Service_Compute_Disk $postBody, $optParams = array())
2323 {
2324 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
2325 $params = array_merge($params, $optParams);
2326 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
2327 }
2328 /**
2329 * Retrieves the list of persistent disk resources contained within the
2330 * specified zone. (disks.listDisks)
2331 *
2332 * @param string $project
2333 * Name of the project scoping this request.
2334 * @param string $zone
2335 * Name of the zone scoping this request.
2336 * @param array $optParams Optional parameters.
2337 *
2338 * @opt_param string filter
2339 * Optional. Filter expression for filtering listed resources.
2340 * @opt_param string pageToken
2341 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
2342 * previous list request.
2343 * @opt_param string maxResults
2344 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
2345 * 500.
2346 * @return Google_Service_Compute_DiskList
2347 */
2348 public function listDisks($project, $zone, $optParams = array())
2349 {
2350 $params = array('project' => $project, 'zone' => $zone);
2351 $params = array_merge($params, $optParams);
2352 return $this->call('list', array($params), "Google_Service_Compute_DiskList");
2353 }
2354 }
2355
2356 /**
2357 * The "firewalls" collection of methods.
2358 * Typical usage is:
2359 * <code>
2360 * $computeService = new Google_Service_Compute(...);
2361 * $firewalls = $computeService->firewalls;
2362 * </code>
2363 */
2364 class Google_Service_Compute_Firewalls_Resource extends Google_Service_Resource
2365 {
2366
2367 /**
2368 * Deletes the specified firewall resource. (firewalls.delete)
2369 *
2370 * @param string $project
2371 * Name of the project scoping this request.
2372 * @param string $firewall
2373 * Name of the firewall resource to delete.
2374 * @param array $optParams Optional parameters.
2375 * @return Google_Service_Compute_Operation
2376 */
2377 public function delete($project, $firewall, $optParams = array())
2378 {
2379 $params = array('project' => $project, 'firewall' => $firewall);
2380 $params = array_merge($params, $optParams);
2381 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
2382 }
2383 /**
2384 * Returns the specified firewall resource. (firewalls.get)
2385 *
2386 * @param string $project
2387 * Name of the project scoping this request.
2388 * @param string $firewall
2389 * Name of the firewall resource to return.
2390 * @param array $optParams Optional parameters.
2391 * @return Google_Service_Compute_Firewall
2392 */
2393 public function get($project, $firewall, $optParams = array())
2394 {
2395 $params = array('project' => $project, 'firewall' => $firewall);
2396 $params = array_merge($params, $optParams);
2397 return $this->call('get', array($params), "Google_Service_Compute_Firewall");
2398 }
2399 /**
2400 * Creates a firewall resource in the specified project using the data included
2401 * in the request. (firewalls.insert)
2402 *
2403 * @param string $project
2404 * Name of the project scoping this request.
2405 * @param Google_Firewall $postBody
2406 * @param array $optParams Optional parameters.
2407 * @return Google_Service_Compute_Operation
2408 */
2409 public function insert($project, Google_Service_Compute_Firewall $postBody, $optParams = array())
2410 {
2411 $params = array('project' => $project, 'postBody' => $postBody);
2412 $params = array_merge($params, $optParams);
2413 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
2414 }
2415 /**
2416 * Retrieves the list of firewall resources available to the specified project.
2417 * (firewalls.listFirewalls)
2418 *
2419 * @param string $project
2420 * Name of the project scoping this request.
2421 * @param array $optParams Optional parameters.
2422 *
2423 * @opt_param string filter
2424 * Optional. Filter expression for filtering listed resources.
2425 * @opt_param string pageToken
2426 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
2427 * previous list request.
2428 * @opt_param string maxResults
2429 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
2430 * 500.
2431 * @return Google_Service_Compute_FirewallList
2432 */
2433 public function listFirewalls($project, $optParams = array())
2434 {
2435 $params = array('project' => $project);
2436 $params = array_merge($params, $optParams);
2437 return $this->call('list', array($params), "Google_Service_Compute_FirewallList");
2438 }
2439 /**
2440 * Updates the specified firewall resource with the data included in the
2441 * request. This method supports patch semantics. (firewalls.patch)
2442 *
2443 * @param string $project
2444 * Name of the project scoping this request.
2445 * @param string $firewall
2446 * Name of the firewall resource to update.
2447 * @param Google_Firewall $postBody
2448 * @param array $optParams Optional parameters.
2449 * @return Google_Service_Compute_Operation
2450 */
2451 public function patch($project, $firewall, Google_Service_Compute_Firewall $postBody, $optParams = array())
2452 {
2453 $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody);
2454 $params = array_merge($params, $optParams);
2455 return $this->call('patch', array($params), "Google_Service_Compute_Operation");
2456 }
2457 /**
2458 * Updates the specified firewall resource with the data included in the
2459 * request. (firewalls.update)
2460 *
2461 * @param string $project
2462 * Name of the project scoping this request.
2463 * @param string $firewall
2464 * Name of the firewall resource to update.
2465 * @param Google_Firewall $postBody
2466 * @param array $optParams Optional parameters.
2467 * @return Google_Service_Compute_Operation
2468 */
2469 public function update($project, $firewall, Google_Service_Compute_Firewall $postBody, $optParams = array())
2470 {
2471 $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody);
2472 $params = array_merge($params, $optParams);
2473 return $this->call('update', array($params), "Google_Service_Compute_Operation");
2474 }
2475 }
2476
2477 /**
2478 * The "forwardingRules" collection of methods.
2479 * Typical usage is:
2480 * <code>
2481 * $computeService = new Google_Service_Compute(...);
2482 * $forwardingRules = $computeService->forwardingRules;
2483 * </code>
2484 */
2485 class Google_Service_Compute_ForwardingRules_Resource extends Google_Service_Resource
2486 {
2487
2488 /**
2489 * Retrieves the list of forwarding rules grouped by scope.
2490 * (forwardingRules.aggregatedList)
2491 *
2492 * @param string $project
2493 * Name of the project scoping this request.
2494 * @param array $optParams Optional parameters.
2495 *
2496 * @opt_param string filter
2497 * Optional. Filter expression for filtering listed resources.
2498 * @opt_param string pageToken
2499 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
2500 * previous list request.
2501 * @opt_param string maxResults
2502 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
2503 * 500.
2504 * @return Google_Service_Compute_ForwardingRuleAggregatedList
2505 */
2506 public function aggregatedList($project, $optParams = array())
2507 {
2508 $params = array('project' => $project);
2509 $params = array_merge($params, $optParams);
2510 return $this->call('aggregatedList', array($params), "Google_Service_Compute_ForwardingRuleAggregatedList");
2511 }
2512 /**
2513 * Deletes the specified ForwardingRule resource. (forwardingRules.delete)
2514 *
2515 * @param string $project
2516 * Name of the project scoping this request.
2517 * @param string $region
2518 * Name of the region scoping this request.
2519 * @param string $forwardingRule
2520 * Name of the ForwardingRule resource to delete.
2521 * @param array $optParams Optional parameters.
2522 * @return Google_Service_Compute_Operation
2523 */
2524 public function delete($project, $region, $forwardingRule, $optParams = array())
2525 {
2526 $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule);
2527 $params = array_merge($params, $optParams);
2528 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
2529 }
2530 /**
2531 * Returns the specified ForwardingRule resource. (forwardingRules.get)
2532 *
2533 * @param string $project
2534 * Name of the project scoping this request.
2535 * @param string $region
2536 * Name of the region scoping this request.
2537 * @param string $forwardingRule
2538 * Name of the ForwardingRule resource to return.
2539 * @param array $optParams Optional parameters.
2540 * @return Google_Service_Compute_ForwardingRule
2541 */
2542 public function get($project, $region, $forwardingRule, $optParams = array())
2543 {
2544 $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule);
2545 $params = array_merge($params, $optParams);
2546 return $this->call('get', array($params), "Google_Service_Compute_ForwardingRule");
2547 }
2548 /**
2549 * Creates a ForwardingRule resource in the specified project and region using
2550 * the data included in the request. (forwardingRules.insert)
2551 *
2552 * @param string $project
2553 * Name of the project scoping this request.
2554 * @param string $region
2555 * Name of the region scoping this request.
2556 * @param Google_ForwardingRule $postBody
2557 * @param array $optParams Optional parameters.
2558 * @return Google_Service_Compute_Operation
2559 */
2560 public function insert($project, $region, Google_Service_Compute_ForwardingRule $postBody, $optParams = array())
2561 {
2562 $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
2563 $params = array_merge($params, $optParams);
2564 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
2565 }
2566 /**
2567 * Retrieves the list of ForwardingRule resources available to the specified
2568 * project and region. (forwardingRules.listForwardingRules)
2569 *
2570 * @param string $project
2571 * Name of the project scoping this request.
2572 * @param string $region
2573 * Name of the region scoping this request.
2574 * @param array $optParams Optional parameters.
2575 *
2576 * @opt_param string filter
2577 * Optional. Filter expression for filtering listed resources.
2578 * @opt_param string pageToken
2579 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
2580 * previous list request.
2581 * @opt_param string maxResults
2582 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
2583 * 500.
2584 * @return Google_Service_Compute_ForwardingRuleList
2585 */
2586 public function listForwardingRules($project, $region, $optParams = array())
2587 {
2588 $params = array('project' => $project, 'region' => $region);
2589 $params = array_merge($params, $optParams);
2590 return $this->call('list', array($params), "Google_Service_Compute_ForwardingRuleList");
2591 }
2592 /**
2593 * Changes target url for forwarding rule. (forwardingRules.setTarget)
2594 *
2595 * @param string $project
2596 * Name of the project scoping this request.
2597 * @param string $region
2598 * Name of the region scoping this request.
2599 * @param string $forwardingRule
2600 * Name of the ForwardingRule resource in which target is to be set.
2601 * @param Google_TargetReference $postBody
2602 * @param array $optParams Optional parameters.
2603 * @return Google_Service_Compute_Operation
2604 */
2605 public function setTarget($project, $region, $forwardingRule, Google_Service_Compute_TargetReference $postBody, $optParams = array())
2606 {
2607 $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody);
2608 $params = array_merge($params, $optParams);
2609 return $this->call('setTarget', array($params), "Google_Service_Compute_Operation");
2610 }
2611 }
2612
2613 /**
2614 * The "globalOperations" collection of methods.
2615 * Typical usage is:
2616 * <code>
2617 * $computeService = new Google_Service_Compute(...);
2618 * $globalOperations = $computeService->globalOperations;
2619 * </code>
2620 */
2621 class Google_Service_Compute_GlobalOperations_Resource extends Google_Service_Resource
2622 {
2623
2624 /**
2625 * Retrieves the list of all operations grouped by scope.
2626 * (globalOperations.aggregatedList)
2627 *
2628 * @param string $project
2629 * Name of the project scoping this request.
2630 * @param array $optParams Optional parameters.
2631 *
2632 * @opt_param string filter
2633 * Optional. Filter expression for filtering listed resources.
2634 * @opt_param string pageToken
2635 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
2636 * previous list request.
2637 * @opt_param string maxResults
2638 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
2639 * 500.
2640 * @return Google_Service_Compute_OperationAggregatedList
2641 */
2642 public function aggregatedList($project, $optParams = array())
2643 {
2644 $params = array('project' => $project);
2645 $params = array_merge($params, $optParams);
2646 return $this->call('aggregatedList', array($params), "Google_Service_Compute_OperationAggregatedList");
2647 }
2648 /**
2649 * Deletes the specified operation resource. (globalOperations.delete)
2650 *
2651 * @param string $project
2652 * Name of the project scoping this request.
2653 * @param string $operation
2654 * Name of the operation resource to delete.
2655 * @param array $optParams Optional parameters.
2656 */
2657 public function delete($project, $operation, $optParams = array())
2658 {
2659 $params = array('project' => $project, 'operation' => $operation);
2660 $params = array_merge($params, $optParams);
2661 return $this->call('delete', array($params));
2662 }
2663 /**
2664 * Retrieves the specified operation resource. (globalOperations.get)
2665 *
2666 * @param string $project
2667 * Name of the project scoping this request.
2668 * @param string $operation
2669 * Name of the operation resource to return.
2670 * @param array $optParams Optional parameters.
2671 * @return Google_Service_Compute_Operation
2672 */
2673 public function get($project, $operation, $optParams = array())
2674 {
2675 $params = array('project' => $project, 'operation' => $operation);
2676 $params = array_merge($params, $optParams);
2677 return $this->call('get', array($params), "Google_Service_Compute_Operation");
2678 }
2679 /**
2680 * Retrieves the list of operation resources contained within the specified
2681 * project. (globalOperations.listGlobalOperations)
2682 *
2683 * @param string $project
2684 * Name of the project scoping this request.
2685 * @param array $optParams Optional parameters.
2686 *
2687 * @opt_param string filter
2688 * Optional. Filter expression for filtering listed resources.
2689 * @opt_param string pageToken
2690 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
2691 * previous list request.
2692 * @opt_param string maxResults
2693 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
2694 * 500.
2695 * @return Google_Service_Compute_OperationList
2696 */
2697 public function listGlobalOperations($project, $optParams = array())
2698 {
2699 $params = array('project' => $project);
2700 $params = array_merge($params, $optParams);
2701 return $this->call('list', array($params), "Google_Service_Compute_OperationList");
2702 }
2703 }
2704
2705 /**
2706 * The "httpHealthChecks" collection of methods.
2707 * Typical usage is:
2708 * <code>
2709 * $computeService = new Google_Service_Compute(...);
2710 * $httpHealthChecks = $computeService->httpHealthChecks;
2711 * </code>
2712 */
2713 class Google_Service_Compute_HttpHealthChecks_Resource extends Google_Service_Resource
2714 {
2715
2716 /**
2717 * Deletes the specified HttpHealthCheck resource. (httpHealthChecks.delete)
2718 *
2719 * @param string $project
2720 * Name of the project scoping this request.
2721 * @param string $httpHealthCheck
2722 * Name of the HttpHealthCheck resource to delete.
2723 * @param array $optParams Optional parameters.
2724 * @return Google_Service_Compute_Operation
2725 */
2726 public function delete($project, $httpHealthCheck, $optParams = array())
2727 {
2728 $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck);
2729 $params = array_merge($params, $optParams);
2730 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
2731 }
2732 /**
2733 * Returns the specified HttpHealthCheck resource. (httpHealthChecks.get)
2734 *
2735 * @param string $project
2736 * Name of the project scoping this request.
2737 * @param string $httpHealthCheck
2738 * Name of the HttpHealthCheck resource to return.
2739 * @param array $optParams Optional parameters.
2740 * @return Google_Service_Compute_HttpHealthCheck
2741 */
2742 public function get($project, $httpHealthCheck, $optParams = array())
2743 {
2744 $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck);
2745 $params = array_merge($params, $optParams);
2746 return $this->call('get', array($params), "Google_Service_Compute_HttpHealthCheck");
2747 }
2748 /**
2749 * Creates a HttpHealthCheck resource in the specified project using the data
2750 * included in the request. (httpHealthChecks.insert)
2751 *
2752 * @param string $project
2753 * Name of the project scoping this request.
2754 * @param Google_HttpHealthCheck $postBody
2755 * @param array $optParams Optional parameters.
2756 * @return Google_Service_Compute_Operation
2757 */
2758 public function insert($project, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
2759 {
2760 $params = array('project' => $project, 'postBody' => $postBody);
2761 $params = array_merge($params, $optParams);
2762 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
2763 }
2764 /**
2765 * Retrieves the list of HttpHealthCheck resources available to the specified
2766 * project. (httpHealthChecks.listHttpHealthChecks)
2767 *
2768 * @param string $project
2769 * Name of the project scoping this request.
2770 * @param array $optParams Optional parameters.
2771 *
2772 * @opt_param string filter
2773 * Optional. Filter expression for filtering listed resources.
2774 * @opt_param string pageToken
2775 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
2776 * previous list request.
2777 * @opt_param string maxResults
2778 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
2779 * 500.
2780 * @return Google_Service_Compute_HttpHealthCheckList
2781 */
2782 public function listHttpHealthChecks($project, $optParams = array())
2783 {
2784 $params = array('project' => $project);
2785 $params = array_merge($params, $optParams);
2786 return $this->call('list', array($params), "Google_Service_Compute_HttpHealthCheckList");
2787 }
2788 /**
2789 * Updates a HttpHealthCheck resource in the specified project using the data
2790 * included in the request. This method supports patch semantics.
2791 * (httpHealthChecks.patch)
2792 *
2793 * @param string $project
2794 * Name of the project scoping this request.
2795 * @param string $httpHealthCheck
2796 * Name of the HttpHealthCheck resource to update.
2797 * @param Google_HttpHealthCheck $postBody
2798 * @param array $optParams Optional parameters.
2799 * @return Google_Service_Compute_Operation
2800 */
2801 public function patch($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
2802 {
2803 $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody);
2804 $params = array_merge($params, $optParams);
2805 return $this->call('patch', array($params), "Google_Service_Compute_Operation");
2806 }
2807 /**
2808 * Updates a HttpHealthCheck resource in the specified project using the data
2809 * included in the request. (httpHealthChecks.update)
2810 *
2811 * @param string $project
2812 * Name of the project scoping this request.
2813 * @param string $httpHealthCheck
2814 * Name of the HttpHealthCheck resource to update.
2815 * @param Google_HttpHealthCheck $postBody
2816 * @param array $optParams Optional parameters.
2817 * @return Google_Service_Compute_Operation
2818 */
2819 public function update($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
2820 {
2821 $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody);
2822 $params = array_merge($params, $optParams);
2823 return $this->call('update', array($params), "Google_Service_Compute_Operation");
2824 }
2825 }
2826
2827 /**
2828 * The "images" collection of methods.
2829 * Typical usage is:
2830 * <code>
2831 * $computeService = new Google_Service_Compute(...);
2832 * $images = $computeService->images;
2833 * </code>
2834 */
2835 class Google_Service_Compute_Images_Resource extends Google_Service_Resource
2836 {
2837
2838 /**
2839 * Deletes the specified image resource. (images.delete)
2840 *
2841 * @param string $project
2842 * Name of the project scoping this request.
2843 * @param string $image
2844 * Name of the image resource to delete.
2845 * @param array $optParams Optional parameters.
2846 * @return Google_Service_Compute_Operation
2847 */
2848 public function delete($project, $image, $optParams = array())
2849 {
2850 $params = array('project' => $project, 'image' => $image);
2851 $params = array_merge($params, $optParams);
2852 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
2853 }
2854 /**
2855 * Sets the deprecation status of an image. If no message body is given, clears
2856 * the deprecation status instead. (images.deprecate)
2857 *
2858 * @param string $project
2859 * Name of the project scoping this request.
2860 * @param string $image
2861 * Image name.
2862 * @param Google_DeprecationStatus $postBody
2863 * @param array $optParams Optional parameters.
2864 * @return Google_Service_Compute_Operation
2865 */
2866 public function deprecate($project, $image, Google_Service_Compute_DeprecationStatus $postBody, $optParams = array())
2867 {
2868 $params = array('project' => $project, 'image' => $image, 'postBody' => $postBody);
2869 $params = array_merge($params, $optParams);
2870 return $this->call('deprecate', array($params), "Google_Service_Compute_Operation");
2871 }
2872 /**
2873 * Returns the specified image resource. (images.get)
2874 *
2875 * @param string $project
2876 * Name of the project scoping this request.
2877 * @param string $image
2878 * Name of the image resource to return.
2879 * @param array $optParams Optional parameters.
2880 * @return Google_Service_Compute_Image
2881 */
2882 public function get($project, $image, $optParams = array())
2883 {
2884 $params = array('project' => $project, 'image' => $image);
2885 $params = array_merge($params, $optParams);
2886 return $this->call('get', array($params), "Google_Service_Compute_Image");
2887 }
2888 /**
2889 * Creates an image resource in the specified project using the data included in
2890 * the request. (images.insert)
2891 *
2892 * @param string $project
2893 * Name of the project scoping this request.
2894 * @param Google_Image $postBody
2895 * @param array $optParams Optional parameters.
2896 * @return Google_Service_Compute_Operation
2897 */
2898 public function insert($project, Google_Service_Compute_Image $postBody, $optParams = array())
2899 {
2900 $params = array('project' => $project, 'postBody' => $postBody);
2901 $params = array_merge($params, $optParams);
2902 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
2903 }
2904 /**
2905 * Retrieves the list of image resources available to the specified project.
2906 * (images.listImages)
2907 *
2908 * @param string $project
2909 * Name of the project scoping this request.
2910 * @param array $optParams Optional parameters.
2911 *
2912 * @opt_param string filter
2913 * Optional. Filter expression for filtering listed resources.
2914 * @opt_param string pageToken
2915 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
2916 * previous list request.
2917 * @opt_param string maxResults
2918 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
2919 * 500.
2920 * @return Google_Service_Compute_ImageList
2921 */
2922 public function listImages($project, $optParams = array())
2923 {
2924 $params = array('project' => $project);
2925 $params = array_merge($params, $optParams);
2926 return $this->call('list', array($params), "Google_Service_Compute_ImageList");
2927 }
2928 }
2929
2930 /**
2931 * The "instances" collection of methods.
2932 * Typical usage is:
2933 * <code>
2934 * $computeService = new Google_Service_Compute(...);
2935 * $instances = $computeService->instances;
2936 * </code>
2937 */
2938 class Google_Service_Compute_Instances_Resource extends Google_Service_Resource
2939 {
2940
2941 /**
2942 * Adds an access config to an instance's network interface.
2943 * (instances.addAccessConfig)
2944 *
2945 * @param string $project
2946 * Project name.
2947 * @param string $zone
2948 * Name of the zone scoping this request.
2949 * @param string $instance
2950 * Instance name.
2951 * @param string $networkInterface
2952 * Network interface name.
2953 * @param Google_AccessConfig $postBody
2954 * @param array $optParams Optional parameters.
2955 * @return Google_Service_Compute_Operation
2956 */
2957 public function addAccessConfig($project, $zone, $instance, $networkInterface, Google_Service_Compute_AccessConfig $postBody, $optParams = array())
2958 {
2959 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'networkInterface' => $networkInterface, 'postBody' => $postBody);
2960 $params = array_merge($params, $optParams);
2961 return $this->call('addAccessConfig', array($params), "Google_Service_Compute_Operation");
2962 }
2963 /**
2964 * (instances.aggregatedList)
2965 *
2966 * @param string $project
2967 * Name of the project scoping this request.
2968 * @param array $optParams Optional parameters.
2969 *
2970 * @opt_param string filter
2971 * Optional. Filter expression for filtering listed resources.
2972 * @opt_param string pageToken
2973 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
2974 * previous list request.
2975 * @opt_param string maxResults
2976 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
2977 * 500.
2978 * @return Google_Service_Compute_InstanceAggregatedList
2979 */
2980 public function aggregatedList($project, $optParams = array())
2981 {
2982 $params = array('project' => $project);
2983 $params = array_merge($params, $optParams);
2984 return $this->call('aggregatedList', array($params), "Google_Service_Compute_InstanceAggregatedList");
2985 }
2986 /**
2987 * Attaches a disk resource to an instance. (instances.attachDisk)
2988 *
2989 * @param string $project
2990 * Project name.
2991 * @param string $zone
2992 * Name of the zone scoping this request.
2993 * @param string $instance
2994 * Instance name.
2995 * @param Google_AttachedDisk $postBody
2996 * @param array $optParams Optional parameters.
2997 * @return Google_Service_Compute_Operation
2998 */
2999 public function attachDisk($project, $zone, $instance, Google_Service_Compute_AttachedDisk $postBody, $optParams = array())
3000 {
3001 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
3002 $params = array_merge($params, $optParams);
3003 return $this->call('attachDisk', array($params), "Google_Service_Compute_Operation");
3004 }
3005 /**
3006 * Deletes the specified instance resource. (instances.delete)
3007 *
3008 * @param string $project
3009 * Name of the project scoping this request.
3010 * @param string $zone
3011 * Name of the zone scoping this request.
3012 * @param string $instance
3013 * Name of the instance resource to delete.
3014 * @param array $optParams Optional parameters.
3015 * @return Google_Service_Compute_Operation
3016 */
3017 public function delete($project, $zone, $instance, $optParams = array())
3018 {
3019 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
3020 $params = array_merge($params, $optParams);
3021 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
3022 }
3023 /**
3024 * Deletes an access config from an instance's network interface.
3025 * (instances.deleteAccessConfig)
3026 *
3027 * @param string $project
3028 * Project name.
3029 * @param string $zone
3030 * Name of the zone scoping this request.
3031 * @param string $instance
3032 * Instance name.
3033 * @param string $accessConfig
3034 * Access config name.
3035 * @param string $networkInterface
3036 * Network interface name.
3037 * @param array $optParams Optional parameters.
3038 * @return Google_Service_Compute_Operation
3039 */
3040 public function deleteAccessConfig($project, $zone, $instance, $accessConfig, $networkInterface, $optParams = array())
3041 {
3042 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'accessConfig' => $accessConfig, 'networkInterface' => $networkInterface);
3043 $params = array_merge($params, $optParams);
3044 return $this->call('deleteAccessConfig', array($params), "Google_Service_Compute_Operation");
3045 }
3046 /**
3047 * Detaches a disk from an instance. (instances.detachDisk)
3048 *
3049 * @param string $project
3050 * Project name.
3051 * @param string $zone
3052 * Name of the zone scoping this request.
3053 * @param string $instance
3054 * Instance name.
3055 * @param string $deviceName
3056 * Disk device name to detach.
3057 * @param array $optParams Optional parameters.
3058 * @return Google_Service_Compute_Operation
3059 */
3060 public function detachDisk($project, $zone, $instance, $deviceName, $optParams = array())
3061 {
3062 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'deviceName' => $deviceName);
3063 $params = array_merge($params, $optParams);
3064 return $this->call('detachDisk', array($params), "Google_Service_Compute_Operation");
3065 }
3066 /**
3067 * Returns the specified instance resource. (instances.get)
3068 *
3069 * @param string $project
3070 * Name of the project scoping this request.
3071 * @param string $zone
3072 * Name of the zone scoping this request.
3073 * @param string $instance
3074 * Name of the instance resource to return.
3075 * @param array $optParams Optional parameters.
3076 * @return Google_Service_Compute_Instance
3077 */
3078 public function get($project, $zone, $instance, $optParams = array())
3079 {
3080 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
3081 $params = array_merge($params, $optParams);
3082 return $this->call('get', array($params), "Google_Service_Compute_Instance");
3083 }
3084 /**
3085 * Returns the specified instance's serial port output.
3086 * (instances.getSerialPortOutput)
3087 *
3088 * @param string $project
3089 * Name of the project scoping this request.
3090 * @param string $zone
3091 * Name of the zone scoping this request.
3092 * @param string $instance
3093 * Name of the instance scoping this request.
3094 * @param array $optParams Optional parameters.
3095 * @return Google_Service_Compute_SerialPortOutput
3096 */
3097 public function getSerialPortOutput($project, $zone, $instance, $optParams = array())
3098 {
3099 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
3100 $params = array_merge($params, $optParams);
3101 return $this->call('getSerialPortOutput', array($params), "Google_Service_Compute_SerialPortOutput");
3102 }
3103 /**
3104 * Creates an instance resource in the specified project using the data included
3105 * in the request. (instances.insert)
3106 *
3107 * @param string $project
3108 * Name of the project scoping this request.
3109 * @param string $zone
3110 * Name of the zone scoping this request.
3111 * @param Google_Instance $postBody
3112 * @param array $optParams Optional parameters.
3113 * @return Google_Service_Compute_Operation
3114 */
3115 public function insert($project, $zone, Google_Service_Compute_Instance $postBody, $optParams = array())
3116 {
3117 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
3118 $params = array_merge($params, $optParams);
3119 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
3120 }
3121 /**
3122 * Retrieves the list of instance resources contained within the specified zone.
3123 * (instances.listInstances)
3124 *
3125 * @param string $project
3126 * Name of the project scoping this request.
3127 * @param string $zone
3128 * Name of the zone scoping this request.
3129 * @param array $optParams Optional parameters.
3130 *
3131 * @opt_param string filter
3132 * Optional. Filter expression for filtering listed resources.
3133 * @opt_param string pageToken
3134 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
3135 * previous list request.
3136 * @opt_param string maxResults
3137 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
3138 * 500.
3139 * @return Google_Service_Compute_InstanceList
3140 */
3141 public function listInstances($project, $zone, $optParams = array())
3142 {
3143 $params = array('project' => $project, 'zone' => $zone);
3144 $params = array_merge($params, $optParams);
3145 return $this->call('list', array($params), "Google_Service_Compute_InstanceList");
3146 }
3147 /**
3148 * Performs a hard reset on the instance. (instances.reset)
3149 *
3150 * @param string $project
3151 * Name of the project scoping this request.
3152 * @param string $zone
3153 * Name of the zone scoping this request.
3154 * @param string $instance
3155 * Name of the instance scoping this request.
3156 * @param array $optParams Optional parameters.
3157 * @return Google_Service_Compute_Operation
3158 */
3159 public function reset($project, $zone, $instance, $optParams = array())
3160 {
3161 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
3162 $params = array_merge($params, $optParams);
3163 return $this->call('reset', array($params), "Google_Service_Compute_Operation");
3164 }
3165 /**
3166 * Sets the auto-delete flag for a disk attached to an instance
3167 * (instances.setDiskAutoDelete)
3168 *
3169 * @param string $project
3170 * Project name.
3171 * @param string $zone
3172 * Name of the zone scoping this request.
3173 * @param string $instance
3174 * Instance name.
3175 * @param bool $autoDelete
3176 * Whether to auto-delete the disk when the instance is deleted.
3177 * @param string $deviceName
3178 * Disk device name to modify.
3179 * @param array $optParams Optional parameters.
3180 * @return Google_Service_Compute_Operation
3181 */
3182 public function setDiskAutoDelete($project, $zone, $instance, $autoDelete, $deviceName, $optParams = array())
3183 {
3184 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'autoDelete' => $autoDelete, 'deviceName' => $deviceName);
3185 $params = array_merge($params, $optParams);
3186 return $this->call('setDiskAutoDelete', array($params), "Google_Service_Compute_Operation");
3187 }
3188 /**
3189 * Sets metadata for the specified instance to the data included in the request.
3190 * (instances.setMetadata)
3191 *
3192 * @param string $project
3193 * Name of the project scoping this request.
3194 * @param string $zone
3195 * Name of the zone scoping this request.
3196 * @param string $instance
3197 * Name of the instance scoping this request.
3198 * @param Google_Metadata $postBody
3199 * @param array $optParams Optional parameters.
3200 * @return Google_Service_Compute_Operation
3201 */
3202 public function setMetadata($project, $zone, $instance, Google_Service_Compute_Metadata $postBody, $optParams = array())
3203 {
3204 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
3205 $params = array_merge($params, $optParams);
3206 return $this->call('setMetadata', array($params), "Google_Service_Compute_Operation");
3207 }
3208 /**
3209 * Sets an instance's scheduling options. (instances.setScheduling)
3210 *
3211 * @param string $project
3212 * Project name.
3213 * @param string $zone
3214 * Name of the zone scoping this request.
3215 * @param string $instance
3216 * Instance name.
3217 * @param Google_Scheduling $postBody
3218 * @param array $optParams Optional parameters.
3219 * @return Google_Service_Compute_Operation
3220 */
3221 public function setScheduling($project, $zone, $instance, Google_Service_Compute_Scheduling $postBody, $optParams = array())
3222 {
3223 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
3224 $params = array_merge($params, $optParams);
3225 return $this->call('setScheduling', array($params), "Google_Service_Compute_Operation");
3226 }
3227 /**
3228 * Sets tags for the specified instance to the data included in the request.
3229 * (instances.setTags)
3230 *
3231 * @param string $project
3232 * Name of the project scoping this request.
3233 * @param string $zone
3234 * Name of the zone scoping this request.
3235 * @param string $instance
3236 * Name of the instance scoping this request.
3237 * @param Google_Tags $postBody
3238 * @param array $optParams Optional parameters.
3239 * @return Google_Service_Compute_Operation
3240 */
3241 public function setTags($project, $zone, $instance, Google_Service_Compute_Tags $postBody, $optParams = array())
3242 {
3243 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
3244 $params = array_merge($params, $optParams);
3245 return $this->call('setTags', array($params), "Google_Service_Compute_Operation");
3246 }
3247 }
3248
3249 /**
3250 * The "machineTypes" collection of methods.
3251 * Typical usage is:
3252 * <code>
3253 * $computeService = new Google_Service_Compute(...);
3254 * $machineTypes = $computeService->machineTypes;
3255 * </code>
3256 */
3257 class Google_Service_Compute_MachineTypes_Resource extends Google_Service_Resource
3258 {
3259
3260 /**
3261 * Retrieves the list of machine type resources grouped by scope.
3262 * (machineTypes.aggregatedList)
3263 *
3264 * @param string $project
3265 * Name of the project scoping this request.
3266 * @param array $optParams Optional parameters.
3267 *
3268 * @opt_param string filter
3269 * Optional. Filter expression for filtering listed resources.
3270 * @opt_param string pageToken
3271 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
3272 * previous list request.
3273 * @opt_param string maxResults
3274 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
3275 * 500.
3276 * @return Google_Service_Compute_MachineTypeAggregatedList
3277 */
3278 public function aggregatedList($project, $optParams = array())
3279 {
3280 $params = array('project' => $project);
3281 $params = array_merge($params, $optParams);
3282 return $this->call('aggregatedList', array($params), "Google_Service_Compute_MachineTypeAggregatedList");
3283 }
3284 /**
3285 * Returns the specified machine type resource. (machineTypes.get)
3286 *
3287 * @param string $project
3288 * Name of the project scoping this request.
3289 * @param string $zone
3290 * Name of the zone scoping this request.
3291 * @param string $machineType
3292 * Name of the machine type resource to return.
3293 * @param array $optParams Optional parameters.
3294 * @return Google_Service_Compute_MachineType
3295 */
3296 public function get($project, $zone, $machineType, $optParams = array())
3297 {
3298 $params = array('project' => $project, 'zone' => $zone, 'machineType' => $machineType);
3299 $params = array_merge($params, $optParams);
3300 return $this->call('get', array($params), "Google_Service_Compute_MachineType");
3301 }
3302 /**
3303 * Retrieves the list of machine type resources available to the specified
3304 * project. (machineTypes.listMachineTypes)
3305 *
3306 * @param string $project
3307 * Name of the project scoping this request.
3308 * @param string $zone
3309 * Name of the zone scoping this request.
3310 * @param array $optParams Optional parameters.
3311 *
3312 * @opt_param string filter
3313 * Optional. Filter expression for filtering listed resources.
3314 * @opt_param string pageToken
3315 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
3316 * previous list request.
3317 * @opt_param string maxResults
3318 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
3319 * 500.
3320 * @return Google_Service_Compute_MachineTypeList
3321 */
3322 public function listMachineTypes($project, $zone, $optParams = array())
3323 {
3324 $params = array('project' => $project, 'zone' => $zone);
3325 $params = array_merge($params, $optParams);
3326 return $this->call('list', array($params), "Google_Service_Compute_MachineTypeList");
3327 }
3328 }
3329
3330 /**
3331 * The "networks" collection of methods.
3332 * Typical usage is:
3333 * <code>
3334 * $computeService = new Google_Service_Compute(...);
3335 * $networks = $computeService->networks;
3336 * </code>
3337 */
3338 class Google_Service_Compute_Networks_Resource extends Google_Service_Resource
3339 {
3340
3341 /**
3342 * Deletes the specified network resource. (networks.delete)
3343 *
3344 * @param string $project
3345 * Name of the project scoping this request.
3346 * @param string $network
3347 * Name of the network resource to delete.
3348 * @param array $optParams Optional parameters.
3349 * @return Google_Service_Compute_Operation
3350 */
3351 public function delete($project, $network, $optParams = array())
3352 {
3353 $params = array('project' => $project, 'network' => $network);
3354 $params = array_merge($params, $optParams);
3355 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
3356 }
3357 /**
3358 * Returns the specified network resource. (networks.get)
3359 *
3360 * @param string $project
3361 * Name of the project scoping this request.
3362 * @param string $network
3363 * Name of the network resource to return.
3364 * @param array $optParams Optional parameters.
3365 * @return Google_Service_Compute_Network
3366 */
3367 public function get($project, $network, $optParams = array())
3368 {
3369 $params = array('project' => $project, 'network' => $network);
3370 $params = array_merge($params, $optParams);
3371 return $this->call('get', array($params), "Google_Service_Compute_Network");
3372 }
3373 /**
3374 * Creates a network resource in the specified project using the data included
3375 * in the request. (networks.insert)
3376 *
3377 * @param string $project
3378 * Name of the project scoping this request.
3379 * @param Google_Network $postBody
3380 * @param array $optParams Optional parameters.
3381 * @return Google_Service_Compute_Operation
3382 */
3383 public function insert($project, Google_Service_Compute_Network $postBody, $optParams = array())
3384 {
3385 $params = array('project' => $project, 'postBody' => $postBody);
3386 $params = array_merge($params, $optParams);
3387 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
3388 }
3389 /**
3390 * Retrieves the list of network resources available to the specified project.
3391 * (networks.listNetworks)
3392 *
3393 * @param string $project
3394 * Name of the project scoping this request.
3395 * @param array $optParams Optional parameters.
3396 *
3397 * @opt_param string filter
3398 * Optional. Filter expression for filtering listed resources.
3399 * @opt_param string pageToken
3400 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
3401 * previous list request.
3402 * @opt_param string maxResults
3403 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
3404 * 500.
3405 * @return Google_Service_Compute_NetworkList
3406 */
3407 public function listNetworks($project, $optParams = array())
3408 {
3409 $params = array('project' => $project);
3410 $params = array_merge($params, $optParams);
3411 return $this->call('list', array($params), "Google_Service_Compute_NetworkList");
3412 }
3413 }
3414
3415 /**
3416 * The "projects" collection of methods.
3417 * Typical usage is:
3418 * <code>
3419 * $computeService = new Google_Service_Compute(...);
3420 * $projects = $computeService->projects;
3421 * </code>
3422 */
3423 class Google_Service_Compute_Projects_Resource extends Google_Service_Resource
3424 {
3425
3426 /**
3427 * Returns the specified project resource. (projects.get)
3428 *
3429 * @param string $project
3430 * Name of the project resource to retrieve.
3431 * @param array $optParams Optional parameters.
3432 * @return Google_Service_Compute_Project
3433 */
3434 public function get($project, $optParams = array())
3435 {
3436 $params = array('project' => $project);
3437 $params = array_merge($params, $optParams);
3438 return $this->call('get', array($params), "Google_Service_Compute_Project");
3439 }
3440 /**
3441 * Sets metadata common to all instances within the specified project using the
3442 * data included in the request. (projects.setCommonInstanceMetadata)
3443 *
3444 * @param string $project
3445 * Name of the project scoping this request.
3446 * @param Google_Metadata $postBody
3447 * @param array $optParams Optional parameters.
3448 * @return Google_Service_Compute_Operation
3449 */
3450 public function setCommonInstanceMetadata($project, Google_Service_Compute_Metadata $postBody, $optParams = array())
3451 {
3452 $params = array('project' => $project, 'postBody' => $postBody);
3453 $params = array_merge($params, $optParams);
3454 return $this->call('setCommonInstanceMetadata', array($params), "Google_Service_Compute_Operation");
3455 }
3456 }
3457
3458 /**
3459 * The "regionOperations" collection of methods.
3460 * Typical usage is:
3461 * <code>
3462 * $computeService = new Google_Service_Compute(...);
3463 * $regionOperations = $computeService->regionOperations;
3464 * </code>
3465 */
3466 class Google_Service_Compute_RegionOperations_Resource extends Google_Service_Resource
3467 {
3468
3469 /**
3470 * Deletes the specified region-specific operation resource.
3471 * (regionOperations.delete)
3472 *
3473 * @param string $project
3474 * Name of the project scoping this request.
3475 * @param string $region
3476 * Name of the region scoping this request.
3477 * @param string $operation
3478 * Name of the operation resource to delete.
3479 * @param array $optParams Optional parameters.
3480 */
3481 public function delete($project, $region, $operation, $optParams = array())
3482 {
3483 $params = array('project' => $project, 'region' => $region, 'operation' => $operation);
3484 $params = array_merge($params, $optParams);
3485 return $this->call('delete', array($params));
3486 }
3487 /**
3488 * Retrieves the specified region-specific operation resource.
3489 * (regionOperations.get)
3490 *
3491 * @param string $project
3492 * Name of the project scoping this request.
3493 * @param string $region
3494 * Name of the zone scoping this request.
3495 * @param string $operation
3496 * Name of the operation resource to return.
3497 * @param array $optParams Optional parameters.
3498 * @return Google_Service_Compute_Operation
3499 */
3500 public function get($project, $region, $operation, $optParams = array())
3501 {
3502 $params = array('project' => $project, 'region' => $region, 'operation' => $operation);
3503 $params = array_merge($params, $optParams);
3504 return $this->call('get', array($params), "Google_Service_Compute_Operation");
3505 }
3506 /**
3507 * Retrieves the list of operation resources contained within the specified
3508 * region. (regionOperations.listRegionOperations)
3509 *
3510 * @param string $project
3511 * Name of the project scoping this request.
3512 * @param string $region
3513 * Name of the region scoping this request.
3514 * @param array $optParams Optional parameters.
3515 *
3516 * @opt_param string filter
3517 * Optional. Filter expression for filtering listed resources.
3518 * @opt_param string pageToken
3519 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
3520 * previous list request.
3521 * @opt_param string maxResults
3522 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
3523 * 500.
3524 * @return Google_Service_Compute_OperationList
3525 */
3526 public function listRegionOperations($project, $region, $optParams = array())
3527 {
3528 $params = array('project' => $project, 'region' => $region);
3529 $params = array_merge($params, $optParams);
3530 return $this->call('list', array($params), "Google_Service_Compute_OperationList");
3531 }
3532 }
3533
3534 /**
3535 * The "regions" collection of methods.
3536 * Typical usage is:
3537 * <code>
3538 * $computeService = new Google_Service_Compute(...);
3539 * $regions = $computeService->regions;
3540 * </code>
3541 */
3542 class Google_Service_Compute_Regions_Resource extends Google_Service_Resource
3543 {
3544
3545 /**
3546 * Returns the specified region resource. (regions.get)
3547 *
3548 * @param string $project
3549 * Name of the project scoping this request.
3550 * @param string $region
3551 * Name of the region resource to return.
3552 * @param array $optParams Optional parameters.
3553 * @return Google_Service_Compute_Region
3554 */
3555 public function get($project, $region, $optParams = array())
3556 {
3557 $params = array('project' => $project, 'region' => $region);
3558 $params = array_merge($params, $optParams);
3559 return $this->call('get', array($params), "Google_Service_Compute_Region");
3560 }
3561 /**
3562 * Retrieves the list of region resources available to the specified project.
3563 * (regions.listRegions)
3564 *
3565 * @param string $project
3566 * Name of the project scoping this request.
3567 * @param array $optParams Optional parameters.
3568 *
3569 * @opt_param string filter
3570 * Optional. Filter expression for filtering listed resources.
3571 * @opt_param string pageToken
3572 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
3573 * previous list request.
3574 * @opt_param string maxResults
3575 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
3576 * 500.
3577 * @return Google_Service_Compute_RegionList
3578 */
3579 public function listRegions($project, $optParams = array())
3580 {
3581 $params = array('project' => $project);
3582 $params = array_merge($params, $optParams);
3583 return $this->call('list', array($params), "Google_Service_Compute_RegionList");
3584 }
3585 }
3586
3587 /**
3588 * The "routes" collection of methods.
3589 * Typical usage is:
3590 * <code>
3591 * $computeService = new Google_Service_Compute(...);
3592 * $routes = $computeService->routes;
3593 * </code>
3594 */
3595 class Google_Service_Compute_Routes_Resource extends Google_Service_Resource
3596 {
3597
3598 /**
3599 * Deletes the specified route resource. (routes.delete)
3600 *
3601 * @param string $project
3602 * Name of the project scoping this request.
3603 * @param string $route
3604 * Name of the route resource to delete.
3605 * @param array $optParams Optional parameters.
3606 * @return Google_Service_Compute_Operation
3607 */
3608 public function delete($project, $route, $optParams = array())
3609 {
3610 $params = array('project' => $project, 'route' => $route);
3611 $params = array_merge($params, $optParams);
3612 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
3613 }
3614 /**
3615 * Returns the specified route resource. (routes.get)
3616 *
3617 * @param string $project
3618 * Name of the project scoping this request.
3619 * @param string $route
3620 * Name of the route resource to return.
3621 * @param array $optParams Optional parameters.
3622 * @return Google_Service_Compute_Route
3623 */
3624 public function get($project, $route, $optParams = array())
3625 {
3626 $params = array('project' => $project, 'route' => $route);
3627 $params = array_merge($params, $optParams);
3628 return $this->call('get', array($params), "Google_Service_Compute_Route");
3629 }
3630 /**
3631 * Creates a route resource in the specified project using the data included in
3632 * the request. (routes.insert)
3633 *
3634 * @param string $project
3635 * Name of the project scoping this request.
3636 * @param Google_Route $postBody
3637 * @param array $optParams Optional parameters.
3638 * @return Google_Service_Compute_Operation
3639 */
3640 public function insert($project, Google_Service_Compute_Route $postBody, $optParams = array())
3641 {
3642 $params = array('project' => $project, 'postBody' => $postBody);
3643 $params = array_merge($params, $optParams);
3644 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
3645 }
3646 /**
3647 * Retrieves the list of route resources available to the specified project.
3648 * (routes.listRoutes)
3649 *
3650 * @param string $project
3651 * Name of the project scoping this request.
3652 * @param array $optParams Optional parameters.
3653 *
3654 * @opt_param string filter
3655 * Optional. Filter expression for filtering listed resources.
3656 * @opt_param string pageToken
3657 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
3658 * previous list request.
3659 * @opt_param string maxResults
3660 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
3661 * 500.
3662 * @return Google_Service_Compute_RouteList
3663 */
3664 public function listRoutes($project, $optParams = array())
3665 {
3666 $params = array('project' => $project);
3667 $params = array_merge($params, $optParams);
3668 return $this->call('list', array($params), "Google_Service_Compute_RouteList");
3669 }
3670 }
3671
3672 /**
3673 * The "snapshots" collection of methods.
3674 * Typical usage is:
3675 * <code>
3676 * $computeService = new Google_Service_Compute(...);
3677 * $snapshots = $computeService->snapshots;
3678 * </code>
3679 */
3680 class Google_Service_Compute_Snapshots_Resource extends Google_Service_Resource
3681 {
3682
3683 /**
3684 * Deletes the specified persistent disk snapshot resource. (snapshots.delete)
3685 *
3686 * @param string $project
3687 * Name of the project scoping this request.
3688 * @param string $snapshot
3689 * Name of the persistent disk snapshot resource to delete.
3690 * @param array $optParams Optional parameters.
3691 * @return Google_Service_Compute_Operation
3692 */
3693 public function delete($project, $snapshot, $optParams = array())
3694 {
3695 $params = array('project' => $project, 'snapshot' => $snapshot);
3696 $params = array_merge($params, $optParams);
3697 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
3698 }
3699 /**
3700 * Returns the specified persistent disk snapshot resource. (snapshots.get)
3701 *
3702 * @param string $project
3703 * Name of the project scoping this request.
3704 * @param string $snapshot
3705 * Name of the persistent disk snapshot resource to return.
3706 * @param array $optParams Optional parameters.
3707 * @return Google_Service_Compute_Snapshot
3708 */
3709 public function get($project, $snapshot, $optParams = array())
3710 {
3711 $params = array('project' => $project, 'snapshot' => $snapshot);
3712 $params = array_merge($params, $optParams);
3713 return $this->call('get', array($params), "Google_Service_Compute_Snapshot");
3714 }
3715 /**
3716 * Retrieves the list of persistent disk snapshot resources contained within the
3717 * specified project. (snapshots.listSnapshots)
3718 *
3719 * @param string $project
3720 * Name of the project scoping this request.
3721 * @param array $optParams Optional parameters.
3722 *
3723 * @opt_param string filter
3724 * Optional. Filter expression for filtering listed resources.
3725 * @opt_param string pageToken
3726 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
3727 * previous list request.
3728 * @opt_param string maxResults
3729 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
3730 * 500.
3731 * @return Google_Service_Compute_SnapshotList
3732 */
3733 public function listSnapshots($project, $optParams = array())
3734 {
3735 $params = array('project' => $project);
3736 $params = array_merge($params, $optParams);
3737 return $this->call('list', array($params), "Google_Service_Compute_SnapshotList");
3738 }
3739 }
3740
3741 /**
3742 * The "targetInstances" collection of methods.
3743 * Typical usage is:
3744 * <code>
3745 * $computeService = new Google_Service_Compute(...);
3746 * $targetInstances = $computeService->targetInstances;
3747 * </code>
3748 */
3749 class Google_Service_Compute_TargetInstances_Resource extends Google_Service_Resource
3750 {
3751
3752 /**
3753 * Retrieves the list of target instances grouped by scope.
3754 * (targetInstances.aggregatedList)
3755 *
3756 * @param string $project
3757 * Name of the project scoping this request.
3758 * @param array $optParams Optional parameters.
3759 *
3760 * @opt_param string filter
3761 * Optional. Filter expression for filtering listed resources.
3762 * @opt_param string pageToken
3763 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
3764 * previous list request.
3765 * @opt_param string maxResults
3766 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
3767 * 500.
3768 * @return Google_Service_Compute_TargetInstanceAggregatedList
3769 */
3770 public function aggregatedList($project, $optParams = array())
3771 {
3772 $params = array('project' => $project);
3773 $params = array_merge($params, $optParams);
3774 return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetInstanceAggregatedList");
3775 }
3776 /**
3777 * Deletes the specified TargetInstance resource. (targetInstances.delete)
3778 *
3779 * @param string $project
3780 * Name of the project scoping this request.
3781 * @param string $zone
3782 * Name of the zone scoping this request.
3783 * @param string $targetInstance
3784 * Name of the TargetInstance resource to delete.
3785 * @param array $optParams Optional parameters.
3786 * @return Google_Service_Compute_Operation
3787 */
3788 public function delete($project, $zone, $targetInstance, $optParams = array())
3789 {
3790 $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance);
3791 $params = array_merge($params, $optParams);
3792 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
3793 }
3794 /**
3795 * Returns the specified TargetInstance resource. (targetInstances.get)
3796 *
3797 * @param string $project
3798 * Name of the project scoping this request.
3799 * @param string $zone
3800 * Name of the zone scoping this request.
3801 * @param string $targetInstance
3802 * Name of the TargetInstance resource to return.
3803 * @param array $optParams Optional parameters.
3804 * @return Google_Service_Compute_TargetInstance
3805 */
3806 public function get($project, $zone, $targetInstance, $optParams = array())
3807 {
3808 $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance);
3809 $params = array_merge($params, $optParams);
3810 return $this->call('get', array($params), "Google_Service_Compute_TargetInstance");
3811 }
3812 /**
3813 * Creates a TargetInstance resource in the specified project and zone using the
3814 * data included in the request. (targetInstances.insert)
3815 *
3816 * @param string $project
3817 * Name of the project scoping this request.
3818 * @param string $zone
3819 * Name of the zone scoping this request.
3820 * @param Google_TargetInstance $postBody
3821 * @param array $optParams Optional parameters.
3822 * @return Google_Service_Compute_Operation
3823 */
3824 public function insert($project, $zone, Google_Service_Compute_TargetInstance $postBody, $optParams = array())
3825 {
3826 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
3827 $params = array_merge($params, $optParams);
3828 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
3829 }
3830 /**
3831 * Retrieves the list of TargetInstance resources available to the specified
3832 * project and zone. (targetInstances.listTargetInstances)
3833 *
3834 * @param string $project
3835 * Name of the project scoping this request.
3836 * @param string $zone
3837 * Name of the zone scoping this request.
3838 * @param array $optParams Optional parameters.
3839 *
3840 * @opt_param string filter
3841 * Optional. Filter expression for filtering listed resources.
3842 * @opt_param string pageToken
3843 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
3844 * previous list request.
3845 * @opt_param string maxResults
3846 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
3847 * 500.
3848 * @return Google_Service_Compute_TargetInstanceList
3849 */
3850 public function listTargetInstances($project, $zone, $optParams = array())
3851 {
3852 $params = array('project' => $project, 'zone' => $zone);
3853 $params = array_merge($params, $optParams);
3854 return $this->call('list', array($params), "Google_Service_Compute_TargetInstanceList");
3855 }
3856 }
3857
3858 /**
3859 * The "targetPools" collection of methods.
3860 * Typical usage is:
3861 * <code>
3862 * $computeService = new Google_Service_Compute(...);
3863 * $targetPools = $computeService->targetPools;
3864 * </code>
3865 */
3866 class Google_Service_Compute_TargetPools_Resource extends Google_Service_Resource
3867 {
3868
3869 /**
3870 * Adds health check URL to targetPool. (targetPools.addHealthCheck)
3871 *
3872 * @param string $project
3873 *
3874 * @param string $region
3875 * Name of the region scoping this request.
3876 * @param string $targetPool
3877 * Name of the TargetPool resource to which health_check_url is to be added.
3878 * @param Google_TargetPoolsAddHealthCheckRequest $postBody
3879 * @param array $optParams Optional parameters.
3880 * @return Google_Service_Compute_Operation
3881 */
3882 public function addHealthCheck($project, $region, $targetPool, Google_Service_Compute_TargetPoolsAddHealthCheckRequest $postBody, $optParams = array())
3883 {
3884 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
3885 $params = array_merge($params, $optParams);
3886 return $this->call('addHealthCheck', array($params), "Google_Service_Compute_Operation");
3887 }
3888 /**
3889 * Adds instance url to targetPool. (targetPools.addInstance)
3890 *
3891 * @param string $project
3892 *
3893 * @param string $region
3894 * Name of the region scoping this request.
3895 * @param string $targetPool
3896 * Name of the TargetPool resource to which instance_url is to be added.
3897 * @param Google_TargetPoolsAddInstanceRequest $postBody
3898 * @param array $optParams Optional parameters.
3899 * @return Google_Service_Compute_Operation
3900 */
3901 public function addInstance($project, $region, $targetPool, Google_Service_Compute_TargetPoolsAddInstanceRequest $postBody, $optParams = array())
3902 {
3903 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
3904 $params = array_merge($params, $optParams);
3905 return $this->call('addInstance', array($params), "Google_Service_Compute_Operation");
3906 }
3907 /**
3908 * Retrieves the list of target pools grouped by scope.
3909 * (targetPools.aggregatedList)
3910 *
3911 * @param string $project
3912 * Name of the project scoping this request.
3913 * @param array $optParams Optional parameters.
3914 *
3915 * @opt_param string filter
3916 * Optional. Filter expression for filtering listed resources.
3917 * @opt_param string pageToken
3918 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
3919 * previous list request.
3920 * @opt_param string maxResults
3921 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
3922 * 500.
3923 * @return Google_Service_Compute_TargetPoolAggregatedList
3924 */
3925 public function aggregatedList($project, $optParams = array())
3926 {
3927 $params = array('project' => $project);
3928 $params = array_merge($params, $optParams);
3929 return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetPoolAggregatedList");
3930 }
3931 /**
3932 * Deletes the specified TargetPool resource. (targetPools.delete)
3933 *
3934 * @param string $project
3935 * Name of the project scoping this request.
3936 * @param string $region
3937 * Name of the region scoping this request.
3938 * @param string $targetPool
3939 * Name of the TargetPool resource to delete.
3940 * @param array $optParams Optional parameters.
3941 * @return Google_Service_Compute_Operation
3942 */
3943 public function delete($project, $region, $targetPool, $optParams = array())
3944 {
3945 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool);
3946 $params = array_merge($params, $optParams);
3947 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
3948 }
3949 /**
3950 * Returns the specified TargetPool resource. (targetPools.get)
3951 *
3952 * @param string $project
3953 * Name of the project scoping this request.
3954 * @param string $region
3955 * Name of the region scoping this request.
3956 * @param string $targetPool
3957 * Name of the TargetPool resource to return.
3958 * @param array $optParams Optional parameters.
3959 * @return Google_Service_Compute_TargetPool
3960 */
3961 public function get($project, $region, $targetPool, $optParams = array())
3962 {
3963 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool);
3964 $params = array_merge($params, $optParams);
3965 return $this->call('get', array($params), "Google_Service_Compute_TargetPool");
3966 }
3967 /**
3968 * Gets the most recent health check results for each IP for the given instance
3969 * that is referenced by given TargetPool. (targetPools.getHealth)
3970 *
3971 * @param string $project
3972 *
3973 * @param string $region
3974 * Name of the region scoping this request.
3975 * @param string $targetPool
3976 * Name of the TargetPool resource to which the queried instance belongs.
3977 * @param Google_InstanceReference $postBody
3978 * @param array $optParams Optional parameters.
3979 * @return Google_Service_Compute_TargetPoolInstanceHealth
3980 */
3981 public function getHealth($project, $region, $targetPool, Google_Service_Compute_InstanceReference $postBody, $optParams = array())
3982 {
3983 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
3984 $params = array_merge($params, $optParams);
3985 return $this->call('getHealth', array($params), "Google_Service_Compute_TargetPoolInstanceHealth");
3986 }
3987 /**
3988 * Creates a TargetPool resource in the specified project and region using the
3989 * data included in the request. (targetPools.insert)
3990 *
3991 * @param string $project
3992 * Name of the project scoping this request.
3993 * @param string $region
3994 * Name of the region scoping this request.
3995 * @param Google_TargetPool $postBody
3996 * @param array $optParams Optional parameters.
3997 * @return Google_Service_Compute_Operation
3998 */
3999 public function insert($project, $region, Google_Service_Compute_TargetPool $postBody, $optParams = array())
4000 {
4001 $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
4002 $params = array_merge($params, $optParams);
4003 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
4004 }
4005 /**
4006 * Retrieves the list of TargetPool resources available to the specified project
4007 * and region. (targetPools.listTargetPools)
4008 *
4009 * @param string $project
4010 * Name of the project scoping this request.
4011 * @param string $region
4012 * Name of the region scoping this request.
4013 * @param array $optParams Optional parameters.
4014 *
4015 * @opt_param string filter
4016 * Optional. Filter expression for filtering listed resources.
4017 * @opt_param string pageToken
4018 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
4019 * previous list request.
4020 * @opt_param string maxResults
4021 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
4022 * 500.
4023 * @return Google_Service_Compute_TargetPoolList
4024 */
4025 public function listTargetPools($project, $region, $optParams = array())
4026 {
4027 $params = array('project' => $project, 'region' => $region);
4028 $params = array_merge($params, $optParams);
4029 return $this->call('list', array($params), "Google_Service_Compute_TargetPoolList");
4030 }
4031 /**
4032 * Removes health check URL from targetPool. (targetPools.removeHealthCheck)
4033 *
4034 * @param string $project
4035 *
4036 * @param string $region
4037 * Name of the region scoping this request.
4038 * @param string $targetPool
4039 * Name of the TargetPool resource to which health_check_url is to be removed.
4040 * @param Google_TargetPoolsRemoveHealthCheckRequest $postBody
4041 * @param array $optParams Optional parameters.
4042 * @return Google_Service_Compute_Operation
4043 */
4044 public function removeHealthCheck($project, $region, $targetPool, Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest $postBody, $optParams = array())
4045 {
4046 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
4047 $params = array_merge($params, $optParams);
4048 return $this->call('removeHealthCheck', array($params), "Google_Service_Compute_Operation");
4049 }
4050 /**
4051 * Removes instance URL from targetPool. (targetPools.removeInstance)
4052 *
4053 * @param string $project
4054 *
4055 * @param string $region
4056 * Name of the region scoping this request.
4057 * @param string $targetPool
4058 * Name of the TargetPool resource to which instance_url is to be removed.
4059 * @param Google_TargetPoolsRemoveInstanceRequest $postBody
4060 * @param array $optParams Optional parameters.
4061 * @return Google_Service_Compute_Operation
4062 */
4063 public function removeInstance($project, $region, $targetPool, Google_Service_Compute_TargetPoolsRemoveInstanceRequest $postBody, $optParams = array())
4064 {
4065 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
4066 $params = array_merge($params, $optParams);
4067 return $this->call('removeInstance', array($params), "Google_Service_Compute_Operation");
4068 }
4069 /**
4070 * Changes backup pool configurations. (targetPools.setBackup)
4071 *
4072 * @param string $project
4073 * Name of the project scoping this request.
4074 * @param string $region
4075 * Name of the region scoping this request.
4076 * @param string $targetPool
4077 * Name of the TargetPool resource for which the backup is to be set.
4078 * @param Google_TargetReference $postBody
4079 * @param array $optParams Optional parameters.
4080 *
4081 * @opt_param float failoverRatio
4082 * New failoverRatio value for the containing target pool.
4083 * @return Google_Service_Compute_Operation
4084 */
4085 public function setBackup($project, $region, $targetPool, Google_Service_Compute_TargetReference $postBody, $optParams = array())
4086 {
4087 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
4088 $params = array_merge($params, $optParams);
4089 return $this->call('setBackup', array($params), "Google_Service_Compute_Operation");
4090 }
4091 }
4092
4093 /**
4094 * The "zoneOperations" collection of methods.
4095 * Typical usage is:
4096 * <code>
4097 * $computeService = new Google_Service_Compute(...);
4098 * $zoneOperations = $computeService->zoneOperations;
4099 * </code>
4100 */
4101 class Google_Service_Compute_ZoneOperations_Resource extends Google_Service_Resource
4102 {
4103
4104 /**
4105 * Deletes the specified zone-specific operation resource.
4106 * (zoneOperations.delete)
4107 *
4108 * @param string $project
4109 * Name of the project scoping this request.
4110 * @param string $zone
4111 * Name of the zone scoping this request.
4112 * @param string $operation
4113 * Name of the operation resource to delete.
4114 * @param array $optParams Optional parameters.
4115 */
4116 public function delete($project, $zone, $operation, $optParams = array())
4117 {
4118 $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
4119 $params = array_merge($params, $optParams);
4120 return $this->call('delete', array($params));
4121 }
4122 /**
4123 * Retrieves the specified zone-specific operation resource.
4124 * (zoneOperations.get)
4125 *
4126 * @param string $project
4127 * Name of the project scoping this request.
4128 * @param string $zone
4129 * Name of the zone scoping this request.
4130 * @param string $operation
4131 * Name of the operation resource to return.
4132 * @param array $optParams Optional parameters.
4133 * @return Google_Service_Compute_Operation
4134 */
4135 public function get($project, $zone, $operation, $optParams = array())
4136 {
4137 $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
4138 $params = array_merge($params, $optParams);
4139 return $this->call('get', array($params), "Google_Service_Compute_Operation");
4140 }
4141 /**
4142 * Retrieves the list of operation resources contained within the specified
4143 * zone. (zoneOperations.listZoneOperations)
4144 *
4145 * @param string $project
4146 * Name of the project scoping this request.
4147 * @param string $zone
4148 * Name of the zone scoping this request.
4149 * @param array $optParams Optional parameters.
4150 *
4151 * @opt_param string filter
4152 * Optional. Filter expression for filtering listed resources.
4153 * @opt_param string pageToken
4154 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
4155 * previous list request.
4156 * @opt_param string maxResults
4157 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
4158 * 500.
4159 * @return Google_Service_Compute_OperationList
4160 */
4161 public function listZoneOperations($project, $zone, $optParams = array())
4162 {
4163 $params = array('project' => $project, 'zone' => $zone);
4164 $params = array_merge($params, $optParams);
4165 return $this->call('list', array($params), "Google_Service_Compute_OperationList");
4166 }
4167 }
4168
4169 /**
4170 * The "zones" collection of methods.
4171 * Typical usage is:
4172 * <code>
4173 * $computeService = new Google_Service_Compute(...);
4174 * $zones = $computeService->zones;
4175 * </code>
4176 */
4177 class Google_Service_Compute_Zones_Resource extends Google_Service_Resource
4178 {
4179
4180 /**
4181 * Returns the specified zone resource. (zones.get)
4182 *
4183 * @param string $project
4184 * Name of the project scoping this request.
4185 * @param string $zone
4186 * Name of the zone resource to return.
4187 * @param array $optParams Optional parameters.
4188 * @return Google_Service_Compute_Zone
4189 */
4190 public function get($project, $zone, $optParams = array())
4191 {
4192 $params = array('project' => $project, 'zone' => $zone);
4193 $params = array_merge($params, $optParams);
4194 return $this->call('get', array($params), "Google_Service_Compute_Zone");
4195 }
4196 /**
4197 * Retrieves the list of zone resources available to the specified project.
4198 * (zones.listZones)
4199 *
4200 * @param string $project
4201 * Name of the project scoping this request.
4202 * @param array $optParams Optional parameters.
4203 *
4204 * @opt_param string filter
4205 * Optional. Filter expression for filtering listed resources.
4206 * @opt_param string pageToken
4207 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
4208 * previous list request.
4209 * @opt_param string maxResults
4210 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
4211 * 500.
4212 * @return Google_Service_Compute_ZoneList
4213 */
4214 public function listZones($project, $optParams = array())
4215 {
4216 $params = array('project' => $project);
4217 $params = array_merge($params, $optParams);
4218 return $this->call('list', array($params), "Google_Service_Compute_ZoneList");
4219 }
4220 }
4221
4222
4223
4224
4225 class Google_Service_Compute_AccessConfig extends Google_Model
4226 {
4227 public $kind;
4228 public $name;
4229 public $natIP;
4230 public $type;
4231
4232 public function setKind($kind)
4233 {
4234 $this->kind = $kind;
4235 }
4236
4237 public function getKind()
4238 {
4239 return $this->kind;
4240 }
4241
4242 public function setName($name)
4243 {
4244 $this->name = $name;
4245 }
4246
4247 public function getName()
4248 {
4249 return $this->name;
4250 }
4251
4252 public function setNatIP($natIP)
4253 {
4254 $this->natIP = $natIP;
4255 }
4256
4257 public function getNatIP()
4258 {
4259 return $this->natIP;
4260 }
4261
4262 public function setType($type)
4263 {
4264 $this->type = $type;
4265 }
4266
4267 public function getType()
4268 {
4269 return $this->type;
4270 }
4271 }
4272
4273 class Google_Service_Compute_Address extends Google_Collection
4274 {
4275 public $address;
4276 public $creationTimestamp;
4277 public $description;
4278 public $id;
4279 public $kind;
4280 public $name;
4281 public $region;
4282 public $selfLink;
4283 public $status;
4284 public $users;
4285
4286 public function setAddress($address)
4287 {
4288 $this->address = $address;
4289 }
4290
4291 public function getAddress()
4292 {
4293 return $this->address;
4294 }
4295
4296 public function setCreationTimestamp($creationTimestamp)
4297 {
4298 $this->creationTimestamp = $creationTimestamp;
4299 }
4300
4301 public function getCreationTimestamp()
4302 {
4303 return $this->creationTimestamp;
4304 }
4305
4306 public function setDescription($description)
4307 {
4308 $this->description = $description;
4309 }
4310
4311 public function getDescription()
4312 {
4313 return $this->description;
4314 }
4315
4316 public function setId($id)
4317 {
4318 $this->id = $id;
4319 }
4320
4321 public function getId()
4322 {
4323 return $this->id;
4324 }
4325
4326 public function setKind($kind)
4327 {
4328 $this->kind = $kind;
4329 }
4330
4331 public function getKind()
4332 {
4333 return $this->kind;
4334 }
4335
4336 public function setName($name)
4337 {
4338 $this->name = $name;
4339 }
4340
4341 public function getName()
4342 {
4343 return $this->name;
4344 }
4345
4346 public function setRegion($region)
4347 {
4348 $this->region = $region;
4349 }
4350
4351 public function getRegion()
4352 {
4353 return $this->region;
4354 }
4355
4356 public function setSelfLink($selfLink)
4357 {
4358 $this->selfLink = $selfLink;
4359 }
4360
4361 public function getSelfLink()
4362 {
4363 return $this->selfLink;
4364 }
4365
4366 public function setStatus($status)
4367 {
4368 $this->status = $status;
4369 }
4370
4371 public function getStatus()
4372 {
4373 return $this->status;
4374 }
4375
4376 public function setUsers($users)
4377 {
4378 $this->users = $users;
4379 }
4380
4381 public function getUsers()
4382 {
4383 return $this->users;
4384 }
4385 }
4386
4387 class Google_Service_Compute_AddressAggregatedList extends Google_Model
4388 {
4389 public $id;
4390 protected $itemsType = 'Google_Service_Compute_AddressesScopedList';
4391 protected $itemsDataType = 'map';
4392 public $kind;
4393 public $nextPageToken;
4394 public $selfLink;
4395
4396 public function setId($id)
4397 {
4398 $this->id = $id;
4399 }
4400
4401 public function getId()
4402 {
4403 return $this->id;
4404 }
4405
4406 public function setItems($items)
4407 {
4408 $this->items = $items;
4409 }
4410
4411 public function getItems()
4412 {
4413 return $this->items;
4414 }
4415
4416 public function setKind($kind)
4417 {
4418 $this->kind = $kind;
4419 }
4420
4421 public function getKind()
4422 {
4423 return $this->kind;
4424 }
4425
4426 public function setNextPageToken($nextPageToken)
4427 {
4428 $this->nextPageToken = $nextPageToken;
4429 }
4430
4431 public function getNextPageToken()
4432 {
4433 return $this->nextPageToken;
4434 }
4435
4436 public function setSelfLink($selfLink)
4437 {
4438 $this->selfLink = $selfLink;
4439 }
4440
4441 public function getSelfLink()
4442 {
4443 return $this->selfLink;
4444 }
4445 }
4446
4447 class Google_Service_Compute_AddressList extends Google_Collection
4448 {
4449 public $id;
4450 protected $itemsType = 'Google_Service_Compute_Address';
4451 protected $itemsDataType = 'array';
4452 public $kind;
4453 public $nextPageToken;
4454 public $selfLink;
4455
4456 public function setId($id)
4457 {
4458 $this->id = $id;
4459 }
4460
4461 public function getId()
4462 {
4463 return $this->id;
4464 }
4465
4466 public function setItems($items)
4467 {
4468 $this->items = $items;
4469 }
4470
4471 public function getItems()
4472 {
4473 return $this->items;
4474 }
4475
4476 public function setKind($kind)
4477 {
4478 $this->kind = $kind;
4479 }
4480
4481 public function getKind()
4482 {
4483 return $this->kind;
4484 }
4485
4486 public function setNextPageToken($nextPageToken)
4487 {
4488 $this->nextPageToken = $nextPageToken;
4489 }
4490
4491 public function getNextPageToken()
4492 {
4493 return $this->nextPageToken;
4494 }
4495
4496 public function setSelfLink($selfLink)
4497 {
4498 $this->selfLink = $selfLink;
4499 }
4500
4501 public function getSelfLink()
4502 {
4503 return $this->selfLink;
4504 }
4505 }
4506
4507 class Google_Service_Compute_AddressesScopedList extends Google_Collection
4508 {
4509 protected $addressesType = 'Google_Service_Compute_Address';
4510 protected $addressesDataType = 'array';
4511 protected $warningType = 'Google_Service_Compute_AddressesScopedListWarning';
4512 protected $warningDataType = '';
4513
4514 public function setAddresses($addresses)
4515 {
4516 $this->addresses = $addresses;
4517 }
4518
4519 public function getAddresses()
4520 {
4521 return $this->addresses;
4522 }
4523
4524 public function setWarning(Google_Service_Compute_AddressesScopedListWarning $warning)
4525 {
4526 $this->warning = $warning;
4527 }
4528
4529 public function getWarning()
4530 {
4531 return $this->warning;
4532 }
4533 }
4534
4535 class Google_Service_Compute_AddressesScopedListWarning extends Google_Collection
4536 {
4537 public $code;
4538 protected $dataType = 'Google_Service_Compute_AddressesScopedListWarningData';
4539 protected $dataDataType = 'array';
4540 public $message;
4541
4542 public function setCode($code)
4543 {
4544 $this->code = $code;
4545 }
4546
4547 public function getCode()
4548 {
4549 return $this->code;
4550 }
4551
4552 public function setData($data)
4553 {
4554 $this->data = $data;
4555 }
4556
4557 public function getData()
4558 {
4559 return $this->data;
4560 }
4561
4562 public function setMessage($message)
4563 {
4564 $this->message = $message;
4565 }
4566
4567 public function getMessage()
4568 {
4569 return $this->message;
4570 }
4571 }
4572
4573 class Google_Service_Compute_AddressesScopedListWarningData extends Google_Model
4574 {
4575 public $key;
4576 public $value;
4577
4578 public function setKey($key)
4579 {
4580 $this->key = $key;
4581 }
4582
4583 public function getKey()
4584 {
4585 return $this->key;
4586 }
4587
4588 public function setValue($value)
4589 {
4590 $this->value = $value;
4591 }
4592
4593 public function getValue()
4594 {
4595 return $this->value;
4596 }
4597 }
4598
4599 class Google_Service_Compute_AttachedDisk extends Google_Model
4600 {
4601 public $autoDelete;
4602 public $boot;
4603 public $deviceName;
4604 public $index;
4605 protected $initializeParamsType = 'Google_Service_Compute_AttachedDiskInitializeParams';
4606 protected $initializeParamsDataType = '';
4607 public $kind;
4608 public $mode;
4609 public $source;
4610 public $type;
4611
4612 public function setAutoDelete($autoDelete)
4613 {
4614 $this->autoDelete = $autoDelete;
4615 }
4616
4617 public function getAutoDelete()
4618 {
4619 return $this->autoDelete;
4620 }
4621
4622 public function setBoot($boot)
4623 {
4624 $this->boot = $boot;
4625 }
4626
4627 public function getBoot()
4628 {
4629 return $this->boot;
4630 }
4631
4632 public function setDeviceName($deviceName)
4633 {
4634 $this->deviceName = $deviceName;
4635 }
4636
4637 public function getDeviceName()
4638 {
4639 return $this->deviceName;
4640 }
4641
4642 public function setIndex($index)
4643 {
4644 $this->index = $index;
4645 }
4646
4647 public function getIndex()
4648 {
4649 return $this->index;
4650 }
4651
4652 public function setInitializeParams(Google_Service_Compute_AttachedDiskInitializeParams $initializeParams)
4653 {
4654 $this->initializeParams = $initializeParams;
4655 }
4656
4657 public function getInitializeParams()
4658 {
4659 return $this->initializeParams;
4660 }
4661
4662 public function setKind($kind)
4663 {
4664 $this->kind = $kind;
4665 }
4666
4667 public function getKind()
4668 {
4669 return $this->kind;
4670 }
4671
4672 public function setMode($mode)
4673 {
4674 $this->mode = $mode;
4675 }
4676
4677 public function getMode()
4678 {
4679 return $this->mode;
4680 }
4681
4682 public function setSource($source)
4683 {
4684 $this->source = $source;
4685 }
4686
4687 public function getSource()
4688 {
4689 return $this->source;
4690 }
4691
4692 public function setType($type)
4693 {
4694 $this->type = $type;
4695 }
4696
4697 public function getType()
4698 {
4699 return $this->type;
4700 }
4701 }
4702
4703 class Google_Service_Compute_AttachedDiskInitializeParams extends Google_Model
4704 {
4705 public $diskName;
4706 public $diskSizeGb;
4707 public $sourceImage;
4708
4709 public function setDiskName($diskName)
4710 {
4711 $this->diskName = $diskName;
4712 }
4713
4714 public function getDiskName()
4715 {
4716 return $this->diskName;
4717 }
4718
4719 public function setDiskSizeGb($diskSizeGb)
4720 {
4721 $this->diskSizeGb = $diskSizeGb;
4722 }
4723
4724 public function getDiskSizeGb()
4725 {
4726 return $this->diskSizeGb;
4727 }
4728
4729 public function setSourceImage($sourceImage)
4730 {
4731 $this->sourceImage = $sourceImage;
4732 }
4733
4734 public function getSourceImage()
4735 {
4736 return $this->sourceImage;
4737 }
4738 }
4739
4740 class Google_Service_Compute_DeprecationStatus extends Google_Model
4741 {
4742 public $deleted;
4743 public $deprecated;
4744 public $obsolete;
4745 public $replacement;
4746 public $state;
4747
4748 public function setDeleted($deleted)
4749 {
4750 $this->deleted = $deleted;
4751 }
4752
4753 public function getDeleted()
4754 {
4755 return $this->deleted;
4756 }
4757
4758 public function setDeprecated($deprecated)
4759 {
4760 $this->deprecated = $deprecated;
4761 }
4762
4763 public function getDeprecated()
4764 {
4765 return $this->deprecated;
4766 }
4767
4768 public function setObsolete($obsolete)
4769 {
4770 $this->obsolete = $obsolete;
4771 }
4772
4773 public function getObsolete()
4774 {
4775 return $this->obsolete;
4776 }
4777
4778 public function setReplacement($replacement)
4779 {
4780 $this->replacement = $replacement;
4781 }
4782
4783 public function getReplacement()
4784 {
4785 return $this->replacement;
4786 }
4787
4788 public function setState($state)
4789 {
4790 $this->state = $state;
4791 }
4792
4793 public function getState()
4794 {
4795 return $this->state;
4796 }
4797 }
4798
4799 class Google_Service_Compute_Disk extends Google_Model
4800 {
4801 public $creationTimestamp;
4802 public $description;
4803 public $id;
4804 public $kind;
4805 public $name;
4806 public $options;
4807 public $selfLink;
4808 public $sizeGb;
4809 public $sourceImage;
4810 public $sourceImageId;
4811 public $sourceSnapshot;
4812 public $sourceSnapshotId;
4813 public $status;
4814 public $zone;
4815
4816 public function setCreationTimestamp($creationTimestamp)
4817 {
4818 $this->creationTimestamp = $creationTimestamp;
4819 }
4820
4821 public function getCreationTimestamp()
4822 {
4823 return $this->creationTimestamp;
4824 }
4825
4826 public function setDescription($description)
4827 {
4828 $this->description = $description;
4829 }
4830
4831 public function getDescription()
4832 {
4833 return $this->description;
4834 }
4835
4836 public function setId($id)
4837 {
4838 $this->id = $id;
4839 }
4840
4841 public function getId()
4842 {
4843 return $this->id;
4844 }
4845
4846 public function setKind($kind)
4847 {
4848 $this->kind = $kind;
4849 }
4850
4851 public function getKind()
4852 {
4853 return $this->kind;
4854 }
4855
4856 public function setName($name)
4857 {
4858 $this->name = $name;
4859 }
4860
4861 public function getName()
4862 {
4863 return $this->name;
4864 }
4865
4866 public function setOptions($options)
4867 {
4868 $this->options = $options;
4869 }
4870
4871 public function getOptions()
4872 {
4873 return $this->options;
4874 }
4875
4876 public function setSelfLink($selfLink)
4877 {
4878 $this->selfLink = $selfLink;
4879 }
4880
4881 public function getSelfLink()
4882 {
4883 return $this->selfLink;
4884 }
4885
4886 public function setSizeGb($sizeGb)
4887 {
4888 $this->sizeGb = $sizeGb;
4889 }
4890
4891 public function getSizeGb()
4892 {
4893 return $this->sizeGb;
4894 }
4895
4896 public function setSourceImage($sourceImage)
4897 {
4898 $this->sourceImage = $sourceImage;
4899 }
4900
4901 public function getSourceImage()
4902 {
4903 return $this->sourceImage;
4904 }
4905
4906 public function setSourceImageId($sourceImageId)
4907 {
4908 $this->sourceImageId = $sourceImageId;
4909 }
4910
4911 public function getSourceImageId()
4912 {
4913 return $this->sourceImageId;
4914 }
4915
4916 public function setSourceSnapshot($sourceSnapshot)
4917 {
4918 $this->sourceSnapshot = $sourceSnapshot;
4919 }
4920
4921 public function getSourceSnapshot()
4922 {
4923 return $this->sourceSnapshot;
4924 }
4925
4926 public function setSourceSnapshotId($sourceSnapshotId)
4927 {
4928 $this->sourceSnapshotId = $sourceSnapshotId;
4929 }
4930
4931 public function getSourceSnapshotId()
4932 {
4933 return $this->sourceSnapshotId;
4934 }
4935
4936 public function setStatus($status)
4937 {
4938 $this->status = $status;
4939 }
4940
4941 public function getStatus()
4942 {
4943 return $this->status;
4944 }
4945
4946 public function setZone($zone)
4947 {
4948 $this->zone = $zone;
4949 }
4950
4951 public function getZone()
4952 {
4953 return $this->zone;
4954 }
4955 }
4956
4957 class Google_Service_Compute_DiskAggregatedList extends Google_Model
4958 {
4959 public $id;
4960 protected $itemsType = 'Google_Service_Compute_DisksScopedList';
4961 protected $itemsDataType = 'map';
4962 public $kind;
4963 public $nextPageToken;
4964 public $selfLink;
4965
4966 public function setId($id)
4967 {
4968 $this->id = $id;
4969 }
4970
4971 public function getId()
4972 {
4973 return $this->id;
4974 }
4975
4976 public function setItems($items)
4977 {
4978 $this->items = $items;
4979 }
4980
4981 public function getItems()
4982 {
4983 return $this->items;
4984 }
4985
4986 public function setKind($kind)
4987 {
4988 $this->kind = $kind;
4989 }
4990
4991 public function getKind()
4992 {
4993 return $this->kind;
4994 }
4995
4996 public function setNextPageToken($nextPageToken)
4997 {
4998 $this->nextPageToken = $nextPageToken;
4999 }
5000
5001 public function getNextPageToken()
5002 {
5003 return $this->nextPageToken;
5004 }
5005
5006 public function setSelfLink($selfLink)
5007 {
5008 $this->selfLink = $selfLink;
5009 }
5010
5011 public function getSelfLink()
5012 {
5013 return $this->selfLink;
5014 }
5015 }
5016
5017 class Google_Service_Compute_DiskList extends Google_Collection
5018 {
5019 public $id;
5020 protected $itemsType = 'Google_Service_Compute_Disk';
5021 protected $itemsDataType = 'array';
5022 public $kind;
5023 public $nextPageToken;
5024 public $selfLink;
5025
5026 public function setId($id)
5027 {
5028 $this->id = $id;
5029 }
5030
5031 public function getId()
5032 {
5033 return $this->id;
5034 }
5035
5036 public function setItems($items)
5037 {
5038 $this->items = $items;
5039 }
5040
5041 public function getItems()
5042 {
5043 return $this->items;
5044 }
5045
5046 public function setKind($kind)
5047 {
5048 $this->kind = $kind;
5049 }
5050
5051 public function getKind()
5052 {
5053 return $this->kind;
5054 }
5055
5056 public function setNextPageToken($nextPageToken)
5057 {
5058 $this->nextPageToken = $nextPageToken;
5059 }
5060
5061 public function getNextPageToken()
5062 {
5063 return $this->nextPageToken;
5064 }
5065
5066 public function setSelfLink($selfLink)
5067 {
5068 $this->selfLink = $selfLink;
5069 }
5070
5071 public function getSelfLink()
5072 {
5073 return $this->selfLink;
5074 }
5075 }
5076
5077 class Google_Service_Compute_DisksScopedList extends Google_Collection
5078 {
5079 protected $disksType = 'Google_Service_Compute_Disk';
5080 protected $disksDataType = 'array';
5081 protected $warningType = 'Google_Service_Compute_DisksScopedListWarning';
5082 protected $warningDataType = '';
5083
5084 public function setDisks($disks)
5085 {
5086 $this->disks = $disks;
5087 }
5088
5089 public function getDisks()
5090 {
5091 return $this->disks;
5092 }
5093
5094 public function setWarning(Google_Service_Compute_DisksScopedListWarning $warning)
5095 {
5096 $this->warning = $warning;
5097 }
5098
5099 public function getWarning()
5100 {
5101 return $this->warning;
5102 }
5103 }
5104
5105 class Google_Service_Compute_DisksScopedListWarning extends Google_Collection
5106 {
5107 public $code;
5108 protected $dataType = 'Google_Service_Compute_DisksScopedListWarningData';
5109 protected $dataDataType = 'array';
5110 public $message;
5111
5112 public function setCode($code)
5113 {
5114 $this->code = $code;
5115 }
5116
5117 public function getCode()
5118 {
5119 return $this->code;
5120 }
5121
5122 public function setData($data)
5123 {
5124 $this->data = $data;
5125 }
5126
5127 public function getData()
5128 {
5129 return $this->data;
5130 }
5131
5132 public function setMessage($message)
5133 {
5134 $this->message = $message;
5135 }
5136
5137 public function getMessage()
5138 {
5139 return $this->message;
5140 }
5141 }
5142
5143 class Google_Service_Compute_DisksScopedListWarningData extends Google_Model
5144 {
5145 public $key;
5146 public $value;
5147
5148 public function setKey($key)
5149 {
5150 $this->key = $key;
5151 }
5152
5153 public function getKey()
5154 {
5155 return $this->key;
5156 }
5157
5158 public function setValue($value)
5159 {
5160 $this->value = $value;
5161 }
5162
5163 public function getValue()
5164 {
5165 return $this->value;
5166 }
5167 }
5168
5169 class Google_Service_Compute_Firewall extends Google_Collection
5170 {
5171 protected $allowedType = 'Google_Service_Compute_FirewallAllowed';
5172 protected $allowedDataType = 'array';
5173 public $creationTimestamp;
5174 public $description;
5175 public $id;
5176 public $kind;
5177 public $name;
5178 public $network;
5179 public $selfLink;
5180 public $sourceRanges;
5181 public $sourceTags;
5182 public $targetTags;
5183
5184 public function setAllowed($allowed)
5185 {
5186 $this->allowed = $allowed;
5187 }
5188
5189 public function getAllowed()
5190 {
5191 return $this->allowed;
5192 }
5193
5194 public function setCreationTimestamp($creationTimestamp)
5195 {
5196 $this->creationTimestamp = $creationTimestamp;
5197 }
5198
5199 public function getCreationTimestamp()
5200 {
5201 return $this->creationTimestamp;
5202 }
5203
5204 public function setDescription($description)
5205 {
5206 $this->description = $description;
5207 }
5208
5209 public function getDescription()
5210 {
5211 return $this->description;
5212 }
5213
5214 public function setId($id)
5215 {
5216 $this->id = $id;
5217 }
5218
5219 public function getId()
5220 {
5221 return $this->id;
5222 }
5223
5224 public function setKind($kind)
5225 {
5226 $this->kind = $kind;
5227 }
5228
5229 public function getKind()
5230 {
5231 return $this->kind;
5232 }
5233
5234 public function setName($name)
5235 {
5236 $this->name = $name;
5237 }
5238
5239 public function getName()
5240 {
5241 return $this->name;
5242 }
5243
5244 public function setNetwork($network)
5245 {
5246 $this->network = $network;
5247 }
5248
5249 public function getNetwork()
5250 {
5251 return $this->network;
5252 }
5253
5254 public function setSelfLink($selfLink)
5255 {
5256 $this->selfLink = $selfLink;
5257 }
5258
5259 public function getSelfLink()
5260 {
5261 return $this->selfLink;
5262 }
5263
5264 public function setSourceRanges($sourceRanges)
5265 {
5266 $this->sourceRanges = $sourceRanges;
5267 }
5268
5269 public function getSourceRanges()
5270 {
5271 return $this->sourceRanges;
5272 }
5273
5274 public function setSourceTags($sourceTags)
5275 {
5276 $this->sourceTags = $sourceTags;
5277 }
5278
5279 public function getSourceTags()
5280 {
5281 return $this->sourceTags;
5282 }
5283
5284 public function setTargetTags($targetTags)
5285 {
5286 $this->targetTags = $targetTags;
5287 }
5288
5289 public function getTargetTags()
5290 {
5291 return $this->targetTags;
5292 }
5293 }
5294
5295 class Google_Service_Compute_FirewallAllowed extends Google_Collection
5296 {
5297 public $iPProtocol;
5298 public $ports;
5299
5300 public function setIPProtocol($iPProtocol)
5301 {
5302 $this->iPProtocol = $iPProtocol;
5303 }
5304
5305 public function getIPProtocol()
5306 {
5307 return $this->iPProtocol;
5308 }
5309
5310 public function setPorts($ports)
5311 {
5312 $this->ports = $ports;
5313 }
5314
5315 public function getPorts()
5316 {
5317 return $this->ports;
5318 }
5319 }
5320
5321 class Google_Service_Compute_FirewallList extends Google_Collection
5322 {
5323 public $id;
5324 protected $itemsType = 'Google_Service_Compute_Firewall';
5325 protected $itemsDataType = 'array';
5326 public $kind;
5327 public $nextPageToken;
5328 public $selfLink;
5329
5330 public function setId($id)
5331 {
5332 $this->id = $id;
5333 }
5334
5335 public function getId()
5336 {
5337 return $this->id;
5338 }
5339
5340 public function setItems($items)
5341 {
5342 $this->items = $items;
5343 }
5344
5345 public function getItems()
5346 {
5347 return $this->items;
5348 }
5349
5350 public function setKind($kind)
5351 {
5352 $this->kind = $kind;
5353 }
5354
5355 public function getKind()
5356 {
5357 return $this->kind;
5358 }
5359
5360 public function setNextPageToken($nextPageToken)
5361 {
5362 $this->nextPageToken = $nextPageToken;
5363 }
5364
5365 public function getNextPageToken()
5366 {
5367 return $this->nextPageToken;
5368 }
5369
5370 public function setSelfLink($selfLink)
5371 {
5372 $this->selfLink = $selfLink;
5373 }
5374
5375 public function getSelfLink()
5376 {
5377 return $this->selfLink;
5378 }
5379 }
5380
5381 class Google_Service_Compute_ForwardingRule extends Google_Model
5382 {
5383 public $iPAddress;
5384 public $iPProtocol;
5385 public $creationTimestamp;
5386 public $description;
5387 public $id;
5388 public $kind;
5389 public $name;
5390 public $portRange;
5391 public $region;
5392 public $selfLink;
5393 public $target;
5394
5395 public function setIPAddress($iPAddress)
5396 {
5397 $this->iPAddress = $iPAddress;
5398 }
5399
5400 public function getIPAddress()
5401 {
5402 return $this->iPAddress;
5403 }
5404
5405 public function setIPProtocol($iPProtocol)
5406 {
5407 $this->iPProtocol = $iPProtocol;
5408 }
5409
5410 public function getIPProtocol()
5411 {
5412 return $this->iPProtocol;
5413 }
5414
5415 public function setCreationTimestamp($creationTimestamp)
5416 {
5417 $this->creationTimestamp = $creationTimestamp;
5418 }
5419
5420 public function getCreationTimestamp()
5421 {
5422 return $this->creationTimestamp;
5423 }
5424
5425 public function setDescription($description)
5426 {
5427 $this->description = $description;
5428 }
5429
5430 public function getDescription()
5431 {
5432 return $this->description;
5433 }
5434
5435 public function setId($id)
5436 {
5437 $this->id = $id;
5438 }
5439
5440 public function getId()
5441 {
5442 return $this->id;
5443 }
5444
5445 public function setKind($kind)
5446 {
5447 $this->kind = $kind;
5448 }
5449
5450 public function getKind()
5451 {
5452 return $this->kind;
5453 }
5454
5455 public function setName($name)
5456 {
5457 $this->name = $name;
5458 }
5459
5460 public function getName()
5461 {
5462 return $this->name;
5463 }
5464
5465 public function setPortRange($portRange)
5466 {
5467 $this->portRange = $portRange;
5468 }
5469
5470 public function getPortRange()
5471 {
5472 return $this->portRange;
5473 }
5474
5475 public function setRegion($region)
5476 {
5477 $this->region = $region;
5478 }
5479
5480 public function getRegion()
5481 {
5482 return $this->region;
5483 }
5484
5485 public function setSelfLink($selfLink)
5486 {
5487 $this->selfLink = $selfLink;
5488 }
5489
5490 public function getSelfLink()
5491 {
5492 return $this->selfLink;
5493 }
5494
5495 public function setTarget($target)
5496 {
5497 $this->target = $target;
5498 }
5499
5500 public function getTarget()
5501 {
5502 return $this->target;
5503 }
5504 }
5505
5506 class Google_Service_Compute_ForwardingRuleAggregatedList extends Google_Model
5507 {
5508 public $id;
5509 protected $itemsType = 'Google_Service_Compute_ForwardingRulesScopedList';
5510 protected $itemsDataType = 'map';
5511 public $kind;
5512 public $nextPageToken;
5513 public $selfLink;
5514
5515 public function setId($id)
5516 {
5517 $this->id = $id;
5518 }
5519
5520 public function getId()
5521 {
5522 return $this->id;
5523 }
5524
5525 public function setItems($items)
5526 {
5527 $this->items = $items;
5528 }
5529
5530 public function getItems()
5531 {
5532 return $this->items;
5533 }
5534
5535 public function setKind($kind)
5536 {
5537 $this->kind = $kind;
5538 }
5539
5540 public function getKind()
5541 {
5542 return $this->kind;
5543 }
5544
5545 public function setNextPageToken($nextPageToken)
5546 {
5547 $this->nextPageToken = $nextPageToken;
5548 }
5549
5550 public function getNextPageToken()
5551 {
5552 return $this->nextPageToken;
5553 }
5554
5555 public function setSelfLink($selfLink)
5556 {
5557 $this->selfLink = $selfLink;
5558 }
5559
5560 public function getSelfLink()
5561 {
5562 return $this->selfLink;
5563 }
5564 }
5565
5566 class Google_Service_Compute_ForwardingRuleList extends Google_Collection
5567 {
5568 public $id;
5569 protected $itemsType = 'Google_Service_Compute_ForwardingRule';
5570 protected $itemsDataType = 'array';
5571 public $kind;
5572 public $nextPageToken;
5573 public $selfLink;
5574
5575 public function setId($id)
5576 {
5577 $this->id = $id;
5578 }
5579
5580 public function getId()
5581 {
5582 return $this->id;
5583 }
5584
5585 public function setItems($items)
5586 {
5587 $this->items = $items;
5588 }
5589
5590 public function getItems()
5591 {
5592 return $this->items;
5593 }
5594
5595 public function setKind($kind)
5596 {
5597 $this->kind = $kind;
5598 }
5599
5600 public function getKind()
5601 {
5602 return $this->kind;
5603 }
5604
5605 public function setNextPageToken($nextPageToken)
5606 {
5607 $this->nextPageToken = $nextPageToken;
5608 }
5609
5610 public function getNextPageToken()
5611 {
5612 return $this->nextPageToken;
5613 }
5614
5615 public function setSelfLink($selfLink)
5616 {
5617 $this->selfLink = $selfLink;
5618 }
5619
5620 public function getSelfLink()
5621 {
5622 return $this->selfLink;
5623 }
5624 }
5625
5626 class Google_Service_Compute_ForwardingRulesScopedList extends Google_Collection
5627 {
5628 protected $forwardingRulesType = 'Google_Service_Compute_ForwardingRule';
5629 protected $forwardingRulesDataType = 'array';
5630 protected $warningType = 'Google_Service_Compute_ForwardingRulesScopedListWarning';
5631 protected $warningDataType = '';
5632
5633 public function setForwardingRules($forwardingRules)
5634 {
5635 $this->forwardingRules = $forwardingRules;
5636 }
5637
5638 public function getForwardingRules()
5639 {
5640 return $this->forwardingRules;
5641 }
5642
5643 public function setWarning(Google_Service_Compute_ForwardingRulesScopedListWarning $warning)
5644 {
5645 $this->warning = $warning;
5646 }
5647
5648 public function getWarning()
5649 {
5650 return $this->warning;
5651 }
5652 }
5653
5654 class Google_Service_Compute_ForwardingRulesScopedListWarning extends Google_Collection
5655 {
5656 public $code;
5657 protected $dataType = 'Google_Service_Compute_ForwardingRulesScopedListWarningData';
5658 protected $dataDataType = 'array';
5659 public $message;
5660
5661 public function setCode($code)
5662 {
5663 $this->code = $code;
5664 }
5665
5666 public function getCode()
5667 {
5668 return $this->code;
5669 }
5670
5671 public function setData($data)
5672 {
5673 $this->data = $data;
5674 }
5675
5676 public function getData()
5677 {
5678 return $this->data;
5679 }
5680
5681 public function setMessage($message)
5682 {
5683 $this->message = $message;
5684 }
5685
5686 public function getMessage()
5687 {
5688 return $this->message;
5689 }
5690 }
5691
5692 class Google_Service_Compute_ForwardingRulesScopedListWarningData extends Google_Model
5693 {
5694 public $key;
5695 public $value;
5696
5697 public function setKey($key)
5698 {
5699 $this->key = $key;
5700 }
5701
5702 public function getKey()
5703 {
5704 return $this->key;
5705 }
5706
5707 public function setValue($value)
5708 {
5709 $this->value = $value;
5710 }
5711
5712 public function getValue()
5713 {
5714 return $this->value;
5715 }
5716 }
5717
5718 class Google_Service_Compute_HealthCheckReference extends Google_Model
5719 {
5720 public $healthCheck;
5721
5722 public function setHealthCheck($healthCheck)
5723 {
5724 $this->healthCheck = $healthCheck;
5725 }
5726
5727 public function getHealthCheck()
5728 {
5729 return $this->healthCheck;
5730 }
5731 }
5732
5733 class Google_Service_Compute_HealthStatus extends Google_Model
5734 {
5735 public $healthState;
5736 public $instance;
5737 public $ipAddress;
5738
5739 public function setHealthState($healthState)
5740 {
5741 $this->healthState = $healthState;
5742 }
5743
5744 public function getHealthState()
5745 {
5746 return $this->healthState;
5747 }
5748
5749 public function setInstance($instance)
5750 {
5751 $this->instance = $instance;
5752 }
5753
5754 public function getInstance()
5755 {
5756 return $this->instance;
5757 }
5758
5759 public function setIpAddress($ipAddress)
5760 {
5761 $this->ipAddress = $ipAddress;
5762 }
5763
5764 public function getIpAddress()
5765 {
5766 return $this->ipAddress;
5767 }
5768 }
5769
5770 class Google_Service_Compute_HttpHealthCheck extends Google_Model
5771 {
5772 public $checkIntervalSec;
5773 public $creationTimestamp;
5774 public $description;
5775 public $healthyThreshold;
5776 public $host;
5777 public $id;
5778 public $kind;
5779 public $name;
5780 public $port;
5781 public $requestPath;
5782 public $selfLink;
5783 public $timeoutSec;
5784 public $unhealthyThreshold;
5785
5786 public function setCheckIntervalSec($checkIntervalSec)
5787 {
5788 $this->checkIntervalSec = $checkIntervalSec;
5789 }
5790
5791 public function getCheckIntervalSec()
5792 {
5793 return $this->checkIntervalSec;
5794 }
5795
5796 public function setCreationTimestamp($creationTimestamp)
5797 {
5798 $this->creationTimestamp = $creationTimestamp;
5799 }
5800
5801 public function getCreationTimestamp()
5802 {
5803 return $this->creationTimestamp;
5804 }
5805
5806 public function setDescription($description)
5807 {
5808 $this->description = $description;
5809 }
5810
5811 public function getDescription()
5812 {
5813 return $this->description;
5814 }
5815
5816 public function setHealthyThreshold($healthyThreshold)
5817 {
5818 $this->healthyThreshold = $healthyThreshold;
5819 }
5820
5821 public function getHealthyThreshold()
5822 {
5823 return $this->healthyThreshold;
5824 }
5825
5826 public function setHost($host)
5827 {
5828 $this->host = $host;
5829 }
5830
5831 public function getHost()
5832 {
5833 return $this->host;
5834 }
5835
5836 public function setId($id)
5837 {
5838 $this->id = $id;
5839 }
5840
5841 public function getId()
5842 {
5843 return $this->id;
5844 }
5845
5846 public function setKind($kind)
5847 {
5848 $this->kind = $kind;
5849 }
5850
5851 public function getKind()
5852 {
5853 return $this->kind;
5854 }
5855
5856 public function setName($name)
5857 {
5858 $this->name = $name;
5859 }
5860
5861 public function getName()
5862 {
5863 return $this->name;
5864 }
5865
5866 public function setPort($port)
5867 {
5868 $this->port = $port;
5869 }
5870
5871 public function getPort()
5872 {
5873 return $this->port;
5874 }
5875
5876 public function setRequestPath($requestPath)
5877 {
5878 $this->requestPath = $requestPath;
5879 }
5880
5881 public function getRequestPath()
5882 {
5883 return $this->requestPath;
5884 }
5885
5886 public function setSelfLink($selfLink)
5887 {
5888 $this->selfLink = $selfLink;
5889 }
5890
5891 public function getSelfLink()
5892 {
5893 return $this->selfLink;
5894 }
5895
5896 public function setTimeoutSec($timeoutSec)
5897 {
5898 $this->timeoutSec = $timeoutSec;
5899 }
5900
5901 public function getTimeoutSec()
5902 {
5903 return $this->timeoutSec;
5904 }
5905
5906 public function setUnhealthyThreshold($unhealthyThreshold)
5907 {
5908 $this->unhealthyThreshold = $unhealthyThreshold;
5909 }
5910
5911 public function getUnhealthyThreshold()
5912 {
5913 return $this->unhealthyThreshold;
5914 }
5915 }
5916
5917 class Google_Service_Compute_HttpHealthCheckList extends Google_Collection
5918 {
5919 public $id;
5920 protected $itemsType = 'Google_Service_Compute_HttpHealthCheck';
5921 protected $itemsDataType = 'array';
5922 public $kind;
5923 public $nextPageToken;
5924 public $selfLink;
5925
5926 public function setId($id)
5927 {
5928 $this->id = $id;
5929 }
5930
5931 public function getId()
5932 {
5933 return $this->id;
5934 }
5935
5936 public function setItems($items)
5937 {
5938 $this->items = $items;
5939 }
5940
5941 public function getItems()
5942 {
5943 return $this->items;
5944 }
5945
5946 public function setKind($kind)
5947 {
5948 $this->kind = $kind;
5949 }
5950
5951 public function getKind()
5952 {
5953 return $this->kind;
5954 }
5955
5956 public function setNextPageToken($nextPageToken)
5957 {
5958 $this->nextPageToken = $nextPageToken;
5959 }
5960
5961 public function getNextPageToken()
5962 {
5963 return $this->nextPageToken;
5964 }
5965
5966 public function setSelfLink($selfLink)
5967 {
5968 $this->selfLink = $selfLink;
5969 }
5970
5971 public function getSelfLink()
5972 {
5973 return $this->selfLink;
5974 }
5975 }
5976
5977 class Google_Service_Compute_Image extends Google_Model
5978 {
5979 public $archiveSizeBytes;
5980 public $creationTimestamp;
5981 protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
5982 protected $deprecatedDataType = '';
5983 public $description;
5984 public $diskSizeGb;
5985 public $id;
5986 public $kind;
5987 public $name;
5988 protected $rawDiskType = 'Google_Service_Compute_ImageRawDisk';
5989 protected $rawDiskDataType = '';
5990 public $selfLink;
5991 public $sourceType;
5992 public $status;
5993
5994 public function setArchiveSizeBytes($archiveSizeBytes)
5995 {
5996 $this->archiveSizeBytes = $archiveSizeBytes;
5997 }
5998
5999 public function getArchiveSizeBytes()
6000 {
6001 return $this->archiveSizeBytes;
6002 }
6003
6004 public function setCreationTimestamp($creationTimestamp)
6005 {
6006 $this->creationTimestamp = $creationTimestamp;
6007 }
6008
6009 public function getCreationTimestamp()
6010 {
6011 return $this->creationTimestamp;
6012 }
6013
6014 public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
6015 {
6016 $this->deprecated = $deprecated;
6017 }
6018
6019 public function getDeprecated()
6020 {
6021 return $this->deprecated;
6022 }
6023
6024 public function setDescription($description)
6025 {
6026 $this->description = $description;
6027 }
6028
6029 public function getDescription()
6030 {
6031 return $this->description;
6032 }
6033
6034 public function setDiskSizeGb($diskSizeGb)
6035 {
6036 $this->diskSizeGb = $diskSizeGb;
6037 }
6038
6039 public function getDiskSizeGb()
6040 {
6041 return $this->diskSizeGb;
6042 }
6043
6044 public function setId($id)
6045 {
6046 $this->id = $id;
6047 }
6048
6049 public function getId()
6050 {
6051 return $this->id;
6052 }
6053
6054 public function setKind($kind)
6055 {
6056 $this->kind = $kind;
6057 }
6058
6059 public function getKind()
6060 {
6061 return $this->kind;
6062 }
6063
6064 public function setName($name)
6065 {
6066 $this->name = $name;
6067 }
6068
6069 public function getName()
6070 {
6071 return $this->name;
6072 }
6073
6074 public function setRawDisk(Google_Service_Compute_ImageRawDisk $rawDisk)
6075 {
6076 $this->rawDisk = $rawDisk;
6077 }
6078
6079 public function getRawDisk()
6080 {
6081 return $this->rawDisk;
6082 }
6083
6084 public function setSelfLink($selfLink)
6085 {
6086 $this->selfLink = $selfLink;
6087 }
6088
6089 public function getSelfLink()
6090 {
6091 return $this->selfLink;
6092 }
6093
6094 public function setSourceType($sourceType)
6095 {
6096 $this->sourceType = $sourceType;
6097 }
6098
6099 public function getSourceType()
6100 {
6101 return $this->sourceType;
6102 }
6103
6104 public function setStatus($status)
6105 {
6106 $this->status = $status;
6107 }
6108
6109 public function getStatus()
6110 {
6111 return $this->status;
6112 }
6113 }
6114
6115 class Google_Service_Compute_ImageList extends Google_Collection
6116 {
6117 public $id;
6118 protected $itemsType = 'Google_Service_Compute_Image';
6119 protected $itemsDataType = 'array';
6120 public $kind;
6121 public $nextPageToken;
6122 public $selfLink;
6123
6124 public function setId($id)
6125 {
6126 $this->id = $id;
6127 }
6128
6129 public function getId()
6130 {
6131 return $this->id;
6132 }
6133
6134 public function setItems($items)
6135 {
6136 $this->items = $items;
6137 }
6138
6139 public function getItems()
6140 {
6141 return $this->items;
6142 }
6143
6144 public function setKind($kind)
6145 {
6146 $this->kind = $kind;
6147 }
6148
6149 public function getKind()
6150 {
6151 return $this->kind;
6152 }
6153
6154 public function setNextPageToken($nextPageToken)
6155 {
6156 $this->nextPageToken = $nextPageToken;
6157 }
6158
6159 public function getNextPageToken()
6160 {
6161 return $this->nextPageToken;
6162 }
6163
6164 public function setSelfLink($selfLink)
6165 {
6166 $this->selfLink = $selfLink;
6167 }
6168
6169 public function getSelfLink()
6170 {
6171 return $this->selfLink;
6172 }
6173 }
6174
6175 class Google_Service_Compute_ImageRawDisk extends Google_Model
6176 {
6177 public $containerType;
6178 public $sha1Checksum;
6179 public $source;
6180
6181 public function setContainerType($containerType)
6182 {
6183 $this->containerType = $containerType;
6184 }
6185
6186 public function getContainerType()
6187 {
6188 return $this->containerType;
6189 }
6190
6191 public function setSha1Checksum($sha1Checksum)
6192 {
6193 $this->sha1Checksum = $sha1Checksum;
6194 }
6195
6196 public function getSha1Checksum()
6197 {
6198 return $this->sha1Checksum;
6199 }
6200
6201 public function setSource($source)
6202 {
6203 $this->source = $source;
6204 }
6205
6206 public function getSource()
6207 {
6208 return $this->source;
6209 }
6210 }
6211
6212 class Google_Service_Compute_Instance extends Google_Collection
6213 {
6214 public $canIpForward;
6215 public $creationTimestamp;
6216 public $description;
6217 protected $disksType = 'Google_Service_Compute_AttachedDisk';
6218 protected $disksDataType = 'array';
6219 public $id;
6220 public $kind;
6221 public $machineType;
6222 protected $metadataType = 'Google_Service_Compute_Metadata';
6223 protected $metadataDataType = '';
6224 public $name;
6225 protected $networkInterfacesType = 'Google_Service_Compute_NetworkInterface';
6226 protected $networkInterfacesDataType = 'array';
6227 protected $schedulingType = 'Google_Service_Compute_Scheduling';
6228 protected $schedulingDataType = '';
6229 public $selfLink;
6230 protected $serviceAccountsType = 'Google_Service_Compute_ServiceAccount';
6231 protected $serviceAccountsDataType = 'array';
6232 public $status;
6233 public $statusMessage;
6234 protected $tagsType = 'Google_Service_Compute_Tags';
6235 protected $tagsDataType = '';
6236 public $zone;
6237
6238 public function setCanIpForward($canIpForward)
6239 {
6240 $this->canIpForward = $canIpForward;
6241 }
6242
6243 public function getCanIpForward()
6244 {
6245 return $this->canIpForward;
6246 }
6247
6248 public function setCreationTimestamp($creationTimestamp)
6249 {
6250 $this->creationTimestamp = $creationTimestamp;
6251 }
6252
6253 public function getCreationTimestamp()
6254 {
6255 return $this->creationTimestamp;
6256 }
6257
6258 public function setDescription($description)
6259 {
6260 $this->description = $description;
6261 }
6262
6263 public function getDescription()
6264 {
6265 return $this->description;
6266 }
6267
6268 public function setDisks($disks)
6269 {
6270 $this->disks = $disks;
6271 }
6272
6273 public function getDisks()
6274 {
6275 return $this->disks;
6276 }
6277
6278 public function setId($id)
6279 {
6280 $this->id = $id;
6281 }
6282
6283 public function getId()
6284 {
6285 return $this->id;
6286 }
6287
6288 public function setKind($kind)
6289 {
6290 $this->kind = $kind;
6291 }
6292
6293 public function getKind()
6294 {
6295 return $this->kind;
6296 }
6297
6298 public function setMachineType($machineType)
6299 {
6300 $this->machineType = $machineType;
6301 }
6302
6303 public function getMachineType()
6304 {
6305 return $this->machineType;
6306 }
6307
6308 public function setMetadata(Google_Service_Compute_Metadata $metadata)
6309 {
6310 $this->metadata = $metadata;
6311 }
6312
6313 public function getMetadata()
6314 {
6315 return $this->metadata;
6316 }
6317
6318 public function setName($name)
6319 {
6320 $this->name = $name;
6321 }
6322
6323 public function getName()
6324 {
6325 return $this->name;
6326 }
6327
6328 public function setNetworkInterfaces($networkInterfaces)
6329 {
6330 $this->networkInterfaces = $networkInterfaces;
6331 }
6332
6333 public function getNetworkInterfaces()
6334 {
6335 return $this->networkInterfaces;
6336 }
6337
6338 public function setScheduling(Google_Service_Compute_Scheduling $scheduling)
6339 {
6340 $this->scheduling = $scheduling;
6341 }
6342
6343 public function getScheduling()
6344 {
6345 return $this->scheduling;
6346 }
6347
6348 public function setSelfLink($selfLink)
6349 {
6350 $this->selfLink = $selfLink;
6351 }
6352
6353 public function getSelfLink()
6354 {
6355 return $this->selfLink;
6356 }
6357
6358 public function setServiceAccounts($serviceAccounts)
6359 {
6360 $this->serviceAccounts = $serviceAccounts;
6361 }
6362
6363 public function getServiceAccounts()
6364 {
6365 return $this->serviceAccounts;
6366 }
6367
6368 public function setStatus($status)
6369 {
6370 $this->status = $status;
6371 }
6372
6373 public function getStatus()
6374 {
6375 return $this->status;
6376 }
6377
6378 public function setStatusMessage($statusMessage)
6379 {
6380 $this->statusMessage = $statusMessage;
6381 }
6382
6383 public function getStatusMessage()
6384 {
6385 return $this->statusMessage;
6386 }
6387
6388 public function setTags(Google_Service_Compute_Tags $tags)
6389 {
6390 $this->tags = $tags;
6391 }
6392
6393 public function getTags()
6394 {
6395 return $this->tags;
6396 }
6397
6398 public function setZone($zone)
6399 {
6400 $this->zone = $zone;
6401 }
6402
6403 public function getZone()
6404 {
6405 return $this->zone;
6406 }
6407 }
6408
6409 class Google_Service_Compute_InstanceAggregatedList extends Google_Model
6410 {
6411 public $id;
6412 protected $itemsType = 'Google_Service_Compute_InstancesScopedList';
6413 protected $itemsDataType = 'map';
6414 public $kind;
6415 public $nextPageToken;
6416 public $selfLink;
6417
6418 public function setId($id)
6419 {
6420 $this->id = $id;
6421 }
6422
6423 public function getId()
6424 {
6425 return $this->id;
6426 }
6427
6428 public function setItems($items)
6429 {
6430 $this->items = $items;
6431 }
6432
6433 public function getItems()
6434 {
6435 return $this->items;
6436 }
6437
6438 public function setKind($kind)
6439 {
6440 $this->kind = $kind;
6441 }
6442
6443 public function getKind()
6444 {
6445 return $this->kind;
6446 }
6447
6448 public function setNextPageToken($nextPageToken)
6449 {
6450 $this->nextPageToken = $nextPageToken;
6451 }
6452
6453 public function getNextPageToken()
6454 {
6455 return $this->nextPageToken;
6456 }
6457
6458 public function setSelfLink($selfLink)
6459 {
6460 $this->selfLink = $selfLink;
6461 }
6462
6463 public function getSelfLink()
6464 {
6465 return $this->selfLink;
6466 }
6467 }
6468
6469 class Google_Service_Compute_InstanceList extends Google_Collection
6470 {
6471 public $id;
6472 protected $itemsType = 'Google_Service_Compute_Instance';
6473 protected $itemsDataType = 'array';
6474 public $kind;
6475 public $nextPageToken;
6476 public $selfLink;
6477
6478 public function setId($id)
6479 {
6480 $this->id = $id;
6481 }
6482
6483 public function getId()
6484 {
6485 return $this->id;
6486 }
6487
6488 public function setItems($items)
6489 {
6490 $this->items = $items;
6491 }
6492
6493 public function getItems()
6494 {
6495 return $this->items;
6496 }
6497
6498 public function setKind($kind)
6499 {
6500 $this->kind = $kind;
6501 }
6502
6503 public function getKind()
6504 {
6505 return $this->kind;
6506 }
6507
6508 public function setNextPageToken($nextPageToken)
6509 {
6510 $this->nextPageToken = $nextPageToken;
6511 }
6512
6513 public function getNextPageToken()
6514 {
6515 return $this->nextPageToken;
6516 }
6517
6518 public function setSelfLink($selfLink)
6519 {
6520 $this->selfLink = $selfLink;
6521 }
6522
6523 public function getSelfLink()
6524 {
6525 return $this->selfLink;
6526 }
6527 }
6528
6529 class Google_Service_Compute_InstanceReference extends Google_Model
6530 {
6531 public $instance;
6532
6533 public function setInstance($instance)
6534 {
6535 $this->instance = $instance;
6536 }
6537
6538 public function getInstance()
6539 {
6540 return $this->instance;
6541 }
6542 }
6543
6544 class Google_Service_Compute_InstancesScopedList extends Google_Collection
6545 {
6546 protected $instancesType = 'Google_Service_Compute_Instance';
6547 protected $instancesDataType = 'array';
6548 protected $warningType = 'Google_Service_Compute_InstancesScopedListWarning';
6549 protected $warningDataType = '';
6550
6551 public function setInstances($instances)
6552 {
6553 $this->instances = $instances;
6554 }
6555
6556 public function getInstances()
6557 {
6558 return $this->instances;
6559 }
6560
6561 public function setWarning(Google_Service_Compute_InstancesScopedListWarning $warning)
6562 {
6563 $this->warning = $warning;
6564 }
6565
6566 public function getWarning()
6567 {
6568 return $this->warning;
6569 }
6570 }
6571
6572 class Google_Service_Compute_InstancesScopedListWarning extends Google_Collection
6573 {
6574 public $code;
6575 protected $dataType = 'Google_Service_Compute_InstancesScopedListWarningData';
6576 protected $dataDataType = 'array';
6577 public $message;
6578
6579 public function setCode($code)
6580 {
6581 $this->code = $code;
6582 }
6583
6584 public function getCode()
6585 {
6586 return $this->code;
6587 }
6588
6589 public function setData($data)
6590 {
6591 $this->data = $data;
6592 }
6593
6594 public function getData()
6595 {
6596 return $this->data;
6597 }
6598
6599 public function setMessage($message)
6600 {
6601 $this->message = $message;
6602 }
6603
6604 public function getMessage()
6605 {
6606 return $this->message;
6607 }
6608 }
6609
6610 class Google_Service_Compute_InstancesScopedListWarningData extends Google_Model
6611 {
6612 public $key;
6613 public $value;
6614
6615 public function setKey($key)
6616 {
6617 $this->key = $key;
6618 }
6619
6620 public function getKey()
6621 {
6622 return $this->key;
6623 }
6624
6625 public function setValue($value)
6626 {
6627 $this->value = $value;
6628 }
6629
6630 public function getValue()
6631 {
6632 return $this->value;
6633 }
6634 }
6635
6636 class Google_Service_Compute_MachineType extends Google_Collection
6637 {
6638 public $creationTimestamp;
6639 protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
6640 protected $deprecatedDataType = '';
6641 public $description;
6642 public $guestCpus;
6643 public $id;
6644 public $imageSpaceGb;
6645 public $kind;
6646 public $maximumPersistentDisks;
6647 public $maximumPersistentDisksSizeGb;
6648 public $memoryMb;
6649 public $name;
6650 protected $scratchDisksType = 'Google_Service_Compute_MachineTypeScratchDisks';
6651 protected $scratchDisksDataType = 'array';
6652 public $selfLink;
6653 public $zone;
6654
6655 public function setCreationTimestamp($creationTimestamp)
6656 {
6657 $this->creationTimestamp = $creationTimestamp;
6658 }
6659
6660 public function getCreationTimestamp()
6661 {
6662 return $this->creationTimestamp;
6663 }
6664
6665 public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
6666 {
6667 $this->deprecated = $deprecated;
6668 }
6669
6670 public function getDeprecated()
6671 {
6672 return $this->deprecated;
6673 }
6674
6675 public function setDescription($description)
6676 {
6677 $this->description = $description;
6678 }
6679
6680 public function getDescription()
6681 {
6682 return $this->description;
6683 }
6684
6685 public function setGuestCpus($guestCpus)
6686 {
6687 $this->guestCpus = $guestCpus;
6688 }
6689
6690 public function getGuestCpus()
6691 {
6692 return $this->guestCpus;
6693 }
6694
6695 public function setId($id)
6696 {
6697 $this->id = $id;
6698 }
6699
6700 public function getId()
6701 {
6702 return $this->id;
6703 }
6704
6705 public function setImageSpaceGb($imageSpaceGb)
6706 {
6707 $this->imageSpaceGb = $imageSpaceGb;
6708 }
6709
6710 public function getImageSpaceGb()
6711 {
6712 return $this->imageSpaceGb;
6713 }
6714
6715 public function setKind($kind)
6716 {
6717 $this->kind = $kind;
6718 }
6719
6720 public function getKind()
6721 {
6722 return $this->kind;
6723 }
6724
6725 public function setMaximumPersistentDisks($maximumPersistentDisks)
6726 {
6727 $this->maximumPersistentDisks = $maximumPersistentDisks;
6728 }
6729
6730 public function getMaximumPersistentDisks()
6731 {
6732 return $this->maximumPersistentDisks;
6733 }
6734
6735 public function setMaximumPersistentDisksSizeGb($maximumPersistentDisksSizeGb)
6736 {
6737 $this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb;
6738 }
6739
6740 public function getMaximumPersistentDisksSizeGb()
6741 {
6742 return $this->maximumPersistentDisksSizeGb;
6743 }
6744
6745 public function setMemoryMb($memoryMb)
6746 {
6747 $this->memoryMb = $memoryMb;
6748 }
6749
6750 public function getMemoryMb()
6751 {
6752 return $this->memoryMb;
6753 }
6754
6755 public function setName($name)
6756 {
6757 $this->name = $name;
6758 }
6759
6760 public function getName()
6761 {
6762 return $this->name;
6763 }
6764
6765 public function setScratchDisks($scratchDisks)
6766 {
6767 $this->scratchDisks = $scratchDisks;
6768 }
6769
6770 public function getScratchDisks()
6771 {
6772 return $this->scratchDisks;
6773 }
6774
6775 public function setSelfLink($selfLink)
6776 {
6777 $this->selfLink = $selfLink;
6778 }
6779
6780 public function getSelfLink()
6781 {
6782 return $this->selfLink;
6783 }
6784
6785 public function setZone($zone)
6786 {
6787 $this->zone = $zone;
6788 }
6789
6790 public function getZone()
6791 {
6792 return $this->zone;
6793 }
6794 }
6795
6796 class Google_Service_Compute_MachineTypeAggregatedList extends Google_Model
6797 {
6798 public $id;
6799 protected $itemsType = 'Google_Service_Compute_MachineTypesScopedList';
6800 protected $itemsDataType = 'map';
6801 public $kind;
6802 public $nextPageToken;
6803 public $selfLink;
6804
6805 public function setId($id)
6806 {
6807 $this->id = $id;
6808 }
6809
6810 public function getId()
6811 {
6812 return $this->id;
6813 }
6814
6815 public function setItems($items)
6816 {
6817 $this->items = $items;
6818 }
6819
6820 public function getItems()
6821 {
6822 return $this->items;
6823 }
6824
6825 public function setKind($kind)
6826 {
6827 $this->kind = $kind;
6828 }
6829
6830 public function getKind()
6831 {
6832 return $this->kind;
6833 }
6834
6835 public function setNextPageToken($nextPageToken)
6836 {
6837 $this->nextPageToken = $nextPageToken;
6838 }
6839
6840 public function getNextPageToken()
6841 {
6842 return $this->nextPageToken;
6843 }
6844
6845 public function setSelfLink($selfLink)
6846 {
6847 $this->selfLink = $selfLink;
6848 }
6849
6850 public function getSelfLink()
6851 {
6852 return $this->selfLink;
6853 }
6854 }
6855
6856 class Google_Service_Compute_MachineTypeList extends Google_Collection
6857 {
6858 public $id;
6859 protected $itemsType = 'Google_Service_Compute_MachineType';
6860 protected $itemsDataType = 'array';
6861 public $kind;
6862 public $nextPageToken;
6863 public $selfLink;
6864
6865 public function setId($id)
6866 {
6867 $this->id = $id;
6868 }
6869
6870 public function getId()
6871 {
6872 return $this->id;
6873 }
6874
6875 public function setItems($items)
6876 {
6877 $this->items = $items;
6878 }
6879
6880 public function getItems()
6881 {
6882 return $this->items;
6883 }
6884
6885 public function setKind($kind)
6886 {
6887 $this->kind = $kind;
6888 }
6889
6890 public function getKind()
6891 {
6892 return $this->kind;
6893 }
6894
6895 public function setNextPageToken($nextPageToken)
6896 {
6897 $this->nextPageToken = $nextPageToken;
6898 }
6899
6900 public function getNextPageToken()
6901 {
6902 return $this->nextPageToken;
6903 }
6904
6905 public function setSelfLink($selfLink)
6906 {
6907 $this->selfLink = $selfLink;
6908 }
6909
6910 public function getSelfLink()
6911 {
6912 return $this->selfLink;
6913 }
6914 }
6915
6916 class Google_Service_Compute_MachineTypeScratchDisks extends Google_Model
6917 {
6918 public $diskGb;
6919
6920 public function setDiskGb($diskGb)
6921 {
6922 $this->diskGb = $diskGb;
6923 }
6924
6925 public function getDiskGb()
6926 {
6927 return $this->diskGb;
6928 }
6929 }
6930
6931 class Google_Service_Compute_MachineTypesScopedList extends Google_Collection
6932 {
6933 protected $machineTypesType = 'Google_Service_Compute_MachineType';
6934 protected $machineTypesDataType = 'array';
6935 protected $warningType = 'Google_Service_Compute_MachineTypesScopedListWarning';
6936 protected $warningDataType = '';
6937
6938 public function setMachineTypes($machineTypes)
6939 {
6940 $this->machineTypes = $machineTypes;
6941 }
6942
6943 public function getMachineTypes()
6944 {
6945 return $this->machineTypes;
6946 }
6947
6948 public function setWarning(Google_Service_Compute_MachineTypesScopedListWarning $warning)
6949 {
6950 $this->warning = $warning;
6951 }
6952
6953 public function getWarning()
6954 {
6955 return $this->warning;
6956 }
6957 }
6958
6959 class Google_Service_Compute_MachineTypesScopedListWarning extends Google_Collection
6960 {
6961 public $code;
6962 protected $dataType = 'Google_Service_Compute_MachineTypesScopedListWarningData';
6963 protected $dataDataType = 'array';
6964 public $message;
6965
6966 public function setCode($code)
6967 {
6968 $this->code = $code;
6969 }
6970
6971 public function getCode()
6972 {
6973 return $this->code;
6974 }
6975
6976 public function setData($data)
6977 {
6978 $this->data = $data;
6979 }
6980
6981 public function getData()
6982 {
6983 return $this->data;
6984 }
6985
6986 public function setMessage($message)
6987 {
6988 $this->message = $message;
6989 }
6990
6991 public function getMessage()
6992 {
6993 return $this->message;
6994 }
6995 }
6996
6997 class Google_Service_Compute_MachineTypesScopedListWarningData extends Google_Model
6998 {
6999 public $key;
7000 public $value;
7001
7002 public function setKey($key)
7003 {
7004 $this->key = $key;
7005 }
7006
7007 public function getKey()
7008 {
7009 return $this->key;
7010 }
7011
7012 public function setValue($value)
7013 {
7014 $this->value = $value;
7015 }
7016
7017 public function getValue()
7018 {
7019 return $this->value;
7020 }
7021 }
7022
7023 class Google_Service_Compute_Metadata extends Google_Collection
7024 {
7025 public $fingerprint;
7026 protected $itemsType = 'Google_Service_Compute_MetadataItems';
7027 protected $itemsDataType = 'array';
7028 public $kind;
7029
7030 public function setFingerprint($fingerprint)
7031 {
7032 $this->fingerprint = $fingerprint;
7033 }
7034
7035 public function getFingerprint()
7036 {
7037 return $this->fingerprint;
7038 }
7039
7040 public function setItems($items)
7041 {
7042 $this->items = $items;
7043 }
7044
7045 public function getItems()
7046 {
7047 return $this->items;
7048 }
7049
7050 public function setKind($kind)
7051 {
7052 $this->kind = $kind;
7053 }
7054
7055 public function getKind()
7056 {
7057 return $this->kind;
7058 }
7059 }
7060
7061 class Google_Service_Compute_MetadataItems extends Google_Model
7062 {
7063 public $key;
7064 public $value;
7065
7066 public function setKey($key)
7067 {
7068 $this->key = $key;
7069 }
7070
7071 public function getKey()
7072 {
7073 return $this->key;
7074 }
7075
7076 public function setValue($value)
7077 {
7078 $this->value = $value;
7079 }
7080
7081 public function getValue()
7082 {
7083 return $this->value;
7084 }
7085 }
7086
7087 class Google_Service_Compute_Network extends Google_Model
7088 {
7089 public $iPv4Range;
7090 public $creationTimestamp;
7091 public $description;
7092 public $gatewayIPv4;
7093 public $id;
7094 public $kind;
7095 public $name;
7096 public $selfLink;
7097
7098 public function setIPv4Range($iPv4Range)
7099 {
7100 $this->iPv4Range = $iPv4Range;
7101 }
7102
7103 public function getIPv4Range()
7104 {
7105 return $this->iPv4Range;
7106 }
7107
7108 public function setCreationTimestamp($creationTimestamp)
7109 {
7110 $this->creationTimestamp = $creationTimestamp;
7111 }
7112
7113 public function getCreationTimestamp()
7114 {
7115 return $this->creationTimestamp;
7116 }
7117
7118 public function setDescription($description)
7119 {
7120 $this->description = $description;
7121 }
7122
7123 public function getDescription()
7124 {
7125 return $this->description;
7126 }
7127
7128 public function setGatewayIPv4($gatewayIPv4)
7129 {
7130 $this->gatewayIPv4 = $gatewayIPv4;
7131 }
7132
7133 public function getGatewayIPv4()
7134 {
7135 return $this->gatewayIPv4;
7136 }
7137
7138 public function setId($id)
7139 {
7140 $this->id = $id;
7141 }
7142
7143 public function getId()
7144 {
7145 return $this->id;
7146 }
7147
7148 public function setKind($kind)
7149 {
7150 $this->kind = $kind;
7151 }
7152
7153 public function getKind()
7154 {
7155 return $this->kind;
7156 }
7157
7158 public function setName($name)
7159 {
7160 $this->name = $name;
7161 }
7162
7163 public function getName()
7164 {
7165 return $this->name;
7166 }
7167
7168 public function setSelfLink($selfLink)
7169 {
7170 $this->selfLink = $selfLink;
7171 }
7172
7173 public function getSelfLink()
7174 {
7175 return $this->selfLink;
7176 }
7177 }
7178
7179 class Google_Service_Compute_NetworkInterface extends Google_Collection
7180 {
7181 protected $accessConfigsType = 'Google_Service_Compute_AccessConfig';
7182 protected $accessConfigsDataType = 'array';
7183 public $name;
7184 public $network;
7185 public $networkIP;
7186
7187 public function setAccessConfigs($accessConfigs)
7188 {
7189 $this->accessConfigs = $accessConfigs;
7190 }
7191
7192 public function getAccessConfigs()
7193 {
7194 return $this->accessConfigs;
7195 }
7196
7197 public function setName($name)
7198 {
7199 $this->name = $name;
7200 }
7201
7202 public function getName()
7203 {
7204 return $this->name;
7205 }
7206
7207 public function setNetwork($network)
7208 {
7209 $this->network = $network;
7210 }
7211
7212 public function getNetwork()
7213 {
7214 return $this->network;
7215 }
7216
7217 public function setNetworkIP($networkIP)
7218 {
7219 $this->networkIP = $networkIP;
7220 }
7221
7222 public function getNetworkIP()
7223 {
7224 return $this->networkIP;
7225 }
7226 }
7227
7228 class Google_Service_Compute_NetworkList extends Google_Collection
7229 {
7230 public $id;
7231 protected $itemsType = 'Google_Service_Compute_Network';
7232 protected $itemsDataType = 'array';
7233 public $kind;
7234 public $nextPageToken;
7235 public $selfLink;
7236
7237 public function setId($id)
7238 {
7239 $this->id = $id;
7240 }
7241
7242 public function getId()
7243 {
7244 return $this->id;
7245 }
7246
7247 public function setItems($items)
7248 {
7249 $this->items = $items;
7250 }
7251
7252 public function getItems()
7253 {
7254 return $this->items;
7255 }
7256
7257 public function setKind($kind)
7258 {
7259 $this->kind = $kind;
7260 }
7261
7262 public function getKind()
7263 {
7264 return $this->kind;
7265 }
7266
7267 public function setNextPageToken($nextPageToken)
7268 {
7269 $this->nextPageToken = $nextPageToken;
7270 }
7271
7272 public function getNextPageToken()
7273 {
7274 return $this->nextPageToken;
7275 }
7276
7277 public function setSelfLink($selfLink)
7278 {
7279 $this->selfLink = $selfLink;
7280 }
7281
7282 public function getSelfLink()
7283 {
7284 return $this->selfLink;
7285 }
7286 }
7287
7288 class Google_Service_Compute_Operation extends Google_Collection
7289 {
7290 public $clientOperationId;
7291 public $creationTimestamp;
7292 public $endTime;
7293 protected $errorType = 'Google_Service_Compute_OperationError';
7294 protected $errorDataType = '';
7295 public $httpErrorMessage;
7296 public $httpErrorStatusCode;
7297 public $id;
7298 public $insertTime;
7299 public $kind;
7300 public $name;
7301 public $operationType;
7302 public $progress;
7303 public $region;
7304 public $selfLink;
7305 public $startTime;
7306 public $status;
7307 public $statusMessage;
7308 public $targetId;
7309 public $targetLink;
7310 public $user;
7311 protected $warningsType = 'Google_Service_Compute_OperationWarnings';
7312 protected $warningsDataType = 'array';
7313 public $zone;
7314
7315 public function setClientOperationId($clientOperationId)
7316 {
7317 $this->clientOperationId = $clientOperationId;
7318 }
7319
7320 public function getClientOperationId()
7321 {
7322 return $this->clientOperationId;
7323 }
7324
7325 public function setCreationTimestamp($creationTimestamp)
7326 {
7327 $this->creationTimestamp = $creationTimestamp;
7328 }
7329
7330 public function getCreationTimestamp()
7331 {
7332 return $this->creationTimestamp;
7333 }
7334
7335 public function setEndTime($endTime)
7336 {
7337 $this->endTime = $endTime;
7338 }
7339
7340 public function getEndTime()
7341 {
7342 return $this->endTime;
7343 }
7344
7345 public function setError(Google_Service_Compute_OperationError $error)
7346 {
7347 $this->error = $error;
7348 }
7349
7350 public function getError()
7351 {
7352 return $this->error;
7353 }
7354
7355 public function setHttpErrorMessage($httpErrorMessage)
7356 {
7357 $this->httpErrorMessage = $httpErrorMessage;
7358 }
7359
7360 public function getHttpErrorMessage()
7361 {
7362 return $this->httpErrorMessage;
7363 }
7364
7365 public function setHttpErrorStatusCode($httpErrorStatusCode)
7366 {
7367 $this->httpErrorStatusCode = $httpErrorStatusCode;
7368 }
7369
7370 public function getHttpErrorStatusCode()
7371 {
7372 return $this->httpErrorStatusCode;
7373 }
7374
7375 public function setId($id)
7376 {
7377 $this->id = $id;
7378 }
7379
7380 public function getId()
7381 {
7382 return $this->id;
7383 }
7384
7385 public function setInsertTime($insertTime)
7386 {
7387 $this->insertTime = $insertTime;
7388 }
7389
7390 public function getInsertTime()
7391 {
7392 return $this->insertTime;
7393 }
7394
7395 public function setKind($kind)
7396 {
7397 $this->kind = $kind;
7398 }
7399
7400 public function getKind()
7401 {
7402 return $this->kind;
7403 }
7404
7405 public function setName($name)
7406 {
7407 $this->name = $name;
7408 }
7409
7410 public function getName()
7411 {
7412 return $this->name;
7413 }
7414
7415 public function setOperationType($operationType)
7416 {
7417 $this->operationType = $operationType;
7418 }
7419
7420 public function getOperationType()
7421 {
7422 return $this->operationType;
7423 }
7424
7425 public function setProgress($progress)
7426 {
7427 $this->progress = $progress;
7428 }
7429
7430 public function getProgress()
7431 {
7432 return $this->progress;
7433 }
7434
7435 public function setRegion($region)
7436 {
7437 $this->region = $region;
7438 }
7439
7440 public function getRegion()
7441 {
7442 return $this->region;
7443 }
7444
7445 public function setSelfLink($selfLink)
7446 {
7447 $this->selfLink = $selfLink;
7448 }
7449
7450 public function getSelfLink()
7451 {
7452 return $this->selfLink;
7453 }
7454
7455 public function setStartTime($startTime)
7456 {
7457 $this->startTime = $startTime;
7458 }
7459
7460 public function getStartTime()
7461 {
7462 return $this->startTime;
7463 }
7464
7465 public function setStatus($status)
7466 {
7467 $this->status = $status;
7468 }
7469
7470 public function getStatus()
7471 {
7472 return $this->status;
7473 }
7474
7475 public function setStatusMessage($statusMessage)
7476 {
7477 $this->statusMessage = $statusMessage;
7478 }
7479
7480 public function getStatusMessage()
7481 {
7482 return $this->statusMessage;
7483 }
7484
7485 public function setTargetId($targetId)
7486 {
7487 $this->targetId = $targetId;
7488 }
7489
7490 public function getTargetId()
7491 {
7492 return $this->targetId;
7493 }
7494
7495 public function setTargetLink($targetLink)
7496 {
7497 $this->targetLink = $targetLink;
7498 }
7499
7500 public function getTargetLink()
7501 {
7502 return $this->targetLink;
7503 }
7504
7505 public function setUser($user)
7506 {
7507 $this->user = $user;
7508 }
7509
7510 public function getUser()
7511 {
7512 return $this->user;
7513 }
7514
7515 public function setWarnings($warnings)
7516 {
7517 $this->warnings = $warnings;
7518 }
7519
7520 public function getWarnings()
7521 {
7522 return $this->warnings;
7523 }
7524
7525 public function setZone($zone)
7526 {
7527 $this->zone = $zone;
7528 }
7529
7530 public function getZone()
7531 {
7532 return $this->zone;
7533 }
7534 }
7535
7536 class Google_Service_Compute_OperationAggregatedList extends Google_Model
7537 {
7538 public $id;
7539 protected $itemsType = 'Google_Service_Compute_OperationsScopedList';
7540 protected $itemsDataType = 'map';
7541 public $kind;
7542 public $nextPageToken;
7543 public $selfLink;
7544
7545 public function setId($id)
7546 {
7547 $this->id = $id;
7548 }
7549
7550 public function getId()
7551 {
7552 return $this->id;
7553 }
7554
7555 public function setItems($items)
7556 {
7557 $this->items = $items;
7558 }
7559
7560 public function getItems()
7561 {
7562 return $this->items;
7563 }
7564
7565 public function setKind($kind)
7566 {
7567 $this->kind = $kind;
7568 }
7569
7570 public function getKind()
7571 {
7572 return $this->kind;
7573 }
7574
7575 public function setNextPageToken($nextPageToken)
7576 {
7577 $this->nextPageToken = $nextPageToken;
7578 }
7579
7580 public function getNextPageToken()
7581 {
7582 return $this->nextPageToken;
7583 }
7584
7585 public function setSelfLink($selfLink)
7586 {
7587 $this->selfLink = $selfLink;
7588 }
7589
7590 public function getSelfLink()
7591 {
7592 return $this->selfLink;
7593 }
7594 }
7595
7596 class Google_Service_Compute_OperationError extends Google_Collection
7597 {
7598 protected $errorsType = 'Google_Service_Compute_OperationErrorErrors';
7599 protected $errorsDataType = 'array';
7600
7601 public function setErrors($errors)
7602 {
7603 $this->errors = $errors;
7604 }
7605
7606 public function getErrors()
7607 {
7608 return $this->errors;
7609 }
7610 }
7611
7612 class Google_Service_Compute_OperationErrorErrors extends Google_Model
7613 {
7614 public $code;
7615 public $location;
7616 public $message;
7617
7618 public function setCode($code)
7619 {
7620 $this->code = $code;
7621 }
7622
7623 public function getCode()
7624 {
7625 return $this->code;
7626 }
7627
7628 public function setLocation($location)
7629 {
7630 $this->location = $location;
7631 }
7632
7633 public function getLocation()
7634 {
7635 return $this->location;
7636 }
7637
7638 public function setMessage($message)
7639 {
7640 $this->message = $message;
7641 }
7642
7643 public function getMessage()
7644 {
7645 return $this->message;
7646 }
7647 }
7648
7649 class Google_Service_Compute_OperationList extends Google_Collection
7650 {
7651 public $id;
7652 protected $itemsType = 'Google_Service_Compute_Operation';
7653 protected $itemsDataType = 'array';
7654 public $kind;
7655 public $nextPageToken;
7656 public $selfLink;
7657
7658 public function setId($id)
7659 {
7660 $this->id = $id;
7661 }
7662
7663 public function getId()
7664 {
7665 return $this->id;
7666 }
7667
7668 public function setItems($items)
7669 {
7670 $this->items = $items;
7671 }
7672
7673 public function getItems()
7674 {
7675 return $this->items;
7676 }
7677
7678 public function setKind($kind)
7679 {
7680 $this->kind = $kind;
7681 }
7682
7683 public function getKind()
7684 {
7685 return $this->kind;
7686 }
7687
7688 public function setNextPageToken($nextPageToken)
7689 {
7690 $this->nextPageToken = $nextPageToken;
7691 }
7692
7693 public function getNextPageToken()
7694 {
7695 return $this->nextPageToken;
7696 }
7697
7698 public function setSelfLink($selfLink)
7699 {
7700 $this->selfLink = $selfLink;
7701 }
7702
7703 public function getSelfLink()
7704 {
7705 return $this->selfLink;
7706 }
7707 }
7708
7709 class Google_Service_Compute_OperationWarnings extends Google_Collection
7710 {
7711 public $code;
7712 protected $dataType = 'Google_Service_Compute_OperationWarningsData';
7713 protected $dataDataType = 'array';
7714 public $message;
7715
7716 public function setCode($code)
7717 {
7718 $this->code = $code;
7719 }
7720
7721 public function getCode()
7722 {
7723 return $this->code;
7724 }
7725
7726 public function setData($data)
7727 {
7728 $this->data = $data;
7729 }
7730
7731 public function getData()
7732 {
7733 return $this->data;
7734 }
7735
7736 public function setMessage($message)
7737 {
7738 $this->message = $message;
7739 }
7740
7741 public function getMessage()
7742 {
7743 return $this->message;
7744 }
7745 }
7746
7747 class Google_Service_Compute_OperationWarningsData extends Google_Model
7748 {
7749 public $key;
7750 public $value;
7751
7752 public function setKey($key)
7753 {
7754 $this->key = $key;
7755 }
7756
7757 public function getKey()
7758 {
7759 return $this->key;
7760 }
7761
7762 public function setValue($value)
7763 {
7764 $this->value = $value;
7765 }
7766
7767 public function getValue()
7768 {
7769 return $this->value;
7770 }
7771 }
7772
7773 class Google_Service_Compute_OperationsScopedList extends Google_Collection
7774 {
7775 protected $operationsType = 'Google_Service_Compute_Operation';
7776 protected $operationsDataType = 'array';
7777 protected $warningType = 'Google_Service_Compute_OperationsScopedListWarning';
7778 protected $warningDataType = '';
7779
7780 public function setOperations($operations)
7781 {
7782 $this->operations = $operations;
7783 }
7784
7785 public function getOperations()
7786 {
7787 return $this->operations;
7788 }
7789
7790 public function setWarning(Google_Service_Compute_OperationsScopedListWarning $warning)
7791 {
7792 $this->warning = $warning;
7793 }
7794
7795 public function getWarning()
7796 {
7797 return $this->warning;
7798 }
7799 }
7800
7801 class Google_Service_Compute_OperationsScopedListWarning extends Google_Collection
7802 {
7803 public $code;
7804 protected $dataType = 'Google_Service_Compute_OperationsScopedListWarningData';
7805 protected $dataDataType = 'array';
7806 public $message;
7807
7808 public function setCode($code)
7809 {
7810 $this->code = $code;
7811 }
7812
7813 public function getCode()
7814 {
7815 return $this->code;
7816 }
7817
7818 public function setData($data)
7819 {
7820 $this->data = $data;
7821 }
7822
7823 public function getData()
7824 {
7825 return $this->data;
7826 }
7827
7828 public function setMessage($message)
7829 {
7830 $this->message = $message;
7831 }
7832
7833 public function getMessage()
7834 {
7835 return $this->message;
7836 }
7837 }
7838
7839 class Google_Service_Compute_OperationsScopedListWarningData extends Google_Model
7840 {
7841 public $key;
7842 public $value;
7843
7844 public function setKey($key)
7845 {
7846 $this->key = $key;
7847 }
7848
7849 public function getKey()
7850 {
7851 return $this->key;
7852 }
7853
7854 public function setValue($value)
7855 {
7856 $this->value = $value;
7857 }
7858
7859 public function getValue()
7860 {
7861 return $this->value;
7862 }
7863 }
7864
7865 class Google_Service_Compute_Project extends Google_Collection
7866 {
7867 protected $commonInstanceMetadataType = 'Google_Service_Compute_Metadata';
7868 protected $commonInstanceMetadataDataType = '';
7869 public $creationTimestamp;
7870 public $description;
7871 public $id;
7872 public $kind;
7873 public $name;
7874 protected $quotasType = 'Google_Service_Compute_Quota';
7875 protected $quotasDataType = 'array';
7876 public $selfLink;
7877 protected $usageExportLocationType = 'Google_Service_Compute_UsageExportLocation';
7878 protected $usageExportLocationDataType = '';
7879
7880 public function setCommonInstanceMetadata(Google_Service_Compute_Metadata $commonInstanceMetadata)
7881 {
7882 $this->commonInstanceMetadata = $commonInstanceMetadata;
7883 }
7884
7885 public function getCommonInstanceMetadata()
7886 {
7887 return $this->commonInstanceMetadata;
7888 }
7889
7890 public function setCreationTimestamp($creationTimestamp)
7891 {
7892 $this->creationTimestamp = $creationTimestamp;
7893 }
7894
7895 public function getCreationTimestamp()
7896 {
7897 return $this->creationTimestamp;
7898 }
7899
7900 public function setDescription($description)
7901 {
7902 $this->description = $description;
7903 }
7904
7905 public function getDescription()
7906 {
7907 return $this->description;
7908 }
7909
7910 public function setId($id)
7911 {
7912 $this->id = $id;
7913 }
7914
7915 public function getId()
7916 {
7917 return $this->id;
7918 }
7919
7920 public function setKind($kind)
7921 {
7922 $this->kind = $kind;
7923 }
7924
7925 public function getKind()
7926 {
7927 return $this->kind;
7928 }
7929
7930 public function setName($name)
7931 {
7932 $this->name = $name;
7933 }
7934
7935 public function getName()
7936 {
7937 return $this->name;
7938 }
7939
7940 public function setQuotas($quotas)
7941 {
7942 $this->quotas = $quotas;
7943 }
7944
7945 public function getQuotas()
7946 {
7947 return $this->quotas;
7948 }
7949
7950 public function setSelfLink($selfLink)
7951 {
7952 $this->selfLink = $selfLink;
7953 }
7954
7955 public function getSelfLink()
7956 {
7957 return $this->selfLink;
7958 }
7959
7960 public function setUsageExportLocation(Google_Service_Compute_UsageExportLocation $usageExportLocation)
7961 {
7962 $this->usageExportLocation = $usageExportLocation;
7963 }
7964
7965 public function getUsageExportLocation()
7966 {
7967 return $this->usageExportLocation;
7968 }
7969 }
7970
7971 class Google_Service_Compute_Quota extends Google_Model
7972 {
7973 public $limit;
7974 public $metric;
7975 public $usage;
7976
7977 public function setLimit($limit)
7978 {
7979 $this->limit = $limit;
7980 }
7981
7982 public function getLimit()
7983 {
7984 return $this->limit;
7985 }
7986
7987 public function setMetric($metric)
7988 {
7989 $this->metric = $metric;
7990 }
7991
7992 public function getMetric()
7993 {
7994 return $this->metric;
7995 }
7996
7997 public function setUsage($usage)
7998 {
7999 $this->usage = $usage;
8000 }
8001
8002 public function getUsage()
8003 {
8004 return $this->usage;
8005 }
8006 }
8007
8008 class Google_Service_Compute_Region extends Google_Collection
8009 {
8010 public $creationTimestamp;
8011 protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
8012 protected $deprecatedDataType = '';
8013 public $description;
8014 public $id;
8015 public $kind;
8016 public $name;
8017 protected $quotasType = 'Google_Service_Compute_Quota';
8018 protected $quotasDataType = 'array';
8019 public $selfLink;
8020 public $status;
8021 public $zones;
8022
8023 public function setCreationTimestamp($creationTimestamp)
8024 {
8025 $this->creationTimestamp = $creationTimestamp;
8026 }
8027
8028 public function getCreationTimestamp()
8029 {
8030 return $this->creationTimestamp;
8031 }
8032
8033 public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
8034 {
8035 $this->deprecated = $deprecated;
8036 }
8037
8038 public function getDeprecated()
8039 {
8040 return $this->deprecated;
8041 }
8042
8043 public function setDescription($description)
8044 {
8045 $this->description = $description;
8046 }
8047
8048 public function getDescription()
8049 {
8050 return $this->description;
8051 }
8052
8053 public function setId($id)
8054 {
8055 $this->id = $id;
8056 }
8057
8058 public function getId()
8059 {
8060 return $this->id;
8061 }
8062
8063 public function setKind($kind)
8064 {
8065 $this->kind = $kind;
8066 }
8067
8068 public function getKind()
8069 {
8070 return $this->kind;
8071 }
8072
8073 public function setName($name)
8074 {
8075 $this->name = $name;
8076 }
8077
8078 public function getName()
8079 {
8080 return $this->name;
8081 }
8082
8083 public function setQuotas($quotas)
8084 {
8085 $this->quotas = $quotas;
8086 }
8087
8088 public function getQuotas()
8089 {
8090 return $this->quotas;
8091 }
8092
8093 public function setSelfLink($selfLink)
8094 {
8095 $this->selfLink = $selfLink;
8096 }
8097
8098 public function getSelfLink()
8099 {
8100 return $this->selfLink;
8101 }
8102
8103 public function setStatus($status)
8104 {
8105 $this->status = $status;
8106 }
8107
8108 public function getStatus()
8109 {
8110 return $this->status;
8111 }
8112
8113 public function setZones($zones)
8114 {
8115 $this->zones = $zones;
8116 }
8117
8118 public function getZones()
8119 {
8120 return $this->zones;
8121 }
8122 }
8123
8124 class Google_Service_Compute_RegionList extends Google_Collection
8125 {
8126 public $id;
8127 protected $itemsType = 'Google_Service_Compute_Region';
8128 protected $itemsDataType = 'array';
8129 public $kind;
8130 public $nextPageToken;
8131 public $selfLink;
8132
8133 public function setId($id)
8134 {
8135 $this->id = $id;
8136 }
8137
8138 public function getId()
8139 {
8140 return $this->id;
8141 }
8142
8143 public function setItems($items)
8144 {
8145 $this->items = $items;
8146 }
8147
8148 public function getItems()
8149 {
8150 return $this->items;
8151 }
8152
8153 public function setKind($kind)
8154 {
8155 $this->kind = $kind;
8156 }
8157
8158 public function getKind()
8159 {
8160 return $this->kind;
8161 }
8162
8163 public function setNextPageToken($nextPageToken)
8164 {
8165 $this->nextPageToken = $nextPageToken;
8166 }
8167
8168 public function getNextPageToken()
8169 {
8170 return $this->nextPageToken;
8171 }
8172
8173 public function setSelfLink($selfLink)
8174 {
8175 $this->selfLink = $selfLink;
8176 }
8177
8178 public function getSelfLink()
8179 {
8180 return $this->selfLink;
8181 }
8182 }
8183
8184 class Google_Service_Compute_Route extends Google_Collection
8185 {
8186 public $creationTimestamp;
8187 public $description;
8188 public $destRange;
8189 public $id;
8190 public $kind;
8191 public $name;
8192 public $network;
8193 public $nextHopGateway;
8194 public $nextHopInstance;
8195 public $nextHopIp;
8196 public $nextHopNetwork;
8197 public $priority;
8198 public $selfLink;
8199 public $tags;
8200 protected $warningsType = 'Google_Service_Compute_RouteWarnings';
8201 protected $warningsDataType = 'array';
8202
8203 public function setCreationTimestamp($creationTimestamp)
8204 {
8205 $this->creationTimestamp = $creationTimestamp;
8206 }
8207
8208 public function getCreationTimestamp()
8209 {
8210 return $this->creationTimestamp;
8211 }
8212
8213 public function setDescription($description)
8214 {
8215 $this->description = $description;
8216 }
8217
8218 public function getDescription()
8219 {
8220 return $this->description;
8221 }
8222
8223 public function setDestRange($destRange)
8224 {
8225 $this->destRange = $destRange;
8226 }
8227
8228 public function getDestRange()
8229 {
8230 return $this->destRange;
8231 }
8232
8233 public function setId($id)
8234 {
8235 $this->id = $id;
8236 }
8237
8238 public function getId()
8239 {
8240 return $this->id;
8241 }
8242
8243 public function setKind($kind)
8244 {
8245 $this->kind = $kind;
8246 }
8247
8248 public function getKind()
8249 {
8250 return $this->kind;
8251 }
8252
8253 public function setName($name)
8254 {
8255 $this->name = $name;
8256 }
8257
8258 public function getName()
8259 {
8260 return $this->name;
8261 }
8262
8263 public function setNetwork($network)
8264 {
8265 $this->network = $network;
8266 }
8267
8268 public function getNetwork()
8269 {
8270 return $this->network;
8271 }
8272
8273 public function setNextHopGateway($nextHopGateway)
8274 {
8275 $this->nextHopGateway = $nextHopGateway;
8276 }
8277
8278 public function getNextHopGateway()
8279 {
8280 return $this->nextHopGateway;
8281 }
8282
8283 public function setNextHopInstance($nextHopInstance)
8284 {
8285 $this->nextHopInstance = $nextHopInstance;
8286 }
8287
8288 public function getNextHopInstance()
8289 {
8290 return $this->nextHopInstance;
8291 }
8292
8293 public function setNextHopIp($nextHopIp)
8294 {
8295 $this->nextHopIp = $nextHopIp;
8296 }
8297
8298 public function getNextHopIp()
8299 {
8300 return $this->nextHopIp;
8301 }
8302
8303 public function setNextHopNetwork($nextHopNetwork)
8304 {
8305 $this->nextHopNetwork = $nextHopNetwork;
8306 }
8307
8308 public function getNextHopNetwork()
8309 {
8310 return $this->nextHopNetwork;
8311 }
8312
8313 public function setPriority($priority)
8314 {
8315 $this->priority = $priority;
8316 }
8317
8318 public function getPriority()
8319 {
8320 return $this->priority;
8321 }
8322
8323 public function setSelfLink($selfLink)
8324 {
8325 $this->selfLink = $selfLink;
8326 }
8327
8328 public function getSelfLink()
8329 {
8330 return $this->selfLink;
8331 }
8332
8333 public function setTags($tags)
8334 {
8335 $this->tags = $tags;
8336 }
8337
8338 public function getTags()
8339 {
8340 return $this->tags;
8341 }
8342
8343 public function setWarnings($warnings)
8344 {
8345 $this->warnings = $warnings;
8346 }
8347
8348 public function getWarnings()
8349 {
8350 return $this->warnings;
8351 }
8352 }
8353
8354 class Google_Service_Compute_RouteList extends Google_Collection
8355 {
8356 public $id;
8357 protected $itemsType = 'Google_Service_Compute_Route';
8358 protected $itemsDataType = 'array';
8359 public $kind;
8360 public $nextPageToken;
8361 public $selfLink;
8362
8363 public function setId($id)
8364 {
8365 $this->id = $id;
8366 }
8367
8368 public function getId()
8369 {
8370 return $this->id;
8371 }
8372
8373 public function setItems($items)
8374 {
8375 $this->items = $items;
8376 }
8377
8378 public function getItems()
8379 {
8380 return $this->items;
8381 }
8382
8383 public function setKind($kind)
8384 {
8385 $this->kind = $kind;
8386 }
8387
8388 public function getKind()
8389 {
8390 return $this->kind;
8391 }
8392
8393 public function setNextPageToken($nextPageToken)
8394 {
8395 $this->nextPageToken = $nextPageToken;
8396 }
8397
8398 public function getNextPageToken()
8399 {
8400 return $this->nextPageToken;
8401 }
8402
8403 public function setSelfLink($selfLink)
8404 {
8405 $this->selfLink = $selfLink;
8406 }
8407
8408 public function getSelfLink()
8409 {
8410 return $this->selfLink;
8411 }
8412 }
8413
8414 class Google_Service_Compute_RouteWarnings extends Google_Collection
8415 {
8416 public $code;
8417 protected $dataType = 'Google_Service_Compute_RouteWarningsData';
8418 protected $dataDataType = 'array';
8419 public $message;
8420
8421 public function setCode($code)
8422 {
8423 $this->code = $code;
8424 }
8425
8426 public function getCode()
8427 {
8428 return $this->code;
8429 }
8430
8431 public function setData($data)
8432 {
8433 $this->data = $data;
8434 }
8435
8436 public function getData()
8437 {
8438 return $this->data;
8439 }
8440
8441 public function setMessage($message)
8442 {
8443 $this->message = $message;
8444 }
8445
8446 public function getMessage()
8447 {
8448 return $this->message;
8449 }
8450 }
8451
8452 class Google_Service_Compute_RouteWarningsData extends Google_Model
8453 {
8454 public $key;
8455 public $value;
8456
8457 public function setKey($key)
8458 {
8459 $this->key = $key;
8460 }
8461
8462 public function getKey()
8463 {
8464 return $this->key;
8465 }
8466
8467 public function setValue($value)
8468 {
8469 $this->value = $value;
8470 }
8471
8472 public function getValue()
8473 {
8474 return $this->value;
8475 }
8476 }
8477
8478 class Google_Service_Compute_Scheduling extends Google_Model
8479 {
8480 public $automaticRestart;
8481 public $onHostMaintenance;
8482
8483 public function setAutomaticRestart($automaticRestart)
8484 {
8485 $this->automaticRestart = $automaticRestart;
8486 }
8487
8488 public function getAutomaticRestart()
8489 {
8490 return $this->automaticRestart;
8491 }
8492
8493 public function setOnHostMaintenance($onHostMaintenance)
8494 {
8495 $this->onHostMaintenance = $onHostMaintenance;
8496 }
8497
8498 public function getOnHostMaintenance()
8499 {
8500 return $this->onHostMaintenance;
8501 }
8502 }
8503
8504 class Google_Service_Compute_SerialPortOutput extends Google_Model
8505 {
8506 public $contents;
8507 public $kind;
8508 public $selfLink;
8509
8510 public function setContents($contents)
8511 {
8512 $this->contents = $contents;
8513 }
8514
8515 public function getContents()
8516 {
8517 return $this->contents;
8518 }
8519
8520 public function setKind($kind)
8521 {
8522 $this->kind = $kind;
8523 }
8524
8525 public function getKind()
8526 {
8527 return $this->kind;
8528 }
8529
8530 public function setSelfLink($selfLink)
8531 {
8532 $this->selfLink = $selfLink;
8533 }
8534
8535 public function getSelfLink()
8536 {
8537 return $this->selfLink;
8538 }
8539 }
8540
8541 class Google_Service_Compute_ServiceAccount extends Google_Collection
8542 {
8543 public $email;
8544 public $scopes;
8545
8546 public function setEmail($email)
8547 {
8548 $this->email = $email;
8549 }
8550
8551 public function getEmail()
8552 {
8553 return $this->email;
8554 }
8555
8556 public function setScopes($scopes)
8557 {
8558 $this->scopes = $scopes;
8559 }
8560
8561 public function getScopes()
8562 {
8563 return $this->scopes;
8564 }
8565 }
8566
8567 class Google_Service_Compute_Snapshot extends Google_Model
8568 {
8569 public $creationTimestamp;
8570 public $description;
8571 public $diskSizeGb;
8572 public $id;
8573 public $kind;
8574 public $name;
8575 public $selfLink;
8576 public $sourceDisk;
8577 public $sourceDiskId;
8578 public $status;
8579 public $storageBytes;
8580 public $storageBytesStatus;
8581
8582 public function setCreationTimestamp($creationTimestamp)
8583 {
8584 $this->creationTimestamp = $creationTimestamp;
8585 }
8586
8587 public function getCreationTimestamp()
8588 {
8589 return $this->creationTimestamp;
8590 }
8591
8592 public function setDescription($description)
8593 {
8594 $this->description = $description;
8595 }
8596
8597 public function getDescription()
8598 {
8599 return $this->description;
8600 }
8601
8602 public function setDiskSizeGb($diskSizeGb)
8603 {
8604 $this->diskSizeGb = $diskSizeGb;
8605 }
8606
8607 public function getDiskSizeGb()
8608 {
8609 return $this->diskSizeGb;
8610 }
8611
8612 public function setId($id)
8613 {
8614 $this->id = $id;
8615 }
8616
8617 public function getId()
8618 {
8619 return $this->id;
8620 }
8621
8622 public function setKind($kind)
8623 {
8624 $this->kind = $kind;
8625 }
8626
8627 public function getKind()
8628 {
8629 return $this->kind;
8630 }
8631
8632 public function setName($name)
8633 {
8634 $this->name = $name;
8635 }
8636
8637 public function getName()
8638 {
8639 return $this->name;
8640 }
8641
8642 public function setSelfLink($selfLink)
8643 {
8644 $this->selfLink = $selfLink;
8645 }
8646
8647 public function getSelfLink()
8648 {
8649 return $this->selfLink;
8650 }
8651
8652 public function setSourceDisk($sourceDisk)
8653 {
8654 $this->sourceDisk = $sourceDisk;
8655 }
8656
8657 public function getSourceDisk()
8658 {
8659 return $this->sourceDisk;
8660 }
8661
8662 public function setSourceDiskId($sourceDiskId)
8663 {
8664 $this->sourceDiskId = $sourceDiskId;
8665 }
8666
8667 public function getSourceDiskId()
8668 {
8669 return $this->sourceDiskId;
8670 }
8671
8672 public function setStatus($status)
8673 {
8674 $this->status = $status;
8675 }
8676
8677 public function getStatus()
8678 {
8679 return $this->status;
8680 }
8681
8682 public function setStorageBytes($storageBytes)
8683 {
8684 $this->storageBytes = $storageBytes;
8685 }
8686
8687 public function getStorageBytes()
8688 {
8689 return $this->storageBytes;
8690 }
8691
8692 public function setStorageBytesStatus($storageBytesStatus)
8693 {
8694 $this->storageBytesStatus = $storageBytesStatus;
8695 }
8696
8697 public function getStorageBytesStatus()
8698 {
8699 return $this->storageBytesStatus;
8700 }
8701 }
8702
8703 class Google_Service_Compute_SnapshotList extends Google_Collection
8704 {
8705 public $id;
8706 protected $itemsType = 'Google_Service_Compute_Snapshot';
8707 protected $itemsDataType = 'array';
8708 public $kind;
8709 public $nextPageToken;
8710 public $selfLink;
8711
8712 public function setId($id)
8713 {
8714 $this->id = $id;
8715 }
8716
8717 public function getId()
8718 {
8719 return $this->id;
8720 }
8721
8722 public function setItems($items)
8723 {
8724 $this->items = $items;
8725 }
8726
8727 public function getItems()
8728 {
8729 return $this->items;
8730 }
8731
8732 public function setKind($kind)
8733 {
8734 $this->kind = $kind;
8735 }
8736
8737 public function getKind()
8738 {
8739 return $this->kind;
8740 }
8741
8742 public function setNextPageToken($nextPageToken)
8743 {
8744 $this->nextPageToken = $nextPageToken;
8745 }
8746
8747 public function getNextPageToken()
8748 {
8749 return $this->nextPageToken;
8750 }
8751
8752 public function setSelfLink($selfLink)
8753 {
8754 $this->selfLink = $selfLink;
8755 }
8756
8757 public function getSelfLink()
8758 {
8759 return $this->selfLink;
8760 }
8761 }
8762
8763 class Google_Service_Compute_Tags extends Google_Collection
8764 {
8765 public $fingerprint;
8766 public $items;
8767
8768 public function setFingerprint($fingerprint)
8769 {
8770 $this->fingerprint = $fingerprint;
8771 }
8772
8773 public function getFingerprint()
8774 {
8775 return $this->fingerprint;
8776 }
8777
8778 public function setItems($items)
8779 {
8780 $this->items = $items;
8781 }
8782
8783 public function getItems()
8784 {
8785 return $this->items;
8786 }
8787 }
8788
8789 class Google_Service_Compute_TargetInstance extends Google_Model
8790 {
8791 public $creationTimestamp;
8792 public $description;
8793 public $id;
8794 public $instance;
8795 public $kind;
8796 public $name;
8797 public $natPolicy;
8798 public $selfLink;
8799 public $zone;
8800
8801 public function setCreationTimestamp($creationTimestamp)
8802 {
8803 $this->creationTimestamp = $creationTimestamp;
8804 }
8805
8806 public function getCreationTimestamp()
8807 {
8808 return $this->creationTimestamp;
8809 }
8810
8811 public function setDescription($description)
8812 {
8813 $this->description = $description;
8814 }
8815
8816 public function getDescription()
8817 {
8818 return $this->description;
8819 }
8820
8821 public function setId($id)
8822 {
8823 $this->id = $id;
8824 }
8825
8826 public function getId()
8827 {
8828 return $this->id;
8829 }
8830
8831 public function setInstance($instance)
8832 {
8833 $this->instance = $instance;
8834 }
8835
8836 public function getInstance()
8837 {
8838 return $this->instance;
8839 }
8840
8841 public function setKind($kind)
8842 {
8843 $this->kind = $kind;
8844 }
8845
8846 public function getKind()
8847 {
8848 return $this->kind;
8849 }
8850
8851 public function setName($name)
8852 {
8853 $this->name = $name;
8854 }
8855
8856 public function getName()
8857 {
8858 return $this->name;
8859 }
8860
8861 public function setNatPolicy($natPolicy)
8862 {
8863 $this->natPolicy = $natPolicy;
8864 }
8865
8866 public function getNatPolicy()
8867 {
8868 return $this->natPolicy;
8869 }
8870
8871 public function setSelfLink($selfLink)
8872 {
8873 $this->selfLink = $selfLink;
8874 }
8875
8876 public function getSelfLink()
8877 {
8878 return $this->selfLink;
8879 }
8880
8881 public function setZone($zone)
8882 {
8883 $this->zone = $zone;
8884 }
8885
8886 public function getZone()
8887 {
8888 return $this->zone;
8889 }
8890 }
8891
8892 class Google_Service_Compute_TargetInstanceAggregatedList extends Google_Model
8893 {
8894 public $id;
8895 protected $itemsType = 'Google_Service_Compute_TargetInstancesScopedList';
8896 protected $itemsDataType = 'map';
8897 public $kind;
8898 public $nextPageToken;
8899 public $selfLink;
8900
8901 public function setId($id)
8902 {
8903 $this->id = $id;
8904 }
8905
8906 public function getId()
8907 {
8908 return $this->id;
8909 }
8910
8911 public function setItems($items)
8912 {
8913 $this->items = $items;
8914 }
8915
8916 public function getItems()
8917 {
8918 return $this->items;
8919 }
8920
8921 public function setKind($kind)
8922 {
8923 $this->kind = $kind;
8924 }
8925
8926 public function getKind()
8927 {
8928 return $this->kind;
8929 }
8930
8931 public function setNextPageToken($nextPageToken)
8932 {
8933 $this->nextPageToken = $nextPageToken;
8934 }
8935
8936 public function getNextPageToken()
8937 {
8938 return $this->nextPageToken;
8939 }
8940
8941 public function setSelfLink($selfLink)
8942 {
8943 $this->selfLink = $selfLink;
8944 }
8945
8946 public function getSelfLink()
8947 {
8948 return $this->selfLink;
8949 }
8950 }
8951
8952 class Google_Service_Compute_TargetInstanceList extends Google_Collection
8953 {
8954 public $id;
8955 protected $itemsType = 'Google_Service_Compute_TargetInstance';
8956 protected $itemsDataType = 'array';
8957 public $kind;
8958 public $nextPageToken;
8959 public $selfLink;
8960
8961 public function setId($id)
8962 {
8963 $this->id = $id;
8964 }
8965
8966 public function getId()
8967 {
8968 return $this->id;
8969 }
8970
8971 public function setItems($items)
8972 {
8973 $this->items = $items;
8974 }
8975
8976 public function getItems()
8977 {
8978 return $this->items;
8979 }
8980
8981 public function setKind($kind)
8982 {
8983 $this->kind = $kind;
8984 }
8985
8986 public function getKind()
8987 {
8988 return $this->kind;
8989 }
8990
8991 public function setNextPageToken($nextPageToken)
8992 {
8993 $this->nextPageToken = $nextPageToken;
8994 }
8995
8996 public function getNextPageToken()
8997 {
8998 return $this->nextPageToken;
8999 }
9000
9001 public function setSelfLink($selfLink)
9002 {
9003 $this->selfLink = $selfLink;
9004 }
9005
9006 public function getSelfLink()
9007 {
9008 return $this->selfLink;
9009 }
9010 }
9011
9012 class Google_Service_Compute_TargetInstancesScopedList extends Google_Collection
9013 {
9014 protected $targetInstancesType = 'Google_Service_Compute_TargetInstance';
9015 protected $targetInstancesDataType = 'array';
9016 protected $warningType = 'Google_Service_Compute_TargetInstancesScopedListWarning';
9017 protected $warningDataType = '';
9018
9019 public function setTargetInstances($targetInstances)
9020 {
9021 $this->targetInstances = $targetInstances;
9022 }
9023
9024 public function getTargetInstances()
9025 {
9026 return $this->targetInstances;
9027 }
9028
9029 public function setWarning(Google_Service_Compute_TargetInstancesScopedListWarning $warning)
9030 {
9031 $this->warning = $warning;
9032 }
9033
9034 public function getWarning()
9035 {
9036 return $this->warning;
9037 }
9038 }
9039
9040 class Google_Service_Compute_TargetInstancesScopedListWarning extends Google_Collection
9041 {
9042 public $code;
9043 protected $dataType = 'Google_Service_Compute_TargetInstancesScopedListWarningData';
9044 protected $dataDataType = 'array';
9045 public $message;
9046
9047 public function setCode($code)
9048 {
9049 $this->code = $code;
9050 }
9051
9052 public function getCode()
9053 {
9054 return $this->code;
9055 }
9056
9057 public function setData($data)
9058 {
9059 $this->data = $data;
9060 }
9061
9062 public function getData()
9063 {
9064 return $this->data;
9065 }
9066
9067 public function setMessage($message)
9068 {
9069 $this->message = $message;
9070 }
9071
9072 public function getMessage()
9073 {
9074 return $this->message;
9075 }
9076 }
9077
9078 class Google_Service_Compute_TargetInstancesScopedListWarningData extends Google_Model
9079 {
9080 public $key;
9081 public $value;
9082
9083 public function setKey($key)
9084 {
9085 $this->key = $key;
9086 }
9087
9088 public function getKey()
9089 {
9090 return $this->key;
9091 }
9092
9093 public function setValue($value)
9094 {
9095 $this->value = $value;
9096 }
9097
9098 public function getValue()
9099 {
9100 return $this->value;
9101 }
9102 }
9103
9104 class Google_Service_Compute_TargetPool extends Google_Collection
9105 {
9106 public $backupPool;
9107 public $creationTimestamp;
9108 public $description;
9109 public $failoverRatio;
9110 public $healthChecks;
9111 public $id;
9112 public $instances;
9113 public $kind;
9114 public $name;
9115 public $region;
9116 public $selfLink;
9117 public $sessionAffinity;
9118
9119 public function setBackupPool($backupPool)
9120 {
9121 $this->backupPool = $backupPool;
9122 }
9123
9124 public function getBackupPool()
9125 {
9126 return $this->backupPool;
9127 }
9128
9129 public function setCreationTimestamp($creationTimestamp)
9130 {
9131 $this->creationTimestamp = $creationTimestamp;
9132 }
9133
9134 public function getCreationTimestamp()
9135 {
9136 return $this->creationTimestamp;
9137 }
9138
9139 public function setDescription($description)
9140 {
9141 $this->description = $description;
9142 }
9143
9144 public function getDescription()
9145 {
9146 return $this->description;
9147 }
9148
9149 public function setFailoverRatio($failoverRatio)
9150 {
9151 $this->failoverRatio = $failoverRatio;
9152 }
9153
9154 public function getFailoverRatio()
9155 {
9156 return $this->failoverRatio;
9157 }
9158
9159 public function setHealthChecks($healthChecks)
9160 {
9161 $this->healthChecks = $healthChecks;
9162 }
9163
9164 public function getHealthChecks()
9165 {
9166 return $this->healthChecks;
9167 }
9168
9169 public function setId($id)
9170 {
9171 $this->id = $id;
9172 }
9173
9174 public function getId()
9175 {
9176 return $this->id;
9177 }
9178
9179 public function setInstances($instances)
9180 {
9181 $this->instances = $instances;
9182 }
9183
9184 public function getInstances()
9185 {
9186 return $this->instances;
9187 }
9188
9189 public function setKind($kind)
9190 {
9191 $this->kind = $kind;
9192 }
9193
9194 public function getKind()
9195 {
9196 return $this->kind;
9197 }
9198
9199 public function setName($name)
9200 {
9201 $this->name = $name;
9202 }
9203
9204 public function getName()
9205 {
9206 return $this->name;
9207 }
9208
9209 public function setRegion($region)
9210 {
9211 $this->region = $region;
9212 }
9213
9214 public function getRegion()
9215 {
9216 return $this->region;
9217 }
9218
9219 public function setSelfLink($selfLink)
9220 {
9221 $this->selfLink = $selfLink;
9222 }
9223
9224 public function getSelfLink()
9225 {
9226 return $this->selfLink;
9227 }
9228
9229 public function setSessionAffinity($sessionAffinity)
9230 {
9231 $this->sessionAffinity = $sessionAffinity;
9232 }
9233
9234 public function getSessionAffinity()
9235 {
9236 return $this->sessionAffinity;
9237 }
9238 }
9239
9240 class Google_Service_Compute_TargetPoolAggregatedList extends Google_Model
9241 {
9242 public $id;
9243 protected $itemsType = 'Google_Service_Compute_TargetPoolsScopedList';
9244 protected $itemsDataType = 'map';
9245 public $kind;
9246 public $nextPageToken;
9247 public $selfLink;
9248
9249 public function setId($id)
9250 {
9251 $this->id = $id;
9252 }
9253
9254 public function getId()
9255 {
9256 return $this->id;
9257 }
9258
9259 public function setItems($items)
9260 {
9261 $this->items = $items;
9262 }
9263
9264 public function getItems()
9265 {
9266 return $this->items;
9267 }
9268
9269 public function setKind($kind)
9270 {
9271 $this->kind = $kind;
9272 }
9273
9274 public function getKind()
9275 {
9276 return $this->kind;
9277 }
9278
9279 public function setNextPageToken($nextPageToken)
9280 {
9281 $this->nextPageToken = $nextPageToken;
9282 }
9283
9284 public function getNextPageToken()
9285 {
9286 return $this->nextPageToken;
9287 }
9288
9289 public function setSelfLink($selfLink)
9290 {
9291 $this->selfLink = $selfLink;
9292 }
9293
9294 public function getSelfLink()
9295 {
9296 return $this->selfLink;
9297 }
9298 }
9299
9300 class Google_Service_Compute_TargetPoolInstanceHealth extends Google_Collection
9301 {
9302 protected $healthStatusType = 'Google_Service_Compute_HealthStatus';
9303 protected $healthStatusDataType = 'array';
9304 public $kind;
9305
9306 public function setHealthStatus($healthStatus)
9307 {
9308 $this->healthStatus = $healthStatus;
9309 }
9310
9311 public function getHealthStatus()
9312 {
9313 return $this->healthStatus;
9314 }
9315
9316 public function setKind($kind)
9317 {
9318 $this->kind = $kind;
9319 }
9320
9321 public function getKind()
9322 {
9323 return $this->kind;
9324 }
9325 }
9326
9327 class Google_Service_Compute_TargetPoolList extends Google_Collection
9328 {
9329 public $id;
9330 protected $itemsType = 'Google_Service_Compute_TargetPool';
9331 protected $itemsDataType = 'array';
9332 public $kind;
9333 public $nextPageToken;
9334 public $selfLink;
9335
9336 public function setId($id)
9337 {
9338 $this->id = $id;
9339 }
9340
9341 public function getId()
9342 {
9343 return $this->id;
9344 }
9345
9346 public function setItems($items)
9347 {
9348 $this->items = $items;
9349 }
9350
9351 public function getItems()
9352 {
9353 return $this->items;
9354 }
9355
9356 public function setKind($kind)
9357 {
9358 $this->kind = $kind;
9359 }
9360
9361 public function getKind()
9362 {
9363 return $this->kind;
9364 }
9365
9366 public function setNextPageToken($nextPageToken)
9367 {
9368 $this->nextPageToken = $nextPageToken;
9369 }
9370
9371 public function getNextPageToken()
9372 {
9373 return $this->nextPageToken;
9374 }
9375
9376 public function setSelfLink($selfLink)
9377 {
9378 $this->selfLink = $selfLink;
9379 }
9380
9381 public function getSelfLink()
9382 {
9383 return $this->selfLink;
9384 }
9385 }
9386
9387 class Google_Service_Compute_TargetPoolsAddHealthCheckRequest extends Google_Collection
9388 {
9389 protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
9390 protected $healthChecksDataType = 'array';
9391
9392 public function setHealthChecks($healthChecks)
9393 {
9394 $this->healthChecks = $healthChecks;
9395 }
9396
9397 public function getHealthChecks()
9398 {
9399 return $this->healthChecks;
9400 }
9401 }
9402
9403 class Google_Service_Compute_TargetPoolsAddInstanceRequest extends Google_Collection
9404 {
9405 protected $instancesType = 'Google_Service_Compute_InstanceReference';
9406 protected $instancesDataType = 'array';
9407
9408 public function setInstances($instances)
9409 {
9410 $this->instances = $instances;
9411 }
9412
9413 public function getInstances()
9414 {
9415 return $this->instances;
9416 }
9417 }
9418
9419 class Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest extends Google_Collection
9420 {
9421 protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
9422 protected $healthChecksDataType = 'array';
9423
9424 public function setHealthChecks($healthChecks)
9425 {
9426 $this->healthChecks = $healthChecks;
9427 }
9428
9429 public function getHealthChecks()
9430 {
9431 return $this->healthChecks;
9432 }
9433 }
9434
9435 class Google_Service_Compute_TargetPoolsRemoveInstanceRequest extends Google_Collection
9436 {
9437 protected $instancesType = 'Google_Service_Compute_InstanceReference';
9438 protected $instancesDataType = 'array';
9439
9440 public function setInstances($instances)
9441 {
9442 $this->instances = $instances;
9443 }
9444
9445 public function getInstances()
9446 {
9447 return $this->instances;
9448 }
9449 }
9450
9451 class Google_Service_Compute_TargetPoolsScopedList extends Google_Collection
9452 {
9453 protected $targetPoolsType = 'Google_Service_Compute_TargetPool';
9454 protected $targetPoolsDataType = 'array';
9455 protected $warningType = 'Google_Service_Compute_TargetPoolsScopedListWarning';
9456 protected $warningDataType = '';
9457
9458 public function setTargetPools($targetPools)
9459 {
9460 $this->targetPools = $targetPools;
9461 }
9462
9463 public function getTargetPools()
9464 {
9465 return $this->targetPools;
9466 }
9467
9468 public function setWarning(Google_Service_Compute_TargetPoolsScopedListWarning $warning)
9469 {
9470 $this->warning = $warning;
9471 }
9472
9473 public function getWarning()
9474 {
9475 return $this->warning;
9476 }
9477 }
9478
9479 class Google_Service_Compute_TargetPoolsScopedListWarning extends Google_Collection
9480 {
9481 public $code;
9482 protected $dataType = 'Google_Service_Compute_TargetPoolsScopedListWarningData';
9483 protected $dataDataType = 'array';
9484 public $message;
9485
9486 public function setCode($code)
9487 {
9488 $this->code = $code;
9489 }
9490
9491 public function getCode()
9492 {
9493 return $this->code;
9494 }
9495
9496 public function setData($data)
9497 {
9498 $this->data = $data;
9499 }
9500
9501 public function getData()
9502 {
9503 return $this->data;
9504 }
9505
9506 public function setMessage($message)
9507 {
9508 $this->message = $message;
9509 }
9510
9511 public function getMessage()
9512 {
9513 return $this->message;
9514 }
9515 }
9516
9517 class Google_Service_Compute_TargetPoolsScopedListWarningData extends Google_Model
9518 {
9519 public $key;
9520 public $value;
9521
9522 public function setKey($key)
9523 {
9524 $this->key = $key;
9525 }
9526
9527 public function getKey()
9528 {
9529 return $this->key;
9530 }
9531
9532 public function setValue($value)
9533 {
9534 $this->value = $value;
9535 }
9536
9537 public function getValue()
9538 {
9539 return $this->value;
9540 }
9541 }
9542
9543 class Google_Service_Compute_TargetReference extends Google_Model
9544 {
9545 public $target;
9546
9547 public function setTarget($target)
9548 {
9549 $this->target = $target;
9550 }
9551
9552 public function getTarget()
9553 {
9554 return $this->target;
9555 }
9556 }
9557
9558 class Google_Service_Compute_UsageExportLocation extends Google_Model
9559 {
9560 public $bucketName;
9561 public $reportNamePrefix;
9562
9563 public function setBucketName($bucketName)
9564 {
9565 $this->bucketName = $bucketName;
9566 }
9567
9568 public function getBucketName()
9569 {
9570 return $this->bucketName;
9571 }
9572
9573 public function setReportNamePrefix($reportNamePrefix)
9574 {
9575 $this->reportNamePrefix = $reportNamePrefix;
9576 }
9577
9578 public function getReportNamePrefix()
9579 {
9580 return $this->reportNamePrefix;
9581 }
9582 }
9583
9584 class Google_Service_Compute_Zone extends Google_Collection
9585 {
9586 public $creationTimestamp;
9587 protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
9588 protected $deprecatedDataType = '';
9589 public $description;
9590 public $id;
9591 public $kind;
9592 protected $maintenanceWindowsType = 'Google_Service_Compute_ZoneMaintenanceWindows';
9593 protected $maintenanceWindowsDataType = 'array';
9594 public $name;
9595 public $region;
9596 public $selfLink;
9597 public $status;
9598
9599 public function setCreationTimestamp($creationTimestamp)
9600 {
9601 $this->creationTimestamp = $creationTimestamp;
9602 }
9603
9604 public function getCreationTimestamp()
9605 {
9606 return $this->creationTimestamp;
9607 }
9608
9609 public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
9610 {
9611 $this->deprecated = $deprecated;
9612 }
9613
9614 public function getDeprecated()
9615 {
9616 return $this->deprecated;
9617 }
9618
9619 public function setDescription($description)
9620 {
9621 $this->description = $description;
9622 }
9623
9624 public function getDescription()
9625 {
9626 return $this->description;
9627 }
9628
9629 public function setId($id)
9630 {
9631 $this->id = $id;
9632 }
9633
9634 public function getId()
9635 {
9636 return $this->id;
9637 }
9638
9639 public function setKind($kind)
9640 {
9641 $this->kind = $kind;
9642 }
9643
9644 public function getKind()
9645 {
9646 return $this->kind;
9647 }
9648
9649 public function setMaintenanceWindows($maintenanceWindows)
9650 {
9651 $this->maintenanceWindows = $maintenanceWindows;
9652 }
9653
9654 public function getMaintenanceWindows()
9655 {
9656 return $this->maintenanceWindows;
9657 }
9658
9659 public function setName($name)
9660 {
9661 $this->name = $name;
9662 }
9663
9664 public function getName()
9665 {
9666 return $this->name;
9667 }
9668
9669 public function setRegion($region)
9670 {
9671 $this->region = $region;
9672 }
9673
9674 public function getRegion()
9675 {
9676 return $this->region;
9677 }
9678
9679 public function setSelfLink($selfLink)
9680 {
9681 $this->selfLink = $selfLink;
9682 }
9683
9684 public function getSelfLink()
9685 {
9686 return $this->selfLink;
9687 }
9688
9689 public function setStatus($status)
9690 {
9691 $this->status = $status;
9692 }
9693
9694 public function getStatus()
9695 {
9696 return $this->status;
9697 }
9698 }
9699
9700 class Google_Service_Compute_ZoneList extends Google_Collection
9701 {
9702 public $id;
9703 protected $itemsType = 'Google_Service_Compute_Zone';
9704 protected $itemsDataType = 'array';
9705 public $kind;
9706 public $nextPageToken;
9707 public $selfLink;
9708
9709 public function setId($id)
9710 {
9711 $this->id = $id;
9712 }
9713
9714 public function getId()
9715 {
9716 return $this->id;
9717 }
9718
9719 public function setItems($items)
9720 {
9721 $this->items = $items;
9722 }
9723
9724 public function getItems()
9725 {
9726 return $this->items;
9727 }
9728
9729 public function setKind($kind)
9730 {
9731 $this->kind = $kind;
9732 }
9733
9734 public function getKind()
9735 {
9736 return $this->kind;
9737 }
9738
9739 public function setNextPageToken($nextPageToken)
9740 {
9741 $this->nextPageToken = $nextPageToken;
9742 }
9743
9744 public function getNextPageToken()
9745 {
9746 return $this->nextPageToken;
9747 }
9748
9749 public function setSelfLink($selfLink)
9750 {
9751 $this->selfLink = $selfLink;
9752 }
9753
9754 public function getSelfLink()
9755 {
9756 return $this->selfLink;
9757 }
9758 }
9759
9760 class Google_Service_Compute_ZoneMaintenanceWindows extends Google_Model
9761 {
9762 public $beginTime;
9763 public $description;
9764 public $endTime;
9765 public $name;
9766
9767 public function setBeginTime($beginTime)
9768 {
9769 $this->beginTime = $beginTime;
9770 }
9771
9772 public function getBeginTime()
9773 {
9774 return $this->beginTime;
9775 }
9776
9777 public function setDescription($description)
9778 {
9779 $this->description = $description;
9780 }
9781
9782 public function getDescription()
9783 {
9784 return $this->description;
9785 }
9786
9787 public function setEndTime($endTime)
9788 {
9789 $this->endTime = $endTime;
9790 }
9791
9792 public function getEndTime()
9793 {
9794 return $this->endTime;
9795 }
9796
9797 public function setName($name)
9798 {
9799 $this->name = $name;
9800 }
9801
9802 public function getName()
9803 {
9804 return $this->name;
9805 }
9806 }
9807