PluginProbe
Authorizer / 2.8.2
Authorizer v2.8.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 / vendor / google-api-php-client / src / Google / Service / Compute.php

Compute.php in Authorizer 2.8.2, at vendor/google-api-php-client/src/Google/Service/Compute.php

19,368 lines 582.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16 /**
17 * Service definition for Compute (v1).
18 *
19 * <p>
20 * API for the Google Compute Engine service.</p>
21 *
22 * <p>
23 * For more information about this service, see the API
24 * <a href="https://developers.google.com/compute/docs/reference/latest/" target="_blank">Documentation</a>
25 * </p>
26 *
27 * @author Google, Inc.
28 */
29 class Google_Service_Compute extends Google_Service
30 {
31 /** View and manage your data across Google Cloud Platform services. */
32 const CLOUD_PLATFORM =
33 "https://www.googleapis.com/auth/cloud-platform";
34 /** View and manage your Google Compute Engine resources. */
35 const COMPUTE =
36 "https://www.googleapis.com/auth/compute";
37 /** View your Google Compute Engine resources. */
38 const COMPUTE_READONLY =
39 "https://www.googleapis.com/auth/compute.readonly";
40 /** Manage your data and permissions in Google Cloud Storage. */
41 const DEVSTORAGE_FULL_CONTROL =
42 "https://www.googleapis.com/auth/devstorage.full_control";
43 /** View your data in Google Cloud Storage. */
44 const DEVSTORAGE_READ_ONLY =
45 "https://www.googleapis.com/auth/devstorage.read_only";
46 /** Manage your data in Google Cloud Storage. */
47 const DEVSTORAGE_READ_WRITE =
48 "https://www.googleapis.com/auth/devstorage.read_write";
49
50 public $addresses;
51 public $autoscalers;
52 public $backendServices;
53 public $diskTypes;
54 public $disks;
55 public $firewalls;
56 public $forwardingRules;
57 public $globalAddresses;
58 public $globalForwardingRules;
59 public $globalOperations;
60 public $httpHealthChecks;
61 public $httpsHealthChecks;
62 public $images;
63 public $instanceGroupManagers;
64 public $instanceGroups;
65 public $instanceTemplates;
66 public $instances;
67 public $licenses;
68 public $machineTypes;
69 public $networks;
70 public $projects;
71 public $regionOperations;
72 public $regions;
73 public $routes;
74 public $snapshots;
75 public $sslCertificates;
76 public $subnetworks;
77 public $targetHttpProxies;
78 public $targetHttpsProxies;
79 public $targetInstances;
80 public $targetPools;
81 public $targetVpnGateways;
82 public $urlMaps;
83 public $vpnTunnels;
84 public $zoneOperations;
85 public $zones;
86
87
88 /**
89 * Constructs the internal representation of the Compute service.
90 *
91 * @param Google_Client $client
92 */
93 public function __construct(Google_Client $client)
94 {
95 parent::__construct($client);
96 $this->rootUrl = 'https://www.googleapis.com/';
97 $this->servicePath = 'compute/v1/projects/';
98 $this->version = 'v1';
99 $this->serviceName = 'compute';
100
101 $this->addresses = new Google_Service_Compute_Addresses_Resource(
102 $this,
103 $this->serviceName,
104 'addresses',
105 array(
106 'methods' => array(
107 'aggregatedList' => array(
108 'path' => '{project}/aggregated/addresses',
109 'httpMethod' => 'GET',
110 'parameters' => array(
111 'project' => array(
112 'location' => 'path',
113 'type' => 'string',
114 'required' => true,
115 ),
116 'filter' => array(
117 'location' => 'query',
118 'type' => 'string',
119 ),
120 'maxResults' => array(
121 'location' => 'query',
122 'type' => 'integer',
123 ),
124 'pageToken' => array(
125 'location' => 'query',
126 'type' => 'string',
127 ),
128 ),
129 ),'delete' => array(
130 'path' => '{project}/regions/{region}/addresses/{address}',
131 'httpMethod' => 'DELETE',
132 'parameters' => array(
133 'project' => array(
134 'location' => 'path',
135 'type' => 'string',
136 'required' => true,
137 ),
138 'region' => array(
139 'location' => 'path',
140 'type' => 'string',
141 'required' => true,
142 ),
143 'address' => array(
144 'location' => 'path',
145 'type' => 'string',
146 'required' => true,
147 ),
148 ),
149 ),'get' => array(
150 'path' => '{project}/regions/{region}/addresses/{address}',
151 'httpMethod' => 'GET',
152 'parameters' => array(
153 'project' => array(
154 'location' => 'path',
155 'type' => 'string',
156 'required' => true,
157 ),
158 'region' => array(
159 'location' => 'path',
160 'type' => 'string',
161 'required' => true,
162 ),
163 'address' => array(
164 'location' => 'path',
165 'type' => 'string',
166 'required' => true,
167 ),
168 ),
169 ),'insert' => array(
170 'path' => '{project}/regions/{region}/addresses',
171 'httpMethod' => 'POST',
172 'parameters' => array(
173 'project' => array(
174 'location' => 'path',
175 'type' => 'string',
176 'required' => true,
177 ),
178 'region' => array(
179 'location' => 'path',
180 'type' => 'string',
181 'required' => true,
182 ),
183 ),
184 ),'list' => array(
185 'path' => '{project}/regions/{region}/addresses',
186 'httpMethod' => 'GET',
187 'parameters' => array(
188 'project' => array(
189 'location' => 'path',
190 'type' => 'string',
191 'required' => true,
192 ),
193 'region' => array(
194 'location' => 'path',
195 'type' => 'string',
196 'required' => true,
197 ),
198 'filter' => array(
199 'location' => 'query',
200 'type' => 'string',
201 ),
202 'maxResults' => array(
203 'location' => 'query',
204 'type' => 'integer',
205 ),
206 'pageToken' => array(
207 'location' => 'query',
208 'type' => 'string',
209 ),
210 ),
211 ),
212 )
213 )
214 );
215 $this->autoscalers = new Google_Service_Compute_Autoscalers_Resource(
216 $this,
217 $this->serviceName,
218 'autoscalers',
219 array(
220 'methods' => array(
221 'aggregatedList' => array(
222 'path' => '{project}/aggregated/autoscalers',
223 'httpMethod' => 'GET',
224 'parameters' => array(
225 'project' => array(
226 'location' => 'path',
227 'type' => 'string',
228 'required' => true,
229 ),
230 'filter' => array(
231 'location' => 'query',
232 'type' => 'string',
233 ),
234 'maxResults' => array(
235 'location' => 'query',
236 'type' => 'integer',
237 ),
238 'pageToken' => array(
239 'location' => 'query',
240 'type' => 'string',
241 ),
242 ),
243 ),'delete' => array(
244 'path' => '{project}/zones/{zone}/autoscalers/{autoscaler}',
245 'httpMethod' => 'DELETE',
246 'parameters' => array(
247 'project' => array(
248 'location' => 'path',
249 'type' => 'string',
250 'required' => true,
251 ),
252 'zone' => array(
253 'location' => 'path',
254 'type' => 'string',
255 'required' => true,
256 ),
257 'autoscaler' => array(
258 'location' => 'path',
259 'type' => 'string',
260 'required' => true,
261 ),
262 ),
263 ),'get' => array(
264 'path' => '{project}/zones/{zone}/autoscalers/{autoscaler}',
265 'httpMethod' => 'GET',
266 'parameters' => array(
267 'project' => array(
268 'location' => 'path',
269 'type' => 'string',
270 'required' => true,
271 ),
272 'zone' => array(
273 'location' => 'path',
274 'type' => 'string',
275 'required' => true,
276 ),
277 'autoscaler' => array(
278 'location' => 'path',
279 'type' => 'string',
280 'required' => true,
281 ),
282 ),
283 ),'insert' => array(
284 'path' => '{project}/zones/{zone}/autoscalers',
285 'httpMethod' => 'POST',
286 'parameters' => array(
287 'project' => array(
288 'location' => 'path',
289 'type' => 'string',
290 'required' => true,
291 ),
292 'zone' => array(
293 'location' => 'path',
294 'type' => 'string',
295 'required' => true,
296 ),
297 ),
298 ),'list' => array(
299 'path' => '{project}/zones/{zone}/autoscalers',
300 'httpMethod' => 'GET',
301 'parameters' => array(
302 'project' => array(
303 'location' => 'path',
304 'type' => 'string',
305 'required' => true,
306 ),
307 'zone' => array(
308 'location' => 'path',
309 'type' => 'string',
310 'required' => true,
311 ),
312 'filter' => array(
313 'location' => 'query',
314 'type' => 'string',
315 ),
316 'maxResults' => array(
317 'location' => 'query',
318 'type' => 'integer',
319 ),
320 'pageToken' => array(
321 'location' => 'query',
322 'type' => 'string',
323 ),
324 ),
325 ),'patch' => array(
326 'path' => '{project}/zones/{zone}/autoscalers',
327 'httpMethod' => 'PATCH',
328 'parameters' => array(
329 'project' => array(
330 'location' => 'path',
331 'type' => 'string',
332 'required' => true,
333 ),
334 'zone' => array(
335 'location' => 'path',
336 'type' => 'string',
337 'required' => true,
338 ),
339 'autoscaler' => array(
340 'location' => 'query',
341 'type' => 'string',
342 'required' => true,
343 ),
344 ),
345 ),'update' => array(
346 'path' => '{project}/zones/{zone}/autoscalers',
347 'httpMethod' => 'PUT',
348 'parameters' => array(
349 'project' => array(
350 'location' => 'path',
351 'type' => 'string',
352 'required' => true,
353 ),
354 'zone' => array(
355 'location' => 'path',
356 'type' => 'string',
357 'required' => true,
358 ),
359 'autoscaler' => array(
360 'location' => 'query',
361 'type' => 'string',
362 ),
363 ),
364 ),
365 )
366 )
367 );
368 $this->backendServices = new Google_Service_Compute_BackendServices_Resource(
369 $this,
370 $this->serviceName,
371 'backendServices',
372 array(
373 'methods' => array(
374 'delete' => array(
375 'path' => '{project}/global/backendServices/{backendService}',
376 'httpMethod' => 'DELETE',
377 'parameters' => array(
378 'project' => array(
379 'location' => 'path',
380 'type' => 'string',
381 'required' => true,
382 ),
383 'backendService' => array(
384 'location' => 'path',
385 'type' => 'string',
386 'required' => true,
387 ),
388 ),
389 ),'get' => array(
390 'path' => '{project}/global/backendServices/{backendService}',
391 'httpMethod' => 'GET',
392 'parameters' => array(
393 'project' => array(
394 'location' => 'path',
395 'type' => 'string',
396 'required' => true,
397 ),
398 'backendService' => array(
399 'location' => 'path',
400 'type' => 'string',
401 'required' => true,
402 ),
403 ),
404 ),'getHealth' => array(
405 'path' => '{project}/global/backendServices/{backendService}/getHealth',
406 'httpMethod' => 'POST',
407 'parameters' => array(
408 'project' => array(
409 'location' => 'path',
410 'type' => 'string',
411 'required' => true,
412 ),
413 'backendService' => array(
414 'location' => 'path',
415 'type' => 'string',
416 'required' => true,
417 ),
418 ),
419 ),'insert' => array(
420 'path' => '{project}/global/backendServices',
421 'httpMethod' => 'POST',
422 'parameters' => array(
423 'project' => array(
424 'location' => 'path',
425 'type' => 'string',
426 'required' => true,
427 ),
428 ),
429 ),'list' => array(
430 'path' => '{project}/global/backendServices',
431 'httpMethod' => 'GET',
432 'parameters' => array(
433 'project' => array(
434 'location' => 'path',
435 'type' => 'string',
436 'required' => true,
437 ),
438 'filter' => array(
439 'location' => 'query',
440 'type' => 'string',
441 ),
442 'maxResults' => array(
443 'location' => 'query',
444 'type' => 'integer',
445 ),
446 'pageToken' => array(
447 'location' => 'query',
448 'type' => 'string',
449 ),
450 ),
451 ),'patch' => array(
452 'path' => '{project}/global/backendServices/{backendService}',
453 'httpMethod' => 'PATCH',
454 'parameters' => array(
455 'project' => array(
456 'location' => 'path',
457 'type' => 'string',
458 'required' => true,
459 ),
460 'backendService' => array(
461 'location' => 'path',
462 'type' => 'string',
463 'required' => true,
464 ),
465 ),
466 ),'update' => array(
467 'path' => '{project}/global/backendServices/{backendService}',
468 'httpMethod' => 'PUT',
469 'parameters' => array(
470 'project' => array(
471 'location' => 'path',
472 'type' => 'string',
473 'required' => true,
474 ),
475 'backendService' => array(
476 'location' => 'path',
477 'type' => 'string',
478 'required' => true,
479 ),
480 ),
481 ),
482 )
483 )
484 );
485 $this->diskTypes = new Google_Service_Compute_DiskTypes_Resource(
486 $this,
487 $this->serviceName,
488 'diskTypes',
489 array(
490 'methods' => array(
491 'aggregatedList' => array(
492 'path' => '{project}/aggregated/diskTypes',
493 'httpMethod' => 'GET',
494 'parameters' => array(
495 'project' => array(
496 'location' => 'path',
497 'type' => 'string',
498 'required' => true,
499 ),
500 'filter' => array(
501 'location' => 'query',
502 'type' => 'string',
503 ),
504 'maxResults' => array(
505 'location' => 'query',
506 'type' => 'integer',
507 ),
508 'pageToken' => array(
509 'location' => 'query',
510 'type' => 'string',
511 ),
512 ),
513 ),'get' => array(
514 'path' => '{project}/zones/{zone}/diskTypes/{diskType}',
515 'httpMethod' => 'GET',
516 'parameters' => array(
517 'project' => array(
518 'location' => 'path',
519 'type' => 'string',
520 'required' => true,
521 ),
522 'zone' => array(
523 'location' => 'path',
524 'type' => 'string',
525 'required' => true,
526 ),
527 'diskType' => array(
528 'location' => 'path',
529 'type' => 'string',
530 'required' => true,
531 ),
532 ),
533 ),'list' => array(
534 'path' => '{project}/zones/{zone}/diskTypes',
535 'httpMethod' => 'GET',
536 'parameters' => array(
537 'project' => array(
538 'location' => 'path',
539 'type' => 'string',
540 'required' => true,
541 ),
542 'zone' => array(
543 'location' => 'path',
544 'type' => 'string',
545 'required' => true,
546 ),
547 'filter' => array(
548 'location' => 'query',
549 'type' => 'string',
550 ),
551 'maxResults' => array(
552 'location' => 'query',
553 'type' => 'integer',
554 ),
555 'pageToken' => array(
556 'location' => 'query',
557 'type' => 'string',
558 ),
559 ),
560 ),
561 )
562 )
563 );
564 $this->disks = new Google_Service_Compute_Disks_Resource(
565 $this,
566 $this->serviceName,
567 'disks',
568 array(
569 'methods' => array(
570 'aggregatedList' => array(
571 'path' => '{project}/aggregated/disks',
572 'httpMethod' => 'GET',
573 'parameters' => array(
574 'project' => array(
575 'location' => 'path',
576 'type' => 'string',
577 'required' => true,
578 ),
579 'filter' => array(
580 'location' => 'query',
581 'type' => 'string',
582 ),
583 'maxResults' => array(
584 'location' => 'query',
585 'type' => 'integer',
586 ),
587 'pageToken' => array(
588 'location' => 'query',
589 'type' => 'string',
590 ),
591 ),
592 ),'createSnapshot' => array(
593 'path' => '{project}/zones/{zone}/disks/{disk}/createSnapshot',
594 'httpMethod' => 'POST',
595 'parameters' => array(
596 'project' => array(
597 'location' => 'path',
598 'type' => 'string',
599 'required' => true,
600 ),
601 'zone' => array(
602 'location' => 'path',
603 'type' => 'string',
604 'required' => true,
605 ),
606 'disk' => array(
607 'location' => 'path',
608 'type' => 'string',
609 'required' => true,
610 ),
611 ),
612 ),'delete' => array(
613 'path' => '{project}/zones/{zone}/disks/{disk}',
614 'httpMethod' => 'DELETE',
615 'parameters' => array(
616 'project' => array(
617 'location' => 'path',
618 'type' => 'string',
619 'required' => true,
620 ),
621 'zone' => array(
622 'location' => 'path',
623 'type' => 'string',
624 'required' => true,
625 ),
626 'disk' => array(
627 'location' => 'path',
628 'type' => 'string',
629 'required' => true,
630 ),
631 ),
632 ),'get' => array(
633 'path' => '{project}/zones/{zone}/disks/{disk}',
634 'httpMethod' => 'GET',
635 'parameters' => array(
636 'project' => array(
637 'location' => 'path',
638 'type' => 'string',
639 'required' => true,
640 ),
641 'zone' => array(
642 'location' => 'path',
643 'type' => 'string',
644 'required' => true,
645 ),
646 'disk' => array(
647 'location' => 'path',
648 'type' => 'string',
649 'required' => true,
650 ),
651 ),
652 ),'insert' => array(
653 'path' => '{project}/zones/{zone}/disks',
654 'httpMethod' => 'POST',
655 'parameters' => array(
656 'project' => array(
657 'location' => 'path',
658 'type' => 'string',
659 'required' => true,
660 ),
661 'zone' => array(
662 'location' => 'path',
663 'type' => 'string',
664 'required' => true,
665 ),
666 'sourceImage' => array(
667 'location' => 'query',
668 'type' => 'string',
669 ),
670 ),
671 ),'list' => array(
672 'path' => '{project}/zones/{zone}/disks',
673 'httpMethod' => 'GET',
674 'parameters' => array(
675 'project' => array(
676 'location' => 'path',
677 'type' => 'string',
678 'required' => true,
679 ),
680 'zone' => array(
681 'location' => 'path',
682 'type' => 'string',
683 'required' => true,
684 ),
685 'filter' => array(
686 'location' => 'query',
687 'type' => 'string',
688 ),
689 'maxResults' => array(
690 'location' => 'query',
691 'type' => 'integer',
692 ),
693 'pageToken' => array(
694 'location' => 'query',
695 'type' => 'string',
696 ),
697 ),
698 ),
699 )
700 )
701 );
702 $this->firewalls = new Google_Service_Compute_Firewalls_Resource(
703 $this,
704 $this->serviceName,
705 'firewalls',
706 array(
707 'methods' => array(
708 'delete' => array(
709 'path' => '{project}/global/firewalls/{firewall}',
710 'httpMethod' => 'DELETE',
711 'parameters' => array(
712 'project' => array(
713 'location' => 'path',
714 'type' => 'string',
715 'required' => true,
716 ),
717 'firewall' => array(
718 'location' => 'path',
719 'type' => 'string',
720 'required' => true,
721 ),
722 ),
723 ),'get' => array(
724 'path' => '{project}/global/firewalls/{firewall}',
725 'httpMethod' => 'GET',
726 'parameters' => array(
727 'project' => array(
728 'location' => 'path',
729 'type' => 'string',
730 'required' => true,
731 ),
732 'firewall' => array(
733 'location' => 'path',
734 'type' => 'string',
735 'required' => true,
736 ),
737 ),
738 ),'insert' => array(
739 'path' => '{project}/global/firewalls',
740 'httpMethod' => 'POST',
741 'parameters' => array(
742 'project' => array(
743 'location' => 'path',
744 'type' => 'string',
745 'required' => true,
746 ),
747 ),
748 ),'list' => array(
749 'path' => '{project}/global/firewalls',
750 'httpMethod' => 'GET',
751 'parameters' => array(
752 'project' => array(
753 'location' => 'path',
754 'type' => 'string',
755 'required' => true,
756 ),
757 'filter' => array(
758 'location' => 'query',
759 'type' => 'string',
760 ),
761 'maxResults' => array(
762 'location' => 'query',
763 'type' => 'integer',
764 ),
765 'pageToken' => array(
766 'location' => 'query',
767 'type' => 'string',
768 ),
769 ),
770 ),'patch' => array(
771 'path' => '{project}/global/firewalls/{firewall}',
772 'httpMethod' => 'PATCH',
773 'parameters' => array(
774 'project' => array(
775 'location' => 'path',
776 'type' => 'string',
777 'required' => true,
778 ),
779 'firewall' => array(
780 'location' => 'path',
781 'type' => 'string',
782 'required' => true,
783 ),
784 ),
785 ),'update' => array(
786 'path' => '{project}/global/firewalls/{firewall}',
787 'httpMethod' => 'PUT',
788 'parameters' => array(
789 'project' => array(
790 'location' => 'path',
791 'type' => 'string',
792 'required' => true,
793 ),
794 'firewall' => array(
795 'location' => 'path',
796 'type' => 'string',
797 'required' => true,
798 ),
799 ),
800 ),
801 )
802 )
803 );
804 $this->forwardingRules = new Google_Service_Compute_ForwardingRules_Resource(
805 $this,
806 $this->serviceName,
807 'forwardingRules',
808 array(
809 'methods' => array(
810 'aggregatedList' => array(
811 'path' => '{project}/aggregated/forwardingRules',
812 'httpMethod' => 'GET',
813 'parameters' => array(
814 'project' => array(
815 'location' => 'path',
816 'type' => 'string',
817 'required' => true,
818 ),
819 'filter' => array(
820 'location' => 'query',
821 'type' => 'string',
822 ),
823 'maxResults' => array(
824 'location' => 'query',
825 'type' => 'integer',
826 ),
827 'pageToken' => array(
828 'location' => 'query',
829 'type' => 'string',
830 ),
831 ),
832 ),'delete' => array(
833 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}',
834 'httpMethod' => 'DELETE',
835 'parameters' => array(
836 'project' => array(
837 'location' => 'path',
838 'type' => 'string',
839 'required' => true,
840 ),
841 'region' => array(
842 'location' => 'path',
843 'type' => 'string',
844 'required' => true,
845 ),
846 'forwardingRule' => array(
847 'location' => 'path',
848 'type' => 'string',
849 'required' => true,
850 ),
851 ),
852 ),'get' => array(
853 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}',
854 'httpMethod' => 'GET',
855 'parameters' => array(
856 'project' => array(
857 'location' => 'path',
858 'type' => 'string',
859 'required' => true,
860 ),
861 'region' => array(
862 'location' => 'path',
863 'type' => 'string',
864 'required' => true,
865 ),
866 'forwardingRule' => array(
867 'location' => 'path',
868 'type' => 'string',
869 'required' => true,
870 ),
871 ),
872 ),'insert' => array(
873 'path' => '{project}/regions/{region}/forwardingRules',
874 'httpMethod' => 'POST',
875 'parameters' => array(
876 'project' => array(
877 'location' => 'path',
878 'type' => 'string',
879 'required' => true,
880 ),
881 'region' => array(
882 'location' => 'path',
883 'type' => 'string',
884 'required' => true,
885 ),
886 ),
887 ),'list' => array(
888 'path' => '{project}/regions/{region}/forwardingRules',
889 'httpMethod' => 'GET',
890 'parameters' => array(
891 'project' => array(
892 'location' => 'path',
893 'type' => 'string',
894 'required' => true,
895 ),
896 'region' => array(
897 'location' => 'path',
898 'type' => 'string',
899 'required' => true,
900 ),
901 'filter' => array(
902 'location' => 'query',
903 'type' => 'string',
904 ),
905 'maxResults' => array(
906 'location' => 'query',
907 'type' => 'integer',
908 ),
909 'pageToken' => array(
910 'location' => 'query',
911 'type' => 'string',
912 ),
913 ),
914 ),'setTarget' => array(
915 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget',
916 'httpMethod' => 'POST',
917 'parameters' => array(
918 'project' => array(
919 'location' => 'path',
920 'type' => 'string',
921 'required' => true,
922 ),
923 'region' => array(
924 'location' => 'path',
925 'type' => 'string',
926 'required' => true,
927 ),
928 'forwardingRule' => array(
929 'location' => 'path',
930 'type' => 'string',
931 'required' => true,
932 ),
933 ),
934 ),
935 )
936 )
937 );
938 $this->globalAddresses = new Google_Service_Compute_GlobalAddresses_Resource(
939 $this,
940 $this->serviceName,
941 'globalAddresses',
942 array(
943 'methods' => array(
944 'delete' => array(
945 'path' => '{project}/global/addresses/{address}',
946 'httpMethod' => 'DELETE',
947 'parameters' => array(
948 'project' => array(
949 'location' => 'path',
950 'type' => 'string',
951 'required' => true,
952 ),
953 'address' => array(
954 'location' => 'path',
955 'type' => 'string',
956 'required' => true,
957 ),
958 ),
959 ),'get' => array(
960 'path' => '{project}/global/addresses/{address}',
961 'httpMethod' => 'GET',
962 'parameters' => array(
963 'project' => array(
964 'location' => 'path',
965 'type' => 'string',
966 'required' => true,
967 ),
968 'address' => array(
969 'location' => 'path',
970 'type' => 'string',
971 'required' => true,
972 ),
973 ),
974 ),'insert' => array(
975 'path' => '{project}/global/addresses',
976 'httpMethod' => 'POST',
977 'parameters' => array(
978 'project' => array(
979 'location' => 'path',
980 'type' => 'string',
981 'required' => true,
982 ),
983 ),
984 ),'list' => array(
985 'path' => '{project}/global/addresses',
986 'httpMethod' => 'GET',
987 'parameters' => array(
988 'project' => array(
989 'location' => 'path',
990 'type' => 'string',
991 'required' => true,
992 ),
993 'filter' => array(
994 'location' => 'query',
995 'type' => 'string',
996 ),
997 'maxResults' => array(
998 'location' => 'query',
999 'type' => 'integer',
1000 ),
1001 'pageToken' => array(
1002 'location' => 'query',
1003 'type' => 'string',
1004 ),
1005 ),
1006 ),
1007 )
1008 )
1009 );
1010 $this->globalForwardingRules = new Google_Service_Compute_GlobalForwardingRules_Resource(
1011 $this,
1012 $this->serviceName,
1013 'globalForwardingRules',
1014 array(
1015 'methods' => array(
1016 'delete' => array(
1017 'path' => '{project}/global/forwardingRules/{forwardingRule}',
1018 'httpMethod' => 'DELETE',
1019 'parameters' => array(
1020 'project' => array(
1021 'location' => 'path',
1022 'type' => 'string',
1023 'required' => true,
1024 ),
1025 'forwardingRule' => array(
1026 'location' => 'path',
1027 'type' => 'string',
1028 'required' => true,
1029 ),
1030 ),
1031 ),'get' => array(
1032 'path' => '{project}/global/forwardingRules/{forwardingRule}',
1033 'httpMethod' => 'GET',
1034 'parameters' => array(
1035 'project' => array(
1036 'location' => 'path',
1037 'type' => 'string',
1038 'required' => true,
1039 ),
1040 'forwardingRule' => array(
1041 'location' => 'path',
1042 'type' => 'string',
1043 'required' => true,
1044 ),
1045 ),
1046 ),'insert' => array(
1047 'path' => '{project}/global/forwardingRules',
1048 'httpMethod' => 'POST',
1049 'parameters' => array(
1050 'project' => array(
1051 'location' => 'path',
1052 'type' => 'string',
1053 'required' => true,
1054 ),
1055 ),
1056 ),'list' => array(
1057 'path' => '{project}/global/forwardingRules',
1058 'httpMethod' => 'GET',
1059 'parameters' => array(
1060 'project' => array(
1061 'location' => 'path',
1062 'type' => 'string',
1063 'required' => true,
1064 ),
1065 'filter' => array(
1066 'location' => 'query',
1067 'type' => 'string',
1068 ),
1069 'maxResults' => array(
1070 'location' => 'query',
1071 'type' => 'integer',
1072 ),
1073 'pageToken' => array(
1074 'location' => 'query',
1075 'type' => 'string',
1076 ),
1077 ),
1078 ),'setTarget' => array(
1079 'path' => '{project}/global/forwardingRules/{forwardingRule}/setTarget',
1080 'httpMethod' => 'POST',
1081 'parameters' => array(
1082 'project' => array(
1083 'location' => 'path',
1084 'type' => 'string',
1085 'required' => true,
1086 ),
1087 'forwardingRule' => array(
1088 'location' => 'path',
1089 'type' => 'string',
1090 'required' => true,
1091 ),
1092 ),
1093 ),
1094 )
1095 )
1096 );
1097 $this->globalOperations = new Google_Service_Compute_GlobalOperations_Resource(
1098 $this,
1099 $this->serviceName,
1100 'globalOperations',
1101 array(
1102 'methods' => array(
1103 'aggregatedList' => array(
1104 'path' => '{project}/aggregated/operations',
1105 'httpMethod' => 'GET',
1106 'parameters' => array(
1107 'project' => array(
1108 'location' => 'path',
1109 'type' => 'string',
1110 'required' => true,
1111 ),
1112 'filter' => array(
1113 'location' => 'query',
1114 'type' => 'string',
1115 ),
1116 'maxResults' => array(
1117 'location' => 'query',
1118 'type' => 'integer',
1119 ),
1120 'pageToken' => array(
1121 'location' => 'query',
1122 'type' => 'string',
1123 ),
1124 ),
1125 ),'delete' => array(
1126 'path' => '{project}/global/operations/{operation}',
1127 'httpMethod' => 'DELETE',
1128 'parameters' => array(
1129 'project' => array(
1130 'location' => 'path',
1131 'type' => 'string',
1132 'required' => true,
1133 ),
1134 'operation' => array(
1135 'location' => 'path',
1136 'type' => 'string',
1137 'required' => true,
1138 ),
1139 ),
1140 ),'get' => array(
1141 'path' => '{project}/global/operations/{operation}',
1142 'httpMethod' => 'GET',
1143 'parameters' => array(
1144 'project' => array(
1145 'location' => 'path',
1146 'type' => 'string',
1147 'required' => true,
1148 ),
1149 'operation' => array(
1150 'location' => 'path',
1151 'type' => 'string',
1152 'required' => true,
1153 ),
1154 ),
1155 ),'list' => array(
1156 'path' => '{project}/global/operations',
1157 'httpMethod' => 'GET',
1158 'parameters' => array(
1159 'project' => array(
1160 'location' => 'path',
1161 'type' => 'string',
1162 'required' => true,
1163 ),
1164 'filter' => array(
1165 'location' => 'query',
1166 'type' => 'string',
1167 ),
1168 'maxResults' => array(
1169 'location' => 'query',
1170 'type' => 'integer',
1171 ),
1172 'pageToken' => array(
1173 'location' => 'query',
1174 'type' => 'string',
1175 ),
1176 ),
1177 ),
1178 )
1179 )
1180 );
1181 $this->httpHealthChecks = new Google_Service_Compute_HttpHealthChecks_Resource(
1182 $this,
1183 $this->serviceName,
1184 'httpHealthChecks',
1185 array(
1186 'methods' => array(
1187 'delete' => array(
1188 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
1189 'httpMethod' => 'DELETE',
1190 'parameters' => array(
1191 'project' => array(
1192 'location' => 'path',
1193 'type' => 'string',
1194 'required' => true,
1195 ),
1196 'httpHealthCheck' => array(
1197 'location' => 'path',
1198 'type' => 'string',
1199 'required' => true,
1200 ),
1201 ),
1202 ),'get' => array(
1203 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
1204 'httpMethod' => 'GET',
1205 'parameters' => array(
1206 'project' => array(
1207 'location' => 'path',
1208 'type' => 'string',
1209 'required' => true,
1210 ),
1211 'httpHealthCheck' => array(
1212 'location' => 'path',
1213 'type' => 'string',
1214 'required' => true,
1215 ),
1216 ),
1217 ),'insert' => array(
1218 'path' => '{project}/global/httpHealthChecks',
1219 'httpMethod' => 'POST',
1220 'parameters' => array(
1221 'project' => array(
1222 'location' => 'path',
1223 'type' => 'string',
1224 'required' => true,
1225 ),
1226 ),
1227 ),'list' => array(
1228 'path' => '{project}/global/httpHealthChecks',
1229 'httpMethod' => 'GET',
1230 'parameters' => array(
1231 'project' => array(
1232 'location' => 'path',
1233 'type' => 'string',
1234 'required' => true,
1235 ),
1236 'filter' => array(
1237 'location' => 'query',
1238 'type' => 'string',
1239 ),
1240 'maxResults' => array(
1241 'location' => 'query',
1242 'type' => 'integer',
1243 ),
1244 'pageToken' => array(
1245 'location' => 'query',
1246 'type' => 'string',
1247 ),
1248 ),
1249 ),'patch' => array(
1250 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
1251 'httpMethod' => 'PATCH',
1252 'parameters' => array(
1253 'project' => array(
1254 'location' => 'path',
1255 'type' => 'string',
1256 'required' => true,
1257 ),
1258 'httpHealthCheck' => array(
1259 'location' => 'path',
1260 'type' => 'string',
1261 'required' => true,
1262 ),
1263 ),
1264 ),'update' => array(
1265 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
1266 'httpMethod' => 'PUT',
1267 'parameters' => array(
1268 'project' => array(
1269 'location' => 'path',
1270 'type' => 'string',
1271 'required' => true,
1272 ),
1273 'httpHealthCheck' => array(
1274 'location' => 'path',
1275 'type' => 'string',
1276 'required' => true,
1277 ),
1278 ),
1279 ),
1280 )
1281 )
1282 );
1283 $this->httpsHealthChecks = new Google_Service_Compute_HttpsHealthChecks_Resource(
1284 $this,
1285 $this->serviceName,
1286 'httpsHealthChecks',
1287 array(
1288 'methods' => array(
1289 'delete' => array(
1290 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
1291 'httpMethod' => 'DELETE',
1292 'parameters' => array(
1293 'project' => array(
1294 'location' => 'path',
1295 'type' => 'string',
1296 'required' => true,
1297 ),
1298 'httpsHealthCheck' => array(
1299 'location' => 'path',
1300 'type' => 'string',
1301 'required' => true,
1302 ),
1303 ),
1304 ),'get' => array(
1305 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
1306 'httpMethod' => 'GET',
1307 'parameters' => array(
1308 'project' => array(
1309 'location' => 'path',
1310 'type' => 'string',
1311 'required' => true,
1312 ),
1313 'httpsHealthCheck' => array(
1314 'location' => 'path',
1315 'type' => 'string',
1316 'required' => true,
1317 ),
1318 ),
1319 ),'insert' => array(
1320 'path' => '{project}/global/httpsHealthChecks',
1321 'httpMethod' => 'POST',
1322 'parameters' => array(
1323 'project' => array(
1324 'location' => 'path',
1325 'type' => 'string',
1326 'required' => true,
1327 ),
1328 ),
1329 ),'list' => array(
1330 'path' => '{project}/global/httpsHealthChecks',
1331 'httpMethod' => 'GET',
1332 'parameters' => array(
1333 'project' => array(
1334 'location' => 'path',
1335 'type' => 'string',
1336 'required' => true,
1337 ),
1338 'filter' => array(
1339 'location' => 'query',
1340 'type' => 'string',
1341 ),
1342 'maxResults' => array(
1343 'location' => 'query',
1344 'type' => 'integer',
1345 ),
1346 'pageToken' => array(
1347 'location' => 'query',
1348 'type' => 'string',
1349 ),
1350 ),
1351 ),'patch' => array(
1352 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
1353 'httpMethod' => 'PATCH',
1354 'parameters' => array(
1355 'project' => array(
1356 'location' => 'path',
1357 'type' => 'string',
1358 'required' => true,
1359 ),
1360 'httpsHealthCheck' => array(
1361 'location' => 'path',
1362 'type' => 'string',
1363 'required' => true,
1364 ),
1365 ),
1366 ),'update' => array(
1367 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
1368 'httpMethod' => 'PUT',
1369 'parameters' => array(
1370 'project' => array(
1371 'location' => 'path',
1372 'type' => 'string',
1373 'required' => true,
1374 ),
1375 'httpsHealthCheck' => array(
1376 'location' => 'path',
1377 'type' => 'string',
1378 'required' => true,
1379 ),
1380 ),
1381 ),
1382 )
1383 )
1384 );
1385 $this->images = new Google_Service_Compute_Images_Resource(
1386 $this,
1387 $this->serviceName,
1388 'images',
1389 array(
1390 'methods' => array(
1391 'delete' => array(
1392 'path' => '{project}/global/images/{image}',
1393 'httpMethod' => 'DELETE',
1394 'parameters' => array(
1395 'project' => array(
1396 'location' => 'path',
1397 'type' => 'string',
1398 'required' => true,
1399 ),
1400 'image' => array(
1401 'location' => 'path',
1402 'type' => 'string',
1403 'required' => true,
1404 ),
1405 ),
1406 ),'deprecate' => array(
1407 'path' => '{project}/global/images/{image}/deprecate',
1408 'httpMethod' => 'POST',
1409 'parameters' => array(
1410 'project' => array(
1411 'location' => 'path',
1412 'type' => 'string',
1413 'required' => true,
1414 ),
1415 'image' => array(
1416 'location' => 'path',
1417 'type' => 'string',
1418 'required' => true,
1419 ),
1420 ),
1421 ),'get' => array(
1422 'path' => '{project}/global/images/{image}',
1423 'httpMethod' => 'GET',
1424 'parameters' => array(
1425 'project' => array(
1426 'location' => 'path',
1427 'type' => 'string',
1428 'required' => true,
1429 ),
1430 'image' => array(
1431 'location' => 'path',
1432 'type' => 'string',
1433 'required' => true,
1434 ),
1435 ),
1436 ),'insert' => array(
1437 'path' => '{project}/global/images',
1438 'httpMethod' => 'POST',
1439 'parameters' => array(
1440 'project' => array(
1441 'location' => 'path',
1442 'type' => 'string',
1443 'required' => true,
1444 ),
1445 ),
1446 ),'list' => array(
1447 'path' => '{project}/global/images',
1448 'httpMethod' => 'GET',
1449 'parameters' => array(
1450 'project' => array(
1451 'location' => 'path',
1452 'type' => 'string',
1453 'required' => true,
1454 ),
1455 'filter' => array(
1456 'location' => 'query',
1457 'type' => 'string',
1458 ),
1459 'maxResults' => array(
1460 'location' => 'query',
1461 'type' => 'integer',
1462 ),
1463 'pageToken' => array(
1464 'location' => 'query',
1465 'type' => 'string',
1466 ),
1467 ),
1468 ),
1469 )
1470 )
1471 );
1472 $this->instanceGroupManagers = new Google_Service_Compute_InstanceGroupManagers_Resource(
1473 $this,
1474 $this->serviceName,
1475 'instanceGroupManagers',
1476 array(
1477 'methods' => array(
1478 'abandonInstances' => array(
1479 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances',
1480 'httpMethod' => 'POST',
1481 'parameters' => array(
1482 'project' => array(
1483 'location' => 'path',
1484 'type' => 'string',
1485 'required' => true,
1486 ),
1487 'zone' => array(
1488 'location' => 'path',
1489 'type' => 'string',
1490 'required' => true,
1491 ),
1492 'instanceGroupManager' => array(
1493 'location' => 'path',
1494 'type' => 'string',
1495 'required' => true,
1496 ),
1497 ),
1498 ),'aggregatedList' => array(
1499 'path' => '{project}/aggregated/instanceGroupManagers',
1500 'httpMethod' => 'GET',
1501 'parameters' => array(
1502 'project' => array(
1503 'location' => 'path',
1504 'type' => 'string',
1505 'required' => true,
1506 ),
1507 'filter' => array(
1508 'location' => 'query',
1509 'type' => 'string',
1510 ),
1511 'maxResults' => array(
1512 'location' => 'query',
1513 'type' => 'integer',
1514 ),
1515 'pageToken' => array(
1516 'location' => 'query',
1517 'type' => 'string',
1518 ),
1519 ),
1520 ),'delete' => array(
1521 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}',
1522 'httpMethod' => 'DELETE',
1523 'parameters' => array(
1524 'project' => array(
1525 'location' => 'path',
1526 'type' => 'string',
1527 'required' => true,
1528 ),
1529 'zone' => array(
1530 'location' => 'path',
1531 'type' => 'string',
1532 'required' => true,
1533 ),
1534 'instanceGroupManager' => array(
1535 'location' => 'path',
1536 'type' => 'string',
1537 'required' => true,
1538 ),
1539 ),
1540 ),'deleteInstances' => array(
1541 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances',
1542 'httpMethod' => 'POST',
1543 'parameters' => array(
1544 'project' => array(
1545 'location' => 'path',
1546 'type' => 'string',
1547 'required' => true,
1548 ),
1549 'zone' => array(
1550 'location' => 'path',
1551 'type' => 'string',
1552 'required' => true,
1553 ),
1554 'instanceGroupManager' => array(
1555 'location' => 'path',
1556 'type' => 'string',
1557 'required' => true,
1558 ),
1559 ),
1560 ),'get' => array(
1561 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}',
1562 'httpMethod' => 'GET',
1563 'parameters' => array(
1564 'project' => array(
1565 'location' => 'path',
1566 'type' => 'string',
1567 'required' => true,
1568 ),
1569 'zone' => array(
1570 'location' => 'path',
1571 'type' => 'string',
1572 'required' => true,
1573 ),
1574 'instanceGroupManager' => array(
1575 'location' => 'path',
1576 'type' => 'string',
1577 'required' => true,
1578 ),
1579 ),
1580 ),'insert' => array(
1581 'path' => '{project}/zones/{zone}/instanceGroupManagers',
1582 'httpMethod' => 'POST',
1583 'parameters' => array(
1584 'project' => array(
1585 'location' => 'path',
1586 'type' => 'string',
1587 'required' => true,
1588 ),
1589 'zone' => array(
1590 'location' => 'path',
1591 'type' => 'string',
1592 'required' => true,
1593 ),
1594 ),
1595 ),'list' => array(
1596 'path' => '{project}/zones/{zone}/instanceGroupManagers',
1597 'httpMethod' => 'GET',
1598 'parameters' => array(
1599 'project' => array(
1600 'location' => 'path',
1601 'type' => 'string',
1602 'required' => true,
1603 ),
1604 'zone' => array(
1605 'location' => 'path',
1606 'type' => 'string',
1607 'required' => true,
1608 ),
1609 'filter' => array(
1610 'location' => 'query',
1611 'type' => 'string',
1612 ),
1613 'maxResults' => array(
1614 'location' => 'query',
1615 'type' => 'integer',
1616 ),
1617 'pageToken' => array(
1618 'location' => 'query',
1619 'type' => 'string',
1620 ),
1621 ),
1622 ),'listManagedInstances' => array(
1623 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances',
1624 'httpMethod' => 'POST',
1625 'parameters' => array(
1626 'project' => array(
1627 'location' => 'path',
1628 'type' => 'string',
1629 'required' => true,
1630 ),
1631 'zone' => array(
1632 'location' => 'path',
1633 'type' => 'string',
1634 'required' => true,
1635 ),
1636 'instanceGroupManager' => array(
1637 'location' => 'path',
1638 'type' => 'string',
1639 'required' => true,
1640 ),
1641 ),
1642 ),'recreateInstances' => array(
1643 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances',
1644 'httpMethod' => 'POST',
1645 'parameters' => array(
1646 'project' => array(
1647 'location' => 'path',
1648 'type' => 'string',
1649 'required' => true,
1650 ),
1651 'zone' => array(
1652 'location' => 'path',
1653 'type' => 'string',
1654 'required' => true,
1655 ),
1656 'instanceGroupManager' => array(
1657 'location' => 'path',
1658 'type' => 'string',
1659 'required' => true,
1660 ),
1661 ),
1662 ),'resize' => array(
1663 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize',
1664 'httpMethod' => 'POST',
1665 'parameters' => array(
1666 'project' => array(
1667 'location' => 'path',
1668 'type' => 'string',
1669 'required' => true,
1670 ),
1671 'zone' => array(
1672 'location' => 'path',
1673 'type' => 'string',
1674 'required' => true,
1675 ),
1676 'instanceGroupManager' => array(
1677 'location' => 'path',
1678 'type' => 'string',
1679 'required' => true,
1680 ),
1681 'size' => array(
1682 'location' => 'query',
1683 'type' => 'integer',
1684 'required' => true,
1685 ),
1686 ),
1687 ),'setInstanceTemplate' => array(
1688 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate',
1689 'httpMethod' => 'POST',
1690 'parameters' => array(
1691 'project' => array(
1692 'location' => 'path',
1693 'type' => 'string',
1694 'required' => true,
1695 ),
1696 'zone' => array(
1697 'location' => 'path',
1698 'type' => 'string',
1699 'required' => true,
1700 ),
1701 'instanceGroupManager' => array(
1702 'location' => 'path',
1703 'type' => 'string',
1704 'required' => true,
1705 ),
1706 ),
1707 ),'setTargetPools' => array(
1708 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools',
1709 'httpMethod' => 'POST',
1710 'parameters' => array(
1711 'project' => array(
1712 'location' => 'path',
1713 'type' => 'string',
1714 'required' => true,
1715 ),
1716 'zone' => array(
1717 'location' => 'path',
1718 'type' => 'string',
1719 'required' => true,
1720 ),
1721 'instanceGroupManager' => array(
1722 'location' => 'path',
1723 'type' => 'string',
1724 'required' => true,
1725 ),
1726 ),
1727 ),
1728 )
1729 )
1730 );
1731 $this->instanceGroups = new Google_Service_Compute_InstanceGroups_Resource(
1732 $this,
1733 $this->serviceName,
1734 'instanceGroups',
1735 array(
1736 'methods' => array(
1737 'addInstances' => array(
1738 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances',
1739 'httpMethod' => 'POST',
1740 'parameters' => array(
1741 'project' => array(
1742 'location' => 'path',
1743 'type' => 'string',
1744 'required' => true,
1745 ),
1746 'zone' => array(
1747 'location' => 'path',
1748 'type' => 'string',
1749 'required' => true,
1750 ),
1751 'instanceGroup' => array(
1752 'location' => 'path',
1753 'type' => 'string',
1754 'required' => true,
1755 ),
1756 ),
1757 ),'aggregatedList' => array(
1758 'path' => '{project}/aggregated/instanceGroups',
1759 'httpMethod' => 'GET',
1760 'parameters' => array(
1761 'project' => array(
1762 'location' => 'path',
1763 'type' => 'string',
1764 'required' => true,
1765 ),
1766 'filter' => array(
1767 'location' => 'query',
1768 'type' => 'string',
1769 ),
1770 'maxResults' => array(
1771 'location' => 'query',
1772 'type' => 'integer',
1773 ),
1774 'pageToken' => array(
1775 'location' => 'query',
1776 'type' => 'string',
1777 ),
1778 ),
1779 ),'delete' => array(
1780 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}',
1781 'httpMethod' => 'DELETE',
1782 'parameters' => array(
1783 'project' => array(
1784 'location' => 'path',
1785 'type' => 'string',
1786 'required' => true,
1787 ),
1788 'zone' => array(
1789 'location' => 'path',
1790 'type' => 'string',
1791 'required' => true,
1792 ),
1793 'instanceGroup' => array(
1794 'location' => 'path',
1795 'type' => 'string',
1796 'required' => true,
1797 ),
1798 ),
1799 ),'get' => array(
1800 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}',
1801 'httpMethod' => 'GET',
1802 'parameters' => array(
1803 'project' => array(
1804 'location' => 'path',
1805 'type' => 'string',
1806 'required' => true,
1807 ),
1808 'zone' => array(
1809 'location' => 'path',
1810 'type' => 'string',
1811 'required' => true,
1812 ),
1813 'instanceGroup' => array(
1814 'location' => 'path',
1815 'type' => 'string',
1816 'required' => true,
1817 ),
1818 ),
1819 ),'insert' => array(
1820 'path' => '{project}/zones/{zone}/instanceGroups',
1821 'httpMethod' => 'POST',
1822 'parameters' => array(
1823 'project' => array(
1824 'location' => 'path',
1825 'type' => 'string',
1826 'required' => true,
1827 ),
1828 'zone' => array(
1829 'location' => 'path',
1830 'type' => 'string',
1831 'required' => true,
1832 ),
1833 ),
1834 ),'list' => array(
1835 'path' => '{project}/zones/{zone}/instanceGroups',
1836 'httpMethod' => 'GET',
1837 'parameters' => array(
1838 'project' => array(
1839 'location' => 'path',
1840 'type' => 'string',
1841 'required' => true,
1842 ),
1843 'zone' => array(
1844 'location' => 'path',
1845 'type' => 'string',
1846 'required' => true,
1847 ),
1848 'filter' => array(
1849 'location' => 'query',
1850 'type' => 'string',
1851 ),
1852 'maxResults' => array(
1853 'location' => 'query',
1854 'type' => 'integer',
1855 ),
1856 'pageToken' => array(
1857 'location' => 'query',
1858 'type' => 'string',
1859 ),
1860 ),
1861 ),'listInstances' => array(
1862 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances',
1863 'httpMethod' => 'POST',
1864 'parameters' => array(
1865 'project' => array(
1866 'location' => 'path',
1867 'type' => 'string',
1868 'required' => true,
1869 ),
1870 'zone' => array(
1871 'location' => 'path',
1872 'type' => 'string',
1873 'required' => true,
1874 ),
1875 'instanceGroup' => array(
1876 'location' => 'path',
1877 'type' => 'string',
1878 'required' => true,
1879 ),
1880 'filter' => array(
1881 'location' => 'query',
1882 'type' => 'string',
1883 ),
1884 'maxResults' => array(
1885 'location' => 'query',
1886 'type' => 'integer',
1887 ),
1888 'pageToken' => array(
1889 'location' => 'query',
1890 'type' => 'string',
1891 ),
1892 ),
1893 ),'removeInstances' => array(
1894 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances',
1895 'httpMethod' => 'POST',
1896 'parameters' => array(
1897 'project' => array(
1898 'location' => 'path',
1899 'type' => 'string',
1900 'required' => true,
1901 ),
1902 'zone' => array(
1903 'location' => 'path',
1904 'type' => 'string',
1905 'required' => true,
1906 ),
1907 'instanceGroup' => array(
1908 'location' => 'path',
1909 'type' => 'string',
1910 'required' => true,
1911 ),
1912 ),
1913 ),'setNamedPorts' => array(
1914 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts',
1915 'httpMethod' => 'POST',
1916 'parameters' => array(
1917 'project' => array(
1918 'location' => 'path',
1919 'type' => 'string',
1920 'required' => true,
1921 ),
1922 'zone' => array(
1923 'location' => 'path',
1924 'type' => 'string',
1925 'required' => true,
1926 ),
1927 'instanceGroup' => array(
1928 'location' => 'path',
1929 'type' => 'string',
1930 'required' => true,
1931 ),
1932 ),
1933 ),
1934 )
1935 )
1936 );
1937 $this->instanceTemplates = new Google_Service_Compute_InstanceTemplates_Resource(
1938 $this,
1939 $this->serviceName,
1940 'instanceTemplates',
1941 array(
1942 'methods' => array(
1943 'delete' => array(
1944 'path' => '{project}/global/instanceTemplates/{instanceTemplate}',
1945 'httpMethod' => 'DELETE',
1946 'parameters' => array(
1947 'project' => array(
1948 'location' => 'path',
1949 'type' => 'string',
1950 'required' => true,
1951 ),
1952 'instanceTemplate' => array(
1953 'location' => 'path',
1954 'type' => 'string',
1955 'required' => true,
1956 ),
1957 ),
1958 ),'get' => array(
1959 'path' => '{project}/global/instanceTemplates/{instanceTemplate}',
1960 'httpMethod' => 'GET',
1961 'parameters' => array(
1962 'project' => array(
1963 'location' => 'path',
1964 'type' => 'string',
1965 'required' => true,
1966 ),
1967 'instanceTemplate' => array(
1968 'location' => 'path',
1969 'type' => 'string',
1970 'required' => true,
1971 ),
1972 ),
1973 ),'insert' => array(
1974 'path' => '{project}/global/instanceTemplates',
1975 'httpMethod' => 'POST',
1976 'parameters' => array(
1977 'project' => array(
1978 'location' => 'path',
1979 'type' => 'string',
1980 'required' => true,
1981 ),
1982 ),
1983 ),'list' => array(
1984 'path' => '{project}/global/instanceTemplates',
1985 'httpMethod' => 'GET',
1986 'parameters' => array(
1987 'project' => array(
1988 'location' => 'path',
1989 'type' => 'string',
1990 'required' => true,
1991 ),
1992 'filter' => array(
1993 'location' => 'query',
1994 'type' => 'string',
1995 ),
1996 'maxResults' => array(
1997 'location' => 'query',
1998 'type' => 'integer',
1999 ),
2000 'pageToken' => array(
2001 'location' => 'query',
2002 'type' => 'string',
2003 ),
2004 ),
2005 ),
2006 )
2007 )
2008 );
2009 $this->instances = new Google_Service_Compute_Instances_Resource(
2010 $this,
2011 $this->serviceName,
2012 'instances',
2013 array(
2014 'methods' => array(
2015 'addAccessConfig' => array(
2016 'path' => '{project}/zones/{zone}/instances/{instance}/addAccessConfig',
2017 'httpMethod' => 'POST',
2018 'parameters' => array(
2019 'project' => array(
2020 'location' => 'path',
2021 'type' => 'string',
2022 'required' => true,
2023 ),
2024 'zone' => array(
2025 'location' => 'path',
2026 'type' => 'string',
2027 'required' => true,
2028 ),
2029 'instance' => array(
2030 'location' => 'path',
2031 'type' => 'string',
2032 'required' => true,
2033 ),
2034 'networkInterface' => array(
2035 'location' => 'query',
2036 'type' => 'string',
2037 'required' => true,
2038 ),
2039 ),
2040 ),'aggregatedList' => array(
2041 'path' => '{project}/aggregated/instances',
2042 'httpMethod' => 'GET',
2043 'parameters' => array(
2044 'project' => array(
2045 'location' => 'path',
2046 'type' => 'string',
2047 'required' => true,
2048 ),
2049 'filter' => array(
2050 'location' => 'query',
2051 'type' => 'string',
2052 ),
2053 'maxResults' => array(
2054 'location' => 'query',
2055 'type' => 'integer',
2056 ),
2057 'pageToken' => array(
2058 'location' => 'query',
2059 'type' => 'string',
2060 ),
2061 ),
2062 ),'attachDisk' => array(
2063 'path' => '{project}/zones/{zone}/instances/{instance}/attachDisk',
2064 'httpMethod' => 'POST',
2065 'parameters' => array(
2066 'project' => array(
2067 'location' => 'path',
2068 'type' => 'string',
2069 'required' => true,
2070 ),
2071 'zone' => array(
2072 'location' => 'path',
2073 'type' => 'string',
2074 'required' => true,
2075 ),
2076 'instance' => array(
2077 'location' => 'path',
2078 'type' => 'string',
2079 'required' => true,
2080 ),
2081 ),
2082 ),'delete' => array(
2083 'path' => '{project}/zones/{zone}/instances/{instance}',
2084 'httpMethod' => 'DELETE',
2085 'parameters' => array(
2086 'project' => array(
2087 'location' => 'path',
2088 'type' => 'string',
2089 'required' => true,
2090 ),
2091 'zone' => array(
2092 'location' => 'path',
2093 'type' => 'string',
2094 'required' => true,
2095 ),
2096 'instance' => array(
2097 'location' => 'path',
2098 'type' => 'string',
2099 'required' => true,
2100 ),
2101 ),
2102 ),'deleteAccessConfig' => array(
2103 'path' => '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig',
2104 'httpMethod' => 'POST',
2105 'parameters' => array(
2106 'project' => array(
2107 'location' => 'path',
2108 'type' => 'string',
2109 'required' => true,
2110 ),
2111 'zone' => array(
2112 'location' => 'path',
2113 'type' => 'string',
2114 'required' => true,
2115 ),
2116 'instance' => array(
2117 'location' => 'path',
2118 'type' => 'string',
2119 'required' => true,
2120 ),
2121 'accessConfig' => array(
2122 'location' => 'query',
2123 'type' => 'string',
2124 'required' => true,
2125 ),
2126 'networkInterface' => array(
2127 'location' => 'query',
2128 'type' => 'string',
2129 'required' => true,
2130 ),
2131 ),
2132 ),'detachDisk' => array(
2133 'path' => '{project}/zones/{zone}/instances/{instance}/detachDisk',
2134 'httpMethod' => 'POST',
2135 'parameters' => array(
2136 'project' => array(
2137 'location' => 'path',
2138 'type' => 'string',
2139 'required' => true,
2140 ),
2141 'zone' => array(
2142 'location' => 'path',
2143 'type' => 'string',
2144 'required' => true,
2145 ),
2146 'instance' => array(
2147 'location' => 'path',
2148 'type' => 'string',
2149 'required' => true,
2150 ),
2151 'deviceName' => array(
2152 'location' => 'query',
2153 'type' => 'string',
2154 'required' => true,
2155 ),
2156 ),
2157 ),'get' => array(
2158 'path' => '{project}/zones/{zone}/instances/{instance}',
2159 'httpMethod' => 'GET',
2160 'parameters' => array(
2161 'project' => array(
2162 'location' => 'path',
2163 'type' => 'string',
2164 'required' => true,
2165 ),
2166 'zone' => array(
2167 'location' => 'path',
2168 'type' => 'string',
2169 'required' => true,
2170 ),
2171 'instance' => array(
2172 'location' => 'path',
2173 'type' => 'string',
2174 'required' => true,
2175 ),
2176 ),
2177 ),'getSerialPortOutput' => array(
2178 'path' => '{project}/zones/{zone}/instances/{instance}/serialPort',
2179 'httpMethod' => 'GET',
2180 'parameters' => array(
2181 'project' => array(
2182 'location' => 'path',
2183 'type' => 'string',
2184 'required' => true,
2185 ),
2186 'zone' => array(
2187 'location' => 'path',
2188 'type' => 'string',
2189 'required' => true,
2190 ),
2191 'instance' => array(
2192 'location' => 'path',
2193 'type' => 'string',
2194 'required' => true,
2195 ),
2196 'port' => array(
2197 'location' => 'query',
2198 'type' => 'integer',
2199 ),
2200 ),
2201 ),'insert' => array(
2202 'path' => '{project}/zones/{zone}/instances',
2203 'httpMethod' => 'POST',
2204 'parameters' => array(
2205 'project' => array(
2206 'location' => 'path',
2207 'type' => 'string',
2208 'required' => true,
2209 ),
2210 'zone' => array(
2211 'location' => 'path',
2212 'type' => 'string',
2213 'required' => true,
2214 ),
2215 ),
2216 ),'list' => array(
2217 'path' => '{project}/zones/{zone}/instances',
2218 'httpMethod' => 'GET',
2219 'parameters' => array(
2220 'project' => array(
2221 'location' => 'path',
2222 'type' => 'string',
2223 'required' => true,
2224 ),
2225 'zone' => array(
2226 'location' => 'path',
2227 'type' => 'string',
2228 'required' => true,
2229 ),
2230 'filter' => array(
2231 'location' => 'query',
2232 'type' => 'string',
2233 ),
2234 'maxResults' => array(
2235 'location' => 'query',
2236 'type' => 'integer',
2237 ),
2238 'pageToken' => array(
2239 'location' => 'query',
2240 'type' => 'string',
2241 ),
2242 ),
2243 ),'reset' => array(
2244 'path' => '{project}/zones/{zone}/instances/{instance}/reset',
2245 'httpMethod' => 'POST',
2246 'parameters' => array(
2247 'project' => array(
2248 'location' => 'path',
2249 'type' => 'string',
2250 'required' => true,
2251 ),
2252 'zone' => array(
2253 'location' => 'path',
2254 'type' => 'string',
2255 'required' => true,
2256 ),
2257 'instance' => array(
2258 'location' => 'path',
2259 'type' => 'string',
2260 'required' => true,
2261 ),
2262 ),
2263 ),'setDiskAutoDelete' => array(
2264 'path' => '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete',
2265 'httpMethod' => 'POST',
2266 'parameters' => array(
2267 'project' => array(
2268 'location' => 'path',
2269 'type' => 'string',
2270 'required' => true,
2271 ),
2272 'zone' => array(
2273 'location' => 'path',
2274 'type' => 'string',
2275 'required' => true,
2276 ),
2277 'instance' => array(
2278 'location' => 'path',
2279 'type' => 'string',
2280 'required' => true,
2281 ),
2282 'autoDelete' => array(
2283 'location' => 'query',
2284 'type' => 'boolean',
2285 'required' => true,
2286 ),
2287 'deviceName' => array(
2288 'location' => 'query',
2289 'type' => 'string',
2290 'required' => true,
2291 ),
2292 ),
2293 ),'setMachineType' => array(
2294 'path' => '{project}/zones/{zone}/instances/{instance}/setMachineType',
2295 'httpMethod' => 'POST',
2296 'parameters' => array(
2297 'project' => array(
2298 'location' => 'path',
2299 'type' => 'string',
2300 'required' => true,
2301 ),
2302 'zone' => array(
2303 'location' => 'path',
2304 'type' => 'string',
2305 'required' => true,
2306 ),
2307 'instance' => array(
2308 'location' => 'path',
2309 'type' => 'string',
2310 'required' => true,
2311 ),
2312 ),
2313 ),'setMetadata' => array(
2314 'path' => '{project}/zones/{zone}/instances/{instance}/setMetadata',
2315 'httpMethod' => 'POST',
2316 'parameters' => array(
2317 'project' => array(
2318 'location' => 'path',
2319 'type' => 'string',
2320 'required' => true,
2321 ),
2322 'zone' => array(
2323 'location' => 'path',
2324 'type' => 'string',
2325 'required' => true,
2326 ),
2327 'instance' => array(
2328 'location' => 'path',
2329 'type' => 'string',
2330 'required' => true,
2331 ),
2332 ),
2333 ),'setScheduling' => array(
2334 'path' => '{project}/zones/{zone}/instances/{instance}/setScheduling',
2335 'httpMethod' => 'POST',
2336 'parameters' => array(
2337 'project' => array(
2338 'location' => 'path',
2339 'type' => 'string',
2340 'required' => true,
2341 ),
2342 'zone' => array(
2343 'location' => 'path',
2344 'type' => 'string',
2345 'required' => true,
2346 ),
2347 'instance' => array(
2348 'location' => 'path',
2349 'type' => 'string',
2350 'required' => true,
2351 ),
2352 ),
2353 ),'setTags' => array(
2354 'path' => '{project}/zones/{zone}/instances/{instance}/setTags',
2355 'httpMethod' => 'POST',
2356 'parameters' => array(
2357 'project' => array(
2358 'location' => 'path',
2359 'type' => 'string',
2360 'required' => true,
2361 ),
2362 'zone' => array(
2363 'location' => 'path',
2364 'type' => 'string',
2365 'required' => true,
2366 ),
2367 'instance' => array(
2368 'location' => 'path',
2369 'type' => 'string',
2370 'required' => true,
2371 ),
2372 ),
2373 ),'start' => array(
2374 'path' => '{project}/zones/{zone}/instances/{instance}/start',
2375 'httpMethod' => 'POST',
2376 'parameters' => array(
2377 'project' => array(
2378 'location' => 'path',
2379 'type' => 'string',
2380 'required' => true,
2381 ),
2382 'zone' => array(
2383 'location' => 'path',
2384 'type' => 'string',
2385 'required' => true,
2386 ),
2387 'instance' => array(
2388 'location' => 'path',
2389 'type' => 'string',
2390 'required' => true,
2391 ),
2392 ),
2393 ),'stop' => array(
2394 'path' => '{project}/zones/{zone}/instances/{instance}/stop',
2395 'httpMethod' => 'POST',
2396 'parameters' => array(
2397 'project' => array(
2398 'location' => 'path',
2399 'type' => 'string',
2400 'required' => true,
2401 ),
2402 'zone' => array(
2403 'location' => 'path',
2404 'type' => 'string',
2405 'required' => true,
2406 ),
2407 'instance' => array(
2408 'location' => 'path',
2409 'type' => 'string',
2410 'required' => true,
2411 ),
2412 ),
2413 ),
2414 )
2415 )
2416 );
2417 $this->licenses = new Google_Service_Compute_Licenses_Resource(
2418 $this,
2419 $this->serviceName,
2420 'licenses',
2421 array(
2422 'methods' => array(
2423 'get' => array(
2424 'path' => '{project}/global/licenses/{license}',
2425 'httpMethod' => 'GET',
2426 'parameters' => array(
2427 'project' => array(
2428 'location' => 'path',
2429 'type' => 'string',
2430 'required' => true,
2431 ),
2432 'license' => array(
2433 'location' => 'path',
2434 'type' => 'string',
2435 'required' => true,
2436 ),
2437 ),
2438 ),
2439 )
2440 )
2441 );
2442 $this->machineTypes = new Google_Service_Compute_MachineTypes_Resource(
2443 $this,
2444 $this->serviceName,
2445 'machineTypes',
2446 array(
2447 'methods' => array(
2448 'aggregatedList' => array(
2449 'path' => '{project}/aggregated/machineTypes',
2450 'httpMethod' => 'GET',
2451 'parameters' => array(
2452 'project' => array(
2453 'location' => 'path',
2454 'type' => 'string',
2455 'required' => true,
2456 ),
2457 'filter' => array(
2458 'location' => 'query',
2459 'type' => 'string',
2460 ),
2461 'maxResults' => array(
2462 'location' => 'query',
2463 'type' => 'integer',
2464 ),
2465 'pageToken' => array(
2466 'location' => 'query',
2467 'type' => 'string',
2468 ),
2469 ),
2470 ),'get' => array(
2471 'path' => '{project}/zones/{zone}/machineTypes/{machineType}',
2472 'httpMethod' => 'GET',
2473 'parameters' => array(
2474 'project' => array(
2475 'location' => 'path',
2476 'type' => 'string',
2477 'required' => true,
2478 ),
2479 'zone' => array(
2480 'location' => 'path',
2481 'type' => 'string',
2482 'required' => true,
2483 ),
2484 'machineType' => array(
2485 'location' => 'path',
2486 'type' => 'string',
2487 'required' => true,
2488 ),
2489 ),
2490 ),'list' => array(
2491 'path' => '{project}/zones/{zone}/machineTypes',
2492 'httpMethod' => 'GET',
2493 'parameters' => array(
2494 'project' => array(
2495 'location' => 'path',
2496 'type' => 'string',
2497 'required' => true,
2498 ),
2499 'zone' => array(
2500 'location' => 'path',
2501 'type' => 'string',
2502 'required' => true,
2503 ),
2504 'filter' => array(
2505 'location' => 'query',
2506 'type' => 'string',
2507 ),
2508 'maxResults' => array(
2509 'location' => 'query',
2510 'type' => 'integer',
2511 ),
2512 'pageToken' => array(
2513 'location' => 'query',
2514 'type' => 'string',
2515 ),
2516 ),
2517 ),
2518 )
2519 )
2520 );
2521 $this->networks = new Google_Service_Compute_Networks_Resource(
2522 $this,
2523 $this->serviceName,
2524 'networks',
2525 array(
2526 'methods' => array(
2527 'delete' => array(
2528 'path' => '{project}/global/networks/{network}',
2529 'httpMethod' => 'DELETE',
2530 'parameters' => array(
2531 'project' => array(
2532 'location' => 'path',
2533 'type' => 'string',
2534 'required' => true,
2535 ),
2536 'network' => array(
2537 'location' => 'path',
2538 'type' => 'string',
2539 'required' => true,
2540 ),
2541 ),
2542 ),'get' => array(
2543 'path' => '{project}/global/networks/{network}',
2544 'httpMethod' => 'GET',
2545 'parameters' => array(
2546 'project' => array(
2547 'location' => 'path',
2548 'type' => 'string',
2549 'required' => true,
2550 ),
2551 'network' => array(
2552 'location' => 'path',
2553 'type' => 'string',
2554 'required' => true,
2555 ),
2556 ),
2557 ),'insert' => array(
2558 'path' => '{project}/global/networks',
2559 'httpMethod' => 'POST',
2560 'parameters' => array(
2561 'project' => array(
2562 'location' => 'path',
2563 'type' => 'string',
2564 'required' => true,
2565 ),
2566 ),
2567 ),'list' => array(
2568 'path' => '{project}/global/networks',
2569 'httpMethod' => 'GET',
2570 'parameters' => array(
2571 'project' => array(
2572 'location' => 'path',
2573 'type' => 'string',
2574 'required' => true,
2575 ),
2576 'filter' => array(
2577 'location' => 'query',
2578 'type' => 'string',
2579 ),
2580 'maxResults' => array(
2581 'location' => 'query',
2582 'type' => 'integer',
2583 ),
2584 'pageToken' => array(
2585 'location' => 'query',
2586 'type' => 'string',
2587 ),
2588 ),
2589 ),
2590 )
2591 )
2592 );
2593 $this->projects = new Google_Service_Compute_Projects_Resource(
2594 $this,
2595 $this->serviceName,
2596 'projects',
2597 array(
2598 'methods' => array(
2599 'get' => array(
2600 'path' => '{project}',
2601 'httpMethod' => 'GET',
2602 'parameters' => array(
2603 'project' => array(
2604 'location' => 'path',
2605 'type' => 'string',
2606 'required' => true,
2607 ),
2608 ),
2609 ),'moveDisk' => array(
2610 'path' => '{project}/moveDisk',
2611 'httpMethod' => 'POST',
2612 'parameters' => array(
2613 'project' => array(
2614 'location' => 'path',
2615 'type' => 'string',
2616 'required' => true,
2617 ),
2618 ),
2619 ),'moveInstance' => array(
2620 'path' => '{project}/moveInstance',
2621 'httpMethod' => 'POST',
2622 'parameters' => array(
2623 'project' => array(
2624 'location' => 'path',
2625 'type' => 'string',
2626 'required' => true,
2627 ),
2628 ),
2629 ),'setCommonInstanceMetadata' => array(
2630 'path' => '{project}/setCommonInstanceMetadata',
2631 'httpMethod' => 'POST',
2632 'parameters' => array(
2633 'project' => array(
2634 'location' => 'path',
2635 'type' => 'string',
2636 'required' => true,
2637 ),
2638 ),
2639 ),'setUsageExportBucket' => array(
2640 'path' => '{project}/setUsageExportBucket',
2641 'httpMethod' => 'POST',
2642 'parameters' => array(
2643 'project' => array(
2644 'location' => 'path',
2645 'type' => 'string',
2646 'required' => true,
2647 ),
2648 ),
2649 ),
2650 )
2651 )
2652 );
2653 $this->regionOperations = new Google_Service_Compute_RegionOperations_Resource(
2654 $this,
2655 $this->serviceName,
2656 'regionOperations',
2657 array(
2658 'methods' => array(
2659 'delete' => array(
2660 'path' => '{project}/regions/{region}/operations/{operation}',
2661 'httpMethod' => 'DELETE',
2662 'parameters' => array(
2663 'project' => array(
2664 'location' => 'path',
2665 'type' => 'string',
2666 'required' => true,
2667 ),
2668 'region' => array(
2669 'location' => 'path',
2670 'type' => 'string',
2671 'required' => true,
2672 ),
2673 'operation' => array(
2674 'location' => 'path',
2675 'type' => 'string',
2676 'required' => true,
2677 ),
2678 ),
2679 ),'get' => array(
2680 'path' => '{project}/regions/{region}/operations/{operation}',
2681 'httpMethod' => 'GET',
2682 'parameters' => array(
2683 'project' => array(
2684 'location' => 'path',
2685 'type' => 'string',
2686 'required' => true,
2687 ),
2688 'region' => array(
2689 'location' => 'path',
2690 'type' => 'string',
2691 'required' => true,
2692 ),
2693 'operation' => array(
2694 'location' => 'path',
2695 'type' => 'string',
2696 'required' => true,
2697 ),
2698 ),
2699 ),'list' => array(
2700 'path' => '{project}/regions/{region}/operations',
2701 'httpMethod' => 'GET',
2702 'parameters' => array(
2703 'project' => array(
2704 'location' => 'path',
2705 'type' => 'string',
2706 'required' => true,
2707 ),
2708 'region' => array(
2709 'location' => 'path',
2710 'type' => 'string',
2711 'required' => true,
2712 ),
2713 'filter' => array(
2714 'location' => 'query',
2715 'type' => 'string',
2716 ),
2717 'maxResults' => array(
2718 'location' => 'query',
2719 'type' => 'integer',
2720 ),
2721 'pageToken' => array(
2722 'location' => 'query',
2723 'type' => 'string',
2724 ),
2725 ),
2726 ),
2727 )
2728 )
2729 );
2730 $this->regions = new Google_Service_Compute_Regions_Resource(
2731 $this,
2732 $this->serviceName,
2733 'regions',
2734 array(
2735 'methods' => array(
2736 'get' => array(
2737 'path' => '{project}/regions/{region}',
2738 'httpMethod' => 'GET',
2739 'parameters' => array(
2740 'project' => array(
2741 'location' => 'path',
2742 'type' => 'string',
2743 'required' => true,
2744 ),
2745 'region' => array(
2746 'location' => 'path',
2747 'type' => 'string',
2748 'required' => true,
2749 ),
2750 ),
2751 ),'list' => array(
2752 'path' => '{project}/regions',
2753 'httpMethod' => 'GET',
2754 'parameters' => array(
2755 'project' => array(
2756 'location' => 'path',
2757 'type' => 'string',
2758 'required' => true,
2759 ),
2760 'filter' => array(
2761 'location' => 'query',
2762 'type' => 'string',
2763 ),
2764 'maxResults' => array(
2765 'location' => 'query',
2766 'type' => 'integer',
2767 ),
2768 'pageToken' => array(
2769 'location' => 'query',
2770 'type' => 'string',
2771 ),
2772 ),
2773 ),
2774 )
2775 )
2776 );
2777 $this->routes = new Google_Service_Compute_Routes_Resource(
2778 $this,
2779 $this->serviceName,
2780 'routes',
2781 array(
2782 'methods' => array(
2783 'delete' => array(
2784 'path' => '{project}/global/routes/{route}',
2785 'httpMethod' => 'DELETE',
2786 'parameters' => array(
2787 'project' => array(
2788 'location' => 'path',
2789 'type' => 'string',
2790 'required' => true,
2791 ),
2792 'route' => array(
2793 'location' => 'path',
2794 'type' => 'string',
2795 'required' => true,
2796 ),
2797 ),
2798 ),'get' => array(
2799 'path' => '{project}/global/routes/{route}',
2800 'httpMethod' => 'GET',
2801 'parameters' => array(
2802 'project' => array(
2803 'location' => 'path',
2804 'type' => 'string',
2805 'required' => true,
2806 ),
2807 'route' => array(
2808 'location' => 'path',
2809 'type' => 'string',
2810 'required' => true,
2811 ),
2812 ),
2813 ),'insert' => array(
2814 'path' => '{project}/global/routes',
2815 'httpMethod' => 'POST',
2816 'parameters' => array(
2817 'project' => array(
2818 'location' => 'path',
2819 'type' => 'string',
2820 'required' => true,
2821 ),
2822 ),
2823 ),'list' => array(
2824 'path' => '{project}/global/routes',
2825 'httpMethod' => 'GET',
2826 'parameters' => array(
2827 'project' => array(
2828 'location' => 'path',
2829 'type' => 'string',
2830 'required' => true,
2831 ),
2832 'filter' => array(
2833 'location' => 'query',
2834 'type' => 'string',
2835 ),
2836 'maxResults' => array(
2837 'location' => 'query',
2838 'type' => 'integer',
2839 ),
2840 'pageToken' => array(
2841 'location' => 'query',
2842 'type' => 'string',
2843 ),
2844 ),
2845 ),
2846 )
2847 )
2848 );
2849 $this->snapshots = new Google_Service_Compute_Snapshots_Resource(
2850 $this,
2851 $this->serviceName,
2852 'snapshots',
2853 array(
2854 'methods' => array(
2855 'delete' => array(
2856 'path' => '{project}/global/snapshots/{snapshot}',
2857 'httpMethod' => 'DELETE',
2858 'parameters' => array(
2859 'project' => array(
2860 'location' => 'path',
2861 'type' => 'string',
2862 'required' => true,
2863 ),
2864 'snapshot' => array(
2865 'location' => 'path',
2866 'type' => 'string',
2867 'required' => true,
2868 ),
2869 ),
2870 ),'get' => array(
2871 'path' => '{project}/global/snapshots/{snapshot}',
2872 'httpMethod' => 'GET',
2873 'parameters' => array(
2874 'project' => array(
2875 'location' => 'path',
2876 'type' => 'string',
2877 'required' => true,
2878 ),
2879 'snapshot' => array(
2880 'location' => 'path',
2881 'type' => 'string',
2882 'required' => true,
2883 ),
2884 ),
2885 ),'list' => array(
2886 'path' => '{project}/global/snapshots',
2887 'httpMethod' => 'GET',
2888 'parameters' => array(
2889 'project' => array(
2890 'location' => 'path',
2891 'type' => 'string',
2892 'required' => true,
2893 ),
2894 'filter' => array(
2895 'location' => 'query',
2896 'type' => 'string',
2897 ),
2898 'maxResults' => array(
2899 'location' => 'query',
2900 'type' => 'integer',
2901 ),
2902 'pageToken' => array(
2903 'location' => 'query',
2904 'type' => 'string',
2905 ),
2906 ),
2907 ),
2908 )
2909 )
2910 );
2911 $this->sslCertificates = new Google_Service_Compute_SslCertificates_Resource(
2912 $this,
2913 $this->serviceName,
2914 'sslCertificates',
2915 array(
2916 'methods' => array(
2917 'delete' => array(
2918 'path' => '{project}/global/sslCertificates/{sslCertificate}',
2919 'httpMethod' => 'DELETE',
2920 'parameters' => array(
2921 'project' => array(
2922 'location' => 'path',
2923 'type' => 'string',
2924 'required' => true,
2925 ),
2926 'sslCertificate' => array(
2927 'location' => 'path',
2928 'type' => 'string',
2929 'required' => true,
2930 ),
2931 ),
2932 ),'get' => array(
2933 'path' => '{project}/global/sslCertificates/{sslCertificate}',
2934 'httpMethod' => 'GET',
2935 'parameters' => array(
2936 'project' => array(
2937 'location' => 'path',
2938 'type' => 'string',
2939 'required' => true,
2940 ),
2941 'sslCertificate' => array(
2942 'location' => 'path',
2943 'type' => 'string',
2944 'required' => true,
2945 ),
2946 ),
2947 ),'insert' => array(
2948 'path' => '{project}/global/sslCertificates',
2949 'httpMethod' => 'POST',
2950 'parameters' => array(
2951 'project' => array(
2952 'location' => 'path',
2953 'type' => 'string',
2954 'required' => true,
2955 ),
2956 ),
2957 ),'list' => array(
2958 'path' => '{project}/global/sslCertificates',
2959 'httpMethod' => 'GET',
2960 'parameters' => array(
2961 'project' => array(
2962 'location' => 'path',
2963 'type' => 'string',
2964 'required' => true,
2965 ),
2966 'filter' => array(
2967 'location' => 'query',
2968 'type' => 'string',
2969 ),
2970 'maxResults' => array(
2971 'location' => 'query',
2972 'type' => 'integer',
2973 ),
2974 'pageToken' => array(
2975 'location' => 'query',
2976 'type' => 'string',
2977 ),
2978 ),
2979 ),
2980 )
2981 )
2982 );
2983 $this->subnetworks = new Google_Service_Compute_Subnetworks_Resource(
2984 $this,
2985 $this->serviceName,
2986 'subnetworks',
2987 array(
2988 'methods' => array(
2989 'aggregatedList' => array(
2990 'path' => '{project}/aggregated/subnetworks',
2991 'httpMethod' => 'GET',
2992 'parameters' => array(
2993 'project' => array(
2994 'location' => 'path',
2995 'type' => 'string',
2996 'required' => true,
2997 ),
2998 'filter' => array(
2999 'location' => 'query',
3000 'type' => 'string',
3001 ),
3002 'maxResults' => array(
3003 'location' => 'query',
3004 'type' => 'integer',
3005 ),
3006 'pageToken' => array(
3007 'location' => 'query',
3008 'type' => 'string',
3009 ),
3010 ),
3011 ),'delete' => array(
3012 'path' => '{project}/regions/{region}/subnetworks/{subnetwork}',
3013 'httpMethod' => 'DELETE',
3014 'parameters' => array(
3015 'project' => array(
3016 'location' => 'path',
3017 'type' => 'string',
3018 'required' => true,
3019 ),
3020 'region' => array(
3021 'location' => 'path',
3022 'type' => 'string',
3023 'required' => true,
3024 ),
3025 'subnetwork' => array(
3026 'location' => 'path',
3027 'type' => 'string',
3028 'required' => true,
3029 ),
3030 ),
3031 ),'get' => array(
3032 'path' => '{project}/regions/{region}/subnetworks/{subnetwork}',
3033 'httpMethod' => 'GET',
3034 'parameters' => array(
3035 'project' => array(
3036 'location' => 'path',
3037 'type' => 'string',
3038 'required' => true,
3039 ),
3040 'region' => array(
3041 'location' => 'path',
3042 'type' => 'string',
3043 'required' => true,
3044 ),
3045 'subnetwork' => array(
3046 'location' => 'path',
3047 'type' => 'string',
3048 'required' => true,
3049 ),
3050 ),
3051 ),'insert' => array(
3052 'path' => '{project}/regions/{region}/subnetworks',
3053 'httpMethod' => 'POST',
3054 'parameters' => array(
3055 'project' => array(
3056 'location' => 'path',
3057 'type' => 'string',
3058 'required' => true,
3059 ),
3060 'region' => array(
3061 'location' => 'path',
3062 'type' => 'string',
3063 'required' => true,
3064 ),
3065 ),
3066 ),'list' => array(
3067 'path' => '{project}/regions/{region}/subnetworks',
3068 'httpMethod' => 'GET',
3069 'parameters' => array(
3070 'project' => array(
3071 'location' => 'path',
3072 'type' => 'string',
3073 'required' => true,
3074 ),
3075 'region' => array(
3076 'location' => 'path',
3077 'type' => 'string',
3078 'required' => true,
3079 ),
3080 'filter' => array(
3081 'location' => 'query',
3082 'type' => 'string',
3083 ),
3084 'maxResults' => array(
3085 'location' => 'query',
3086 'type' => 'integer',
3087 ),
3088 'pageToken' => array(
3089 'location' => 'query',
3090 'type' => 'string',
3091 ),
3092 ),
3093 ),
3094 )
3095 )
3096 );
3097 $this->targetHttpProxies = new Google_Service_Compute_TargetHttpProxies_Resource(
3098 $this,
3099 $this->serviceName,
3100 'targetHttpProxies',
3101 array(
3102 'methods' => array(
3103 'delete' => array(
3104 'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}',
3105 'httpMethod' => 'DELETE',
3106 'parameters' => array(
3107 'project' => array(
3108 'location' => 'path',
3109 'type' => 'string',
3110 'required' => true,
3111 ),
3112 'targetHttpProxy' => array(
3113 'location' => 'path',
3114 'type' => 'string',
3115 'required' => true,
3116 ),
3117 ),
3118 ),'get' => array(
3119 'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}',
3120 'httpMethod' => 'GET',
3121 'parameters' => array(
3122 'project' => array(
3123 'location' => 'path',
3124 'type' => 'string',
3125 'required' => true,
3126 ),
3127 'targetHttpProxy' => array(
3128 'location' => 'path',
3129 'type' => 'string',
3130 'required' => true,
3131 ),
3132 ),
3133 ),'insert' => array(
3134 'path' => '{project}/global/targetHttpProxies',
3135 'httpMethod' => 'POST',
3136 'parameters' => array(
3137 'project' => array(
3138 'location' => 'path',
3139 'type' => 'string',
3140 'required' => true,
3141 ),
3142 ),
3143 ),'list' => array(
3144 'path' => '{project}/global/targetHttpProxies',
3145 'httpMethod' => 'GET',
3146 'parameters' => array(
3147 'project' => array(
3148 'location' => 'path',
3149 'type' => 'string',
3150 'required' => true,
3151 ),
3152 'filter' => array(
3153 'location' => 'query',
3154 'type' => 'string',
3155 ),
3156 'maxResults' => array(
3157 'location' => 'query',
3158 'type' => 'integer',
3159 ),
3160 'pageToken' => array(
3161 'location' => 'query',
3162 'type' => 'string',
3163 ),
3164 ),
3165 ),'setUrlMap' => array(
3166 'path' => '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap',
3167 'httpMethod' => 'POST',
3168 'parameters' => array(
3169 'project' => array(
3170 'location' => 'path',
3171 'type' => 'string',
3172 'required' => true,
3173 ),
3174 'targetHttpProxy' => array(
3175 'location' => 'path',
3176 'type' => 'string',
3177 'required' => true,
3178 ),
3179 ),
3180 ),
3181 )
3182 )
3183 );
3184 $this->targetHttpsProxies = new Google_Service_Compute_TargetHttpsProxies_Resource(
3185 $this,
3186 $this->serviceName,
3187 'targetHttpsProxies',
3188 array(
3189 'methods' => array(
3190 'delete' => array(
3191 'path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}',
3192 'httpMethod' => 'DELETE',
3193 'parameters' => array(
3194 'project' => array(
3195 'location' => 'path',
3196 'type' => 'string',
3197 'required' => true,
3198 ),
3199 'targetHttpsProxy' => array(
3200 'location' => 'path',
3201 'type' => 'string',
3202 'required' => true,
3203 ),
3204 ),
3205 ),'get' => array(
3206 'path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}',
3207 'httpMethod' => 'GET',
3208 'parameters' => array(
3209 'project' => array(
3210 'location' => 'path',
3211 'type' => 'string',
3212 'required' => true,
3213 ),
3214 'targetHttpsProxy' => array(
3215 'location' => 'path',
3216 'type' => 'string',
3217 'required' => true,
3218 ),
3219 ),
3220 ),'insert' => array(
3221 'path' => '{project}/global/targetHttpsProxies',
3222 'httpMethod' => 'POST',
3223 'parameters' => array(
3224 'project' => array(
3225 'location' => 'path',
3226 'type' => 'string',
3227 'required' => true,
3228 ),
3229 ),
3230 ),'list' => array(
3231 'path' => '{project}/global/targetHttpsProxies',
3232 'httpMethod' => 'GET',
3233 'parameters' => array(
3234 'project' => array(
3235 'location' => 'path',
3236 'type' => 'string',
3237 'required' => true,
3238 ),
3239 'filter' => array(
3240 'location' => 'query',
3241 'type' => 'string',
3242 ),
3243 'maxResults' => array(
3244 'location' => 'query',
3245 'type' => 'integer',
3246 ),
3247 'pageToken' => array(
3248 'location' => 'query',
3249 'type' => 'string',
3250 ),
3251 ),
3252 ),'setSslCertificates' => array(
3253 'path' => '{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates',
3254 'httpMethod' => 'POST',
3255 'parameters' => array(
3256 'project' => array(
3257 'location' => 'path',
3258 'type' => 'string',
3259 'required' => true,
3260 ),
3261 'targetHttpsProxy' => array(
3262 'location' => 'path',
3263 'type' => 'string',
3264 'required' => true,
3265 ),
3266 ),
3267 ),'setUrlMap' => array(
3268 'path' => '{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap',
3269 'httpMethod' => 'POST',
3270 'parameters' => array(
3271 'project' => array(
3272 'location' => 'path',
3273 'type' => 'string',
3274 'required' => true,
3275 ),
3276 'targetHttpsProxy' => array(
3277 'location' => 'path',
3278 'type' => 'string',
3279 'required' => true,
3280 ),
3281 ),
3282 ),
3283 )
3284 )
3285 );
3286 $this->targetInstances = new Google_Service_Compute_TargetInstances_Resource(
3287 $this,
3288 $this->serviceName,
3289 'targetInstances',
3290 array(
3291 'methods' => array(
3292 'aggregatedList' => array(
3293 'path' => '{project}/aggregated/targetInstances',
3294 'httpMethod' => 'GET',
3295 'parameters' => array(
3296 'project' => array(
3297 'location' => 'path',
3298 'type' => 'string',
3299 'required' => true,
3300 ),
3301 'filter' => array(
3302 'location' => 'query',
3303 'type' => 'string',
3304 ),
3305 'maxResults' => array(
3306 'location' => 'query',
3307 'type' => 'integer',
3308 ),
3309 'pageToken' => array(
3310 'location' => 'query',
3311 'type' => 'string',
3312 ),
3313 ),
3314 ),'delete' => array(
3315 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}',
3316 'httpMethod' => 'DELETE',
3317 'parameters' => array(
3318 'project' => array(
3319 'location' => 'path',
3320 'type' => 'string',
3321 'required' => true,
3322 ),
3323 'zone' => array(
3324 'location' => 'path',
3325 'type' => 'string',
3326 'required' => true,
3327 ),
3328 'targetInstance' => array(
3329 'location' => 'path',
3330 'type' => 'string',
3331 'required' => true,
3332 ),
3333 ),
3334 ),'get' => array(
3335 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}',
3336 'httpMethod' => 'GET',
3337 'parameters' => array(
3338 'project' => array(
3339 'location' => 'path',
3340 'type' => 'string',
3341 'required' => true,
3342 ),
3343 'zone' => array(
3344 'location' => 'path',
3345 'type' => 'string',
3346 'required' => true,
3347 ),
3348 'targetInstance' => array(
3349 'location' => 'path',
3350 'type' => 'string',
3351 'required' => true,
3352 ),
3353 ),
3354 ),'insert' => array(
3355 'path' => '{project}/zones/{zone}/targetInstances',
3356 'httpMethod' => 'POST',
3357 'parameters' => array(
3358 'project' => array(
3359 'location' => 'path',
3360 'type' => 'string',
3361 'required' => true,
3362 ),
3363 'zone' => array(
3364 'location' => 'path',
3365 'type' => 'string',
3366 'required' => true,
3367 ),
3368 ),
3369 ),'list' => array(
3370 'path' => '{project}/zones/{zone}/targetInstances',
3371 'httpMethod' => 'GET',
3372 'parameters' => array(
3373 'project' => array(
3374 'location' => 'path',
3375 'type' => 'string',
3376 'required' => true,
3377 ),
3378 'zone' => array(
3379 'location' => 'path',
3380 'type' => 'string',
3381 'required' => true,
3382 ),
3383 'filter' => array(
3384 'location' => 'query',
3385 'type' => 'string',
3386 ),
3387 'maxResults' => array(
3388 'location' => 'query',
3389 'type' => 'integer',
3390 ),
3391 'pageToken' => array(
3392 'location' => 'query',
3393 'type' => 'string',
3394 ),
3395 ),
3396 ),
3397 )
3398 )
3399 );
3400 $this->targetPools = new Google_Service_Compute_TargetPools_Resource(
3401 $this,
3402 $this->serviceName,
3403 'targetPools',
3404 array(
3405 'methods' => array(
3406 'addHealthCheck' => array(
3407 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck',
3408 'httpMethod' => 'POST',
3409 'parameters' => array(
3410 'project' => array(
3411 'location' => 'path',
3412 'type' => 'string',
3413 'required' => true,
3414 ),
3415 'region' => array(
3416 'location' => 'path',
3417 'type' => 'string',
3418 'required' => true,
3419 ),
3420 'targetPool' => array(
3421 'location' => 'path',
3422 'type' => 'string',
3423 'required' => true,
3424 ),
3425 ),
3426 ),'addInstance' => array(
3427 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addInstance',
3428 'httpMethod' => 'POST',
3429 'parameters' => array(
3430 'project' => array(
3431 'location' => 'path',
3432 'type' => 'string',
3433 'required' => true,
3434 ),
3435 'region' => array(
3436 'location' => 'path',
3437 'type' => 'string',
3438 'required' => true,
3439 ),
3440 'targetPool' => array(
3441 'location' => 'path',
3442 'type' => 'string',
3443 'required' => true,
3444 ),
3445 ),
3446 ),'aggregatedList' => array(
3447 'path' => '{project}/aggregated/targetPools',
3448 'httpMethod' => 'GET',
3449 'parameters' => array(
3450 'project' => array(
3451 'location' => 'path',
3452 'type' => 'string',
3453 'required' => true,
3454 ),
3455 'filter' => array(
3456 'location' => 'query',
3457 'type' => 'string',
3458 ),
3459 'maxResults' => array(
3460 'location' => 'query',
3461 'type' => 'integer',
3462 ),
3463 'pageToken' => array(
3464 'location' => 'query',
3465 'type' => 'string',
3466 ),
3467 ),
3468 ),'delete' => array(
3469 'path' => '{project}/regions/{region}/targetPools/{targetPool}',
3470 'httpMethod' => 'DELETE',
3471 'parameters' => array(
3472 'project' => array(
3473 'location' => 'path',
3474 'type' => 'string',
3475 'required' => true,
3476 ),
3477 'region' => array(
3478 'location' => 'path',
3479 'type' => 'string',
3480 'required' => true,
3481 ),
3482 'targetPool' => array(
3483 'location' => 'path',
3484 'type' => 'string',
3485 'required' => true,
3486 ),
3487 ),
3488 ),'get' => array(
3489 'path' => '{project}/regions/{region}/targetPools/{targetPool}',
3490 'httpMethod' => 'GET',
3491 'parameters' => array(
3492 'project' => array(
3493 'location' => 'path',
3494 'type' => 'string',
3495 'required' => true,
3496 ),
3497 'region' => array(
3498 'location' => 'path',
3499 'type' => 'string',
3500 'required' => true,
3501 ),
3502 'targetPool' => array(
3503 'location' => 'path',
3504 'type' => 'string',
3505 'required' => true,
3506 ),
3507 ),
3508 ),'getHealth' => array(
3509 'path' => '{project}/regions/{region}/targetPools/{targetPool}/getHealth',
3510 'httpMethod' => 'POST',
3511 'parameters' => array(
3512 'project' => array(
3513 'location' => 'path',
3514 'type' => 'string',
3515 'required' => true,
3516 ),
3517 'region' => array(
3518 'location' => 'path',
3519 'type' => 'string',
3520 'required' => true,
3521 ),
3522 'targetPool' => array(
3523 'location' => 'path',
3524 'type' => 'string',
3525 'required' => true,
3526 ),
3527 ),
3528 ),'insert' => array(
3529 'path' => '{project}/regions/{region}/targetPools',
3530 'httpMethod' => 'POST',
3531 'parameters' => array(
3532 'project' => array(
3533 'location' => 'path',
3534 'type' => 'string',
3535 'required' => true,
3536 ),
3537 'region' => array(
3538 'location' => 'path',
3539 'type' => 'string',
3540 'required' => true,
3541 ),
3542 ),
3543 ),'list' => array(
3544 'path' => '{project}/regions/{region}/targetPools',
3545 'httpMethod' => 'GET',
3546 'parameters' => array(
3547 'project' => array(
3548 'location' => 'path',
3549 'type' => 'string',
3550 'required' => true,
3551 ),
3552 'region' => array(
3553 'location' => 'path',
3554 'type' => 'string',
3555 'required' => true,
3556 ),
3557 'filter' => array(
3558 'location' => 'query',
3559 'type' => 'string',
3560 ),
3561 'maxResults' => array(
3562 'location' => 'query',
3563 'type' => 'integer',
3564 ),
3565 'pageToken' => array(
3566 'location' => 'query',
3567 'type' => 'string',
3568 ),
3569 ),
3570 ),'removeHealthCheck' => array(
3571 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck',
3572 'httpMethod' => 'POST',
3573 'parameters' => array(
3574 'project' => array(
3575 'location' => 'path',
3576 'type' => 'string',
3577 'required' => true,
3578 ),
3579 'region' => array(
3580 'location' => 'path',
3581 'type' => 'string',
3582 'required' => true,
3583 ),
3584 'targetPool' => array(
3585 'location' => 'path',
3586 'type' => 'string',
3587 'required' => true,
3588 ),
3589 ),
3590 ),'removeInstance' => array(
3591 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeInstance',
3592 'httpMethod' => 'POST',
3593 'parameters' => array(
3594 'project' => array(
3595 'location' => 'path',
3596 'type' => 'string',
3597 'required' => true,
3598 ),
3599 'region' => array(
3600 'location' => 'path',
3601 'type' => 'string',
3602 'required' => true,
3603 ),
3604 'targetPool' => array(
3605 'location' => 'path',
3606 'type' => 'string',
3607 'required' => true,
3608 ),
3609 ),
3610 ),'setBackup' => array(
3611 'path' => '{project}/regions/{region}/targetPools/{targetPool}/setBackup',
3612 'httpMethod' => 'POST',
3613 'parameters' => array(
3614 'project' => array(
3615 'location' => 'path',
3616 'type' => 'string',
3617 'required' => true,
3618 ),
3619 'region' => array(
3620 'location' => 'path',
3621 'type' => 'string',
3622 'required' => true,
3623 ),
3624 'targetPool' => array(
3625 'location' => 'path',
3626 'type' => 'string',
3627 'required' => true,
3628 ),
3629 'failoverRatio' => array(
3630 'location' => 'query',
3631 'type' => 'number',
3632 ),
3633 ),
3634 ),
3635 )
3636 )
3637 );
3638 $this->targetVpnGateways = new Google_Service_Compute_TargetVpnGateways_Resource(
3639 $this,
3640 $this->serviceName,
3641 'targetVpnGateways',
3642 array(
3643 'methods' => array(
3644 'aggregatedList' => array(
3645 'path' => '{project}/aggregated/targetVpnGateways',
3646 'httpMethod' => 'GET',
3647 'parameters' => array(
3648 'project' => array(
3649 'location' => 'path',
3650 'type' => 'string',
3651 'required' => true,
3652 ),
3653 'filter' => array(
3654 'location' => 'query',
3655 'type' => 'string',
3656 ),
3657 'maxResults' => array(
3658 'location' => 'query',
3659 'type' => 'integer',
3660 ),
3661 'pageToken' => array(
3662 'location' => 'query',
3663 'type' => 'string',
3664 ),
3665 ),
3666 ),'delete' => array(
3667 'path' => '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}',
3668 'httpMethod' => 'DELETE',
3669 'parameters' => array(
3670 'project' => array(
3671 'location' => 'path',
3672 'type' => 'string',
3673 'required' => true,
3674 ),
3675 'region' => array(
3676 'location' => 'path',
3677 'type' => 'string',
3678 'required' => true,
3679 ),
3680 'targetVpnGateway' => array(
3681 'location' => 'path',
3682 'type' => 'string',
3683 'required' => true,
3684 ),
3685 ),
3686 ),'get' => array(
3687 'path' => '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}',
3688 'httpMethod' => 'GET',
3689 'parameters' => array(
3690 'project' => array(
3691 'location' => 'path',
3692 'type' => 'string',
3693 'required' => true,
3694 ),
3695 'region' => array(
3696 'location' => 'path',
3697 'type' => 'string',
3698 'required' => true,
3699 ),
3700 'targetVpnGateway' => array(
3701 'location' => 'path',
3702 'type' => 'string',
3703 'required' => true,
3704 ),
3705 ),
3706 ),'insert' => array(
3707 'path' => '{project}/regions/{region}/targetVpnGateways',
3708 'httpMethod' => 'POST',
3709 'parameters' => array(
3710 'project' => array(
3711 'location' => 'path',
3712 'type' => 'string',
3713 'required' => true,
3714 ),
3715 'region' => array(
3716 'location' => 'path',
3717 'type' => 'string',
3718 'required' => true,
3719 ),
3720 ),
3721 ),'list' => array(
3722 'path' => '{project}/regions/{region}/targetVpnGateways',
3723 'httpMethod' => 'GET',
3724 'parameters' => array(
3725 'project' => array(
3726 'location' => 'path',
3727 'type' => 'string',
3728 'required' => true,
3729 ),
3730 'region' => array(
3731 'location' => 'path',
3732 'type' => 'string',
3733 'required' => true,
3734 ),
3735 'filter' => array(
3736 'location' => 'query',
3737 'type' => 'string',
3738 ),
3739 'maxResults' => array(
3740 'location' => 'query',
3741 'type' => 'integer',
3742 ),
3743 'pageToken' => array(
3744 'location' => 'query',
3745 'type' => 'string',
3746 ),
3747 ),
3748 ),
3749 )
3750 )
3751 );
3752 $this->urlMaps = new Google_Service_Compute_UrlMaps_Resource(
3753 $this,
3754 $this->serviceName,
3755 'urlMaps',
3756 array(
3757 'methods' => array(
3758 'delete' => array(
3759 'path' => '{project}/global/urlMaps/{urlMap}',
3760 'httpMethod' => 'DELETE',
3761 'parameters' => array(
3762 'project' => array(
3763 'location' => 'path',
3764 'type' => 'string',
3765 'required' => true,
3766 ),
3767 'urlMap' => array(
3768 'location' => 'path',
3769 'type' => 'string',
3770 'required' => true,
3771 ),
3772 ),
3773 ),'get' => array(
3774 'path' => '{project}/global/urlMaps/{urlMap}',
3775 'httpMethod' => 'GET',
3776 'parameters' => array(
3777 'project' => array(
3778 'location' => 'path',
3779 'type' => 'string',
3780 'required' => true,
3781 ),
3782 'urlMap' => array(
3783 'location' => 'path',
3784 'type' => 'string',
3785 'required' => true,
3786 ),
3787 ),
3788 ),'insert' => array(
3789 'path' => '{project}/global/urlMaps',
3790 'httpMethod' => 'POST',
3791 'parameters' => array(
3792 'project' => array(
3793 'location' => 'path',
3794 'type' => 'string',
3795 'required' => true,
3796 ),
3797 ),
3798 ),'list' => array(
3799 'path' => '{project}/global/urlMaps',
3800 'httpMethod' => 'GET',
3801 'parameters' => array(
3802 'project' => array(
3803 'location' => 'path',
3804 'type' => 'string',
3805 'required' => true,
3806 ),
3807 'filter' => array(
3808 'location' => 'query',
3809 'type' => 'string',
3810 ),
3811 'maxResults' => array(
3812 'location' => 'query',
3813 'type' => 'integer',
3814 ),
3815 'pageToken' => array(
3816 'location' => 'query',
3817 'type' => 'string',
3818 ),
3819 ),
3820 ),'patch' => array(
3821 'path' => '{project}/global/urlMaps/{urlMap}',
3822 'httpMethod' => 'PATCH',
3823 'parameters' => array(
3824 'project' => array(
3825 'location' => 'path',
3826 'type' => 'string',
3827 'required' => true,
3828 ),
3829 'urlMap' => array(
3830 'location' => 'path',
3831 'type' => 'string',
3832 'required' => true,
3833 ),
3834 ),
3835 ),'update' => array(
3836 'path' => '{project}/global/urlMaps/{urlMap}',
3837 'httpMethod' => 'PUT',
3838 'parameters' => array(
3839 'project' => array(
3840 'location' => 'path',
3841 'type' => 'string',
3842 'required' => true,
3843 ),
3844 'urlMap' => array(
3845 'location' => 'path',
3846 'type' => 'string',
3847 'required' => true,
3848 ),
3849 ),
3850 ),'validate' => array(
3851 'path' => '{project}/global/urlMaps/{urlMap}/validate',
3852 'httpMethod' => 'POST',
3853 'parameters' => array(
3854 'project' => array(
3855 'location' => 'path',
3856 'type' => 'string',
3857 'required' => true,
3858 ),
3859 'urlMap' => array(
3860 'location' => 'path',
3861 'type' => 'string',
3862 'required' => true,
3863 ),
3864 ),
3865 ),
3866 )
3867 )
3868 );
3869 $this->vpnTunnels = new Google_Service_Compute_VpnTunnels_Resource(
3870 $this,
3871 $this->serviceName,
3872 'vpnTunnels',
3873 array(
3874 'methods' => array(
3875 'aggregatedList' => array(
3876 'path' => '{project}/aggregated/vpnTunnels',
3877 'httpMethod' => 'GET',
3878 'parameters' => array(
3879 'project' => array(
3880 'location' => 'path',
3881 'type' => 'string',
3882 'required' => true,
3883 ),
3884 'filter' => array(
3885 'location' => 'query',
3886 'type' => 'string',
3887 ),
3888 'maxResults' => array(
3889 'location' => 'query',
3890 'type' => 'integer',
3891 ),
3892 'pageToken' => array(
3893 'location' => 'query',
3894 'type' => 'string',
3895 ),
3896 ),
3897 ),'delete' => array(
3898 'path' => '{project}/regions/{region}/vpnTunnels/{vpnTunnel}',
3899 'httpMethod' => 'DELETE',
3900 'parameters' => array(
3901 'project' => array(
3902 'location' => 'path',
3903 'type' => 'string',
3904 'required' => true,
3905 ),
3906 'region' => array(
3907 'location' => 'path',
3908 'type' => 'string',
3909 'required' => true,
3910 ),
3911 'vpnTunnel' => array(
3912 'location' => 'path',
3913 'type' => 'string',
3914 'required' => true,
3915 ),
3916 ),
3917 ),'get' => array(
3918 'path' => '{project}/regions/{region}/vpnTunnels/{vpnTunnel}',
3919 'httpMethod' => 'GET',
3920 'parameters' => array(
3921 'project' => array(
3922 'location' => 'path',
3923 'type' => 'string',
3924 'required' => true,
3925 ),
3926 'region' => array(
3927 'location' => 'path',
3928 'type' => 'string',
3929 'required' => true,
3930 ),
3931 'vpnTunnel' => array(
3932 'location' => 'path',
3933 'type' => 'string',
3934 'required' => true,
3935 ),
3936 ),
3937 ),'insert' => array(
3938 'path' => '{project}/regions/{region}/vpnTunnels',
3939 'httpMethod' => 'POST',
3940 'parameters' => array(
3941 'project' => array(
3942 'location' => 'path',
3943 'type' => 'string',
3944 'required' => true,
3945 ),
3946 'region' => array(
3947 'location' => 'path',
3948 'type' => 'string',
3949 'required' => true,
3950 ),
3951 ),
3952 ),'list' => array(
3953 'path' => '{project}/regions/{region}/vpnTunnels',
3954 'httpMethod' => 'GET',
3955 'parameters' => array(
3956 'project' => array(
3957 'location' => 'path',
3958 'type' => 'string',
3959 'required' => true,
3960 ),
3961 'region' => array(
3962 'location' => 'path',
3963 'type' => 'string',
3964 'required' => true,
3965 ),
3966 'filter' => array(
3967 'location' => 'query',
3968 'type' => 'string',
3969 ),
3970 'maxResults' => array(
3971 'location' => 'query',
3972 'type' => 'integer',
3973 ),
3974 'pageToken' => array(
3975 'location' => 'query',
3976 'type' => 'string',
3977 ),
3978 ),
3979 ),
3980 )
3981 )
3982 );
3983 $this->zoneOperations = new Google_Service_Compute_ZoneOperations_Resource(
3984 $this,
3985 $this->serviceName,
3986 'zoneOperations',
3987 array(
3988 'methods' => array(
3989 'delete' => array(
3990 'path' => '{project}/zones/{zone}/operations/{operation}',
3991 'httpMethod' => 'DELETE',
3992 'parameters' => array(
3993 'project' => array(
3994 'location' => 'path',
3995 'type' => 'string',
3996 'required' => true,
3997 ),
3998 'zone' => array(
3999 'location' => 'path',
4000 'type' => 'string',
4001 'required' => true,
4002 ),
4003 'operation' => array(
4004 'location' => 'path',
4005 'type' => 'string',
4006 'required' => true,
4007 ),
4008 ),
4009 ),'get' => array(
4010 'path' => '{project}/zones/{zone}/operations/{operation}',
4011 'httpMethod' => 'GET',
4012 'parameters' => array(
4013 'project' => array(
4014 'location' => 'path',
4015 'type' => 'string',
4016 'required' => true,
4017 ),
4018 'zone' => array(
4019 'location' => 'path',
4020 'type' => 'string',
4021 'required' => true,
4022 ),
4023 'operation' => array(
4024 'location' => 'path',
4025 'type' => 'string',
4026 'required' => true,
4027 ),
4028 ),
4029 ),'list' => array(
4030 'path' => '{project}/zones/{zone}/operations',
4031 'httpMethod' => 'GET',
4032 'parameters' => array(
4033 'project' => array(
4034 'location' => 'path',
4035 'type' => 'string',
4036 'required' => true,
4037 ),
4038 'zone' => array(
4039 'location' => 'path',
4040 'type' => 'string',
4041 'required' => true,
4042 ),
4043 'filter' => array(
4044 'location' => 'query',
4045 'type' => 'string',
4046 ),
4047 'maxResults' => array(
4048 'location' => 'query',
4049 'type' => 'integer',
4050 ),
4051 'pageToken' => array(
4052 'location' => 'query',
4053 'type' => 'string',
4054 ),
4055 ),
4056 ),
4057 )
4058 )
4059 );
4060 $this->zones = new Google_Service_Compute_Zones_Resource(
4061 $this,
4062 $this->serviceName,
4063 'zones',
4064 array(
4065 'methods' => array(
4066 'get' => array(
4067 'path' => '{project}/zones/{zone}',
4068 'httpMethod' => 'GET',
4069 'parameters' => array(
4070 'project' => array(
4071 'location' => 'path',
4072 'type' => 'string',
4073 'required' => true,
4074 ),
4075 'zone' => array(
4076 'location' => 'path',
4077 'type' => 'string',
4078 'required' => true,
4079 ),
4080 ),
4081 ),'list' => array(
4082 'path' => '{project}/zones',
4083 'httpMethod' => 'GET',
4084 'parameters' => array(
4085 'project' => array(
4086 'location' => 'path',
4087 'type' => 'string',
4088 'required' => true,
4089 ),
4090 'filter' => array(
4091 'location' => 'query',
4092 'type' => 'string',
4093 ),
4094 'maxResults' => array(
4095 'location' => 'query',
4096 'type' => 'integer',
4097 ),
4098 'pageToken' => array(
4099 'location' => 'query',
4100 'type' => 'string',
4101 ),
4102 ),
4103 ),
4104 )
4105 )
4106 );
4107 }
4108 }
4109
4110
4111 /**
4112 * The "addresses" collection of methods.
4113 * Typical usage is:
4114 * <code>
4115 * $computeService = new Google_Service_Compute(...);
4116 * $addresses = $computeService->addresses;
4117 * </code>
4118 */
4119 class Google_Service_Compute_Addresses_Resource extends Google_Service_Resource
4120 {
4121
4122 /**
4123 * Retrieves an aggregated list of addresses. (addresses.aggregatedList)
4124 *
4125 * @param string $project Project ID for this request.
4126 * @param array $optParams Optional parameters.
4127 *
4128 * @opt_param string filter Sets a filter expression for filtering listed
4129 * resources, in the form filter={expression}. Your {expression} must be in the
4130 * format: field_name comparison_string literal_string.
4131 *
4132 * The field_name is the name of the field you want to compare. Only atomic
4133 * field types are supported (string, number, boolean). The comparison_string
4134 * must be either eq (equals) or ne (not equals). The literal_string is the
4135 * string value to filter to. The literal value must be valid for the type of
4136 * field you are filtering by (string, number, boolean). For string fields, the
4137 * literal value is interpreted as a regular expression using RE2 syntax. The
4138 * literal value must match the entire field.
4139 *
4140 * For example, to filter for instances whose name is not equal to example-
4141 * instance, you would use filter=name ne example-instance.
4142 *
4143 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
4144 * also filter on nested fields. For example, you could filter on instances that
4145 * have set the scheduling.automaticRestart field to true. In particular, use
4146 * filtering on nested fields to take advantage of instance labels to organize
4147 * and filter results based on label values.
4148 *
4149 * The Beta API also supports filtering on multiple expressions by providing
4150 * each separate expression within parentheses. For example,
4151 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
4152 * expressions are treated as AND expressions meaning that resources must match
4153 * all expressions to pass the filters.
4154 * @opt_param string maxResults The maximum number of results per page that
4155 * should be returned. If the number of available results is larger than
4156 * maxResults, Compute Engine returns a nextPageToken that can be used to get
4157 * the next page of results in subsequent list requests.
4158 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
4159 * the nextPageToken returned by a previous list request to get the next page of
4160 * results.
4161 * @return Google_Service_Compute_AddressAggregatedList
4162 */
4163 public function aggregatedList($project, $optParams = array())
4164 {
4165 $params = array('project' => $project);
4166 $params = array_merge($params, $optParams);
4167 return $this->call('aggregatedList', array($params), "Google_Service_Compute_AddressAggregatedList");
4168 }
4169
4170 /**
4171 * Deletes the specified address resource. (addresses.delete)
4172 *
4173 * @param string $project Project ID for this request.
4174 * @param string $region The name of the region for this request.
4175 * @param string $address Name of the address resource to delete.
4176 * @param array $optParams Optional parameters.
4177 * @return Google_Service_Compute_Operation
4178 */
4179 public function delete($project, $region, $address, $optParams = array())
4180 {
4181 $params = array('project' => $project, 'region' => $region, 'address' => $address);
4182 $params = array_merge($params, $optParams);
4183 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
4184 }
4185
4186 /**
4187 * Returns the specified address resource. (addresses.get)
4188 *
4189 * @param string $project Project ID for this request.
4190 * @param string $region The name of the region for this request.
4191 * @param string $address Name of the address resource to return.
4192 * @param array $optParams Optional parameters.
4193 * @return Google_Service_Compute_Address
4194 */
4195 public function get($project, $region, $address, $optParams = array())
4196 {
4197 $params = array('project' => $project, 'region' => $region, 'address' => $address);
4198 $params = array_merge($params, $optParams);
4199 return $this->call('get', array($params), "Google_Service_Compute_Address");
4200 }
4201
4202 /**
4203 * Creates an address resource in the specified project using the data included
4204 * in the request. (addresses.insert)
4205 *
4206 * @param string $project Project ID for this request.
4207 * @param string $region The name of the region for this request.
4208 * @param Google_Address $postBody
4209 * @param array $optParams Optional parameters.
4210 * @return Google_Service_Compute_Operation
4211 */
4212 public function insert($project, $region, Google_Service_Compute_Address $postBody, $optParams = array())
4213 {
4214 $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
4215 $params = array_merge($params, $optParams);
4216 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
4217 }
4218
4219 /**
4220 * Retrieves a list of addresses contained within the specified region.
4221 * (addresses.listAddresses)
4222 *
4223 * @param string $project Project ID for this request.
4224 * @param string $region The name of the region for this request.
4225 * @param array $optParams Optional parameters.
4226 *
4227 * @opt_param string filter Sets a filter expression for filtering listed
4228 * resources, in the form filter={expression}. Your {expression} must be in the
4229 * format: field_name comparison_string literal_string.
4230 *
4231 * The field_name is the name of the field you want to compare. Only atomic
4232 * field types are supported (string, number, boolean). The comparison_string
4233 * must be either eq (equals) or ne (not equals). The literal_string is the
4234 * string value to filter to. The literal value must be valid for the type of
4235 * field you are filtering by (string, number, boolean). For string fields, the
4236 * literal value is interpreted as a regular expression using RE2 syntax. The
4237 * literal value must match the entire field.
4238 *
4239 * For example, to filter for instances whose name is not equal to example-
4240 * instance, you would use filter=name ne example-instance.
4241 *
4242 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
4243 * also filter on nested fields. For example, you could filter on instances that
4244 * have set the scheduling.automaticRestart field to true. In particular, use
4245 * filtering on nested fields to take advantage of instance labels to organize
4246 * and filter results based on label values.
4247 *
4248 * The Beta API also supports filtering on multiple expressions by providing
4249 * each separate expression within parentheses. For example,
4250 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
4251 * expressions are treated as AND expressions meaning that resources must match
4252 * all expressions to pass the filters.
4253 * @opt_param string maxResults The maximum number of results per page that
4254 * should be returned. If the number of available results is larger than
4255 * maxResults, Compute Engine returns a nextPageToken that can be used to get
4256 * the next page of results in subsequent list requests.
4257 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
4258 * the nextPageToken returned by a previous list request to get the next page of
4259 * results.
4260 * @return Google_Service_Compute_AddressList
4261 */
4262 public function listAddresses($project, $region, $optParams = array())
4263 {
4264 $params = array('project' => $project, 'region' => $region);
4265 $params = array_merge($params, $optParams);
4266 return $this->call('list', array($params), "Google_Service_Compute_AddressList");
4267 }
4268 }
4269
4270 /**
4271 * The "autoscalers" collection of methods.
4272 * Typical usage is:
4273 * <code>
4274 * $computeService = new Google_Service_Compute(...);
4275 * $autoscalers = $computeService->autoscalers;
4276 * </code>
4277 */
4278 class Google_Service_Compute_Autoscalers_Resource extends Google_Service_Resource
4279 {
4280
4281 /**
4282 * Retrieves an aggregated list of autoscalers. (autoscalers.aggregatedList)
4283 *
4284 * @param string $project Project ID for this request.
4285 * @param array $optParams Optional parameters.
4286 *
4287 * @opt_param string filter Sets a filter expression for filtering listed
4288 * resources, in the form filter={expression}. Your {expression} must be in the
4289 * format: field_name comparison_string literal_string.
4290 *
4291 * The field_name is the name of the field you want to compare. Only atomic
4292 * field types are supported (string, number, boolean). The comparison_string
4293 * must be either eq (equals) or ne (not equals). The literal_string is the
4294 * string value to filter to. The literal value must be valid for the type of
4295 * field you are filtering by (string, number, boolean). For string fields, the
4296 * literal value is interpreted as a regular expression using RE2 syntax. The
4297 * literal value must match the entire field.
4298 *
4299 * For example, to filter for instances whose name is not equal to example-
4300 * instance, you would use filter=name ne example-instance.
4301 *
4302 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
4303 * also filter on nested fields. For example, you could filter on instances that
4304 * have set the scheduling.automaticRestart field to true. In particular, use
4305 * filtering on nested fields to take advantage of instance labels to organize
4306 * and filter results based on label values.
4307 *
4308 * The Beta API also supports filtering on multiple expressions by providing
4309 * each separate expression within parentheses. For example,
4310 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
4311 * expressions are treated as AND expressions meaning that resources must match
4312 * all expressions to pass the filters.
4313 * @opt_param string maxResults The maximum number of results per page that
4314 * should be returned. If the number of available results is larger than
4315 * maxResults, Compute Engine returns a nextPageToken that can be used to get
4316 * the next page of results in subsequent list requests.
4317 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
4318 * the nextPageToken returned by a previous list request to get the next page of
4319 * results.
4320 * @return Google_Service_Compute_AutoscalerAggregatedList
4321 */
4322 public function aggregatedList($project, $optParams = array())
4323 {
4324 $params = array('project' => $project);
4325 $params = array_merge($params, $optParams);
4326 return $this->call('aggregatedList', array($params), "Google_Service_Compute_AutoscalerAggregatedList");
4327 }
4328
4329 /**
4330 * Deletes the specified autoscaler resource. (autoscalers.delete)
4331 *
4332 * @param string $project Project ID for this request.
4333 * @param string $zone Name of the zone scoping this request.
4334 * @param string $autoscaler Name of the persistent autoscaler resource to
4335 * delete.
4336 * @param array $optParams Optional parameters.
4337 * @return Google_Service_Compute_Operation
4338 */
4339 public function delete($project, $zone, $autoscaler, $optParams = array())
4340 {
4341 $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
4342 $params = array_merge($params, $optParams);
4343 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
4344 }
4345
4346 /**
4347 * Returns the specified autoscaler resource. (autoscalers.get)
4348 *
4349 * @param string $project Project ID for this request.
4350 * @param string $zone Name of the zone scoping this request.
4351 * @param string $autoscaler Name of the persistent autoscaler resource to
4352 * return.
4353 * @param array $optParams Optional parameters.
4354 * @return Google_Service_Compute_Autoscaler
4355 */
4356 public function get($project, $zone, $autoscaler, $optParams = array())
4357 {
4358 $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
4359 $params = array_merge($params, $optParams);
4360 return $this->call('get', array($params), "Google_Service_Compute_Autoscaler");
4361 }
4362
4363 /**
4364 * Creates an autoscaler resource in the specified project using the data
4365 * included in the request. (autoscalers.insert)
4366 *
4367 * @param string $project Project ID for this request.
4368 * @param string $zone Name of the zone scoping this request.
4369 * @param Google_Autoscaler $postBody
4370 * @param array $optParams Optional parameters.
4371 * @return Google_Service_Compute_Operation
4372 */
4373 public function insert($project, $zone, Google_Service_Compute_Autoscaler $postBody, $optParams = array())
4374 {
4375 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
4376 $params = array_merge($params, $optParams);
4377 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
4378 }
4379
4380 /**
4381 * Retrieves a list of autoscaler resources contained within the specified zone.
4382 * (autoscalers.listAutoscalers)
4383 *
4384 * @param string $project Project ID for this request.
4385 * @param string $zone Name of the zone scoping this request.
4386 * @param array $optParams Optional parameters.
4387 *
4388 * @opt_param string filter Sets a filter expression for filtering listed
4389 * resources, in the form filter={expression}. Your {expression} must be in the
4390 * format: field_name comparison_string literal_string.
4391 *
4392 * The field_name is the name of the field you want to compare. Only atomic
4393 * field types are supported (string, number, boolean). The comparison_string
4394 * must be either eq (equals) or ne (not equals). The literal_string is the
4395 * string value to filter to. The literal value must be valid for the type of
4396 * field you are filtering by (string, number, boolean). For string fields, the
4397 * literal value is interpreted as a regular expression using RE2 syntax. The
4398 * literal value must match the entire field.
4399 *
4400 * For example, to filter for instances whose name is not equal to example-
4401 * instance, you would use filter=name ne example-instance.
4402 *
4403 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
4404 * also filter on nested fields. For example, you could filter on instances that
4405 * have set the scheduling.automaticRestart field to true. In particular, use
4406 * filtering on nested fields to take advantage of instance labels to organize
4407 * and filter results based on label values.
4408 *
4409 * The Beta API also supports filtering on multiple expressions by providing
4410 * each separate expression within parentheses. For example,
4411 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
4412 * expressions are treated as AND expressions meaning that resources must match
4413 * all expressions to pass the filters.
4414 * @opt_param string maxResults The maximum number of results per page that
4415 * should be returned. If the number of available results is larger than
4416 * maxResults, Compute Engine returns a nextPageToken that can be used to get
4417 * the next page of results in subsequent list requests.
4418 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
4419 * the nextPageToken returned by a previous list request to get the next page of
4420 * results.
4421 * @return Google_Service_Compute_AutoscalerList
4422 */
4423 public function listAutoscalers($project, $zone, $optParams = array())
4424 {
4425 $params = array('project' => $project, 'zone' => $zone);
4426 $params = array_merge($params, $optParams);
4427 return $this->call('list', array($params), "Google_Service_Compute_AutoscalerList");
4428 }
4429
4430 /**
4431 * Updates an autoscaler resource in the specified project using the data
4432 * included in the request. This method supports patch semantics.
4433 * (autoscalers.patch)
4434 *
4435 * @param string $project Project ID for this request.
4436 * @param string $zone Name of the zone scoping this request.
4437 * @param string $autoscaler Name of the autoscaler resource to update.
4438 * @param Google_Autoscaler $postBody
4439 * @param array $optParams Optional parameters.
4440 * @return Google_Service_Compute_Operation
4441 */
4442 public function patch($project, $zone, $autoscaler, Google_Service_Compute_Autoscaler $postBody, $optParams = array())
4443 {
4444 $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
4445 $params = array_merge($params, $optParams);
4446 return $this->call('patch', array($params), "Google_Service_Compute_Operation");
4447 }
4448
4449 /**
4450 * Updates an autoscaler resource in the specified project using the data
4451 * included in the request. (autoscalers.update)
4452 *
4453 * @param string $project Project ID for this request.
4454 * @param string $zone Name of the zone scoping this request.
4455 * @param Google_Autoscaler $postBody
4456 * @param array $optParams Optional parameters.
4457 *
4458 * @opt_param string autoscaler Name of the autoscaler resource to update.
4459 * @return Google_Service_Compute_Operation
4460 */
4461 public function update($project, $zone, Google_Service_Compute_Autoscaler $postBody, $optParams = array())
4462 {
4463 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
4464 $params = array_merge($params, $optParams);
4465 return $this->call('update', array($params), "Google_Service_Compute_Operation");
4466 }
4467 }
4468
4469 /**
4470 * The "backendServices" collection of methods.
4471 * Typical usage is:
4472 * <code>
4473 * $computeService = new Google_Service_Compute(...);
4474 * $backendServices = $computeService->backendServices;
4475 * </code>
4476 */
4477 class Google_Service_Compute_BackendServices_Resource extends Google_Service_Resource
4478 {
4479
4480 /**
4481 * Deletes the specified BackendService resource. (backendServices.delete)
4482 *
4483 * @param string $project Project ID for this request.
4484 * @param string $backendService Name of the BackendService resource to delete.
4485 * @param array $optParams Optional parameters.
4486 * @return Google_Service_Compute_Operation
4487 */
4488 public function delete($project, $backendService, $optParams = array())
4489 {
4490 $params = array('project' => $project, 'backendService' => $backendService);
4491 $params = array_merge($params, $optParams);
4492 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
4493 }
4494
4495 /**
4496 * Returns the specified BackendService resource. (backendServices.get)
4497 *
4498 * @param string $project Project ID for this request.
4499 * @param string $backendService Name of the BackendService resource to return.
4500 * @param array $optParams Optional parameters.
4501 * @return Google_Service_Compute_BackendService
4502 */
4503 public function get($project, $backendService, $optParams = array())
4504 {
4505 $params = array('project' => $project, 'backendService' => $backendService);
4506 $params = array_merge($params, $optParams);
4507 return $this->call('get', array($params), "Google_Service_Compute_BackendService");
4508 }
4509
4510 /**
4511 * Gets the most recent health check results for this BackendService.
4512 * (backendServices.getHealth)
4513 *
4514 * @param string $project
4515 * @param string $backendService Name of the BackendService resource to which
4516 * the queried instance belongs.
4517 * @param Google_ResourceGroupReference $postBody
4518 * @param array $optParams Optional parameters.
4519 * @return Google_Service_Compute_BackendServiceGroupHealth
4520 */
4521 public function getHealth($project, $backendService, Google_Service_Compute_ResourceGroupReference $postBody, $optParams = array())
4522 {
4523 $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody);
4524 $params = array_merge($params, $optParams);
4525 return $this->call('getHealth', array($params), "Google_Service_Compute_BackendServiceGroupHealth");
4526 }
4527
4528 /**
4529 * Creates a BackendService resource in the specified project using the data
4530 * included in the request. There are several restrictions and guidelines to
4531 * keep in mind when creating a backend service. Read Restrictions and
4532 * Guidelines for more information. (backendServices.insert)
4533 *
4534 * @param string $project Project ID for this request.
4535 * @param Google_BackendService $postBody
4536 * @param array $optParams Optional parameters.
4537 * @return Google_Service_Compute_Operation
4538 */
4539 public function insert($project, Google_Service_Compute_BackendService $postBody, $optParams = array())
4540 {
4541 $params = array('project' => $project, 'postBody' => $postBody);
4542 $params = array_merge($params, $optParams);
4543 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
4544 }
4545
4546 /**
4547 * Retrieves the list of BackendService resources available to the specified
4548 * project. (backendServices.listBackendServices)
4549 *
4550 * @param string $project Project ID for this request.
4551 * @param array $optParams Optional parameters.
4552 *
4553 * @opt_param string filter Sets a filter expression for filtering listed
4554 * resources, in the form filter={expression}. Your {expression} must be in the
4555 * format: field_name comparison_string literal_string.
4556 *
4557 * The field_name is the name of the field you want to compare. Only atomic
4558 * field types are supported (string, number, boolean). The comparison_string
4559 * must be either eq (equals) or ne (not equals). The literal_string is the
4560 * string value to filter to. The literal value must be valid for the type of
4561 * field you are filtering by (string, number, boolean). For string fields, the
4562 * literal value is interpreted as a regular expression using RE2 syntax. The
4563 * literal value must match the entire field.
4564 *
4565 * For example, to filter for instances whose name is not equal to example-
4566 * instance, you would use filter=name ne example-instance.
4567 *
4568 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
4569 * also filter on nested fields. For example, you could filter on instances that
4570 * have set the scheduling.automaticRestart field to true. In particular, use
4571 * filtering on nested fields to take advantage of instance labels to organize
4572 * and filter results based on label values.
4573 *
4574 * The Beta API also supports filtering on multiple expressions by providing
4575 * each separate expression within parentheses. For example,
4576 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
4577 * expressions are treated as AND expressions meaning that resources must match
4578 * all expressions to pass the filters.
4579 * @opt_param string maxResults The maximum number of results per page that
4580 * should be returned. If the number of available results is larger than
4581 * maxResults, Compute Engine returns a nextPageToken that can be used to get
4582 * the next page of results in subsequent list requests.
4583 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
4584 * the nextPageToken returned by a previous list request to get the next page of
4585 * results.
4586 * @return Google_Service_Compute_BackendServiceList
4587 */
4588 public function listBackendServices($project, $optParams = array())
4589 {
4590 $params = array('project' => $project);
4591 $params = array_merge($params, $optParams);
4592 return $this->call('list', array($params), "Google_Service_Compute_BackendServiceList");
4593 }
4594
4595 /**
4596 * Updates the entire content of the BackendService resource. There are several
4597 * restrictions and guidelines to keep in mind when updating a backend service.
4598 * Read Restrictions and Guidelines for more information. This method supports
4599 * patch semantics. (backendServices.patch)
4600 *
4601 * @param string $project Project ID for this request.
4602 * @param string $backendService Name of the BackendService resource to update.
4603 * @param Google_BackendService $postBody
4604 * @param array $optParams Optional parameters.
4605 * @return Google_Service_Compute_Operation
4606 */
4607 public function patch($project, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array())
4608 {
4609 $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody);
4610 $params = array_merge($params, $optParams);
4611 return $this->call('patch', array($params), "Google_Service_Compute_Operation");
4612 }
4613
4614 /**
4615 * Updates the entire content of the BackendService resource. There are several
4616 * restrictions and guidelines to keep in mind when updating a backend service.
4617 * Read Restrictions and Guidelines for more information.
4618 * (backendServices.update)
4619 *
4620 * @param string $project Project ID for this request.
4621 * @param string $backendService Name of the BackendService resource to update.
4622 * @param Google_BackendService $postBody
4623 * @param array $optParams Optional parameters.
4624 * @return Google_Service_Compute_Operation
4625 */
4626 public function update($project, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array())
4627 {
4628 $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody);
4629 $params = array_merge($params, $optParams);
4630 return $this->call('update', array($params), "Google_Service_Compute_Operation");
4631 }
4632 }
4633
4634 /**
4635 * The "diskTypes" collection of methods.
4636 * Typical usage is:
4637 * <code>
4638 * $computeService = new Google_Service_Compute(...);
4639 * $diskTypes = $computeService->diskTypes;
4640 * </code>
4641 */
4642 class Google_Service_Compute_DiskTypes_Resource extends Google_Service_Resource
4643 {
4644
4645 /**
4646 * Retrieves an aggregated list of disk types. (diskTypes.aggregatedList)
4647 *
4648 * @param string $project Project ID for this request.
4649 * @param array $optParams Optional parameters.
4650 *
4651 * @opt_param string filter Sets a filter expression for filtering listed
4652 * resources, in the form filter={expression}. Your {expression} must be in the
4653 * format: field_name comparison_string literal_string.
4654 *
4655 * The field_name is the name of the field you want to compare. Only atomic
4656 * field types are supported (string, number, boolean). The comparison_string
4657 * must be either eq (equals) or ne (not equals). The literal_string is the
4658 * string value to filter to. The literal value must be valid for the type of
4659 * field you are filtering by (string, number, boolean). For string fields, the
4660 * literal value is interpreted as a regular expression using RE2 syntax. The
4661 * literal value must match the entire field.
4662 *
4663 * For example, to filter for instances whose name is not equal to example-
4664 * instance, you would use filter=name ne example-instance.
4665 *
4666 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
4667 * also filter on nested fields. For example, you could filter on instances that
4668 * have set the scheduling.automaticRestart field to true. In particular, use
4669 * filtering on nested fields to take advantage of instance labels to organize
4670 * and filter results based on label values.
4671 *
4672 * The Beta API also supports filtering on multiple expressions by providing
4673 * each separate expression within parentheses. For example,
4674 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
4675 * expressions are treated as AND expressions meaning that resources must match
4676 * all expressions to pass the filters.
4677 * @opt_param string maxResults The maximum number of results per page that
4678 * should be returned. If the number of available results is larger than
4679 * maxResults, Compute Engine returns a nextPageToken that can be used to get
4680 * the next page of results in subsequent list requests.
4681 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
4682 * the nextPageToken returned by a previous list request to get the next page of
4683 * results.
4684 * @return Google_Service_Compute_DiskTypeAggregatedList
4685 */
4686 public function aggregatedList($project, $optParams = array())
4687 {
4688 $params = array('project' => $project);
4689 $params = array_merge($params, $optParams);
4690 return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskTypeAggregatedList");
4691 }
4692
4693 /**
4694 * Returns the specified disk type. (diskTypes.get)
4695 *
4696 * @param string $project Project ID for this request.
4697 * @param string $zone The name of the zone for this request.
4698 * @param string $diskType Name of the disk type to return.
4699 * @param array $optParams Optional parameters.
4700 * @return Google_Service_Compute_DiskType
4701 */
4702 public function get($project, $zone, $diskType, $optParams = array())
4703 {
4704 $params = array('project' => $project, 'zone' => $zone, 'diskType' => $diskType);
4705 $params = array_merge($params, $optParams);
4706 return $this->call('get', array($params), "Google_Service_Compute_DiskType");
4707 }
4708
4709 /**
4710 * Retrieves a list of disk types available to the specified project.
4711 * (diskTypes.listDiskTypes)
4712 *
4713 * @param string $project Project ID for this request.
4714 * @param string $zone The name of the zone for this request.
4715 * @param array $optParams Optional parameters.
4716 *
4717 * @opt_param string filter Sets a filter expression for filtering listed
4718 * resources, in the form filter={expression}. Your {expression} must be in the
4719 * format: field_name comparison_string literal_string.
4720 *
4721 * The field_name is the name of the field you want to compare. Only atomic
4722 * field types are supported (string, number, boolean). The comparison_string
4723 * must be either eq (equals) or ne (not equals). The literal_string is the
4724 * string value to filter to. The literal value must be valid for the type of
4725 * field you are filtering by (string, number, boolean). For string fields, the
4726 * literal value is interpreted as a regular expression using RE2 syntax. The
4727 * literal value must match the entire field.
4728 *
4729 * For example, to filter for instances whose name is not equal to example-
4730 * instance, you would use filter=name ne example-instance.
4731 *
4732 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
4733 * also filter on nested fields. For example, you could filter on instances that
4734 * have set the scheduling.automaticRestart field to true. In particular, use
4735 * filtering on nested fields to take advantage of instance labels to organize
4736 * and filter results based on label values.
4737 *
4738 * The Beta API also supports filtering on multiple expressions by providing
4739 * each separate expression within parentheses. For example,
4740 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
4741 * expressions are treated as AND expressions meaning that resources must match
4742 * all expressions to pass the filters.
4743 * @opt_param string maxResults The maximum number of results per page that
4744 * should be returned. If the number of available results is larger than
4745 * maxResults, Compute Engine returns a nextPageToken that can be used to get
4746 * the next page of results in subsequent list requests.
4747 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
4748 * the nextPageToken returned by a previous list request to get the next page of
4749 * results.
4750 * @return Google_Service_Compute_DiskTypeList
4751 */
4752 public function listDiskTypes($project, $zone, $optParams = array())
4753 {
4754 $params = array('project' => $project, 'zone' => $zone);
4755 $params = array_merge($params, $optParams);
4756 return $this->call('list', array($params), "Google_Service_Compute_DiskTypeList");
4757 }
4758 }
4759
4760 /**
4761 * The "disks" collection of methods.
4762 * Typical usage is:
4763 * <code>
4764 * $computeService = new Google_Service_Compute(...);
4765 * $disks = $computeService->disks;
4766 * </code>
4767 */
4768 class Google_Service_Compute_Disks_Resource extends Google_Service_Resource
4769 {
4770
4771 /**
4772 * Retrieves an aggregated list of persistent disks. (disks.aggregatedList)
4773 *
4774 * @param string $project Project ID for this request.
4775 * @param array $optParams Optional parameters.
4776 *
4777 * @opt_param string filter Sets a filter expression for filtering listed
4778 * resources, in the form filter={expression}. Your {expression} must be in the
4779 * format: field_name comparison_string literal_string.
4780 *
4781 * The field_name is the name of the field you want to compare. Only atomic
4782 * field types are supported (string, number, boolean). The comparison_string
4783 * must be either eq (equals) or ne (not equals). The literal_string is the
4784 * string value to filter to. The literal value must be valid for the type of
4785 * field you are filtering by (string, number, boolean). For string fields, the
4786 * literal value is interpreted as a regular expression using RE2 syntax. The
4787 * literal value must match the entire field.
4788 *
4789 * For example, to filter for instances whose name is not equal to example-
4790 * instance, you would use filter=name ne example-instance.
4791 *
4792 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
4793 * also filter on nested fields. For example, you could filter on instances that
4794 * have set the scheduling.automaticRestart field to true. In particular, use
4795 * filtering on nested fields to take advantage of instance labels to organize
4796 * and filter results based on label values.
4797 *
4798 * The Beta API also supports filtering on multiple expressions by providing
4799 * each separate expression within parentheses. For example,
4800 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
4801 * expressions are treated as AND expressions meaning that resources must match
4802 * all expressions to pass the filters.
4803 * @opt_param string maxResults The maximum number of results per page that
4804 * should be returned. If the number of available results is larger than
4805 * maxResults, Compute Engine returns a nextPageToken that can be used to get
4806 * the next page of results in subsequent list requests.
4807 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
4808 * the nextPageToken returned by a previous list request to get the next page of
4809 * results.
4810 * @return Google_Service_Compute_DiskAggregatedList
4811 */
4812 public function aggregatedList($project, $optParams = array())
4813 {
4814 $params = array('project' => $project);
4815 $params = array_merge($params, $optParams);
4816 return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskAggregatedList");
4817 }
4818
4819 /**
4820 * Creates a snapshot of a specified persistent disk. (disks.createSnapshot)
4821 *
4822 * @param string $project Project ID for this request.
4823 * @param string $zone The name of the zone for this request.
4824 * @param string $disk Name of the persistent disk to snapshot.
4825 * @param Google_Snapshot $postBody
4826 * @param array $optParams Optional parameters.
4827 * @return Google_Service_Compute_Operation
4828 */
4829 public function createSnapshot($project, $zone, $disk, Google_Service_Compute_Snapshot $postBody, $optParams = array())
4830 {
4831 $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk, 'postBody' => $postBody);
4832 $params = array_merge($params, $optParams);
4833 return $this->call('createSnapshot', array($params), "Google_Service_Compute_Operation");
4834 }
4835
4836 /**
4837 * Deletes the specified persistent disk. Deleting a disk removes its data
4838 * permanently and is irreversible. However, deleting a disk does not delete any
4839 * snapshots previously made from the disk. You must separately delete
4840 * snapshots. (disks.delete)
4841 *
4842 * @param string $project Project ID for this request.
4843 * @param string $zone The name of the zone for this request.
4844 * @param string $disk Name of the persistent disk to delete.
4845 * @param array $optParams Optional parameters.
4846 * @return Google_Service_Compute_Operation
4847 */
4848 public function delete($project, $zone, $disk, $optParams = array())
4849 {
4850 $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk);
4851 $params = array_merge($params, $optParams);
4852 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
4853 }
4854
4855 /**
4856 * Returns a specified persistent disk. (disks.get)
4857 *
4858 * @param string $project Project ID for this request.
4859 * @param string $zone The name of the zone for this request.
4860 * @param string $disk Name of the persistent disk to return.
4861 * @param array $optParams Optional parameters.
4862 * @return Google_Service_Compute_Disk
4863 */
4864 public function get($project, $zone, $disk, $optParams = array())
4865 {
4866 $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk);
4867 $params = array_merge($params, $optParams);
4868 return $this->call('get', array($params), "Google_Service_Compute_Disk");
4869 }
4870
4871 /**
4872 * Creates a persistent disk in the specified project using the data in the
4873 * request. You can create a disk with a sourceImage, a sourceSnapshot, or
4874 * create an empty 200 GB data disk by omitting all properties. You can also
4875 * create a disk that is larger than the default size by specifying the sizeGb
4876 * property. (disks.insert)
4877 *
4878 * @param string $project Project ID for this request.
4879 * @param string $zone The name of the zone for this request.
4880 * @param Google_Disk $postBody
4881 * @param array $optParams Optional parameters.
4882 *
4883 * @opt_param string sourceImage Optional. Source image to restore onto a disk.
4884 * @return Google_Service_Compute_Operation
4885 */
4886 public function insert($project, $zone, Google_Service_Compute_Disk $postBody, $optParams = array())
4887 {
4888 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
4889 $params = array_merge($params, $optParams);
4890 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
4891 }
4892
4893 /**
4894 * Retrieves a list of persistent disks contained within the specified zone.
4895 * (disks.listDisks)
4896 *
4897 * @param string $project Project ID for this request.
4898 * @param string $zone The name of the zone for this request.
4899 * @param array $optParams Optional parameters.
4900 *
4901 * @opt_param string filter Sets a filter expression for filtering listed
4902 * resources, in the form filter={expression}. Your {expression} must be in the
4903 * format: field_name comparison_string literal_string.
4904 *
4905 * The field_name is the name of the field you want to compare. Only atomic
4906 * field types are supported (string, number, boolean). The comparison_string
4907 * must be either eq (equals) or ne (not equals). The literal_string is the
4908 * string value to filter to. The literal value must be valid for the type of
4909 * field you are filtering by (string, number, boolean). For string fields, the
4910 * literal value is interpreted as a regular expression using RE2 syntax. The
4911 * literal value must match the entire field.
4912 *
4913 * For example, to filter for instances whose name is not equal to example-
4914 * instance, you would use filter=name ne example-instance.
4915 *
4916 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
4917 * also filter on nested fields. For example, you could filter on instances that
4918 * have set the scheduling.automaticRestart field to true. In particular, use
4919 * filtering on nested fields to take advantage of instance labels to organize
4920 * and filter results based on label values.
4921 *
4922 * The Beta API also supports filtering on multiple expressions by providing
4923 * each separate expression within parentheses. For example,
4924 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
4925 * expressions are treated as AND expressions meaning that resources must match
4926 * all expressions to pass the filters.
4927 * @opt_param string maxResults The maximum number of results per page that
4928 * should be returned. If the number of available results is larger than
4929 * maxResults, Compute Engine returns a nextPageToken that can be used to get
4930 * the next page of results in subsequent list requests.
4931 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
4932 * the nextPageToken returned by a previous list request to get the next page of
4933 * results.
4934 * @return Google_Service_Compute_DiskList
4935 */
4936 public function listDisks($project, $zone, $optParams = array())
4937 {
4938 $params = array('project' => $project, 'zone' => $zone);
4939 $params = array_merge($params, $optParams);
4940 return $this->call('list', array($params), "Google_Service_Compute_DiskList");
4941 }
4942 }
4943
4944 /**
4945 * The "firewalls" collection of methods.
4946 * Typical usage is:
4947 * <code>
4948 * $computeService = new Google_Service_Compute(...);
4949 * $firewalls = $computeService->firewalls;
4950 * </code>
4951 */
4952 class Google_Service_Compute_Firewalls_Resource extends Google_Service_Resource
4953 {
4954
4955 /**
4956 * Deletes the specified firewall. (firewalls.delete)
4957 *
4958 * @param string $project Project ID for this request.
4959 * @param string $firewall Name of the firewall rule to delete.
4960 * @param array $optParams Optional parameters.
4961 * @return Google_Service_Compute_Operation
4962 */
4963 public function delete($project, $firewall, $optParams = array())
4964 {
4965 $params = array('project' => $project, 'firewall' => $firewall);
4966 $params = array_merge($params, $optParams);
4967 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
4968 }
4969
4970 /**
4971 * Returns the specified firewall. (firewalls.get)
4972 *
4973 * @param string $project Project ID for this request.
4974 * @param string $firewall Name of the firewall rule to return.
4975 * @param array $optParams Optional parameters.
4976 * @return Google_Service_Compute_Firewall
4977 */
4978 public function get($project, $firewall, $optParams = array())
4979 {
4980 $params = array('project' => $project, 'firewall' => $firewall);
4981 $params = array_merge($params, $optParams);
4982 return $this->call('get', array($params), "Google_Service_Compute_Firewall");
4983 }
4984
4985 /**
4986 * Creates a firewall rule in the specified project using the data included in
4987 * the request. (firewalls.insert)
4988 *
4989 * @param string $project Project ID for this request.
4990 * @param Google_Firewall $postBody
4991 * @param array $optParams Optional parameters.
4992 * @return Google_Service_Compute_Operation
4993 */
4994 public function insert($project, Google_Service_Compute_Firewall $postBody, $optParams = array())
4995 {
4996 $params = array('project' => $project, 'postBody' => $postBody);
4997 $params = array_merge($params, $optParams);
4998 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
4999 }
5000
5001 /**
5002 * Retrieves the list of firewall rules available to the specified project.
5003 * (firewalls.listFirewalls)
5004 *
5005 * @param string $project Project ID for this request.
5006 * @param array $optParams Optional parameters.
5007 *
5008 * @opt_param string filter Sets a filter expression for filtering listed
5009 * resources, in the form filter={expression}. Your {expression} must be in the
5010 * format: field_name comparison_string literal_string.
5011 *
5012 * The field_name is the name of the field you want to compare. Only atomic
5013 * field types are supported (string, number, boolean). The comparison_string
5014 * must be either eq (equals) or ne (not equals). The literal_string is the
5015 * string value to filter to. The literal value must be valid for the type of
5016 * field you are filtering by (string, number, boolean). For string fields, the
5017 * literal value is interpreted as a regular expression using RE2 syntax. The
5018 * literal value must match the entire field.
5019 *
5020 * For example, to filter for instances whose name is not equal to example-
5021 * instance, you would use filter=name ne example-instance.
5022 *
5023 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
5024 * also filter on nested fields. For example, you could filter on instances that
5025 * have set the scheduling.automaticRestart field to true. In particular, use
5026 * filtering on nested fields to take advantage of instance labels to organize
5027 * and filter results based on label values.
5028 *
5029 * The Beta API also supports filtering on multiple expressions by providing
5030 * each separate expression within parentheses. For example,
5031 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
5032 * expressions are treated as AND expressions meaning that resources must match
5033 * all expressions to pass the filters.
5034 * @opt_param string maxResults The maximum number of results per page that
5035 * should be returned. If the number of available results is larger than
5036 * maxResults, Compute Engine returns a nextPageToken that can be used to get
5037 * the next page of results in subsequent list requests.
5038 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
5039 * the nextPageToken returned by a previous list request to get the next page of
5040 * results.
5041 * @return Google_Service_Compute_FirewallList
5042 */
5043 public function listFirewalls($project, $optParams = array())
5044 {
5045 $params = array('project' => $project);
5046 $params = array_merge($params, $optParams);
5047 return $this->call('list', array($params), "Google_Service_Compute_FirewallList");
5048 }
5049
5050 /**
5051 * Updates the specified firewall rule with the data included in the request.
5052 * This method supports patch semantics. (firewalls.patch)
5053 *
5054 * @param string $project Project ID for this request.
5055 * @param string $firewall Name of the firewall rule to update.
5056 * @param Google_Firewall $postBody
5057 * @param array $optParams Optional parameters.
5058 * @return Google_Service_Compute_Operation
5059 */
5060 public function patch($project, $firewall, Google_Service_Compute_Firewall $postBody, $optParams = array())
5061 {
5062 $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody);
5063 $params = array_merge($params, $optParams);
5064 return $this->call('patch', array($params), "Google_Service_Compute_Operation");
5065 }
5066
5067 /**
5068 * Updates the specified firewall rule with the data included in the request.
5069 * (firewalls.update)
5070 *
5071 * @param string $project Project ID for this request.
5072 * @param string $firewall Name of the firewall rule to update.
5073 * @param Google_Firewall $postBody
5074 * @param array $optParams Optional parameters.
5075 * @return Google_Service_Compute_Operation
5076 */
5077 public function update($project, $firewall, Google_Service_Compute_Firewall $postBody, $optParams = array())
5078 {
5079 $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody);
5080 $params = array_merge($params, $optParams);
5081 return $this->call('update', array($params), "Google_Service_Compute_Operation");
5082 }
5083 }
5084
5085 /**
5086 * The "forwardingRules" collection of methods.
5087 * Typical usage is:
5088 * <code>
5089 * $computeService = new Google_Service_Compute(...);
5090 * $forwardingRules = $computeService->forwardingRules;
5091 * </code>
5092 */
5093 class Google_Service_Compute_ForwardingRules_Resource extends Google_Service_Resource
5094 {
5095
5096 /**
5097 * Retrieves an aggregated list of forwarding rules.
5098 * (forwardingRules.aggregatedList)
5099 *
5100 * @param string $project Project ID for this request.
5101 * @param array $optParams Optional parameters.
5102 *
5103 * @opt_param string filter Sets a filter expression for filtering listed
5104 * resources, in the form filter={expression}. Your {expression} must be in the
5105 * format: field_name comparison_string literal_string.
5106 *
5107 * The field_name is the name of the field you want to compare. Only atomic
5108 * field types are supported (string, number, boolean). The comparison_string
5109 * must be either eq (equals) or ne (not equals). The literal_string is the
5110 * string value to filter to. The literal value must be valid for the type of
5111 * field you are filtering by (string, number, boolean). For string fields, the
5112 * literal value is interpreted as a regular expression using RE2 syntax. The
5113 * literal value must match the entire field.
5114 *
5115 * For example, to filter for instances whose name is not equal to example-
5116 * instance, you would use filter=name ne example-instance.
5117 *
5118 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
5119 * also filter on nested fields. For example, you could filter on instances that
5120 * have set the scheduling.automaticRestart field to true. In particular, use
5121 * filtering on nested fields to take advantage of instance labels to organize
5122 * and filter results based on label values.
5123 *
5124 * The Beta API also supports filtering on multiple expressions by providing
5125 * each separate expression within parentheses. For example,
5126 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
5127 * expressions are treated as AND expressions meaning that resources must match
5128 * all expressions to pass the filters.
5129 * @opt_param string maxResults The maximum number of results per page that
5130 * should be returned. If the number of available results is larger than
5131 * maxResults, Compute Engine returns a nextPageToken that can be used to get
5132 * the next page of results in subsequent list requests.
5133 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
5134 * the nextPageToken returned by a previous list request to get the next page of
5135 * results.
5136 * @return Google_Service_Compute_ForwardingRuleAggregatedList
5137 */
5138 public function aggregatedList($project, $optParams = array())
5139 {
5140 $params = array('project' => $project);
5141 $params = array_merge($params, $optParams);
5142 return $this->call('aggregatedList', array($params), "Google_Service_Compute_ForwardingRuleAggregatedList");
5143 }
5144
5145 /**
5146 * Deletes the specified ForwardingRule resource. (forwardingRules.delete)
5147 *
5148 * @param string $project Project ID for this request.
5149 * @param string $region Name of the region scoping this request.
5150 * @param string $forwardingRule Name of the ForwardingRule resource to delete.
5151 * @param array $optParams Optional parameters.
5152 * @return Google_Service_Compute_Operation
5153 */
5154 public function delete($project, $region, $forwardingRule, $optParams = array())
5155 {
5156 $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule);
5157 $params = array_merge($params, $optParams);
5158 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
5159 }
5160
5161 /**
5162 * Returns the specified ForwardingRule resource. (forwardingRules.get)
5163 *
5164 * @param string $project Project ID for this request.
5165 * @param string $region Name of the region scoping this request.
5166 * @param string $forwardingRule Name of the ForwardingRule resource to return.
5167 * @param array $optParams Optional parameters.
5168 * @return Google_Service_Compute_ForwardingRule
5169 */
5170 public function get($project, $region, $forwardingRule, $optParams = array())
5171 {
5172 $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule);
5173 $params = array_merge($params, $optParams);
5174 return $this->call('get', array($params), "Google_Service_Compute_ForwardingRule");
5175 }
5176
5177 /**
5178 * Creates a ForwardingRule resource in the specified project and region using
5179 * the data included in the request. (forwardingRules.insert)
5180 *
5181 * @param string $project Project ID for this request.
5182 * @param string $region Name of the region scoping this request.
5183 * @param Google_ForwardingRule $postBody
5184 * @param array $optParams Optional parameters.
5185 * @return Google_Service_Compute_Operation
5186 */
5187 public function insert($project, $region, Google_Service_Compute_ForwardingRule $postBody, $optParams = array())
5188 {
5189 $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
5190 $params = array_merge($params, $optParams);
5191 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
5192 }
5193
5194 /**
5195 * Retrieves a list of ForwardingRule resources available to the specified
5196 * project and region. (forwardingRules.listForwardingRules)
5197 *
5198 * @param string $project Project ID for this request.
5199 * @param string $region Name of the region scoping this request.
5200 * @param array $optParams Optional parameters.
5201 *
5202 * @opt_param string filter Sets a filter expression for filtering listed
5203 * resources, in the form filter={expression}. Your {expression} must be in the
5204 * format: field_name comparison_string literal_string.
5205 *
5206 * The field_name is the name of the field you want to compare. Only atomic
5207 * field types are supported (string, number, boolean). The comparison_string
5208 * must be either eq (equals) or ne (not equals). The literal_string is the
5209 * string value to filter to. The literal value must be valid for the type of
5210 * field you are filtering by (string, number, boolean). For string fields, the
5211 * literal value is interpreted as a regular expression using RE2 syntax. The
5212 * literal value must match the entire field.
5213 *
5214 * For example, to filter for instances whose name is not equal to example-
5215 * instance, you would use filter=name ne example-instance.
5216 *
5217 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
5218 * also filter on nested fields. For example, you could filter on instances that
5219 * have set the scheduling.automaticRestart field to true. In particular, use
5220 * filtering on nested fields to take advantage of instance labels to organize
5221 * and filter results based on label values.
5222 *
5223 * The Beta API also supports filtering on multiple expressions by providing
5224 * each separate expression within parentheses. For example,
5225 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
5226 * expressions are treated as AND expressions meaning that resources must match
5227 * all expressions to pass the filters.
5228 * @opt_param string maxResults The maximum number of results per page that
5229 * should be returned. If the number of available results is larger than
5230 * maxResults, Compute Engine returns a nextPageToken that can be used to get
5231 * the next page of results in subsequent list requests.
5232 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
5233 * the nextPageToken returned by a previous list request to get the next page of
5234 * results.
5235 * @return Google_Service_Compute_ForwardingRuleList
5236 */
5237 public function listForwardingRules($project, $region, $optParams = array())
5238 {
5239 $params = array('project' => $project, 'region' => $region);
5240 $params = array_merge($params, $optParams);
5241 return $this->call('list', array($params), "Google_Service_Compute_ForwardingRuleList");
5242 }
5243
5244 /**
5245 * Changes target URL for forwarding rule. The new target should be of the same
5246 * type as the old target. (forwardingRules.setTarget)
5247 *
5248 * @param string $project Project ID for this request.
5249 * @param string $region Name of the region scoping this request.
5250 * @param string $forwardingRule Name of the ForwardingRule resource in which
5251 * target is to be set.
5252 * @param Google_TargetReference $postBody
5253 * @param array $optParams Optional parameters.
5254 * @return Google_Service_Compute_Operation
5255 */
5256 public function setTarget($project, $region, $forwardingRule, Google_Service_Compute_TargetReference $postBody, $optParams = array())
5257 {
5258 $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody);
5259 $params = array_merge($params, $optParams);
5260 return $this->call('setTarget', array($params), "Google_Service_Compute_Operation");
5261 }
5262 }
5263
5264 /**
5265 * The "globalAddresses" collection of methods.
5266 * Typical usage is:
5267 * <code>
5268 * $computeService = new Google_Service_Compute(...);
5269 * $globalAddresses = $computeService->globalAddresses;
5270 * </code>
5271 */
5272 class Google_Service_Compute_GlobalAddresses_Resource extends Google_Service_Resource
5273 {
5274
5275 /**
5276 * Deletes the specified address resource. (globalAddresses.delete)
5277 *
5278 * @param string $project Project ID for this request.
5279 * @param string $address Name of the address resource to delete.
5280 * @param array $optParams Optional parameters.
5281 * @return Google_Service_Compute_Operation
5282 */
5283 public function delete($project, $address, $optParams = array())
5284 {
5285 $params = array('project' => $project, 'address' => $address);
5286 $params = array_merge($params, $optParams);
5287 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
5288 }
5289
5290 /**
5291 * Returns the specified address resource. (globalAddresses.get)
5292 *
5293 * @param string $project Project ID for this request.
5294 * @param string $address Name of the address resource to return.
5295 * @param array $optParams Optional parameters.
5296 * @return Google_Service_Compute_Address
5297 */
5298 public function get($project, $address, $optParams = array())
5299 {
5300 $params = array('project' => $project, 'address' => $address);
5301 $params = array_merge($params, $optParams);
5302 return $this->call('get', array($params), "Google_Service_Compute_Address");
5303 }
5304
5305 /**
5306 * Creates an address resource in the specified project using the data included
5307 * in the request. (globalAddresses.insert)
5308 *
5309 * @param string $project Project ID for this request.
5310 * @param Google_Address $postBody
5311 * @param array $optParams Optional parameters.
5312 * @return Google_Service_Compute_Operation
5313 */
5314 public function insert($project, Google_Service_Compute_Address $postBody, $optParams = array())
5315 {
5316 $params = array('project' => $project, 'postBody' => $postBody);
5317 $params = array_merge($params, $optParams);
5318 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
5319 }
5320
5321 /**
5322 * Retrieves a list of global addresses. (globalAddresses.listGlobalAddresses)
5323 *
5324 * @param string $project Project ID for this request.
5325 * @param array $optParams Optional parameters.
5326 *
5327 * @opt_param string filter Sets a filter expression for filtering listed
5328 * resources, in the form filter={expression}. Your {expression} must be in the
5329 * format: field_name comparison_string literal_string.
5330 *
5331 * The field_name is the name of the field you want to compare. Only atomic
5332 * field types are supported (string, number, boolean). The comparison_string
5333 * must be either eq (equals) or ne (not equals). The literal_string is the
5334 * string value to filter to. The literal value must be valid for the type of
5335 * field you are filtering by (string, number, boolean). For string fields, the
5336 * literal value is interpreted as a regular expression using RE2 syntax. The
5337 * literal value must match the entire field.
5338 *
5339 * For example, to filter for instances whose name is not equal to example-
5340 * instance, you would use filter=name ne example-instance.
5341 *
5342 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
5343 * also filter on nested fields. For example, you could filter on instances that
5344 * have set the scheduling.automaticRestart field to true. In particular, use
5345 * filtering on nested fields to take advantage of instance labels to organize
5346 * and filter results based on label values.
5347 *
5348 * The Beta API also supports filtering on multiple expressions by providing
5349 * each separate expression within parentheses. For example,
5350 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
5351 * expressions are treated as AND expressions meaning that resources must match
5352 * all expressions to pass the filters.
5353 * @opt_param string maxResults The maximum number of results per page that
5354 * should be returned. If the number of available results is larger than
5355 * maxResults, Compute Engine returns a nextPageToken that can be used to get
5356 * the next page of results in subsequent list requests.
5357 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
5358 * the nextPageToken returned by a previous list request to get the next page of
5359 * results.
5360 * @return Google_Service_Compute_AddressList
5361 */
5362 public function listGlobalAddresses($project, $optParams = array())
5363 {
5364 $params = array('project' => $project);
5365 $params = array_merge($params, $optParams);
5366 return $this->call('list', array($params), "Google_Service_Compute_AddressList");
5367 }
5368 }
5369
5370 /**
5371 * The "globalForwardingRules" collection of methods.
5372 * Typical usage is:
5373 * <code>
5374 * $computeService = new Google_Service_Compute(...);
5375 * $globalForwardingRules = $computeService->globalForwardingRules;
5376 * </code>
5377 */
5378 class Google_Service_Compute_GlobalForwardingRules_Resource extends Google_Service_Resource
5379 {
5380
5381 /**
5382 * Deletes the specified ForwardingRule resource. (globalForwardingRules.delete)
5383 *
5384 * @param string $project Project ID for this request.
5385 * @param string $forwardingRule Name of the ForwardingRule resource to delete.
5386 * @param array $optParams Optional parameters.
5387 * @return Google_Service_Compute_Operation
5388 */
5389 public function delete($project, $forwardingRule, $optParams = array())
5390 {
5391 $params = array('project' => $project, 'forwardingRule' => $forwardingRule);
5392 $params = array_merge($params, $optParams);
5393 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
5394 }
5395
5396 /**
5397 * Returns the specified ForwardingRule resource. (globalForwardingRules.get)
5398 *
5399 * @param string $project Project ID for this request.
5400 * @param string $forwardingRule Name of the ForwardingRule resource to return.
5401 * @param array $optParams Optional parameters.
5402 * @return Google_Service_Compute_ForwardingRule
5403 */
5404 public function get($project, $forwardingRule, $optParams = array())
5405 {
5406 $params = array('project' => $project, 'forwardingRule' => $forwardingRule);
5407 $params = array_merge($params, $optParams);
5408 return $this->call('get', array($params), "Google_Service_Compute_ForwardingRule");
5409 }
5410
5411 /**
5412 * Creates a ForwardingRule resource in the specified project and region using
5413 * the data included in the request. (globalForwardingRules.insert)
5414 *
5415 * @param string $project Project ID for this request.
5416 * @param Google_ForwardingRule $postBody
5417 * @param array $optParams Optional parameters.
5418 * @return Google_Service_Compute_Operation
5419 */
5420 public function insert($project, Google_Service_Compute_ForwardingRule $postBody, $optParams = array())
5421 {
5422 $params = array('project' => $project, 'postBody' => $postBody);
5423 $params = array_merge($params, $optParams);
5424 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
5425 }
5426
5427 /**
5428 * Retrieves a list of ForwardingRule resources available to the specified
5429 * project. (globalForwardingRules.listGlobalForwardingRules)
5430 *
5431 * @param string $project Project ID for this request.
5432 * @param array $optParams Optional parameters.
5433 *
5434 * @opt_param string filter Sets a filter expression for filtering listed
5435 * resources, in the form filter={expression}. Your {expression} must be in the
5436 * format: field_name comparison_string literal_string.
5437 *
5438 * The field_name is the name of the field you want to compare. Only atomic
5439 * field types are supported (string, number, boolean). The comparison_string
5440 * must be either eq (equals) or ne (not equals). The literal_string is the
5441 * string value to filter to. The literal value must be valid for the type of
5442 * field you are filtering by (string, number, boolean). For string fields, the
5443 * literal value is interpreted as a regular expression using RE2 syntax. The
5444 * literal value must match the entire field.
5445 *
5446 * For example, to filter for instances whose name is not equal to example-
5447 * instance, you would use filter=name ne example-instance.
5448 *
5449 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
5450 * also filter on nested fields. For example, you could filter on instances that
5451 * have set the scheduling.automaticRestart field to true. In particular, use
5452 * filtering on nested fields to take advantage of instance labels to organize
5453 * and filter results based on label values.
5454 *
5455 * The Beta API also supports filtering on multiple expressions by providing
5456 * each separate expression within parentheses. For example,
5457 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
5458 * expressions are treated as AND expressions meaning that resources must match
5459 * all expressions to pass the filters.
5460 * @opt_param string maxResults The maximum number of results per page that
5461 * should be returned. If the number of available results is larger than
5462 * maxResults, Compute Engine returns a nextPageToken that can be used to get
5463 * the next page of results in subsequent list requests.
5464 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
5465 * the nextPageToken returned by a previous list request to get the next page of
5466 * results.
5467 * @return Google_Service_Compute_ForwardingRuleList
5468 */
5469 public function listGlobalForwardingRules($project, $optParams = array())
5470 {
5471 $params = array('project' => $project);
5472 $params = array_merge($params, $optParams);
5473 return $this->call('list', array($params), "Google_Service_Compute_ForwardingRuleList");
5474 }
5475
5476 /**
5477 * Changes target URL for forwarding rule. The new target should be of the same
5478 * type as the old target. (globalForwardingRules.setTarget)
5479 *
5480 * @param string $project Project ID for this request.
5481 * @param string $forwardingRule Name of the ForwardingRule resource in which
5482 * target is to be set.
5483 * @param Google_TargetReference $postBody
5484 * @param array $optParams Optional parameters.
5485 * @return Google_Service_Compute_Operation
5486 */
5487 public function setTarget($project, $forwardingRule, Google_Service_Compute_TargetReference $postBody, $optParams = array())
5488 {
5489 $params = array('project' => $project, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody);
5490 $params = array_merge($params, $optParams);
5491 return $this->call('setTarget', array($params), "Google_Service_Compute_Operation");
5492 }
5493 }
5494
5495 /**
5496 * The "globalOperations" collection of methods.
5497 * Typical usage is:
5498 * <code>
5499 * $computeService = new Google_Service_Compute(...);
5500 * $globalOperations = $computeService->globalOperations;
5501 * </code>
5502 */
5503 class Google_Service_Compute_GlobalOperations_Resource extends Google_Service_Resource
5504 {
5505
5506 /**
5507 * Retrieves an aggregated list of all operations.
5508 * (globalOperations.aggregatedList)
5509 *
5510 * @param string $project Project ID for this request.
5511 * @param array $optParams Optional parameters.
5512 *
5513 * @opt_param string filter Sets a filter expression for filtering listed
5514 * resources, in the form filter={expression}. Your {expression} must be in the
5515 * format: field_name comparison_string literal_string.
5516 *
5517 * The field_name is the name of the field you want to compare. Only atomic
5518 * field types are supported (string, number, boolean). The comparison_string
5519 * must be either eq (equals) or ne (not equals). The literal_string is the
5520 * string value to filter to. The literal value must be valid for the type of
5521 * field you are filtering by (string, number, boolean). For string fields, the
5522 * literal value is interpreted as a regular expression using RE2 syntax. The
5523 * literal value must match the entire field.
5524 *
5525 * For example, to filter for instances whose name is not equal to example-
5526 * instance, you would use filter=name ne example-instance.
5527 *
5528 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
5529 * also filter on nested fields. For example, you could filter on instances that
5530 * have set the scheduling.automaticRestart field to true. In particular, use
5531 * filtering on nested fields to take advantage of instance labels to organize
5532 * and filter results based on label values.
5533 *
5534 * The Beta API also supports filtering on multiple expressions by providing
5535 * each separate expression within parentheses. For example,
5536 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
5537 * expressions are treated as AND expressions meaning that resources must match
5538 * all expressions to pass the filters.
5539 * @opt_param string maxResults The maximum number of results per page that
5540 * should be returned. If the number of available results is larger than
5541 * maxResults, Compute Engine returns a nextPageToken that can be used to get
5542 * the next page of results in subsequent list requests.
5543 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
5544 * the nextPageToken returned by a previous list request to get the next page of
5545 * results.
5546 * @return Google_Service_Compute_OperationAggregatedList
5547 */
5548 public function aggregatedList($project, $optParams = array())
5549 {
5550 $params = array('project' => $project);
5551 $params = array_merge($params, $optParams);
5552 return $this->call('aggregatedList', array($params), "Google_Service_Compute_OperationAggregatedList");
5553 }
5554
5555 /**
5556 * Deletes the specified Operations resource. (globalOperations.delete)
5557 *
5558 * @param string $project Project ID for this request.
5559 * @param string $operation Name of the Operations resource to delete.
5560 * @param array $optParams Optional parameters.
5561 */
5562 public function delete($project, $operation, $optParams = array())
5563 {
5564 $params = array('project' => $project, 'operation' => $operation);
5565 $params = array_merge($params, $optParams);
5566 return $this->call('delete', array($params));
5567 }
5568
5569 /**
5570 * Retrieves the specified Operations resource. (globalOperations.get)
5571 *
5572 * @param string $project Project ID for this request.
5573 * @param string $operation Name of the Operations resource to return.
5574 * @param array $optParams Optional parameters.
5575 * @return Google_Service_Compute_Operation
5576 */
5577 public function get($project, $operation, $optParams = array())
5578 {
5579 $params = array('project' => $project, 'operation' => $operation);
5580 $params = array_merge($params, $optParams);
5581 return $this->call('get', array($params), "Google_Service_Compute_Operation");
5582 }
5583
5584 /**
5585 * Retrieves a list of Operation resources contained within the specified
5586 * project. (globalOperations.listGlobalOperations)
5587 *
5588 * @param string $project Project ID for this request.
5589 * @param array $optParams Optional parameters.
5590 *
5591 * @opt_param string filter Sets a filter expression for filtering listed
5592 * resources, in the form filter={expression}. Your {expression} must be in the
5593 * format: field_name comparison_string literal_string.
5594 *
5595 * The field_name is the name of the field you want to compare. Only atomic
5596 * field types are supported (string, number, boolean). The comparison_string
5597 * must be either eq (equals) or ne (not equals). The literal_string is the
5598 * string value to filter to. The literal value must be valid for the type of
5599 * field you are filtering by (string, number, boolean). For string fields, the
5600 * literal value is interpreted as a regular expression using RE2 syntax. The
5601 * literal value must match the entire field.
5602 *
5603 * For example, to filter for instances whose name is not equal to example-
5604 * instance, you would use filter=name ne example-instance.
5605 *
5606 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
5607 * also filter on nested fields. For example, you could filter on instances that
5608 * have set the scheduling.automaticRestart field to true. In particular, use
5609 * filtering on nested fields to take advantage of instance labels to organize
5610 * and filter results based on label values.
5611 *
5612 * The Beta API also supports filtering on multiple expressions by providing
5613 * each separate expression within parentheses. For example,
5614 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
5615 * expressions are treated as AND expressions meaning that resources must match
5616 * all expressions to pass the filters.
5617 * @opt_param string maxResults The maximum number of results per page that
5618 * should be returned. If the number of available results is larger than
5619 * maxResults, Compute Engine returns a nextPageToken that can be used to get
5620 * the next page of results in subsequent list requests.
5621 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
5622 * the nextPageToken returned by a previous list request to get the next page of
5623 * results.
5624 * @return Google_Service_Compute_OperationList
5625 */
5626 public function listGlobalOperations($project, $optParams = array())
5627 {
5628 $params = array('project' => $project);
5629 $params = array_merge($params, $optParams);
5630 return $this->call('list', array($params), "Google_Service_Compute_OperationList");
5631 }
5632 }
5633
5634 /**
5635 * The "httpHealthChecks" collection of methods.
5636 * Typical usage is:
5637 * <code>
5638 * $computeService = new Google_Service_Compute(...);
5639 * $httpHealthChecks = $computeService->httpHealthChecks;
5640 * </code>
5641 */
5642 class Google_Service_Compute_HttpHealthChecks_Resource extends Google_Service_Resource
5643 {
5644
5645 /**
5646 * Deletes the specified HttpHealthCheck resource. (httpHealthChecks.delete)
5647 *
5648 * @param string $project Project ID for this request.
5649 * @param string $httpHealthCheck Name of the HttpHealthCheck resource to
5650 * delete.
5651 * @param array $optParams Optional parameters.
5652 * @return Google_Service_Compute_Operation
5653 */
5654 public function delete($project, $httpHealthCheck, $optParams = array())
5655 {
5656 $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck);
5657 $params = array_merge($params, $optParams);
5658 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
5659 }
5660
5661 /**
5662 * Returns the specified HttpHealthCheck resource. (httpHealthChecks.get)
5663 *
5664 * @param string $project Project ID for this request.
5665 * @param string $httpHealthCheck Name of the HttpHealthCheck resource to
5666 * return.
5667 * @param array $optParams Optional parameters.
5668 * @return Google_Service_Compute_HttpHealthCheck
5669 */
5670 public function get($project, $httpHealthCheck, $optParams = array())
5671 {
5672 $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck);
5673 $params = array_merge($params, $optParams);
5674 return $this->call('get', array($params), "Google_Service_Compute_HttpHealthCheck");
5675 }
5676
5677 /**
5678 * Creates a HttpHealthCheck resource in the specified project using the data
5679 * included in the request. (httpHealthChecks.insert)
5680 *
5681 * @param string $project Project ID for this request.
5682 * @param Google_HttpHealthCheck $postBody
5683 * @param array $optParams Optional parameters.
5684 * @return Google_Service_Compute_Operation
5685 */
5686 public function insert($project, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
5687 {
5688 $params = array('project' => $project, 'postBody' => $postBody);
5689 $params = array_merge($params, $optParams);
5690 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
5691 }
5692
5693 /**
5694 * Retrieves the list of HttpHealthCheck resources available to the specified
5695 * project. (httpHealthChecks.listHttpHealthChecks)
5696 *
5697 * @param string $project Project ID for this request.
5698 * @param array $optParams Optional parameters.
5699 *
5700 * @opt_param string filter Sets a filter expression for filtering listed
5701 * resources, in the form filter={expression}. Your {expression} must be in the
5702 * format: field_name comparison_string literal_string.
5703 *
5704 * The field_name is the name of the field you want to compare. Only atomic
5705 * field types are supported (string, number, boolean). The comparison_string
5706 * must be either eq (equals) or ne (not equals). The literal_string is the
5707 * string value to filter to. The literal value must be valid for the type of
5708 * field you are filtering by (string, number, boolean). For string fields, the
5709 * literal value is interpreted as a regular expression using RE2 syntax. The
5710 * literal value must match the entire field.
5711 *
5712 * For example, to filter for instances whose name is not equal to example-
5713 * instance, you would use filter=name ne example-instance.
5714 *
5715 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
5716 * also filter on nested fields. For example, you could filter on instances that
5717 * have set the scheduling.automaticRestart field to true. In particular, use
5718 * filtering on nested fields to take advantage of instance labels to organize
5719 * and filter results based on label values.
5720 *
5721 * The Beta API also supports filtering on multiple expressions by providing
5722 * each separate expression within parentheses. For example,
5723 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
5724 * expressions are treated as AND expressions meaning that resources must match
5725 * all expressions to pass the filters.
5726 * @opt_param string maxResults The maximum number of results per page that
5727 * should be returned. If the number of available results is larger than
5728 * maxResults, Compute Engine returns a nextPageToken that can be used to get
5729 * the next page of results in subsequent list requests.
5730 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
5731 * the nextPageToken returned by a previous list request to get the next page of
5732 * results.
5733 * @return Google_Service_Compute_HttpHealthCheckList
5734 */
5735 public function listHttpHealthChecks($project, $optParams = array())
5736 {
5737 $params = array('project' => $project);
5738 $params = array_merge($params, $optParams);
5739 return $this->call('list', array($params), "Google_Service_Compute_HttpHealthCheckList");
5740 }
5741
5742 /**
5743 * Updates a HttpHealthCheck resource in the specified project using the data
5744 * included in the request. This method supports patch semantics.
5745 * (httpHealthChecks.patch)
5746 *
5747 * @param string $project Project ID for this request.
5748 * @param string $httpHealthCheck Name of the HttpHealthCheck resource to
5749 * update.
5750 * @param Google_HttpHealthCheck $postBody
5751 * @param array $optParams Optional parameters.
5752 * @return Google_Service_Compute_Operation
5753 */
5754 public function patch($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
5755 {
5756 $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody);
5757 $params = array_merge($params, $optParams);
5758 return $this->call('patch', array($params), "Google_Service_Compute_Operation");
5759 }
5760
5761 /**
5762 * Updates a HttpHealthCheck resource in the specified project using the data
5763 * included in the request. (httpHealthChecks.update)
5764 *
5765 * @param string $project Project ID for this request.
5766 * @param string $httpHealthCheck Name of the HttpHealthCheck resource to
5767 * update.
5768 * @param Google_HttpHealthCheck $postBody
5769 * @param array $optParams Optional parameters.
5770 * @return Google_Service_Compute_Operation
5771 */
5772 public function update($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
5773 {
5774 $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody);
5775 $params = array_merge($params, $optParams);
5776 return $this->call('update', array($params), "Google_Service_Compute_Operation");
5777 }
5778 }
5779
5780 /**
5781 * The "httpsHealthChecks" collection of methods.
5782 * Typical usage is:
5783 * <code>
5784 * $computeService = new Google_Service_Compute(...);
5785 * $httpsHealthChecks = $computeService->httpsHealthChecks;
5786 * </code>
5787 */
5788 class Google_Service_Compute_HttpsHealthChecks_Resource extends Google_Service_Resource
5789 {
5790
5791 /**
5792 * Deletes the specified HttpsHealthCheck resource. (httpsHealthChecks.delete)
5793 *
5794 * @param string $project Project ID for this request.
5795 * @param string $httpsHealthCheck Name of the HttpsHealthCheck resource to
5796 * delete.
5797 * @param array $optParams Optional parameters.
5798 * @return Google_Service_Compute_Operation
5799 */
5800 public function delete($project, $httpsHealthCheck, $optParams = array())
5801 {
5802 $params = array('project' => $project, 'httpsHealthCheck' => $httpsHealthCheck);
5803 $params = array_merge($params, $optParams);
5804 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
5805 }
5806
5807 /**
5808 * Returns the specified HttpsHealthCheck resource. (httpsHealthChecks.get)
5809 *
5810 * @param string $project Project ID for this request.
5811 * @param string $httpsHealthCheck Name of the HttpsHealthCheck resource to
5812 * return.
5813 * @param array $optParams Optional parameters.
5814 * @return Google_Service_Compute_HttpsHealthCheck
5815 */
5816 public function get($project, $httpsHealthCheck, $optParams = array())
5817 {
5818 $params = array('project' => $project, 'httpsHealthCheck' => $httpsHealthCheck);
5819 $params = array_merge($params, $optParams);
5820 return $this->call('get', array($params), "Google_Service_Compute_HttpsHealthCheck");
5821 }
5822
5823 /**
5824 * Creates a HttpsHealthCheck resource in the specified project using the data
5825 * included in the request. (httpsHealthChecks.insert)
5826 *
5827 * @param string $project Project ID for this request.
5828 * @param Google_HttpsHealthCheck $postBody
5829 * @param array $optParams Optional parameters.
5830 * @return Google_Service_Compute_Operation
5831 */
5832 public function insert($project, Google_Service_Compute_HttpsHealthCheck $postBody, $optParams = array())
5833 {
5834 $params = array('project' => $project, 'postBody' => $postBody);
5835 $params = array_merge($params, $optParams);
5836 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
5837 }
5838
5839 /**
5840 * Retrieves the list of HttpsHealthCheck resources available to the specified
5841 * project. (httpsHealthChecks.listHttpsHealthChecks)
5842 *
5843 * @param string $project Project ID for this request.
5844 * @param array $optParams Optional parameters.
5845 *
5846 * @opt_param string filter Sets a filter expression for filtering listed
5847 * resources, in the form filter={expression}. Your {expression} must be in the
5848 * format: field_name comparison_string literal_string.
5849 *
5850 * The field_name is the name of the field you want to compare. Only atomic
5851 * field types are supported (string, number, boolean). The comparison_string
5852 * must be either eq (equals) or ne (not equals). The literal_string is the
5853 * string value to filter to. The literal value must be valid for the type of
5854 * field you are filtering by (string, number, boolean). For string fields, the
5855 * literal value is interpreted as a regular expression using RE2 syntax. The
5856 * literal value must match the entire field.
5857 *
5858 * For example, to filter for instances whose name is not equal to example-
5859 * instance, you would use filter=name ne example-instance.
5860 *
5861 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
5862 * also filter on nested fields. For example, you could filter on instances that
5863 * have set the scheduling.automaticRestart field to true. In particular, use
5864 * filtering on nested fields to take advantage of instance labels to organize
5865 * and filter results based on label values.
5866 *
5867 * The Beta API also supports filtering on multiple expressions by providing
5868 * each separate expression within parentheses. For example,
5869 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
5870 * expressions are treated as AND expressions meaning that resources must match
5871 * all expressions to pass the filters.
5872 * @opt_param string maxResults The maximum number of results per page that
5873 * should be returned. If the number of available results is larger than
5874 * maxResults, Compute Engine returns a nextPageToken that can be used to get
5875 * the next page of results in subsequent list requests.
5876 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
5877 * the nextPageToken returned by a previous list request to get the next page of
5878 * results.
5879 * @return Google_Service_Compute_HttpsHealthCheckList
5880 */
5881 public function listHttpsHealthChecks($project, $optParams = array())
5882 {
5883 $params = array('project' => $project);
5884 $params = array_merge($params, $optParams);
5885 return $this->call('list', array($params), "Google_Service_Compute_HttpsHealthCheckList");
5886 }
5887
5888 /**
5889 * Updates a HttpsHealthCheck resource in the specified project using the data
5890 * included in the request. This method supports patch semantics.
5891 * (httpsHealthChecks.patch)
5892 *
5893 * @param string $project Project ID for this request.
5894 * @param string $httpsHealthCheck Name of the HttpsHealthCheck resource to
5895 * update.
5896 * @param Google_HttpsHealthCheck $postBody
5897 * @param array $optParams Optional parameters.
5898 * @return Google_Service_Compute_Operation
5899 */
5900 public function patch($project, $httpsHealthCheck, Google_Service_Compute_HttpsHealthCheck $postBody, $optParams = array())
5901 {
5902 $params = array('project' => $project, 'httpsHealthCheck' => $httpsHealthCheck, 'postBody' => $postBody);
5903 $params = array_merge($params, $optParams);
5904 return $this->call('patch', array($params), "Google_Service_Compute_Operation");
5905 }
5906
5907 /**
5908 * Updates a HttpsHealthCheck resource in the specified project using the data
5909 * included in the request. (httpsHealthChecks.update)
5910 *
5911 * @param string $project Project ID for this request.
5912 * @param string $httpsHealthCheck Name of the HttpsHealthCheck resource to
5913 * update.
5914 * @param Google_HttpsHealthCheck $postBody
5915 * @param array $optParams Optional parameters.
5916 * @return Google_Service_Compute_Operation
5917 */
5918 public function update($project, $httpsHealthCheck, Google_Service_Compute_HttpsHealthCheck $postBody, $optParams = array())
5919 {
5920 $params = array('project' => $project, 'httpsHealthCheck' => $httpsHealthCheck, 'postBody' => $postBody);
5921 $params = array_merge($params, $optParams);
5922 return $this->call('update', array($params), "Google_Service_Compute_Operation");
5923 }
5924 }
5925
5926 /**
5927 * The "images" collection of methods.
5928 * Typical usage is:
5929 * <code>
5930 * $computeService = new Google_Service_Compute(...);
5931 * $images = $computeService->images;
5932 * </code>
5933 */
5934 class Google_Service_Compute_Images_Resource extends Google_Service_Resource
5935 {
5936
5937 /**
5938 * Deletes the specified image. (images.delete)
5939 *
5940 * @param string $project Project ID for this request.
5941 * @param string $image Name of the image resource to delete.
5942 * @param array $optParams Optional parameters.
5943 * @return Google_Service_Compute_Operation
5944 */
5945 public function delete($project, $image, $optParams = array())
5946 {
5947 $params = array('project' => $project, 'image' => $image);
5948 $params = array_merge($params, $optParams);
5949 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
5950 }
5951
5952 /**
5953 * Sets the deprecation status of an image.
5954 *
5955 * If an empty request body is given, clears the deprecation status instead.
5956 * (images.deprecate)
5957 *
5958 * @param string $project Project ID for this request.
5959 * @param string $image Image name.
5960 * @param Google_DeprecationStatus $postBody
5961 * @param array $optParams Optional parameters.
5962 * @return Google_Service_Compute_Operation
5963 */
5964 public function deprecate($project, $image, Google_Service_Compute_DeprecationStatus $postBody, $optParams = array())
5965 {
5966 $params = array('project' => $project, 'image' => $image, 'postBody' => $postBody);
5967 $params = array_merge($params, $optParams);
5968 return $this->call('deprecate', array($params), "Google_Service_Compute_Operation");
5969 }
5970
5971 /**
5972 * Returns the specified image. (images.get)
5973 *
5974 * @param string $project Project ID for this request.
5975 * @param string $image Name of the image resource to return.
5976 * @param array $optParams Optional parameters.
5977 * @return Google_Service_Compute_Image
5978 */
5979 public function get($project, $image, $optParams = array())
5980 {
5981 $params = array('project' => $project, 'image' => $image);
5982 $params = array_merge($params, $optParams);
5983 return $this->call('get', array($params), "Google_Service_Compute_Image");
5984 }
5985
5986 /**
5987 * Creates an image in the specified project using the data included in the
5988 * request. (images.insert)
5989 *
5990 * @param string $project Project ID for this request.
5991 * @param Google_Image $postBody
5992 * @param array $optParams Optional parameters.
5993 * @return Google_Service_Compute_Operation
5994 */
5995 public function insert($project, Google_Service_Compute_Image $postBody, $optParams = array())
5996 {
5997 $params = array('project' => $project, 'postBody' => $postBody);
5998 $params = array_merge($params, $optParams);
5999 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
6000 }
6001
6002 /**
6003 * Retrieves the list of private images available to the specified project.
6004 * Private images are images you create that belong to your project. This method
6005 * does not get any images that belong to other projects, including publicly-
6006 * available images, like Debian 7. If you want to get a list of publicly-
6007 * available images, use this method to make a request to the respective image
6008 * project, such as debian-cloud or windows-cloud.
6009 *
6010 * See Accessing images for more information. (images.listImages)
6011 *
6012 * @param string $project Project ID for this request.
6013 * @param array $optParams Optional parameters.
6014 *
6015 * @opt_param string filter Sets a filter expression for filtering listed
6016 * resources, in the form filter={expression}. Your {expression} must be in the
6017 * format: field_name comparison_string literal_string.
6018 *
6019 * The field_name is the name of the field you want to compare. Only atomic
6020 * field types are supported (string, number, boolean). The comparison_string
6021 * must be either eq (equals) or ne (not equals). The literal_string is the
6022 * string value to filter to. The literal value must be valid for the type of
6023 * field you are filtering by (string, number, boolean). For string fields, the
6024 * literal value is interpreted as a regular expression using RE2 syntax. The
6025 * literal value must match the entire field.
6026 *
6027 * For example, to filter for instances whose name is not equal to example-
6028 * instance, you would use filter=name ne example-instance.
6029 *
6030 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
6031 * also filter on nested fields. For example, you could filter on instances that
6032 * have set the scheduling.automaticRestart field to true. In particular, use
6033 * filtering on nested fields to take advantage of instance labels to organize
6034 * and filter results based on label values.
6035 *
6036 * The Beta API also supports filtering on multiple expressions by providing
6037 * each separate expression within parentheses. For example,
6038 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
6039 * expressions are treated as AND expressions meaning that resources must match
6040 * all expressions to pass the filters.
6041 * @opt_param string maxResults The maximum number of results per page that
6042 * should be returned. If the number of available results is larger than
6043 * maxResults, Compute Engine returns a nextPageToken that can be used to get
6044 * the next page of results in subsequent list requests.
6045 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
6046 * the nextPageToken returned by a previous list request to get the next page of
6047 * results.
6048 * @return Google_Service_Compute_ImageList
6049 */
6050 public function listImages($project, $optParams = array())
6051 {
6052 $params = array('project' => $project);
6053 $params = array_merge($params, $optParams);
6054 return $this->call('list', array($params), "Google_Service_Compute_ImageList");
6055 }
6056 }
6057
6058 /**
6059 * The "instanceGroupManagers" collection of methods.
6060 * Typical usage is:
6061 * <code>
6062 * $computeService = new Google_Service_Compute(...);
6063 * $instanceGroupManagers = $computeService->instanceGroupManagers;
6064 * </code>
6065 */
6066 class Google_Service_Compute_InstanceGroupManagers_Resource extends Google_Service_Resource
6067 {
6068
6069 /**
6070 * Schedules a group action to remove the specified instances from the managed
6071 * instance group. Abandoning an instance does not delete the instance, but it
6072 * does remove the instance from any target pools that are applied by the
6073 * managed instance group. This method reduces the targetSize of the managed
6074 * instance group by the number of instances that you abandon. This operation is
6075 * marked as DONE when the action is scheduled even if the instances have not
6076 * yet been removed from the group. You must separately verify the status of the
6077 * abandoning action with the listmanagedinstances method.
6078 * (instanceGroupManagers.abandonInstances)
6079 *
6080 * @param string $project Project ID for this request.
6081 * @param string $zone The name of the zone where the managed instance group is
6082 * located.
6083 * @param string $instanceGroupManager The name of the managed instance group.
6084 * @param Google_InstanceGroupManagersAbandonInstancesRequest $postBody
6085 * @param array $optParams Optional parameters.
6086 * @return Google_Service_Compute_Operation
6087 */
6088 public function abandonInstances($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersAbandonInstancesRequest $postBody, $optParams = array())
6089 {
6090 $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
6091 $params = array_merge($params, $optParams);
6092 return $this->call('abandonInstances', array($params), "Google_Service_Compute_Operation");
6093 }
6094
6095 /**
6096 * Retrieves the list of managed instance groups and groups them by zone.
6097 * (instanceGroupManagers.aggregatedList)
6098 *
6099 * @param string $project Project ID for this request.
6100 * @param array $optParams Optional parameters.
6101 *
6102 * @opt_param string filter Sets a filter expression for filtering listed
6103 * resources, in the form filter={expression}. Your {expression} must be in the
6104 * format: field_name comparison_string literal_string.
6105 *
6106 * The field_name is the name of the field you want to compare. Only atomic
6107 * field types are supported (string, number, boolean). The comparison_string
6108 * must be either eq (equals) or ne (not equals). The literal_string is the
6109 * string value to filter to. The literal value must be valid for the type of
6110 * field you are filtering by (string, number, boolean). For string fields, the
6111 * literal value is interpreted as a regular expression using RE2 syntax. The
6112 * literal value must match the entire field.
6113 *
6114 * For example, to filter for instances whose name is not equal to example-
6115 * instance, you would use filter=name ne example-instance.
6116 *
6117 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
6118 * also filter on nested fields. For example, you could filter on instances that
6119 * have set the scheduling.automaticRestart field to true. In particular, use
6120 * filtering on nested fields to take advantage of instance labels to organize
6121 * and filter results based on label values.
6122 *
6123 * The Beta API also supports filtering on multiple expressions by providing
6124 * each separate expression within parentheses. For example,
6125 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
6126 * expressions are treated as AND expressions meaning that resources must match
6127 * all expressions to pass the filters.
6128 * @opt_param string maxResults The maximum number of results per page that
6129 * should be returned. If the number of available results is larger than
6130 * maxResults, Compute Engine returns a nextPageToken that can be used to get
6131 * the next page of results in subsequent list requests.
6132 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
6133 * the nextPageToken returned by a previous list request to get the next page of
6134 * results.
6135 * @return Google_Service_Compute_InstanceGroupManagerAggregatedList
6136 */
6137 public function aggregatedList($project, $optParams = array())
6138 {
6139 $params = array('project' => $project);
6140 $params = array_merge($params, $optParams);
6141 return $this->call('aggregatedList', array($params), "Google_Service_Compute_InstanceGroupManagerAggregatedList");
6142 }
6143
6144 /**
6145 * Deletes the specified managed instance group and all of the instances in that
6146 * group. Note that the instance group must not belong to a backend service.
6147 * Read Deleting an instance group for more information.
6148 * (instanceGroupManagers.delete)
6149 *
6150 * @param string $project Project ID for this request.
6151 * @param string $zone The name of the zone where the managed instance group is
6152 * located.
6153 * @param string $instanceGroupManager The name of the managed instance group to
6154 * delete.
6155 * @param array $optParams Optional parameters.
6156 * @return Google_Service_Compute_Operation
6157 */
6158 public function delete($project, $zone, $instanceGroupManager, $optParams = array())
6159 {
6160 $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager);
6161 $params = array_merge($params, $optParams);
6162 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
6163 }
6164
6165 /**
6166 * Schedules a group action to delete the specified instances in the managed
6167 * instance group. The instances are also removed from any target pools of which
6168 * they were a member. This method reduces the targetSize of the managed
6169 * instance group by the number of instances that you delete. This operation is
6170 * marked as DONE when the action is scheduled even if the instances are still
6171 * being deleted. You must separately verify the status of the deleting action
6172 * with the listmanagedinstances method. (instanceGroupManagers.deleteInstances)
6173 *
6174 * @param string $project Project ID for this request.
6175 * @param string $zone The name of the zone where the managed instance group is
6176 * located.
6177 * @param string $instanceGroupManager The name of the managed instance group.
6178 * @param Google_InstanceGroupManagersDeleteInstancesRequest $postBody
6179 * @param array $optParams Optional parameters.
6180 * @return Google_Service_Compute_Operation
6181 */
6182 public function deleteInstances($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersDeleteInstancesRequest $postBody, $optParams = array())
6183 {
6184 $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
6185 $params = array_merge($params, $optParams);
6186 return $this->call('deleteInstances', array($params), "Google_Service_Compute_Operation");
6187 }
6188
6189 /**
6190 * Returns all of the details about the specified managed instance group.
6191 * (instanceGroupManagers.get)
6192 *
6193 * @param string $project Project ID for this request.
6194 * @param string $zone The name of the zone where the managed instance group is
6195 * located.
6196 * @param string $instanceGroupManager The name of the managed instance group.
6197 * @param array $optParams Optional parameters.
6198 * @return Google_Service_Compute_InstanceGroupManager
6199 */
6200 public function get($project, $zone, $instanceGroupManager, $optParams = array())
6201 {
6202 $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager);
6203 $params = array_merge($params, $optParams);
6204 return $this->call('get', array($params), "Google_Service_Compute_InstanceGroupManager");
6205 }
6206
6207 /**
6208 * Creates a managed instance group using the information that you specify in
6209 * the request. After the group is created, it schedules an action to create
6210 * instances in the group using the specified instance template. This operation
6211 * is marked as DONE when the group is created even if the instances in the
6212 * group have not yet been created. You must separately verify the status of the
6213 * individual instances with the listmanagedinstances method.
6214 * (instanceGroupManagers.insert)
6215 *
6216 * @param string $project Project ID for this request.
6217 * @param string $zone The name of the zone where you want to create the managed
6218 * instance group.
6219 * @param Google_InstanceGroupManager $postBody
6220 * @param array $optParams Optional parameters.
6221 * @return Google_Service_Compute_Operation
6222 */
6223 public function insert($project, $zone, Google_Service_Compute_InstanceGroupManager $postBody, $optParams = array())
6224 {
6225 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
6226 $params = array_merge($params, $optParams);
6227 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
6228 }
6229
6230 /**
6231 * Retrieves a list of managed instance groups that are contained within the
6232 * specified project and zone. (instanceGroupManagers.listInstanceGroupManagers)
6233 *
6234 * @param string $project Project ID for this request.
6235 * @param string $zone The name of the zone where the managed instance group is
6236 * located.
6237 * @param array $optParams Optional parameters.
6238 *
6239 * @opt_param string filter Sets a filter expression for filtering listed
6240 * resources, in the form filter={expression}. Your {expression} must be in the
6241 * format: field_name comparison_string literal_string.
6242 *
6243 * The field_name is the name of the field you want to compare. Only atomic
6244 * field types are supported (string, number, boolean). The comparison_string
6245 * must be either eq (equals) or ne (not equals). The literal_string is the
6246 * string value to filter to. The literal value must be valid for the type of
6247 * field you are filtering by (string, number, boolean). For string fields, the
6248 * literal value is interpreted as a regular expression using RE2 syntax. The
6249 * literal value must match the entire field.
6250 *
6251 * For example, to filter for instances whose name is not equal to example-
6252 * instance, you would use filter=name ne example-instance.
6253 *
6254 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
6255 * also filter on nested fields. For example, you could filter on instances that
6256 * have set the scheduling.automaticRestart field to true. In particular, use
6257 * filtering on nested fields to take advantage of instance labels to organize
6258 * and filter results based on label values.
6259 *
6260 * The Beta API also supports filtering on multiple expressions by providing
6261 * each separate expression within parentheses. For example,
6262 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
6263 * expressions are treated as AND expressions meaning that resources must match
6264 * all expressions to pass the filters.
6265 * @opt_param string maxResults The maximum number of results per page that
6266 * should be returned. If the number of available results is larger than
6267 * maxResults, Compute Engine returns a nextPageToken that can be used to get
6268 * the next page of results in subsequent list requests.
6269 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
6270 * the nextPageToken returned by a previous list request to get the next page of
6271 * results.
6272 * @return Google_Service_Compute_InstanceGroupManagerList
6273 */
6274 public function listInstanceGroupManagers($project, $zone, $optParams = array())
6275 {
6276 $params = array('project' => $project, 'zone' => $zone);
6277 $params = array_merge($params, $optParams);
6278 return $this->call('list', array($params), "Google_Service_Compute_InstanceGroupManagerList");
6279 }
6280
6281 /**
6282 * Lists all of the instances in the managed instance group. Each instance in
6283 * the list has a currentAction, which indicates the action that the managed
6284 * instance group is performing on the instance. For example, if the group is
6285 * still creating an instance, the currentAction is CREATING. If a previous
6286 * action failed, the list displays the errors for that failed action.
6287 * (instanceGroupManagers.listManagedInstances)
6288 *
6289 * @param string $project Project ID for this request.
6290 * @param string $zone The name of the zone where the managed instance group is
6291 * located.
6292 * @param string $instanceGroupManager The name of the managed instance group.
6293 * @param array $optParams Optional parameters.
6294 * @return Google_Service_Compute_InstanceGroupManagersListManagedInstancesResponse
6295 */
6296 public function listManagedInstances($project, $zone, $instanceGroupManager, $optParams = array())
6297 {
6298 $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager);
6299 $params = array_merge($params, $optParams);
6300 return $this->call('listManagedInstances', array($params), "Google_Service_Compute_InstanceGroupManagersListManagedInstancesResponse");
6301 }
6302
6303 /**
6304 * Schedules a group action to recreate the specified instances in the managed
6305 * instance group. The instances are deleted and recreated using the current
6306 * instance template for the managed instance group. This operation is marked as
6307 * DONE when the action is scheduled even if the instances have not yet been
6308 * recreated. You must separately verify the status of the recreating action
6309 * with the listmanagedinstances method.
6310 * (instanceGroupManagers.recreateInstances)
6311 *
6312 * @param string $project Project ID for this request.
6313 * @param string $zone The name of the zone where the managed instance group is
6314 * located.
6315 * @param string $instanceGroupManager The name of the managed instance group.
6316 * @param Google_InstanceGroupManagersRecreateInstancesRequest $postBody
6317 * @param array $optParams Optional parameters.
6318 * @return Google_Service_Compute_Operation
6319 */
6320 public function recreateInstances($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersRecreateInstancesRequest $postBody, $optParams = array())
6321 {
6322 $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
6323 $params = array_merge($params, $optParams);
6324 return $this->call('recreateInstances', array($params), "Google_Service_Compute_Operation");
6325 }
6326
6327 /**
6328 * Resizes the managed instance group. If you increase the size, the group
6329 * creates new instances using the current instance template. If you decrease
6330 * the size, the group deletes instances. The resize operation is marked DONE
6331 * when the resize actions are scheduled even if the group has not yet added or
6332 * deleted any instances. You must separately verify the status of the creating
6333 * or deleting actions with the listmanagedinstances method.
6334 * (instanceGroupManagers.resize)
6335 *
6336 * @param string $project Project ID for this request.
6337 * @param string $zone The name of the zone where the managed instance group is
6338 * located.
6339 * @param string $instanceGroupManager The name of the managed instance group.
6340 * @param int $size The number of running instances that the managed instance
6341 * group should maintain at any given time. The group automatically adds or
6342 * removes instances to maintain the number of instances specified by this
6343 * parameter.
6344 * @param array $optParams Optional parameters.
6345 * @return Google_Service_Compute_Operation
6346 */
6347 public function resize($project, $zone, $instanceGroupManager, $size, $optParams = array())
6348 {
6349 $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'size' => $size);
6350 $params = array_merge($params, $optParams);
6351 return $this->call('resize', array($params), "Google_Service_Compute_Operation");
6352 }
6353
6354 /**
6355 * Specifies the instance template to use when creating new instances in this
6356 * group. The templates for existing instances in the group do not change unless
6357 * you recreate them. (instanceGroupManagers.setInstanceTemplate)
6358 *
6359 * @param string $project Project ID for this request.
6360 * @param string $zone The name of the zone where the managed instance group is
6361 * located.
6362 * @param string $instanceGroupManager The name of the managed instance group.
6363 * @param Google_InstanceGroupManagersSetInstanceTemplateRequest $postBody
6364 * @param array $optParams Optional parameters.
6365 * @return Google_Service_Compute_Operation
6366 */
6367 public function setInstanceTemplate($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersSetInstanceTemplateRequest $postBody, $optParams = array())
6368 {
6369 $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
6370 $params = array_merge($params, $optParams);
6371 return $this->call('setInstanceTemplate', array($params), "Google_Service_Compute_Operation");
6372 }
6373
6374 /**
6375 * Modifies the target pools to which all instances in this managed instance
6376 * group are assigned. The target pools automatically apply to all of the
6377 * instances in the managed instance group. This operation is marked DONE when
6378 * you make the request even if the instances have not yet been added to their
6379 * target pools. The change might take some time to apply to all of the
6380 * instances in the group depending on the size of the group.
6381 * (instanceGroupManagers.setTargetPools)
6382 *
6383 * @param string $project Project ID for this request.
6384 * @param string $zone The name of the zone where the managed instance group is
6385 * located.
6386 * @param string $instanceGroupManager The name of the managed instance group.
6387 * @param Google_InstanceGroupManagersSetTargetPoolsRequest $postBody
6388 * @param array $optParams Optional parameters.
6389 * @return Google_Service_Compute_Operation
6390 */
6391 public function setTargetPools($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersSetTargetPoolsRequest $postBody, $optParams = array())
6392 {
6393 $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
6394 $params = array_merge($params, $optParams);
6395 return $this->call('setTargetPools', array($params), "Google_Service_Compute_Operation");
6396 }
6397 }
6398
6399 /**
6400 * The "instanceGroups" collection of methods.
6401 * Typical usage is:
6402 * <code>
6403 * $computeService = new Google_Service_Compute(...);
6404 * $instanceGroups = $computeService->instanceGroups;
6405 * </code>
6406 */
6407 class Google_Service_Compute_InstanceGroups_Resource extends Google_Service_Resource
6408 {
6409
6410 /**
6411 * Adds a list of instances to the specified instance group. All of the
6412 * instances in the instance group must be in the same network/subnetwork. Read
6413 * Adding instances for more information. (instanceGroups.addInstances)
6414 *
6415 * @param string $project Project ID for this request.
6416 * @param string $zone The name of the zone where the instance group is located.
6417 * @param string $instanceGroup The name of the instance group where you are
6418 * adding instances.
6419 * @param Google_InstanceGroupsAddInstancesRequest $postBody
6420 * @param array $optParams Optional parameters.
6421 * @return Google_Service_Compute_Operation
6422 */
6423 public function addInstances($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsAddInstancesRequest $postBody, $optParams = array())
6424 {
6425 $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody);
6426 $params = array_merge($params, $optParams);
6427 return $this->call('addInstances', array($params), "Google_Service_Compute_Operation");
6428 }
6429
6430 /**
6431 * Retrieves the list of instance groups and sorts them by zone.
6432 * (instanceGroups.aggregatedList)
6433 *
6434 * @param string $project Project ID for this request.
6435 * @param array $optParams Optional parameters.
6436 *
6437 * @opt_param string filter Sets a filter expression for filtering listed
6438 * resources, in the form filter={expression}. Your {expression} must be in the
6439 * format: field_name comparison_string literal_string.
6440 *
6441 * The field_name is the name of the field you want to compare. Only atomic
6442 * field types are supported (string, number, boolean). The comparison_string
6443 * must be either eq (equals) or ne (not equals). The literal_string is the
6444 * string value to filter to. The literal value must be valid for the type of
6445 * field you are filtering by (string, number, boolean). For string fields, the
6446 * literal value is interpreted as a regular expression using RE2 syntax. The
6447 * literal value must match the entire field.
6448 *
6449 * For example, to filter for instances whose name is not equal to example-
6450 * instance, you would use filter=name ne example-instance.
6451 *
6452 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
6453 * also filter on nested fields. For example, you could filter on instances that
6454 * have set the scheduling.automaticRestart field to true. In particular, use
6455 * filtering on nested fields to take advantage of instance labels to organize
6456 * and filter results based on label values.
6457 *
6458 * The Beta API also supports filtering on multiple expressions by providing
6459 * each separate expression within parentheses. For example,
6460 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
6461 * expressions are treated as AND expressions meaning that resources must match
6462 * all expressions to pass the filters.
6463 * @opt_param string maxResults The maximum number of results per page that
6464 * should be returned. If the number of available results is larger than
6465 * maxResults, Compute Engine returns a nextPageToken that can be used to get
6466 * the next page of results in subsequent list requests.
6467 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
6468 * the nextPageToken returned by a previous list request to get the next page of
6469 * results.
6470 * @return Google_Service_Compute_InstanceGroupAggregatedList
6471 */
6472 public function aggregatedList($project, $optParams = array())
6473 {
6474 $params = array('project' => $project);
6475 $params = array_merge($params, $optParams);
6476 return $this->call('aggregatedList', array($params), "Google_Service_Compute_InstanceGroupAggregatedList");
6477 }
6478
6479 /**
6480 * Deletes the specified instance group. The instances in the group are not
6481 * deleted. Note that instance group must not belong to a backend service. Read
6482 * Deleting an instance group for more information. (instanceGroups.delete)
6483 *
6484 * @param string $project Project ID for this request.
6485 * @param string $zone The name of the zone where the instance group is located.
6486 * @param string $instanceGroup The name of the instance group to delete.
6487 * @param array $optParams Optional parameters.
6488 * @return Google_Service_Compute_Operation
6489 */
6490 public function delete($project, $zone, $instanceGroup, $optParams = array())
6491 {
6492 $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup);
6493 $params = array_merge($params, $optParams);
6494 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
6495 }
6496
6497 /**
6498 * Returns the specified instance group resource. (instanceGroups.get)
6499 *
6500 * @param string $project Project ID for this request.
6501 * @param string $zone The name of the zone where the instance group is located.
6502 * @param string $instanceGroup The name of the instance group.
6503 * @param array $optParams Optional parameters.
6504 * @return Google_Service_Compute_InstanceGroup
6505 */
6506 public function get($project, $zone, $instanceGroup, $optParams = array())
6507 {
6508 $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup);
6509 $params = array_merge($params, $optParams);
6510 return $this->call('get', array($params), "Google_Service_Compute_InstanceGroup");
6511 }
6512
6513 /**
6514 * Creates an instance group in the specified project using the parameters that
6515 * are included in the request. (instanceGroups.insert)
6516 *
6517 * @param string $project Project ID for this request.
6518 * @param string $zone The name of the zone where you want to create the
6519 * instance group.
6520 * @param Google_InstanceGroup $postBody
6521 * @param array $optParams Optional parameters.
6522 * @return Google_Service_Compute_Operation
6523 */
6524 public function insert($project, $zone, Google_Service_Compute_InstanceGroup $postBody, $optParams = array())
6525 {
6526 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
6527 $params = array_merge($params, $optParams);
6528 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
6529 }
6530
6531 /**
6532 * Retrieves the list of instance groups that are located in the specified
6533 * project and zone. (instanceGroups.listInstanceGroups)
6534 *
6535 * @param string $project Project ID for this request.
6536 * @param string $zone The name of the zone where the instance group is located.
6537 * @param array $optParams Optional parameters.
6538 *
6539 * @opt_param string filter Sets a filter expression for filtering listed
6540 * resources, in the form filter={expression}. Your {expression} must be in the
6541 * format: field_name comparison_string literal_string.
6542 *
6543 * The field_name is the name of the field you want to compare. Only atomic
6544 * field types are supported (string, number, boolean). The comparison_string
6545 * must be either eq (equals) or ne (not equals). The literal_string is the
6546 * string value to filter to. The literal value must be valid for the type of
6547 * field you are filtering by (string, number, boolean). For string fields, the
6548 * literal value is interpreted as a regular expression using RE2 syntax. The
6549 * literal value must match the entire field.
6550 *
6551 * For example, to filter for instances whose name is not equal to example-
6552 * instance, you would use filter=name ne example-instance.
6553 *
6554 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
6555 * also filter on nested fields. For example, you could filter on instances that
6556 * have set the scheduling.automaticRestart field to true. In particular, use
6557 * filtering on nested fields to take advantage of instance labels to organize
6558 * and filter results based on label values.
6559 *
6560 * The Beta API also supports filtering on multiple expressions by providing
6561 * each separate expression within parentheses. For example,
6562 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
6563 * expressions are treated as AND expressions meaning that resources must match
6564 * all expressions to pass the filters.
6565 * @opt_param string maxResults The maximum number of results per page that
6566 * should be returned. If the number of available results is larger than
6567 * maxResults, Compute Engine returns a nextPageToken that can be used to get
6568 * the next page of results in subsequent list requests.
6569 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
6570 * the nextPageToken returned by a previous list request to get the next page of
6571 * results.
6572 * @return Google_Service_Compute_InstanceGroupList
6573 */
6574 public function listInstanceGroups($project, $zone, $optParams = array())
6575 {
6576 $params = array('project' => $project, 'zone' => $zone);
6577 $params = array_merge($params, $optParams);
6578 return $this->call('list', array($params), "Google_Service_Compute_InstanceGroupList");
6579 }
6580
6581 /**
6582 * Lists the instances in the specified instance group.
6583 * (instanceGroups.listInstances)
6584 *
6585 * @param string $project Project ID for this request.
6586 * @param string $zone The name of the zone where the instance group is located.
6587 * @param string $instanceGroup The name of the instance group from which you
6588 * want to generate a list of included instances.
6589 * @param Google_InstanceGroupsListInstancesRequest $postBody
6590 * @param array $optParams Optional parameters.
6591 *
6592 * @opt_param string filter Sets a filter expression for filtering listed
6593 * resources, in the form filter={expression}. Your {expression} must be in the
6594 * format: field_name comparison_string literal_string.
6595 *
6596 * The field_name is the name of the field you want to compare. Only atomic
6597 * field types are supported (string, number, boolean). The comparison_string
6598 * must be either eq (equals) or ne (not equals). The literal_string is the
6599 * string value to filter to. The literal value must be valid for the type of
6600 * field you are filtering by (string, number, boolean). For string fields, the
6601 * literal value is interpreted as a regular expression using RE2 syntax. The
6602 * literal value must match the entire field.
6603 *
6604 * For example, to filter for instances whose name is not equal to example-
6605 * instance, you would use filter=name ne example-instance.
6606 *
6607 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
6608 * also filter on nested fields. For example, you could filter on instances that
6609 * have set the scheduling.automaticRestart field to true. In particular, use
6610 * filtering on nested fields to take advantage of instance labels to organize
6611 * and filter results based on label values.
6612 *
6613 * The Beta API also supports filtering on multiple expressions by providing
6614 * each separate expression within parentheses. For example,
6615 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
6616 * expressions are treated as AND expressions meaning that resources must match
6617 * all expressions to pass the filters.
6618 * @opt_param string maxResults The maximum number of results per page that
6619 * should be returned. If the number of available results is larger than
6620 * maxResults, Compute Engine returns a nextPageToken that can be used to get
6621 * the next page of results in subsequent list requests.
6622 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
6623 * the nextPageToken returned by a previous list request to get the next page of
6624 * results.
6625 * @return Google_Service_Compute_InstanceGroupsListInstances
6626 */
6627 public function listInstances($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsListInstancesRequest $postBody, $optParams = array())
6628 {
6629 $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody);
6630 $params = array_merge($params, $optParams);
6631 return $this->call('listInstances', array($params), "Google_Service_Compute_InstanceGroupsListInstances");
6632 }
6633
6634 /**
6635 * Removes one or more instances from the specified instance group, but does not
6636 * delete those instances. (instanceGroups.removeInstances)
6637 *
6638 * @param string $project Project ID for this request.
6639 * @param string $zone The name of the zone where the instance group is located.
6640 * @param string $instanceGroup The name of the instance group where the
6641 * specified instances will be removed.
6642 * @param Google_InstanceGroupsRemoveInstancesRequest $postBody
6643 * @param array $optParams Optional parameters.
6644 * @return Google_Service_Compute_Operation
6645 */
6646 public function removeInstances($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsRemoveInstancesRequest $postBody, $optParams = array())
6647 {
6648 $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody);
6649 $params = array_merge($params, $optParams);
6650 return $this->call('removeInstances', array($params), "Google_Service_Compute_Operation");
6651 }
6652
6653 /**
6654 * Sets the named ports for the specified instance group.
6655 * (instanceGroups.setNamedPorts)
6656 *
6657 * @param string $project Project ID for this request.
6658 * @param string $zone The name of the zone where the instance group is located.
6659 * @param string $instanceGroup The name of the instance group where the named
6660 * ports are updated.
6661 * @param Google_InstanceGroupsSetNamedPortsRequest $postBody
6662 * @param array $optParams Optional parameters.
6663 * @return Google_Service_Compute_Operation
6664 */
6665 public function setNamedPorts($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsSetNamedPortsRequest $postBody, $optParams = array())
6666 {
6667 $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody);
6668 $params = array_merge($params, $optParams);
6669 return $this->call('setNamedPorts', array($params), "Google_Service_Compute_Operation");
6670 }
6671 }
6672
6673 /**
6674 * The "instanceTemplates" collection of methods.
6675 * Typical usage is:
6676 * <code>
6677 * $computeService = new Google_Service_Compute(...);
6678 * $instanceTemplates = $computeService->instanceTemplates;
6679 * </code>
6680 */
6681 class Google_Service_Compute_InstanceTemplates_Resource extends Google_Service_Resource
6682 {
6683
6684 /**
6685 * Deletes the specified instance template. If you delete an instance template
6686 * that is being referenced from another instance group, the instance group will
6687 * not be able to create or recreate virtual machine instances. Deleting an
6688 * instance template is permanent and cannot be undone.
6689 * (instanceTemplates.delete)
6690 *
6691 * @param string $project Project ID for this request.
6692 * @param string $instanceTemplate The name of the instance template to delete.
6693 * @param array $optParams Optional parameters.
6694 * @return Google_Service_Compute_Operation
6695 */
6696 public function delete($project, $instanceTemplate, $optParams = array())
6697 {
6698 $params = array('project' => $project, 'instanceTemplate' => $instanceTemplate);
6699 $params = array_merge($params, $optParams);
6700 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
6701 }
6702
6703 /**
6704 * Returns the specified instance template resource. (instanceTemplates.get)
6705 *
6706 * @param string $project Project ID for this request.
6707 * @param string $instanceTemplate The name of the instance template.
6708 * @param array $optParams Optional parameters.
6709 * @return Google_Service_Compute_InstanceTemplate
6710 */
6711 public function get($project, $instanceTemplate, $optParams = array())
6712 {
6713 $params = array('project' => $project, 'instanceTemplate' => $instanceTemplate);
6714 $params = array_merge($params, $optParams);
6715 return $this->call('get', array($params), "Google_Service_Compute_InstanceTemplate");
6716 }
6717
6718 /**
6719 * Creates an instance template in the specified project using the data that is
6720 * included in the request. If you are creating a new template to update an
6721 * existing instance group, your new instance template must use the same network
6722 * or, if applicable, the same subnetwork as the original template.
6723 * (instanceTemplates.insert)
6724 *
6725 * @param string $project Project ID for this request.
6726 * @param Google_InstanceTemplate $postBody
6727 * @param array $optParams Optional parameters.
6728 * @return Google_Service_Compute_Operation
6729 */
6730 public function insert($project, Google_Service_Compute_InstanceTemplate $postBody, $optParams = array())
6731 {
6732 $params = array('project' => $project, 'postBody' => $postBody);
6733 $params = array_merge($params, $optParams);
6734 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
6735 }
6736
6737 /**
6738 * Retrieves a list of instance templates that are contained within the
6739 * specified project and zone. (instanceTemplates.listInstanceTemplates)
6740 *
6741 * @param string $project Project ID for this request.
6742 * @param array $optParams Optional parameters.
6743 *
6744 * @opt_param string filter Sets a filter expression for filtering listed
6745 * resources, in the form filter={expression}. Your {expression} must be in the
6746 * format: field_name comparison_string literal_string.
6747 *
6748 * The field_name is the name of the field you want to compare. Only atomic
6749 * field types are supported (string, number, boolean). The comparison_string
6750 * must be either eq (equals) or ne (not equals). The literal_string is the
6751 * string value to filter to. The literal value must be valid for the type of
6752 * field you are filtering by (string, number, boolean). For string fields, the
6753 * literal value is interpreted as a regular expression using RE2 syntax. The
6754 * literal value must match the entire field.
6755 *
6756 * For example, to filter for instances whose name is not equal to example-
6757 * instance, you would use filter=name ne example-instance.
6758 *
6759 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
6760 * also filter on nested fields. For example, you could filter on instances that
6761 * have set the scheduling.automaticRestart field to true. In particular, use
6762 * filtering on nested fields to take advantage of instance labels to organize
6763 * and filter results based on label values.
6764 *
6765 * The Beta API also supports filtering on multiple expressions by providing
6766 * each separate expression within parentheses. For example,
6767 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
6768 * expressions are treated as AND expressions meaning that resources must match
6769 * all expressions to pass the filters.
6770 * @opt_param string maxResults The maximum number of results per page that
6771 * should be returned. If the number of available results is larger than
6772 * maxResults, Compute Engine returns a nextPageToken that can be used to get
6773 * the next page of results in subsequent list requests.
6774 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
6775 * the nextPageToken returned by a previous list request to get the next page of
6776 * results.
6777 * @return Google_Service_Compute_InstanceTemplateList
6778 */
6779 public function listInstanceTemplates($project, $optParams = array())
6780 {
6781 $params = array('project' => $project);
6782 $params = array_merge($params, $optParams);
6783 return $this->call('list', array($params), "Google_Service_Compute_InstanceTemplateList");
6784 }
6785 }
6786
6787 /**
6788 * The "instances" collection of methods.
6789 * Typical usage is:
6790 * <code>
6791 * $computeService = new Google_Service_Compute(...);
6792 * $instances = $computeService->instances;
6793 * </code>
6794 */
6795 class Google_Service_Compute_Instances_Resource extends Google_Service_Resource
6796 {
6797
6798 /**
6799 * Adds an access config to an instance's network interface.
6800 * (instances.addAccessConfig)
6801 *
6802 * @param string $project Project ID for this request.
6803 * @param string $zone The name of the zone for this request.
6804 * @param string $instance The instance name for this request.
6805 * @param string $networkInterface The name of the network interface to add to
6806 * this instance.
6807 * @param Google_AccessConfig $postBody
6808 * @param array $optParams Optional parameters.
6809 * @return Google_Service_Compute_Operation
6810 */
6811 public function addAccessConfig($project, $zone, $instance, $networkInterface, Google_Service_Compute_AccessConfig $postBody, $optParams = array())
6812 {
6813 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'networkInterface' => $networkInterface, 'postBody' => $postBody);
6814 $params = array_merge($params, $optParams);
6815 return $this->call('addAccessConfig', array($params), "Google_Service_Compute_Operation");
6816 }
6817
6818 /**
6819 * Retrieves aggregated list of instances. (instances.aggregatedList)
6820 *
6821 * @param string $project Project ID for this request.
6822 * @param array $optParams Optional parameters.
6823 *
6824 * @opt_param string filter Sets a filter expression for filtering listed
6825 * resources, in the form filter={expression}. Your {expression} must be in the
6826 * format: field_name comparison_string literal_string.
6827 *
6828 * The field_name is the name of the field you want to compare. Only atomic
6829 * field types are supported (string, number, boolean). The comparison_string
6830 * must be either eq (equals) or ne (not equals). The literal_string is the
6831 * string value to filter to. The literal value must be valid for the type of
6832 * field you are filtering by (string, number, boolean). For string fields, the
6833 * literal value is interpreted as a regular expression using RE2 syntax. The
6834 * literal value must match the entire field.
6835 *
6836 * For example, to filter for instances whose name is not equal to example-
6837 * instance, you would use filter=name ne example-instance.
6838 *
6839 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
6840 * also filter on nested fields. For example, you could filter on instances that
6841 * have set the scheduling.automaticRestart field to true. In particular, use
6842 * filtering on nested fields to take advantage of instance labels to organize
6843 * and filter results based on label values.
6844 *
6845 * The Beta API also supports filtering on multiple expressions by providing
6846 * each separate expression within parentheses. For example,
6847 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
6848 * expressions are treated as AND expressions meaning that resources must match
6849 * all expressions to pass the filters.
6850 * @opt_param string maxResults The maximum number of results per page that
6851 * should be returned. If the number of available results is larger than
6852 * maxResults, Compute Engine returns a nextPageToken that can be used to get
6853 * the next page of results in subsequent list requests.
6854 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
6855 * the nextPageToken returned by a previous list request to get the next page of
6856 * results.
6857 * @return Google_Service_Compute_InstanceAggregatedList
6858 */
6859 public function aggregatedList($project, $optParams = array())
6860 {
6861 $params = array('project' => $project);
6862 $params = array_merge($params, $optParams);
6863 return $this->call('aggregatedList', array($params), "Google_Service_Compute_InstanceAggregatedList");
6864 }
6865
6866 /**
6867 * Attaches a Disk resource to an instance. (instances.attachDisk)
6868 *
6869 * @param string $project Project ID for this request.
6870 * @param string $zone The name of the zone for this request.
6871 * @param string $instance The instance name for this request.
6872 * @param Google_AttachedDisk $postBody
6873 * @param array $optParams Optional parameters.
6874 * @return Google_Service_Compute_Operation
6875 */
6876 public function attachDisk($project, $zone, $instance, Google_Service_Compute_AttachedDisk $postBody, $optParams = array())
6877 {
6878 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
6879 $params = array_merge($params, $optParams);
6880 return $this->call('attachDisk', array($params), "Google_Service_Compute_Operation");
6881 }
6882
6883 /**
6884 * Deletes the specified Instance resource. For more information, see Stopping
6885 * or Deleting an Instance. (instances.delete)
6886 *
6887 * @param string $project Project ID for this request.
6888 * @param string $zone The name of the zone for this request.
6889 * @param string $instance Name of the instance resource to delete.
6890 * @param array $optParams Optional parameters.
6891 * @return Google_Service_Compute_Operation
6892 */
6893 public function delete($project, $zone, $instance, $optParams = array())
6894 {
6895 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
6896 $params = array_merge($params, $optParams);
6897 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
6898 }
6899
6900 /**
6901 * Deletes an access config from an instance's network interface.
6902 * (instances.deleteAccessConfig)
6903 *
6904 * @param string $project Project ID for this request.
6905 * @param string $zone The name of the zone for this request.
6906 * @param string $instance The instance name for this request.
6907 * @param string $accessConfig The name of the access config to delete.
6908 * @param string $networkInterface The name of the network interface.
6909 * @param array $optParams Optional parameters.
6910 * @return Google_Service_Compute_Operation
6911 */
6912 public function deleteAccessConfig($project, $zone, $instance, $accessConfig, $networkInterface, $optParams = array())
6913 {
6914 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'accessConfig' => $accessConfig, 'networkInterface' => $networkInterface);
6915 $params = array_merge($params, $optParams);
6916 return $this->call('deleteAccessConfig', array($params), "Google_Service_Compute_Operation");
6917 }
6918
6919 /**
6920 * Detaches a disk from an instance. (instances.detachDisk)
6921 *
6922 * @param string $project Project ID for this request.
6923 * @param string $zone The name of the zone for this request.
6924 * @param string $instance Instance name.
6925 * @param string $deviceName Disk device name to detach.
6926 * @param array $optParams Optional parameters.
6927 * @return Google_Service_Compute_Operation
6928 */
6929 public function detachDisk($project, $zone, $instance, $deviceName, $optParams = array())
6930 {
6931 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'deviceName' => $deviceName);
6932 $params = array_merge($params, $optParams);
6933 return $this->call('detachDisk', array($params), "Google_Service_Compute_Operation");
6934 }
6935
6936 /**
6937 * Returns the specified Instance resource. (instances.get)
6938 *
6939 * @param string $project Project ID for this request.
6940 * @param string $zone The name of the zone for this request.
6941 * @param string $instance Name of the instance resource to return.
6942 * @param array $optParams Optional parameters.
6943 * @return Google_Service_Compute_Instance
6944 */
6945 public function get($project, $zone, $instance, $optParams = array())
6946 {
6947 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
6948 $params = array_merge($params, $optParams);
6949 return $this->call('get', array($params), "Google_Service_Compute_Instance");
6950 }
6951
6952 /**
6953 * Returns the specified instance's serial port output.
6954 * (instances.getSerialPortOutput)
6955 *
6956 * @param string $project Project ID for this request.
6957 * @param string $zone The name of the zone for this request.
6958 * @param string $instance Name of the instance scoping this request.
6959 * @param array $optParams Optional parameters.
6960 *
6961 * @opt_param int port Specifies which COM or serial port to retrieve data from.
6962 * @return Google_Service_Compute_SerialPortOutput
6963 */
6964 public function getSerialPortOutput($project, $zone, $instance, $optParams = array())
6965 {
6966 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
6967 $params = array_merge($params, $optParams);
6968 return $this->call('getSerialPortOutput', array($params), "Google_Service_Compute_SerialPortOutput");
6969 }
6970
6971 /**
6972 * Creates an instance resource in the specified project using the data included
6973 * in the request. (instances.insert)
6974 *
6975 * @param string $project Project ID for this request.
6976 * @param string $zone The name of the zone for this request.
6977 * @param Google_Instance $postBody
6978 * @param array $optParams Optional parameters.
6979 * @return Google_Service_Compute_Operation
6980 */
6981 public function insert($project, $zone, Google_Service_Compute_Instance $postBody, $optParams = array())
6982 {
6983 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
6984 $params = array_merge($params, $optParams);
6985 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
6986 }
6987
6988 /**
6989 * Retrieves the list of instances contained within the specified zone.
6990 * (instances.listInstances)
6991 *
6992 * @param string $project Project ID for this request.
6993 * @param string $zone The name of the zone for this request.
6994 * @param array $optParams Optional parameters.
6995 *
6996 * @opt_param string filter Sets a filter expression for filtering listed
6997 * resources, in the form filter={expression}. Your {expression} must be in the
6998 * format: field_name comparison_string literal_string.
6999 *
7000 * The field_name is the name of the field you want to compare. Only atomic
7001 * field types are supported (string, number, boolean). The comparison_string
7002 * must be either eq (equals) or ne (not equals). The literal_string is the
7003 * string value to filter to. The literal value must be valid for the type of
7004 * field you are filtering by (string, number, boolean). For string fields, the
7005 * literal value is interpreted as a regular expression using RE2 syntax. The
7006 * literal value must match the entire field.
7007 *
7008 * For example, to filter for instances whose name is not equal to example-
7009 * instance, you would use filter=name ne example-instance.
7010 *
7011 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
7012 * also filter on nested fields. For example, you could filter on instances that
7013 * have set the scheduling.automaticRestart field to true. In particular, use
7014 * filtering on nested fields to take advantage of instance labels to organize
7015 * and filter results based on label values.
7016 *
7017 * The Beta API also supports filtering on multiple expressions by providing
7018 * each separate expression within parentheses. For example,
7019 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
7020 * expressions are treated as AND expressions meaning that resources must match
7021 * all expressions to pass the filters.
7022 * @opt_param string maxResults The maximum number of results per page that
7023 * should be returned. If the number of available results is larger than
7024 * maxResults, Compute Engine returns a nextPageToken that can be used to get
7025 * the next page of results in subsequent list requests.
7026 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
7027 * the nextPageToken returned by a previous list request to get the next page of
7028 * results.
7029 * @return Google_Service_Compute_InstanceList
7030 */
7031 public function listInstances($project, $zone, $optParams = array())
7032 {
7033 $params = array('project' => $project, 'zone' => $zone);
7034 $params = array_merge($params, $optParams);
7035 return $this->call('list', array($params), "Google_Service_Compute_InstanceList");
7036 }
7037
7038 /**
7039 * Performs a hard reset on the instance. (instances.reset)
7040 *
7041 * @param string $project Project ID for this request.
7042 * @param string $zone The name of the zone for this request.
7043 * @param string $instance Name of the instance scoping this request.
7044 * @param array $optParams Optional parameters.
7045 * @return Google_Service_Compute_Operation
7046 */
7047 public function reset($project, $zone, $instance, $optParams = array())
7048 {
7049 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
7050 $params = array_merge($params, $optParams);
7051 return $this->call('reset', array($params), "Google_Service_Compute_Operation");
7052 }
7053
7054 /**
7055 * Sets the auto-delete flag for a disk attached to an instance.
7056 * (instances.setDiskAutoDelete)
7057 *
7058 * @param string $project Project ID for this request.
7059 * @param string $zone The name of the zone for this request.
7060 * @param string $instance The instance name.
7061 * @param bool $autoDelete Whether to auto-delete the disk when the instance is
7062 * deleted.
7063 * @param string $deviceName The device name of the disk to modify.
7064 * @param array $optParams Optional parameters.
7065 * @return Google_Service_Compute_Operation
7066 */
7067 public function setDiskAutoDelete($project, $zone, $instance, $autoDelete, $deviceName, $optParams = array())
7068 {
7069 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'autoDelete' => $autoDelete, 'deviceName' => $deviceName);
7070 $params = array_merge($params, $optParams);
7071 return $this->call('setDiskAutoDelete', array($params), "Google_Service_Compute_Operation");
7072 }
7073
7074 /**
7075 * Changes the machine type for a stopped instance to the machine type specified
7076 * in the request. (instances.setMachineType)
7077 *
7078 * @param string $project Project ID for this request.
7079 * @param string $zone The name of the zone for this request.
7080 * @param string $instance Name of the instance scoping this request.
7081 * @param Google_InstancesSetMachineTypeRequest $postBody
7082 * @param array $optParams Optional parameters.
7083 * @return Google_Service_Compute_Operation
7084 */
7085 public function setMachineType($project, $zone, $instance, Google_Service_Compute_InstancesSetMachineTypeRequest $postBody, $optParams = array())
7086 {
7087 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
7088 $params = array_merge($params, $optParams);
7089 return $this->call('setMachineType', array($params), "Google_Service_Compute_Operation");
7090 }
7091
7092 /**
7093 * Sets metadata for the specified instance to the data included in the request.
7094 * (instances.setMetadata)
7095 *
7096 * @param string $project Project ID for this request.
7097 * @param string $zone The name of the zone for this request.
7098 * @param string $instance Name of the instance scoping this request.
7099 * @param Google_Metadata $postBody
7100 * @param array $optParams Optional parameters.
7101 * @return Google_Service_Compute_Operation
7102 */
7103 public function setMetadata($project, $zone, $instance, Google_Service_Compute_Metadata $postBody, $optParams = array())
7104 {
7105 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
7106 $params = array_merge($params, $optParams);
7107 return $this->call('setMetadata', array($params), "Google_Service_Compute_Operation");
7108 }
7109
7110 /**
7111 * Sets an instance's scheduling options. (instances.setScheduling)
7112 *
7113 * @param string $project Project ID for this request.
7114 * @param string $zone The name of the zone for this request.
7115 * @param string $instance Instance name.
7116 * @param Google_Scheduling $postBody
7117 * @param array $optParams Optional parameters.
7118 * @return Google_Service_Compute_Operation
7119 */
7120 public function setScheduling($project, $zone, $instance, Google_Service_Compute_Scheduling $postBody, $optParams = array())
7121 {
7122 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
7123 $params = array_merge($params, $optParams);
7124 return $this->call('setScheduling', array($params), "Google_Service_Compute_Operation");
7125 }
7126
7127 /**
7128 * Sets tags for the specified instance to the data included in the request.
7129 * (instances.setTags)
7130 *
7131 * @param string $project Project ID for this request.
7132 * @param string $zone The name of the zone for this request.
7133 * @param string $instance Name of the instance scoping this request.
7134 * @param Google_Tags $postBody
7135 * @param array $optParams Optional parameters.
7136 * @return Google_Service_Compute_Operation
7137 */
7138 public function setTags($project, $zone, $instance, Google_Service_Compute_Tags $postBody, $optParams = array())
7139 {
7140 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
7141 $params = array_merge($params, $optParams);
7142 return $this->call('setTags', array($params), "Google_Service_Compute_Operation");
7143 }
7144
7145 /**
7146 * Starts an instance that was stopped using the using the instances().stop
7147 * method. For more information, see Restart an instance. (instances.start)
7148 *
7149 * @param string $project Project ID for this request.
7150 * @param string $zone The name of the zone for this request.
7151 * @param string $instance Name of the instance resource to start.
7152 * @param array $optParams Optional parameters.
7153 * @return Google_Service_Compute_Operation
7154 */
7155 public function start($project, $zone, $instance, $optParams = array())
7156 {
7157 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
7158 $params = array_merge($params, $optParams);
7159 return $this->call('start', array($params), "Google_Service_Compute_Operation");
7160 }
7161
7162 /**
7163 * Stops a running instance, shutting it down cleanly, and allows you to restart
7164 * the instance at a later time. Stopped instances do not incur per-minute,
7165 * virtual machine usage charges while they are stopped, but any resources that
7166 * the virtual machine is using, such as persistent disks and static IP
7167 * addresses, will continue to be charged until they are deleted. For more
7168 * information, see Stopping an instance. (instances.stop)
7169 *
7170 * @param string $project Project ID for this request.
7171 * @param string $zone The name of the zone for this request.
7172 * @param string $instance Name of the instance resource to stop.
7173 * @param array $optParams Optional parameters.
7174 * @return Google_Service_Compute_Operation
7175 */
7176 public function stop($project, $zone, $instance, $optParams = array())
7177 {
7178 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
7179 $params = array_merge($params, $optParams);
7180 return $this->call('stop', array($params), "Google_Service_Compute_Operation");
7181 }
7182 }
7183
7184 /**
7185 * The "licenses" collection of methods.
7186 * Typical usage is:
7187 * <code>
7188 * $computeService = new Google_Service_Compute(...);
7189 * $licenses = $computeService->licenses;
7190 * </code>
7191 */
7192 class Google_Service_Compute_Licenses_Resource extends Google_Service_Resource
7193 {
7194
7195 /**
7196 * Returns the specified license resource. (licenses.get)
7197 *
7198 * @param string $project Project ID for this request.
7199 * @param string $license Name of the License resource to return.
7200 * @param array $optParams Optional parameters.
7201 * @return Google_Service_Compute_License
7202 */
7203 public function get($project, $license, $optParams = array())
7204 {
7205 $params = array('project' => $project, 'license' => $license);
7206 $params = array_merge($params, $optParams);
7207 return $this->call('get', array($params), "Google_Service_Compute_License");
7208 }
7209 }
7210
7211 /**
7212 * The "machineTypes" collection of methods.
7213 * Typical usage is:
7214 * <code>
7215 * $computeService = new Google_Service_Compute(...);
7216 * $machineTypes = $computeService->machineTypes;
7217 * </code>
7218 */
7219 class Google_Service_Compute_MachineTypes_Resource extends Google_Service_Resource
7220 {
7221
7222 /**
7223 * Retrieves an aggregated list of machine types. (machineTypes.aggregatedList)
7224 *
7225 * @param string $project Project ID for this request.
7226 * @param array $optParams Optional parameters.
7227 *
7228 * @opt_param string filter Sets a filter expression for filtering listed
7229 * resources, in the form filter={expression}. Your {expression} must be in the
7230 * format: field_name comparison_string literal_string.
7231 *
7232 * The field_name is the name of the field you want to compare. Only atomic
7233 * field types are supported (string, number, boolean). The comparison_string
7234 * must be either eq (equals) or ne (not equals). The literal_string is the
7235 * string value to filter to. The literal value must be valid for the type of
7236 * field you are filtering by (string, number, boolean). For string fields, the
7237 * literal value is interpreted as a regular expression using RE2 syntax. The
7238 * literal value must match the entire field.
7239 *
7240 * For example, to filter for instances whose name is not equal to example-
7241 * instance, you would use filter=name ne example-instance.
7242 *
7243 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
7244 * also filter on nested fields. For example, you could filter on instances that
7245 * have set the scheduling.automaticRestart field to true. In particular, use
7246 * filtering on nested fields to take advantage of instance labels to organize
7247 * and filter results based on label values.
7248 *
7249 * The Beta API also supports filtering on multiple expressions by providing
7250 * each separate expression within parentheses. For example,
7251 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
7252 * expressions are treated as AND expressions meaning that resources must match
7253 * all expressions to pass the filters.
7254 * @opt_param string maxResults The maximum number of results per page that
7255 * should be returned. If the number of available results is larger than
7256 * maxResults, Compute Engine returns a nextPageToken that can be used to get
7257 * the next page of results in subsequent list requests.
7258 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
7259 * the nextPageToken returned by a previous list request to get the next page of
7260 * results.
7261 * @return Google_Service_Compute_MachineTypeAggregatedList
7262 */
7263 public function aggregatedList($project, $optParams = array())
7264 {
7265 $params = array('project' => $project);
7266 $params = array_merge($params, $optParams);
7267 return $this->call('aggregatedList', array($params), "Google_Service_Compute_MachineTypeAggregatedList");
7268 }
7269
7270 /**
7271 * Returns the specified machine type. (machineTypes.get)
7272 *
7273 * @param string $project Project ID for this request.
7274 * @param string $zone The name of the zone for this request.
7275 * @param string $machineType Name of the machine type to return.
7276 * @param array $optParams Optional parameters.
7277 * @return Google_Service_Compute_MachineType
7278 */
7279 public function get($project, $zone, $machineType, $optParams = array())
7280 {
7281 $params = array('project' => $project, 'zone' => $zone, 'machineType' => $machineType);
7282 $params = array_merge($params, $optParams);
7283 return $this->call('get', array($params), "Google_Service_Compute_MachineType");
7284 }
7285
7286 /**
7287 * Retrieves a list of machine types available to the specified project.
7288 * (machineTypes.listMachineTypes)
7289 *
7290 * @param string $project Project ID for this request.
7291 * @param string $zone The name of the zone for this request.
7292 * @param array $optParams Optional parameters.
7293 *
7294 * @opt_param string filter Sets a filter expression for filtering listed
7295 * resources, in the form filter={expression}. Your {expression} must be in the
7296 * format: field_name comparison_string literal_string.
7297 *
7298 * The field_name is the name of the field you want to compare. Only atomic
7299 * field types are supported (string, number, boolean). The comparison_string
7300 * must be either eq (equals) or ne (not equals). The literal_string is the
7301 * string value to filter to. The literal value must be valid for the type of
7302 * field you are filtering by (string, number, boolean). For string fields, the
7303 * literal value is interpreted as a regular expression using RE2 syntax. The
7304 * literal value must match the entire field.
7305 *
7306 * For example, to filter for instances whose name is not equal to example-
7307 * instance, you would use filter=name ne example-instance.
7308 *
7309 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
7310 * also filter on nested fields. For example, you could filter on instances that
7311 * have set the scheduling.automaticRestart field to true. In particular, use
7312 * filtering on nested fields to take advantage of instance labels to organize
7313 * and filter results based on label values.
7314 *
7315 * The Beta API also supports filtering on multiple expressions by providing
7316 * each separate expression within parentheses. For example,
7317 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
7318 * expressions are treated as AND expressions meaning that resources must match
7319 * all expressions to pass the filters.
7320 * @opt_param string maxResults The maximum number of results per page that
7321 * should be returned. If the number of available results is larger than
7322 * maxResults, Compute Engine returns a nextPageToken that can be used to get
7323 * the next page of results in subsequent list requests.
7324 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
7325 * the nextPageToken returned by a previous list request to get the next page of
7326 * results.
7327 * @return Google_Service_Compute_MachineTypeList
7328 */
7329 public function listMachineTypes($project, $zone, $optParams = array())
7330 {
7331 $params = array('project' => $project, 'zone' => $zone);
7332 $params = array_merge($params, $optParams);
7333 return $this->call('list', array($params), "Google_Service_Compute_MachineTypeList");
7334 }
7335 }
7336
7337 /**
7338 * The "networks" collection of methods.
7339 * Typical usage is:
7340 * <code>
7341 * $computeService = new Google_Service_Compute(...);
7342 * $networks = $computeService->networks;
7343 * </code>
7344 */
7345 class Google_Service_Compute_Networks_Resource extends Google_Service_Resource
7346 {
7347
7348 /**
7349 * Deletes the specified network. (networks.delete)
7350 *
7351 * @param string $project Project ID for this request.
7352 * @param string $network Name of the network to delete.
7353 * @param array $optParams Optional parameters.
7354 * @return Google_Service_Compute_Operation
7355 */
7356 public function delete($project, $network, $optParams = array())
7357 {
7358 $params = array('project' => $project, 'network' => $network);
7359 $params = array_merge($params, $optParams);
7360 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
7361 }
7362
7363 /**
7364 * Returns the specified network. (networks.get)
7365 *
7366 * @param string $project Project ID for this request.
7367 * @param string $network Name of the network to return.
7368 * @param array $optParams Optional parameters.
7369 * @return Google_Service_Compute_Network
7370 */
7371 public function get($project, $network, $optParams = array())
7372 {
7373 $params = array('project' => $project, 'network' => $network);
7374 $params = array_merge($params, $optParams);
7375 return $this->call('get', array($params), "Google_Service_Compute_Network");
7376 }
7377
7378 /**
7379 * Creates a network in the specified project using the data included in the
7380 * request. (networks.insert)
7381 *
7382 * @param string $project Project ID for this request.
7383 * @param Google_Network $postBody
7384 * @param array $optParams Optional parameters.
7385 * @return Google_Service_Compute_Operation
7386 */
7387 public function insert($project, Google_Service_Compute_Network $postBody, $optParams = array())
7388 {
7389 $params = array('project' => $project, 'postBody' => $postBody);
7390 $params = array_merge($params, $optParams);
7391 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
7392 }
7393
7394 /**
7395 * Retrieves the list of networks available to the specified project.
7396 * (networks.listNetworks)
7397 *
7398 * @param string $project Project ID for this request.
7399 * @param array $optParams Optional parameters.
7400 *
7401 * @opt_param string filter Sets a filter expression for filtering listed
7402 * resources, in the form filter={expression}. Your {expression} must be in the
7403 * format: field_name comparison_string literal_string.
7404 *
7405 * The field_name is the name of the field you want to compare. Only atomic
7406 * field types are supported (string, number, boolean). The comparison_string
7407 * must be either eq (equals) or ne (not equals). The literal_string is the
7408 * string value to filter to. The literal value must be valid for the type of
7409 * field you are filtering by (string, number, boolean). For string fields, the
7410 * literal value is interpreted as a regular expression using RE2 syntax. The
7411 * literal value must match the entire field.
7412 *
7413 * For example, to filter for instances whose name is not equal to example-
7414 * instance, you would use filter=name ne example-instance.
7415 *
7416 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
7417 * also filter on nested fields. For example, you could filter on instances that
7418 * have set the scheduling.automaticRestart field to true. In particular, use
7419 * filtering on nested fields to take advantage of instance labels to organize
7420 * and filter results based on label values.
7421 *
7422 * The Beta API also supports filtering on multiple expressions by providing
7423 * each separate expression within parentheses. For example,
7424 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
7425 * expressions are treated as AND expressions meaning that resources must match
7426 * all expressions to pass the filters.
7427 * @opt_param string maxResults The maximum number of results per page that
7428 * should be returned. If the number of available results is larger than
7429 * maxResults, Compute Engine returns a nextPageToken that can be used to get
7430 * the next page of results in subsequent list requests.
7431 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
7432 * the nextPageToken returned by a previous list request to get the next page of
7433 * results.
7434 * @return Google_Service_Compute_NetworkList
7435 */
7436 public function listNetworks($project, $optParams = array())
7437 {
7438 $params = array('project' => $project);
7439 $params = array_merge($params, $optParams);
7440 return $this->call('list', array($params), "Google_Service_Compute_NetworkList");
7441 }
7442 }
7443
7444 /**
7445 * The "projects" collection of methods.
7446 * Typical usage is:
7447 * <code>
7448 * $computeService = new Google_Service_Compute(...);
7449 * $projects = $computeService->projects;
7450 * </code>
7451 */
7452 class Google_Service_Compute_Projects_Resource extends Google_Service_Resource
7453 {
7454
7455 /**
7456 * Returns the specified project resource. (projects.get)
7457 *
7458 * @param string $project Project ID for this request.
7459 * @param array $optParams Optional parameters.
7460 * @return Google_Service_Compute_Project
7461 */
7462 public function get($project, $optParams = array())
7463 {
7464 $params = array('project' => $project);
7465 $params = array_merge($params, $optParams);
7466 return $this->call('get', array($params), "Google_Service_Compute_Project");
7467 }
7468
7469 /**
7470 * Moves a persistent disk from one zone to another. (projects.moveDisk)
7471 *
7472 * @param string $project Project ID for this request.
7473 * @param Google_DiskMoveRequest $postBody
7474 * @param array $optParams Optional parameters.
7475 * @return Google_Service_Compute_Operation
7476 */
7477 public function moveDisk($project, Google_Service_Compute_DiskMoveRequest $postBody, $optParams = array())
7478 {
7479 $params = array('project' => $project, 'postBody' => $postBody);
7480 $params = array_merge($params, $optParams);
7481 return $this->call('moveDisk', array($params), "Google_Service_Compute_Operation");
7482 }
7483
7484 /**
7485 * Moves an instance and its attached persistent disks from one zone to another.
7486 * (projects.moveInstance)
7487 *
7488 * @param string $project Project ID for this request.
7489 * @param Google_InstanceMoveRequest $postBody
7490 * @param array $optParams Optional parameters.
7491 * @return Google_Service_Compute_Operation
7492 */
7493 public function moveInstance($project, Google_Service_Compute_InstanceMoveRequest $postBody, $optParams = array())
7494 {
7495 $params = array('project' => $project, 'postBody' => $postBody);
7496 $params = array_merge($params, $optParams);
7497 return $this->call('moveInstance', array($params), "Google_Service_Compute_Operation");
7498 }
7499
7500 /**
7501 * Sets metadata common to all instances within the specified project using the
7502 * data included in the request. (projects.setCommonInstanceMetadata)
7503 *
7504 * @param string $project Project ID for this request.
7505 * @param Google_Metadata $postBody
7506 * @param array $optParams Optional parameters.
7507 * @return Google_Service_Compute_Operation
7508 */
7509 public function setCommonInstanceMetadata($project, Google_Service_Compute_Metadata $postBody, $optParams = array())
7510 {
7511 $params = array('project' => $project, 'postBody' => $postBody);
7512 $params = array_merge($params, $optParams);
7513 return $this->call('setCommonInstanceMetadata', array($params), "Google_Service_Compute_Operation");
7514 }
7515
7516 /**
7517 * Enables the usage export feature and sets the usage export bucket where
7518 * reports are stored. If you provide an empty request body using this method,
7519 * the usage export feature will be disabled. (projects.setUsageExportBucket)
7520 *
7521 * @param string $project Project ID for this request.
7522 * @param Google_UsageExportLocation $postBody
7523 * @param array $optParams Optional parameters.
7524 * @return Google_Service_Compute_Operation
7525 */
7526 public function setUsageExportBucket($project, Google_Service_Compute_UsageExportLocation $postBody, $optParams = array())
7527 {
7528 $params = array('project' => $project, 'postBody' => $postBody);
7529 $params = array_merge($params, $optParams);
7530 return $this->call('setUsageExportBucket', array($params), "Google_Service_Compute_Operation");
7531 }
7532 }
7533
7534 /**
7535 * The "regionOperations" collection of methods.
7536 * Typical usage is:
7537 * <code>
7538 * $computeService = new Google_Service_Compute(...);
7539 * $regionOperations = $computeService->regionOperations;
7540 * </code>
7541 */
7542 class Google_Service_Compute_RegionOperations_Resource extends Google_Service_Resource
7543 {
7544
7545 /**
7546 * Deletes the specified region-specific Operations resource.
7547 * (regionOperations.delete)
7548 *
7549 * @param string $project Project ID for this request.
7550 * @param string $region Name of the region for this request.
7551 * @param string $operation Name of the Operations resource to delete.
7552 * @param array $optParams Optional parameters.
7553 */
7554 public function delete($project, $region, $operation, $optParams = array())
7555 {
7556 $params = array('project' => $project, 'region' => $region, 'operation' => $operation);
7557 $params = array_merge($params, $optParams);
7558 return $this->call('delete', array($params));
7559 }
7560
7561 /**
7562 * Retrieves the specified region-specific Operations resource.
7563 * (regionOperations.get)
7564 *
7565 * @param string $project Project ID for this request.
7566 * @param string $region Name of the region for this request.
7567 * @param string $operation Name of the Operations resource to return.
7568 * @param array $optParams Optional parameters.
7569 * @return Google_Service_Compute_Operation
7570 */
7571 public function get($project, $region, $operation, $optParams = array())
7572 {
7573 $params = array('project' => $project, 'region' => $region, 'operation' => $operation);
7574 $params = array_merge($params, $optParams);
7575 return $this->call('get', array($params), "Google_Service_Compute_Operation");
7576 }
7577
7578 /**
7579 * Retrieves a list of Operation resources contained within the specified
7580 * region. (regionOperations.listRegionOperations)
7581 *
7582 * @param string $project Project ID for this request.
7583 * @param string $region Name of the region for this request.
7584 * @param array $optParams Optional parameters.
7585 *
7586 * @opt_param string filter Sets a filter expression for filtering listed
7587 * resources, in the form filter={expression}. Your {expression} must be in the
7588 * format: field_name comparison_string literal_string.
7589 *
7590 * The field_name is the name of the field you want to compare. Only atomic
7591 * field types are supported (string, number, boolean). The comparison_string
7592 * must be either eq (equals) or ne (not equals). The literal_string is the
7593 * string value to filter to. The literal value must be valid for the type of
7594 * field you are filtering by (string, number, boolean). For string fields, the
7595 * literal value is interpreted as a regular expression using RE2 syntax. The
7596 * literal value must match the entire field.
7597 *
7598 * For example, to filter for instances whose name is not equal to example-
7599 * instance, you would use filter=name ne example-instance.
7600 *
7601 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
7602 * also filter on nested fields. For example, you could filter on instances that
7603 * have set the scheduling.automaticRestart field to true. In particular, use
7604 * filtering on nested fields to take advantage of instance labels to organize
7605 * and filter results based on label values.
7606 *
7607 * The Beta API also supports filtering on multiple expressions by providing
7608 * each separate expression within parentheses. For example,
7609 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
7610 * expressions are treated as AND expressions meaning that resources must match
7611 * all expressions to pass the filters.
7612 * @opt_param string maxResults The maximum number of results per page that
7613 * should be returned. If the number of available results is larger than
7614 * maxResults, Compute Engine returns a nextPageToken that can be used to get
7615 * the next page of results in subsequent list requests.
7616 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
7617 * the nextPageToken returned by a previous list request to get the next page of
7618 * results.
7619 * @return Google_Service_Compute_OperationList
7620 */
7621 public function listRegionOperations($project, $region, $optParams = array())
7622 {
7623 $params = array('project' => $project, 'region' => $region);
7624 $params = array_merge($params, $optParams);
7625 return $this->call('list', array($params), "Google_Service_Compute_OperationList");
7626 }
7627 }
7628
7629 /**
7630 * The "regions" collection of methods.
7631 * Typical usage is:
7632 * <code>
7633 * $computeService = new Google_Service_Compute(...);
7634 * $regions = $computeService->regions;
7635 * </code>
7636 */
7637 class Google_Service_Compute_Regions_Resource extends Google_Service_Resource
7638 {
7639
7640 /**
7641 * Returns the specified region resource. (regions.get)
7642 *
7643 * @param string $project Project ID for this request.
7644 * @param string $region Name of the region resource to return.
7645 * @param array $optParams Optional parameters.
7646 * @return Google_Service_Compute_Region
7647 */
7648 public function get($project, $region, $optParams = array())
7649 {
7650 $params = array('project' => $project, 'region' => $region);
7651 $params = array_merge($params, $optParams);
7652 return $this->call('get', array($params), "Google_Service_Compute_Region");
7653 }
7654
7655 /**
7656 * Retrieves the list of region resources available to the specified project.
7657 * (regions.listRegions)
7658 *
7659 * @param string $project Project ID for this request.
7660 * @param array $optParams Optional parameters.
7661 *
7662 * @opt_param string filter Sets a filter expression for filtering listed
7663 * resources, in the form filter={expression}. Your {expression} must be in the
7664 * format: field_name comparison_string literal_string.
7665 *
7666 * The field_name is the name of the field you want to compare. Only atomic
7667 * field types are supported (string, number, boolean). The comparison_string
7668 * must be either eq (equals) or ne (not equals). The literal_string is the
7669 * string value to filter to. The literal value must be valid for the type of
7670 * field you are filtering by (string, number, boolean). For string fields, the
7671 * literal value is interpreted as a regular expression using RE2 syntax. The
7672 * literal value must match the entire field.
7673 *
7674 * For example, to filter for instances whose name is not equal to example-
7675 * instance, you would use filter=name ne example-instance.
7676 *
7677 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
7678 * also filter on nested fields. For example, you could filter on instances that
7679 * have set the scheduling.automaticRestart field to true. In particular, use
7680 * filtering on nested fields to take advantage of instance labels to organize
7681 * and filter results based on label values.
7682 *
7683 * The Beta API also supports filtering on multiple expressions by providing
7684 * each separate expression within parentheses. For example,
7685 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
7686 * expressions are treated as AND expressions meaning that resources must match
7687 * all expressions to pass the filters.
7688 * @opt_param string maxResults The maximum number of results per page that
7689 * should be returned. If the number of available results is larger than
7690 * maxResults, Compute Engine returns a nextPageToken that can be used to get
7691 * the next page of results in subsequent list requests.
7692 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
7693 * the nextPageToken returned by a previous list request to get the next page of
7694 * results.
7695 * @return Google_Service_Compute_RegionList
7696 */
7697 public function listRegions($project, $optParams = array())
7698 {
7699 $params = array('project' => $project);
7700 $params = array_merge($params, $optParams);
7701 return $this->call('list', array($params), "Google_Service_Compute_RegionList");
7702 }
7703 }
7704
7705 /**
7706 * The "routes" collection of methods.
7707 * Typical usage is:
7708 * <code>
7709 * $computeService = new Google_Service_Compute(...);
7710 * $routes = $computeService->routes;
7711 * </code>
7712 */
7713 class Google_Service_Compute_Routes_Resource extends Google_Service_Resource
7714 {
7715
7716 /**
7717 * Deletes the specified route resource. (routes.delete)
7718 *
7719 * @param string $project Project ID for this request.
7720 * @param string $route Name of the route resource to delete.
7721 * @param array $optParams Optional parameters.
7722 * @return Google_Service_Compute_Operation
7723 */
7724 public function delete($project, $route, $optParams = array())
7725 {
7726 $params = array('project' => $project, 'route' => $route);
7727 $params = array_merge($params, $optParams);
7728 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
7729 }
7730
7731 /**
7732 * Returns the specified route resource. (routes.get)
7733 *
7734 * @param string $project Project ID for this request.
7735 * @param string $route Name of the route resource to return.
7736 * @param array $optParams Optional parameters.
7737 * @return Google_Service_Compute_Route
7738 */
7739 public function get($project, $route, $optParams = array())
7740 {
7741 $params = array('project' => $project, 'route' => $route);
7742 $params = array_merge($params, $optParams);
7743 return $this->call('get', array($params), "Google_Service_Compute_Route");
7744 }
7745
7746 /**
7747 * Creates a route resource in the specified project using the data included in
7748 * the request. (routes.insert)
7749 *
7750 * @param string $project Project ID for this request.
7751 * @param Google_Route $postBody
7752 * @param array $optParams Optional parameters.
7753 * @return Google_Service_Compute_Operation
7754 */
7755 public function insert($project, Google_Service_Compute_Route $postBody, $optParams = array())
7756 {
7757 $params = array('project' => $project, 'postBody' => $postBody);
7758 $params = array_merge($params, $optParams);
7759 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
7760 }
7761
7762 /**
7763 * Retrieves the list of route resources available to the specified project.
7764 * (routes.listRoutes)
7765 *
7766 * @param string $project Project ID for this request.
7767 * @param array $optParams Optional parameters.
7768 *
7769 * @opt_param string filter Sets a filter expression for filtering listed
7770 * resources, in the form filter={expression}. Your {expression} must be in the
7771 * format: field_name comparison_string literal_string.
7772 *
7773 * The field_name is the name of the field you want to compare. Only atomic
7774 * field types are supported (string, number, boolean). The comparison_string
7775 * must be either eq (equals) or ne (not equals). The literal_string is the
7776 * string value to filter to. The literal value must be valid for the type of
7777 * field you are filtering by (string, number, boolean). For string fields, the
7778 * literal value is interpreted as a regular expression using RE2 syntax. The
7779 * literal value must match the entire field.
7780 *
7781 * For example, to filter for instances whose name is not equal to example-
7782 * instance, you would use filter=name ne example-instance.
7783 *
7784 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
7785 * also filter on nested fields. For example, you could filter on instances that
7786 * have set the scheduling.automaticRestart field to true. In particular, use
7787 * filtering on nested fields to take advantage of instance labels to organize
7788 * and filter results based on label values.
7789 *
7790 * The Beta API also supports filtering on multiple expressions by providing
7791 * each separate expression within parentheses. For example,
7792 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
7793 * expressions are treated as AND expressions meaning that resources must match
7794 * all expressions to pass the filters.
7795 * @opt_param string maxResults The maximum number of results per page that
7796 * should be returned. If the number of available results is larger than
7797 * maxResults, Compute Engine returns a nextPageToken that can be used to get
7798 * the next page of results in subsequent list requests.
7799 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
7800 * the nextPageToken returned by a previous list request to get the next page of
7801 * results.
7802 * @return Google_Service_Compute_RouteList
7803 */
7804 public function listRoutes($project, $optParams = array())
7805 {
7806 $params = array('project' => $project);
7807 $params = array_merge($params, $optParams);
7808 return $this->call('list', array($params), "Google_Service_Compute_RouteList");
7809 }
7810 }
7811
7812 /**
7813 * The "snapshots" collection of methods.
7814 * Typical usage is:
7815 * <code>
7816 * $computeService = new Google_Service_Compute(...);
7817 * $snapshots = $computeService->snapshots;
7818 * </code>
7819 */
7820 class Google_Service_Compute_Snapshots_Resource extends Google_Service_Resource
7821 {
7822
7823 /**
7824 * Deletes the specified Snapshot resource. Keep in mind that deleting a single
7825 * snapshot might not necessarily delete all the data on that snapshot. If any
7826 * data on the snapshot that is marked for deletion is needed for subsequent
7827 * snapshots, the data will be moved to the next corresponding snapshot.
7828 *
7829 * For more information, see Deleting snaphots. (snapshots.delete)
7830 *
7831 * @param string $project Project ID for this request.
7832 * @param string $snapshot Name of the Snapshot resource to delete.
7833 * @param array $optParams Optional parameters.
7834 * @return Google_Service_Compute_Operation
7835 */
7836 public function delete($project, $snapshot, $optParams = array())
7837 {
7838 $params = array('project' => $project, 'snapshot' => $snapshot);
7839 $params = array_merge($params, $optParams);
7840 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
7841 }
7842
7843 /**
7844 * Returns the specified Snapshot resource. (snapshots.get)
7845 *
7846 * @param string $project Project ID for this request.
7847 * @param string $snapshot Name of the Snapshot resource to return.
7848 * @param array $optParams Optional parameters.
7849 * @return Google_Service_Compute_Snapshot
7850 */
7851 public function get($project, $snapshot, $optParams = array())
7852 {
7853 $params = array('project' => $project, 'snapshot' => $snapshot);
7854 $params = array_merge($params, $optParams);
7855 return $this->call('get', array($params), "Google_Service_Compute_Snapshot");
7856 }
7857
7858 /**
7859 * Retrieves the list of Snapshot resources contained within the specified
7860 * project. (snapshots.listSnapshots)
7861 *
7862 * @param string $project Project ID for this request.
7863 * @param array $optParams Optional parameters.
7864 *
7865 * @opt_param string filter Sets a filter expression for filtering listed
7866 * resources, in the form filter={expression}. Your {expression} must be in the
7867 * format: field_name comparison_string literal_string.
7868 *
7869 * The field_name is the name of the field you want to compare. Only atomic
7870 * field types are supported (string, number, boolean). The comparison_string
7871 * must be either eq (equals) or ne (not equals). The literal_string is the
7872 * string value to filter to. The literal value must be valid for the type of
7873 * field you are filtering by (string, number, boolean). For string fields, the
7874 * literal value is interpreted as a regular expression using RE2 syntax. The
7875 * literal value must match the entire field.
7876 *
7877 * For example, to filter for instances whose name is not equal to example-
7878 * instance, you would use filter=name ne example-instance.
7879 *
7880 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
7881 * also filter on nested fields. For example, you could filter on instances that
7882 * have set the scheduling.automaticRestart field to true. In particular, use
7883 * filtering on nested fields to take advantage of instance labels to organize
7884 * and filter results based on label values.
7885 *
7886 * The Beta API also supports filtering on multiple expressions by providing
7887 * each separate expression within parentheses. For example,
7888 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
7889 * expressions are treated as AND expressions meaning that resources must match
7890 * all expressions to pass the filters.
7891 * @opt_param string maxResults The maximum number of results per page that
7892 * should be returned. If the number of available results is larger than
7893 * maxResults, Compute Engine returns a nextPageToken that can be used to get
7894 * the next page of results in subsequent list requests.
7895 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
7896 * the nextPageToken returned by a previous list request to get the next page of
7897 * results.
7898 * @return Google_Service_Compute_SnapshotList
7899 */
7900 public function listSnapshots($project, $optParams = array())
7901 {
7902 $params = array('project' => $project);
7903 $params = array_merge($params, $optParams);
7904 return $this->call('list', array($params), "Google_Service_Compute_SnapshotList");
7905 }
7906 }
7907
7908 /**
7909 * The "sslCertificates" collection of methods.
7910 * Typical usage is:
7911 * <code>
7912 * $computeService = new Google_Service_Compute(...);
7913 * $sslCertificates = $computeService->sslCertificates;
7914 * </code>
7915 */
7916 class Google_Service_Compute_SslCertificates_Resource extends Google_Service_Resource
7917 {
7918
7919 /**
7920 * Deletes the specified SslCertificate resource. (sslCertificates.delete)
7921 *
7922 * @param string $project Project ID for this request.
7923 * @param string $sslCertificate Name of the SslCertificate resource to delete.
7924 * @param array $optParams Optional parameters.
7925 * @return Google_Service_Compute_Operation
7926 */
7927 public function delete($project, $sslCertificate, $optParams = array())
7928 {
7929 $params = array('project' => $project, 'sslCertificate' => $sslCertificate);
7930 $params = array_merge($params, $optParams);
7931 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
7932 }
7933
7934 /**
7935 * Returns the specified SslCertificate resource. (sslCertificates.get)
7936 *
7937 * @param string $project Project ID for this request.
7938 * @param string $sslCertificate Name of the SslCertificate resource to return.
7939 * @param array $optParams Optional parameters.
7940 * @return Google_Service_Compute_SslCertificate
7941 */
7942 public function get($project, $sslCertificate, $optParams = array())
7943 {
7944 $params = array('project' => $project, 'sslCertificate' => $sslCertificate);
7945 $params = array_merge($params, $optParams);
7946 return $this->call('get', array($params), "Google_Service_Compute_SslCertificate");
7947 }
7948
7949 /**
7950 * Creates a SslCertificate resource in the specified project using the data
7951 * included in the request. (sslCertificates.insert)
7952 *
7953 * @param string $project Project ID for this request.
7954 * @param Google_SslCertificate $postBody
7955 * @param array $optParams Optional parameters.
7956 * @return Google_Service_Compute_Operation
7957 */
7958 public function insert($project, Google_Service_Compute_SslCertificate $postBody, $optParams = array())
7959 {
7960 $params = array('project' => $project, 'postBody' => $postBody);
7961 $params = array_merge($params, $optParams);
7962 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
7963 }
7964
7965 /**
7966 * Retrieves the list of SslCertificate resources available to the specified
7967 * project. (sslCertificates.listSslCertificates)
7968 *
7969 * @param string $project Project ID for this request.
7970 * @param array $optParams Optional parameters.
7971 *
7972 * @opt_param string filter Sets a filter expression for filtering listed
7973 * resources, in the form filter={expression}. Your {expression} must be in the
7974 * format: field_name comparison_string literal_string.
7975 *
7976 * The field_name is the name of the field you want to compare. Only atomic
7977 * field types are supported (string, number, boolean). The comparison_string
7978 * must be either eq (equals) or ne (not equals). The literal_string is the
7979 * string value to filter to. The literal value must be valid for the type of
7980 * field you are filtering by (string, number, boolean). For string fields, the
7981 * literal value is interpreted as a regular expression using RE2 syntax. The
7982 * literal value must match the entire field.
7983 *
7984 * For example, to filter for instances whose name is not equal to example-
7985 * instance, you would use filter=name ne example-instance.
7986 *
7987 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
7988 * also filter on nested fields. For example, you could filter on instances that
7989 * have set the scheduling.automaticRestart field to true. In particular, use
7990 * filtering on nested fields to take advantage of instance labels to organize
7991 * and filter results based on label values.
7992 *
7993 * The Beta API also supports filtering on multiple expressions by providing
7994 * each separate expression within parentheses. For example,
7995 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
7996 * expressions are treated as AND expressions meaning that resources must match
7997 * all expressions to pass the filters.
7998 * @opt_param string maxResults The maximum number of results per page that
7999 * should be returned. If the number of available results is larger than
8000 * maxResults, Compute Engine returns a nextPageToken that can be used to get
8001 * the next page of results in subsequent list requests.
8002 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
8003 * the nextPageToken returned by a previous list request to get the next page of
8004 * results.
8005 * @return Google_Service_Compute_SslCertificateList
8006 */
8007 public function listSslCertificates($project, $optParams = array())
8008 {
8009 $params = array('project' => $project);
8010 $params = array_merge($params, $optParams);
8011 return $this->call('list', array($params), "Google_Service_Compute_SslCertificateList");
8012 }
8013 }
8014
8015 /**
8016 * The "subnetworks" collection of methods.
8017 * Typical usage is:
8018 * <code>
8019 * $computeService = new Google_Service_Compute(...);
8020 * $subnetworks = $computeService->subnetworks;
8021 * </code>
8022 */
8023 class Google_Service_Compute_Subnetworks_Resource extends Google_Service_Resource
8024 {
8025
8026 /**
8027 * Retrieves an aggregated list of subnetworks. (subnetworks.aggregatedList)
8028 *
8029 * @param string $project Project ID for this request.
8030 * @param array $optParams Optional parameters.
8031 *
8032 * @opt_param string filter Sets a filter expression for filtering listed
8033 * resources, in the form filter={expression}. Your {expression} must be in the
8034 * format: field_name comparison_string literal_string.
8035 *
8036 * The field_name is the name of the field you want to compare. Only atomic
8037 * field types are supported (string, number, boolean). The comparison_string
8038 * must be either eq (equals) or ne (not equals). The literal_string is the
8039 * string value to filter to. The literal value must be valid for the type of
8040 * field you are filtering by (string, number, boolean). For string fields, the
8041 * literal value is interpreted as a regular expression using RE2 syntax. The
8042 * literal value must match the entire field.
8043 *
8044 * For example, to filter for instances whose name is not equal to example-
8045 * instance, you would use filter=name ne example-instance.
8046 *
8047 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
8048 * also filter on nested fields. For example, you could filter on instances that
8049 * have set the scheduling.automaticRestart field to true. In particular, use
8050 * filtering on nested fields to take advantage of instance labels to organize
8051 * and filter results based on label values.
8052 *
8053 * The Beta API also supports filtering on multiple expressions by providing
8054 * each separate expression within parentheses. For example,
8055 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
8056 * expressions are treated as AND expressions meaning that resources must match
8057 * all expressions to pass the filters.
8058 * @opt_param string maxResults The maximum number of results per page that
8059 * should be returned. If the number of available results is larger than
8060 * maxResults, Compute Engine returns a nextPageToken that can be used to get
8061 * the next page of results in subsequent list requests.
8062 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
8063 * the nextPageToken returned by a previous list request to get the next page of
8064 * results.
8065 * @return Google_Service_Compute_SubnetworkAggregatedList
8066 */
8067 public function aggregatedList($project, $optParams = array())
8068 {
8069 $params = array('project' => $project);
8070 $params = array_merge($params, $optParams);
8071 return $this->call('aggregatedList', array($params), "Google_Service_Compute_SubnetworkAggregatedList");
8072 }
8073
8074 /**
8075 * Deletes the specified subnetwork. (subnetworks.delete)
8076 *
8077 * @param string $project Project ID for this request.
8078 * @param string $region Name of the region scoping this request.
8079 * @param string $subnetwork Name of the Subnetwork resource to delete.
8080 * @param array $optParams Optional parameters.
8081 * @return Google_Service_Compute_Operation
8082 */
8083 public function delete($project, $region, $subnetwork, $optParams = array())
8084 {
8085 $params = array('project' => $project, 'region' => $region, 'subnetwork' => $subnetwork);
8086 $params = array_merge($params, $optParams);
8087 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
8088 }
8089
8090 /**
8091 * Returns the specified subnetwork. (subnetworks.get)
8092 *
8093 * @param string $project Project ID for this request.
8094 * @param string $region Name of the region scoping this request.
8095 * @param string $subnetwork Name of the Subnetwork resource to return.
8096 * @param array $optParams Optional parameters.
8097 * @return Google_Service_Compute_Subnetwork
8098 */
8099 public function get($project, $region, $subnetwork, $optParams = array())
8100 {
8101 $params = array('project' => $project, 'region' => $region, 'subnetwork' => $subnetwork);
8102 $params = array_merge($params, $optParams);
8103 return $this->call('get', array($params), "Google_Service_Compute_Subnetwork");
8104 }
8105
8106 /**
8107 * Creates a subnetwork in the specified project using the data included in the
8108 * request. (subnetworks.insert)
8109 *
8110 * @param string $project Project ID for this request.
8111 * @param string $region Name of the region scoping this request.
8112 * @param Google_Subnetwork $postBody
8113 * @param array $optParams Optional parameters.
8114 * @return Google_Service_Compute_Operation
8115 */
8116 public function insert($project, $region, Google_Service_Compute_Subnetwork $postBody, $optParams = array())
8117 {
8118 $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
8119 $params = array_merge($params, $optParams);
8120 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
8121 }
8122
8123 /**
8124 * Retrieves a list of subnetworks available to the specified project.
8125 * (subnetworks.listSubnetworks)
8126 *
8127 * @param string $project Project ID for this request.
8128 * @param string $region Name of the region scoping this request.
8129 * @param array $optParams Optional parameters.
8130 *
8131 * @opt_param string filter Sets a filter expression for filtering listed
8132 * resources, in the form filter={expression}. Your {expression} must be in the
8133 * format: field_name comparison_string literal_string.
8134 *
8135 * The field_name is the name of the field you want to compare. Only atomic
8136 * field types are supported (string, number, boolean). The comparison_string
8137 * must be either eq (equals) or ne (not equals). The literal_string is the
8138 * string value to filter to. The literal value must be valid for the type of
8139 * field you are filtering by (string, number, boolean). For string fields, the
8140 * literal value is interpreted as a regular expression using RE2 syntax. The
8141 * literal value must match the entire field.
8142 *
8143 * For example, to filter for instances whose name is not equal to example-
8144 * instance, you would use filter=name ne example-instance.
8145 *
8146 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
8147 * also filter on nested fields. For example, you could filter on instances that
8148 * have set the scheduling.automaticRestart field to true. In particular, use
8149 * filtering on nested fields to take advantage of instance labels to organize
8150 * and filter results based on label values.
8151 *
8152 * The Beta API also supports filtering on multiple expressions by providing
8153 * each separate expression within parentheses. For example,
8154 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
8155 * expressions are treated as AND expressions meaning that resources must match
8156 * all expressions to pass the filters.
8157 * @opt_param string maxResults The maximum number of results per page that
8158 * should be returned. If the number of available results is larger than
8159 * maxResults, Compute Engine returns a nextPageToken that can be used to get
8160 * the next page of results in subsequent list requests.
8161 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
8162 * the nextPageToken returned by a previous list request to get the next page of
8163 * results.
8164 * @return Google_Service_Compute_SubnetworkList
8165 */
8166 public function listSubnetworks($project, $region, $optParams = array())
8167 {
8168 $params = array('project' => $project, 'region' => $region);
8169 $params = array_merge($params, $optParams);
8170 return $this->call('list', array($params), "Google_Service_Compute_SubnetworkList");
8171 }
8172 }
8173
8174 /**
8175 * The "targetHttpProxies" collection of methods.
8176 * Typical usage is:
8177 * <code>
8178 * $computeService = new Google_Service_Compute(...);
8179 * $targetHttpProxies = $computeService->targetHttpProxies;
8180 * </code>
8181 */
8182 class Google_Service_Compute_TargetHttpProxies_Resource extends Google_Service_Resource
8183 {
8184
8185 /**
8186 * Deletes the specified TargetHttpProxy resource. (targetHttpProxies.delete)
8187 *
8188 * @param string $project Project ID for this request.
8189 * @param string $targetHttpProxy Name of the TargetHttpProxy resource to
8190 * delete.
8191 * @param array $optParams Optional parameters.
8192 * @return Google_Service_Compute_Operation
8193 */
8194 public function delete($project, $targetHttpProxy, $optParams = array())
8195 {
8196 $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy);
8197 $params = array_merge($params, $optParams);
8198 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
8199 }
8200
8201 /**
8202 * Returns the specified TargetHttpProxy resource. (targetHttpProxies.get)
8203 *
8204 * @param string $project Project ID for this request.
8205 * @param string $targetHttpProxy Name of the TargetHttpProxy resource to
8206 * return.
8207 * @param array $optParams Optional parameters.
8208 * @return Google_Service_Compute_TargetHttpProxy
8209 */
8210 public function get($project, $targetHttpProxy, $optParams = array())
8211 {
8212 $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy);
8213 $params = array_merge($params, $optParams);
8214 return $this->call('get', array($params), "Google_Service_Compute_TargetHttpProxy");
8215 }
8216
8217 /**
8218 * Creates a TargetHttpProxy resource in the specified project using the data
8219 * included in the request. (targetHttpProxies.insert)
8220 *
8221 * @param string $project Project ID for this request.
8222 * @param Google_TargetHttpProxy $postBody
8223 * @param array $optParams Optional parameters.
8224 * @return Google_Service_Compute_Operation
8225 */
8226 public function insert($project, Google_Service_Compute_TargetHttpProxy $postBody, $optParams = array())
8227 {
8228 $params = array('project' => $project, 'postBody' => $postBody);
8229 $params = array_merge($params, $optParams);
8230 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
8231 }
8232
8233 /**
8234 * Retrieves the list of TargetHttpProxy resources available to the specified
8235 * project. (targetHttpProxies.listTargetHttpProxies)
8236 *
8237 * @param string $project Project ID for this request.
8238 * @param array $optParams Optional parameters.
8239 *
8240 * @opt_param string filter Sets a filter expression for filtering listed
8241 * resources, in the form filter={expression}. Your {expression} must be in the
8242 * format: field_name comparison_string literal_string.
8243 *
8244 * The field_name is the name of the field you want to compare. Only atomic
8245 * field types are supported (string, number, boolean). The comparison_string
8246 * must be either eq (equals) or ne (not equals). The literal_string is the
8247 * string value to filter to. The literal value must be valid for the type of
8248 * field you are filtering by (string, number, boolean). For string fields, the
8249 * literal value is interpreted as a regular expression using RE2 syntax. The
8250 * literal value must match the entire field.
8251 *
8252 * For example, to filter for instances whose name is not equal to example-
8253 * instance, you would use filter=name ne example-instance.
8254 *
8255 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
8256 * also filter on nested fields. For example, you could filter on instances that
8257 * have set the scheduling.automaticRestart field to true. In particular, use
8258 * filtering on nested fields to take advantage of instance labels to organize
8259 * and filter results based on label values.
8260 *
8261 * The Beta API also supports filtering on multiple expressions by providing
8262 * each separate expression within parentheses. For example,
8263 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
8264 * expressions are treated as AND expressions meaning that resources must match
8265 * all expressions to pass the filters.
8266 * @opt_param string maxResults The maximum number of results per page that
8267 * should be returned. If the number of available results is larger than
8268 * maxResults, Compute Engine returns a nextPageToken that can be used to get
8269 * the next page of results in subsequent list requests.
8270 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
8271 * the nextPageToken returned by a previous list request to get the next page of
8272 * results.
8273 * @return Google_Service_Compute_TargetHttpProxyList
8274 */
8275 public function listTargetHttpProxies($project, $optParams = array())
8276 {
8277 $params = array('project' => $project);
8278 $params = array_merge($params, $optParams);
8279 return $this->call('list', array($params), "Google_Service_Compute_TargetHttpProxyList");
8280 }
8281
8282 /**
8283 * Changes the URL map for TargetHttpProxy. (targetHttpProxies.setUrlMap)
8284 *
8285 * @param string $project Project ID for this request.
8286 * @param string $targetHttpProxy The name of the TargetHttpProxy resource to
8287 * set a URL map for.
8288 * @param Google_UrlMapReference $postBody
8289 * @param array $optParams Optional parameters.
8290 * @return Google_Service_Compute_Operation
8291 */
8292 public function setUrlMap($project, $targetHttpProxy, Google_Service_Compute_UrlMapReference $postBody, $optParams = array())
8293 {
8294 $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy, 'postBody' => $postBody);
8295 $params = array_merge($params, $optParams);
8296 return $this->call('setUrlMap', array($params), "Google_Service_Compute_Operation");
8297 }
8298 }
8299
8300 /**
8301 * The "targetHttpsProxies" collection of methods.
8302 * Typical usage is:
8303 * <code>
8304 * $computeService = new Google_Service_Compute(...);
8305 * $targetHttpsProxies = $computeService->targetHttpsProxies;
8306 * </code>
8307 */
8308 class Google_Service_Compute_TargetHttpsProxies_Resource extends Google_Service_Resource
8309 {
8310
8311 /**
8312 * Deletes the specified TargetHttpsProxy resource. (targetHttpsProxies.delete)
8313 *
8314 * @param string $project Project ID for this request.
8315 * @param string $targetHttpsProxy Name of the TargetHttpsProxy resource to
8316 * delete.
8317 * @param array $optParams Optional parameters.
8318 * @return Google_Service_Compute_Operation
8319 */
8320 public function delete($project, $targetHttpsProxy, $optParams = array())
8321 {
8322 $params = array('project' => $project, 'targetHttpsProxy' => $targetHttpsProxy);
8323 $params = array_merge($params, $optParams);
8324 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
8325 }
8326
8327 /**
8328 * Returns the specified TargetHttpsProxy resource. (targetHttpsProxies.get)
8329 *
8330 * @param string $project Project ID for this request.
8331 * @param string $targetHttpsProxy Name of the TargetHttpsProxy resource to
8332 * return.
8333 * @param array $optParams Optional parameters.
8334 * @return Google_Service_Compute_TargetHttpsProxy
8335 */
8336 public function get($project, $targetHttpsProxy, $optParams = array())
8337 {
8338 $params = array('project' => $project, 'targetHttpsProxy' => $targetHttpsProxy);
8339 $params = array_merge($params, $optParams);
8340 return $this->call('get', array($params), "Google_Service_Compute_TargetHttpsProxy");
8341 }
8342
8343 /**
8344 * Creates a TargetHttpsProxy resource in the specified project using the data
8345 * included in the request. (targetHttpsProxies.insert)
8346 *
8347 * @param string $project Project ID for this request.
8348 * @param Google_TargetHttpsProxy $postBody
8349 * @param array $optParams Optional parameters.
8350 * @return Google_Service_Compute_Operation
8351 */
8352 public function insert($project, Google_Service_Compute_TargetHttpsProxy $postBody, $optParams = array())
8353 {
8354 $params = array('project' => $project, 'postBody' => $postBody);
8355 $params = array_merge($params, $optParams);
8356 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
8357 }
8358
8359 /**
8360 * Retrieves the list of TargetHttpsProxy resources available to the specified
8361 * project. (targetHttpsProxies.listTargetHttpsProxies)
8362 *
8363 * @param string $project Project ID for this request.
8364 * @param array $optParams Optional parameters.
8365 *
8366 * @opt_param string filter Sets a filter expression for filtering listed
8367 * resources, in the form filter={expression}. Your {expression} must be in the
8368 * format: field_name comparison_string literal_string.
8369 *
8370 * The field_name is the name of the field you want to compare. Only atomic
8371 * field types are supported (string, number, boolean). The comparison_string
8372 * must be either eq (equals) or ne (not equals). The literal_string is the
8373 * string value to filter to. The literal value must be valid for the type of
8374 * field you are filtering by (string, number, boolean). For string fields, the
8375 * literal value is interpreted as a regular expression using RE2 syntax. The
8376 * literal value must match the entire field.
8377 *
8378 * For example, to filter for instances whose name is not equal to example-
8379 * instance, you would use filter=name ne example-instance.
8380 *
8381 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
8382 * also filter on nested fields. For example, you could filter on instances that
8383 * have set the scheduling.automaticRestart field to true. In particular, use
8384 * filtering on nested fields to take advantage of instance labels to organize
8385 * and filter results based on label values.
8386 *
8387 * The Beta API also supports filtering on multiple expressions by providing
8388 * each separate expression within parentheses. For example,
8389 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
8390 * expressions are treated as AND expressions meaning that resources must match
8391 * all expressions to pass the filters.
8392 * @opt_param string maxResults The maximum number of results per page that
8393 * should be returned. If the number of available results is larger than
8394 * maxResults, Compute Engine returns a nextPageToken that can be used to get
8395 * the next page of results in subsequent list requests.
8396 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
8397 * the nextPageToken returned by a previous list request to get the next page of
8398 * results.
8399 * @return Google_Service_Compute_TargetHttpsProxyList
8400 */
8401 public function listTargetHttpsProxies($project, $optParams = array())
8402 {
8403 $params = array('project' => $project);
8404 $params = array_merge($params, $optParams);
8405 return $this->call('list', array($params), "Google_Service_Compute_TargetHttpsProxyList");
8406 }
8407
8408 /**
8409 * Replaces SslCertificates for TargetHttpsProxy.
8410 * (targetHttpsProxies.setSslCertificates)
8411 *
8412 * @param string $project Project ID for this request.
8413 * @param string $targetHttpsProxy Name of the TargetHttpsProxy resource to set
8414 * an SSL certificate for.
8415 * @param Google_TargetHttpsProxiesSetSslCertificatesRequest $postBody
8416 * @param array $optParams Optional parameters.
8417 * @return Google_Service_Compute_Operation
8418 */
8419 public function setSslCertificates($project, $targetHttpsProxy, Google_Service_Compute_TargetHttpsProxiesSetSslCertificatesRequest $postBody, $optParams = array())
8420 {
8421 $params = array('project' => $project, 'targetHttpsProxy' => $targetHttpsProxy, 'postBody' => $postBody);
8422 $params = array_merge($params, $optParams);
8423 return $this->call('setSslCertificates', array($params), "Google_Service_Compute_Operation");
8424 }
8425
8426 /**
8427 * Changes the URL map for TargetHttpsProxy. (targetHttpsProxies.setUrlMap)
8428 *
8429 * @param string $project Project ID for this request.
8430 * @param string $targetHttpsProxy Name of the TargetHttpsProxy resource whose
8431 * URL map is to be set.
8432 * @param Google_UrlMapReference $postBody
8433 * @param array $optParams Optional parameters.
8434 * @return Google_Service_Compute_Operation
8435 */
8436 public function setUrlMap($project, $targetHttpsProxy, Google_Service_Compute_UrlMapReference $postBody, $optParams = array())
8437 {
8438 $params = array('project' => $project, 'targetHttpsProxy' => $targetHttpsProxy, 'postBody' => $postBody);
8439 $params = array_merge($params, $optParams);
8440 return $this->call('setUrlMap', array($params), "Google_Service_Compute_Operation");
8441 }
8442 }
8443
8444 /**
8445 * The "targetInstances" collection of methods.
8446 * Typical usage is:
8447 * <code>
8448 * $computeService = new Google_Service_Compute(...);
8449 * $targetInstances = $computeService->targetInstances;
8450 * </code>
8451 */
8452 class Google_Service_Compute_TargetInstances_Resource extends Google_Service_Resource
8453 {
8454
8455 /**
8456 * Retrieves an aggregated list of target instances.
8457 * (targetInstances.aggregatedList)
8458 *
8459 * @param string $project Project ID for this request.
8460 * @param array $optParams Optional parameters.
8461 *
8462 * @opt_param string filter Sets a filter expression for filtering listed
8463 * resources, in the form filter={expression}. Your {expression} must be in the
8464 * format: field_name comparison_string literal_string.
8465 *
8466 * The field_name is the name of the field you want to compare. Only atomic
8467 * field types are supported (string, number, boolean). The comparison_string
8468 * must be either eq (equals) or ne (not equals). The literal_string is the
8469 * string value to filter to. The literal value must be valid for the type of
8470 * field you are filtering by (string, number, boolean). For string fields, the
8471 * literal value is interpreted as a regular expression using RE2 syntax. The
8472 * literal value must match the entire field.
8473 *
8474 * For example, to filter for instances whose name is not equal to example-
8475 * instance, you would use filter=name ne example-instance.
8476 *
8477 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
8478 * also filter on nested fields. For example, you could filter on instances that
8479 * have set the scheduling.automaticRestart field to true. In particular, use
8480 * filtering on nested fields to take advantage of instance labels to organize
8481 * and filter results based on label values.
8482 *
8483 * The Beta API also supports filtering on multiple expressions by providing
8484 * each separate expression within parentheses. For example,
8485 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
8486 * expressions are treated as AND expressions meaning that resources must match
8487 * all expressions to pass the filters.
8488 * @opt_param string maxResults The maximum number of results per page that
8489 * should be returned. If the number of available results is larger than
8490 * maxResults, Compute Engine returns a nextPageToken that can be used to get
8491 * the next page of results in subsequent list requests.
8492 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
8493 * the nextPageToken returned by a previous list request to get the next page of
8494 * results.
8495 * @return Google_Service_Compute_TargetInstanceAggregatedList
8496 */
8497 public function aggregatedList($project, $optParams = array())
8498 {
8499 $params = array('project' => $project);
8500 $params = array_merge($params, $optParams);
8501 return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetInstanceAggregatedList");
8502 }
8503
8504 /**
8505 * Deletes the specified TargetInstance resource. (targetInstances.delete)
8506 *
8507 * @param string $project Project ID for this request.
8508 * @param string $zone Name of the zone scoping this request.
8509 * @param string $targetInstance Name of the TargetInstance resource to delete.
8510 * @param array $optParams Optional parameters.
8511 * @return Google_Service_Compute_Operation
8512 */
8513 public function delete($project, $zone, $targetInstance, $optParams = array())
8514 {
8515 $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance);
8516 $params = array_merge($params, $optParams);
8517 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
8518 }
8519
8520 /**
8521 * Returns the specified TargetInstance resource. (targetInstances.get)
8522 *
8523 * @param string $project Project ID for this request.
8524 * @param string $zone Name of the zone scoping this request.
8525 * @param string $targetInstance Name of the TargetInstance resource to return.
8526 * @param array $optParams Optional parameters.
8527 * @return Google_Service_Compute_TargetInstance
8528 */
8529 public function get($project, $zone, $targetInstance, $optParams = array())
8530 {
8531 $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance);
8532 $params = array_merge($params, $optParams);
8533 return $this->call('get', array($params), "Google_Service_Compute_TargetInstance");
8534 }
8535
8536 /**
8537 * Creates a TargetInstance resource in the specified project and zone using the
8538 * data included in the request. (targetInstances.insert)
8539 *
8540 * @param string $project Project ID for this request.
8541 * @param string $zone Name of the zone scoping this request.
8542 * @param Google_TargetInstance $postBody
8543 * @param array $optParams Optional parameters.
8544 * @return Google_Service_Compute_Operation
8545 */
8546 public function insert($project, $zone, Google_Service_Compute_TargetInstance $postBody, $optParams = array())
8547 {
8548 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
8549 $params = array_merge($params, $optParams);
8550 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
8551 }
8552
8553 /**
8554 * Retrieves a list of TargetInstance resources available to the specified
8555 * project and zone. (targetInstances.listTargetInstances)
8556 *
8557 * @param string $project Project ID for this request.
8558 * @param string $zone Name of the zone scoping this request.
8559 * @param array $optParams Optional parameters.
8560 *
8561 * @opt_param string filter Sets a filter expression for filtering listed
8562 * resources, in the form filter={expression}. Your {expression} must be in the
8563 * format: field_name comparison_string literal_string.
8564 *
8565 * The field_name is the name of the field you want to compare. Only atomic
8566 * field types are supported (string, number, boolean). The comparison_string
8567 * must be either eq (equals) or ne (not equals). The literal_string is the
8568 * string value to filter to. The literal value must be valid for the type of
8569 * field you are filtering by (string, number, boolean). For string fields, the
8570 * literal value is interpreted as a regular expression using RE2 syntax. The
8571 * literal value must match the entire field.
8572 *
8573 * For example, to filter for instances whose name is not equal to example-
8574 * instance, you would use filter=name ne example-instance.
8575 *
8576 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
8577 * also filter on nested fields. For example, you could filter on instances that
8578 * have set the scheduling.automaticRestart field to true. In particular, use
8579 * filtering on nested fields to take advantage of instance labels to organize
8580 * and filter results based on label values.
8581 *
8582 * The Beta API also supports filtering on multiple expressions by providing
8583 * each separate expression within parentheses. For example,
8584 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
8585 * expressions are treated as AND expressions meaning that resources must match
8586 * all expressions to pass the filters.
8587 * @opt_param string maxResults The maximum number of results per page that
8588 * should be returned. If the number of available results is larger than
8589 * maxResults, Compute Engine returns a nextPageToken that can be used to get
8590 * the next page of results in subsequent list requests.
8591 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
8592 * the nextPageToken returned by a previous list request to get the next page of
8593 * results.
8594 * @return Google_Service_Compute_TargetInstanceList
8595 */
8596 public function listTargetInstances($project, $zone, $optParams = array())
8597 {
8598 $params = array('project' => $project, 'zone' => $zone);
8599 $params = array_merge($params, $optParams);
8600 return $this->call('list', array($params), "Google_Service_Compute_TargetInstanceList");
8601 }
8602 }
8603
8604 /**
8605 * The "targetPools" collection of methods.
8606 * Typical usage is:
8607 * <code>
8608 * $computeService = new Google_Service_Compute(...);
8609 * $targetPools = $computeService->targetPools;
8610 * </code>
8611 */
8612 class Google_Service_Compute_TargetPools_Resource extends Google_Service_Resource
8613 {
8614
8615 /**
8616 * Adds health check URLs to a target pool. (targetPools.addHealthCheck)
8617 *
8618 * @param string $project Project ID for this request.
8619 * @param string $region Name of the region scoping this request.
8620 * @param string $targetPool Name of the target pool to add a health check to.
8621 * @param Google_TargetPoolsAddHealthCheckRequest $postBody
8622 * @param array $optParams Optional parameters.
8623 * @return Google_Service_Compute_Operation
8624 */
8625 public function addHealthCheck($project, $region, $targetPool, Google_Service_Compute_TargetPoolsAddHealthCheckRequest $postBody, $optParams = array())
8626 {
8627 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
8628 $params = array_merge($params, $optParams);
8629 return $this->call('addHealthCheck', array($params), "Google_Service_Compute_Operation");
8630 }
8631
8632 /**
8633 * Adds an instance to a target pool. (targetPools.addInstance)
8634 *
8635 * @param string $project Project ID for this request.
8636 * @param string $region Name of the region scoping this request.
8637 * @param string $targetPool Name of the TargetPool resource to add instances
8638 * to.
8639 * @param Google_TargetPoolsAddInstanceRequest $postBody
8640 * @param array $optParams Optional parameters.
8641 * @return Google_Service_Compute_Operation
8642 */
8643 public function addInstance($project, $region, $targetPool, Google_Service_Compute_TargetPoolsAddInstanceRequest $postBody, $optParams = array())
8644 {
8645 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
8646 $params = array_merge($params, $optParams);
8647 return $this->call('addInstance', array($params), "Google_Service_Compute_Operation");
8648 }
8649
8650 /**
8651 * Retrieves an aggregated list of target pools. (targetPools.aggregatedList)
8652 *
8653 * @param string $project Project ID for this request.
8654 * @param array $optParams Optional parameters.
8655 *
8656 * @opt_param string filter Sets a filter expression for filtering listed
8657 * resources, in the form filter={expression}. Your {expression} must be in the
8658 * format: field_name comparison_string literal_string.
8659 *
8660 * The field_name is the name of the field you want to compare. Only atomic
8661 * field types are supported (string, number, boolean). The comparison_string
8662 * must be either eq (equals) or ne (not equals). The literal_string is the
8663 * string value to filter to. The literal value must be valid for the type of
8664 * field you are filtering by (string, number, boolean). For string fields, the
8665 * literal value is interpreted as a regular expression using RE2 syntax. The
8666 * literal value must match the entire field.
8667 *
8668 * For example, to filter for instances whose name is not equal to example-
8669 * instance, you would use filter=name ne example-instance.
8670 *
8671 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
8672 * also filter on nested fields. For example, you could filter on instances that
8673 * have set the scheduling.automaticRestart field to true. In particular, use
8674 * filtering on nested fields to take advantage of instance labels to organize
8675 * and filter results based on label values.
8676 *
8677 * The Beta API also supports filtering on multiple expressions by providing
8678 * each separate expression within parentheses. For example,
8679 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
8680 * expressions are treated as AND expressions meaning that resources must match
8681 * all expressions to pass the filters.
8682 * @opt_param string maxResults The maximum number of results per page that
8683 * should be returned. If the number of available results is larger than
8684 * maxResults, Compute Engine returns a nextPageToken that can be used to get
8685 * the next page of results in subsequent list requests.
8686 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
8687 * the nextPageToken returned by a previous list request to get the next page of
8688 * results.
8689 * @return Google_Service_Compute_TargetPoolAggregatedList
8690 */
8691 public function aggregatedList($project, $optParams = array())
8692 {
8693 $params = array('project' => $project);
8694 $params = array_merge($params, $optParams);
8695 return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetPoolAggregatedList");
8696 }
8697
8698 /**
8699 * Deletes the specified target pool. (targetPools.delete)
8700 *
8701 * @param string $project Project ID for this request.
8702 * @param string $region Name of the region scoping this request.
8703 * @param string $targetPool Name of the TargetPool resource to delete.
8704 * @param array $optParams Optional parameters.
8705 * @return Google_Service_Compute_Operation
8706 */
8707 public function delete($project, $region, $targetPool, $optParams = array())
8708 {
8709 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool);
8710 $params = array_merge($params, $optParams);
8711 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
8712 }
8713
8714 /**
8715 * Returns the specified target pool. (targetPools.get)
8716 *
8717 * @param string $project Project ID for this request.
8718 * @param string $region Name of the region scoping this request.
8719 * @param string $targetPool Name of the TargetPool resource to return.
8720 * @param array $optParams Optional parameters.
8721 * @return Google_Service_Compute_TargetPool
8722 */
8723 public function get($project, $region, $targetPool, $optParams = array())
8724 {
8725 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool);
8726 $params = array_merge($params, $optParams);
8727 return $this->call('get', array($params), "Google_Service_Compute_TargetPool");
8728 }
8729
8730 /**
8731 * Gets the most recent health check results for each IP for the instance that
8732 * is referenced by the given target pool. (targetPools.getHealth)
8733 *
8734 * @param string $project Project ID for this request.
8735 * @param string $region Name of the region scoping this request.
8736 * @param string $targetPool Name of the TargetPool resource to which the
8737 * queried instance belongs.
8738 * @param Google_InstanceReference $postBody
8739 * @param array $optParams Optional parameters.
8740 * @return Google_Service_Compute_TargetPoolInstanceHealth
8741 */
8742 public function getHealth($project, $region, $targetPool, Google_Service_Compute_InstanceReference $postBody, $optParams = array())
8743 {
8744 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
8745 $params = array_merge($params, $optParams);
8746 return $this->call('getHealth', array($params), "Google_Service_Compute_TargetPoolInstanceHealth");
8747 }
8748
8749 /**
8750 * Creates a target pool in the specified project and region using the data
8751 * included in the request. (targetPools.insert)
8752 *
8753 * @param string $project Project ID for this request.
8754 * @param string $region Name of the region scoping this request.
8755 * @param Google_TargetPool $postBody
8756 * @param array $optParams Optional parameters.
8757 * @return Google_Service_Compute_Operation
8758 */
8759 public function insert($project, $region, Google_Service_Compute_TargetPool $postBody, $optParams = array())
8760 {
8761 $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
8762 $params = array_merge($params, $optParams);
8763 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
8764 }
8765
8766 /**
8767 * Retrieves a list of target pools available to the specified project and
8768 * region. (targetPools.listTargetPools)
8769 *
8770 * @param string $project Project ID for this request.
8771 * @param string $region Name of the region scoping this request.
8772 * @param array $optParams Optional parameters.
8773 *
8774 * @opt_param string filter Sets a filter expression for filtering listed
8775 * resources, in the form filter={expression}. Your {expression} must be in the
8776 * format: field_name comparison_string literal_string.
8777 *
8778 * The field_name is the name of the field you want to compare. Only atomic
8779 * field types are supported (string, number, boolean). The comparison_string
8780 * must be either eq (equals) or ne (not equals). The literal_string is the
8781 * string value to filter to. The literal value must be valid for the type of
8782 * field you are filtering by (string, number, boolean). For string fields, the
8783 * literal value is interpreted as a regular expression using RE2 syntax. The
8784 * literal value must match the entire field.
8785 *
8786 * For example, to filter for instances whose name is not equal to example-
8787 * instance, you would use filter=name ne example-instance.
8788 *
8789 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
8790 * also filter on nested fields. For example, you could filter on instances that
8791 * have set the scheduling.automaticRestart field to true. In particular, use
8792 * filtering on nested fields to take advantage of instance labels to organize
8793 * and filter results based on label values.
8794 *
8795 * The Beta API also supports filtering on multiple expressions by providing
8796 * each separate expression within parentheses. For example,
8797 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
8798 * expressions are treated as AND expressions meaning that resources must match
8799 * all expressions to pass the filters.
8800 * @opt_param string maxResults The maximum number of results per page that
8801 * should be returned. If the number of available results is larger than
8802 * maxResults, Compute Engine returns a nextPageToken that can be used to get
8803 * the next page of results in subsequent list requests.
8804 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
8805 * the nextPageToken returned by a previous list request to get the next page of
8806 * results.
8807 * @return Google_Service_Compute_TargetPoolList
8808 */
8809 public function listTargetPools($project, $region, $optParams = array())
8810 {
8811 $params = array('project' => $project, 'region' => $region);
8812 $params = array_merge($params, $optParams);
8813 return $this->call('list', array($params), "Google_Service_Compute_TargetPoolList");
8814 }
8815
8816 /**
8817 * Removes health check URL from a target pool. (targetPools.removeHealthCheck)
8818 *
8819 * @param string $project Project ID for this request.
8820 * @param string $region Name of the region for this request.
8821 * @param string $targetPool Name of the target pool to remove health checks
8822 * from.
8823 * @param Google_TargetPoolsRemoveHealthCheckRequest $postBody
8824 * @param array $optParams Optional parameters.
8825 * @return Google_Service_Compute_Operation
8826 */
8827 public function removeHealthCheck($project, $region, $targetPool, Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest $postBody, $optParams = array())
8828 {
8829 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
8830 $params = array_merge($params, $optParams);
8831 return $this->call('removeHealthCheck', array($params), "Google_Service_Compute_Operation");
8832 }
8833
8834 /**
8835 * Removes instance URL from a target pool. (targetPools.removeInstance)
8836 *
8837 * @param string $project Project ID for this request.
8838 * @param string $region Name of the region scoping this request.
8839 * @param string $targetPool Name of the TargetPool resource to remove instances
8840 * from.
8841 * @param Google_TargetPoolsRemoveInstanceRequest $postBody
8842 * @param array $optParams Optional parameters.
8843 * @return Google_Service_Compute_Operation
8844 */
8845 public function removeInstance($project, $region, $targetPool, Google_Service_Compute_TargetPoolsRemoveInstanceRequest $postBody, $optParams = array())
8846 {
8847 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
8848 $params = array_merge($params, $optParams);
8849 return $this->call('removeInstance', array($params), "Google_Service_Compute_Operation");
8850 }
8851
8852 /**
8853 * Changes a backup target pool's configurations. (targetPools.setBackup)
8854 *
8855 * @param string $project Project ID for this request.
8856 * @param string $region Name of the region scoping this request.
8857 * @param string $targetPool Name of the TargetPool resource to set a backup
8858 * pool for.
8859 * @param Google_TargetReference $postBody
8860 * @param array $optParams Optional parameters.
8861 *
8862 * @opt_param float failoverRatio New failoverRatio value for the target pool.
8863 * @return Google_Service_Compute_Operation
8864 */
8865 public function setBackup($project, $region, $targetPool, Google_Service_Compute_TargetReference $postBody, $optParams = array())
8866 {
8867 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
8868 $params = array_merge($params, $optParams);
8869 return $this->call('setBackup', array($params), "Google_Service_Compute_Operation");
8870 }
8871 }
8872
8873 /**
8874 * The "targetVpnGateways" collection of methods.
8875 * Typical usage is:
8876 * <code>
8877 * $computeService = new Google_Service_Compute(...);
8878 * $targetVpnGateways = $computeService->targetVpnGateways;
8879 * </code>
8880 */
8881 class Google_Service_Compute_TargetVpnGateways_Resource extends Google_Service_Resource
8882 {
8883
8884 /**
8885 * Retrieves an aggregated list of target VPN gateways.
8886 * (targetVpnGateways.aggregatedList)
8887 *
8888 * @param string $project Project ID for this request.
8889 * @param array $optParams Optional parameters.
8890 *
8891 * @opt_param string filter Sets a filter expression for filtering listed
8892 * resources, in the form filter={expression}. Your {expression} must be in the
8893 * format: field_name comparison_string literal_string.
8894 *
8895 * The field_name is the name of the field you want to compare. Only atomic
8896 * field types are supported (string, number, boolean). The comparison_string
8897 * must be either eq (equals) or ne (not equals). The literal_string is the
8898 * string value to filter to. The literal value must be valid for the type of
8899 * field you are filtering by (string, number, boolean). For string fields, the
8900 * literal value is interpreted as a regular expression using RE2 syntax. The
8901 * literal value must match the entire field.
8902 *
8903 * For example, to filter for instances whose name is not equal to example-
8904 * instance, you would use filter=name ne example-instance.
8905 *
8906 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
8907 * also filter on nested fields. For example, you could filter on instances that
8908 * have set the scheduling.automaticRestart field to true. In particular, use
8909 * filtering on nested fields to take advantage of instance labels to organize
8910 * and filter results based on label values.
8911 *
8912 * The Beta API also supports filtering on multiple expressions by providing
8913 * each separate expression within parentheses. For example,
8914 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
8915 * expressions are treated as AND expressions meaning that resources must match
8916 * all expressions to pass the filters.
8917 * @opt_param string maxResults The maximum number of results per page that
8918 * should be returned. If the number of available results is larger than
8919 * maxResults, Compute Engine returns a nextPageToken that can be used to get
8920 * the next page of results in subsequent list requests.
8921 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
8922 * the nextPageToken returned by a previous list request to get the next page of
8923 * results.
8924 * @return Google_Service_Compute_TargetVpnGatewayAggregatedList
8925 */
8926 public function aggregatedList($project, $optParams = array())
8927 {
8928 $params = array('project' => $project);
8929 $params = array_merge($params, $optParams);
8930 return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetVpnGatewayAggregatedList");
8931 }
8932
8933 /**
8934 * Deletes the specified target VPN gateway. (targetVpnGateways.delete)
8935 *
8936 * @param string $project Project ID for this request.
8937 * @param string $region The name of the region for this request.
8938 * @param string $targetVpnGateway Name of the target VPN gateway to delete.
8939 * @param array $optParams Optional parameters.
8940 * @return Google_Service_Compute_Operation
8941 */
8942 public function delete($project, $region, $targetVpnGateway, $optParams = array())
8943 {
8944 $params = array('project' => $project, 'region' => $region, 'targetVpnGateway' => $targetVpnGateway);
8945 $params = array_merge($params, $optParams);
8946 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
8947 }
8948
8949 /**
8950 * Returns the specified target VPN gateway. (targetVpnGateways.get)
8951 *
8952 * @param string $project Project ID for this request.
8953 * @param string $region The name of the region for this request.
8954 * @param string $targetVpnGateway Name of the target VPN gateway to return.
8955 * @param array $optParams Optional parameters.
8956 * @return Google_Service_Compute_TargetVpnGateway
8957 */
8958 public function get($project, $region, $targetVpnGateway, $optParams = array())
8959 {
8960 $params = array('project' => $project, 'region' => $region, 'targetVpnGateway' => $targetVpnGateway);
8961 $params = array_merge($params, $optParams);
8962 return $this->call('get', array($params), "Google_Service_Compute_TargetVpnGateway");
8963 }
8964
8965 /**
8966 * Creates a target VPN gateway in the specified project and region using the
8967 * data included in the request. (targetVpnGateways.insert)
8968 *
8969 * @param string $project Project ID for this request.
8970 * @param string $region The name of the region for this request.
8971 * @param Google_TargetVpnGateway $postBody
8972 * @param array $optParams Optional parameters.
8973 * @return Google_Service_Compute_Operation
8974 */
8975 public function insert($project, $region, Google_Service_Compute_TargetVpnGateway $postBody, $optParams = array())
8976 {
8977 $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
8978 $params = array_merge($params, $optParams);
8979 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
8980 }
8981
8982 /**
8983 * Retrieves a list of target VPN gateways available to the specified project
8984 * and region. (targetVpnGateways.listTargetVpnGateways)
8985 *
8986 * @param string $project Project ID for this request.
8987 * @param string $region The name of the region for this request.
8988 * @param array $optParams Optional parameters.
8989 *
8990 * @opt_param string filter Sets a filter expression for filtering listed
8991 * resources, in the form filter={expression}. Your {expression} must be in the
8992 * format: field_name comparison_string literal_string.
8993 *
8994 * The field_name is the name of the field you want to compare. Only atomic
8995 * field types are supported (string, number, boolean). The comparison_string
8996 * must be either eq (equals) or ne (not equals). The literal_string is the
8997 * string value to filter to. The literal value must be valid for the type of
8998 * field you are filtering by (string, number, boolean). For string fields, the
8999 * literal value is interpreted as a regular expression using RE2 syntax. The
9000 * literal value must match the entire field.
9001 *
9002 * For example, to filter for instances whose name is not equal to example-
9003 * instance, you would use filter=name ne example-instance.
9004 *
9005 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
9006 * also filter on nested fields. For example, you could filter on instances that
9007 * have set the scheduling.automaticRestart field to true. In particular, use
9008 * filtering on nested fields to take advantage of instance labels to organize
9009 * and filter results based on label values.
9010 *
9011 * The Beta API also supports filtering on multiple expressions by providing
9012 * each separate expression within parentheses. For example,
9013 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
9014 * expressions are treated as AND expressions meaning that resources must match
9015 * all expressions to pass the filters.
9016 * @opt_param string maxResults The maximum number of results per page that
9017 * should be returned. If the number of available results is larger than
9018 * maxResults, Compute Engine returns a nextPageToken that can be used to get
9019 * the next page of results in subsequent list requests.
9020 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
9021 * the nextPageToken returned by a previous list request to get the next page of
9022 * results.
9023 * @return Google_Service_Compute_TargetVpnGatewayList
9024 */
9025 public function listTargetVpnGateways($project, $region, $optParams = array())
9026 {
9027 $params = array('project' => $project, 'region' => $region);
9028 $params = array_merge($params, $optParams);
9029 return $this->call('list', array($params), "Google_Service_Compute_TargetVpnGatewayList");
9030 }
9031 }
9032
9033 /**
9034 * The "urlMaps" collection of methods.
9035 * Typical usage is:
9036 * <code>
9037 * $computeService = new Google_Service_Compute(...);
9038 * $urlMaps = $computeService->urlMaps;
9039 * </code>
9040 */
9041 class Google_Service_Compute_UrlMaps_Resource extends Google_Service_Resource
9042 {
9043
9044 /**
9045 * Deletes the specified UrlMap resource. (urlMaps.delete)
9046 *
9047 * @param string $project Project ID for this request.
9048 * @param string $urlMap Name of the UrlMap resource to delete.
9049 * @param array $optParams Optional parameters.
9050 * @return Google_Service_Compute_Operation
9051 */
9052 public function delete($project, $urlMap, $optParams = array())
9053 {
9054 $params = array('project' => $project, 'urlMap' => $urlMap);
9055 $params = array_merge($params, $optParams);
9056 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
9057 }
9058
9059 /**
9060 * Returns the specified UrlMap resource. (urlMaps.get)
9061 *
9062 * @param string $project Project ID for this request.
9063 * @param string $urlMap Name of the UrlMap resource to return.
9064 * @param array $optParams Optional parameters.
9065 * @return Google_Service_Compute_UrlMap
9066 */
9067 public function get($project, $urlMap, $optParams = array())
9068 {
9069 $params = array('project' => $project, 'urlMap' => $urlMap);
9070 $params = array_merge($params, $optParams);
9071 return $this->call('get', array($params), "Google_Service_Compute_UrlMap");
9072 }
9073
9074 /**
9075 * Creates a UrlMap resource in the specified project using the data included in
9076 * the request. (urlMaps.insert)
9077 *
9078 * @param string $project Project ID for this request.
9079 * @param Google_UrlMap $postBody
9080 * @param array $optParams Optional parameters.
9081 * @return Google_Service_Compute_Operation
9082 */
9083 public function insert($project, Google_Service_Compute_UrlMap $postBody, $optParams = array())
9084 {
9085 $params = array('project' => $project, 'postBody' => $postBody);
9086 $params = array_merge($params, $optParams);
9087 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
9088 }
9089
9090 /**
9091 * Retrieves the list of UrlMap resources available to the specified project.
9092 * (urlMaps.listUrlMaps)
9093 *
9094 * @param string $project Project ID for this request.
9095 * @param array $optParams Optional parameters.
9096 *
9097 * @opt_param string filter Sets a filter expression for filtering listed
9098 * resources, in the form filter={expression}. Your {expression} must be in the
9099 * format: field_name comparison_string literal_string.
9100 *
9101 * The field_name is the name of the field you want to compare. Only atomic
9102 * field types are supported (string, number, boolean). The comparison_string
9103 * must be either eq (equals) or ne (not equals). The literal_string is the
9104 * string value to filter to. The literal value must be valid for the type of
9105 * field you are filtering by (string, number, boolean). For string fields, the
9106 * literal value is interpreted as a regular expression using RE2 syntax. The
9107 * literal value must match the entire field.
9108 *
9109 * For example, to filter for instances whose name is not equal to example-
9110 * instance, you would use filter=name ne example-instance.
9111 *
9112 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
9113 * also filter on nested fields. For example, you could filter on instances that
9114 * have set the scheduling.automaticRestart field to true. In particular, use
9115 * filtering on nested fields to take advantage of instance labels to organize
9116 * and filter results based on label values.
9117 *
9118 * The Beta API also supports filtering on multiple expressions by providing
9119 * each separate expression within parentheses. For example,
9120 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
9121 * expressions are treated as AND expressions meaning that resources must match
9122 * all expressions to pass the filters.
9123 * @opt_param string maxResults The maximum number of results per page that
9124 * should be returned. If the number of available results is larger than
9125 * maxResults, Compute Engine returns a nextPageToken that can be used to get
9126 * the next page of results in subsequent list requests.
9127 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
9128 * the nextPageToken returned by a previous list request to get the next page of
9129 * results.
9130 * @return Google_Service_Compute_UrlMapList
9131 */
9132 public function listUrlMaps($project, $optParams = array())
9133 {
9134 $params = array('project' => $project);
9135 $params = array_merge($params, $optParams);
9136 return $this->call('list', array($params), "Google_Service_Compute_UrlMapList");
9137 }
9138
9139 /**
9140 * Updates the entire content of the UrlMap resource. This method supports patch
9141 * semantics. (urlMaps.patch)
9142 *
9143 * @param string $project Project ID for this request.
9144 * @param string $urlMap Name of the UrlMap resource to update.
9145 * @param Google_UrlMap $postBody
9146 * @param array $optParams Optional parameters.
9147 * @return Google_Service_Compute_Operation
9148 */
9149 public function patch($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array())
9150 {
9151 $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);
9152 $params = array_merge($params, $optParams);
9153 return $this->call('patch', array($params), "Google_Service_Compute_Operation");
9154 }
9155
9156 /**
9157 * Updates the entire content of the UrlMap resource. (urlMaps.update)
9158 *
9159 * @param string $project Project ID for this request.
9160 * @param string $urlMap Name of the UrlMap resource to update.
9161 * @param Google_UrlMap $postBody
9162 * @param array $optParams Optional parameters.
9163 * @return Google_Service_Compute_Operation
9164 */
9165 public function update($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array())
9166 {
9167 $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);
9168 $params = array_merge($params, $optParams);
9169 return $this->call('update', array($params), "Google_Service_Compute_Operation");
9170 }
9171
9172 /**
9173 * Runs static validation for the UrlMap. In particular, the tests of the
9174 * provided UrlMap will be run. Calling this method does NOT create the UrlMap.
9175 * (urlMaps.validate)
9176 *
9177 * @param string $project Project ID for this request.
9178 * @param string $urlMap Name of the UrlMap resource to be validated as.
9179 * @param Google_UrlMapsValidateRequest $postBody
9180 * @param array $optParams Optional parameters.
9181 * @return Google_Service_Compute_UrlMapsValidateResponse
9182 */
9183 public function validate($project, $urlMap, Google_Service_Compute_UrlMapsValidateRequest $postBody, $optParams = array())
9184 {
9185 $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);
9186 $params = array_merge($params, $optParams);
9187 return $this->call('validate', array($params), "Google_Service_Compute_UrlMapsValidateResponse");
9188 }
9189 }
9190
9191 /**
9192 * The "vpnTunnels" collection of methods.
9193 * Typical usage is:
9194 * <code>
9195 * $computeService = new Google_Service_Compute(...);
9196 * $vpnTunnels = $computeService->vpnTunnels;
9197 * </code>
9198 */
9199 class Google_Service_Compute_VpnTunnels_Resource extends Google_Service_Resource
9200 {
9201
9202 /**
9203 * Retrieves an aggregated list of VPN tunnels. (vpnTunnels.aggregatedList)
9204 *
9205 * @param string $project Project ID for this request.
9206 * @param array $optParams Optional parameters.
9207 *
9208 * @opt_param string filter Sets a filter expression for filtering listed
9209 * resources, in the form filter={expression}. Your {expression} must be in the
9210 * format: field_name comparison_string literal_string.
9211 *
9212 * The field_name is the name of the field you want to compare. Only atomic
9213 * field types are supported (string, number, boolean). The comparison_string
9214 * must be either eq (equals) or ne (not equals). The literal_string is the
9215 * string value to filter to. The literal value must be valid for the type of
9216 * field you are filtering by (string, number, boolean). For string fields, the
9217 * literal value is interpreted as a regular expression using RE2 syntax. The
9218 * literal value must match the entire field.
9219 *
9220 * For example, to filter for instances whose name is not equal to example-
9221 * instance, you would use filter=name ne example-instance.
9222 *
9223 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
9224 * also filter on nested fields. For example, you could filter on instances that
9225 * have set the scheduling.automaticRestart field to true. In particular, use
9226 * filtering on nested fields to take advantage of instance labels to organize
9227 * and filter results based on label values.
9228 *
9229 * The Beta API also supports filtering on multiple expressions by providing
9230 * each separate expression within parentheses. For example,
9231 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
9232 * expressions are treated as AND expressions meaning that resources must match
9233 * all expressions to pass the filters.
9234 * @opt_param string maxResults The maximum number of results per page that
9235 * should be returned. If the number of available results is larger than
9236 * maxResults, Compute Engine returns a nextPageToken that can be used to get
9237 * the next page of results in subsequent list requests.
9238 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
9239 * the nextPageToken returned by a previous list request to get the next page of
9240 * results.
9241 * @return Google_Service_Compute_VpnTunnelAggregatedList
9242 */
9243 public function aggregatedList($project, $optParams = array())
9244 {
9245 $params = array('project' => $project);
9246 $params = array_merge($params, $optParams);
9247 return $this->call('aggregatedList', array($params), "Google_Service_Compute_VpnTunnelAggregatedList");
9248 }
9249
9250 /**
9251 * Deletes the specified VpnTunnel resource. (vpnTunnels.delete)
9252 *
9253 * @param string $project Project ID for this request.
9254 * @param string $region The name of the region for this request.
9255 * @param string $vpnTunnel Name of the VpnTunnel resource to delete.
9256 * @param array $optParams Optional parameters.
9257 * @return Google_Service_Compute_Operation
9258 */
9259 public function delete($project, $region, $vpnTunnel, $optParams = array())
9260 {
9261 $params = array('project' => $project, 'region' => $region, 'vpnTunnel' => $vpnTunnel);
9262 $params = array_merge($params, $optParams);
9263 return $this->call('delete', array($params), "Google_Service_Compute_Operation");
9264 }
9265
9266 /**
9267 * Returns the specified VpnTunnel resource. (vpnTunnels.get)
9268 *
9269 * @param string $project Project ID for this request.
9270 * @param string $region The name of the region for this request.
9271 * @param string $vpnTunnel Name of the VpnTunnel resource to return.
9272 * @param array $optParams Optional parameters.
9273 * @return Google_Service_Compute_VpnTunnel
9274 */
9275 public function get($project, $region, $vpnTunnel, $optParams = array())
9276 {
9277 $params = array('project' => $project, 'region' => $region, 'vpnTunnel' => $vpnTunnel);
9278 $params = array_merge($params, $optParams);
9279 return $this->call('get', array($params), "Google_Service_Compute_VpnTunnel");
9280 }
9281
9282 /**
9283 * Creates a VpnTunnel resource in the specified project and region using the
9284 * data included in the request. (vpnTunnels.insert)
9285 *
9286 * @param string $project Project ID for this request.
9287 * @param string $region The name of the region for this request.
9288 * @param Google_VpnTunnel $postBody
9289 * @param array $optParams Optional parameters.
9290 * @return Google_Service_Compute_Operation
9291 */
9292 public function insert($project, $region, Google_Service_Compute_VpnTunnel $postBody, $optParams = array())
9293 {
9294 $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
9295 $params = array_merge($params, $optParams);
9296 return $this->call('insert', array($params), "Google_Service_Compute_Operation");
9297 }
9298
9299 /**
9300 * Retrieves a list of VpnTunnel resources contained in the specified project
9301 * and region. (vpnTunnels.listVpnTunnels)
9302 *
9303 * @param string $project Project ID for this request.
9304 * @param string $region The name of the region for this request.
9305 * @param array $optParams Optional parameters.
9306 *
9307 * @opt_param string filter Sets a filter expression for filtering listed
9308 * resources, in the form filter={expression}. Your {expression} must be in the
9309 * format: field_name comparison_string literal_string.
9310 *
9311 * The field_name is the name of the field you want to compare. Only atomic
9312 * field types are supported (string, number, boolean). The comparison_string
9313 * must be either eq (equals) or ne (not equals). The literal_string is the
9314 * string value to filter to. The literal value must be valid for the type of
9315 * field you are filtering by (string, number, boolean). For string fields, the
9316 * literal value is interpreted as a regular expression using RE2 syntax. The
9317 * literal value must match the entire field.
9318 *
9319 * For example, to filter for instances whose name is not equal to example-
9320 * instance, you would use filter=name ne example-instance.
9321 *
9322 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
9323 * also filter on nested fields. For example, you could filter on instances that
9324 * have set the scheduling.automaticRestart field to true. In particular, use
9325 * filtering on nested fields to take advantage of instance labels to organize
9326 * and filter results based on label values.
9327 *
9328 * The Beta API also supports filtering on multiple expressions by providing
9329 * each separate expression within parentheses. For example,
9330 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
9331 * expressions are treated as AND expressions meaning that resources must match
9332 * all expressions to pass the filters.
9333 * @opt_param string maxResults The maximum number of results per page that
9334 * should be returned. If the number of available results is larger than
9335 * maxResults, Compute Engine returns a nextPageToken that can be used to get
9336 * the next page of results in subsequent list requests.
9337 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
9338 * the nextPageToken returned by a previous list request to get the next page of
9339 * results.
9340 * @return Google_Service_Compute_VpnTunnelList
9341 */
9342 public function listVpnTunnels($project, $region, $optParams = array())
9343 {
9344 $params = array('project' => $project, 'region' => $region);
9345 $params = array_merge($params, $optParams);
9346 return $this->call('list', array($params), "Google_Service_Compute_VpnTunnelList");
9347 }
9348 }
9349
9350 /**
9351 * The "zoneOperations" collection of methods.
9352 * Typical usage is:
9353 * <code>
9354 * $computeService = new Google_Service_Compute(...);
9355 * $zoneOperations = $computeService->zoneOperations;
9356 * </code>
9357 */
9358 class Google_Service_Compute_ZoneOperations_Resource extends Google_Service_Resource
9359 {
9360
9361 /**
9362 * Deletes the specified zone-specific Operations resource.
9363 * (zoneOperations.delete)
9364 *
9365 * @param string $project Project ID for this request.
9366 * @param string $zone Name of the zone for this request.
9367 * @param string $operation Name of the Operations resource to delete.
9368 * @param array $optParams Optional parameters.
9369 */
9370 public function delete($project, $zone, $operation, $optParams = array())
9371 {
9372 $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
9373 $params = array_merge($params, $optParams);
9374 return $this->call('delete', array($params));
9375 }
9376
9377 /**
9378 * Retrieves the specified zone-specific Operations resource.
9379 * (zoneOperations.get)
9380 *
9381 * @param string $project Project ID for this request.
9382 * @param string $zone Name of the zone for this request.
9383 * @param string $operation Name of the Operations resource to return.
9384 * @param array $optParams Optional parameters.
9385 * @return Google_Service_Compute_Operation
9386 */
9387 public function get($project, $zone, $operation, $optParams = array())
9388 {
9389 $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
9390 $params = array_merge($params, $optParams);
9391 return $this->call('get', array($params), "Google_Service_Compute_Operation");
9392 }
9393
9394 /**
9395 * Retrieves a list of Operation resources contained within the specified zone.
9396 * (zoneOperations.listZoneOperations)
9397 *
9398 * @param string $project Project ID for this request.
9399 * @param string $zone Name of the zone for request.
9400 * @param array $optParams Optional parameters.
9401 *
9402 * @opt_param string filter Sets a filter expression for filtering listed
9403 * resources, in the form filter={expression}. Your {expression} must be in the
9404 * format: field_name comparison_string literal_string.
9405 *
9406 * The field_name is the name of the field you want to compare. Only atomic
9407 * field types are supported (string, number, boolean). The comparison_string
9408 * must be either eq (equals) or ne (not equals). The literal_string is the
9409 * string value to filter to. The literal value must be valid for the type of
9410 * field you are filtering by (string, number, boolean). For string fields, the
9411 * literal value is interpreted as a regular expression using RE2 syntax. The
9412 * literal value must match the entire field.
9413 *
9414 * For example, to filter for instances whose name is not equal to example-
9415 * instance, you would use filter=name ne example-instance.
9416 *
9417 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
9418 * also filter on nested fields. For example, you could filter on instances that
9419 * have set the scheduling.automaticRestart field to true. In particular, use
9420 * filtering on nested fields to take advantage of instance labels to organize
9421 * and filter results based on label values.
9422 *
9423 * The Beta API also supports filtering on multiple expressions by providing
9424 * each separate expression within parentheses. For example,
9425 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
9426 * expressions are treated as AND expressions meaning that resources must match
9427 * all expressions to pass the filters.
9428 * @opt_param string maxResults The maximum number of results per page that
9429 * should be returned. If the number of available results is larger than
9430 * maxResults, Compute Engine returns a nextPageToken that can be used to get
9431 * the next page of results in subsequent list requests.
9432 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
9433 * the nextPageToken returned by a previous list request to get the next page of
9434 * results.
9435 * @return Google_Service_Compute_OperationList
9436 */
9437 public function listZoneOperations($project, $zone, $optParams = array())
9438 {
9439 $params = array('project' => $project, 'zone' => $zone);
9440 $params = array_merge($params, $optParams);
9441 return $this->call('list', array($params), "Google_Service_Compute_OperationList");
9442 }
9443 }
9444
9445 /**
9446 * The "zones" collection of methods.
9447 * Typical usage is:
9448 * <code>
9449 * $computeService = new Google_Service_Compute(...);
9450 * $zones = $computeService->zones;
9451 * </code>
9452 */
9453 class Google_Service_Compute_Zones_Resource extends Google_Service_Resource
9454 {
9455
9456 /**
9457 * Returns the specified zone resource. (zones.get)
9458 *
9459 * @param string $project Project ID for this request.
9460 * @param string $zone Name of the zone resource to return.
9461 * @param array $optParams Optional parameters.
9462 * @return Google_Service_Compute_Zone
9463 */
9464 public function get($project, $zone, $optParams = array())
9465 {
9466 $params = array('project' => $project, 'zone' => $zone);
9467 $params = array_merge($params, $optParams);
9468 return $this->call('get', array($params), "Google_Service_Compute_Zone");
9469 }
9470
9471 /**
9472 * Retrieves the list of zone resources available to the specified project.
9473 * (zones.listZones)
9474 *
9475 * @param string $project Project ID for this request.
9476 * @param array $optParams Optional parameters.
9477 *
9478 * @opt_param string filter Sets a filter expression for filtering listed
9479 * resources, in the form filter={expression}. Your {expression} must be in the
9480 * format: field_name comparison_string literal_string.
9481 *
9482 * The field_name is the name of the field you want to compare. Only atomic
9483 * field types are supported (string, number, boolean). The comparison_string
9484 * must be either eq (equals) or ne (not equals). The literal_string is the
9485 * string value to filter to. The literal value must be valid for the type of
9486 * field you are filtering by (string, number, boolean). For string fields, the
9487 * literal value is interpreted as a regular expression using RE2 syntax. The
9488 * literal value must match the entire field.
9489 *
9490 * For example, to filter for instances whose name is not equal to example-
9491 * instance, you would use filter=name ne example-instance.
9492 *
9493 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
9494 * also filter on nested fields. For example, you could filter on instances that
9495 * have set the scheduling.automaticRestart field to true. In particular, use
9496 * filtering on nested fields to take advantage of instance labels to organize
9497 * and filter results based on label values.
9498 *
9499 * The Beta API also supports filtering on multiple expressions by providing
9500 * each separate expression within parentheses. For example,
9501 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
9502 * expressions are treated as AND expressions meaning that resources must match
9503 * all expressions to pass the filters.
9504 * @opt_param string maxResults The maximum number of results per page that
9505 * should be returned. If the number of available results is larger than
9506 * maxResults, Compute Engine returns a nextPageToken that can be used to get
9507 * the next page of results in subsequent list requests.
9508 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
9509 * the nextPageToken returned by a previous list request to get the next page of
9510 * results.
9511 * @return Google_Service_Compute_ZoneList
9512 */
9513 public function listZones($project, $optParams = array())
9514 {
9515 $params = array('project' => $project);
9516 $params = array_merge($params, $optParams);
9517 return $this->call('list', array($params), "Google_Service_Compute_ZoneList");
9518 }
9519 }
9520
9521
9522
9523
9524 class Google_Service_Compute_AccessConfig extends Google_Model
9525 {
9526 protected $internal_gapi_mappings = array(
9527 );
9528 public $kind;
9529 public $name;
9530 public $natIP;
9531 public $type;
9532
9533
9534 public function setKind($kind)
9535 {
9536 $this->kind = $kind;
9537 }
9538 public function getKind()
9539 {
9540 return $this->kind;
9541 }
9542 public function setName($name)
9543 {
9544 $this->name = $name;
9545 }
9546 public function getName()
9547 {
9548 return $this->name;
9549 }
9550 public function setNatIP($natIP)
9551 {
9552 $this->natIP = $natIP;
9553 }
9554 public function getNatIP()
9555 {
9556 return $this->natIP;
9557 }
9558 public function setType($type)
9559 {
9560 $this->type = $type;
9561 }
9562 public function getType()
9563 {
9564 return $this->type;
9565 }
9566 }
9567
9568 class Google_Service_Compute_Address extends Google_Collection
9569 {
9570 protected $collection_key = 'users';
9571 protected $internal_gapi_mappings = array(
9572 );
9573 public $address;
9574 public $creationTimestamp;
9575 public $description;
9576 public $id;
9577 public $kind;
9578 public $name;
9579 public $region;
9580 public $selfLink;
9581 public $status;
9582 public $users;
9583
9584
9585 public function setAddress($address)
9586 {
9587 $this->address = $address;
9588 }
9589 public function getAddress()
9590 {
9591 return $this->address;
9592 }
9593 public function setCreationTimestamp($creationTimestamp)
9594 {
9595 $this->creationTimestamp = $creationTimestamp;
9596 }
9597 public function getCreationTimestamp()
9598 {
9599 return $this->creationTimestamp;
9600 }
9601 public function setDescription($description)
9602 {
9603 $this->description = $description;
9604 }
9605 public function getDescription()
9606 {
9607 return $this->description;
9608 }
9609 public function setId($id)
9610 {
9611 $this->id = $id;
9612 }
9613 public function getId()
9614 {
9615 return $this->id;
9616 }
9617 public function setKind($kind)
9618 {
9619 $this->kind = $kind;
9620 }
9621 public function getKind()
9622 {
9623 return $this->kind;
9624 }
9625 public function setName($name)
9626 {
9627 $this->name = $name;
9628 }
9629 public function getName()
9630 {
9631 return $this->name;
9632 }
9633 public function setRegion($region)
9634 {
9635 $this->region = $region;
9636 }
9637 public function getRegion()
9638 {
9639 return $this->region;
9640 }
9641 public function setSelfLink($selfLink)
9642 {
9643 $this->selfLink = $selfLink;
9644 }
9645 public function getSelfLink()
9646 {
9647 return $this->selfLink;
9648 }
9649 public function setStatus($status)
9650 {
9651 $this->status = $status;
9652 }
9653 public function getStatus()
9654 {
9655 return $this->status;
9656 }
9657 public function setUsers($users)
9658 {
9659 $this->users = $users;
9660 }
9661 public function getUsers()
9662 {
9663 return $this->users;
9664 }
9665 }
9666
9667 class Google_Service_Compute_AddressAggregatedList extends Google_Model
9668 {
9669 protected $internal_gapi_mappings = array(
9670 );
9671 public $id;
9672 protected $itemsType = 'Google_Service_Compute_AddressesScopedList';
9673 protected $itemsDataType = 'map';
9674 public $kind;
9675 public $nextPageToken;
9676 public $selfLink;
9677
9678
9679 public function setId($id)
9680 {
9681 $this->id = $id;
9682 }
9683 public function getId()
9684 {
9685 return $this->id;
9686 }
9687 public function setItems($items)
9688 {
9689 $this->items = $items;
9690 }
9691 public function getItems()
9692 {
9693 return $this->items;
9694 }
9695 public function setKind($kind)
9696 {
9697 $this->kind = $kind;
9698 }
9699 public function getKind()
9700 {
9701 return $this->kind;
9702 }
9703 public function setNextPageToken($nextPageToken)
9704 {
9705 $this->nextPageToken = $nextPageToken;
9706 }
9707 public function getNextPageToken()
9708 {
9709 return $this->nextPageToken;
9710 }
9711 public function setSelfLink($selfLink)
9712 {
9713 $this->selfLink = $selfLink;
9714 }
9715 public function getSelfLink()
9716 {
9717 return $this->selfLink;
9718 }
9719 }
9720
9721 class Google_Service_Compute_AddressList extends Google_Collection
9722 {
9723 protected $collection_key = 'items';
9724 protected $internal_gapi_mappings = array(
9725 );
9726 public $id;
9727 protected $itemsType = 'Google_Service_Compute_Address';
9728 protected $itemsDataType = 'array';
9729 public $kind;
9730 public $nextPageToken;
9731 public $selfLink;
9732
9733
9734 public function setId($id)
9735 {
9736 $this->id = $id;
9737 }
9738 public function getId()
9739 {
9740 return $this->id;
9741 }
9742 public function setItems($items)
9743 {
9744 $this->items = $items;
9745 }
9746 public function getItems()
9747 {
9748 return $this->items;
9749 }
9750 public function setKind($kind)
9751 {
9752 $this->kind = $kind;
9753 }
9754 public function getKind()
9755 {
9756 return $this->kind;
9757 }
9758 public function setNextPageToken($nextPageToken)
9759 {
9760 $this->nextPageToken = $nextPageToken;
9761 }
9762 public function getNextPageToken()
9763 {
9764 return $this->nextPageToken;
9765 }
9766 public function setSelfLink($selfLink)
9767 {
9768 $this->selfLink = $selfLink;
9769 }
9770 public function getSelfLink()
9771 {
9772 return $this->selfLink;
9773 }
9774 }
9775
9776 class Google_Service_Compute_AddressesScopedList extends Google_Collection
9777 {
9778 protected $collection_key = 'addresses';
9779 protected $internal_gapi_mappings = array(
9780 );
9781 protected $addressesType = 'Google_Service_Compute_Address';
9782 protected $addressesDataType = 'array';
9783 protected $warningType = 'Google_Service_Compute_AddressesScopedListWarning';
9784 protected $warningDataType = '';
9785
9786
9787 public function setAddresses($addresses)
9788 {
9789 $this->addresses = $addresses;
9790 }
9791 public function getAddresses()
9792 {
9793 return $this->addresses;
9794 }
9795 public function setWarning(Google_Service_Compute_AddressesScopedListWarning $warning)
9796 {
9797 $this->warning = $warning;
9798 }
9799 public function getWarning()
9800 {
9801 return $this->warning;
9802 }
9803 }
9804
9805 class Google_Service_Compute_AddressesScopedListWarning extends Google_Collection
9806 {
9807 protected $collection_key = 'data';
9808 protected $internal_gapi_mappings = array(
9809 );
9810 public $code;
9811 protected $dataType = 'Google_Service_Compute_AddressesScopedListWarningData';
9812 protected $dataDataType = 'array';
9813 public $message;
9814
9815
9816 public function setCode($code)
9817 {
9818 $this->code = $code;
9819 }
9820 public function getCode()
9821 {
9822 return $this->code;
9823 }
9824 public function setData($data)
9825 {
9826 $this->data = $data;
9827 }
9828 public function getData()
9829 {
9830 return $this->data;
9831 }
9832 public function setMessage($message)
9833 {
9834 $this->message = $message;
9835 }
9836 public function getMessage()
9837 {
9838 return $this->message;
9839 }
9840 }
9841
9842 class Google_Service_Compute_AddressesScopedListWarningData extends Google_Model
9843 {
9844 protected $internal_gapi_mappings = array(
9845 );
9846 public $key;
9847 public $value;
9848
9849
9850 public function setKey($key)
9851 {
9852 $this->key = $key;
9853 }
9854 public function getKey()
9855 {
9856 return $this->key;
9857 }
9858 public function setValue($value)
9859 {
9860 $this->value = $value;
9861 }
9862 public function getValue()
9863 {
9864 return $this->value;
9865 }
9866 }
9867
9868 class Google_Service_Compute_AttachedDisk extends Google_Collection
9869 {
9870 protected $collection_key = 'licenses';
9871 protected $internal_gapi_mappings = array(
9872 );
9873 public $autoDelete;
9874 public $boot;
9875 public $deviceName;
9876 public $index;
9877 protected $initializeParamsType = 'Google_Service_Compute_AttachedDiskInitializeParams';
9878 protected $initializeParamsDataType = '';
9879 public $interface;
9880 public $kind;
9881 public $licenses;
9882 public $mode;
9883 public $source;
9884 public $type;
9885
9886
9887 public function setAutoDelete($autoDelete)
9888 {
9889 $this->autoDelete = $autoDelete;
9890 }
9891 public function getAutoDelete()
9892 {
9893 return $this->autoDelete;
9894 }
9895 public function setBoot($boot)
9896 {
9897 $this->boot = $boot;
9898 }
9899 public function getBoot()
9900 {
9901 return $this->boot;
9902 }
9903 public function setDeviceName($deviceName)
9904 {
9905 $this->deviceName = $deviceName;
9906 }
9907 public function getDeviceName()
9908 {
9909 return $this->deviceName;
9910 }
9911 public function setIndex($index)
9912 {
9913 $this->index = $index;
9914 }
9915 public function getIndex()
9916 {
9917 return $this->index;
9918 }
9919 public function setInitializeParams(Google_Service_Compute_AttachedDiskInitializeParams $initializeParams)
9920 {
9921 $this->initializeParams = $initializeParams;
9922 }
9923 public function getInitializeParams()
9924 {
9925 return $this->initializeParams;
9926 }
9927 public function setInterface($interface)
9928 {
9929 $this->interface = $interface;
9930 }
9931 public function getInterface()
9932 {
9933 return $this->interface;
9934 }
9935 public function setKind($kind)
9936 {
9937 $this->kind = $kind;
9938 }
9939 public function getKind()
9940 {
9941 return $this->kind;
9942 }
9943 public function setLicenses($licenses)
9944 {
9945 $this->licenses = $licenses;
9946 }
9947 public function getLicenses()
9948 {
9949 return $this->licenses;
9950 }
9951 public function setMode($mode)
9952 {
9953 $this->mode = $mode;
9954 }
9955 public function getMode()
9956 {
9957 return $this->mode;
9958 }
9959 public function setSource($source)
9960 {
9961 $this->source = $source;
9962 }
9963 public function getSource()
9964 {
9965 return $this->source;
9966 }
9967 public function setType($type)
9968 {
9969 $this->type = $type;
9970 }
9971 public function getType()
9972 {
9973 return $this->type;
9974 }
9975 }
9976
9977 class Google_Service_Compute_AttachedDiskInitializeParams extends Google_Model
9978 {
9979 protected $internal_gapi_mappings = array(
9980 );
9981 public $diskName;
9982 public $diskSizeGb;
9983 public $diskType;
9984 public $sourceImage;
9985
9986
9987 public function setDiskName($diskName)
9988 {
9989 $this->diskName = $diskName;
9990 }
9991 public function getDiskName()
9992 {
9993 return $this->diskName;
9994 }
9995 public function setDiskSizeGb($diskSizeGb)
9996 {
9997 $this->diskSizeGb = $diskSizeGb;
9998 }
9999 public function getDiskSizeGb()
10000 {
10001 return $this->diskSizeGb;
10002 }
10003 public function setDiskType($diskType)
10004 {
10005 $this->diskType = $diskType;
10006 }
10007 public function getDiskType()
10008 {
10009 return $this->diskType;
10010 }
10011 public function setSourceImage($sourceImage)
10012 {
10013 $this->sourceImage = $sourceImage;
10014 }
10015 public function getSourceImage()
10016 {
10017 return $this->sourceImage;
10018 }
10019 }
10020
10021 class Google_Service_Compute_Autoscaler extends Google_Model
10022 {
10023 protected $internal_gapi_mappings = array(
10024 );
10025 protected $autoscalingPolicyType = 'Google_Service_Compute_AutoscalingPolicy';
10026 protected $autoscalingPolicyDataType = '';
10027 public $creationTimestamp;
10028 public $description;
10029 public $id;
10030 public $kind;
10031 public $name;
10032 public $selfLink;
10033 public $target;
10034 public $zone;
10035
10036
10037 public function setAutoscalingPolicy(Google_Service_Compute_AutoscalingPolicy $autoscalingPolicy)
10038 {
10039 $this->autoscalingPolicy = $autoscalingPolicy;
10040 }
10041 public function getAutoscalingPolicy()
10042 {
10043 return $this->autoscalingPolicy;
10044 }
10045 public function setCreationTimestamp($creationTimestamp)
10046 {
10047 $this->creationTimestamp = $creationTimestamp;
10048 }
10049 public function getCreationTimestamp()
10050 {
10051 return $this->creationTimestamp;
10052 }
10053 public function setDescription($description)
10054 {
10055 $this->description = $description;
10056 }
10057 public function getDescription()
10058 {
10059 return $this->description;
10060 }
10061 public function setId($id)
10062 {
10063 $this->id = $id;
10064 }
10065 public function getId()
10066 {
10067 return $this->id;
10068 }
10069 public function setKind($kind)
10070 {
10071 $this->kind = $kind;
10072 }
10073 public function getKind()
10074 {
10075 return $this->kind;
10076 }
10077 public function setName($name)
10078 {
10079 $this->name = $name;
10080 }
10081 public function getName()
10082 {
10083 return $this->name;
10084 }
10085 public function setSelfLink($selfLink)
10086 {
10087 $this->selfLink = $selfLink;
10088 }
10089 public function getSelfLink()
10090 {
10091 return $this->selfLink;
10092 }
10093 public function setTarget($target)
10094 {
10095 $this->target = $target;
10096 }
10097 public function getTarget()
10098 {
10099 return $this->target;
10100 }
10101 public function setZone($zone)
10102 {
10103 $this->zone = $zone;
10104 }
10105 public function getZone()
10106 {
10107 return $this->zone;
10108 }
10109 }
10110
10111 class Google_Service_Compute_AutoscalerAggregatedList extends Google_Model
10112 {
10113 protected $internal_gapi_mappings = array(
10114 );
10115 public $id;
10116 protected $itemsType = 'Google_Service_Compute_AutoscalersScopedList';
10117 protected $itemsDataType = 'map';
10118 public $kind;
10119 public $nextPageToken;
10120 public $selfLink;
10121
10122
10123 public function setId($id)
10124 {
10125 $this->id = $id;
10126 }
10127 public function getId()
10128 {
10129 return $this->id;
10130 }
10131 public function setItems($items)
10132 {
10133 $this->items = $items;
10134 }
10135 public function getItems()
10136 {
10137 return $this->items;
10138 }
10139 public function setKind($kind)
10140 {
10141 $this->kind = $kind;
10142 }
10143 public function getKind()
10144 {
10145 return $this->kind;
10146 }
10147 public function setNextPageToken($nextPageToken)
10148 {
10149 $this->nextPageToken = $nextPageToken;
10150 }
10151 public function getNextPageToken()
10152 {
10153 return $this->nextPageToken;
10154 }
10155 public function setSelfLink($selfLink)
10156 {
10157 $this->selfLink = $selfLink;
10158 }
10159 public function getSelfLink()
10160 {
10161 return $this->selfLink;
10162 }
10163 }
10164
10165 class Google_Service_Compute_AutoscalerList extends Google_Collection
10166 {
10167 protected $collection_key = 'items';
10168 protected $internal_gapi_mappings = array(
10169 );
10170 public $id;
10171 protected $itemsType = 'Google_Service_Compute_Autoscaler';
10172 protected $itemsDataType = 'array';
10173 public $kind;
10174 public $nextPageToken;
10175 public $selfLink;
10176
10177
10178 public function setId($id)
10179 {
10180 $this->id = $id;
10181 }
10182 public function getId()
10183 {
10184 return $this->id;
10185 }
10186 public function setItems($items)
10187 {
10188 $this->items = $items;
10189 }
10190 public function getItems()
10191 {
10192 return $this->items;
10193 }
10194 public function setKind($kind)
10195 {
10196 $this->kind = $kind;
10197 }
10198 public function getKind()
10199 {
10200 return $this->kind;
10201 }
10202 public function setNextPageToken($nextPageToken)
10203 {
10204 $this->nextPageToken = $nextPageToken;
10205 }
10206 public function getNextPageToken()
10207 {
10208 return $this->nextPageToken;
10209 }
10210 public function setSelfLink($selfLink)
10211 {
10212 $this->selfLink = $selfLink;
10213 }
10214 public function getSelfLink()
10215 {
10216 return $this->selfLink;
10217 }
10218 }
10219
10220 class Google_Service_Compute_AutoscalersScopedList extends Google_Collection
10221 {
10222 protected $collection_key = 'autoscalers';
10223 protected $internal_gapi_mappings = array(
10224 );
10225 protected $autoscalersType = 'Google_Service_Compute_Autoscaler';
10226 protected $autoscalersDataType = 'array';
10227 protected $warningType = 'Google_Service_Compute_AutoscalersScopedListWarning';
10228 protected $warningDataType = '';
10229
10230
10231 public function setAutoscalers($autoscalers)
10232 {
10233 $this->autoscalers = $autoscalers;
10234 }
10235 public function getAutoscalers()
10236 {
10237 return $this->autoscalers;
10238 }
10239 public function setWarning(Google_Service_Compute_AutoscalersScopedListWarning $warning)
10240 {
10241 $this->warning = $warning;
10242 }
10243 public function getWarning()
10244 {
10245 return $this->warning;
10246 }
10247 }
10248
10249 class Google_Service_Compute_AutoscalersScopedListWarning extends Google_Collection
10250 {
10251 protected $collection_key = 'data';
10252 protected $internal_gapi_mappings = array(
10253 );
10254 public $code;
10255 protected $dataType = 'Google_Service_Compute_AutoscalersScopedListWarningData';
10256 protected $dataDataType = 'array';
10257 public $message;
10258
10259
10260 public function setCode($code)
10261 {
10262 $this->code = $code;
10263 }
10264 public function getCode()
10265 {
10266 return $this->code;
10267 }
10268 public function setData($data)
10269 {
10270 $this->data = $data;
10271 }
10272 public function getData()
10273 {
10274 return $this->data;
10275 }
10276 public function setMessage($message)
10277 {
10278 $this->message = $message;
10279 }
10280 public function getMessage()
10281 {
10282 return $this->message;
10283 }
10284 }
10285
10286 class Google_Service_Compute_AutoscalersScopedListWarningData extends Google_Model
10287 {
10288 protected $internal_gapi_mappings = array(
10289 );
10290 public $key;
10291 public $value;
10292
10293
10294 public function setKey($key)
10295 {
10296 $this->key = $key;
10297 }
10298 public function getKey()
10299 {
10300 return $this->key;
10301 }
10302 public function setValue($value)
10303 {
10304 $this->value = $value;
10305 }
10306 public function getValue()
10307 {
10308 return $this->value;
10309 }
10310 }
10311
10312 class Google_Service_Compute_AutoscalingPolicy extends Google_Collection
10313 {
10314 protected $collection_key = 'customMetricUtilizations';
10315 protected $internal_gapi_mappings = array(
10316 );
10317 public $coolDownPeriodSec;
10318 protected $cpuUtilizationType = 'Google_Service_Compute_AutoscalingPolicyCpuUtilization';
10319 protected $cpuUtilizationDataType = '';
10320 protected $customMetricUtilizationsType = 'Google_Service_Compute_AutoscalingPolicyCustomMetricUtilization';
10321 protected $customMetricUtilizationsDataType = 'array';
10322 protected $loadBalancingUtilizationType = 'Google_Service_Compute_AutoscalingPolicyLoadBalancingUtilization';
10323 protected $loadBalancingUtilizationDataType = '';
10324 public $maxNumReplicas;
10325 public $minNumReplicas;
10326
10327
10328 public function setCoolDownPeriodSec($coolDownPeriodSec)
10329 {
10330 $this->coolDownPeriodSec = $coolDownPeriodSec;
10331 }
10332 public function getCoolDownPeriodSec()
10333 {
10334 return $this->coolDownPeriodSec;
10335 }
10336 public function setCpuUtilization(Google_Service_Compute_AutoscalingPolicyCpuUtilization $cpuUtilization)
10337 {
10338 $this->cpuUtilization = $cpuUtilization;
10339 }
10340 public function getCpuUtilization()
10341 {
10342 return $this->cpuUtilization;
10343 }
10344 public function setCustomMetricUtilizations($customMetricUtilizations)
10345 {
10346 $this->customMetricUtilizations = $customMetricUtilizations;
10347 }
10348 public function getCustomMetricUtilizations()
10349 {
10350 return $this->customMetricUtilizations;
10351 }
10352 public function setLoadBalancingUtilization(Google_Service_Compute_AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization)
10353 {
10354 $this->loadBalancingUtilization = $loadBalancingUtilization;
10355 }
10356 public function getLoadBalancingUtilization()
10357 {
10358 return $this->loadBalancingUtilization;
10359 }
10360 public function setMaxNumReplicas($maxNumReplicas)
10361 {
10362 $this->maxNumReplicas = $maxNumReplicas;
10363 }
10364 public function getMaxNumReplicas()
10365 {
10366 return $this->maxNumReplicas;
10367 }
10368 public function setMinNumReplicas($minNumReplicas)
10369 {
10370 $this->minNumReplicas = $minNumReplicas;
10371 }
10372 public function getMinNumReplicas()
10373 {
10374 return $this->minNumReplicas;
10375 }
10376 }
10377
10378 class Google_Service_Compute_AutoscalingPolicyCpuUtilization extends Google_Model
10379 {
10380 protected $internal_gapi_mappings = array(
10381 );
10382 public $utilizationTarget;
10383
10384
10385 public function setUtilizationTarget($utilizationTarget)
10386 {
10387 $this->utilizationTarget = $utilizationTarget;
10388 }
10389 public function getUtilizationTarget()
10390 {
10391 return $this->utilizationTarget;
10392 }
10393 }
10394
10395 class Google_Service_Compute_AutoscalingPolicyCustomMetricUtilization extends Google_Model
10396 {
10397 protected $internal_gapi_mappings = array(
10398 );
10399 public $metric;
10400 public $utilizationTarget;
10401 public $utilizationTargetType;
10402
10403
10404 public function setMetric($metric)
10405 {
10406 $this->metric = $metric;
10407 }
10408 public function getMetric()
10409 {
10410 return $this->metric;
10411 }
10412 public function setUtilizationTarget($utilizationTarget)
10413 {
10414 $this->utilizationTarget = $utilizationTarget;
10415 }
10416 public function getUtilizationTarget()
10417 {
10418 return $this->utilizationTarget;
10419 }
10420 public function setUtilizationTargetType($utilizationTargetType)
10421 {
10422 $this->utilizationTargetType = $utilizationTargetType;
10423 }
10424 public function getUtilizationTargetType()
10425 {
10426 return $this->utilizationTargetType;
10427 }
10428 }
10429
10430 class Google_Service_Compute_AutoscalingPolicyLoadBalancingUtilization extends Google_Model
10431 {
10432 protected $internal_gapi_mappings = array(
10433 );
10434 public $utilizationTarget;
10435
10436
10437 public function setUtilizationTarget($utilizationTarget)
10438 {
10439 $this->utilizationTarget = $utilizationTarget;
10440 }
10441 public function getUtilizationTarget()
10442 {
10443 return $this->utilizationTarget;
10444 }
10445 }
10446
10447 class Google_Service_Compute_Backend extends Google_Model
10448 {
10449 protected $internal_gapi_mappings = array(
10450 );
10451 public $balancingMode;
10452 public $capacityScaler;
10453 public $description;
10454 public $group;
10455 public $maxRate;
10456 public $maxRatePerInstance;
10457 public $maxUtilization;
10458
10459
10460 public function setBalancingMode($balancingMode)
10461 {
10462 $this->balancingMode = $balancingMode;
10463 }
10464 public function getBalancingMode()
10465 {
10466 return $this->balancingMode;
10467 }
10468 public function setCapacityScaler($capacityScaler)
10469 {
10470 $this->capacityScaler = $capacityScaler;
10471 }
10472 public function getCapacityScaler()
10473 {
10474 return $this->capacityScaler;
10475 }
10476 public function setDescription($description)
10477 {
10478 $this->description = $description;
10479 }
10480 public function getDescription()
10481 {
10482 return $this->description;
10483 }
10484 public function setGroup($group)
10485 {
10486 $this->group = $group;
10487 }
10488 public function getGroup()
10489 {
10490 return $this->group;
10491 }
10492 public function setMaxRate($maxRate)
10493 {
10494 $this->maxRate = $maxRate;
10495 }
10496 public function getMaxRate()
10497 {
10498 return $this->maxRate;
10499 }
10500 public function setMaxRatePerInstance($maxRatePerInstance)
10501 {
10502 $this->maxRatePerInstance = $maxRatePerInstance;
10503 }
10504 public function getMaxRatePerInstance()
10505 {
10506 return $this->maxRatePerInstance;
10507 }
10508 public function setMaxUtilization($maxUtilization)
10509 {
10510 $this->maxUtilization = $maxUtilization;
10511 }
10512 public function getMaxUtilization()
10513 {
10514 return $this->maxUtilization;
10515 }
10516 }
10517
10518 class Google_Service_Compute_BackendService extends Google_Collection
10519 {
10520 protected $collection_key = 'healthChecks';
10521 protected $internal_gapi_mappings = array(
10522 );
10523 protected $backendsType = 'Google_Service_Compute_Backend';
10524 protected $backendsDataType = 'array';
10525 public $creationTimestamp;
10526 public $description;
10527 public $fingerprint;
10528 public $healthChecks;
10529 public $id;
10530 public $kind;
10531 public $name;
10532 public $port;
10533 public $portName;
10534 public $protocol;
10535 public $selfLink;
10536 public $timeoutSec;
10537
10538
10539 public function setBackends($backends)
10540 {
10541 $this->backends = $backends;
10542 }
10543 public function getBackends()
10544 {
10545 return $this->backends;
10546 }
10547 public function setCreationTimestamp($creationTimestamp)
10548 {
10549 $this->creationTimestamp = $creationTimestamp;
10550 }
10551 public function getCreationTimestamp()
10552 {
10553 return $this->creationTimestamp;
10554 }
10555 public function setDescription($description)
10556 {
10557 $this->description = $description;
10558 }
10559 public function getDescription()
10560 {
10561 return $this->description;
10562 }
10563 public function setFingerprint($fingerprint)
10564 {
10565 $this->fingerprint = $fingerprint;
10566 }
10567 public function getFingerprint()
10568 {
10569 return $this->fingerprint;
10570 }
10571 public function setHealthChecks($healthChecks)
10572 {
10573 $this->healthChecks = $healthChecks;
10574 }
10575 public function getHealthChecks()
10576 {
10577 return $this->healthChecks;
10578 }
10579 public function setId($id)
10580 {
10581 $this->id = $id;
10582 }
10583 public function getId()
10584 {
10585 return $this->id;
10586 }
10587 public function setKind($kind)
10588 {
10589 $this->kind = $kind;
10590 }
10591 public function getKind()
10592 {
10593 return $this->kind;
10594 }
10595 public function setName($name)
10596 {
10597 $this->name = $name;
10598 }
10599 public function getName()
10600 {
10601 return $this->name;
10602 }
10603 public function setPort($port)
10604 {
10605 $this->port = $port;
10606 }
10607 public function getPort()
10608 {
10609 return $this->port;
10610 }
10611 public function setPortName($portName)
10612 {
10613 $this->portName = $portName;
10614 }
10615 public function getPortName()
10616 {
10617 return $this->portName;
10618 }
10619 public function setProtocol($protocol)
10620 {
10621 $this->protocol = $protocol;
10622 }
10623 public function getProtocol()
10624 {
10625 return $this->protocol;
10626 }
10627 public function setSelfLink($selfLink)
10628 {
10629 $this->selfLink = $selfLink;
10630 }
10631 public function getSelfLink()
10632 {
10633 return $this->selfLink;
10634 }
10635 public function setTimeoutSec($timeoutSec)
10636 {
10637 $this->timeoutSec = $timeoutSec;
10638 }
10639 public function getTimeoutSec()
10640 {
10641 return $this->timeoutSec;
10642 }
10643 }
10644
10645 class Google_Service_Compute_BackendServiceGroupHealth extends Google_Collection
10646 {
10647 protected $collection_key = 'healthStatus';
10648 protected $internal_gapi_mappings = array(
10649 );
10650 protected $healthStatusType = 'Google_Service_Compute_HealthStatus';
10651 protected $healthStatusDataType = 'array';
10652 public $kind;
10653
10654
10655 public function setHealthStatus($healthStatus)
10656 {
10657 $this->healthStatus = $healthStatus;
10658 }
10659 public function getHealthStatus()
10660 {
10661 return $this->healthStatus;
10662 }
10663 public function setKind($kind)
10664 {
10665 $this->kind = $kind;
10666 }
10667 public function getKind()
10668 {
10669 return $this->kind;
10670 }
10671 }
10672
10673 class Google_Service_Compute_BackendServiceList extends Google_Collection
10674 {
10675 protected $collection_key = 'items';
10676 protected $internal_gapi_mappings = array(
10677 );
10678 public $id;
10679 protected $itemsType = 'Google_Service_Compute_BackendService';
10680 protected $itemsDataType = 'array';
10681 public $kind;
10682 public $nextPageToken;
10683 public $selfLink;
10684
10685
10686 public function setId($id)
10687 {
10688 $this->id = $id;
10689 }
10690 public function getId()
10691 {
10692 return $this->id;
10693 }
10694 public function setItems($items)
10695 {
10696 $this->items = $items;
10697 }
10698 public function getItems()
10699 {
10700 return $this->items;
10701 }
10702 public function setKind($kind)
10703 {
10704 $this->kind = $kind;
10705 }
10706 public function getKind()
10707 {
10708 return $this->kind;
10709 }
10710 public function setNextPageToken($nextPageToken)
10711 {
10712 $this->nextPageToken = $nextPageToken;
10713 }
10714 public function getNextPageToken()
10715 {
10716 return $this->nextPageToken;
10717 }
10718 public function setSelfLink($selfLink)
10719 {
10720 $this->selfLink = $selfLink;
10721 }
10722 public function getSelfLink()
10723 {
10724 return $this->selfLink;
10725 }
10726 }
10727
10728 class Google_Service_Compute_DeprecationStatus extends Google_Model
10729 {
10730 protected $internal_gapi_mappings = array(
10731 );
10732 public $deleted;
10733 public $deprecated;
10734 public $obsolete;
10735 public $replacement;
10736 public $state;
10737
10738
10739 public function setDeleted($deleted)
10740 {
10741 $this->deleted = $deleted;
10742 }
10743 public function getDeleted()
10744 {
10745 return $this->deleted;
10746 }
10747 public function setDeprecated($deprecated)
10748 {
10749 $this->deprecated = $deprecated;
10750 }
10751 public function getDeprecated()
10752 {
10753 return $this->deprecated;
10754 }
10755 public function setObsolete($obsolete)
10756 {
10757 $this->obsolete = $obsolete;
10758 }
10759 public function getObsolete()
10760 {
10761 return $this->obsolete;
10762 }
10763 public function setReplacement($replacement)
10764 {
10765 $this->replacement = $replacement;
10766 }
10767 public function getReplacement()
10768 {
10769 return $this->replacement;
10770 }
10771 public function setState($state)
10772 {
10773 $this->state = $state;
10774 }
10775 public function getState()
10776 {
10777 return $this->state;
10778 }
10779 }
10780
10781 class Google_Service_Compute_Disk extends Google_Collection
10782 {
10783 protected $collection_key = 'users';
10784 protected $internal_gapi_mappings = array(
10785 );
10786 public $creationTimestamp;
10787 public $description;
10788 public $id;
10789 public $kind;
10790 public $lastAttachTimestamp;
10791 public $lastDetachTimestamp;
10792 public $licenses;
10793 public $name;
10794 public $options;
10795 public $selfLink;
10796 public $sizeGb;
10797 public $sourceImage;
10798 public $sourceImageId;
10799 public $sourceSnapshot;
10800 public $sourceSnapshotId;
10801 public $status;
10802 public $type;
10803 public $users;
10804 public $zone;
10805
10806
10807 public function setCreationTimestamp($creationTimestamp)
10808 {
10809 $this->creationTimestamp = $creationTimestamp;
10810 }
10811 public function getCreationTimestamp()
10812 {
10813 return $this->creationTimestamp;
10814 }
10815 public function setDescription($description)
10816 {
10817 $this->description = $description;
10818 }
10819 public function getDescription()
10820 {
10821 return $this->description;
10822 }
10823 public function setId($id)
10824 {
10825 $this->id = $id;
10826 }
10827 public function getId()
10828 {
10829 return $this->id;
10830 }
10831 public function setKind($kind)
10832 {
10833 $this->kind = $kind;
10834 }
10835 public function getKind()
10836 {
10837 return $this->kind;
10838 }
10839 public function setLastAttachTimestamp($lastAttachTimestamp)
10840 {
10841 $this->lastAttachTimestamp = $lastAttachTimestamp;
10842 }
10843 public function getLastAttachTimestamp()
10844 {
10845 return $this->lastAttachTimestamp;
10846 }
10847 public function setLastDetachTimestamp($lastDetachTimestamp)
10848 {
10849 $this->lastDetachTimestamp = $lastDetachTimestamp;
10850 }
10851 public function getLastDetachTimestamp()
10852 {
10853 return $this->lastDetachTimestamp;
10854 }
10855 public function setLicenses($licenses)
10856 {
10857 $this->licenses = $licenses;
10858 }
10859 public function getLicenses()
10860 {
10861 return $this->licenses;
10862 }
10863 public function setName($name)
10864 {
10865 $this->name = $name;
10866 }
10867 public function getName()
10868 {
10869 return $this->name;
10870 }
10871 public function setOptions($options)
10872 {
10873 $this->options = $options;
10874 }
10875 public function getOptions()
10876 {
10877 return $this->options;
10878 }
10879 public function setSelfLink($selfLink)
10880 {
10881 $this->selfLink = $selfLink;
10882 }
10883 public function getSelfLink()
10884 {
10885 return $this->selfLink;
10886 }
10887 public function setSizeGb($sizeGb)
10888 {
10889 $this->sizeGb = $sizeGb;
10890 }
10891 public function getSizeGb()
10892 {
10893 return $this->sizeGb;
10894 }
10895 public function setSourceImage($sourceImage)
10896 {
10897 $this->sourceImage = $sourceImage;
10898 }
10899 public function getSourceImage()
10900 {
10901 return $this->sourceImage;
10902 }
10903 public function setSourceImageId($sourceImageId)
10904 {
10905 $this->sourceImageId = $sourceImageId;
10906 }
10907 public function getSourceImageId()
10908 {
10909 return $this->sourceImageId;
10910 }
10911 public function setSourceSnapshot($sourceSnapshot)
10912 {
10913 $this->sourceSnapshot = $sourceSnapshot;
10914 }
10915 public function getSourceSnapshot()
10916 {
10917 return $this->sourceSnapshot;
10918 }
10919 public function setSourceSnapshotId($sourceSnapshotId)
10920 {
10921 $this->sourceSnapshotId = $sourceSnapshotId;
10922 }
10923 public function getSourceSnapshotId()
10924 {
10925 return $this->sourceSnapshotId;
10926 }
10927 public function setStatus($status)
10928 {
10929 $this->status = $status;
10930 }
10931 public function getStatus()
10932 {
10933 return $this->status;
10934 }
10935 public function setType($type)
10936 {
10937 $this->type = $type;
10938 }
10939 public function getType()
10940 {
10941 return $this->type;
10942 }
10943 public function setUsers($users)
10944 {
10945 $this->users = $users;
10946 }
10947 public function getUsers()
10948 {
10949 return $this->users;
10950 }
10951 public function setZone($zone)
10952 {
10953 $this->zone = $zone;
10954 }
10955 public function getZone()
10956 {
10957 return $this->zone;
10958 }
10959 }
10960
10961 class Google_Service_Compute_DiskAggregatedList extends Google_Model
10962 {
10963 protected $internal_gapi_mappings = array(
10964 );
10965 public $id;
10966 protected $itemsType = 'Google_Service_Compute_DisksScopedList';
10967 protected $itemsDataType = 'map';
10968 public $kind;
10969 public $nextPageToken;
10970 public $selfLink;
10971
10972
10973 public function setId($id)
10974 {
10975 $this->id = $id;
10976 }
10977 public function getId()
10978 {
10979 return $this->id;
10980 }
10981 public function setItems($items)
10982 {
10983 $this->items = $items;
10984 }
10985 public function getItems()
10986 {
10987 return $this->items;
10988 }
10989 public function setKind($kind)
10990 {
10991 $this->kind = $kind;
10992 }
10993 public function getKind()
10994 {
10995 return $this->kind;
10996 }
10997 public function setNextPageToken($nextPageToken)
10998 {
10999 $this->nextPageToken = $nextPageToken;
11000 }
11001 public function getNextPageToken()
11002 {
11003 return $this->nextPageToken;
11004 }
11005 public function setSelfLink($selfLink)
11006 {
11007 $this->selfLink = $selfLink;
11008 }
11009 public function getSelfLink()
11010 {
11011 return $this->selfLink;
11012 }
11013 }
11014
11015 class Google_Service_Compute_DiskList extends Google_Collection
11016 {
11017 protected $collection_key = 'items';
11018 protected $internal_gapi_mappings = array(
11019 );
11020 public $id;
11021 protected $itemsType = 'Google_Service_Compute_Disk';
11022 protected $itemsDataType = 'array';
11023 public $kind;
11024 public $nextPageToken;
11025 public $selfLink;
11026
11027
11028 public function setId($id)
11029 {
11030 $this->id = $id;
11031 }
11032 public function getId()
11033 {
11034 return $this->id;
11035 }
11036 public function setItems($items)
11037 {
11038 $this->items = $items;
11039 }
11040 public function getItems()
11041 {
11042 return $this->items;
11043 }
11044 public function setKind($kind)
11045 {
11046 $this->kind = $kind;
11047 }
11048 public function getKind()
11049 {
11050 return $this->kind;
11051 }
11052 public function setNextPageToken($nextPageToken)
11053 {
11054 $this->nextPageToken = $nextPageToken;
11055 }
11056 public function getNextPageToken()
11057 {
11058 return $this->nextPageToken;
11059 }
11060 public function setSelfLink($selfLink)
11061 {
11062 $this->selfLink = $selfLink;
11063 }
11064 public function getSelfLink()
11065 {
11066 return $this->selfLink;
11067 }
11068 }
11069
11070 class Google_Service_Compute_DiskMoveRequest extends Google_Model
11071 {
11072 protected $internal_gapi_mappings = array(
11073 );
11074 public $destinationZone;
11075 public $targetDisk;
11076
11077
11078 public function setDestinationZone($destinationZone)
11079 {
11080 $this->destinationZone = $destinationZone;
11081 }
11082 public function getDestinationZone()
11083 {
11084 return $this->destinationZone;
11085 }
11086 public function setTargetDisk($targetDisk)
11087 {
11088 $this->targetDisk = $targetDisk;
11089 }
11090 public function getTargetDisk()
11091 {
11092 return $this->targetDisk;
11093 }
11094 }
11095
11096 class Google_Service_Compute_DiskType extends Google_Model
11097 {
11098 protected $internal_gapi_mappings = array(
11099 );
11100 public $creationTimestamp;
11101 public $defaultDiskSizeGb;
11102 protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
11103 protected $deprecatedDataType = '';
11104 public $description;
11105 public $id;
11106 public $kind;
11107 public $name;
11108 public $selfLink;
11109 public $validDiskSize;
11110 public $zone;
11111
11112
11113 public function setCreationTimestamp($creationTimestamp)
11114 {
11115 $this->creationTimestamp = $creationTimestamp;
11116 }
11117 public function getCreationTimestamp()
11118 {
11119 return $this->creationTimestamp;
11120 }
11121 public function setDefaultDiskSizeGb($defaultDiskSizeGb)
11122 {
11123 $this->defaultDiskSizeGb = $defaultDiskSizeGb;
11124 }
11125 public function getDefaultDiskSizeGb()
11126 {
11127 return $this->defaultDiskSizeGb;
11128 }
11129 public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
11130 {
11131 $this->deprecated = $deprecated;
11132 }
11133 public function getDeprecated()
11134 {
11135 return $this->deprecated;
11136 }
11137 public function setDescription($description)
11138 {
11139 $this->description = $description;
11140 }
11141 public function getDescription()
11142 {
11143 return $this->description;
11144 }
11145 public function setId($id)
11146 {
11147 $this->id = $id;
11148 }
11149 public function getId()
11150 {
11151 return $this->id;
11152 }
11153 public function setKind($kind)
11154 {
11155 $this->kind = $kind;
11156 }
11157 public function getKind()
11158 {
11159 return $this->kind;
11160 }
11161 public function setName($name)
11162 {
11163 $this->name = $name;
11164 }
11165 public function getName()
11166 {
11167 return $this->name;
11168 }
11169 public function setSelfLink($selfLink)
11170 {
11171 $this->selfLink = $selfLink;
11172 }
11173 public function getSelfLink()
11174 {
11175 return $this->selfLink;
11176 }
11177 public function setValidDiskSize($validDiskSize)
11178 {
11179 $this->validDiskSize = $validDiskSize;
11180 }
11181 public function getValidDiskSize()
11182 {
11183 return $this->validDiskSize;
11184 }
11185 public function setZone($zone)
11186 {
11187 $this->zone = $zone;
11188 }
11189 public function getZone()
11190 {
11191 return $this->zone;
11192 }
11193 }
11194
11195 class Google_Service_Compute_DiskTypeAggregatedList extends Google_Model
11196 {
11197 protected $internal_gapi_mappings = array(
11198 );
11199 public $id;
11200 protected $itemsType = 'Google_Service_Compute_DiskTypesScopedList';
11201 protected $itemsDataType = 'map';
11202 public $kind;
11203 public $nextPageToken;
11204 public $selfLink;
11205
11206
11207 public function setId($id)
11208 {
11209 $this->id = $id;
11210 }
11211 public function getId()
11212 {
11213 return $this->id;
11214 }
11215 public function setItems($items)
11216 {
11217 $this->items = $items;
11218 }
11219 public function getItems()
11220 {
11221 return $this->items;
11222 }
11223 public function setKind($kind)
11224 {
11225 $this->kind = $kind;
11226 }
11227 public function getKind()
11228 {
11229 return $this->kind;
11230 }
11231 public function setNextPageToken($nextPageToken)
11232 {
11233 $this->nextPageToken = $nextPageToken;
11234 }
11235 public function getNextPageToken()
11236 {
11237 return $this->nextPageToken;
11238 }
11239 public function setSelfLink($selfLink)
11240 {
11241 $this->selfLink = $selfLink;
11242 }
11243 public function getSelfLink()
11244 {
11245 return $this->selfLink;
11246 }
11247 }
11248
11249 class Google_Service_Compute_DiskTypeList extends Google_Collection
11250 {
11251 protected $collection_key = 'items';
11252 protected $internal_gapi_mappings = array(
11253 );
11254 public $id;
11255 protected $itemsType = 'Google_Service_Compute_DiskType';
11256 protected $itemsDataType = 'array';
11257 public $kind;
11258 public $nextPageToken;
11259 public $selfLink;
11260
11261
11262 public function setId($id)
11263 {
11264 $this->id = $id;
11265 }
11266 public function getId()
11267 {
11268 return $this->id;
11269 }
11270 public function setItems($items)
11271 {
11272 $this->items = $items;
11273 }
11274 public function getItems()
11275 {
11276 return $this->items;
11277 }
11278 public function setKind($kind)
11279 {
11280 $this->kind = $kind;
11281 }
11282 public function getKind()
11283 {
11284 return $this->kind;
11285 }
11286 public function setNextPageToken($nextPageToken)
11287 {
11288 $this->nextPageToken = $nextPageToken;
11289 }
11290 public function getNextPageToken()
11291 {
11292 return $this->nextPageToken;
11293 }
11294 public function setSelfLink($selfLink)
11295 {
11296 $this->selfLink = $selfLink;
11297 }
11298 public function getSelfLink()
11299 {
11300 return $this->selfLink;
11301 }
11302 }
11303
11304 class Google_Service_Compute_DiskTypesScopedList extends Google_Collection
11305 {
11306 protected $collection_key = 'diskTypes';
11307 protected $internal_gapi_mappings = array(
11308 );
11309 protected $diskTypesType = 'Google_Service_Compute_DiskType';
11310 protected $diskTypesDataType = 'array';
11311 protected $warningType = 'Google_Service_Compute_DiskTypesScopedListWarning';
11312 protected $warningDataType = '';
11313
11314
11315 public function setDiskTypes($diskTypes)
11316 {
11317 $this->diskTypes = $diskTypes;
11318 }
11319 public function getDiskTypes()
11320 {
11321 return $this->diskTypes;
11322 }
11323 public function setWarning(Google_Service_Compute_DiskTypesScopedListWarning $warning)
11324 {
11325 $this->warning = $warning;
11326 }
11327 public function getWarning()
11328 {
11329 return $this->warning;
11330 }
11331 }
11332
11333 class Google_Service_Compute_DiskTypesScopedListWarning extends Google_Collection
11334 {
11335 protected $collection_key = 'data';
11336 protected $internal_gapi_mappings = array(
11337 );
11338 public $code;
11339 protected $dataType = 'Google_Service_Compute_DiskTypesScopedListWarningData';
11340 protected $dataDataType = 'array';
11341 public $message;
11342
11343
11344 public function setCode($code)
11345 {
11346 $this->code = $code;
11347 }
11348 public function getCode()
11349 {
11350 return $this->code;
11351 }
11352 public function setData($data)
11353 {
11354 $this->data = $data;
11355 }
11356 public function getData()
11357 {
11358 return $this->data;
11359 }
11360 public function setMessage($message)
11361 {
11362 $this->message = $message;
11363 }
11364 public function getMessage()
11365 {
11366 return $this->message;
11367 }
11368 }
11369
11370 class Google_Service_Compute_DiskTypesScopedListWarningData extends Google_Model
11371 {
11372 protected $internal_gapi_mappings = array(
11373 );
11374 public $key;
11375 public $value;
11376
11377
11378 public function setKey($key)
11379 {
11380 $this->key = $key;
11381 }
11382 public function getKey()
11383 {
11384 return $this->key;
11385 }
11386 public function setValue($value)
11387 {
11388 $this->value = $value;
11389 }
11390 public function getValue()
11391 {
11392 return $this->value;
11393 }
11394 }
11395
11396 class Google_Service_Compute_DisksScopedList extends Google_Collection
11397 {
11398 protected $collection_key = 'disks';
11399 protected $internal_gapi_mappings = array(
11400 );
11401 protected $disksType = 'Google_Service_Compute_Disk';
11402 protected $disksDataType = 'array';
11403 protected $warningType = 'Google_Service_Compute_DisksScopedListWarning';
11404 protected $warningDataType = '';
11405
11406
11407 public function setDisks($disks)
11408 {
11409 $this->disks = $disks;
11410 }
11411 public function getDisks()
11412 {
11413 return $this->disks;
11414 }
11415 public function setWarning(Google_Service_Compute_DisksScopedListWarning $warning)
11416 {
11417 $this->warning = $warning;
11418 }
11419 public function getWarning()
11420 {
11421 return $this->warning;
11422 }
11423 }
11424
11425 class Google_Service_Compute_DisksScopedListWarning extends Google_Collection
11426 {
11427 protected $collection_key = 'data';
11428 protected $internal_gapi_mappings = array(
11429 );
11430 public $code;
11431 protected $dataType = 'Google_Service_Compute_DisksScopedListWarningData';
11432 protected $dataDataType = 'array';
11433 public $message;
11434
11435
11436 public function setCode($code)
11437 {
11438 $this->code = $code;
11439 }
11440 public function getCode()
11441 {
11442 return $this->code;
11443 }
11444 public function setData($data)
11445 {
11446 $this->data = $data;
11447 }
11448 public function getData()
11449 {
11450 return $this->data;
11451 }
11452 public function setMessage($message)
11453 {
11454 $this->message = $message;
11455 }
11456 public function getMessage()
11457 {
11458 return $this->message;
11459 }
11460 }
11461
11462 class Google_Service_Compute_DisksScopedListWarningData extends Google_Model
11463 {
11464 protected $internal_gapi_mappings = array(
11465 );
11466 public $key;
11467 public $value;
11468
11469
11470 public function setKey($key)
11471 {
11472 $this->key = $key;
11473 }
11474 public function getKey()
11475 {
11476 return $this->key;
11477 }
11478 public function setValue($value)
11479 {
11480 $this->value = $value;
11481 }
11482 public function getValue()
11483 {
11484 return $this->value;
11485 }
11486 }
11487
11488 class Google_Service_Compute_Firewall extends Google_Collection
11489 {
11490 protected $collection_key = 'targetTags';
11491 protected $internal_gapi_mappings = array(
11492 );
11493 protected $allowedType = 'Google_Service_Compute_FirewallAllowed';
11494 protected $allowedDataType = 'array';
11495 public $creationTimestamp;
11496 public $description;
11497 public $id;
11498 public $kind;
11499 public $name;
11500 public $network;
11501 public $selfLink;
11502 public $sourceRanges;
11503 public $sourceTags;
11504 public $targetTags;
11505
11506
11507 public function setAllowed($allowed)
11508 {
11509 $this->allowed = $allowed;
11510 }
11511 public function getAllowed()
11512 {
11513 return $this->allowed;
11514 }
11515 public function setCreationTimestamp($creationTimestamp)
11516 {
11517 $this->creationTimestamp = $creationTimestamp;
11518 }
11519 public function getCreationTimestamp()
11520 {
11521 return $this->creationTimestamp;
11522 }
11523 public function setDescription($description)
11524 {
11525 $this->description = $description;
11526 }
11527 public function getDescription()
11528 {
11529 return $this->description;
11530 }
11531 public function setId($id)
11532 {
11533 $this->id = $id;
11534 }
11535 public function getId()
11536 {
11537 return $this->id;
11538 }
11539 public function setKind($kind)
11540 {
11541 $this->kind = $kind;
11542 }
11543 public function getKind()
11544 {
11545 return $this->kind;
11546 }
11547 public function setName($name)
11548 {
11549 $this->name = $name;
11550 }
11551 public function getName()
11552 {
11553 return $this->name;
11554 }
11555 public function setNetwork($network)
11556 {
11557 $this->network = $network;
11558 }
11559 public function getNetwork()
11560 {
11561 return $this->network;
11562 }
11563 public function setSelfLink($selfLink)
11564 {
11565 $this->selfLink = $selfLink;
11566 }
11567 public function getSelfLink()
11568 {
11569 return $this->selfLink;
11570 }
11571 public function setSourceRanges($sourceRanges)
11572 {
11573 $this->sourceRanges = $sourceRanges;
11574 }
11575 public function getSourceRanges()
11576 {
11577 return $this->sourceRanges;
11578 }
11579 public function setSourceTags($sourceTags)
11580 {
11581 $this->sourceTags = $sourceTags;
11582 }
11583 public function getSourceTags()
11584 {
11585 return $this->sourceTags;
11586 }
11587 public function setTargetTags($targetTags)
11588 {
11589 $this->targetTags = $targetTags;
11590 }
11591 public function getTargetTags()
11592 {
11593 return $this->targetTags;
11594 }
11595 }
11596
11597 class Google_Service_Compute_FirewallAllowed extends Google_Collection
11598 {
11599 protected $collection_key = 'ports';
11600 protected $internal_gapi_mappings = array(
11601 "iPProtocol" => "IPProtocol",
11602 );
11603 public $iPProtocol;
11604 public $ports;
11605
11606
11607 public function setIPProtocol($iPProtocol)
11608 {
11609 $this->iPProtocol = $iPProtocol;
11610 }
11611 public function getIPProtocol()
11612 {
11613 return $this->iPProtocol;
11614 }
11615 public function setPorts($ports)
11616 {
11617 $this->ports = $ports;
11618 }
11619 public function getPorts()
11620 {
11621 return $this->ports;
11622 }
11623 }
11624
11625 class Google_Service_Compute_FirewallList extends Google_Collection
11626 {
11627 protected $collection_key = 'items';
11628 protected $internal_gapi_mappings = array(
11629 );
11630 public $id;
11631 protected $itemsType = 'Google_Service_Compute_Firewall';
11632 protected $itemsDataType = 'array';
11633 public $kind;
11634 public $nextPageToken;
11635 public $selfLink;
11636
11637
11638 public function setId($id)
11639 {
11640 $this->id = $id;
11641 }
11642 public function getId()
11643 {
11644 return $this->id;
11645 }
11646 public function setItems($items)
11647 {
11648 $this->items = $items;
11649 }
11650 public function getItems()
11651 {
11652 return $this->items;
11653 }
11654 public function setKind($kind)
11655 {
11656 $this->kind = $kind;
11657 }
11658 public function getKind()
11659 {
11660 return $this->kind;
11661 }
11662 public function setNextPageToken($nextPageToken)
11663 {
11664 $this->nextPageToken = $nextPageToken;
11665 }
11666 public function getNextPageToken()
11667 {
11668 return $this->nextPageToken;
11669 }
11670 public function setSelfLink($selfLink)
11671 {
11672 $this->selfLink = $selfLink;
11673 }
11674 public function getSelfLink()
11675 {
11676 return $this->selfLink;
11677 }
11678 }
11679
11680 class Google_Service_Compute_ForwardingRule extends Google_Model
11681 {
11682 protected $internal_gapi_mappings = array(
11683 "iPAddress" => "IPAddress",
11684 "iPProtocol" => "IPProtocol",
11685 );
11686 public $iPAddress;
11687 public $iPProtocol;
11688 public $creationTimestamp;
11689 public $description;
11690 public $id;
11691 public $kind;
11692 public $name;
11693 public $portRange;
11694 public $region;
11695 public $selfLink;
11696 public $target;
11697
11698
11699 public function setIPAddress($iPAddress)
11700 {
11701 $this->iPAddress = $iPAddress;
11702 }
11703 public function getIPAddress()
11704 {
11705 return $this->iPAddress;
11706 }
11707 public function setIPProtocol($iPProtocol)
11708 {
11709 $this->iPProtocol = $iPProtocol;
11710 }
11711 public function getIPProtocol()
11712 {
11713 return $this->iPProtocol;
11714 }
11715 public function setCreationTimestamp($creationTimestamp)
11716 {
11717 $this->creationTimestamp = $creationTimestamp;
11718 }
11719 public function getCreationTimestamp()
11720 {
11721 return $this->creationTimestamp;
11722 }
11723 public function setDescription($description)
11724 {
11725 $this->description = $description;
11726 }
11727 public function getDescription()
11728 {
11729 return $this->description;
11730 }
11731 public function setId($id)
11732 {
11733 $this->id = $id;
11734 }
11735 public function getId()
11736 {
11737 return $this->id;
11738 }
11739 public function setKind($kind)
11740 {
11741 $this->kind = $kind;
11742 }
11743 public function getKind()
11744 {
11745 return $this->kind;
11746 }
11747 public function setName($name)
11748 {
11749 $this->name = $name;
11750 }
11751 public function getName()
11752 {
11753 return $this->name;
11754 }
11755 public function setPortRange($portRange)
11756 {
11757 $this->portRange = $portRange;
11758 }
11759 public function getPortRange()
11760 {
11761 return $this->portRange;
11762 }
11763 public function setRegion($region)
11764 {
11765 $this->region = $region;
11766 }
11767 public function getRegion()
11768 {
11769 return $this->region;
11770 }
11771 public function setSelfLink($selfLink)
11772 {
11773 $this->selfLink = $selfLink;
11774 }
11775 public function getSelfLink()
11776 {
11777 return $this->selfLink;
11778 }
11779 public function setTarget($target)
11780 {
11781 $this->target = $target;
11782 }
11783 public function getTarget()
11784 {
11785 return $this->target;
11786 }
11787 }
11788
11789 class Google_Service_Compute_ForwardingRuleAggregatedList extends Google_Model
11790 {
11791 protected $internal_gapi_mappings = array(
11792 );
11793 public $id;
11794 protected $itemsType = 'Google_Service_Compute_ForwardingRulesScopedList';
11795 protected $itemsDataType = 'map';
11796 public $kind;
11797 public $nextPageToken;
11798 public $selfLink;
11799
11800
11801 public function setId($id)
11802 {
11803 $this->id = $id;
11804 }
11805 public function getId()
11806 {
11807 return $this->id;
11808 }
11809 public function setItems($items)
11810 {
11811 $this->items = $items;
11812 }
11813 public function getItems()
11814 {
11815 return $this->items;
11816 }
11817 public function setKind($kind)
11818 {
11819 $this->kind = $kind;
11820 }
11821 public function getKind()
11822 {
11823 return $this->kind;
11824 }
11825 public function setNextPageToken($nextPageToken)
11826 {
11827 $this->nextPageToken = $nextPageToken;
11828 }
11829 public function getNextPageToken()
11830 {
11831 return $this->nextPageToken;
11832 }
11833 public function setSelfLink($selfLink)
11834 {
11835 $this->selfLink = $selfLink;
11836 }
11837 public function getSelfLink()
11838 {
11839 return $this->selfLink;
11840 }
11841 }
11842
11843 class Google_Service_Compute_ForwardingRuleList extends Google_Collection
11844 {
11845 protected $collection_key = 'items';
11846 protected $internal_gapi_mappings = array(
11847 );
11848 public $id;
11849 protected $itemsType = 'Google_Service_Compute_ForwardingRule';
11850 protected $itemsDataType = 'array';
11851 public $kind;
11852 public $nextPageToken;
11853 public $selfLink;
11854
11855
11856 public function setId($id)
11857 {
11858 $this->id = $id;
11859 }
11860 public function getId()
11861 {
11862 return $this->id;
11863 }
11864 public function setItems($items)
11865 {
11866 $this->items = $items;
11867 }
11868 public function getItems()
11869 {
11870 return $this->items;
11871 }
11872 public function setKind($kind)
11873 {
11874 $this->kind = $kind;
11875 }
11876 public function getKind()
11877 {
11878 return $this->kind;
11879 }
11880 public function setNextPageToken($nextPageToken)
11881 {
11882 $this->nextPageToken = $nextPageToken;
11883 }
11884 public function getNextPageToken()
11885 {
11886 return $this->nextPageToken;
11887 }
11888 public function setSelfLink($selfLink)
11889 {
11890 $this->selfLink = $selfLink;
11891 }
11892 public function getSelfLink()
11893 {
11894 return $this->selfLink;
11895 }
11896 }
11897
11898 class Google_Service_Compute_ForwardingRulesScopedList extends Google_Collection
11899 {
11900 protected $collection_key = 'forwardingRules';
11901 protected $internal_gapi_mappings = array(
11902 );
11903 protected $forwardingRulesType = 'Google_Service_Compute_ForwardingRule';
11904 protected $forwardingRulesDataType = 'array';
11905 protected $warningType = 'Google_Service_Compute_ForwardingRulesScopedListWarning';
11906 protected $warningDataType = '';
11907
11908
11909 public function setForwardingRules($forwardingRules)
11910 {
11911 $this->forwardingRules = $forwardingRules;
11912 }
11913 public function getForwardingRules()
11914 {
11915 return $this->forwardingRules;
11916 }
11917 public function setWarning(Google_Service_Compute_ForwardingRulesScopedListWarning $warning)
11918 {
11919 $this->warning = $warning;
11920 }
11921 public function getWarning()
11922 {
11923 return $this->warning;
11924 }
11925 }
11926
11927 class Google_Service_Compute_ForwardingRulesScopedListWarning extends Google_Collection
11928 {
11929 protected $collection_key = 'data';
11930 protected $internal_gapi_mappings = array(
11931 );
11932 public $code;
11933 protected $dataType = 'Google_Service_Compute_ForwardingRulesScopedListWarningData';
11934 protected $dataDataType = 'array';
11935 public $message;
11936
11937
11938 public function setCode($code)
11939 {
11940 $this->code = $code;
11941 }
11942 public function getCode()
11943 {
11944 return $this->code;
11945 }
11946 public function setData($data)
11947 {
11948 $this->data = $data;
11949 }
11950 public function getData()
11951 {
11952 return $this->data;
11953 }
11954 public function setMessage($message)
11955 {
11956 $this->message = $message;
11957 }
11958 public function getMessage()
11959 {
11960 return $this->message;
11961 }
11962 }
11963
11964 class Google_Service_Compute_ForwardingRulesScopedListWarningData extends Google_Model
11965 {
11966 protected $internal_gapi_mappings = array(
11967 );
11968 public $key;
11969 public $value;
11970
11971
11972 public function setKey($key)
11973 {
11974 $this->key = $key;
11975 }
11976 public function getKey()
11977 {
11978 return $this->key;
11979 }
11980 public function setValue($value)
11981 {
11982 $this->value = $value;
11983 }
11984 public function getValue()
11985 {
11986 return $this->value;
11987 }
11988 }
11989
11990 class Google_Service_Compute_HealthCheckReference extends Google_Model
11991 {
11992 protected $internal_gapi_mappings = array(
11993 );
11994 public $healthCheck;
11995
11996
11997 public function setHealthCheck($healthCheck)
11998 {
11999 $this->healthCheck = $healthCheck;
12000 }
12001 public function getHealthCheck()
12002 {
12003 return $this->healthCheck;
12004 }
12005 }
12006
12007 class Google_Service_Compute_HealthStatus extends Google_Model
12008 {
12009 protected $internal_gapi_mappings = array(
12010 );
12011 public $healthState;
12012 public $instance;
12013 public $ipAddress;
12014 public $port;
12015
12016
12017 public function setHealthState($healthState)
12018 {
12019 $this->healthState = $healthState;
12020 }
12021 public function getHealthState()
12022 {
12023 return $this->healthState;
12024 }
12025 public function setInstance($instance)
12026 {
12027 $this->instance = $instance;
12028 }
12029 public function getInstance()
12030 {
12031 return $this->instance;
12032 }
12033 public function setIpAddress($ipAddress)
12034 {
12035 $this->ipAddress = $ipAddress;
12036 }
12037 public function getIpAddress()
12038 {
12039 return $this->ipAddress;
12040 }
12041 public function setPort($port)
12042 {
12043 $this->port = $port;
12044 }
12045 public function getPort()
12046 {
12047 return $this->port;
12048 }
12049 }
12050
12051 class Google_Service_Compute_HostRule extends Google_Collection
12052 {
12053 protected $collection_key = 'hosts';
12054 protected $internal_gapi_mappings = array(
12055 );
12056 public $description;
12057 public $hosts;
12058 public $pathMatcher;
12059
12060
12061 public function setDescription($description)
12062 {
12063 $this->description = $description;
12064 }
12065 public function getDescription()
12066 {
12067 return $this->description;
12068 }
12069 public function setHosts($hosts)
12070 {
12071 $this->hosts = $hosts;
12072 }
12073 public function getHosts()
12074 {
12075 return $this->hosts;
12076 }
12077 public function setPathMatcher($pathMatcher)
12078 {
12079 $this->pathMatcher = $pathMatcher;
12080 }
12081 public function getPathMatcher()
12082 {
12083 return $this->pathMatcher;
12084 }
12085 }
12086
12087 class Google_Service_Compute_HttpHealthCheck extends Google_Model
12088 {
12089 protected $internal_gapi_mappings = array(
12090 );
12091 public $checkIntervalSec;
12092 public $creationTimestamp;
12093 public $description;
12094 public $healthyThreshold;
12095 public $host;
12096 public $id;
12097 public $kind;
12098 public $name;
12099 public $port;
12100 public $requestPath;
12101 public $selfLink;
12102 public $timeoutSec;
12103 public $unhealthyThreshold;
12104
12105
12106 public function setCheckIntervalSec($checkIntervalSec)
12107 {
12108 $this->checkIntervalSec = $checkIntervalSec;
12109 }
12110 public function getCheckIntervalSec()
12111 {
12112 return $this->checkIntervalSec;
12113 }
12114 public function setCreationTimestamp($creationTimestamp)
12115 {
12116 $this->creationTimestamp = $creationTimestamp;
12117 }
12118 public function getCreationTimestamp()
12119 {
12120 return $this->creationTimestamp;
12121 }
12122 public function setDescription($description)
12123 {
12124 $this->description = $description;
12125 }
12126 public function getDescription()
12127 {
12128 return $this->description;
12129 }
12130 public function setHealthyThreshold($healthyThreshold)
12131 {
12132 $this->healthyThreshold = $healthyThreshold;
12133 }
12134 public function getHealthyThreshold()
12135 {
12136 return $this->healthyThreshold;
12137 }
12138 public function setHost($host)
12139 {
12140 $this->host = $host;
12141 }
12142 public function getHost()
12143 {
12144 return $this->host;
12145 }
12146 public function setId($id)
12147 {
12148 $this->id = $id;
12149 }
12150 public function getId()
12151 {
12152 return $this->id;
12153 }
12154 public function setKind($kind)
12155 {
12156 $this->kind = $kind;
12157 }
12158 public function getKind()
12159 {
12160 return $this->kind;
12161 }
12162 public function setName($name)
12163 {
12164 $this->name = $name;
12165 }
12166 public function getName()
12167 {
12168 return $this->name;
12169 }
12170 public function setPort($port)
12171 {
12172 $this->port = $port;
12173 }
12174 public function getPort()
12175 {
12176 return $this->port;
12177 }
12178 public function setRequestPath($requestPath)
12179 {
12180 $this->requestPath = $requestPath;
12181 }
12182 public function getRequestPath()
12183 {
12184 return $this->requestPath;
12185 }
12186 public function setSelfLink($selfLink)
12187 {
12188 $this->selfLink = $selfLink;
12189 }
12190 public function getSelfLink()
12191 {
12192 return $this->selfLink;
12193 }
12194 public function setTimeoutSec($timeoutSec)
12195 {
12196 $this->timeoutSec = $timeoutSec;
12197 }
12198 public function getTimeoutSec()
12199 {
12200 return $this->timeoutSec;
12201 }
12202 public function setUnhealthyThreshold($unhealthyThreshold)
12203 {
12204 $this->unhealthyThreshold = $unhealthyThreshold;
12205 }
12206 public function getUnhealthyThreshold()
12207 {
12208 return $this->unhealthyThreshold;
12209 }
12210 }
12211
12212 class Google_Service_Compute_HttpHealthCheckList extends Google_Collection
12213 {
12214 protected $collection_key = 'items';
12215 protected $internal_gapi_mappings = array(
12216 );
12217 public $id;
12218 protected $itemsType = 'Google_Service_Compute_HttpHealthCheck';
12219 protected $itemsDataType = 'array';
12220 public $kind;
12221 public $nextPageToken;
12222 public $selfLink;
12223
12224
12225 public function setId($id)
12226 {
12227 $this->id = $id;
12228 }
12229 public function getId()
12230 {
12231 return $this->id;
12232 }
12233 public function setItems($items)
12234 {
12235 $this->items = $items;
12236 }
12237 public function getItems()
12238 {
12239 return $this->items;
12240 }
12241 public function setKind($kind)
12242 {
12243 $this->kind = $kind;
12244 }
12245 public function getKind()
12246 {
12247 return $this->kind;
12248 }
12249 public function setNextPageToken($nextPageToken)
12250 {
12251 $this->nextPageToken = $nextPageToken;
12252 }
12253 public function getNextPageToken()
12254 {
12255 return $this->nextPageToken;
12256 }
12257 public function setSelfLink($selfLink)
12258 {
12259 $this->selfLink = $selfLink;
12260 }
12261 public function getSelfLink()
12262 {
12263 return $this->selfLink;
12264 }
12265 }
12266
12267 class Google_Service_Compute_HttpsHealthCheck extends Google_Model
12268 {
12269 protected $internal_gapi_mappings = array(
12270 );
12271 public $checkIntervalSec;
12272 public $creationTimestamp;
12273 public $description;
12274 public $healthyThreshold;
12275 public $host;
12276 public $id;
12277 public $kind;
12278 public $name;
12279 public $port;
12280 public $requestPath;
12281 public $selfLink;
12282 public $timeoutSec;
12283 public $unhealthyThreshold;
12284
12285
12286 public function setCheckIntervalSec($checkIntervalSec)
12287 {
12288 $this->checkIntervalSec = $checkIntervalSec;
12289 }
12290 public function getCheckIntervalSec()
12291 {
12292 return $this->checkIntervalSec;
12293 }
12294 public function setCreationTimestamp($creationTimestamp)
12295 {
12296 $this->creationTimestamp = $creationTimestamp;
12297 }
12298 public function getCreationTimestamp()
12299 {
12300 return $this->creationTimestamp;
12301 }
12302 public function setDescription($description)
12303 {
12304 $this->description = $description;
12305 }
12306 public function getDescription()
12307 {
12308 return $this->description;
12309 }
12310 public function setHealthyThreshold($healthyThreshold)
12311 {
12312 $this->healthyThreshold = $healthyThreshold;
12313 }
12314 public function getHealthyThreshold()
12315 {
12316 return $this->healthyThreshold;
12317 }
12318 public function setHost($host)
12319 {
12320 $this->host = $host;
12321 }
12322 public function getHost()
12323 {
12324 return $this->host;
12325 }
12326 public function setId($id)
12327 {
12328 $this->id = $id;
12329 }
12330 public function getId()
12331 {
12332 return $this->id;
12333 }
12334 public function setKind($kind)
12335 {
12336 $this->kind = $kind;
12337 }
12338 public function getKind()
12339 {
12340 return $this->kind;
12341 }
12342 public function setName($name)
12343 {
12344 $this->name = $name;
12345 }
12346 public function getName()
12347 {
12348 return $this->name;
12349 }
12350 public function setPort($port)
12351 {
12352 $this->port = $port;
12353 }
12354 public function getPort()
12355 {
12356 return $this->port;
12357 }
12358 public function setRequestPath($requestPath)
12359 {
12360 $this->requestPath = $requestPath;
12361 }
12362 public function getRequestPath()
12363 {
12364 return $this->requestPath;
12365 }
12366 public function setSelfLink($selfLink)
12367 {
12368 $this->selfLink = $selfLink;
12369 }
12370 public function getSelfLink()
12371 {
12372 return $this->selfLink;
12373 }
12374 public function setTimeoutSec($timeoutSec)
12375 {
12376 $this->timeoutSec = $timeoutSec;
12377 }
12378 public function getTimeoutSec()
12379 {
12380 return $this->timeoutSec;
12381 }
12382 public function setUnhealthyThreshold($unhealthyThreshold)
12383 {
12384 $this->unhealthyThreshold = $unhealthyThreshold;
12385 }
12386 public function getUnhealthyThreshold()
12387 {
12388 return $this->unhealthyThreshold;
12389 }
12390 }
12391
12392 class Google_Service_Compute_HttpsHealthCheckList extends Google_Collection
12393 {
12394 protected $collection_key = 'items';
12395 protected $internal_gapi_mappings = array(
12396 );
12397 public $id;
12398 protected $itemsType = 'Google_Service_Compute_HttpsHealthCheck';
12399 protected $itemsDataType = 'array';
12400 public $kind;
12401 public $nextPageToken;
12402 public $selfLink;
12403
12404
12405 public function setId($id)
12406 {
12407 $this->id = $id;
12408 }
12409 public function getId()
12410 {
12411 return $this->id;
12412 }
12413 public function setItems($items)
12414 {
12415 $this->items = $items;
12416 }
12417 public function getItems()
12418 {
12419 return $this->items;
12420 }
12421 public function setKind($kind)
12422 {
12423 $this->kind = $kind;
12424 }
12425 public function getKind()
12426 {
12427 return $this->kind;
12428 }
12429 public function setNextPageToken($nextPageToken)
12430 {
12431 $this->nextPageToken = $nextPageToken;
12432 }
12433 public function getNextPageToken()
12434 {
12435 return $this->nextPageToken;
12436 }
12437 public function setSelfLink($selfLink)
12438 {
12439 $this->selfLink = $selfLink;
12440 }
12441 public function getSelfLink()
12442 {
12443 return $this->selfLink;
12444 }
12445 }
12446
12447 class Google_Service_Compute_Image extends Google_Collection
12448 {
12449 protected $collection_key = 'licenses';
12450 protected $internal_gapi_mappings = array(
12451 );
12452 public $archiveSizeBytes;
12453 public $creationTimestamp;
12454 protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
12455 protected $deprecatedDataType = '';
12456 public $description;
12457 public $diskSizeGb;
12458 public $id;
12459 public $kind;
12460 public $licenses;
12461 public $name;
12462 protected $rawDiskType = 'Google_Service_Compute_ImageRawDisk';
12463 protected $rawDiskDataType = '';
12464 public $selfLink;
12465 public $sourceDisk;
12466 public $sourceDiskId;
12467 public $sourceType;
12468 public $status;
12469
12470
12471 public function setArchiveSizeBytes($archiveSizeBytes)
12472 {
12473 $this->archiveSizeBytes = $archiveSizeBytes;
12474 }
12475 public function getArchiveSizeBytes()
12476 {
12477 return $this->archiveSizeBytes;
12478 }
12479 public function setCreationTimestamp($creationTimestamp)
12480 {
12481 $this->creationTimestamp = $creationTimestamp;
12482 }
12483 public function getCreationTimestamp()
12484 {
12485 return $this->creationTimestamp;
12486 }
12487 public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
12488 {
12489 $this->deprecated = $deprecated;
12490 }
12491 public function getDeprecated()
12492 {
12493 return $this->deprecated;
12494 }
12495 public function setDescription($description)
12496 {
12497 $this->description = $description;
12498 }
12499 public function getDescription()
12500 {
12501 return $this->description;
12502 }
12503 public function setDiskSizeGb($diskSizeGb)
12504 {
12505 $this->diskSizeGb = $diskSizeGb;
12506 }
12507 public function getDiskSizeGb()
12508 {
12509 return $this->diskSizeGb;
12510 }
12511 public function setId($id)
12512 {
12513 $this->id = $id;
12514 }
12515 public function getId()
12516 {
12517 return $this->id;
12518 }
12519 public function setKind($kind)
12520 {
12521 $this->kind = $kind;
12522 }
12523 public function getKind()
12524 {
12525 return $this->kind;
12526 }
12527 public function setLicenses($licenses)
12528 {
12529 $this->licenses = $licenses;
12530 }
12531 public function getLicenses()
12532 {
12533 return $this->licenses;
12534 }
12535 public function setName($name)
12536 {
12537 $this->name = $name;
12538 }
12539 public function getName()
12540 {
12541 return $this->name;
12542 }
12543 public function setRawDisk(Google_Service_Compute_ImageRawDisk $rawDisk)
12544 {
12545 $this->rawDisk = $rawDisk;
12546 }
12547 public function getRawDisk()
12548 {
12549 return $this->rawDisk;
12550 }
12551 public function setSelfLink($selfLink)
12552 {
12553 $this->selfLink = $selfLink;
12554 }
12555 public function getSelfLink()
12556 {
12557 return $this->selfLink;
12558 }
12559 public function setSourceDisk($sourceDisk)
12560 {
12561 $this->sourceDisk = $sourceDisk;
12562 }
12563 public function getSourceDisk()
12564 {
12565 return $this->sourceDisk;
12566 }
12567 public function setSourceDiskId($sourceDiskId)
12568 {
12569 $this->sourceDiskId = $sourceDiskId;
12570 }
12571 public function getSourceDiskId()
12572 {
12573 return $this->sourceDiskId;
12574 }
12575 public function setSourceType($sourceType)
12576 {
12577 $this->sourceType = $sourceType;
12578 }
12579 public function getSourceType()
12580 {
12581 return $this->sourceType;
12582 }
12583 public function setStatus($status)
12584 {
12585 $this->status = $status;
12586 }
12587 public function getStatus()
12588 {
12589 return $this->status;
12590 }
12591 }
12592
12593 class Google_Service_Compute_ImageList extends Google_Collection
12594 {
12595 protected $collection_key = 'items';
12596 protected $internal_gapi_mappings = array(
12597 );
12598 public $id;
12599 protected $itemsType = 'Google_Service_Compute_Image';
12600 protected $itemsDataType = 'array';
12601 public $kind;
12602 public $nextPageToken;
12603 public $selfLink;
12604
12605
12606 public function setId($id)
12607 {
12608 $this->id = $id;
12609 }
12610 public function getId()
12611 {
12612 return $this->id;
12613 }
12614 public function setItems($items)
12615 {
12616 $this->items = $items;
12617 }
12618 public function getItems()
12619 {
12620 return $this->items;
12621 }
12622 public function setKind($kind)
12623 {
12624 $this->kind = $kind;
12625 }
12626 public function getKind()
12627 {
12628 return $this->kind;
12629 }
12630 public function setNextPageToken($nextPageToken)
12631 {
12632 $this->nextPageToken = $nextPageToken;
12633 }
12634 public function getNextPageToken()
12635 {
12636 return $this->nextPageToken;
12637 }
12638 public function setSelfLink($selfLink)
12639 {
12640 $this->selfLink = $selfLink;
12641 }
12642 public function getSelfLink()
12643 {
12644 return $this->selfLink;
12645 }
12646 }
12647
12648 class Google_Service_Compute_ImageRawDisk extends Google_Model
12649 {
12650 protected $internal_gapi_mappings = array(
12651 );
12652 public $containerType;
12653 public $sha1Checksum;
12654 public $source;
12655
12656
12657 public function setContainerType($containerType)
12658 {
12659 $this->containerType = $containerType;
12660 }
12661 public function getContainerType()
12662 {
12663 return $this->containerType;
12664 }
12665 public function setSha1Checksum($sha1Checksum)
12666 {
12667 $this->sha1Checksum = $sha1Checksum;
12668 }
12669 public function getSha1Checksum()
12670 {
12671 return $this->sha1Checksum;
12672 }
12673 public function setSource($source)
12674 {
12675 $this->source = $source;
12676 }
12677 public function getSource()
12678 {
12679 return $this->source;
12680 }
12681 }
12682
12683 class Google_Service_Compute_Instance extends Google_Collection
12684 {
12685 protected $collection_key = 'serviceAccounts';
12686 protected $internal_gapi_mappings = array(
12687 );
12688 public $canIpForward;
12689 public $cpuPlatform;
12690 public $creationTimestamp;
12691 public $description;
12692 protected $disksType = 'Google_Service_Compute_AttachedDisk';
12693 protected $disksDataType = 'array';
12694 public $id;
12695 public $kind;
12696 public $machineType;
12697 protected $metadataType = 'Google_Service_Compute_Metadata';
12698 protected $metadataDataType = '';
12699 public $name;
12700 protected $networkInterfacesType = 'Google_Service_Compute_NetworkInterface';
12701 protected $networkInterfacesDataType = 'array';
12702 protected $schedulingType = 'Google_Service_Compute_Scheduling';
12703 protected $schedulingDataType = '';
12704 public $selfLink;
12705 protected $serviceAccountsType = 'Google_Service_Compute_ServiceAccount';
12706 protected $serviceAccountsDataType = 'array';
12707 public $status;
12708 public $statusMessage;
12709 protected $tagsType = 'Google_Service_Compute_Tags';
12710 protected $tagsDataType = '';
12711 public $zone;
12712
12713
12714 public function setCanIpForward($canIpForward)
12715 {
12716 $this->canIpForward = $canIpForward;
12717 }
12718 public function getCanIpForward()
12719 {
12720 return $this->canIpForward;
12721 }
12722 public function setCpuPlatform($cpuPlatform)
12723 {
12724 $this->cpuPlatform = $cpuPlatform;
12725 }
12726 public function getCpuPlatform()
12727 {
12728 return $this->cpuPlatform;
12729 }
12730 public function setCreationTimestamp($creationTimestamp)
12731 {
12732 $this->creationTimestamp = $creationTimestamp;
12733 }
12734 public function getCreationTimestamp()
12735 {
12736 return $this->creationTimestamp;
12737 }
12738 public function setDescription($description)
12739 {
12740 $this->description = $description;
12741 }
12742 public function getDescription()
12743 {
12744 return $this->description;
12745 }
12746 public function setDisks($disks)
12747 {
12748 $this->disks = $disks;
12749 }
12750 public function getDisks()
12751 {
12752 return $this->disks;
12753 }
12754 public function setId($id)
12755 {
12756 $this->id = $id;
12757 }
12758 public function getId()
12759 {
12760 return $this->id;
12761 }
12762 public function setKind($kind)
12763 {
12764 $this->kind = $kind;
12765 }
12766 public function getKind()
12767 {
12768 return $this->kind;
12769 }
12770 public function setMachineType($machineType)
12771 {
12772 $this->machineType = $machineType;
12773 }
12774 public function getMachineType()
12775 {
12776 return $this->machineType;
12777 }
12778 public function setMetadata(Google_Service_Compute_Metadata $metadata)
12779 {
12780 $this->metadata = $metadata;
12781 }
12782 public function getMetadata()
12783 {
12784 return $this->metadata;
12785 }
12786 public function setName($name)
12787 {
12788 $this->name = $name;
12789 }
12790 public function getName()
12791 {
12792 return $this->name;
12793 }
12794 public function setNetworkInterfaces($networkInterfaces)
12795 {
12796 $this->networkInterfaces = $networkInterfaces;
12797 }
12798 public function getNetworkInterfaces()
12799 {
12800 return $this->networkInterfaces;
12801 }
12802 public function setScheduling(Google_Service_Compute_Scheduling $scheduling)
12803 {
12804 $this->scheduling = $scheduling;
12805 }
12806 public function getScheduling()
12807 {
12808 return $this->scheduling;
12809 }
12810 public function setSelfLink($selfLink)
12811 {
12812 $this->selfLink = $selfLink;
12813 }
12814 public function getSelfLink()
12815 {
12816 return $this->selfLink;
12817 }
12818 public function setServiceAccounts($serviceAccounts)
12819 {
12820 $this->serviceAccounts = $serviceAccounts;
12821 }
12822 public function getServiceAccounts()
12823 {
12824 return $this->serviceAccounts;
12825 }
12826 public function setStatus($status)
12827 {
12828 $this->status = $status;
12829 }
12830 public function getStatus()
12831 {
12832 return $this->status;
12833 }
12834 public function setStatusMessage($statusMessage)
12835 {
12836 $this->statusMessage = $statusMessage;
12837 }
12838 public function getStatusMessage()
12839 {
12840 return $this->statusMessage;
12841 }
12842 public function setTags(Google_Service_Compute_Tags $tags)
12843 {
12844 $this->tags = $tags;
12845 }
12846 public function getTags()
12847 {
12848 return $this->tags;
12849 }
12850 public function setZone($zone)
12851 {
12852 $this->zone = $zone;
12853 }
12854 public function getZone()
12855 {
12856 return $this->zone;
12857 }
12858 }
12859
12860 class Google_Service_Compute_InstanceAggregatedList extends Google_Model
12861 {
12862 protected $internal_gapi_mappings = array(
12863 );
12864 public $id;
12865 protected $itemsType = 'Google_Service_Compute_InstancesScopedList';
12866 protected $itemsDataType = 'map';
12867 public $kind;
12868 public $nextPageToken;
12869 public $selfLink;
12870
12871
12872 public function setId($id)
12873 {
12874 $this->id = $id;
12875 }
12876 public function getId()
12877 {
12878 return $this->id;
12879 }
12880 public function setItems($items)
12881 {
12882 $this->items = $items;
12883 }
12884 public function getItems()
12885 {
12886 return $this->items;
12887 }
12888 public function setKind($kind)
12889 {
12890 $this->kind = $kind;
12891 }
12892 public function getKind()
12893 {
12894 return $this->kind;
12895 }
12896 public function setNextPageToken($nextPageToken)
12897 {
12898 $this->nextPageToken = $nextPageToken;
12899 }
12900 public function getNextPageToken()
12901 {
12902 return $this->nextPageToken;
12903 }
12904 public function setSelfLink($selfLink)
12905 {
12906 $this->selfLink = $selfLink;
12907 }
12908 public function getSelfLink()
12909 {
12910 return $this->selfLink;
12911 }
12912 }
12913
12914 class Google_Service_Compute_InstanceGroup extends Google_Collection
12915 {
12916 protected $collection_key = 'namedPorts';
12917 protected $internal_gapi_mappings = array(
12918 );
12919 public $creationTimestamp;
12920 public $description;
12921 public $fingerprint;
12922 public $id;
12923 public $kind;
12924 public $name;
12925 protected $namedPortsType = 'Google_Service_Compute_NamedPort';
12926 protected $namedPortsDataType = 'array';
12927 public $network;
12928 public $selfLink;
12929 public $size;
12930 public $subnetwork;
12931 public $zone;
12932
12933
12934 public function setCreationTimestamp($creationTimestamp)
12935 {
12936 $this->creationTimestamp = $creationTimestamp;
12937 }
12938 public function getCreationTimestamp()
12939 {
12940 return $this->creationTimestamp;
12941 }
12942 public function setDescription($description)
12943 {
12944 $this->description = $description;
12945 }
12946 public function getDescription()
12947 {
12948 return $this->description;
12949 }
12950 public function setFingerprint($fingerprint)
12951 {
12952 $this->fingerprint = $fingerprint;
12953 }
12954 public function getFingerprint()
12955 {
12956 return $this->fingerprint;
12957 }
12958 public function setId($id)
12959 {
12960 $this->id = $id;
12961 }
12962 public function getId()
12963 {
12964 return $this->id;
12965 }
12966 public function setKind($kind)
12967 {
12968 $this->kind = $kind;
12969 }
12970 public function getKind()
12971 {
12972 return $this->kind;
12973 }
12974 public function setName($name)
12975 {
12976 $this->name = $name;
12977 }
12978 public function getName()
12979 {
12980 return $this->name;
12981 }
12982 public function setNamedPorts($namedPorts)
12983 {
12984 $this->namedPorts = $namedPorts;
12985 }
12986 public function getNamedPorts()
12987 {
12988 return $this->namedPorts;
12989 }
12990 public function setNetwork($network)
12991 {
12992 $this->network = $network;
12993 }
12994 public function getNetwork()
12995 {
12996 return $this->network;
12997 }
12998 public function setSelfLink($selfLink)
12999 {
13000 $this->selfLink = $selfLink;
13001 }
13002 public function getSelfLink()
13003 {
13004 return $this->selfLink;
13005 }
13006 public function setSize($size)
13007 {
13008 $this->size = $size;
13009 }
13010 public function getSize()
13011 {
13012 return $this->size;
13013 }
13014 public function setSubnetwork($subnetwork)
13015 {
13016 $this->subnetwork = $subnetwork;
13017 }
13018 public function getSubnetwork()
13019 {
13020 return $this->subnetwork;
13021 }
13022 public function setZone($zone)
13023 {
13024 $this->zone = $zone;
13025 }
13026 public function getZone()
13027 {
13028 return $this->zone;
13029 }
13030 }
13031
13032 class Google_Service_Compute_InstanceGroupAggregatedList extends Google_Model
13033 {
13034 protected $internal_gapi_mappings = array(
13035 );
13036 public $id;
13037 protected $itemsType = 'Google_Service_Compute_InstanceGroupsScopedList';
13038 protected $itemsDataType = 'map';
13039 public $kind;
13040 public $nextPageToken;
13041 public $selfLink;
13042
13043
13044 public function setId($id)
13045 {
13046 $this->id = $id;
13047 }
13048 public function getId()
13049 {
13050 return $this->id;
13051 }
13052 public function setItems($items)
13053 {
13054 $this->items = $items;
13055 }
13056 public function getItems()
13057 {
13058 return $this->items;
13059 }
13060 public function setKind($kind)
13061 {
13062 $this->kind = $kind;
13063 }
13064 public function getKind()
13065 {
13066 return $this->kind;
13067 }
13068 public function setNextPageToken($nextPageToken)
13069 {
13070 $this->nextPageToken = $nextPageToken;
13071 }
13072 public function getNextPageToken()
13073 {
13074 return $this->nextPageToken;
13075 }
13076 public function setSelfLink($selfLink)
13077 {
13078 $this->selfLink = $selfLink;
13079 }
13080 public function getSelfLink()
13081 {
13082 return $this->selfLink;
13083 }
13084 }
13085
13086 class Google_Service_Compute_InstanceGroupList extends Google_Collection
13087 {
13088 protected $collection_key = 'items';
13089 protected $internal_gapi_mappings = array(
13090 );
13091 public $id;
13092 protected $itemsType = 'Google_Service_Compute_InstanceGroup';
13093 protected $itemsDataType = 'array';
13094 public $kind;
13095 public $nextPageToken;
13096 public $selfLink;
13097
13098
13099 public function setId($id)
13100 {
13101 $this->id = $id;
13102 }
13103 public function getId()
13104 {
13105 return $this->id;
13106 }
13107 public function setItems($items)
13108 {
13109 $this->items = $items;
13110 }
13111 public function getItems()
13112 {
13113 return $this->items;
13114 }
13115 public function setKind($kind)
13116 {
13117 $this->kind = $kind;
13118 }
13119 public function getKind()
13120 {
13121 return $this->kind;
13122 }
13123 public function setNextPageToken($nextPageToken)
13124 {
13125 $this->nextPageToken = $nextPageToken;
13126 }
13127 public function getNextPageToken()
13128 {
13129 return $this->nextPageToken;
13130 }
13131 public function setSelfLink($selfLink)
13132 {
13133 $this->selfLink = $selfLink;
13134 }
13135 public function getSelfLink()
13136 {
13137 return $this->selfLink;
13138 }
13139 }
13140
13141 class Google_Service_Compute_InstanceGroupManager extends Google_Collection
13142 {
13143 protected $collection_key = 'targetPools';
13144 protected $internal_gapi_mappings = array(
13145 );
13146 public $baseInstanceName;
13147 public $creationTimestamp;
13148 protected $currentActionsType = 'Google_Service_Compute_InstanceGroupManagerActionsSummary';
13149 protected $currentActionsDataType = '';
13150 public $description;
13151 public $fingerprint;
13152 public $id;
13153 public $instanceGroup;
13154 public $instanceTemplate;
13155 public $kind;
13156 public $name;
13157 protected $namedPortsType = 'Google_Service_Compute_NamedPort';
13158 protected $namedPortsDataType = 'array';
13159 public $selfLink;
13160 public $targetPools;
13161 public $targetSize;
13162 public $zone;
13163
13164
13165 public function setBaseInstanceName($baseInstanceName)
13166 {
13167 $this->baseInstanceName = $baseInstanceName;
13168 }
13169 public function getBaseInstanceName()
13170 {
13171 return $this->baseInstanceName;
13172 }
13173 public function setCreationTimestamp($creationTimestamp)
13174 {
13175 $this->creationTimestamp = $creationTimestamp;
13176 }
13177 public function getCreationTimestamp()
13178 {
13179 return $this->creationTimestamp;
13180 }
13181 public function setCurrentActions(Google_Service_Compute_InstanceGroupManagerActionsSummary $currentActions)
13182 {
13183 $this->currentActions = $currentActions;
13184 }
13185 public function getCurrentActions()
13186 {
13187 return $this->currentActions;
13188 }
13189 public function setDescription($description)
13190 {
13191 $this->description = $description;
13192 }
13193 public function getDescription()
13194 {
13195 return $this->description;
13196 }
13197 public function setFingerprint($fingerprint)
13198 {
13199 $this->fingerprint = $fingerprint;
13200 }
13201 public function getFingerprint()
13202 {
13203 return $this->fingerprint;
13204 }
13205 public function setId($id)
13206 {
13207 $this->id = $id;
13208 }
13209 public function getId()
13210 {
13211 return $this->id;
13212 }
13213 public function setInstanceGroup($instanceGroup)
13214 {
13215 $this->instanceGroup = $instanceGroup;
13216 }
13217 public function getInstanceGroup()
13218 {
13219 return $this->instanceGroup;
13220 }
13221 public function setInstanceTemplate($instanceTemplate)
13222 {
13223 $this->instanceTemplate = $instanceTemplate;
13224 }
13225 public function getInstanceTemplate()
13226 {
13227 return $this->instanceTemplate;
13228 }
13229 public function setKind($kind)
13230 {
13231 $this->kind = $kind;
13232 }
13233 public function getKind()
13234 {
13235 return $this->kind;
13236 }
13237 public function setName($name)
13238 {
13239 $this->name = $name;
13240 }
13241 public function getName()
13242 {
13243 return $this->name;
13244 }
13245 public function setNamedPorts($namedPorts)
13246 {
13247 $this->namedPorts = $namedPorts;
13248 }
13249 public function getNamedPorts()
13250 {
13251 return $this->namedPorts;
13252 }
13253 public function setSelfLink($selfLink)
13254 {
13255 $this->selfLink = $selfLink;
13256 }
13257 public function getSelfLink()
13258 {
13259 return $this->selfLink;
13260 }
13261 public function setTargetPools($targetPools)
13262 {
13263 $this->targetPools = $targetPools;
13264 }
13265 public function getTargetPools()
13266 {
13267 return $this->targetPools;
13268 }
13269 public function setTargetSize($targetSize)
13270 {
13271 $this->targetSize = $targetSize;
13272 }
13273 public function getTargetSize()
13274 {
13275 return $this->targetSize;
13276 }
13277 public function setZone($zone)
13278 {
13279 $this->zone = $zone;
13280 }
13281 public function getZone()
13282 {
13283 return $this->zone;
13284 }
13285 }
13286
13287 class Google_Service_Compute_InstanceGroupManagerActionsSummary extends Google_Model
13288 {
13289 protected $internal_gapi_mappings = array(
13290 );
13291 public $abandoning;
13292 public $creating;
13293 public $deleting;
13294 public $none;
13295 public $recreating;
13296 public $refreshing;
13297 public $restarting;
13298
13299
13300 public function setAbandoning($abandoning)
13301 {
13302 $this->abandoning = $abandoning;
13303 }
13304 public function getAbandoning()
13305 {
13306 return $this->abandoning;
13307 }
13308 public function setCreating($creating)
13309 {
13310 $this->creating = $creating;
13311 }
13312 public function getCreating()
13313 {
13314 return $this->creating;
13315 }
13316 public function setDeleting($deleting)
13317 {
13318 $this->deleting = $deleting;
13319 }
13320 public function getDeleting()
13321 {
13322 return $this->deleting;
13323 }
13324 public function setNone($none)
13325 {
13326 $this->none = $none;
13327 }
13328 public function getNone()
13329 {
13330 return $this->none;
13331 }
13332 public function setRecreating($recreating)
13333 {
13334 $this->recreating = $recreating;
13335 }
13336 public function getRecreating()
13337 {
13338 return $this->recreating;
13339 }
13340 public function setRefreshing($refreshing)
13341 {
13342 $this->refreshing = $refreshing;
13343 }
13344 public function getRefreshing()
13345 {
13346 return $this->refreshing;
13347 }
13348 public function setRestarting($restarting)
13349 {
13350 $this->restarting = $restarting;
13351 }
13352 public function getRestarting()
13353 {
13354 return $this->restarting;
13355 }
13356 }
13357
13358 class Google_Service_Compute_InstanceGroupManagerAggregatedList extends Google_Model
13359 {
13360 protected $internal_gapi_mappings = array(
13361 );
13362 public $id;
13363 protected $itemsType = 'Google_Service_Compute_InstanceGroupManagersScopedList';
13364 protected $itemsDataType = 'map';
13365 public $kind;
13366 public $nextPageToken;
13367 public $selfLink;
13368
13369
13370 public function setId($id)
13371 {
13372 $this->id = $id;
13373 }
13374 public function getId()
13375 {
13376 return $this->id;
13377 }
13378 public function setItems($items)
13379 {
13380 $this->items = $items;
13381 }
13382 public function getItems()
13383 {
13384 return $this->items;
13385 }
13386 public function setKind($kind)
13387 {
13388 $this->kind = $kind;
13389 }
13390 public function getKind()
13391 {
13392 return $this->kind;
13393 }
13394 public function setNextPageToken($nextPageToken)
13395 {
13396 $this->nextPageToken = $nextPageToken;
13397 }
13398 public function getNextPageToken()
13399 {
13400 return $this->nextPageToken;
13401 }
13402 public function setSelfLink($selfLink)
13403 {
13404 $this->selfLink = $selfLink;
13405 }
13406 public function getSelfLink()
13407 {
13408 return $this->selfLink;
13409 }
13410 }
13411
13412 class Google_Service_Compute_InstanceGroupManagerList extends Google_Collection
13413 {
13414 protected $collection_key = 'items';
13415 protected $internal_gapi_mappings = array(
13416 );
13417 public $id;
13418 protected $itemsType = 'Google_Service_Compute_InstanceGroupManager';
13419 protected $itemsDataType = 'array';
13420 public $kind;
13421 public $nextPageToken;
13422 public $selfLink;
13423
13424
13425 public function setId($id)
13426 {
13427 $this->id = $id;
13428 }
13429 public function getId()
13430 {
13431 return $this->id;
13432 }
13433 public function setItems($items)
13434 {
13435 $this->items = $items;
13436 }
13437 public function getItems()
13438 {
13439 return $this->items;
13440 }
13441 public function setKind($kind)
13442 {
13443 $this->kind = $kind;
13444 }
13445 public function getKind()
13446 {
13447 return $this->kind;
13448 }
13449 public function setNextPageToken($nextPageToken)
13450 {
13451 $this->nextPageToken = $nextPageToken;
13452 }
13453 public function getNextPageToken()
13454 {
13455 return $this->nextPageToken;
13456 }
13457 public function setSelfLink($selfLink)
13458 {
13459 $this->selfLink = $selfLink;
13460 }
13461 public function getSelfLink()
13462 {
13463 return $this->selfLink;
13464 }
13465 }
13466
13467 class Google_Service_Compute_InstanceGroupManagersAbandonInstancesRequest extends Google_Collection
13468 {
13469 protected $collection_key = 'instances';
13470 protected $internal_gapi_mappings = array(
13471 );
13472 public $instances;
13473
13474
13475 public function setInstances($instances)
13476 {
13477 $this->instances = $instances;
13478 }
13479 public function getInstances()
13480 {
13481 return $this->instances;
13482 }
13483 }
13484
13485 class Google_Service_Compute_InstanceGroupManagersDeleteInstancesRequest extends Google_Collection
13486 {
13487 protected $collection_key = 'instances';
13488 protected $internal_gapi_mappings = array(
13489 );
13490 public $instances;
13491
13492
13493 public function setInstances($instances)
13494 {
13495 $this->instances = $instances;
13496 }
13497 public function getInstances()
13498 {
13499 return $this->instances;
13500 }
13501 }
13502
13503 class Google_Service_Compute_InstanceGroupManagersListManagedInstancesResponse extends Google_Collection
13504 {
13505 protected $collection_key = 'managedInstances';
13506 protected $internal_gapi_mappings = array(
13507 );
13508 protected $managedInstancesType = 'Google_Service_Compute_ManagedInstance';
13509 protected $managedInstancesDataType = 'array';
13510
13511
13512 public function setManagedInstances($managedInstances)
13513 {
13514 $this->managedInstances = $managedInstances;
13515 }
13516 public function getManagedInstances()
13517 {
13518 return $this->managedInstances;
13519 }
13520 }
13521
13522 class Google_Service_Compute_InstanceGroupManagersRecreateInstancesRequest extends Google_Collection
13523 {
13524 protected $collection_key = 'instances';
13525 protected $internal_gapi_mappings = array(
13526 );
13527 public $instances;
13528
13529
13530 public function setInstances($instances)
13531 {
13532 $this->instances = $instances;
13533 }
13534 public function getInstances()
13535 {
13536 return $this->instances;
13537 }
13538 }
13539
13540 class Google_Service_Compute_InstanceGroupManagersScopedList extends Google_Collection
13541 {
13542 protected $collection_key = 'instanceGroupManagers';
13543 protected $internal_gapi_mappings = array(
13544 );
13545 protected $instanceGroupManagersType = 'Google_Service_Compute_InstanceGroupManager';
13546 protected $instanceGroupManagersDataType = 'array';
13547 protected $warningType = 'Google_Service_Compute_InstanceGroupManagersScopedListWarning';
13548 protected $warningDataType = '';
13549
13550
13551 public function setInstanceGroupManagers($instanceGroupManagers)
13552 {
13553 $this->instanceGroupManagers = $instanceGroupManagers;
13554 }
13555 public function getInstanceGroupManagers()
13556 {
13557 return $this->instanceGroupManagers;
13558 }
13559 public function setWarning(Google_Service_Compute_InstanceGroupManagersScopedListWarning $warning)
13560 {
13561 $this->warning = $warning;
13562 }
13563 public function getWarning()
13564 {
13565 return $this->warning;
13566 }
13567 }
13568
13569 class Google_Service_Compute_InstanceGroupManagersScopedListWarning extends Google_Collection
13570 {
13571 protected $collection_key = 'data';
13572 protected $internal_gapi_mappings = array(
13573 );
13574 public $code;
13575 protected $dataType = 'Google_Service_Compute_InstanceGroupManagersScopedListWarningData';
13576 protected $dataDataType = 'array';
13577 public $message;
13578
13579
13580 public function setCode($code)
13581 {
13582 $this->code = $code;
13583 }
13584 public function getCode()
13585 {
13586 return $this->code;
13587 }
13588 public function setData($data)
13589 {
13590 $this->data = $data;
13591 }
13592 public function getData()
13593 {
13594 return $this->data;
13595 }
13596 public function setMessage($message)
13597 {
13598 $this->message = $message;
13599 }
13600 public function getMessage()
13601 {
13602 return $this->message;
13603 }
13604 }
13605
13606 class Google_Service_Compute_InstanceGroupManagersScopedListWarningData extends Google_Model
13607 {
13608 protected $internal_gapi_mappings = array(
13609 );
13610 public $key;
13611 public $value;
13612
13613
13614 public function setKey($key)
13615 {
13616 $this->key = $key;
13617 }
13618 public function getKey()
13619 {
13620 return $this->key;
13621 }
13622 public function setValue($value)
13623 {
13624 $this->value = $value;
13625 }
13626 public function getValue()
13627 {
13628 return $this->value;
13629 }
13630 }
13631
13632 class Google_Service_Compute_InstanceGroupManagersSetInstanceTemplateRequest extends Google_Model
13633 {
13634 protected $internal_gapi_mappings = array(
13635 );
13636 public $instanceTemplate;
13637
13638
13639 public function setInstanceTemplate($instanceTemplate)
13640 {
13641 $this->instanceTemplate = $instanceTemplate;
13642 }
13643 public function getInstanceTemplate()
13644 {
13645 return $this->instanceTemplate;
13646 }
13647 }
13648
13649 class Google_Service_Compute_InstanceGroupManagersSetTargetPoolsRequest extends Google_Collection
13650 {
13651 protected $collection_key = 'targetPools';
13652 protected $internal_gapi_mappings = array(
13653 );
13654 public $fingerprint;
13655 public $targetPools;
13656
13657
13658 public function setFingerprint($fingerprint)
13659 {
13660 $this->fingerprint = $fingerprint;
13661 }
13662 public function getFingerprint()
13663 {
13664 return $this->fingerprint;
13665 }
13666 public function setTargetPools($targetPools)
13667 {
13668 $this->targetPools = $targetPools;
13669 }
13670 public function getTargetPools()
13671 {
13672 return $this->targetPools;
13673 }
13674 }
13675
13676 class Google_Service_Compute_InstanceGroupsAddInstancesRequest extends Google_Collection
13677 {
13678 protected $collection_key = 'instances';
13679 protected $internal_gapi_mappings = array(
13680 );
13681 protected $instancesType = 'Google_Service_Compute_InstanceReference';
13682 protected $instancesDataType = 'array';
13683
13684
13685 public function setInstances($instances)
13686 {
13687 $this->instances = $instances;
13688 }
13689 public function getInstances()
13690 {
13691 return $this->instances;
13692 }
13693 }
13694
13695 class Google_Service_Compute_InstanceGroupsListInstances extends Google_Collection
13696 {
13697 protected $collection_key = 'items';
13698 protected $internal_gapi_mappings = array(
13699 );
13700 public $id;
13701 protected $itemsType = 'Google_Service_Compute_InstanceWithNamedPorts';
13702 protected $itemsDataType = 'array';
13703 public $kind;
13704 public $nextPageToken;
13705 public $selfLink;
13706
13707
13708 public function setId($id)
13709 {
13710 $this->id = $id;
13711 }
13712 public function getId()
13713 {
13714 return $this->id;
13715 }
13716 public function setItems($items)
13717 {
13718 $this->items = $items;
13719 }
13720 public function getItems()
13721 {
13722 return $this->items;
13723 }
13724 public function setKind($kind)
13725 {
13726 $this->kind = $kind;
13727 }
13728 public function getKind()
13729 {
13730 return $this->kind;
13731 }
13732 public function setNextPageToken($nextPageToken)
13733 {
13734 $this->nextPageToken = $nextPageToken;
13735 }
13736 public function getNextPageToken()
13737 {
13738 return $this->nextPageToken;
13739 }
13740 public function setSelfLink($selfLink)
13741 {
13742 $this->selfLink = $selfLink;
13743 }
13744 public function getSelfLink()
13745 {
13746 return $this->selfLink;
13747 }
13748 }
13749
13750 class Google_Service_Compute_InstanceGroupsListInstancesRequest extends Google_Model
13751 {
13752 protected $internal_gapi_mappings = array(
13753 );
13754 public $instanceState;
13755
13756
13757 public function setInstanceState($instanceState)
13758 {
13759 $this->instanceState = $instanceState;
13760 }
13761 public function getInstanceState()
13762 {
13763 return $this->instanceState;
13764 }
13765 }
13766
13767 class Google_Service_Compute_InstanceGroupsRemoveInstancesRequest extends Google_Collection
13768 {
13769 protected $collection_key = 'instances';
13770 protected $internal_gapi_mappings = array(
13771 );
13772 protected $instancesType = 'Google_Service_Compute_InstanceReference';
13773 protected $instancesDataType = 'array';
13774
13775
13776 public function setInstances($instances)
13777 {
13778 $this->instances = $instances;
13779 }
13780 public function getInstances()
13781 {
13782 return $this->instances;
13783 }
13784 }
13785
13786 class Google_Service_Compute_InstanceGroupsScopedList extends Google_Collection
13787 {
13788 protected $collection_key = 'instanceGroups';
13789 protected $internal_gapi_mappings = array(
13790 );
13791 protected $instanceGroupsType = 'Google_Service_Compute_InstanceGroup';
13792 protected $instanceGroupsDataType = 'array';
13793 protected $warningType = 'Google_Service_Compute_InstanceGroupsScopedListWarning';
13794 protected $warningDataType = '';
13795
13796
13797 public function setInstanceGroups($instanceGroups)
13798 {
13799 $this->instanceGroups = $instanceGroups;
13800 }
13801 public function getInstanceGroups()
13802 {
13803 return $this->instanceGroups;
13804 }
13805 public function setWarning(Google_Service_Compute_InstanceGroupsScopedListWarning $warning)
13806 {
13807 $this->warning = $warning;
13808 }
13809 public function getWarning()
13810 {
13811 return $this->warning;
13812 }
13813 }
13814
13815 class Google_Service_Compute_InstanceGroupsScopedListWarning extends Google_Collection
13816 {
13817 protected $collection_key = 'data';
13818 protected $internal_gapi_mappings = array(
13819 );
13820 public $code;
13821 protected $dataType = 'Google_Service_Compute_InstanceGroupsScopedListWarningData';
13822 protected $dataDataType = 'array';
13823 public $message;
13824
13825
13826 public function setCode($code)
13827 {
13828 $this->code = $code;
13829 }
13830 public function getCode()
13831 {
13832 return $this->code;
13833 }
13834 public function setData($data)
13835 {
13836 $this->data = $data;
13837 }
13838 public function getData()
13839 {
13840 return $this->data;
13841 }
13842 public function setMessage($message)
13843 {
13844 $this->message = $message;
13845 }
13846 public function getMessage()
13847 {
13848 return $this->message;
13849 }
13850 }
13851
13852 class Google_Service_Compute_InstanceGroupsScopedListWarningData extends Google_Model
13853 {
13854 protected $internal_gapi_mappings = array(
13855 );
13856 public $key;
13857 public $value;
13858
13859
13860 public function setKey($key)
13861 {
13862 $this->key = $key;
13863 }
13864 public function getKey()
13865 {
13866 return $this->key;
13867 }
13868 public function setValue($value)
13869 {
13870 $this->value = $value;
13871 }
13872 public function getValue()
13873 {
13874 return $this->value;
13875 }
13876 }
13877
13878 class Google_Service_Compute_InstanceGroupsSetNamedPortsRequest extends Google_Collection
13879 {
13880 protected $collection_key = 'namedPorts';
13881 protected $internal_gapi_mappings = array(
13882 );
13883 public $fingerprint;
13884 protected $namedPortsType = 'Google_Service_Compute_NamedPort';
13885 protected $namedPortsDataType = 'array';
13886
13887
13888 public function setFingerprint($fingerprint)
13889 {
13890 $this->fingerprint = $fingerprint;
13891 }
13892 public function getFingerprint()
13893 {
13894 return $this->fingerprint;
13895 }
13896 public function setNamedPorts($namedPorts)
13897 {
13898 $this->namedPorts = $namedPorts;
13899 }
13900 public function getNamedPorts()
13901 {
13902 return $this->namedPorts;
13903 }
13904 }
13905
13906 class Google_Service_Compute_InstanceList extends Google_Collection
13907 {
13908 protected $collection_key = 'items';
13909 protected $internal_gapi_mappings = array(
13910 );
13911 public $id;
13912 protected $itemsType = 'Google_Service_Compute_Instance';
13913 protected $itemsDataType = 'array';
13914 public $kind;
13915 public $nextPageToken;
13916 public $selfLink;
13917
13918
13919 public function setId($id)
13920 {
13921 $this->id = $id;
13922 }
13923 public function getId()
13924 {
13925 return $this->id;
13926 }
13927 public function setItems($items)
13928 {
13929 $this->items = $items;
13930 }
13931 public function getItems()
13932 {
13933 return $this->items;
13934 }
13935 public function setKind($kind)
13936 {
13937 $this->kind = $kind;
13938 }
13939 public function getKind()
13940 {
13941 return $this->kind;
13942 }
13943 public function setNextPageToken($nextPageToken)
13944 {
13945 $this->nextPageToken = $nextPageToken;
13946 }
13947 public function getNextPageToken()
13948 {
13949 return $this->nextPageToken;
13950 }
13951 public function setSelfLink($selfLink)
13952 {
13953 $this->selfLink = $selfLink;
13954 }
13955 public function getSelfLink()
13956 {
13957 return $this->selfLink;
13958 }
13959 }
13960
13961 class Google_Service_Compute_InstanceMoveRequest extends Google_Model
13962 {
13963 protected $internal_gapi_mappings = array(
13964 );
13965 public $destinationZone;
13966 public $targetInstance;
13967
13968
13969 public function setDestinationZone($destinationZone)
13970 {
13971 $this->destinationZone = $destinationZone;
13972 }
13973 public function getDestinationZone()
13974 {
13975 return $this->destinationZone;
13976 }
13977 public function setTargetInstance($targetInstance)
13978 {
13979 $this->targetInstance = $targetInstance;
13980 }
13981 public function getTargetInstance()
13982 {
13983 return $this->targetInstance;
13984 }
13985 }
13986
13987 class Google_Service_Compute_InstanceProperties extends Google_Collection
13988 {
13989 protected $collection_key = 'serviceAccounts';
13990 protected $internal_gapi_mappings = array(
13991 );
13992 public $canIpForward;
13993 public $description;
13994 protected $disksType = 'Google_Service_Compute_AttachedDisk';
13995 protected $disksDataType = 'array';
13996 public $machineType;
13997 protected $metadataType = 'Google_Service_Compute_Metadata';
13998 protected $metadataDataType = '';
13999 protected $networkInterfacesType = 'Google_Service_Compute_NetworkInterface';
14000 protected $networkInterfacesDataType = 'array';
14001 protected $schedulingType = 'Google_Service_Compute_Scheduling';
14002 protected $schedulingDataType = '';
14003 protected $serviceAccountsType = 'Google_Service_Compute_ServiceAccount';
14004 protected $serviceAccountsDataType = 'array';
14005 protected $tagsType = 'Google_Service_Compute_Tags';
14006 protected $tagsDataType = '';
14007
14008
14009 public function setCanIpForward($canIpForward)
14010 {
14011 $this->canIpForward = $canIpForward;
14012 }
14013 public function getCanIpForward()
14014 {
14015 return $this->canIpForward;
14016 }
14017 public function setDescription($description)
14018 {
14019 $this->description = $description;
14020 }
14021 public function getDescription()
14022 {
14023 return $this->description;
14024 }
14025 public function setDisks($disks)
14026 {
14027 $this->disks = $disks;
14028 }
14029 public function getDisks()
14030 {
14031 return $this->disks;
14032 }
14033 public function setMachineType($machineType)
14034 {
14035 $this->machineType = $machineType;
14036 }
14037 public function getMachineType()
14038 {
14039 return $this->machineType;
14040 }
14041 public function setMetadata(Google_Service_Compute_Metadata $metadata)
14042 {
14043 $this->metadata = $metadata;
14044 }
14045 public function getMetadata()
14046 {
14047 return $this->metadata;
14048 }
14049 public function setNetworkInterfaces($networkInterfaces)
14050 {
14051 $this->networkInterfaces = $networkInterfaces;
14052 }
14053 public function getNetworkInterfaces()
14054 {
14055 return $this->networkInterfaces;
14056 }
14057 public function setScheduling(Google_Service_Compute_Scheduling $scheduling)
14058 {
14059 $this->scheduling = $scheduling;
14060 }
14061 public function getScheduling()
14062 {
14063 return $this->scheduling;
14064 }
14065 public function setServiceAccounts($serviceAccounts)
14066 {
14067 $this->serviceAccounts = $serviceAccounts;
14068 }
14069 public function getServiceAccounts()
14070 {
14071 return $this->serviceAccounts;
14072 }
14073 public function setTags(Google_Service_Compute_Tags $tags)
14074 {
14075 $this->tags = $tags;
14076 }
14077 public function getTags()
14078 {
14079 return $this->tags;
14080 }
14081 }
14082
14083 class Google_Service_Compute_InstanceReference extends Google_Model
14084 {
14085 protected $internal_gapi_mappings = array(
14086 );
14087 public $instance;
14088
14089
14090 public function setInstance($instance)
14091 {
14092 $this->instance = $instance;
14093 }
14094 public function getInstance()
14095 {
14096 return $this->instance;
14097 }
14098 }
14099
14100 class Google_Service_Compute_InstanceTemplate extends Google_Model
14101 {
14102 protected $internal_gapi_mappings = array(
14103 );
14104 public $creationTimestamp;
14105 public $description;
14106 public $id;
14107 public $kind;
14108 public $name;
14109 protected $propertiesType = 'Google_Service_Compute_InstanceProperties';
14110 protected $propertiesDataType = '';
14111 public $selfLink;
14112
14113
14114 public function setCreationTimestamp($creationTimestamp)
14115 {
14116 $this->creationTimestamp = $creationTimestamp;
14117 }
14118 public function getCreationTimestamp()
14119 {
14120 return $this->creationTimestamp;
14121 }
14122 public function setDescription($description)
14123 {
14124 $this->description = $description;
14125 }
14126 public function getDescription()
14127 {
14128 return $this->description;
14129 }
14130 public function setId($id)
14131 {
14132 $this->id = $id;
14133 }
14134 public function getId()
14135 {
14136 return $this->id;
14137 }
14138 public function setKind($kind)
14139 {
14140 $this->kind = $kind;
14141 }
14142 public function getKind()
14143 {
14144 return $this->kind;
14145 }
14146 public function setName($name)
14147 {
14148 $this->name = $name;
14149 }
14150 public function getName()
14151 {
14152 return $this->name;
14153 }
14154 public function setProperties(Google_Service_Compute_InstanceProperties $properties)
14155 {
14156 $this->properties = $properties;
14157 }
14158 public function getProperties()
14159 {
14160 return $this->properties;
14161 }
14162 public function setSelfLink($selfLink)
14163 {
14164 $this->selfLink = $selfLink;
14165 }
14166 public function getSelfLink()
14167 {
14168 return $this->selfLink;
14169 }
14170 }
14171
14172 class Google_Service_Compute_InstanceTemplateList extends Google_Collection
14173 {
14174 protected $collection_key = 'items';
14175 protected $internal_gapi_mappings = array(
14176 );
14177 public $id;
14178 protected $itemsType = 'Google_Service_Compute_InstanceTemplate';
14179 protected $itemsDataType = 'array';
14180 public $kind;
14181 public $nextPageToken;
14182 public $selfLink;
14183
14184
14185 public function setId($id)
14186 {
14187 $this->id = $id;
14188 }
14189 public function getId()
14190 {
14191 return $this->id;
14192 }
14193 public function setItems($items)
14194 {
14195 $this->items = $items;
14196 }
14197 public function getItems()
14198 {
14199 return $this->items;
14200 }
14201 public function setKind($kind)
14202 {
14203 $this->kind = $kind;
14204 }
14205 public function getKind()
14206 {
14207 return $this->kind;
14208 }
14209 public function setNextPageToken($nextPageToken)
14210 {
14211 $this->nextPageToken = $nextPageToken;
14212 }
14213 public function getNextPageToken()
14214 {
14215 return $this->nextPageToken;
14216 }
14217 public function setSelfLink($selfLink)
14218 {
14219 $this->selfLink = $selfLink;
14220 }
14221 public function getSelfLink()
14222 {
14223 return $this->selfLink;
14224 }
14225 }
14226
14227 class Google_Service_Compute_InstanceWithNamedPorts extends Google_Collection
14228 {
14229 protected $collection_key = 'namedPorts';
14230 protected $internal_gapi_mappings = array(
14231 );
14232 public $instance;
14233 protected $namedPortsType = 'Google_Service_Compute_NamedPort';
14234 protected $namedPortsDataType = 'array';
14235 public $status;
14236
14237
14238 public function setInstance($instance)
14239 {
14240 $this->instance = $instance;
14241 }
14242 public function getInstance()
14243 {
14244 return $this->instance;
14245 }
14246 public function setNamedPorts($namedPorts)
14247 {
14248 $this->namedPorts = $namedPorts;
14249 }
14250 public function getNamedPorts()
14251 {
14252 return $this->namedPorts;
14253 }
14254 public function setStatus($status)
14255 {
14256 $this->status = $status;
14257 }
14258 public function getStatus()
14259 {
14260 return $this->status;
14261 }
14262 }
14263
14264 class Google_Service_Compute_InstancesScopedList extends Google_Collection
14265 {
14266 protected $collection_key = 'instances';
14267 protected $internal_gapi_mappings = array(
14268 );
14269 protected $instancesType = 'Google_Service_Compute_Instance';
14270 protected $instancesDataType = 'array';
14271 protected $warningType = 'Google_Service_Compute_InstancesScopedListWarning';
14272 protected $warningDataType = '';
14273
14274
14275 public function setInstances($instances)
14276 {
14277 $this->instances = $instances;
14278 }
14279 public function getInstances()
14280 {
14281 return $this->instances;
14282 }
14283 public function setWarning(Google_Service_Compute_InstancesScopedListWarning $warning)
14284 {
14285 $this->warning = $warning;
14286 }
14287 public function getWarning()
14288 {
14289 return $this->warning;
14290 }
14291 }
14292
14293 class Google_Service_Compute_InstancesScopedListWarning extends Google_Collection
14294 {
14295 protected $collection_key = 'data';
14296 protected $internal_gapi_mappings = array(
14297 );
14298 public $code;
14299 protected $dataType = 'Google_Service_Compute_InstancesScopedListWarningData';
14300 protected $dataDataType = 'array';
14301 public $message;
14302
14303
14304 public function setCode($code)
14305 {
14306 $this->code = $code;
14307 }
14308 public function getCode()
14309 {
14310 return $this->code;
14311 }
14312 public function setData($data)
14313 {
14314 $this->data = $data;
14315 }
14316 public function getData()
14317 {
14318 return $this->data;
14319 }
14320 public function setMessage($message)
14321 {
14322 $this->message = $message;
14323 }
14324 public function getMessage()
14325 {
14326 return $this->message;
14327 }
14328 }
14329
14330 class Google_Service_Compute_InstancesScopedListWarningData extends Google_Model
14331 {
14332 protected $internal_gapi_mappings = array(
14333 );
14334 public $key;
14335 public $value;
14336
14337
14338 public function setKey($key)
14339 {
14340 $this->key = $key;
14341 }
14342 public function getKey()
14343 {
14344 return $this->key;
14345 }
14346 public function setValue($value)
14347 {
14348 $this->value = $value;
14349 }
14350 public function getValue()
14351 {
14352 return $this->value;
14353 }
14354 }
14355
14356 class Google_Service_Compute_InstancesSetMachineTypeRequest extends Google_Model
14357 {
14358 protected $internal_gapi_mappings = array(
14359 );
14360 public $machineType;
14361
14362
14363 public function setMachineType($machineType)
14364 {
14365 $this->machineType = $machineType;
14366 }
14367 public function getMachineType()
14368 {
14369 return $this->machineType;
14370 }
14371 }
14372
14373 class Google_Service_Compute_License extends Google_Model
14374 {
14375 protected $internal_gapi_mappings = array(
14376 );
14377 public $chargesUseFee;
14378 public $kind;
14379 public $name;
14380 public $selfLink;
14381
14382
14383 public function setChargesUseFee($chargesUseFee)
14384 {
14385 $this->chargesUseFee = $chargesUseFee;
14386 }
14387 public function getChargesUseFee()
14388 {
14389 return $this->chargesUseFee;
14390 }
14391 public function setKind($kind)
14392 {
14393 $this->kind = $kind;
14394 }
14395 public function getKind()
14396 {
14397 return $this->kind;
14398 }
14399 public function setName($name)
14400 {
14401 $this->name = $name;
14402 }
14403 public function getName()
14404 {
14405 return $this->name;
14406 }
14407 public function setSelfLink($selfLink)
14408 {
14409 $this->selfLink = $selfLink;
14410 }
14411 public function getSelfLink()
14412 {
14413 return $this->selfLink;
14414 }
14415 }
14416
14417 class Google_Service_Compute_MachineType extends Google_Collection
14418 {
14419 protected $collection_key = 'scratchDisks';
14420 protected $internal_gapi_mappings = array(
14421 );
14422 public $creationTimestamp;
14423 protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
14424 protected $deprecatedDataType = '';
14425 public $description;
14426 public $guestCpus;
14427 public $id;
14428 public $imageSpaceGb;
14429 public $kind;
14430 public $maximumPersistentDisks;
14431 public $maximumPersistentDisksSizeGb;
14432 public $memoryMb;
14433 public $name;
14434 protected $scratchDisksType = 'Google_Service_Compute_MachineTypeScratchDisks';
14435 protected $scratchDisksDataType = 'array';
14436 public $selfLink;
14437 public $zone;
14438
14439
14440 public function setCreationTimestamp($creationTimestamp)
14441 {
14442 $this->creationTimestamp = $creationTimestamp;
14443 }
14444 public function getCreationTimestamp()
14445 {
14446 return $this->creationTimestamp;
14447 }
14448 public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
14449 {
14450 $this->deprecated = $deprecated;
14451 }
14452 public function getDeprecated()
14453 {
14454 return $this->deprecated;
14455 }
14456 public function setDescription($description)
14457 {
14458 $this->description = $description;
14459 }
14460 public function getDescription()
14461 {
14462 return $this->description;
14463 }
14464 public function setGuestCpus($guestCpus)
14465 {
14466 $this->guestCpus = $guestCpus;
14467 }
14468 public function getGuestCpus()
14469 {
14470 return $this->guestCpus;
14471 }
14472 public function setId($id)
14473 {
14474 $this->id = $id;
14475 }
14476 public function getId()
14477 {
14478 return $this->id;
14479 }
14480 public function setImageSpaceGb($imageSpaceGb)
14481 {
14482 $this->imageSpaceGb = $imageSpaceGb;
14483 }
14484 public function getImageSpaceGb()
14485 {
14486 return $this->imageSpaceGb;
14487 }
14488 public function setKind($kind)
14489 {
14490 $this->kind = $kind;
14491 }
14492 public function getKind()
14493 {
14494 return $this->kind;
14495 }
14496 public function setMaximumPersistentDisks($maximumPersistentDisks)
14497 {
14498 $this->maximumPersistentDisks = $maximumPersistentDisks;
14499 }
14500 public function getMaximumPersistentDisks()
14501 {
14502 return $this->maximumPersistentDisks;
14503 }
14504 public function setMaximumPersistentDisksSizeGb($maximumPersistentDisksSizeGb)
14505 {
14506 $this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb;
14507 }
14508 public function getMaximumPersistentDisksSizeGb()
14509 {
14510 return $this->maximumPersistentDisksSizeGb;
14511 }
14512 public function setMemoryMb($memoryMb)
14513 {
14514 $this->memoryMb = $memoryMb;
14515 }
14516 public function getMemoryMb()
14517 {
14518 return $this->memoryMb;
14519 }
14520 public function setName($name)
14521 {
14522 $this->name = $name;
14523 }
14524 public function getName()
14525 {
14526 return $this->name;
14527 }
14528 public function setScratchDisks($scratchDisks)
14529 {
14530 $this->scratchDisks = $scratchDisks;
14531 }
14532 public function getScratchDisks()
14533 {
14534 return $this->scratchDisks;
14535 }
14536 public function setSelfLink($selfLink)
14537 {
14538 $this->selfLink = $selfLink;
14539 }
14540 public function getSelfLink()
14541 {
14542 return $this->selfLink;
14543 }
14544 public function setZone($zone)
14545 {
14546 $this->zone = $zone;
14547 }
14548 public function getZone()
14549 {
14550 return $this->zone;
14551 }
14552 }
14553
14554 class Google_Service_Compute_MachineTypeAggregatedList extends Google_Model
14555 {
14556 protected $internal_gapi_mappings = array(
14557 );
14558 public $id;
14559 protected $itemsType = 'Google_Service_Compute_MachineTypesScopedList';
14560 protected $itemsDataType = 'map';
14561 public $kind;
14562 public $nextPageToken;
14563 public $selfLink;
14564
14565
14566 public function setId($id)
14567 {
14568 $this->id = $id;
14569 }
14570 public function getId()
14571 {
14572 return $this->id;
14573 }
14574 public function setItems($items)
14575 {
14576 $this->items = $items;
14577 }
14578 public function getItems()
14579 {
14580 return $this->items;
14581 }
14582 public function setKind($kind)
14583 {
14584 $this->kind = $kind;
14585 }
14586 public function getKind()
14587 {
14588 return $this->kind;
14589 }
14590 public function setNextPageToken($nextPageToken)
14591 {
14592 $this->nextPageToken = $nextPageToken;
14593 }
14594 public function getNextPageToken()
14595 {
14596 return $this->nextPageToken;
14597 }
14598 public function setSelfLink($selfLink)
14599 {
14600 $this->selfLink = $selfLink;
14601 }
14602 public function getSelfLink()
14603 {
14604 return $this->selfLink;
14605 }
14606 }
14607
14608 class Google_Service_Compute_MachineTypeList extends Google_Collection
14609 {
14610 protected $collection_key = 'items';
14611 protected $internal_gapi_mappings = array(
14612 );
14613 public $id;
14614 protected $itemsType = 'Google_Service_Compute_MachineType';
14615 protected $itemsDataType = 'array';
14616 public $kind;
14617 public $nextPageToken;
14618 public $selfLink;
14619
14620
14621 public function setId($id)
14622 {
14623 $this->id = $id;
14624 }
14625 public function getId()
14626 {
14627 return $this->id;
14628 }
14629 public function setItems($items)
14630 {
14631 $this->items = $items;
14632 }
14633 public function getItems()
14634 {
14635 return $this->items;
14636 }
14637 public function setKind($kind)
14638 {
14639 $this->kind = $kind;
14640 }
14641 public function getKind()
14642 {
14643 return $this->kind;
14644 }
14645 public function setNextPageToken($nextPageToken)
14646 {
14647 $this->nextPageToken = $nextPageToken;
14648 }
14649 public function getNextPageToken()
14650 {
14651 return $this->nextPageToken;
14652 }
14653 public function setSelfLink($selfLink)
14654 {
14655 $this->selfLink = $selfLink;
14656 }
14657 public function getSelfLink()
14658 {
14659 return $this->selfLink;
14660 }
14661 }
14662
14663 class Google_Service_Compute_MachineTypeScratchDisks extends Google_Model
14664 {
14665 protected $internal_gapi_mappings = array(
14666 );
14667 public $diskGb;
14668
14669
14670 public function setDiskGb($diskGb)
14671 {
14672 $this->diskGb = $diskGb;
14673 }
14674 public function getDiskGb()
14675 {
14676 return $this->diskGb;
14677 }
14678 }
14679
14680 class Google_Service_Compute_MachineTypesScopedList extends Google_Collection
14681 {
14682 protected $collection_key = 'machineTypes';
14683 protected $internal_gapi_mappings = array(
14684 );
14685 protected $machineTypesType = 'Google_Service_Compute_MachineType';
14686 protected $machineTypesDataType = 'array';
14687 protected $warningType = 'Google_Service_Compute_MachineTypesScopedListWarning';
14688 protected $warningDataType = '';
14689
14690
14691 public function setMachineTypes($machineTypes)
14692 {
14693 $this->machineTypes = $machineTypes;
14694 }
14695 public function getMachineTypes()
14696 {
14697 return $this->machineTypes;
14698 }
14699 public function setWarning(Google_Service_Compute_MachineTypesScopedListWarning $warning)
14700 {
14701 $this->warning = $warning;
14702 }
14703 public function getWarning()
14704 {
14705 return $this->warning;
14706 }
14707 }
14708
14709 class Google_Service_Compute_MachineTypesScopedListWarning extends Google_Collection
14710 {
14711 protected $collection_key = 'data';
14712 protected $internal_gapi_mappings = array(
14713 );
14714 public $code;
14715 protected $dataType = 'Google_Service_Compute_MachineTypesScopedListWarningData';
14716 protected $dataDataType = 'array';
14717 public $message;
14718
14719
14720 public function setCode($code)
14721 {
14722 $this->code = $code;
14723 }
14724 public function getCode()
14725 {
14726 return $this->code;
14727 }
14728 public function setData($data)
14729 {
14730 $this->data = $data;
14731 }
14732 public function getData()
14733 {
14734 return $this->data;
14735 }
14736 public function setMessage($message)
14737 {
14738 $this->message = $message;
14739 }
14740 public function getMessage()
14741 {
14742 return $this->message;
14743 }
14744 }
14745
14746 class Google_Service_Compute_MachineTypesScopedListWarningData extends Google_Model
14747 {
14748 protected $internal_gapi_mappings = array(
14749 );
14750 public $key;
14751 public $value;
14752
14753
14754 public function setKey($key)
14755 {
14756 $this->key = $key;
14757 }
14758 public function getKey()
14759 {
14760 return $this->key;
14761 }
14762 public function setValue($value)
14763 {
14764 $this->value = $value;
14765 }
14766 public function getValue()
14767 {
14768 return $this->value;
14769 }
14770 }
14771
14772 class Google_Service_Compute_ManagedInstance extends Google_Model
14773 {
14774 protected $internal_gapi_mappings = array(
14775 );
14776 public $currentAction;
14777 public $id;
14778 public $instance;
14779 public $instanceStatus;
14780 protected $lastAttemptType = 'Google_Service_Compute_ManagedInstanceLastAttempt';
14781 protected $lastAttemptDataType = '';
14782
14783
14784 public function setCurrentAction($currentAction)
14785 {
14786 $this->currentAction = $currentAction;
14787 }
14788 public function getCurrentAction()
14789 {
14790 return $this->currentAction;
14791 }
14792 public function setId($id)
14793 {
14794 $this->id = $id;
14795 }
14796 public function getId()
14797 {
14798 return $this->id;
14799 }
14800 public function setInstance($instance)
14801 {
14802 $this->instance = $instance;
14803 }
14804 public function getInstance()
14805 {
14806 return $this->instance;
14807 }
14808 public function setInstanceStatus($instanceStatus)
14809 {
14810 $this->instanceStatus = $instanceStatus;
14811 }
14812 public function getInstanceStatus()
14813 {
14814 return $this->instanceStatus;
14815 }
14816 public function setLastAttempt(Google_Service_Compute_ManagedInstanceLastAttempt $lastAttempt)
14817 {
14818 $this->lastAttempt = $lastAttempt;
14819 }
14820 public function getLastAttempt()
14821 {
14822 return $this->lastAttempt;
14823 }
14824 }
14825
14826 class Google_Service_Compute_ManagedInstanceLastAttempt extends Google_Model
14827 {
14828 protected $internal_gapi_mappings = array(
14829 );
14830 protected $errorsType = 'Google_Service_Compute_ManagedInstanceLastAttemptErrors';
14831 protected $errorsDataType = '';
14832
14833
14834 public function setErrors(Google_Service_Compute_ManagedInstanceLastAttemptErrors $errors)
14835 {
14836 $this->errors = $errors;
14837 }
14838 public function getErrors()
14839 {
14840 return $this->errors;
14841 }
14842 }
14843
14844 class Google_Service_Compute_ManagedInstanceLastAttemptErrors extends Google_Collection
14845 {
14846 protected $collection_key = 'errors';
14847 protected $internal_gapi_mappings = array(
14848 );
14849 protected $errorsType = 'Google_Service_Compute_ManagedInstanceLastAttemptErrorsErrors';
14850 protected $errorsDataType = 'array';
14851
14852
14853 public function setErrors($errors)
14854 {
14855 $this->errors = $errors;
14856 }
14857 public function getErrors()
14858 {
14859 return $this->errors;
14860 }
14861 }
14862
14863 class Google_Service_Compute_ManagedInstanceLastAttemptErrorsErrors extends Google_Model
14864 {
14865 protected $internal_gapi_mappings = array(
14866 );
14867 public $code;
14868 public $location;
14869 public $message;
14870
14871
14872 public function setCode($code)
14873 {
14874 $this->code = $code;
14875 }
14876 public function getCode()
14877 {
14878 return $this->code;
14879 }
14880 public function setLocation($location)
14881 {
14882 $this->location = $location;
14883 }
14884 public function getLocation()
14885 {
14886 return $this->location;
14887 }
14888 public function setMessage($message)
14889 {
14890 $this->message = $message;
14891 }
14892 public function getMessage()
14893 {
14894 return $this->message;
14895 }
14896 }
14897
14898 class Google_Service_Compute_Metadata extends Google_Collection
14899 {
14900 protected $collection_key = 'items';
14901 protected $internal_gapi_mappings = array(
14902 );
14903 public $fingerprint;
14904 protected $itemsType = 'Google_Service_Compute_MetadataItems';
14905 protected $itemsDataType = 'array';
14906 public $kind;
14907
14908
14909 public function setFingerprint($fingerprint)
14910 {
14911 $this->fingerprint = $fingerprint;
14912 }
14913 public function getFingerprint()
14914 {
14915 return $this->fingerprint;
14916 }
14917 public function setItems($items)
14918 {
14919 $this->items = $items;
14920 }
14921 public function getItems()
14922 {
14923 return $this->items;
14924 }
14925 public function setKind($kind)
14926 {
14927 $this->kind = $kind;
14928 }
14929 public function getKind()
14930 {
14931 return $this->kind;
14932 }
14933 }
14934
14935 class Google_Service_Compute_MetadataItems extends Google_Model
14936 {
14937 protected $internal_gapi_mappings = array(
14938 );
14939 public $key;
14940 public $value;
14941
14942
14943 public function setKey($key)
14944 {
14945 $this->key = $key;
14946 }
14947 public function getKey()
14948 {
14949 return $this->key;
14950 }
14951 public function setValue($value)
14952 {
14953 $this->value = $value;
14954 }
14955 public function getValue()
14956 {
14957 return $this->value;
14958 }
14959 }
14960
14961 class Google_Service_Compute_NamedPort extends Google_Model
14962 {
14963 protected $internal_gapi_mappings = array(
14964 );
14965 public $name;
14966 public $port;
14967
14968
14969 public function setName($name)
14970 {
14971 $this->name = $name;
14972 }
14973 public function getName()
14974 {
14975 return $this->name;
14976 }
14977 public function setPort($port)
14978 {
14979 $this->port = $port;
14980 }
14981 public function getPort()
14982 {
14983 return $this->port;
14984 }
14985 }
14986
14987 class Google_Service_Compute_Network extends Google_Collection
14988 {
14989 protected $collection_key = 'subnetworks';
14990 protected $internal_gapi_mappings = array(
14991 "iPv4Range" => "IPv4Range",
14992 );
14993 public $iPv4Range;
14994 public $autoCreateSubnetworks;
14995 public $creationTimestamp;
14996 public $description;
14997 public $gatewayIPv4;
14998 public $id;
14999 public $kind;
15000 public $name;
15001 public $selfLink;
15002 public $subnetworks;
15003
15004
15005 public function setIPv4Range($iPv4Range)
15006 {
15007 $this->iPv4Range = $iPv4Range;
15008 }
15009 public function getIPv4Range()
15010 {
15011 return $this->iPv4Range;
15012 }
15013 public function setAutoCreateSubnetworks($autoCreateSubnetworks)
15014 {
15015 $this->autoCreateSubnetworks = $autoCreateSubnetworks;
15016 }
15017 public function getAutoCreateSubnetworks()
15018 {
15019 return $this->autoCreateSubnetworks;
15020 }
15021 public function setCreationTimestamp($creationTimestamp)
15022 {
15023 $this->creationTimestamp = $creationTimestamp;
15024 }
15025 public function getCreationTimestamp()
15026 {
15027 return $this->creationTimestamp;
15028 }
15029 public function setDescription($description)
15030 {
15031 $this->description = $description;
15032 }
15033 public function getDescription()
15034 {
15035 return $this->description;
15036 }
15037 public function setGatewayIPv4($gatewayIPv4)
15038 {
15039 $this->gatewayIPv4 = $gatewayIPv4;
15040 }
15041 public function getGatewayIPv4()
15042 {
15043 return $this->gatewayIPv4;
15044 }
15045 public function setId($id)
15046 {
15047 $this->id = $id;
15048 }
15049 public function getId()
15050 {
15051 return $this->id;
15052 }
15053 public function setKind($kind)
15054 {
15055 $this->kind = $kind;
15056 }
15057 public function getKind()
15058 {
15059 return $this->kind;
15060 }
15061 public function setName($name)
15062 {
15063 $this->name = $name;
15064 }
15065 public function getName()
15066 {
15067 return $this->name;
15068 }
15069 public function setSelfLink($selfLink)
15070 {
15071 $this->selfLink = $selfLink;
15072 }
15073 public function getSelfLink()
15074 {
15075 return $this->selfLink;
15076 }
15077 public function setSubnetworks($subnetworks)
15078 {
15079 $this->subnetworks = $subnetworks;
15080 }
15081 public function getSubnetworks()
15082 {
15083 return $this->subnetworks;
15084 }
15085 }
15086
15087 class Google_Service_Compute_NetworkInterface extends Google_Collection
15088 {
15089 protected $collection_key = 'accessConfigs';
15090 protected $internal_gapi_mappings = array(
15091 );
15092 protected $accessConfigsType = 'Google_Service_Compute_AccessConfig';
15093 protected $accessConfigsDataType = 'array';
15094 public $name;
15095 public $network;
15096 public $networkIP;
15097 public $subnetwork;
15098
15099
15100 public function setAccessConfigs($accessConfigs)
15101 {
15102 $this->accessConfigs = $accessConfigs;
15103 }
15104 public function getAccessConfigs()
15105 {
15106 return $this->accessConfigs;
15107 }
15108 public function setName($name)
15109 {
15110 $this->name = $name;
15111 }
15112 public function getName()
15113 {
15114 return $this->name;
15115 }
15116 public function setNetwork($network)
15117 {
15118 $this->network = $network;
15119 }
15120 public function getNetwork()
15121 {
15122 return $this->network;
15123 }
15124 public function setNetworkIP($networkIP)
15125 {
15126 $this->networkIP = $networkIP;
15127 }
15128 public function getNetworkIP()
15129 {
15130 return $this->networkIP;
15131 }
15132 public function setSubnetwork($subnetwork)
15133 {
15134 $this->subnetwork = $subnetwork;
15135 }
15136 public function getSubnetwork()
15137 {
15138 return $this->subnetwork;
15139 }
15140 }
15141
15142 class Google_Service_Compute_NetworkList extends Google_Collection
15143 {
15144 protected $collection_key = 'items';
15145 protected $internal_gapi_mappings = array(
15146 );
15147 public $id;
15148 protected $itemsType = 'Google_Service_Compute_Network';
15149 protected $itemsDataType = 'array';
15150 public $kind;
15151 public $nextPageToken;
15152 public $selfLink;
15153
15154
15155 public function setId($id)
15156 {
15157 $this->id = $id;
15158 }
15159 public function getId()
15160 {
15161 return $this->id;
15162 }
15163 public function setItems($items)
15164 {
15165 $this->items = $items;
15166 }
15167 public function getItems()
15168 {
15169 return $this->items;
15170 }
15171 public function setKind($kind)
15172 {
15173 $this->kind = $kind;
15174 }
15175 public function getKind()
15176 {
15177 return $this->kind;
15178 }
15179 public function setNextPageToken($nextPageToken)
15180 {
15181 $this->nextPageToken = $nextPageToken;
15182 }
15183 public function getNextPageToken()
15184 {
15185 return $this->nextPageToken;
15186 }
15187 public function setSelfLink($selfLink)
15188 {
15189 $this->selfLink = $selfLink;
15190 }
15191 public function getSelfLink()
15192 {
15193 return $this->selfLink;
15194 }
15195 }
15196
15197 class Google_Service_Compute_Operation extends Google_Collection
15198 {
15199 protected $collection_key = 'warnings';
15200 protected $internal_gapi_mappings = array(
15201 );
15202 public $clientOperationId;
15203 public $creationTimestamp;
15204 public $description;
15205 public $endTime;
15206 protected $errorType = 'Google_Service_Compute_OperationError';
15207 protected $errorDataType = '';
15208 public $httpErrorMessage;
15209 public $httpErrorStatusCode;
15210 public $id;
15211 public $insertTime;
15212 public $kind;
15213 public $name;
15214 public $operationType;
15215 public $progress;
15216 public $region;
15217 public $selfLink;
15218 public $startTime;
15219 public $status;
15220 public $statusMessage;
15221 public $targetId;
15222 public $targetLink;
15223 public $user;
15224 protected $warningsType = 'Google_Service_Compute_OperationWarnings';
15225 protected $warningsDataType = 'array';
15226 public $zone;
15227
15228
15229 public function setClientOperationId($clientOperationId)
15230 {
15231 $this->clientOperationId = $clientOperationId;
15232 }
15233 public function getClientOperationId()
15234 {
15235 return $this->clientOperationId;
15236 }
15237 public function setCreationTimestamp($creationTimestamp)
15238 {
15239 $this->creationTimestamp = $creationTimestamp;
15240 }
15241 public function getCreationTimestamp()
15242 {
15243 return $this->creationTimestamp;
15244 }
15245 public function setDescription($description)
15246 {
15247 $this->description = $description;
15248 }
15249 public function getDescription()
15250 {
15251 return $this->description;
15252 }
15253 public function setEndTime($endTime)
15254 {
15255 $this->endTime = $endTime;
15256 }
15257 public function getEndTime()
15258 {
15259 return $this->endTime;
15260 }
15261 public function setError(Google_Service_Compute_OperationError $error)
15262 {
15263 $this->error = $error;
15264 }
15265 public function getError()
15266 {
15267 return $this->error;
15268 }
15269 public function setHttpErrorMessage($httpErrorMessage)
15270 {
15271 $this->httpErrorMessage = $httpErrorMessage;
15272 }
15273 public function getHttpErrorMessage()
15274 {
15275 return $this->httpErrorMessage;
15276 }
15277 public function setHttpErrorStatusCode($httpErrorStatusCode)
15278 {
15279 $this->httpErrorStatusCode = $httpErrorStatusCode;
15280 }
15281 public function getHttpErrorStatusCode()
15282 {
15283 return $this->httpErrorStatusCode;
15284 }
15285 public function setId($id)
15286 {
15287 $this->id = $id;
15288 }
15289 public function getId()
15290 {
15291 return $this->id;
15292 }
15293 public function setInsertTime($insertTime)
15294 {
15295 $this->insertTime = $insertTime;
15296 }
15297 public function getInsertTime()
15298 {
15299 return $this->insertTime;
15300 }
15301 public function setKind($kind)
15302 {
15303 $this->kind = $kind;
15304 }
15305 public function getKind()
15306 {
15307 return $this->kind;
15308 }
15309 public function setName($name)
15310 {
15311 $this->name = $name;
15312 }
15313 public function getName()
15314 {
15315 return $this->name;
15316 }
15317 public function setOperationType($operationType)
15318 {
15319 $this->operationType = $operationType;
15320 }
15321 public function getOperationType()
15322 {
15323 return $this->operationType;
15324 }
15325 public function setProgress($progress)
15326 {
15327 $this->progress = $progress;
15328 }
15329 public function getProgress()
15330 {
15331 return $this->progress;
15332 }
15333 public function setRegion($region)
15334 {
15335 $this->region = $region;
15336 }
15337 public function getRegion()
15338 {
15339 return $this->region;
15340 }
15341 public function setSelfLink($selfLink)
15342 {
15343 $this->selfLink = $selfLink;
15344 }
15345 public function getSelfLink()
15346 {
15347 return $this->selfLink;
15348 }
15349 public function setStartTime($startTime)
15350 {
15351 $this->startTime = $startTime;
15352 }
15353 public function getStartTime()
15354 {
15355 return $this->startTime;
15356 }
15357 public function setStatus($status)
15358 {
15359 $this->status = $status;
15360 }
15361 public function getStatus()
15362 {
15363 return $this->status;
15364 }
15365 public function setStatusMessage($statusMessage)
15366 {
15367 $this->statusMessage = $statusMessage;
15368 }
15369 public function getStatusMessage()
15370 {
15371 return $this->statusMessage;
15372 }
15373 public function setTargetId($targetId)
15374 {
15375 $this->targetId = $targetId;
15376 }
15377 public function getTargetId()
15378 {
15379 return $this->targetId;
15380 }
15381 public function setTargetLink($targetLink)
15382 {
15383 $this->targetLink = $targetLink;
15384 }
15385 public function getTargetLink()
15386 {
15387 return $this->targetLink;
15388 }
15389 public function setUser($user)
15390 {
15391 $this->user = $user;
15392 }
15393 public function getUser()
15394 {
15395 return $this->user;
15396 }
15397 public function setWarnings($warnings)
15398 {
15399 $this->warnings = $warnings;
15400 }
15401 public function getWarnings()
15402 {
15403 return $this->warnings;
15404 }
15405 public function setZone($zone)
15406 {
15407 $this->zone = $zone;
15408 }
15409 public function getZone()
15410 {
15411 return $this->zone;
15412 }
15413 }
15414
15415 class Google_Service_Compute_OperationAggregatedList extends Google_Model
15416 {
15417 protected $internal_gapi_mappings = array(
15418 );
15419 public $id;
15420 protected $itemsType = 'Google_Service_Compute_OperationsScopedList';
15421 protected $itemsDataType = 'map';
15422 public $kind;
15423 public $nextPageToken;
15424 public $selfLink;
15425
15426
15427 public function setId($id)
15428 {
15429 $this->id = $id;
15430 }
15431 public function getId()
15432 {
15433 return $this->id;
15434 }
15435 public function setItems($items)
15436 {
15437 $this->items = $items;
15438 }
15439 public function getItems()
15440 {
15441 return $this->items;
15442 }
15443 public function setKind($kind)
15444 {
15445 $this->kind = $kind;
15446 }
15447 public function getKind()
15448 {
15449 return $this->kind;
15450 }
15451 public function setNextPageToken($nextPageToken)
15452 {
15453 $this->nextPageToken = $nextPageToken;
15454 }
15455 public function getNextPageToken()
15456 {
15457 return $this->nextPageToken;
15458 }
15459 public function setSelfLink($selfLink)
15460 {
15461 $this->selfLink = $selfLink;
15462 }
15463 public function getSelfLink()
15464 {
15465 return $this->selfLink;
15466 }
15467 }
15468
15469 class Google_Service_Compute_OperationError extends Google_Collection
15470 {
15471 protected $collection_key = 'errors';
15472 protected $internal_gapi_mappings = array(
15473 );
15474 protected $errorsType = 'Google_Service_Compute_OperationErrorErrors';
15475 protected $errorsDataType = 'array';
15476
15477
15478 public function setErrors($errors)
15479 {
15480 $this->errors = $errors;
15481 }
15482 public function getErrors()
15483 {
15484 return $this->errors;
15485 }
15486 }
15487
15488 class Google_Service_Compute_OperationErrorErrors extends Google_Model
15489 {
15490 protected $internal_gapi_mappings = array(
15491 );
15492 public $code;
15493 public $location;
15494 public $message;
15495
15496
15497 public function setCode($code)
15498 {
15499 $this->code = $code;
15500 }
15501 public function getCode()
15502 {
15503 return $this->code;
15504 }
15505 public function setLocation($location)
15506 {
15507 $this->location = $location;
15508 }
15509 public function getLocation()
15510 {
15511 return $this->location;
15512 }
15513 public function setMessage($message)
15514 {
15515 $this->message = $message;
15516 }
15517 public function getMessage()
15518 {
15519 return $this->message;
15520 }
15521 }
15522
15523 class Google_Service_Compute_OperationList extends Google_Collection
15524 {
15525 protected $collection_key = 'items';
15526 protected $internal_gapi_mappings = array(
15527 );
15528 public $id;
15529 protected $itemsType = 'Google_Service_Compute_Operation';
15530 protected $itemsDataType = 'array';
15531 public $kind;
15532 public $nextPageToken;
15533 public $selfLink;
15534
15535
15536 public function setId($id)
15537 {
15538 $this->id = $id;
15539 }
15540 public function getId()
15541 {
15542 return $this->id;
15543 }
15544 public function setItems($items)
15545 {
15546 $this->items = $items;
15547 }
15548 public function getItems()
15549 {
15550 return $this->items;
15551 }
15552 public function setKind($kind)
15553 {
15554 $this->kind = $kind;
15555 }
15556 public function getKind()
15557 {
15558 return $this->kind;
15559 }
15560 public function setNextPageToken($nextPageToken)
15561 {
15562 $this->nextPageToken = $nextPageToken;
15563 }
15564 public function getNextPageToken()
15565 {
15566 return $this->nextPageToken;
15567 }
15568 public function setSelfLink($selfLink)
15569 {
15570 $this->selfLink = $selfLink;
15571 }
15572 public function getSelfLink()
15573 {
15574 return $this->selfLink;
15575 }
15576 }
15577
15578 class Google_Service_Compute_OperationWarnings extends Google_Collection
15579 {
15580 protected $collection_key = 'data';
15581 protected $internal_gapi_mappings = array(
15582 );
15583 public $code;
15584 protected $dataType = 'Google_Service_Compute_OperationWarningsData';
15585 protected $dataDataType = 'array';
15586 public $message;
15587
15588
15589 public function setCode($code)
15590 {
15591 $this->code = $code;
15592 }
15593 public function getCode()
15594 {
15595 return $this->code;
15596 }
15597 public function setData($data)
15598 {
15599 $this->data = $data;
15600 }
15601 public function getData()
15602 {
15603 return $this->data;
15604 }
15605 public function setMessage($message)
15606 {
15607 $this->message = $message;
15608 }
15609 public function getMessage()
15610 {
15611 return $this->message;
15612 }
15613 }
15614
15615 class Google_Service_Compute_OperationWarningsData extends Google_Model
15616 {
15617 protected $internal_gapi_mappings = array(
15618 );
15619 public $key;
15620 public $value;
15621
15622
15623 public function setKey($key)
15624 {
15625 $this->key = $key;
15626 }
15627 public function getKey()
15628 {
15629 return $this->key;
15630 }
15631 public function setValue($value)
15632 {
15633 $this->value = $value;
15634 }
15635 public function getValue()
15636 {
15637 return $this->value;
15638 }
15639 }
15640
15641 class Google_Service_Compute_OperationsScopedList extends Google_Collection
15642 {
15643 protected $collection_key = 'operations';
15644 protected $internal_gapi_mappings = array(
15645 );
15646 protected $operationsType = 'Google_Service_Compute_Operation';
15647 protected $operationsDataType = 'array';
15648 protected $warningType = 'Google_Service_Compute_OperationsScopedListWarning';
15649 protected $warningDataType = '';
15650
15651
15652 public function setOperations($operations)
15653 {
15654 $this->operations = $operations;
15655 }
15656 public function getOperations()
15657 {
15658 return $this->operations;
15659 }
15660 public function setWarning(Google_Service_Compute_OperationsScopedListWarning $warning)
15661 {
15662 $this->warning = $warning;
15663 }
15664 public function getWarning()
15665 {
15666 return $this->warning;
15667 }
15668 }
15669
15670 class Google_Service_Compute_OperationsScopedListWarning extends Google_Collection
15671 {
15672 protected $collection_key = 'data';
15673 protected $internal_gapi_mappings = array(
15674 );
15675 public $code;
15676 protected $dataType = 'Google_Service_Compute_OperationsScopedListWarningData';
15677 protected $dataDataType = 'array';
15678 public $message;
15679
15680
15681 public function setCode($code)
15682 {
15683 $this->code = $code;
15684 }
15685 public function getCode()
15686 {
15687 return $this->code;
15688 }
15689 public function setData($data)
15690 {
15691 $this->data = $data;
15692 }
15693 public function getData()
15694 {
15695 return $this->data;
15696 }
15697 public function setMessage($message)
15698 {
15699 $this->message = $message;
15700 }
15701 public function getMessage()
15702 {
15703 return $this->message;
15704 }
15705 }
15706
15707 class Google_Service_Compute_OperationsScopedListWarningData extends Google_Model
15708 {
15709 protected $internal_gapi_mappings = array(
15710 );
15711 public $key;
15712 public $value;
15713
15714
15715 public function setKey($key)
15716 {
15717 $this->key = $key;
15718 }
15719 public function getKey()
15720 {
15721 return $this->key;
15722 }
15723 public function setValue($value)
15724 {
15725 $this->value = $value;
15726 }
15727 public function getValue()
15728 {
15729 return $this->value;
15730 }
15731 }
15732
15733 class Google_Service_Compute_PathMatcher extends Google_Collection
15734 {
15735 protected $collection_key = 'pathRules';
15736 protected $internal_gapi_mappings = array(
15737 );
15738 public $defaultService;
15739 public $description;
15740 public $name;
15741 protected $pathRulesType = 'Google_Service_Compute_PathRule';
15742 protected $pathRulesDataType = 'array';
15743
15744
15745 public function setDefaultService($defaultService)
15746 {
15747 $this->defaultService = $defaultService;
15748 }
15749 public function getDefaultService()
15750 {
15751 return $this->defaultService;
15752 }
15753 public function setDescription($description)
15754 {
15755 $this->description = $description;
15756 }
15757 public function getDescription()
15758 {
15759 return $this->description;
15760 }
15761 public function setName($name)
15762 {
15763 $this->name = $name;
15764 }
15765 public function getName()
15766 {
15767 return $this->name;
15768 }
15769 public function setPathRules($pathRules)
15770 {
15771 $this->pathRules = $pathRules;
15772 }
15773 public function getPathRules()
15774 {
15775 return $this->pathRules;
15776 }
15777 }
15778
15779 class Google_Service_Compute_PathRule extends Google_Collection
15780 {
15781 protected $collection_key = 'paths';
15782 protected $internal_gapi_mappings = array(
15783 );
15784 public $paths;
15785 public $service;
15786
15787
15788 public function setPaths($paths)
15789 {
15790 $this->paths = $paths;
15791 }
15792 public function getPaths()
15793 {
15794 return $this->paths;
15795 }
15796 public function setService($service)
15797 {
15798 $this->service = $service;
15799 }
15800 public function getService()
15801 {
15802 return $this->service;
15803 }
15804 }
15805
15806 class Google_Service_Compute_Project extends Google_Collection
15807 {
15808 protected $collection_key = 'quotas';
15809 protected $internal_gapi_mappings = array(
15810 );
15811 protected $commonInstanceMetadataType = 'Google_Service_Compute_Metadata';
15812 protected $commonInstanceMetadataDataType = '';
15813 public $creationTimestamp;
15814 public $description;
15815 public $enabledFeatures;
15816 public $id;
15817 public $kind;
15818 public $name;
15819 protected $quotasType = 'Google_Service_Compute_Quota';
15820 protected $quotasDataType = 'array';
15821 public $selfLink;
15822 protected $usageExportLocationType = 'Google_Service_Compute_UsageExportLocation';
15823 protected $usageExportLocationDataType = '';
15824
15825
15826 public function setCommonInstanceMetadata(Google_Service_Compute_Metadata $commonInstanceMetadata)
15827 {
15828 $this->commonInstanceMetadata = $commonInstanceMetadata;
15829 }
15830 public function getCommonInstanceMetadata()
15831 {
15832 return $this->commonInstanceMetadata;
15833 }
15834 public function setCreationTimestamp($creationTimestamp)
15835 {
15836 $this->creationTimestamp = $creationTimestamp;
15837 }
15838 public function getCreationTimestamp()
15839 {
15840 return $this->creationTimestamp;
15841 }
15842 public function setDescription($description)
15843 {
15844 $this->description = $description;
15845 }
15846 public function getDescription()
15847 {
15848 return $this->description;
15849 }
15850 public function setEnabledFeatures($enabledFeatures)
15851 {
15852 $this->enabledFeatures = $enabledFeatures;
15853 }
15854 public function getEnabledFeatures()
15855 {
15856 return $this->enabledFeatures;
15857 }
15858 public function setId($id)
15859 {
15860 $this->id = $id;
15861 }
15862 public function getId()
15863 {
15864 return $this->id;
15865 }
15866 public function setKind($kind)
15867 {
15868 $this->kind = $kind;
15869 }
15870 public function getKind()
15871 {
15872 return $this->kind;
15873 }
15874 public function setName($name)
15875 {
15876 $this->name = $name;
15877 }
15878 public function getName()
15879 {
15880 return $this->name;
15881 }
15882 public function setQuotas($quotas)
15883 {
15884 $this->quotas = $quotas;
15885 }
15886 public function getQuotas()
15887 {
15888 return $this->quotas;
15889 }
15890 public function setSelfLink($selfLink)
15891 {
15892 $this->selfLink = $selfLink;
15893 }
15894 public function getSelfLink()
15895 {
15896 return $this->selfLink;
15897 }
15898 public function setUsageExportLocation(Google_Service_Compute_UsageExportLocation $usageExportLocation)
15899 {
15900 $this->usageExportLocation = $usageExportLocation;
15901 }
15902 public function getUsageExportLocation()
15903 {
15904 return $this->usageExportLocation;
15905 }
15906 }
15907
15908 class Google_Service_Compute_Quota extends Google_Model
15909 {
15910 protected $internal_gapi_mappings = array(
15911 );
15912 public $limit;
15913 public $metric;
15914 public $usage;
15915
15916
15917 public function setLimit($limit)
15918 {
15919 $this->limit = $limit;
15920 }
15921 public function getLimit()
15922 {
15923 return $this->limit;
15924 }
15925 public function setMetric($metric)
15926 {
15927 $this->metric = $metric;
15928 }
15929 public function getMetric()
15930 {
15931 return $this->metric;
15932 }
15933 public function setUsage($usage)
15934 {
15935 $this->usage = $usage;
15936 }
15937 public function getUsage()
15938 {
15939 return $this->usage;
15940 }
15941 }
15942
15943 class Google_Service_Compute_Region extends Google_Collection
15944 {
15945 protected $collection_key = 'zones';
15946 protected $internal_gapi_mappings = array(
15947 );
15948 public $creationTimestamp;
15949 protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
15950 protected $deprecatedDataType = '';
15951 public $description;
15952 public $id;
15953 public $kind;
15954 public $name;
15955 protected $quotasType = 'Google_Service_Compute_Quota';
15956 protected $quotasDataType = 'array';
15957 public $selfLink;
15958 public $status;
15959 public $zones;
15960
15961
15962 public function setCreationTimestamp($creationTimestamp)
15963 {
15964 $this->creationTimestamp = $creationTimestamp;
15965 }
15966 public function getCreationTimestamp()
15967 {
15968 return $this->creationTimestamp;
15969 }
15970 public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
15971 {
15972 $this->deprecated = $deprecated;
15973 }
15974 public function getDeprecated()
15975 {
15976 return $this->deprecated;
15977 }
15978 public function setDescription($description)
15979 {
15980 $this->description = $description;
15981 }
15982 public function getDescription()
15983 {
15984 return $this->description;
15985 }
15986 public function setId($id)
15987 {
15988 $this->id = $id;
15989 }
15990 public function getId()
15991 {
15992 return $this->id;
15993 }
15994 public function setKind($kind)
15995 {
15996 $this->kind = $kind;
15997 }
15998 public function getKind()
15999 {
16000 return $this->kind;
16001 }
16002 public function setName($name)
16003 {
16004 $this->name = $name;
16005 }
16006 public function getName()
16007 {
16008 return $this->name;
16009 }
16010 public function setQuotas($quotas)
16011 {
16012 $this->quotas = $quotas;
16013 }
16014 public function getQuotas()
16015 {
16016 return $this->quotas;
16017 }
16018 public function setSelfLink($selfLink)
16019 {
16020 $this->selfLink = $selfLink;
16021 }
16022 public function getSelfLink()
16023 {
16024 return $this->selfLink;
16025 }
16026 public function setStatus($status)
16027 {
16028 $this->status = $status;
16029 }
16030 public function getStatus()
16031 {
16032 return $this->status;
16033 }
16034 public function setZones($zones)
16035 {
16036 $this->zones = $zones;
16037 }
16038 public function getZones()
16039 {
16040 return $this->zones;
16041 }
16042 }
16043
16044 class Google_Service_Compute_RegionList extends Google_Collection
16045 {
16046 protected $collection_key = 'items';
16047 protected $internal_gapi_mappings = array(
16048 );
16049 public $id;
16050 protected $itemsType = 'Google_Service_Compute_Region';
16051 protected $itemsDataType = 'array';
16052 public $kind;
16053 public $nextPageToken;
16054 public $selfLink;
16055
16056
16057 public function setId($id)
16058 {
16059 $this->id = $id;
16060 }
16061 public function getId()
16062 {
16063 return $this->id;
16064 }
16065 public function setItems($items)
16066 {
16067 $this->items = $items;
16068 }
16069 public function getItems()
16070 {
16071 return $this->items;
16072 }
16073 public function setKind($kind)
16074 {
16075 $this->kind = $kind;
16076 }
16077 public function getKind()
16078 {
16079 return $this->kind;
16080 }
16081 public function setNextPageToken($nextPageToken)
16082 {
16083 $this->nextPageToken = $nextPageToken;
16084 }
16085 public function getNextPageToken()
16086 {
16087 return $this->nextPageToken;
16088 }
16089 public function setSelfLink($selfLink)
16090 {
16091 $this->selfLink = $selfLink;
16092 }
16093 public function getSelfLink()
16094 {
16095 return $this->selfLink;
16096 }
16097 }
16098
16099 class Google_Service_Compute_ResourceGroupReference extends Google_Model
16100 {
16101 protected $internal_gapi_mappings = array(
16102 );
16103 public $group;
16104
16105
16106 public function setGroup($group)
16107 {
16108 $this->group = $group;
16109 }
16110 public function getGroup()
16111 {
16112 return $this->group;
16113 }
16114 }
16115
16116 class Google_Service_Compute_Route extends Google_Collection
16117 {
16118 protected $collection_key = 'warnings';
16119 protected $internal_gapi_mappings = array(
16120 );
16121 public $creationTimestamp;
16122 public $description;
16123 public $destRange;
16124 public $id;
16125 public $kind;
16126 public $name;
16127 public $network;
16128 public $nextHopGateway;
16129 public $nextHopInstance;
16130 public $nextHopIp;
16131 public $nextHopNetwork;
16132 public $nextHopVpnTunnel;
16133 public $priority;
16134 public $selfLink;
16135 public $tags;
16136 protected $warningsType = 'Google_Service_Compute_RouteWarnings';
16137 protected $warningsDataType = 'array';
16138
16139
16140 public function setCreationTimestamp($creationTimestamp)
16141 {
16142 $this->creationTimestamp = $creationTimestamp;
16143 }
16144 public function getCreationTimestamp()
16145 {
16146 return $this->creationTimestamp;
16147 }
16148 public function setDescription($description)
16149 {
16150 $this->description = $description;
16151 }
16152 public function getDescription()
16153 {
16154 return $this->description;
16155 }
16156 public function setDestRange($destRange)
16157 {
16158 $this->destRange = $destRange;
16159 }
16160 public function getDestRange()
16161 {
16162 return $this->destRange;
16163 }
16164 public function setId($id)
16165 {
16166 $this->id = $id;
16167 }
16168 public function getId()
16169 {
16170 return $this->id;
16171 }
16172 public function setKind($kind)
16173 {
16174 $this->kind = $kind;
16175 }
16176 public function getKind()
16177 {
16178 return $this->kind;
16179 }
16180 public function setName($name)
16181 {
16182 $this->name = $name;
16183 }
16184 public function getName()
16185 {
16186 return $this->name;
16187 }
16188 public function setNetwork($network)
16189 {
16190 $this->network = $network;
16191 }
16192 public function getNetwork()
16193 {
16194 return $this->network;
16195 }
16196 public function setNextHopGateway($nextHopGateway)
16197 {
16198 $this->nextHopGateway = $nextHopGateway;
16199 }
16200 public function getNextHopGateway()
16201 {
16202 return $this->nextHopGateway;
16203 }
16204 public function setNextHopInstance($nextHopInstance)
16205 {
16206 $this->nextHopInstance = $nextHopInstance;
16207 }
16208 public function getNextHopInstance()
16209 {
16210 return $this->nextHopInstance;
16211 }
16212 public function setNextHopIp($nextHopIp)
16213 {
16214 $this->nextHopIp = $nextHopIp;
16215 }
16216 public function getNextHopIp()
16217 {
16218 return $this->nextHopIp;
16219 }
16220 public function setNextHopNetwork($nextHopNetwork)
16221 {
16222 $this->nextHopNetwork = $nextHopNetwork;
16223 }
16224 public function getNextHopNetwork()
16225 {
16226 return $this->nextHopNetwork;
16227 }
16228 public function setNextHopVpnTunnel($nextHopVpnTunnel)
16229 {
16230 $this->nextHopVpnTunnel = $nextHopVpnTunnel;
16231 }
16232 public function getNextHopVpnTunnel()
16233 {
16234 return $this->nextHopVpnTunnel;
16235 }
16236 public function setPriority($priority)
16237 {
16238 $this->priority = $priority;
16239 }
16240 public function getPriority()
16241 {
16242 return $this->priority;
16243 }
16244 public function setSelfLink($selfLink)
16245 {
16246 $this->selfLink = $selfLink;
16247 }
16248 public function getSelfLink()
16249 {
16250 return $this->selfLink;
16251 }
16252 public function setTags($tags)
16253 {
16254 $this->tags = $tags;
16255 }
16256 public function getTags()
16257 {
16258 return $this->tags;
16259 }
16260 public function setWarnings($warnings)
16261 {
16262 $this->warnings = $warnings;
16263 }
16264 public function getWarnings()
16265 {
16266 return $this->warnings;
16267 }
16268 }
16269
16270 class Google_Service_Compute_RouteList extends Google_Collection
16271 {
16272 protected $collection_key = 'items';
16273 protected $internal_gapi_mappings = array(
16274 );
16275 public $id;
16276 protected $itemsType = 'Google_Service_Compute_Route';
16277 protected $itemsDataType = 'array';
16278 public $kind;
16279 public $nextPageToken;
16280 public $selfLink;
16281
16282
16283 public function setId($id)
16284 {
16285 $this->id = $id;
16286 }
16287 public function getId()
16288 {
16289 return $this->id;
16290 }
16291 public function setItems($items)
16292 {
16293 $this->items = $items;
16294 }
16295 public function getItems()
16296 {
16297 return $this->items;
16298 }
16299 public function setKind($kind)
16300 {
16301 $this->kind = $kind;
16302 }
16303 public function getKind()
16304 {
16305 return $this->kind;
16306 }
16307 public function setNextPageToken($nextPageToken)
16308 {
16309 $this->nextPageToken = $nextPageToken;
16310 }
16311 public function getNextPageToken()
16312 {
16313 return $this->nextPageToken;
16314 }
16315 public function setSelfLink($selfLink)
16316 {
16317 $this->selfLink = $selfLink;
16318 }
16319 public function getSelfLink()
16320 {
16321 return $this->selfLink;
16322 }
16323 }
16324
16325 class Google_Service_Compute_RouteWarnings extends Google_Collection
16326 {
16327 protected $collection_key = 'data';
16328 protected $internal_gapi_mappings = array(
16329 );
16330 public $code;
16331 protected $dataType = 'Google_Service_Compute_RouteWarningsData';
16332 protected $dataDataType = 'array';
16333 public $message;
16334
16335
16336 public function setCode($code)
16337 {
16338 $this->code = $code;
16339 }
16340 public function getCode()
16341 {
16342 return $this->code;
16343 }
16344 public function setData($data)
16345 {
16346 $this->data = $data;
16347 }
16348 public function getData()
16349 {
16350 return $this->data;
16351 }
16352 public function setMessage($message)
16353 {
16354 $this->message = $message;
16355 }
16356 public function getMessage()
16357 {
16358 return $this->message;
16359 }
16360 }
16361
16362 class Google_Service_Compute_RouteWarningsData extends Google_Model
16363 {
16364 protected $internal_gapi_mappings = array(
16365 );
16366 public $key;
16367 public $value;
16368
16369
16370 public function setKey($key)
16371 {
16372 $this->key = $key;
16373 }
16374 public function getKey()
16375 {
16376 return $this->key;
16377 }
16378 public function setValue($value)
16379 {
16380 $this->value = $value;
16381 }
16382 public function getValue()
16383 {
16384 return $this->value;
16385 }
16386 }
16387
16388 class Google_Service_Compute_Scheduling extends Google_Model
16389 {
16390 protected $internal_gapi_mappings = array(
16391 );
16392 public $automaticRestart;
16393 public $onHostMaintenance;
16394 public $preemptible;
16395
16396
16397 public function setAutomaticRestart($automaticRestart)
16398 {
16399 $this->automaticRestart = $automaticRestart;
16400 }
16401 public function getAutomaticRestart()
16402 {
16403 return $this->automaticRestart;
16404 }
16405 public function setOnHostMaintenance($onHostMaintenance)
16406 {
16407 $this->onHostMaintenance = $onHostMaintenance;
16408 }
16409 public function getOnHostMaintenance()
16410 {
16411 return $this->onHostMaintenance;
16412 }
16413 public function setPreemptible($preemptible)
16414 {
16415 $this->preemptible = $preemptible;
16416 }
16417 public function getPreemptible()
16418 {
16419 return $this->preemptible;
16420 }
16421 }
16422
16423 class Google_Service_Compute_SerialPortOutput extends Google_Model
16424 {
16425 protected $internal_gapi_mappings = array(
16426 );
16427 public $contents;
16428 public $kind;
16429 public $selfLink;
16430
16431
16432 public function setContents($contents)
16433 {
16434 $this->contents = $contents;
16435 }
16436 public function getContents()
16437 {
16438 return $this->contents;
16439 }
16440 public function setKind($kind)
16441 {
16442 $this->kind = $kind;
16443 }
16444 public function getKind()
16445 {
16446 return $this->kind;
16447 }
16448 public function setSelfLink($selfLink)
16449 {
16450 $this->selfLink = $selfLink;
16451 }
16452 public function getSelfLink()
16453 {
16454 return $this->selfLink;
16455 }
16456 }
16457
16458 class Google_Service_Compute_ServiceAccount extends Google_Collection
16459 {
16460 protected $collection_key = 'scopes';
16461 protected $internal_gapi_mappings = array(
16462 );
16463 public $email;
16464 public $scopes;
16465
16466
16467 public function setEmail($email)
16468 {
16469 $this->email = $email;
16470 }
16471 public function getEmail()
16472 {
16473 return $this->email;
16474 }
16475 public function setScopes($scopes)
16476 {
16477 $this->scopes = $scopes;
16478 }
16479 public function getScopes()
16480 {
16481 return $this->scopes;
16482 }
16483 }
16484
16485 class Google_Service_Compute_Snapshot extends Google_Collection
16486 {
16487 protected $collection_key = 'licenses';
16488 protected $internal_gapi_mappings = array(
16489 );
16490 public $creationTimestamp;
16491 public $description;
16492 public $diskSizeGb;
16493 public $id;
16494 public $kind;
16495 public $licenses;
16496 public $name;
16497 public $selfLink;
16498 public $sourceDisk;
16499 public $sourceDiskId;
16500 public $status;
16501 public $storageBytes;
16502 public $storageBytesStatus;
16503
16504
16505 public function setCreationTimestamp($creationTimestamp)
16506 {
16507 $this->creationTimestamp = $creationTimestamp;
16508 }
16509 public function getCreationTimestamp()
16510 {
16511 return $this->creationTimestamp;
16512 }
16513 public function setDescription($description)
16514 {
16515 $this->description = $description;
16516 }
16517 public function getDescription()
16518 {
16519 return $this->description;
16520 }
16521 public function setDiskSizeGb($diskSizeGb)
16522 {
16523 $this->diskSizeGb = $diskSizeGb;
16524 }
16525 public function getDiskSizeGb()
16526 {
16527 return $this->diskSizeGb;
16528 }
16529 public function setId($id)
16530 {
16531 $this->id = $id;
16532 }
16533 public function getId()
16534 {
16535 return $this->id;
16536 }
16537 public function setKind($kind)
16538 {
16539 $this->kind = $kind;
16540 }
16541 public function getKind()
16542 {
16543 return $this->kind;
16544 }
16545 public function setLicenses($licenses)
16546 {
16547 $this->licenses = $licenses;
16548 }
16549 public function getLicenses()
16550 {
16551 return $this->licenses;
16552 }
16553 public function setName($name)
16554 {
16555 $this->name = $name;
16556 }
16557 public function getName()
16558 {
16559 return $this->name;
16560 }
16561 public function setSelfLink($selfLink)
16562 {
16563 $this->selfLink = $selfLink;
16564 }
16565 public function getSelfLink()
16566 {
16567 return $this->selfLink;
16568 }
16569 public function setSourceDisk($sourceDisk)
16570 {
16571 $this->sourceDisk = $sourceDisk;
16572 }
16573 public function getSourceDisk()
16574 {
16575 return $this->sourceDisk;
16576 }
16577 public function setSourceDiskId($sourceDiskId)
16578 {
16579 $this->sourceDiskId = $sourceDiskId;
16580 }
16581 public function getSourceDiskId()
16582 {
16583 return $this->sourceDiskId;
16584 }
16585 public function setStatus($status)
16586 {
16587 $this->status = $status;
16588 }
16589 public function getStatus()
16590 {
16591 return $this->status;
16592 }
16593 public function setStorageBytes($storageBytes)
16594 {
16595 $this->storageBytes = $storageBytes;
16596 }
16597 public function getStorageBytes()
16598 {
16599 return $this->storageBytes;
16600 }
16601 public function setStorageBytesStatus($storageBytesStatus)
16602 {
16603 $this->storageBytesStatus = $storageBytesStatus;
16604 }
16605 public function getStorageBytesStatus()
16606 {
16607 return $this->storageBytesStatus;
16608 }
16609 }
16610
16611 class Google_Service_Compute_SnapshotList extends Google_Collection
16612 {
16613 protected $collection_key = 'items';
16614 protected $internal_gapi_mappings = array(
16615 );
16616 public $id;
16617 protected $itemsType = 'Google_Service_Compute_Snapshot';
16618 protected $itemsDataType = 'array';
16619 public $kind;
16620 public $nextPageToken;
16621 public $selfLink;
16622
16623
16624 public function setId($id)
16625 {
16626 $this->id = $id;
16627 }
16628 public function getId()
16629 {
16630 return $this->id;
16631 }
16632 public function setItems($items)
16633 {
16634 $this->items = $items;
16635 }
16636 public function getItems()
16637 {
16638 return $this->items;
16639 }
16640 public function setKind($kind)
16641 {
16642 $this->kind = $kind;
16643 }
16644 public function getKind()
16645 {
16646 return $this->kind;
16647 }
16648 public function setNextPageToken($nextPageToken)
16649 {
16650 $this->nextPageToken = $nextPageToken;
16651 }
16652 public function getNextPageToken()
16653 {
16654 return $this->nextPageToken;
16655 }
16656 public function setSelfLink($selfLink)
16657 {
16658 $this->selfLink = $selfLink;
16659 }
16660 public function getSelfLink()
16661 {
16662 return $this->selfLink;
16663 }
16664 }
16665
16666 class Google_Service_Compute_SslCertificate extends Google_Model
16667 {
16668 protected $internal_gapi_mappings = array(
16669 );
16670 public $certificate;
16671 public $creationTimestamp;
16672 public $description;
16673 public $id;
16674 public $kind;
16675 public $name;
16676 public $privateKey;
16677 public $selfLink;
16678
16679
16680 public function setCertificate($certificate)
16681 {
16682 $this->certificate = $certificate;
16683 }
16684 public function getCertificate()
16685 {
16686 return $this->certificate;
16687 }
16688 public function setCreationTimestamp($creationTimestamp)
16689 {
16690 $this->creationTimestamp = $creationTimestamp;
16691 }
16692 public function getCreationTimestamp()
16693 {
16694 return $this->creationTimestamp;
16695 }
16696 public function setDescription($description)
16697 {
16698 $this->description = $description;
16699 }
16700 public function getDescription()
16701 {
16702 return $this->description;
16703 }
16704 public function setId($id)
16705 {
16706 $this->id = $id;
16707 }
16708 public function getId()
16709 {
16710 return $this->id;
16711 }
16712 public function setKind($kind)
16713 {
16714 $this->kind = $kind;
16715 }
16716 public function getKind()
16717 {
16718 return $this->kind;
16719 }
16720 public function setName($name)
16721 {
16722 $this->name = $name;
16723 }
16724 public function getName()
16725 {
16726 return $this->name;
16727 }
16728 public function setPrivateKey($privateKey)
16729 {
16730 $this->privateKey = $privateKey;
16731 }
16732 public function getPrivateKey()
16733 {
16734 return $this->privateKey;
16735 }
16736 public function setSelfLink($selfLink)
16737 {
16738 $this->selfLink = $selfLink;
16739 }
16740 public function getSelfLink()
16741 {
16742 return $this->selfLink;
16743 }
16744 }
16745
16746 class Google_Service_Compute_SslCertificateList extends Google_Collection
16747 {
16748 protected $collection_key = 'items';
16749 protected $internal_gapi_mappings = array(
16750 );
16751 public $id;
16752 protected $itemsType = 'Google_Service_Compute_SslCertificate';
16753 protected $itemsDataType = 'array';
16754 public $kind;
16755 public $nextPageToken;
16756 public $selfLink;
16757
16758
16759 public function setId($id)
16760 {
16761 $this->id = $id;
16762 }
16763 public function getId()
16764 {
16765 return $this->id;
16766 }
16767 public function setItems($items)
16768 {
16769 $this->items = $items;
16770 }
16771 public function getItems()
16772 {
16773 return $this->items;
16774 }
16775 public function setKind($kind)
16776 {
16777 $this->kind = $kind;
16778 }
16779 public function getKind()
16780 {
16781 return $this->kind;
16782 }
16783 public function setNextPageToken($nextPageToken)
16784 {
16785 $this->nextPageToken = $nextPageToken;
16786 }
16787 public function getNextPageToken()
16788 {
16789 return $this->nextPageToken;
16790 }
16791 public function setSelfLink($selfLink)
16792 {
16793 $this->selfLink = $selfLink;
16794 }
16795 public function getSelfLink()
16796 {
16797 return $this->selfLink;
16798 }
16799 }
16800
16801 class Google_Service_Compute_Subnetwork extends Google_Model
16802 {
16803 protected $internal_gapi_mappings = array(
16804 );
16805 public $creationTimestamp;
16806 public $description;
16807 public $gatewayAddress;
16808 public $id;
16809 public $ipCidrRange;
16810 public $kind;
16811 public $name;
16812 public $network;
16813 public $region;
16814 public $selfLink;
16815
16816
16817 public function setCreationTimestamp($creationTimestamp)
16818 {
16819 $this->creationTimestamp = $creationTimestamp;
16820 }
16821 public function getCreationTimestamp()
16822 {
16823 return $this->creationTimestamp;
16824 }
16825 public function setDescription($description)
16826 {
16827 $this->description = $description;
16828 }
16829 public function getDescription()
16830 {
16831 return $this->description;
16832 }
16833 public function setGatewayAddress($gatewayAddress)
16834 {
16835 $this->gatewayAddress = $gatewayAddress;
16836 }
16837 public function getGatewayAddress()
16838 {
16839 return $this->gatewayAddress;
16840 }
16841 public function setId($id)
16842 {
16843 $this->id = $id;
16844 }
16845 public function getId()
16846 {
16847 return $this->id;
16848 }
16849 public function setIpCidrRange($ipCidrRange)
16850 {
16851 $this->ipCidrRange = $ipCidrRange;
16852 }
16853 public function getIpCidrRange()
16854 {
16855 return $this->ipCidrRange;
16856 }
16857 public function setKind($kind)
16858 {
16859 $this->kind = $kind;
16860 }
16861 public function getKind()
16862 {
16863 return $this->kind;
16864 }
16865 public function setName($name)
16866 {
16867 $this->name = $name;
16868 }
16869 public function getName()
16870 {
16871 return $this->name;
16872 }
16873 public function setNetwork($network)
16874 {
16875 $this->network = $network;
16876 }
16877 public function getNetwork()
16878 {
16879 return $this->network;
16880 }
16881 public function setRegion($region)
16882 {
16883 $this->region = $region;
16884 }
16885 public function getRegion()
16886 {
16887 return $this->region;
16888 }
16889 public function setSelfLink($selfLink)
16890 {
16891 $this->selfLink = $selfLink;
16892 }
16893 public function getSelfLink()
16894 {
16895 return $this->selfLink;
16896 }
16897 }
16898
16899 class Google_Service_Compute_SubnetworkAggregatedList extends Google_Model
16900 {
16901 protected $internal_gapi_mappings = array(
16902 );
16903 public $id;
16904 protected $itemsType = 'Google_Service_Compute_SubnetworksScopedList';
16905 protected $itemsDataType = 'map';
16906 public $kind;
16907 public $nextPageToken;
16908 public $selfLink;
16909
16910
16911 public function setId($id)
16912 {
16913 $this->id = $id;
16914 }
16915 public function getId()
16916 {
16917 return $this->id;
16918 }
16919 public function setItems($items)
16920 {
16921 $this->items = $items;
16922 }
16923 public function getItems()
16924 {
16925 return $this->items;
16926 }
16927 public function setKind($kind)
16928 {
16929 $this->kind = $kind;
16930 }
16931 public function getKind()
16932 {
16933 return $this->kind;
16934 }
16935 public function setNextPageToken($nextPageToken)
16936 {
16937 $this->nextPageToken = $nextPageToken;
16938 }
16939 public function getNextPageToken()
16940 {
16941 return $this->nextPageToken;
16942 }
16943 public function setSelfLink($selfLink)
16944 {
16945 $this->selfLink = $selfLink;
16946 }
16947 public function getSelfLink()
16948 {
16949 return $this->selfLink;
16950 }
16951 }
16952
16953 class Google_Service_Compute_SubnetworkList extends Google_Collection
16954 {
16955 protected $collection_key = 'items';
16956 protected $internal_gapi_mappings = array(
16957 );
16958 public $id;
16959 protected $itemsType = 'Google_Service_Compute_Subnetwork';
16960 protected $itemsDataType = 'array';
16961 public $kind;
16962 public $nextPageToken;
16963 public $selfLink;
16964
16965
16966 public function setId($id)
16967 {
16968 $this->id = $id;
16969 }
16970 public function getId()
16971 {
16972 return $this->id;
16973 }
16974 public function setItems($items)
16975 {
16976 $this->items = $items;
16977 }
16978 public function getItems()
16979 {
16980 return $this->items;
16981 }
16982 public function setKind($kind)
16983 {
16984 $this->kind = $kind;
16985 }
16986 public function getKind()
16987 {
16988 return $this->kind;
16989 }
16990 public function setNextPageToken($nextPageToken)
16991 {
16992 $this->nextPageToken = $nextPageToken;
16993 }
16994 public function getNextPageToken()
16995 {
16996 return $this->nextPageToken;
16997 }
16998 public function setSelfLink($selfLink)
16999 {
17000 $this->selfLink = $selfLink;
17001 }
17002 public function getSelfLink()
17003 {
17004 return $this->selfLink;
17005 }
17006 }
17007
17008 class Google_Service_Compute_SubnetworksScopedList extends Google_Collection
17009 {
17010 protected $collection_key = 'subnetworks';
17011 protected $internal_gapi_mappings = array(
17012 );
17013 protected $subnetworksType = 'Google_Service_Compute_Subnetwork';
17014 protected $subnetworksDataType = 'array';
17015 protected $warningType = 'Google_Service_Compute_SubnetworksScopedListWarning';
17016 protected $warningDataType = '';
17017
17018
17019 public function setSubnetworks($subnetworks)
17020 {
17021 $this->subnetworks = $subnetworks;
17022 }
17023 public function getSubnetworks()
17024 {
17025 return $this->subnetworks;
17026 }
17027 public function setWarning(Google_Service_Compute_SubnetworksScopedListWarning $warning)
17028 {
17029 $this->warning = $warning;
17030 }
17031 public function getWarning()
17032 {
17033 return $this->warning;
17034 }
17035 }
17036
17037 class Google_Service_Compute_SubnetworksScopedListWarning extends Google_Collection
17038 {
17039 protected $collection_key = 'data';
17040 protected $internal_gapi_mappings = array(
17041 );
17042 public $code;
17043 protected $dataType = 'Google_Service_Compute_SubnetworksScopedListWarningData';
17044 protected $dataDataType = 'array';
17045 public $message;
17046
17047
17048 public function setCode($code)
17049 {
17050 $this->code = $code;
17051 }
17052 public function getCode()
17053 {
17054 return $this->code;
17055 }
17056 public function setData($data)
17057 {
17058 $this->data = $data;
17059 }
17060 public function getData()
17061 {
17062 return $this->data;
17063 }
17064 public function setMessage($message)
17065 {
17066 $this->message = $message;
17067 }
17068 public function getMessage()
17069 {
17070 return $this->message;
17071 }
17072 }
17073
17074 class Google_Service_Compute_SubnetworksScopedListWarningData extends Google_Model
17075 {
17076 protected $internal_gapi_mappings = array(
17077 );
17078 public $key;
17079 public $value;
17080
17081
17082 public function setKey($key)
17083 {
17084 $this->key = $key;
17085 }
17086 public function getKey()
17087 {
17088 return $this->key;
17089 }
17090 public function setValue($value)
17091 {
17092 $this->value = $value;
17093 }
17094 public function getValue()
17095 {
17096 return $this->value;
17097 }
17098 }
17099
17100 class Google_Service_Compute_Tags extends Google_Collection
17101 {
17102 protected $collection_key = 'items';
17103 protected $internal_gapi_mappings = array(
17104 );
17105 public $fingerprint;
17106 public $items;
17107
17108
17109 public function setFingerprint($fingerprint)
17110 {
17111 $this->fingerprint = $fingerprint;
17112 }
17113 public function getFingerprint()
17114 {
17115 return $this->fingerprint;
17116 }
17117 public function setItems($items)
17118 {
17119 $this->items = $items;
17120 }
17121 public function getItems()
17122 {
17123 return $this->items;
17124 }
17125 }
17126
17127 class Google_Service_Compute_TargetHttpProxy extends Google_Model
17128 {
17129 protected $internal_gapi_mappings = array(
17130 );
17131 public $creationTimestamp;
17132 public $description;
17133 public $id;
17134 public $kind;
17135 public $name;
17136 public $selfLink;
17137 public $urlMap;
17138
17139
17140 public function setCreationTimestamp($creationTimestamp)
17141 {
17142 $this->creationTimestamp = $creationTimestamp;
17143 }
17144 public function getCreationTimestamp()
17145 {
17146 return $this->creationTimestamp;
17147 }
17148 public function setDescription($description)
17149 {
17150 $this->description = $description;
17151 }
17152 public function getDescription()
17153 {
17154 return $this->description;
17155 }
17156 public function setId($id)
17157 {
17158 $this->id = $id;
17159 }
17160 public function getId()
17161 {
17162 return $this->id;
17163 }
17164 public function setKind($kind)
17165 {
17166 $this->kind = $kind;
17167 }
17168 public function getKind()
17169 {
17170 return $this->kind;
17171 }
17172 public function setName($name)
17173 {
17174 $this->name = $name;
17175 }
17176 public function getName()
17177 {
17178 return $this->name;
17179 }
17180 public function setSelfLink($selfLink)
17181 {
17182 $this->selfLink = $selfLink;
17183 }
17184 public function getSelfLink()
17185 {
17186 return $this->selfLink;
17187 }
17188 public function setUrlMap($urlMap)
17189 {
17190 $this->urlMap = $urlMap;
17191 }
17192 public function getUrlMap()
17193 {
17194 return $this->urlMap;
17195 }
17196 }
17197
17198 class Google_Service_Compute_TargetHttpProxyList extends Google_Collection
17199 {
17200 protected $collection_key = 'items';
17201 protected $internal_gapi_mappings = array(
17202 );
17203 public $id;
17204 protected $itemsType = 'Google_Service_Compute_TargetHttpProxy';
17205 protected $itemsDataType = 'array';
17206 public $kind;
17207 public $nextPageToken;
17208 public $selfLink;
17209
17210
17211 public function setId($id)
17212 {
17213 $this->id = $id;
17214 }
17215 public function getId()
17216 {
17217 return $this->id;
17218 }
17219 public function setItems($items)
17220 {
17221 $this->items = $items;
17222 }
17223 public function getItems()
17224 {
17225 return $this->items;
17226 }
17227 public function setKind($kind)
17228 {
17229 $this->kind = $kind;
17230 }
17231 public function getKind()
17232 {
17233 return $this->kind;
17234 }
17235 public function setNextPageToken($nextPageToken)
17236 {
17237 $this->nextPageToken = $nextPageToken;
17238 }
17239 public function getNextPageToken()
17240 {
17241 return $this->nextPageToken;
17242 }
17243 public function setSelfLink($selfLink)
17244 {
17245 $this->selfLink = $selfLink;
17246 }
17247 public function getSelfLink()
17248 {
17249 return $this->selfLink;
17250 }
17251 }
17252
17253 class Google_Service_Compute_TargetHttpsProxiesSetSslCertificatesRequest extends Google_Collection
17254 {
17255 protected $collection_key = 'sslCertificates';
17256 protected $internal_gapi_mappings = array(
17257 );
17258 public $sslCertificates;
17259
17260
17261 public function setSslCertificates($sslCertificates)
17262 {
17263 $this->sslCertificates = $sslCertificates;
17264 }
17265 public function getSslCertificates()
17266 {
17267 return $this->sslCertificates;
17268 }
17269 }
17270
17271 class Google_Service_Compute_TargetHttpsProxy extends Google_Collection
17272 {
17273 protected $collection_key = 'sslCertificates';
17274 protected $internal_gapi_mappings = array(
17275 );
17276 public $creationTimestamp;
17277 public $description;
17278 public $id;
17279 public $kind;
17280 public $name;
17281 public $selfLink;
17282 public $sslCertificates;
17283 public $urlMap;
17284
17285
17286 public function setCreationTimestamp($creationTimestamp)
17287 {
17288 $this->creationTimestamp = $creationTimestamp;
17289 }
17290 public function getCreationTimestamp()
17291 {
17292 return $this->creationTimestamp;
17293 }
17294 public function setDescription($description)
17295 {
17296 $this->description = $description;
17297 }
17298 public function getDescription()
17299 {
17300 return $this->description;
17301 }
17302 public function setId($id)
17303 {
17304 $this->id = $id;
17305 }
17306 public function getId()
17307 {
17308 return $this->id;
17309 }
17310 public function setKind($kind)
17311 {
17312 $this->kind = $kind;
17313 }
17314 public function getKind()
17315 {
17316 return $this->kind;
17317 }
17318 public function setName($name)
17319 {
17320 $this->name = $name;
17321 }
17322 public function getName()
17323 {
17324 return $this->name;
17325 }
17326 public function setSelfLink($selfLink)
17327 {
17328 $this->selfLink = $selfLink;
17329 }
17330 public function getSelfLink()
17331 {
17332 return $this->selfLink;
17333 }
17334 public function setSslCertificates($sslCertificates)
17335 {
17336 $this->sslCertificates = $sslCertificates;
17337 }
17338 public function getSslCertificates()
17339 {
17340 return $this->sslCertificates;
17341 }
17342 public function setUrlMap($urlMap)
17343 {
17344 $this->urlMap = $urlMap;
17345 }
17346 public function getUrlMap()
17347 {
17348 return $this->urlMap;
17349 }
17350 }
17351
17352 class Google_Service_Compute_TargetHttpsProxyList extends Google_Collection
17353 {
17354 protected $collection_key = 'items';
17355 protected $internal_gapi_mappings = array(
17356 );
17357 public $id;
17358 protected $itemsType = 'Google_Service_Compute_TargetHttpsProxy';
17359 protected $itemsDataType = 'array';
17360 public $kind;
17361 public $nextPageToken;
17362 public $selfLink;
17363
17364
17365 public function setId($id)
17366 {
17367 $this->id = $id;
17368 }
17369 public function getId()
17370 {
17371 return $this->id;
17372 }
17373 public function setItems($items)
17374 {
17375 $this->items = $items;
17376 }
17377 public function getItems()
17378 {
17379 return $this->items;
17380 }
17381 public function setKind($kind)
17382 {
17383 $this->kind = $kind;
17384 }
17385 public function getKind()
17386 {
17387 return $this->kind;
17388 }
17389 public function setNextPageToken($nextPageToken)
17390 {
17391 $this->nextPageToken = $nextPageToken;
17392 }
17393 public function getNextPageToken()
17394 {
17395 return $this->nextPageToken;
17396 }
17397 public function setSelfLink($selfLink)
17398 {
17399 $this->selfLink = $selfLink;
17400 }
17401 public function getSelfLink()
17402 {
17403 return $this->selfLink;
17404 }
17405 }
17406
17407 class Google_Service_Compute_TargetInstance extends Google_Model
17408 {
17409 protected $internal_gapi_mappings = array(
17410 );
17411 public $creationTimestamp;
17412 public $description;
17413 public $id;
17414 public $instance;
17415 public $kind;
17416 public $name;
17417 public $natPolicy;
17418 public $selfLink;
17419 public $zone;
17420
17421
17422 public function setCreationTimestamp($creationTimestamp)
17423 {
17424 $this->creationTimestamp = $creationTimestamp;
17425 }
17426 public function getCreationTimestamp()
17427 {
17428 return $this->creationTimestamp;
17429 }
17430 public function setDescription($description)
17431 {
17432 $this->description = $description;
17433 }
17434 public function getDescription()
17435 {
17436 return $this->description;
17437 }
17438 public function setId($id)
17439 {
17440 $this->id = $id;
17441 }
17442 public function getId()
17443 {
17444 return $this->id;
17445 }
17446 public function setInstance($instance)
17447 {
17448 $this->instance = $instance;
17449 }
17450 public function getInstance()
17451 {
17452 return $this->instance;
17453 }
17454 public function setKind($kind)
17455 {
17456 $this->kind = $kind;
17457 }
17458 public function getKind()
17459 {
17460 return $this->kind;
17461 }
17462 public function setName($name)
17463 {
17464 $this->name = $name;
17465 }
17466 public function getName()
17467 {
17468 return $this->name;
17469 }
17470 public function setNatPolicy($natPolicy)
17471 {
17472 $this->natPolicy = $natPolicy;
17473 }
17474 public function getNatPolicy()
17475 {
17476 return $this->natPolicy;
17477 }
17478 public function setSelfLink($selfLink)
17479 {
17480 $this->selfLink = $selfLink;
17481 }
17482 public function getSelfLink()
17483 {
17484 return $this->selfLink;
17485 }
17486 public function setZone($zone)
17487 {
17488 $this->zone = $zone;
17489 }
17490 public function getZone()
17491 {
17492 return $this->zone;
17493 }
17494 }
17495
17496 class Google_Service_Compute_TargetInstanceAggregatedList extends Google_Model
17497 {
17498 protected $internal_gapi_mappings = array(
17499 );
17500 public $id;
17501 protected $itemsType = 'Google_Service_Compute_TargetInstancesScopedList';
17502 protected $itemsDataType = 'map';
17503 public $kind;
17504 public $nextPageToken;
17505 public $selfLink;
17506
17507
17508 public function setId($id)
17509 {
17510 $this->id = $id;
17511 }
17512 public function getId()
17513 {
17514 return $this->id;
17515 }
17516 public function setItems($items)
17517 {
17518 $this->items = $items;
17519 }
17520 public function getItems()
17521 {
17522 return $this->items;
17523 }
17524 public function setKind($kind)
17525 {
17526 $this->kind = $kind;
17527 }
17528 public function getKind()
17529 {
17530 return $this->kind;
17531 }
17532 public function setNextPageToken($nextPageToken)
17533 {
17534 $this->nextPageToken = $nextPageToken;
17535 }
17536 public function getNextPageToken()
17537 {
17538 return $this->nextPageToken;
17539 }
17540 public function setSelfLink($selfLink)
17541 {
17542 $this->selfLink = $selfLink;
17543 }
17544 public function getSelfLink()
17545 {
17546 return $this->selfLink;
17547 }
17548 }
17549
17550 class Google_Service_Compute_TargetInstanceList extends Google_Collection
17551 {
17552 protected $collection_key = 'items';
17553 protected $internal_gapi_mappings = array(
17554 );
17555 public $id;
17556 protected $itemsType = 'Google_Service_Compute_TargetInstance';
17557 protected $itemsDataType = 'array';
17558 public $kind;
17559 public $nextPageToken;
17560 public $selfLink;
17561
17562
17563 public function setId($id)
17564 {
17565 $this->id = $id;
17566 }
17567 public function getId()
17568 {
17569 return $this->id;
17570 }
17571 public function setItems($items)
17572 {
17573 $this->items = $items;
17574 }
17575 public function getItems()
17576 {
17577 return $this->items;
17578 }
17579 public function setKind($kind)
17580 {
17581 $this->kind = $kind;
17582 }
17583 public function getKind()
17584 {
17585 return $this->kind;
17586 }
17587 public function setNextPageToken($nextPageToken)
17588 {
17589 $this->nextPageToken = $nextPageToken;
17590 }
17591 public function getNextPageToken()
17592 {
17593 return $this->nextPageToken;
17594 }
17595 public function setSelfLink($selfLink)
17596 {
17597 $this->selfLink = $selfLink;
17598 }
17599 public function getSelfLink()
17600 {
17601 return $this->selfLink;
17602 }
17603 }
17604
17605 class Google_Service_Compute_TargetInstancesScopedList extends Google_Collection
17606 {
17607 protected $collection_key = 'targetInstances';
17608 protected $internal_gapi_mappings = array(
17609 );
17610 protected $targetInstancesType = 'Google_Service_Compute_TargetInstance';
17611 protected $targetInstancesDataType = 'array';
17612 protected $warningType = 'Google_Service_Compute_TargetInstancesScopedListWarning';
17613 protected $warningDataType = '';
17614
17615
17616 public function setTargetInstances($targetInstances)
17617 {
17618 $this->targetInstances = $targetInstances;
17619 }
17620 public function getTargetInstances()
17621 {
17622 return $this->targetInstances;
17623 }
17624 public function setWarning(Google_Service_Compute_TargetInstancesScopedListWarning $warning)
17625 {
17626 $this->warning = $warning;
17627 }
17628 public function getWarning()
17629 {
17630 return $this->warning;
17631 }
17632 }
17633
17634 class Google_Service_Compute_TargetInstancesScopedListWarning extends Google_Collection
17635 {
17636 protected $collection_key = 'data';
17637 protected $internal_gapi_mappings = array(
17638 );
17639 public $code;
17640 protected $dataType = 'Google_Service_Compute_TargetInstancesScopedListWarningData';
17641 protected $dataDataType = 'array';
17642 public $message;
17643
17644
17645 public function setCode($code)
17646 {
17647 $this->code = $code;
17648 }
17649 public function getCode()
17650 {
17651 return $this->code;
17652 }
17653 public function setData($data)
17654 {
17655 $this->data = $data;
17656 }
17657 public function getData()
17658 {
17659 return $this->data;
17660 }
17661 public function setMessage($message)
17662 {
17663 $this->message = $message;
17664 }
17665 public function getMessage()
17666 {
17667 return $this->message;
17668 }
17669 }
17670
17671 class Google_Service_Compute_TargetInstancesScopedListWarningData extends Google_Model
17672 {
17673 protected $internal_gapi_mappings = array(
17674 );
17675 public $key;
17676 public $value;
17677
17678
17679 public function setKey($key)
17680 {
17681 $this->key = $key;
17682 }
17683 public function getKey()
17684 {
17685 return $this->key;
17686 }
17687 public function setValue($value)
17688 {
17689 $this->value = $value;
17690 }
17691 public function getValue()
17692 {
17693 return $this->value;
17694 }
17695 }
17696
17697 class Google_Service_Compute_TargetPool extends Google_Collection
17698 {
17699 protected $collection_key = 'instances';
17700 protected $internal_gapi_mappings = array(
17701 );
17702 public $backupPool;
17703 public $creationTimestamp;
17704 public $description;
17705 public $failoverRatio;
17706 public $healthChecks;
17707 public $id;
17708 public $instances;
17709 public $kind;
17710 public $name;
17711 public $region;
17712 public $selfLink;
17713 public $sessionAffinity;
17714
17715
17716 public function setBackupPool($backupPool)
17717 {
17718 $this->backupPool = $backupPool;
17719 }
17720 public function getBackupPool()
17721 {
17722 return $this->backupPool;
17723 }
17724 public function setCreationTimestamp($creationTimestamp)
17725 {
17726 $this->creationTimestamp = $creationTimestamp;
17727 }
17728 public function getCreationTimestamp()
17729 {
17730 return $this->creationTimestamp;
17731 }
17732 public function setDescription($description)
17733 {
17734 $this->description = $description;
17735 }
17736 public function getDescription()
17737 {
17738 return $this->description;
17739 }
17740 public function setFailoverRatio($failoverRatio)
17741 {
17742 $this->failoverRatio = $failoverRatio;
17743 }
17744 public function getFailoverRatio()
17745 {
17746 return $this->failoverRatio;
17747 }
17748 public function setHealthChecks($healthChecks)
17749 {
17750 $this->healthChecks = $healthChecks;
17751 }
17752 public function getHealthChecks()
17753 {
17754 return $this->healthChecks;
17755 }
17756 public function setId($id)
17757 {
17758 $this->id = $id;
17759 }
17760 public function getId()
17761 {
17762 return $this->id;
17763 }
17764 public function setInstances($instances)
17765 {
17766 $this->instances = $instances;
17767 }
17768 public function getInstances()
17769 {
17770 return $this->instances;
17771 }
17772 public function setKind($kind)
17773 {
17774 $this->kind = $kind;
17775 }
17776 public function getKind()
17777 {
17778 return $this->kind;
17779 }
17780 public function setName($name)
17781 {
17782 $this->name = $name;
17783 }
17784 public function getName()
17785 {
17786 return $this->name;
17787 }
17788 public function setRegion($region)
17789 {
17790 $this->region = $region;
17791 }
17792 public function getRegion()
17793 {
17794 return $this->region;
17795 }
17796 public function setSelfLink($selfLink)
17797 {
17798 $this->selfLink = $selfLink;
17799 }
17800 public function getSelfLink()
17801 {
17802 return $this->selfLink;
17803 }
17804 public function setSessionAffinity($sessionAffinity)
17805 {
17806 $this->sessionAffinity = $sessionAffinity;
17807 }
17808 public function getSessionAffinity()
17809 {
17810 return $this->sessionAffinity;
17811 }
17812 }
17813
17814 class Google_Service_Compute_TargetPoolAggregatedList extends Google_Model
17815 {
17816 protected $internal_gapi_mappings = array(
17817 );
17818 public $id;
17819 protected $itemsType = 'Google_Service_Compute_TargetPoolsScopedList';
17820 protected $itemsDataType = 'map';
17821 public $kind;
17822 public $nextPageToken;
17823 public $selfLink;
17824
17825
17826 public function setId($id)
17827 {
17828 $this->id = $id;
17829 }
17830 public function getId()
17831 {
17832 return $this->id;
17833 }
17834 public function setItems($items)
17835 {
17836 $this->items = $items;
17837 }
17838 public function getItems()
17839 {
17840 return $this->items;
17841 }
17842 public function setKind($kind)
17843 {
17844 $this->kind = $kind;
17845 }
17846 public function getKind()
17847 {
17848 return $this->kind;
17849 }
17850 public function setNextPageToken($nextPageToken)
17851 {
17852 $this->nextPageToken = $nextPageToken;
17853 }
17854 public function getNextPageToken()
17855 {
17856 return $this->nextPageToken;
17857 }
17858 public function setSelfLink($selfLink)
17859 {
17860 $this->selfLink = $selfLink;
17861 }
17862 public function getSelfLink()
17863 {
17864 return $this->selfLink;
17865 }
17866 }
17867
17868 class Google_Service_Compute_TargetPoolInstanceHealth extends Google_Collection
17869 {
17870 protected $collection_key = 'healthStatus';
17871 protected $internal_gapi_mappings = array(
17872 );
17873 protected $healthStatusType = 'Google_Service_Compute_HealthStatus';
17874 protected $healthStatusDataType = 'array';
17875 public $kind;
17876
17877
17878 public function setHealthStatus($healthStatus)
17879 {
17880 $this->healthStatus = $healthStatus;
17881 }
17882 public function getHealthStatus()
17883 {
17884 return $this->healthStatus;
17885 }
17886 public function setKind($kind)
17887 {
17888 $this->kind = $kind;
17889 }
17890 public function getKind()
17891 {
17892 return $this->kind;
17893 }
17894 }
17895
17896 class Google_Service_Compute_TargetPoolList extends Google_Collection
17897 {
17898 protected $collection_key = 'items';
17899 protected $internal_gapi_mappings = array(
17900 );
17901 public $id;
17902 protected $itemsType = 'Google_Service_Compute_TargetPool';
17903 protected $itemsDataType = 'array';
17904 public $kind;
17905 public $nextPageToken;
17906 public $selfLink;
17907
17908
17909 public function setId($id)
17910 {
17911 $this->id = $id;
17912 }
17913 public function getId()
17914 {
17915 return $this->id;
17916 }
17917 public function setItems($items)
17918 {
17919 $this->items = $items;
17920 }
17921 public function getItems()
17922 {
17923 return $this->items;
17924 }
17925 public function setKind($kind)
17926 {
17927 $this->kind = $kind;
17928 }
17929 public function getKind()
17930 {
17931 return $this->kind;
17932 }
17933 public function setNextPageToken($nextPageToken)
17934 {
17935 $this->nextPageToken = $nextPageToken;
17936 }
17937 public function getNextPageToken()
17938 {
17939 return $this->nextPageToken;
17940 }
17941 public function setSelfLink($selfLink)
17942 {
17943 $this->selfLink = $selfLink;
17944 }
17945 public function getSelfLink()
17946 {
17947 return $this->selfLink;
17948 }
17949 }
17950
17951 class Google_Service_Compute_TargetPoolsAddHealthCheckRequest extends Google_Collection
17952 {
17953 protected $collection_key = 'healthChecks';
17954 protected $internal_gapi_mappings = array(
17955 );
17956 protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
17957 protected $healthChecksDataType = 'array';
17958
17959
17960 public function setHealthChecks($healthChecks)
17961 {
17962 $this->healthChecks = $healthChecks;
17963 }
17964 public function getHealthChecks()
17965 {
17966 return $this->healthChecks;
17967 }
17968 }
17969
17970 class Google_Service_Compute_TargetPoolsAddInstanceRequest extends Google_Collection
17971 {
17972 protected $collection_key = 'instances';
17973 protected $internal_gapi_mappings = array(
17974 );
17975 protected $instancesType = 'Google_Service_Compute_InstanceReference';
17976 protected $instancesDataType = 'array';
17977
17978
17979 public function setInstances($instances)
17980 {
17981 $this->instances = $instances;
17982 }
17983 public function getInstances()
17984 {
17985 return $this->instances;
17986 }
17987 }
17988
17989 class Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest extends Google_Collection
17990 {
17991 protected $collection_key = 'healthChecks';
17992 protected $internal_gapi_mappings = array(
17993 );
17994 protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
17995 protected $healthChecksDataType = 'array';
17996
17997
17998 public function setHealthChecks($healthChecks)
17999 {
18000 $this->healthChecks = $healthChecks;
18001 }
18002 public function getHealthChecks()
18003 {
18004 return $this->healthChecks;
18005 }
18006 }
18007
18008 class Google_Service_Compute_TargetPoolsRemoveInstanceRequest extends Google_Collection
18009 {
18010 protected $collection_key = 'instances';
18011 protected $internal_gapi_mappings = array(
18012 );
18013 protected $instancesType = 'Google_Service_Compute_InstanceReference';
18014 protected $instancesDataType = 'array';
18015
18016
18017 public function setInstances($instances)
18018 {
18019 $this->instances = $instances;
18020 }
18021 public function getInstances()
18022 {
18023 return $this->instances;
18024 }
18025 }
18026
18027 class Google_Service_Compute_TargetPoolsScopedList extends Google_Collection
18028 {
18029 protected $collection_key = 'targetPools';
18030 protected $internal_gapi_mappings = array(
18031 );
18032 protected $targetPoolsType = 'Google_Service_Compute_TargetPool';
18033 protected $targetPoolsDataType = 'array';
18034 protected $warningType = 'Google_Service_Compute_TargetPoolsScopedListWarning';
18035 protected $warningDataType = '';
18036
18037
18038 public function setTargetPools($targetPools)
18039 {
18040 $this->targetPools = $targetPools;
18041 }
18042 public function getTargetPools()
18043 {
18044 return $this->targetPools;
18045 }
18046 public function setWarning(Google_Service_Compute_TargetPoolsScopedListWarning $warning)
18047 {
18048 $this->warning = $warning;
18049 }
18050 public function getWarning()
18051 {
18052 return $this->warning;
18053 }
18054 }
18055
18056 class Google_Service_Compute_TargetPoolsScopedListWarning extends Google_Collection
18057 {
18058 protected $collection_key = 'data';
18059 protected $internal_gapi_mappings = array(
18060 );
18061 public $code;
18062 protected $dataType = 'Google_Service_Compute_TargetPoolsScopedListWarningData';
18063 protected $dataDataType = 'array';
18064 public $message;
18065
18066
18067 public function setCode($code)
18068 {
18069 $this->code = $code;
18070 }
18071 public function getCode()
18072 {
18073 return $this->code;
18074 }
18075 public function setData($data)
18076 {
18077 $this->data = $data;
18078 }
18079 public function getData()
18080 {
18081 return $this->data;
18082 }
18083 public function setMessage($message)
18084 {
18085 $this->message = $message;
18086 }
18087 public function getMessage()
18088 {
18089 return $this->message;
18090 }
18091 }
18092
18093 class Google_Service_Compute_TargetPoolsScopedListWarningData extends Google_Model
18094 {
18095 protected $internal_gapi_mappings = array(
18096 );
18097 public $key;
18098 public $value;
18099
18100
18101 public function setKey($key)
18102 {
18103 $this->key = $key;
18104 }
18105 public function getKey()
18106 {
18107 return $this->key;
18108 }
18109 public function setValue($value)
18110 {
18111 $this->value = $value;
18112 }
18113 public function getValue()
18114 {
18115 return $this->value;
18116 }
18117 }
18118
18119 class Google_Service_Compute_TargetReference extends Google_Model
18120 {
18121 protected $internal_gapi_mappings = array(
18122 );
18123 public $target;
18124
18125
18126 public function setTarget($target)
18127 {
18128 $this->target = $target;
18129 }
18130 public function getTarget()
18131 {
18132 return $this->target;
18133 }
18134 }
18135
18136 class Google_Service_Compute_TargetVpnGateway extends Google_Collection
18137 {
18138 protected $collection_key = 'tunnels';
18139 protected $internal_gapi_mappings = array(
18140 );
18141 public $creationTimestamp;
18142 public $description;
18143 public $forwardingRules;
18144 public $id;
18145 public $kind;
18146 public $name;
18147 public $network;
18148 public $region;
18149 public $selfLink;
18150 public $status;
18151 public $tunnels;
18152
18153
18154 public function setCreationTimestamp($creationTimestamp)
18155 {
18156 $this->creationTimestamp = $creationTimestamp;
18157 }
18158 public function getCreationTimestamp()
18159 {
18160 return $this->creationTimestamp;
18161 }
18162 public function setDescription($description)
18163 {
18164 $this->description = $description;
18165 }
18166 public function getDescription()
18167 {
18168 return $this->description;
18169 }
18170 public function setForwardingRules($forwardingRules)
18171 {
18172 $this->forwardingRules = $forwardingRules;
18173 }
18174 public function getForwardingRules()
18175 {
18176 return $this->forwardingRules;
18177 }
18178 public function setId($id)
18179 {
18180 $this->id = $id;
18181 }
18182 public function getId()
18183 {
18184 return $this->id;
18185 }
18186 public function setKind($kind)
18187 {
18188 $this->kind = $kind;
18189 }
18190 public function getKind()
18191 {
18192 return $this->kind;
18193 }
18194 public function setName($name)
18195 {
18196 $this->name = $name;
18197 }
18198 public function getName()
18199 {
18200 return $this->name;
18201 }
18202 public function setNetwork($network)
18203 {
18204 $this->network = $network;
18205 }
18206 public function getNetwork()
18207 {
18208 return $this->network;
18209 }
18210 public function setRegion($region)
18211 {
18212 $this->region = $region;
18213 }
18214 public function getRegion()
18215 {
18216 return $this->region;
18217 }
18218 public function setSelfLink($selfLink)
18219 {
18220 $this->selfLink = $selfLink;
18221 }
18222 public function getSelfLink()
18223 {
18224 return $this->selfLink;
18225 }
18226 public function setStatus($status)
18227 {
18228 $this->status = $status;
18229 }
18230 public function getStatus()
18231 {
18232 return $this->status;
18233 }
18234 public function setTunnels($tunnels)
18235 {
18236 $this->tunnels = $tunnels;
18237 }
18238 public function getTunnels()
18239 {
18240 return $this->tunnels;
18241 }
18242 }
18243
18244 class Google_Service_Compute_TargetVpnGatewayAggregatedList extends Google_Model
18245 {
18246 protected $internal_gapi_mappings = array(
18247 );
18248 public $id;
18249 protected $itemsType = 'Google_Service_Compute_TargetVpnGatewaysScopedList';
18250 protected $itemsDataType = 'map';
18251 public $kind;
18252 public $nextPageToken;
18253 public $selfLink;
18254
18255
18256 public function setId($id)
18257 {
18258 $this->id = $id;
18259 }
18260 public function getId()
18261 {
18262 return $this->id;
18263 }
18264 public function setItems($items)
18265 {
18266 $this->items = $items;
18267 }
18268 public function getItems()
18269 {
18270 return $this->items;
18271 }
18272 public function setKind($kind)
18273 {
18274 $this->kind = $kind;
18275 }
18276 public function getKind()
18277 {
18278 return $this->kind;
18279 }
18280 public function setNextPageToken($nextPageToken)
18281 {
18282 $this->nextPageToken = $nextPageToken;
18283 }
18284 public function getNextPageToken()
18285 {
18286 return $this->nextPageToken;
18287 }
18288 public function setSelfLink($selfLink)
18289 {
18290 $this->selfLink = $selfLink;
18291 }
18292 public function getSelfLink()
18293 {
18294 return $this->selfLink;
18295 }
18296 }
18297
18298 class Google_Service_Compute_TargetVpnGatewayList extends Google_Collection
18299 {
18300 protected $collection_key = 'items';
18301 protected $internal_gapi_mappings = array(
18302 );
18303 public $id;
18304 protected $itemsType = 'Google_Service_Compute_TargetVpnGateway';
18305 protected $itemsDataType = 'array';
18306 public $kind;
18307 public $nextPageToken;
18308 public $selfLink;
18309
18310
18311 public function setId($id)
18312 {
18313 $this->id = $id;
18314 }
18315 public function getId()
18316 {
18317 return $this->id;
18318 }
18319 public function setItems($items)
18320 {
18321 $this->items = $items;
18322 }
18323 public function getItems()
18324 {
18325 return $this->items;
18326 }
18327 public function setKind($kind)
18328 {
18329 $this->kind = $kind;
18330 }
18331 public function getKind()
18332 {
18333 return $this->kind;
18334 }
18335 public function setNextPageToken($nextPageToken)
18336 {
18337 $this->nextPageToken = $nextPageToken;
18338 }
18339 public function getNextPageToken()
18340 {
18341 return $this->nextPageToken;
18342 }
18343 public function setSelfLink($selfLink)
18344 {
18345 $this->selfLink = $selfLink;
18346 }
18347 public function getSelfLink()
18348 {
18349 return $this->selfLink;
18350 }
18351 }
18352
18353 class Google_Service_Compute_TargetVpnGatewaysScopedList extends Google_Collection
18354 {
18355 protected $collection_key = 'targetVpnGateways';
18356 protected $internal_gapi_mappings = array(
18357 );
18358 protected $targetVpnGatewaysType = 'Google_Service_Compute_TargetVpnGateway';
18359 protected $targetVpnGatewaysDataType = 'array';
18360 protected $warningType = 'Google_Service_Compute_TargetVpnGatewaysScopedListWarning';
18361 protected $warningDataType = '';
18362
18363
18364 public function setTargetVpnGateways($targetVpnGateways)
18365 {
18366 $this->targetVpnGateways = $targetVpnGateways;
18367 }
18368 public function getTargetVpnGateways()
18369 {
18370 return $this->targetVpnGateways;
18371 }
18372 public function setWarning(Google_Service_Compute_TargetVpnGatewaysScopedListWarning $warning)
18373 {
18374 $this->warning = $warning;
18375 }
18376 public function getWarning()
18377 {
18378 return $this->warning;
18379 }
18380 }
18381
18382 class Google_Service_Compute_TargetVpnGatewaysScopedListWarning extends Google_Collection
18383 {
18384 protected $collection_key = 'data';
18385 protected $internal_gapi_mappings = array(
18386 );
18387 public $code;
18388 protected $dataType = 'Google_Service_Compute_TargetVpnGatewaysScopedListWarningData';
18389 protected $dataDataType = 'array';
18390 public $message;
18391
18392
18393 public function setCode($code)
18394 {
18395 $this->code = $code;
18396 }
18397 public function getCode()
18398 {
18399 return $this->code;
18400 }
18401 public function setData($data)
18402 {
18403 $this->data = $data;
18404 }
18405 public function getData()
18406 {
18407 return $this->data;
18408 }
18409 public function setMessage($message)
18410 {
18411 $this->message = $message;
18412 }
18413 public function getMessage()
18414 {
18415 return $this->message;
18416 }
18417 }
18418
18419 class Google_Service_Compute_TargetVpnGatewaysScopedListWarningData extends Google_Model
18420 {
18421 protected $internal_gapi_mappings = array(
18422 );
18423 public $key;
18424 public $value;
18425
18426
18427 public function setKey($key)
18428 {
18429 $this->key = $key;
18430 }
18431 public function getKey()
18432 {
18433 return $this->key;
18434 }
18435 public function setValue($value)
18436 {
18437 $this->value = $value;
18438 }
18439 public function getValue()
18440 {
18441 return $this->value;
18442 }
18443 }
18444
18445 class Google_Service_Compute_TestFailure extends Google_Model
18446 {
18447 protected $internal_gapi_mappings = array(
18448 );
18449 public $actualService;
18450 public $expectedService;
18451 public $host;
18452 public $path;
18453
18454
18455 public function setActualService($actualService)
18456 {
18457 $this->actualService = $actualService;
18458 }
18459 public function getActualService()
18460 {
18461 return $this->actualService;
18462 }
18463 public function setExpectedService($expectedService)
18464 {
18465 $this->expectedService = $expectedService;
18466 }
18467 public function getExpectedService()
18468 {
18469 return $this->expectedService;
18470 }
18471 public function setHost($host)
18472 {
18473 $this->host = $host;
18474 }
18475 public function getHost()
18476 {
18477 return $this->host;
18478 }
18479 public function setPath($path)
18480 {
18481 $this->path = $path;
18482 }
18483 public function getPath()
18484 {
18485 return $this->path;
18486 }
18487 }
18488
18489 class Google_Service_Compute_UrlMap extends Google_Collection
18490 {
18491 protected $collection_key = 'tests';
18492 protected $internal_gapi_mappings = array(
18493 );
18494 public $creationTimestamp;
18495 public $defaultService;
18496 public $description;
18497 public $fingerprint;
18498 protected $hostRulesType = 'Google_Service_Compute_HostRule';
18499 protected $hostRulesDataType = 'array';
18500 public $id;
18501 public $kind;
18502 public $name;
18503 protected $pathMatchersType = 'Google_Service_Compute_PathMatcher';
18504 protected $pathMatchersDataType = 'array';
18505 public $selfLink;
18506 protected $testsType = 'Google_Service_Compute_UrlMapTest';
18507 protected $testsDataType = 'array';
18508
18509
18510 public function setCreationTimestamp($creationTimestamp)
18511 {
18512 $this->creationTimestamp = $creationTimestamp;
18513 }
18514 public function getCreationTimestamp()
18515 {
18516 return $this->creationTimestamp;
18517 }
18518 public function setDefaultService($defaultService)
18519 {
18520 $this->defaultService = $defaultService;
18521 }
18522 public function getDefaultService()
18523 {
18524 return $this->defaultService;
18525 }
18526 public function setDescription($description)
18527 {
18528 $this->description = $description;
18529 }
18530 public function getDescription()
18531 {
18532 return $this->description;
18533 }
18534 public function setFingerprint($fingerprint)
18535 {
18536 $this->fingerprint = $fingerprint;
18537 }
18538 public function getFingerprint()
18539 {
18540 return $this->fingerprint;
18541 }
18542 public function setHostRules($hostRules)
18543 {
18544 $this->hostRules = $hostRules;
18545 }
18546 public function getHostRules()
18547 {
18548 return $this->hostRules;
18549 }
18550 public function setId($id)
18551 {
18552 $this->id = $id;
18553 }
18554 public function getId()
18555 {
18556 return $this->id;
18557 }
18558 public function setKind($kind)
18559 {
18560 $this->kind = $kind;
18561 }
18562 public function getKind()
18563 {
18564 return $this->kind;
18565 }
18566 public function setName($name)
18567 {
18568 $this->name = $name;
18569 }
18570 public function getName()
18571 {
18572 return $this->name;
18573 }
18574 public function setPathMatchers($pathMatchers)
18575 {
18576 $this->pathMatchers = $pathMatchers;
18577 }
18578 public function getPathMatchers()
18579 {
18580 return $this->pathMatchers;
18581 }
18582 public function setSelfLink($selfLink)
18583 {
18584 $this->selfLink = $selfLink;
18585 }
18586 public function getSelfLink()
18587 {
18588 return $this->selfLink;
18589 }
18590 public function setTests($tests)
18591 {
18592 $this->tests = $tests;
18593 }
18594 public function getTests()
18595 {
18596 return $this->tests;
18597 }
18598 }
18599
18600 class Google_Service_Compute_UrlMapList extends Google_Collection
18601 {
18602 protected $collection_key = 'items';
18603 protected $internal_gapi_mappings = array(
18604 );
18605 public $id;
18606 protected $itemsType = 'Google_Service_Compute_UrlMap';
18607 protected $itemsDataType = 'array';
18608 public $kind;
18609 public $nextPageToken;
18610 public $selfLink;
18611
18612
18613 public function setId($id)
18614 {
18615 $this->id = $id;
18616 }
18617 public function getId()
18618 {
18619 return $this->id;
18620 }
18621 public function setItems($items)
18622 {
18623 $this->items = $items;
18624 }
18625 public function getItems()
18626 {
18627 return $this->items;
18628 }
18629 public function setKind($kind)
18630 {
18631 $this->kind = $kind;
18632 }
18633 public function getKind()
18634 {
18635 return $this->kind;
18636 }
18637 public function setNextPageToken($nextPageToken)
18638 {
18639 $this->nextPageToken = $nextPageToken;
18640 }
18641 public function getNextPageToken()
18642 {
18643 return $this->nextPageToken;
18644 }
18645 public function setSelfLink($selfLink)
18646 {
18647 $this->selfLink = $selfLink;
18648 }
18649 public function getSelfLink()
18650 {
18651 return $this->selfLink;
18652 }
18653 }
18654
18655 class Google_Service_Compute_UrlMapReference extends Google_Model
18656 {
18657 protected $internal_gapi_mappings = array(
18658 );
18659 public $urlMap;
18660
18661
18662 public function setUrlMap($urlMap)
18663 {
18664 $this->urlMap = $urlMap;
18665 }
18666 public function getUrlMap()
18667 {
18668 return $this->urlMap;
18669 }
18670 }
18671
18672 class Google_Service_Compute_UrlMapTest extends Google_Model
18673 {
18674 protected $internal_gapi_mappings = array(
18675 );
18676 public $description;
18677 public $host;
18678 public $path;
18679 public $service;
18680
18681
18682 public function setDescription($description)
18683 {
18684 $this->description = $description;
18685 }
18686 public function getDescription()
18687 {
18688 return $this->description;
18689 }
18690 public function setHost($host)
18691 {
18692 $this->host = $host;
18693 }
18694 public function getHost()
18695 {
18696 return $this->host;
18697 }
18698 public function setPath($path)
18699 {
18700 $this->path = $path;
18701 }
18702 public function getPath()
18703 {
18704 return $this->path;
18705 }
18706 public function setService($service)
18707 {
18708 $this->service = $service;
18709 }
18710 public function getService()
18711 {
18712 return $this->service;
18713 }
18714 }
18715
18716 class Google_Service_Compute_UrlMapValidationResult extends Google_Collection
18717 {
18718 protected $collection_key = 'testFailures';
18719 protected $internal_gapi_mappings = array(
18720 );
18721 public $loadErrors;
18722 public $loadSucceeded;
18723 protected $testFailuresType = 'Google_Service_Compute_TestFailure';
18724 protected $testFailuresDataType = 'array';
18725 public $testPassed;
18726
18727
18728 public function setLoadErrors($loadErrors)
18729 {
18730 $this->loadErrors = $loadErrors;
18731 }
18732 public function getLoadErrors()
18733 {
18734 return $this->loadErrors;
18735 }
18736 public function setLoadSucceeded($loadSucceeded)
18737 {
18738 $this->loadSucceeded = $loadSucceeded;
18739 }
18740 public function getLoadSucceeded()
18741 {
18742 return $this->loadSucceeded;
18743 }
18744 public function setTestFailures($testFailures)
18745 {
18746 $this->testFailures = $testFailures;
18747 }
18748 public function getTestFailures()
18749 {
18750 return $this->testFailures;
18751 }
18752 public function setTestPassed($testPassed)
18753 {
18754 $this->testPassed = $testPassed;
18755 }
18756 public function getTestPassed()
18757 {
18758 return $this->testPassed;
18759 }
18760 }
18761
18762 class Google_Service_Compute_UrlMapsValidateRequest extends Google_Model
18763 {
18764 protected $internal_gapi_mappings = array(
18765 );
18766 protected $resourceType = 'Google_Service_Compute_UrlMap';
18767 protected $resourceDataType = '';
18768
18769
18770 public function setResource(Google_Service_Compute_UrlMap $resource)
18771 {
18772 $this->resource = $resource;
18773 }
18774 public function getResource()
18775 {
18776 return $this->resource;
18777 }
18778 }
18779
18780 class Google_Service_Compute_UrlMapsValidateResponse extends Google_Model
18781 {
18782 protected $internal_gapi_mappings = array(
18783 );
18784 protected $resultType = 'Google_Service_Compute_UrlMapValidationResult';
18785 protected $resultDataType = '';
18786
18787
18788 public function setResult(Google_Service_Compute_UrlMapValidationResult $result)
18789 {
18790 $this->result = $result;
18791 }
18792 public function getResult()
18793 {
18794 return $this->result;
18795 }
18796 }
18797
18798 class Google_Service_Compute_UsageExportLocation extends Google_Model
18799 {
18800 protected $internal_gapi_mappings = array(
18801 );
18802 public $bucketName;
18803 public $reportNamePrefix;
18804
18805
18806 public function setBucketName($bucketName)
18807 {
18808 $this->bucketName = $bucketName;
18809 }
18810 public function getBucketName()
18811 {
18812 return $this->bucketName;
18813 }
18814 public function setReportNamePrefix($reportNamePrefix)
18815 {
18816 $this->reportNamePrefix = $reportNamePrefix;
18817 }
18818 public function getReportNamePrefix()
18819 {
18820 return $this->reportNamePrefix;
18821 }
18822 }
18823
18824 class Google_Service_Compute_VpnTunnel extends Google_Collection
18825 {
18826 protected $collection_key = 'localTrafficSelector';
18827 protected $internal_gapi_mappings = array(
18828 );
18829 public $creationTimestamp;
18830 public $description;
18831 public $detailedStatus;
18832 public $id;
18833 public $ikeVersion;
18834 public $kind;
18835 public $localTrafficSelector;
18836 public $name;
18837 public $peerIp;
18838 public $region;
18839 public $selfLink;
18840 public $sharedSecret;
18841 public $sharedSecretHash;
18842 public $status;
18843 public $targetVpnGateway;
18844
18845
18846 public function setCreationTimestamp($creationTimestamp)
18847 {
18848 $this->creationTimestamp = $creationTimestamp;
18849 }
18850 public function getCreationTimestamp()
18851 {
18852 return $this->creationTimestamp;
18853 }
18854 public function setDescription($description)
18855 {
18856 $this->description = $description;
18857 }
18858 public function getDescription()
18859 {
18860 return $this->description;
18861 }
18862 public function setDetailedStatus($detailedStatus)
18863 {
18864 $this->detailedStatus = $detailedStatus;
18865 }
18866 public function getDetailedStatus()
18867 {
18868 return $this->detailedStatus;
18869 }
18870 public function setId($id)
18871 {
18872 $this->id = $id;
18873 }
18874 public function getId()
18875 {
18876 return $this->id;
18877 }
18878 public function setIkeVersion($ikeVersion)
18879 {
18880 $this->ikeVersion = $ikeVersion;
18881 }
18882 public function getIkeVersion()
18883 {
18884 return $this->ikeVersion;
18885 }
18886 public function setKind($kind)
18887 {
18888 $this->kind = $kind;
18889 }
18890 public function getKind()
18891 {
18892 return $this->kind;
18893 }
18894 public function setLocalTrafficSelector($localTrafficSelector)
18895 {
18896 $this->localTrafficSelector = $localTrafficSelector;
18897 }
18898 public function getLocalTrafficSelector()
18899 {
18900 return $this->localTrafficSelector;
18901 }
18902 public function setName($name)
18903 {
18904 $this->name = $name;
18905 }
18906 public function getName()
18907 {
18908 return $this->name;
18909 }
18910 public function setPeerIp($peerIp)
18911 {
18912 $this->peerIp = $peerIp;
18913 }
18914 public function getPeerIp()
18915 {
18916 return $this->peerIp;
18917 }
18918 public function setRegion($region)
18919 {
18920 $this->region = $region;
18921 }
18922 public function getRegion()
18923 {
18924 return $this->region;
18925 }
18926 public function setSelfLink($selfLink)
18927 {
18928 $this->selfLink = $selfLink;
18929 }
18930 public function getSelfLink()
18931 {
18932 return $this->selfLink;
18933 }
18934 public function setSharedSecret($sharedSecret)
18935 {
18936 $this->sharedSecret = $sharedSecret;
18937 }
18938 public function getSharedSecret()
18939 {
18940 return $this->sharedSecret;
18941 }
18942 public function setSharedSecretHash($sharedSecretHash)
18943 {
18944 $this->sharedSecretHash = $sharedSecretHash;
18945 }
18946 public function getSharedSecretHash()
18947 {
18948 return $this->sharedSecretHash;
18949 }
18950 public function setStatus($status)
18951 {
18952 $this->status = $status;
18953 }
18954 public function getStatus()
18955 {
18956 return $this->status;
18957 }
18958 public function setTargetVpnGateway($targetVpnGateway)
18959 {
18960 $this->targetVpnGateway = $targetVpnGateway;
18961 }
18962 public function getTargetVpnGateway()
18963 {
18964 return $this->targetVpnGateway;
18965 }
18966 }
18967
18968 class Google_Service_Compute_VpnTunnelAggregatedList extends Google_Model
18969 {
18970 protected $internal_gapi_mappings = array(
18971 );
18972 public $id;
18973 protected $itemsType = 'Google_Service_Compute_VpnTunnelsScopedList';
18974 protected $itemsDataType = 'map';
18975 public $kind;
18976 public $nextPageToken;
18977 public $selfLink;
18978
18979
18980 public function setId($id)
18981 {
18982 $this->id = $id;
18983 }
18984 public function getId()
18985 {
18986 return $this->id;
18987 }
18988 public function setItems($items)
18989 {
18990 $this->items = $items;
18991 }
18992 public function getItems()
18993 {
18994 return $this->items;
18995 }
18996 public function setKind($kind)
18997 {
18998 $this->kind = $kind;
18999 }
19000 public function getKind()
19001 {
19002 return $this->kind;
19003 }
19004 public function setNextPageToken($nextPageToken)
19005 {
19006 $this->nextPageToken = $nextPageToken;
19007 }
19008 public function getNextPageToken()
19009 {
19010 return $this->nextPageToken;
19011 }
19012 public function setSelfLink($selfLink)
19013 {
19014 $this->selfLink = $selfLink;
19015 }
19016 public function getSelfLink()
19017 {
19018 return $this->selfLink;
19019 }
19020 }
19021
19022 class Google_Service_Compute_VpnTunnelList extends Google_Collection
19023 {
19024 protected $collection_key = 'items';
19025 protected $internal_gapi_mappings = array(
19026 );
19027 public $id;
19028 protected $itemsType = 'Google_Service_Compute_VpnTunnel';
19029 protected $itemsDataType = 'array';
19030 public $kind;
19031 public $nextPageToken;
19032 public $selfLink;
19033
19034
19035 public function setId($id)
19036 {
19037 $this->id = $id;
19038 }
19039 public function getId()
19040 {
19041 return $this->id;
19042 }
19043 public function setItems($items)
19044 {
19045 $this->items = $items;
19046 }
19047 public function getItems()
19048 {
19049 return $this->items;
19050 }
19051 public function setKind($kind)
19052 {
19053 $this->kind = $kind;
19054 }
19055 public function getKind()
19056 {
19057 return $this->kind;
19058 }
19059 public function setNextPageToken($nextPageToken)
19060 {
19061 $this->nextPageToken = $nextPageToken;
19062 }
19063 public function getNextPageToken()
19064 {
19065 return $this->nextPageToken;
19066 }
19067 public function setSelfLink($selfLink)
19068 {
19069 $this->selfLink = $selfLink;
19070 }
19071 public function getSelfLink()
19072 {
19073 return $this->selfLink;
19074 }
19075 }
19076
19077 class Google_Service_Compute_VpnTunnelsScopedList extends Google_Collection
19078 {
19079 protected $collection_key = 'vpnTunnels';
19080 protected $internal_gapi_mappings = array(
19081 );
19082 protected $vpnTunnelsType = 'Google_Service_Compute_VpnTunnel';
19083 protected $vpnTunnelsDataType = 'array';
19084 protected $warningType = 'Google_Service_Compute_VpnTunnelsScopedListWarning';
19085 protected $warningDataType = '';
19086
19087
19088 public function setVpnTunnels($vpnTunnels)
19089 {
19090 $this->vpnTunnels = $vpnTunnels;
19091 }
19092 public function getVpnTunnels()
19093 {
19094 return $this->vpnTunnels;
19095 }
19096 public function setWarning(Google_Service_Compute_VpnTunnelsScopedListWarning $warning)
19097 {
19098 $this->warning = $warning;
19099 }
19100 public function getWarning()
19101 {
19102 return $this->warning;
19103 }
19104 }
19105
19106 class Google_Service_Compute_VpnTunnelsScopedListWarning extends Google_Collection
19107 {
19108 protected $collection_key = 'data';
19109 protected $internal_gapi_mappings = array(
19110 );
19111 public $code;
19112 protected $dataType = 'Google_Service_Compute_VpnTunnelsScopedListWarningData';
19113 protected $dataDataType = 'array';
19114 public $message;
19115
19116
19117 public function setCode($code)
19118 {
19119 $this->code = $code;
19120 }
19121 public function getCode()
19122 {
19123 return $this->code;
19124 }
19125 public function setData($data)
19126 {
19127 $this->data = $data;
19128 }
19129 public function getData()
19130 {
19131 return $this->data;
19132 }
19133 public function setMessage($message)
19134 {
19135 $this->message = $message;
19136 }
19137 public function getMessage()
19138 {
19139 return $this->message;
19140 }
19141 }
19142
19143 class Google_Service_Compute_VpnTunnelsScopedListWarningData extends Google_Model
19144 {
19145 protected $internal_gapi_mappings = array(
19146 );
19147 public $key;
19148 public $value;
19149
19150
19151 public function setKey($key)
19152 {
19153 $this->key = $key;
19154 }
19155 public function getKey()
19156 {
19157 return $this->key;
19158 }
19159 public function setValue($value)
19160 {
19161 $this->value = $value;
19162 }
19163 public function getValue()
19164 {
19165 return $this->value;
19166 }
19167 }
19168
19169 class Google_Service_Compute_Zone extends Google_Collection
19170 {
19171 protected $collection_key = 'maintenanceWindows';
19172 protected $internal_gapi_mappings = array(
19173 );
19174 public $creationTimestamp;
19175 protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
19176 protected $deprecatedDataType = '';
19177 public $description;
19178 public $id;
19179 public $kind;
19180 protected $maintenanceWindowsType = 'Google_Service_Compute_ZoneMaintenanceWindows';
19181 protected $maintenanceWindowsDataType = 'array';
19182 public $name;
19183 public $region;
19184 public $selfLink;
19185 public $status;
19186
19187
19188 public function setCreationTimestamp($creationTimestamp)
19189 {
19190 $this->creationTimestamp = $creationTimestamp;
19191 }
19192 public function getCreationTimestamp()
19193 {
19194 return $this->creationTimestamp;
19195 }
19196 public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
19197 {
19198 $this->deprecated = $deprecated;
19199 }
19200 public function getDeprecated()
19201 {
19202 return $this->deprecated;
19203 }
19204 public function setDescription($description)
19205 {
19206 $this->description = $description;
19207 }
19208 public function getDescription()
19209 {
19210 return $this->description;
19211 }
19212 public function setId($id)
19213 {
19214 $this->id = $id;
19215 }
19216 public function getId()
19217 {
19218 return $this->id;
19219 }
19220 public function setKind($kind)
19221 {
19222 $this->kind = $kind;
19223 }
19224 public function getKind()
19225 {
19226 return $this->kind;
19227 }
19228 public function setMaintenanceWindows($maintenanceWindows)
19229 {
19230 $this->maintenanceWindows = $maintenanceWindows;
19231 }
19232 public function getMaintenanceWindows()
19233 {
19234 return $this->maintenanceWindows;
19235 }
19236 public function setName($name)
19237 {
19238 $this->name = $name;
19239 }
19240 public function getName()
19241 {
19242 return $this->name;
19243 }
19244 public function setRegion($region)
19245 {
19246 $this->region = $region;
19247 }
19248 public function getRegion()
19249 {
19250 return $this->region;
19251 }
19252 public function setSelfLink($selfLink)
19253 {
19254 $this->selfLink = $selfLink;
19255 }
19256 public function getSelfLink()
19257 {
19258 return $this->selfLink;
19259 }
19260 public function setStatus($status)
19261 {
19262 $this->status = $status;
19263 }
19264 public function getStatus()
19265 {
19266 return $this->status;
19267 }
19268 }
19269
19270 class Google_Service_Compute_ZoneList extends Google_Collection
19271 {
19272 protected $collection_key = 'items';
19273 protected $internal_gapi_mappings = array(
19274 );
19275 public $id;
19276 protected $itemsType = 'Google_Service_Compute_Zone';
19277 protected $itemsDataType = 'array';
19278 public $kind;
19279 public $nextPageToken;
19280 public $selfLink;
19281
19282
19283 public function setId($id)
19284 {
19285 $this->id = $id;
19286 }
19287 public function getId()
19288 {
19289 return $this->id;
19290 }
19291 public function setItems($items)
19292 {
19293 $this->items = $items;
19294 }
19295 public function getItems()
19296 {
19297 return $this->items;
19298 }
19299 public function setKind($kind)
19300 {
19301 $this->kind = $kind;
19302 }
19303 public function getKind()
19304 {
19305 return $this->kind;
19306 }
19307 public function setNextPageToken($nextPageToken)
19308 {
19309 $this->nextPageToken = $nextPageToken;
19310 }
19311 public function getNextPageToken()
19312 {
19313 return $this->nextPageToken;
19314 }
19315 public function setSelfLink($selfLink)
19316 {
19317 $this->selfLink = $selfLink;
19318 }
19319 public function getSelfLink()
19320 {
19321 return $this->selfLink;
19322 }
19323 }
19324
19325 class Google_Service_Compute_ZoneMaintenanceWindows extends Google_Model
19326 {
19327 protected $internal_gapi_mappings = array(
19328 );
19329 public $beginTime;
19330 public $description;
19331 public $endTime;
19332 public $name;
19333
19334
19335 public function setBeginTime($beginTime)
19336 {
19337 $this->beginTime = $beginTime;
19338 }
19339 public function getBeginTime()
19340 {
19341 return $this->beginTime;
19342 }
19343 public function setDescription($description)
19344 {
19345 $this->description = $description;
19346 }
19347 public function getDescription()
19348 {
19349 return $this->description;
19350 }
19351 public function setEndTime($endTime)
19352 {
19353 $this->endTime = $endTime;
19354 }
19355 public function getEndTime()
19356 {
19357 return $this->endTime;
19358 }
19359 public function setName($name)
19360 {
19361 $this->name = $name;
19362 }
19363 public function getName()
19364 {
19365 return $this->name;
19366 }
19367 }
19368