Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
25 - 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
  /**
18
   * The "operations" collection of methods.
19
   * Typical usage is:
20
   *  <code>
21
   *   $computeService = new Google_ComputeService(...);
22
   *   $operations = $computeService->operations;
23
   *  </code>
24
   */
25
  class Google_OperationsServiceResource extends Google_ServiceResource {
26
 
27
 
28
    /**
29
     * Retrieves the specified operation resource. (operations.get)
30
     *
31
     * @param string $project Name of the project scoping this request.
32
     * @param string $operation Name of the operation resource to return.
33
     * @param array $optParams Optional parameters.
34
     * @return Google_Operation
35
     */
36
    public function get($project, $operation, $optParams = array()) {
37
      $params = array('project' => $project, 'operation' => $operation);
38
      $params = array_merge($params, $optParams);
39
      $data = $this->__call('get', array($params));
40
      if ($this->useObjects()) {
41
        return new Google_Operation($data);
42
      } else {
43
        return $data;
44
      }
45
    }
46
    /**
47
     * Retrieves the list of operation resources contained within the specified project.
48
     * (operations.list)
49
     *
50
     * @param string $project Name of the project scoping this request.
51
     * @param array $optParams Optional parameters.
52
     *
53
     * @opt_param string filter Optional. Filter expression for filtering listed resources.
54
     * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
55
     * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100.
56
     * @return Google_OperationList
57
     */
58
    public function listOperations($project, $optParams = array()) {
59
      $params = array('project' => $project);
60
      $params = array_merge($params, $optParams);
61
      $data = $this->__call('list', array($params));
62
      if ($this->useObjects()) {
63
        return new Google_OperationList($data);
64
      } else {
65
        return $data;
66
      }
67
    }
68
    /**
69
     * Deletes the specified operation resource. (operations.delete)
70
     *
71
     * @param string $project Name of the project scoping this request.
72
     * @param string $operation Name of the operation resource to delete.
73
     * @param array $optParams Optional parameters.
74
     */
75
    public function delete($project, $operation, $optParams = array()) {
76
      $params = array('project' => $project, 'operation' => $operation);
77
      $params = array_merge($params, $optParams);
78
      $data = $this->__call('delete', array($params));
79
      return $data;
80
    }
81
  }
82
 
83
  /**
84
   * The "kernels" collection of methods.
85
   * Typical usage is:
86
   *  <code>
87
   *   $computeService = new Google_ComputeService(...);
88
   *   $kernels = $computeService->kernels;
89
   *  </code>
90
   */
91
  class Google_KernelsServiceResource extends Google_ServiceResource {
92
 
93
 
94
    /**
95
     * Retrieves the list of kernel resources available to the specified project. (kernels.list)
96
     *
97
     * @param string $project Name of the project scoping this request.
98
     * @param array $optParams Optional parameters.
99
     *
100
     * @opt_param string filter Optional. Filter expression for filtering listed resources.
101
     * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
102
     * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100.
103
     * @return Google_KernelList
104
     */
105
    public function listKernels($project, $optParams = array()) {
106
      $params = array('project' => $project);
107
      $params = array_merge($params, $optParams);
108
      $data = $this->__call('list', array($params));
109
      if ($this->useObjects()) {
110
        return new Google_KernelList($data);
111
      } else {
112
        return $data;
113
      }
114
    }
115
    /**
116
     * Returns the specified kernel resource. (kernels.get)
117
     *
118
     * @param string $project Name of the project scoping this request.
119
     * @param string $kernel Name of the kernel resource to return.
120
     * @param array $optParams Optional parameters.
121
     * @return Google_Kernel
122
     */
123
    public function get($project, $kernel, $optParams = array()) {
124
      $params = array('project' => $project, 'kernel' => $kernel);
125
      $params = array_merge($params, $optParams);
126
      $data = $this->__call('get', array($params));
127
      if ($this->useObjects()) {
128
        return new Google_Kernel($data);
129
      } else {
130
        return $data;
131
      }
132
    }
133
  }
134
 
135
  /**
136
   * The "disks" collection of methods.
137
   * Typical usage is:
138
   *  <code>
139
   *   $computeService = new Google_ComputeService(...);
140
   *   $disks = $computeService->disks;
141
   *  </code>
142
   */
143
  class Google_DisksServiceResource extends Google_ServiceResource {
144
 
145
 
146
    /**
147
     * Creates a persistent disk resource in the specified project using the data included in the
148
     * request. (disks.insert)
149
     *
150
     * @param string $project Name of the project scoping this request.
151
     * @param Google_Disk $postBody
152
     * @param array $optParams Optional parameters.
153
     * @return Google_Operation
154
     */
155
    public function insert($project, Google_Disk $postBody, $optParams = array()) {
156
      $params = array('project' => $project, 'postBody' => $postBody);
157
      $params = array_merge($params, $optParams);
158
      $data = $this->__call('insert', array($params));
159
      if ($this->useObjects()) {
160
        return new Google_Operation($data);
161
      } else {
162
        return $data;
163
      }
164
    }
165
    /**
166
     * Returns the specified persistent disk resource. (disks.get)
167
     *
168
     * @param string $project Name of the project scoping this request.
169
     * @param string $disk Name of the persistent disk resource to return.
170
     * @param array $optParams Optional parameters.
171
     * @return Google_Disk
172
     */
173
    public function get($project, $disk, $optParams = array()) {
174
      $params = array('project' => $project, 'disk' => $disk);
175
      $params = array_merge($params, $optParams);
176
      $data = $this->__call('get', array($params));
177
      if ($this->useObjects()) {
178
        return new Google_Disk($data);
179
      } else {
180
        return $data;
181
      }
182
    }
183
    /**
184
     * Retrieves the list of persistent disk resources contained within the specified project.
185
     * (disks.list)
186
     *
187
     * @param string $project Name of the project scoping this request.
188
     * @param array $optParams Optional parameters.
189
     *
190
     * @opt_param string filter Optional. Filter expression for filtering listed resources.
191
     * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
192
     * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100.
193
     * @return Google_DiskList
194
     */
195
    public function listDisks($project, $optParams = array()) {
196
      $params = array('project' => $project);
197
      $params = array_merge($params, $optParams);
198
      $data = $this->__call('list', array($params));
199
      if ($this->useObjects()) {
200
        return new Google_DiskList($data);
201
      } else {
202
        return $data;
203
      }
204
    }
205
    /**
206
     * Deletes the specified persistent disk resource. (disks.delete)
207
     *
208
     * @param string $project Name of the project scoping this request.
209
     * @param string $disk Name of the persistent disk resource to delete.
210
     * @param array $optParams Optional parameters.
211
     * @return Google_Operation
212
     */
213
    public function delete($project, $disk, $optParams = array()) {
214
      $params = array('project' => $project, 'disk' => $disk);
215
      $params = array_merge($params, $optParams);
216
      $data = $this->__call('delete', array($params));
217
      if ($this->useObjects()) {
218
        return new Google_Operation($data);
219
      } else {
220
        return $data;
221
      }
222
    }
223
  }
224
 
225
  /**
226
   * The "snapshots" collection of methods.
227
   * Typical usage is:
228
   *  <code>
229
   *   $computeService = new Google_ComputeService(...);
230
   *   $snapshots = $computeService->snapshots;
231
   *  </code>
232
   */
233
  class Google_SnapshotsServiceResource extends Google_ServiceResource {
234
 
235
 
236
    /**
237
     * Creates a persistent disk snapshot resource in the specified project using the data included in
238
     * the request. (snapshots.insert)
239
     *
240
     * @param string $project Name of the project scoping this request.
241
     * @param Google_Snapshot $postBody
242
     * @param array $optParams Optional parameters.
243
     * @return Google_Operation
244
     */
245
    public function insert($project, Google_Snapshot $postBody, $optParams = array()) {
246
      $params = array('project' => $project, 'postBody' => $postBody);
247
      $params = array_merge($params, $optParams);
248
      $data = $this->__call('insert', array($params));
249
      if ($this->useObjects()) {
250
        return new Google_Operation($data);
251
      } else {
252
        return $data;
253
      }
254
    }
255
    /**
256
     * Returns the specified persistent disk snapshot resource. (snapshots.get)
257
     *
258
     * @param string $project Name of the project scoping this request.
259
     * @param string $snapshot Name of the persistent disk snapshot resource to return.
260
     * @param array $optParams Optional parameters.
261
     * @return Google_Snapshot
262
     */
263
    public function get($project, $snapshot, $optParams = array()) {
264
      $params = array('project' => $project, 'snapshot' => $snapshot);
265
      $params = array_merge($params, $optParams);
266
      $data = $this->__call('get', array($params));
267
      if ($this->useObjects()) {
268
        return new Google_Snapshot($data);
269
      } else {
270
        return $data;
271
      }
272
    }
273
    /**
274
     * Retrieves the list of persistent disk snapshot resources contained within the specified project.
275
     * (snapshots.list)
276
     *
277
     * @param string $project Name of the project scoping this request.
278
     * @param array $optParams Optional parameters.
279
     *
280
     * @opt_param string filter Optional. Filter expression for filtering listed resources.
281
     * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
282
     * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100.
283
     * @return Google_SnapshotList
284
     */
285
    public function listSnapshots($project, $optParams = array()) {
286
      $params = array('project' => $project);
287
      $params = array_merge($params, $optParams);
288
      $data = $this->__call('list', array($params));
289
      if ($this->useObjects()) {
290
        return new Google_SnapshotList($data);
291
      } else {
292
        return $data;
293
      }
294
    }
295
    /**
296
     * Deletes the specified persistent disk snapshot resource. (snapshots.delete)
297
     *
298
     * @param string $project Name of the project scoping this request.
299
     * @param string $snapshot Name of the persistent disk snapshot resource to delete.
300
     * @param array $optParams Optional parameters.
301
     * @return Google_Operation
302
     */
303
    public function delete($project, $snapshot, $optParams = array()) {
304
      $params = array('project' => $project, 'snapshot' => $snapshot);
305
      $params = array_merge($params, $optParams);
306
      $data = $this->__call('delete', array($params));
307
      if ($this->useObjects()) {
308
        return new Google_Operation($data);
309
      } else {
310
        return $data;
311
      }
312
    }
313
  }
314
 
315
  /**
316
   * The "zones" collection of methods.
317
   * Typical usage is:
318
   *  <code>
319
   *   $computeService = new Google_ComputeService(...);
320
   *   $zones = $computeService->zones;
321
   *  </code>
322
   */
323
  class Google_ZonesServiceResource extends Google_ServiceResource {
324
 
325
 
326
    /**
327
     * Retrieves the list of zone resources available to the specified project. (zones.list)
328
     *
329
     * @param string $project Name of the project scoping this request.
330
     * @param array $optParams Optional parameters.
331
     *
332
     * @opt_param string filter Optional. Filter expression for filtering listed resources.
333
     * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
334
     * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100.
335
     * @return Google_ZoneList
336
     */
337
    public function listZones($project, $optParams = array()) {
338
      $params = array('project' => $project);
339
      $params = array_merge($params, $optParams);
340
      $data = $this->__call('list', array($params));
341
      if ($this->useObjects()) {
342
        return new Google_ZoneList($data);
343
      } else {
344
        return $data;
345
      }
346
    }
347
    /**
348
     * Returns the specified zone resource. (zones.get)
349
     *
350
     * @param string $project Name of the project scoping this request.
351
     * @param string $zone Name of the zone resource to return.
352
     * @param array $optParams Optional parameters.
353
     * @return Google_Zone
354
     */
355
    public function get($project, $zone, $optParams = array()) {
356
      $params = array('project' => $project, 'zone' => $zone);
357
      $params = array_merge($params, $optParams);
358
      $data = $this->__call('get', array($params));
359
      if ($this->useObjects()) {
360
        return new Google_Zone($data);
361
      } else {
362
        return $data;
363
      }
364
    }
365
  }
366
 
367
  /**
368
   * The "instances" collection of methods.
369
   * Typical usage is:
370
   *  <code>
371
   *   $computeService = new Google_ComputeService(...);
372
   *   $instances = $computeService->instances;
373
   *  </code>
374
   */
375
  class Google_InstancesServiceResource extends Google_ServiceResource {
376
 
377
 
378
    /**
379
     * Creates an instance resource in the specified project using the data included in the request.
380
     * (instances.insert)
381
     *
382
     * @param string $project Name of the project scoping this request.
383
     * @param Google_Instance $postBody
384
     * @param array $optParams Optional parameters.
385
     * @return Google_Operation
386
     */
387
    public function insert($project, Google_Instance $postBody, $optParams = array()) {
388
      $params = array('project' => $project, 'postBody' => $postBody);
389
      $params = array_merge($params, $optParams);
390
      $data = $this->__call('insert', array($params));
391
      if ($this->useObjects()) {
392
        return new Google_Operation($data);
393
      } else {
394
        return $data;
395
      }
396
    }
397
    /**
398
     * Deletes an access config from an instance's network interface. (instances.deleteAccessConfig)
399
     *
400
     * @param string $project Project name.
401
     * @param string $instance Instance name.
402
     * @param string $access_config Access config name.
403
     * @param string $network_interface Network interface name.
404
     * @param array $optParams Optional parameters.
405
     * @return Google_Operation
406
     */
407
    public function deleteAccessConfig($project, $instance, $access_config, $network_interface, $optParams = array()) {
408
      $params = array('project' => $project, 'instance' => $instance, 'access_config' => $access_config, 'network_interface' => $network_interface);
409
      $params = array_merge($params, $optParams);
410
      $data = $this->__call('deleteAccessConfig', array($params));
411
      if ($this->useObjects()) {
412
        return new Google_Operation($data);
413
      } else {
414
        return $data;
415
      }
416
    }
417
    /**
418
     * Returns the specified instance resource. (instances.get)
419
     *
420
     * @param string $project Name of the project scoping this request.
421
     * @param string $instance Name of the instance resource to return.
422
     * @param array $optParams Optional parameters.
423
     * @return Google_Instance
424
     */
425
    public function get($project, $instance, $optParams = array()) {
426
      $params = array('project' => $project, 'instance' => $instance);
427
      $params = array_merge($params, $optParams);
428
      $data = $this->__call('get', array($params));
429
      if ($this->useObjects()) {
430
        return new Google_Instance($data);
431
      } else {
432
        return $data;
433
      }
434
    }
435
    /**
436
     * Retrieves the list of instance resources contained within the specified project. (instances.list)
437
     *
438
     * @param string $project Name of the project scoping this request.
439
     * @param array $optParams Optional parameters.
440
     *
441
     * @opt_param string filter Optional. Filter expression for filtering listed resources.
442
     * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
443
     * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100.
444
     * @return Google_InstanceList
445
     */
446
    public function listInstances($project, $optParams = array()) {
447
      $params = array('project' => $project);
448
      $params = array_merge($params, $optParams);
449
      $data = $this->__call('list', array($params));
450
      if ($this->useObjects()) {
451
        return new Google_InstanceList($data);
452
      } else {
453
        return $data;
454
      }
455
    }
456
    /**
457
     * Adds an access config to an instance's network interface. (instances.addAccessConfig)
458
     *
459
     * @param string $project Project name.
460
     * @param string $instance Instance name.
461
     * @param string $network_interface Network interface name.
462
     * @param Google_AccessConfig $postBody
463
     * @param array $optParams Optional parameters.
464
     * @return Google_Operation
465
     */
466
    public function addAccessConfig($project, $instance, $network_interface, Google_AccessConfig $postBody, $optParams = array()) {
467
      $params = array('project' => $project, 'instance' => $instance, 'network_interface' => $network_interface, 'postBody' => $postBody);
468
      $params = array_merge($params, $optParams);
469
      $data = $this->__call('addAccessConfig', array($params));
470
      if ($this->useObjects()) {
471
        return new Google_Operation($data);
472
      } else {
473
        return $data;
474
      }
475
    }
476
    /**
477
     * Deletes the specified instance resource. (instances.delete)
478
     *
479
     * @param string $project Name of the project scoping this request.
480
     * @param string $instance Name of the instance resource to delete.
481
     * @param array $optParams Optional parameters.
482
     * @return Google_Operation
483
     */
484
    public function delete($project, $instance, $optParams = array()) {
485
      $params = array('project' => $project, 'instance' => $instance);
486
      $params = array_merge($params, $optParams);
487
      $data = $this->__call('delete', array($params));
488
      if ($this->useObjects()) {
489
        return new Google_Operation($data);
490
      } else {
491
        return $data;
492
      }
493
    }
494
  }
495
 
496
  /**
497
   * The "machineTypes" collection of methods.
498
   * Typical usage is:
499
   *  <code>
500
   *   $computeService = new Google_ComputeService(...);
501
   *   $machineTypes = $computeService->machineTypes;
502
   *  </code>
503
   */
504
  class Google_MachineTypesServiceResource extends Google_ServiceResource {
505
 
506
 
507
    /**
508
     * Retrieves the list of machine type resources available to the specified project.
509
     * (machineTypes.list)
510
     *
511
     * @param string $project Name of the project scoping this request.
512
     * @param array $optParams Optional parameters.
513
     *
514
     * @opt_param string filter Optional. Filter expression for filtering listed resources.
515
     * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
516
     * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100.
517
     * @return Google_MachineTypeList
518
     */
519
    public function listMachineTypes($project, $optParams = array()) {
520
      $params = array('project' => $project);
521
      $params = array_merge($params, $optParams);
522
      $data = $this->__call('list', array($params));
523
      if ($this->useObjects()) {
524
        return new Google_MachineTypeList($data);
525
      } else {
526
        return $data;
527
      }
528
    }
529
    /**
530
     * Returns the specified machine type resource. (machineTypes.get)
531
     *
532
     * @param string $project Name of the project scoping this request.
533
     * @param string $machineType Name of the machine type resource to return.
534
     * @param array $optParams Optional parameters.
535
     * @return Google_MachineType
536
     */
537
    public function get($project, $machineType, $optParams = array()) {
538
      $params = array('project' => $project, 'machineType' => $machineType);
539
      $params = array_merge($params, $optParams);
540
      $data = $this->__call('get', array($params));
541
      if ($this->useObjects()) {
542
        return new Google_MachineType($data);
543
      } else {
544
        return $data;
545
      }
546
    }
547
  }
548
 
549
  /**
550
   * The "images" collection of methods.
551
   * Typical usage is:
552
   *  <code>
553
   *   $computeService = new Google_ComputeService(...);
554
   *   $images = $computeService->images;
555
   *  </code>
556
   */
557
  class Google_ImagesServiceResource extends Google_ServiceResource {
558
 
559
 
560
    /**
561
     * Creates an image resource in the specified project using the data included in the request.
562
     * (images.insert)
563
     *
564
     * @param string $project Name of the project scoping this request.
565
     * @param Google_Image $postBody
566
     * @param array $optParams Optional parameters.
567
     * @return Google_Operation
568
     */
569
    public function insert($project, Google_Image $postBody, $optParams = array()) {
570
      $params = array('project' => $project, 'postBody' => $postBody);
571
      $params = array_merge($params, $optParams);
572
      $data = $this->__call('insert', array($params));
573
      if ($this->useObjects()) {
574
        return new Google_Operation($data);
575
      } else {
576
        return $data;
577
      }
578
    }
579
    /**
580
     * Returns the specified image resource. (images.get)
581
     *
582
     * @param string $project Name of the project scoping this request.
583
     * @param string $image Name of the image resource to return.
584
     * @param array $optParams Optional parameters.
585
     * @return Google_Image
586
     */
587
    public function get($project, $image, $optParams = array()) {
588
      $params = array('project' => $project, 'image' => $image);
589
      $params = array_merge($params, $optParams);
590
      $data = $this->__call('get', array($params));
591
      if ($this->useObjects()) {
592
        return new Google_Image($data);
593
      } else {
594
        return $data;
595
      }
596
    }
597
    /**
598
     * Retrieves the list of image resources available to the specified project. (images.list)
599
     *
600
     * @param string $project Name of the project scoping this request.
601
     * @param array $optParams Optional parameters.
602
     *
603
     * @opt_param string filter Optional. Filter expression for filtering listed resources.
604
     * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
605
     * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100.
606
     * @return Google_ImageList
607
     */
608
    public function listImages($project, $optParams = array()) {
609
      $params = array('project' => $project);
610
      $params = array_merge($params, $optParams);
611
      $data = $this->__call('list', array($params));
612
      if ($this->useObjects()) {
613
        return new Google_ImageList($data);
614
      } else {
615
        return $data;
616
      }
617
    }
618
    /**
619
     * Deletes the specified image resource. (images.delete)
620
     *
621
     * @param string $project Name of the project scoping this request.
622
     * @param string $image Name of the image resource to delete.
623
     * @param array $optParams Optional parameters.
624
     * @return Google_Operation
625
     */
626
    public function delete($project, $image, $optParams = array()) {
627
      $params = array('project' => $project, 'image' => $image);
628
      $params = array_merge($params, $optParams);
629
      $data = $this->__call('delete', array($params));
630
      if ($this->useObjects()) {
631
        return new Google_Operation($data);
632
      } else {
633
        return $data;
634
      }
635
    }
636
  }
637
 
638
  /**
639
   * The "firewalls" collection of methods.
640
   * Typical usage is:
641
   *  <code>
642
   *   $computeService = new Google_ComputeService(...);
643
   *   $firewalls = $computeService->firewalls;
644
   *  </code>
645
   */
646
  class Google_FirewallsServiceResource extends Google_ServiceResource {
647
 
648
 
649
    /**
650
     * Creates a firewall resource in the specified project using the data included in the request.
651
     * (firewalls.insert)
652
     *
653
     * @param string $project Name of the project scoping this request.
654
     * @param Google_Firewall $postBody
655
     * @param array $optParams Optional parameters.
656
     * @return Google_Operation
657
     */
658
    public function insert($project, Google_Firewall $postBody, $optParams = array()) {
659
      $params = array('project' => $project, 'postBody' => $postBody);
660
      $params = array_merge($params, $optParams);
661
      $data = $this->__call('insert', array($params));
662
      if ($this->useObjects()) {
663
        return new Google_Operation($data);
664
      } else {
665
        return $data;
666
      }
667
    }
668
    /**
669
     * Returns the specified firewall resource. (firewalls.get)
670
     *
671
     * @param string $project Name of the project scoping this request.
672
     * @param string $firewall Name of the firewall resource to return.
673
     * @param array $optParams Optional parameters.
674
     * @return Google_Firewall
675
     */
676
    public function get($project, $firewall, $optParams = array()) {
677
      $params = array('project' => $project, 'firewall' => $firewall);
678
      $params = array_merge($params, $optParams);
679
      $data = $this->__call('get', array($params));
680
      if ($this->useObjects()) {
681
        return new Google_Firewall($data);
682
      } else {
683
        return $data;
684
      }
685
    }
686
    /**
687
     * Retrieves the list of firewall resources available to the specified project. (firewalls.list)
688
     *
689
     * @param string $project Name of the project scoping this request.
690
     * @param array $optParams Optional parameters.
691
     *
692
     * @opt_param string filter Optional. Filter expression for filtering listed resources.
693
     * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
694
     * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100.
695
     * @return Google_FirewallList
696
     */
697
    public function listFirewalls($project, $optParams = array()) {
698
      $params = array('project' => $project);
699
      $params = array_merge($params, $optParams);
700
      $data = $this->__call('list', array($params));
701
      if ($this->useObjects()) {
702
        return new Google_FirewallList($data);
703
      } else {
704
        return $data;
705
      }
706
    }
707
    /**
708
     * Updates the specified firewall resource with the data included in the request. (firewalls.update)
709
     *
710
     * @param string $project Name of the project scoping this request.
711
     * @param string $firewall Name of the firewall resource to update.
712
     * @param Google_Firewall $postBody
713
     * @param array $optParams Optional parameters.
714
     * @return Google_Operation
715
     */
716
    public function update($project, $firewall, Google_Firewall $postBody, $optParams = array()) {
717
      $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody);
718
      $params = array_merge($params, $optParams);
719
      $data = $this->__call('update', array($params));
720
      if ($this->useObjects()) {
721
        return new Google_Operation($data);
722
      } else {
723
        return $data;
724
      }
725
    }
726
    /**
727
     * Updates the specified firewall resource with the data included in the request. This method
728
     * supports patch semantics. (firewalls.patch)
729
     *
730
     * @param string $project Name of the project scoping this request.
731
     * @param string $firewall Name of the firewall resource to update.
732
     * @param Google_Firewall $postBody
733
     * @param array $optParams Optional parameters.
734
     * @return Google_Operation
735
     */
736
    public function patch($project, $firewall, Google_Firewall $postBody, $optParams = array()) {
737
      $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody);
738
      $params = array_merge($params, $optParams);
739
      $data = $this->__call('patch', array($params));
740
      if ($this->useObjects()) {
741
        return new Google_Operation($data);
742
      } else {
743
        return $data;
744
      }
745
    }
746
    /**
747
     * Deletes the specified firewall resource. (firewalls.delete)
748
     *
749
     * @param string $project Name of the project scoping this request.
750
     * @param string $firewall Name of the firewall resource to delete.
751
     * @param array $optParams Optional parameters.
752
     * @return Google_Operation
753
     */
754
    public function delete($project, $firewall, $optParams = array()) {
755
      $params = array('project' => $project, 'firewall' => $firewall);
756
      $params = array_merge($params, $optParams);
757
      $data = $this->__call('delete', array($params));
758
      if ($this->useObjects()) {
759
        return new Google_Operation($data);
760
      } else {
761
        return $data;
762
      }
763
    }
764
  }
765
 
766
  /**
767
   * The "networks" collection of methods.
768
   * Typical usage is:
769
   *  <code>
770
   *   $computeService = new Google_ComputeService(...);
771
   *   $networks = $computeService->networks;
772
   *  </code>
773
   */
774
  class Google_NetworksServiceResource extends Google_ServiceResource {
775
 
776
 
777
    /**
778
     * Creates a network resource in the specified project using the data included in the request.
779
     * (networks.insert)
780
     *
781
     * @param string $project Name of the project scoping this request.
782
     * @param Google_Network $postBody
783
     * @param array $optParams Optional parameters.
784
     * @return Google_Operation
785
     */
786
    public function insert($project, Google_Network $postBody, $optParams = array()) {
787
      $params = array('project' => $project, 'postBody' => $postBody);
788
      $params = array_merge($params, $optParams);
789
      $data = $this->__call('insert', array($params));
790
      if ($this->useObjects()) {
791
        return new Google_Operation($data);
792
      } else {
793
        return $data;
794
      }
795
    }
796
    /**
797
     * Returns the specified network resource. (networks.get)
798
     *
799
     * @param string $project Name of the project scoping this request.
800
     * @param string $network Name of the network resource to return.
801
     * @param array $optParams Optional parameters.
802
     * @return Google_Network
803
     */
804
    public function get($project, $network, $optParams = array()) {
805
      $params = array('project' => $project, 'network' => $network);
806
      $params = array_merge($params, $optParams);
807
      $data = $this->__call('get', array($params));
808
      if ($this->useObjects()) {
809
        return new Google_Network($data);
810
      } else {
811
        return $data;
812
      }
813
    }
814
    /**
815
     * Retrieves the list of network resources available to the specified project. (networks.list)
816
     *
817
     * @param string $project Name of the project scoping this request.
818
     * @param array $optParams Optional parameters.
819
     *
820
     * @opt_param string filter Optional. Filter expression for filtering listed resources.
821
     * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
822
     * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100.
823
     * @return Google_NetworkList
824
     */
825
    public function listNetworks($project, $optParams = array()) {
826
      $params = array('project' => $project);
827
      $params = array_merge($params, $optParams);
828
      $data = $this->__call('list', array($params));
829
      if ($this->useObjects()) {
830
        return new Google_NetworkList($data);
831
      } else {
832
        return $data;
833
      }
834
    }
835
    /**
836
     * Deletes the specified network resource. (networks.delete)
837
     *
838
     * @param string $project Name of the project scoping this request.
839
     * @param string $network Name of the network resource to delete.
840
     * @param array $optParams Optional parameters.
841
     * @return Google_Operation
842
     */
843
    public function delete($project, $network, $optParams = array()) {
844
      $params = array('project' => $project, 'network' => $network);
845
      $params = array_merge($params, $optParams);
846
      $data = $this->__call('delete', array($params));
847
      if ($this->useObjects()) {
848
        return new Google_Operation($data);
849
      } else {
850
        return $data;
851
      }
852
    }
853
  }
854
 
855
  /**
856
   * The "projects" collection of methods.
857
   * Typical usage is:
858
   *  <code>
859
   *   $computeService = new Google_ComputeService(...);
860
   *   $projects = $computeService->projects;
861
   *  </code>
862
   */
863
  class Google_ProjectsServiceResource extends Google_ServiceResource {
864
 
865
 
866
    /**
867
     * Sets metadata common to all instances within the specified project using the data included in the
868
     * request. (projects.setCommonInstanceMetadata)
869
     *
870
     * @param string $project Name of the project scoping this request.
871
     * @param Google_Metadata $postBody
872
     * @param array $optParams Optional parameters.
873
     */
874
    public function setCommonInstanceMetadata($project, Google_Metadata $postBody, $optParams = array()) {
875
      $params = array('project' => $project, 'postBody' => $postBody);
876
      $params = array_merge($params, $optParams);
877
      $data = $this->__call('setCommonInstanceMetadata', array($params));
878
      return $data;
879
    }
880
    /**
881
     * Returns the specified project resource. (projects.get)
882
     *
883
     * @param string $project Name of the project resource to retrieve.
884
     * @param array $optParams Optional parameters.
885
     * @return Google_Project
886
     */
887
    public function get($project, $optParams = array()) {
888
      $params = array('project' => $project);
889
      $params = array_merge($params, $optParams);
890
      $data = $this->__call('get', array($params));
891
      if ($this->useObjects()) {
892
        return new Google_Project($data);
893
      } else {
894
        return $data;
895
      }
896
    }
897
  }
898
 
899
/**
900
 * Service definition for Google_Compute (v1beta12).
901
 *
902
 * <p>
903
 * API for the Google Compute Engine service.
904
 * </p>
905
 *
906
 * <p>
907
 * For more information about this service, see the
908
 * <a href="https://developers.google.com/compute/docs/reference/v1beta12" target="_blank">API Documentation</a>
909
 * </p>
910
 *
911
 * @author Google, Inc.
912
 */
913
class Google_ComputeService extends Google_Service {
914
  public $operations;
915
  public $kernels;
916
  public $disks;
917
  public $snapshots;
918
  public $zones;
919
  public $instances;
920
  public $machineTypes;
921
  public $images;
922
  public $firewalls;
923
  public $networks;
924
  public $projects;
925
  /**
926
   * Constructs the internal representation of the Compute service.
927
   *
928
   * @param Google_Client $client
929
   */
930
  public function __construct(Google_Client $client) {
931
    $this->servicePath = 'compute/v1beta12/projects/';
932
    $this->version = 'v1beta12';
933
    $this->serviceName = 'compute';
934
 
935
    $client->addService($this->serviceName, $this->version);
936
    $this->operations = new Google_OperationsServiceResource($this, $this->serviceName, 'operations', json_decode('{"methods": {"get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "operation": {"required": true, "type": "string", "location": "path"}}, "id": "compute.operations.get", "httpMethod": "GET", "path": "{project}/operations/{operation}", "response": {"$ref": "Operation"}}, "list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.operations.list", "httpMethod": "GET", "path": "{project}/operations", "response": {"$ref": "OperationList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/compute"], "path": "{project}/operations/{operation}", "id": "compute.operations.delete", "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "operation": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));
937
    $this->kernels = new Google_KernelsServiceResource($this, $this->serviceName, 'kernels', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.kernels.list", "httpMethod": "GET", "path": "{project}/kernels", "response": {"$ref": "KernelList"}}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "kernel": {"required": true, "type": "string", "location": "path"}}, "id": "compute.kernels.get", "httpMethod": "GET", "path": "{project}/kernels/{kernel}", "response": {"$ref": "Kernel"}}}}', true));
938
    $this->disks = new Google_DisksServiceResource($this, $this->serviceName, 'disks', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Disk"}, "response": {"$ref": "Operation"}, "httpMethod": "POST", "path": "{project}/disks", "id": "compute.disks.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "disk": {"required": true, "type": "string", "location": "path"}}, "id": "compute.disks.get", "httpMethod": "GET", "path": "{project}/disks/{disk}", "response": {"$ref": "Disk"}}, "list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.disks.list", "httpMethod": "GET", "path": "{project}/disks", "response": {"$ref": "DiskList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "disk": {"required": true, "type": "string", "location": "path"}}, "id": "compute.disks.delete", "httpMethod": "DELETE", "path": "{project}/disks/{disk}", "response": {"$ref": "Operation"}}}}', true));
939
    $this->snapshots = new Google_SnapshotsServiceResource($this, $this->serviceName, 'snapshots', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Snapshot"}, "response": {"$ref": "Operation"}, "httpMethod": "POST", "path": "{project}/snapshots", "id": "compute.snapshots.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "snapshot": {"required": true, "type": "string", "location": "path"}}, "id": "compute.snapshots.get", "httpMethod": "GET", "path": "{project}/snapshots/{snapshot}", "response": {"$ref": "Snapshot"}}, "list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.snapshots.list", "httpMethod": "GET", "path": "{project}/snapshots", "response": {"$ref": "SnapshotList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "snapshot": {"required": true, "type": "string", "location": "path"}}, "id": "compute.snapshots.delete", "httpMethod": "DELETE", "path": "{project}/snapshots/{snapshot}", "response": {"$ref": "Operation"}}}}', true));
940
    $this->zones = new Google_ZonesServiceResource($this, $this->serviceName, 'zones', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.zones.list", "httpMethod": "GET", "path": "{project}/zones", "response": {"$ref": "ZoneList"}}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "zone": {"required": true, "type": "string", "location": "path"}}, "id": "compute.zones.get", "httpMethod": "GET", "path": "{project}/zones/{zone}", "response": {"$ref": "Zone"}}}}', true));
941
    $this->instances = new Google_InstancesServiceResource($this, $this->serviceName, 'instances', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Instance"}, "response": {"$ref": "Operation"}, "httpMethod": "POST", "path": "{project}/instances", "id": "compute.instances.insert"}, "deleteAccessConfig": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "instance": {"required": true, "type": "string", "location": "path"}, "access_config": {"required": true, "type": "string", "location": "query"}, "network_interface": {"required": true, "type": "string", "location": "query"}}, "id": "compute.instances.deleteAccessConfig", "httpMethod": "POST", "path": "{project}/instances/{instance}/delete-access-config", "response": {"$ref": "Operation"}}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "instance": {"required": true, "type": "string", "location": "path"}}, "id": "compute.instances.get", "httpMethod": "GET", "path": "{project}/instances/{instance}", "response": {"$ref": "Instance"}}, "list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.instances.list", "httpMethod": "GET", "path": "{project}/instances", "response": {"$ref": "InstanceList"}}, "addAccessConfig": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "instance": {"required": true, "type": "string", "location": "path"}, "network_interface": {"required": true, "type": "string", "location": "query"}}, "request": {"$ref": "AccessConfig"}, "response": {"$ref": "Operation"}, "httpMethod": "POST", "path": "{project}/instances/{instance}/add-access-config", "id": "compute.instances.addAccessConfig"}, "delete": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "instance": {"required": true, "type": "string", "location": "path"}}, "id": "compute.instances.delete", "httpMethod": "DELETE", "path": "{project}/instances/{instance}", "response": {"$ref": "Operation"}}}}', true));
942
    $this->machineTypes = new Google_MachineTypesServiceResource($this, $this->serviceName, 'machineTypes', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.machineTypes.list", "httpMethod": "GET", "path": "{project}/machine-types", "response": {"$ref": "MachineTypeList"}}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "machineType": {"required": true, "type": "string", "location": "path"}}, "id": "compute.machineTypes.get", "httpMethod": "GET", "path": "{project}/machine-types/{machineType}", "response": {"$ref": "MachineType"}}}}', true));
943
    $this->images = new Google_ImagesServiceResource($this, $this->serviceName, 'images', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/devstorage.read_only"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Image"}, "response": {"$ref": "Operation"}, "httpMethod": "POST", "path": "{project}/images", "id": "compute.images.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "image": {"required": true, "type": "string", "location": "path"}}, "id": "compute.images.get", "httpMethod": "GET", "path": "{project}/images/{image}", "response": {"$ref": "Image"}}, "list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.images.list", "httpMethod": "GET", "path": "{project}/images", "response": {"$ref": "ImageList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "image": {"required": true, "type": "string", "location": "path"}}, "id": "compute.images.delete", "httpMethod": "DELETE", "path": "{project}/images/{image}", "response": {"$ref": "Operation"}}}}', true));
944
    $this->firewalls = new Google_FirewallsServiceResource($this, $this->serviceName, 'firewalls', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Firewall"}, "response": {"$ref": "Operation"}, "httpMethod": "POST", "path": "{project}/firewalls", "id": "compute.firewalls.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"firewall": {"required": true, "type": "string", "location": "path"}, "project": {"required": true, "type": "string", "location": "path"}}, "id": "compute.firewalls.get", "httpMethod": "GET", "path": "{project}/firewalls/{firewall}", "response": {"$ref": "Firewall"}}, "list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.firewalls.list", "httpMethod": "GET", "path": "{project}/firewalls", "response": {"$ref": "FirewallList"}}, "update": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"firewall": {"required": true, "type": "string", "location": "path"}, "project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Firewall"}, "response": {"$ref": "Operation"}, "httpMethod": "PUT", "path": "{project}/firewalls/{firewall}", "id": "compute.firewalls.update"}, "patch": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"firewall": {"required": true, "type": "string", "location": "path"}, "project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Firewall"}, "response": {"$ref": "Operation"}, "httpMethod": "PATCH", "path": "{project}/firewalls/{firewall}", "id": "compute.firewalls.patch"}, "delete": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"firewall": {"required": true, "type": "string", "location": "path"}, "project": {"required": true, "type": "string", "location": "path"}}, "id": "compute.firewalls.delete", "httpMethod": "DELETE", "path": "{project}/firewalls/{firewall}", "response": {"$ref": "Operation"}}}}', true));
945
    $this->networks = new Google_NetworksServiceResource($this, $this->serviceName, 'networks', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Network"}, "response": {"$ref": "Operation"}, "httpMethod": "POST", "path": "{project}/networks", "id": "compute.networks.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "network": {"required": true, "type": "string", "location": "path"}}, "id": "compute.networks.get", "httpMethod": "GET", "path": "{project}/networks/{network}", "response": {"$ref": "Network"}}, "list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.networks.list", "httpMethod": "GET", "path": "{project}/networks", "response": {"$ref": "NetworkList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "network": {"required": true, "type": "string", "location": "path"}}, "id": "compute.networks.delete", "httpMethod": "DELETE", "path": "{project}/networks/{network}", "response": {"$ref": "Operation"}}}}', true));
946
    $this->projects = new Google_ProjectsServiceResource($this, $this->serviceName, 'projects', json_decode('{"methods": {"setCommonInstanceMetadata": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Metadata"}, "httpMethod": "POST", "path": "{project}/set-common-instance-metadata", "id": "compute.projects.setCommonInstanceMetadata"}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "id": "compute.projects.get", "httpMethod": "GET", "path": "{project}", "response": {"$ref": "Project"}}}}', true));
947
 
948
  }
949
}
950
 
951
class Google_AccessConfig extends Google_Model {
952
  public $kind;
953
  public $type;
954
  public $name;
955
  public $natIP;
956
  public function setKind($kind) {
957
    $this->kind = $kind;
958
  }
959
  public function getKind() {
960
    return $this->kind;
961
  }
962
  public function setType($type) {
963
    $this->type = $type;
964
  }
965
  public function getType() {
966
    return $this->type;
967
  }
968
  public function setName($name) {
969
    $this->name = $name;
970
  }
971
  public function getName() {
972
    return $this->name;
973
  }
974
  public function setNatIP($natIP) {
975
    $this->natIP = $natIP;
976
  }
977
  public function getNatIP() {
978
    return $this->natIP;
979
  }
980
}
981
 
982
class Google_AttachedDisk extends Google_Model {
983
  public $deviceName;
984
  public $kind;
985
  public $index;
986
  public $source;
987
  public $mode;
988
  public $deleteOnTerminate;
989
  public $type;
990
  public function setDeviceName($deviceName) {
991
    $this->deviceName = $deviceName;
992
  }
993
  public function getDeviceName() {
994
    return $this->deviceName;
995
  }
996
  public function setKind($kind) {
997
    $this->kind = $kind;
998
  }
999
  public function getKind() {
1000
    return $this->kind;
1001
  }
1002
  public function setIndex($index) {
1003
    $this->index = $index;
1004
  }
1005
  public function getIndex() {
1006
    return $this->index;
1007
  }
1008
  public function setSource($source) {
1009
    $this->source = $source;
1010
  }
1011
  public function getSource() {
1012
    return $this->source;
1013
  }
1014
  public function setMode($mode) {
1015
    $this->mode = $mode;
1016
  }
1017
  public function getMode() {
1018
    return $this->mode;
1019
  }
1020
  public function setDeleteOnTerminate($deleteOnTerminate) {
1021
    $this->deleteOnTerminate = $deleteOnTerminate;
1022
  }
1023
  public function getDeleteOnTerminate() {
1024
    return $this->deleteOnTerminate;
1025
  }
1026
  public function setType($type) {
1027
    $this->type = $type;
1028
  }
1029
  public function getType() {
1030
    return $this->type;
1031
  }
1032
}
1033
 
1034
class Google_Disk extends Google_Model {
1035
  public $status;
1036
  public $sourceSnapshot;
1037
  public $kind;
1038
  public $description;
1039
  public $sizeGb;
1040
  public $id;
1041
  public $sourceSnapshotId;
1042
  public $zone;
1043
  public $creationTimestamp;
1044
  public $options;
1045
  public $selfLink;
1046
  public $name;
1047
  public function setStatus($status) {
1048
    $this->status = $status;
1049
  }
1050
  public function getStatus() {
1051
    return $this->status;
1052
  }
1053
  public function setSourceSnapshot($sourceSnapshot) {
1054
    $this->sourceSnapshot = $sourceSnapshot;
1055
  }
1056
  public function getSourceSnapshot() {
1057
    return $this->sourceSnapshot;
1058
  }
1059
  public function setKind($kind) {
1060
    $this->kind = $kind;
1061
  }
1062
  public function getKind() {
1063
    return $this->kind;
1064
  }
1065
  public function setDescription($description) {
1066
    $this->description = $description;
1067
  }
1068
  public function getDescription() {
1069
    return $this->description;
1070
  }
1071
  public function setSizeGb($sizeGb) {
1072
    $this->sizeGb = $sizeGb;
1073
  }
1074
  public function getSizeGb() {
1075
    return $this->sizeGb;
1076
  }
1077
  public function setId($id) {
1078
    $this->id = $id;
1079
  }
1080
  public function getId() {
1081
    return $this->id;
1082
  }
1083
  public function setSourceSnapshotId($sourceSnapshotId) {
1084
    $this->sourceSnapshotId = $sourceSnapshotId;
1085
  }
1086
  public function getSourceSnapshotId() {
1087
    return $this->sourceSnapshotId;
1088
  }
1089
  public function setZone($zone) {
1090
    $this->zone = $zone;
1091
  }
1092
  public function getZone() {
1093
    return $this->zone;
1094
  }
1095
  public function setCreationTimestamp($creationTimestamp) {
1096
    $this->creationTimestamp = $creationTimestamp;
1097
  }
1098
  public function getCreationTimestamp() {
1099
    return $this->creationTimestamp;
1100
  }
1101
  public function setOptions($options) {
1102
    $this->options = $options;
1103
  }
1104
  public function getOptions() {
1105
    return $this->options;
1106
  }
1107
  public function setSelfLink($selfLink) {
1108
    $this->selfLink = $selfLink;
1109
  }
1110
  public function getSelfLink() {
1111
    return $this->selfLink;
1112
  }
1113
  public function setName($name) {
1114
    $this->name = $name;
1115
  }
1116
  public function getName() {
1117
    return $this->name;
1118
  }
1119
}
1120
 
1121
class Google_DiskList extends Google_Model {
1122
  public $nextPageToken;
1123
  protected $__itemsType = 'Google_Disk';
1124
  protected $__itemsDataType = 'array';
1125
  public $items;
1126
  public $kind;
1127
  public $id;
1128
  public $selfLink;
1129
  public function setNextPageToken($nextPageToken) {
1130
    $this->nextPageToken = $nextPageToken;
1131
  }
1132
  public function getNextPageToken() {
1133
    return $this->nextPageToken;
1134
  }
1135
  public function setItems($items) {
1136
    $this->assertIsArray($items, 'Google_Disk', __METHOD__);
1137
    $this->items = $items;
1138
  }
1139
  public function getItems() {
1140
    return $this->items;
1141
  }
1142
  public function setKind($kind) {
1143
    $this->kind = $kind;
1144
  }
1145
  public function getKind() {
1146
    return $this->kind;
1147
  }
1148
  public function setId($id) {
1149
    $this->id = $id;
1150
  }
1151
  public function getId() {
1152
    return $this->id;
1153
  }
1154
  public function setSelfLink($selfLink) {
1155
    $this->selfLink = $selfLink;
1156
  }
1157
  public function getSelfLink() {
1158
    return $this->selfLink;
1159
  }
1160
}
1161
 
1162
class Google_Firewall extends Google_Model {
1163
  public $kind;
1164
  public $description;
1165
  public $sourceTags;
1166
  public $sourceRanges;
1167
  public $network;
1168
  public $targetTags;
1169
  protected $__allowedType = 'Google_FirewallAllowed';
1170
  protected $__allowedDataType = 'array';
1171
  public $allowed;
1172
  public $creationTimestamp;
1173
  public $id;
1174
  public $selfLink;
1175
  public $name;
1176
  public function setKind($kind) {
1177
    $this->kind = $kind;
1178
  }
1179
  public function getKind() {
1180
    return $this->kind;
1181
  }
1182
  public function setDescription($description) {
1183
    $this->description = $description;
1184
  }
1185
  public function getDescription() {
1186
    return $this->description;
1187
  }
1188
  public function setSourceTags($sourceTags) {
1189
    $this->sourceTags = $sourceTags;
1190
  }
1191
  public function getSourceTags() {
1192
    return $this->sourceTags;
1193
  }
1194
  public function setSourceRanges($sourceRanges) {
1195
    $this->sourceRanges = $sourceRanges;
1196
  }
1197
  public function getSourceRanges() {
1198
    return $this->sourceRanges;
1199
  }
1200
  public function setNetwork($network) {
1201
    $this->network = $network;
1202
  }
1203
  public function getNetwork() {
1204
    return $this->network;
1205
  }
1206
  public function setTargetTags($targetTags) {
1207
    $this->targetTags = $targetTags;
1208
  }
1209
  public function getTargetTags() {
1210
    return $this->targetTags;
1211
  }
1212
  public function setAllowed($allowed) {
1213
    $this->assertIsArray($allowed, 'Google_FirewallAllowed', __METHOD__);
1214
    $this->allowed = $allowed;
1215
  }
1216
  public function getAllowed() {
1217
    return $this->allowed;
1218
  }
1219
  public function setCreationTimestamp($creationTimestamp) {
1220
    $this->creationTimestamp = $creationTimestamp;
1221
  }
1222
  public function getCreationTimestamp() {
1223
    return $this->creationTimestamp;
1224
  }
1225
  public function setId($id) {
1226
    $this->id = $id;
1227
  }
1228
  public function getId() {
1229
    return $this->id;
1230
  }
1231
  public function setSelfLink($selfLink) {
1232
    $this->selfLink = $selfLink;
1233
  }
1234
  public function getSelfLink() {
1235
    return $this->selfLink;
1236
  }
1237
  public function setName($name) {
1238
    $this->name = $name;
1239
  }
1240
  public function getName() {
1241
    return $this->name;
1242
  }
1243
}
1244
 
1245
class Google_FirewallAllowed extends Google_Model {
1246
  public $IPProtocol;
1247
  public $ports;
1248
  public function setIPProtocol($IPProtocol) {
1249
    $this->IPProtocol = $IPProtocol;
1250
  }
1251
  public function getIPProtocol() {
1252
    return $this->IPProtocol;
1253
  }
1254
  public function setPorts($ports) {
1255
    $this->ports = $ports;
1256
  }
1257
  public function getPorts() {
1258
    return $this->ports;
1259
  }
1260
}
1261
 
1262
class Google_FirewallList extends Google_Model {
1263
  public $nextPageToken;
1264
  protected $__itemsType = 'Google_Firewall';
1265
  protected $__itemsDataType = 'array';
1266
  public $items;
1267
  public $kind;
1268
  public $id;
1269
  public $selfLink;
1270
  public function setNextPageToken($nextPageToken) {
1271
    $this->nextPageToken = $nextPageToken;
1272
  }
1273
  public function getNextPageToken() {
1274
    return $this->nextPageToken;
1275
  }
1276
  public function setItems($items) {
1277
    $this->assertIsArray($items, 'Google_Firewall', __METHOD__);
1278
    $this->items = $items;
1279
  }
1280
  public function getItems() {
1281
    return $this->items;
1282
  }
1283
  public function setKind($kind) {
1284
    $this->kind = $kind;
1285
  }
1286
  public function getKind() {
1287
    return $this->kind;
1288
  }
1289
  public function setId($id) {
1290
    $this->id = $id;
1291
  }
1292
  public function getId() {
1293
    return $this->id;
1294
  }
1295
  public function setSelfLink($selfLink) {
1296
    $this->selfLink = $selfLink;
1297
  }
1298
  public function getSelfLink() {
1299
    return $this->selfLink;
1300
  }
1301
}
1302
 
1303
class Google_Image extends Google_Model {
1304
  public $kind;
1305
  public $description;
1306
  protected $__rawDiskType = 'Google_ImageRawDisk';
1307
  protected $__rawDiskDataType = '';
1308
  public $rawDisk;
1309
  public $preferredKernel;
1310
  protected $__diskSnapshotType = 'Google_ImageDiskSnapshot';
1311
  protected $__diskSnapshotDataType = '';
1312
  public $diskSnapshot;
1313
  public $sourceType;
1314
  public $creationTimestamp;
1315
  public $id;
1316
  public $selfLink;
1317
  public $name;
1318
  public function setKind($kind) {
1319
    $this->kind = $kind;
1320
  }
1321
  public function getKind() {
1322
    return $this->kind;
1323
  }
1324
  public function setDescription($description) {
1325
    $this->description = $description;
1326
  }
1327
  public function getDescription() {
1328
    return $this->description;
1329
  }
1330
  public function setRawDisk(Google_ImageRawDisk $rawDisk) {
1331
    $this->rawDisk = $rawDisk;
1332
  }
1333
  public function getRawDisk() {
1334
    return $this->rawDisk;
1335
  }
1336
  public function setPreferredKernel($preferredKernel) {
1337
    $this->preferredKernel = $preferredKernel;
1338
  }
1339
  public function getPreferredKernel() {
1340
    return $this->preferredKernel;
1341
  }
1342
  public function setDiskSnapshot(Google_ImageDiskSnapshot $diskSnapshot) {
1343
    $this->diskSnapshot = $diskSnapshot;
1344
  }
1345
  public function getDiskSnapshot() {
1346
    return $this->diskSnapshot;
1347
  }
1348
  public function setSourceType($sourceType) {
1349
    $this->sourceType = $sourceType;
1350
  }
1351
  public function getSourceType() {
1352
    return $this->sourceType;
1353
  }
1354
  public function setCreationTimestamp($creationTimestamp) {
1355
    $this->creationTimestamp = $creationTimestamp;
1356
  }
1357
  public function getCreationTimestamp() {
1358
    return $this->creationTimestamp;
1359
  }
1360
  public function setId($id) {
1361
    $this->id = $id;
1362
  }
1363
  public function getId() {
1364
    return $this->id;
1365
  }
1366
  public function setSelfLink($selfLink) {
1367
    $this->selfLink = $selfLink;
1368
  }
1369
  public function getSelfLink() {
1370
    return $this->selfLink;
1371
  }
1372
  public function setName($name) {
1373
    $this->name = $name;
1374
  }
1375
  public function getName() {
1376
    return $this->name;
1377
  }
1378
}
1379
 
1380
class Google_ImageDiskSnapshot extends Google_Model {
1381
  public $source;
1382
  public function setSource($source) {
1383
    $this->source = $source;
1384
  }
1385
  public function getSource() {
1386
    return $this->source;
1387
  }
1388
}
1389
 
1390
class Google_ImageList extends Google_Model {
1391
  public $nextPageToken;
1392
  protected $__itemsType = 'Google_Image';
1393
  protected $__itemsDataType = 'array';
1394
  public $items;
1395
  public $kind;
1396
  public $id;
1397
  public $selfLink;
1398
  public function setNextPageToken($nextPageToken) {
1399
    $this->nextPageToken = $nextPageToken;
1400
  }
1401
  public function getNextPageToken() {
1402
    return $this->nextPageToken;
1403
  }
1404
  public function setItems($items) {
1405
    $this->assertIsArray($items, 'Google_Image', __METHOD__);
1406
    $this->items = $items;
1407
  }
1408
  public function getItems() {
1409
    return $this->items;
1410
  }
1411
  public function setKind($kind) {
1412
    $this->kind = $kind;
1413
  }
1414
  public function getKind() {
1415
    return $this->kind;
1416
  }
1417
  public function setId($id) {
1418
    $this->id = $id;
1419
  }
1420
  public function getId() {
1421
    return $this->id;
1422
  }
1423
  public function setSelfLink($selfLink) {
1424
    $this->selfLink = $selfLink;
1425
  }
1426
  public function getSelfLink() {
1427
    return $this->selfLink;
1428
  }
1429
}
1430
 
1431
class Google_ImageRawDisk extends Google_Model {
1432
  public $containerType;
1433
  public $source;
1434
  public $sha1Checksum;
1435
  public function setContainerType($containerType) {
1436
    $this->containerType = $containerType;
1437
  }
1438
  public function getContainerType() {
1439
    return $this->containerType;
1440
  }
1441
  public function setSource($source) {
1442
    $this->source = $source;
1443
  }
1444
  public function getSource() {
1445
    return $this->source;
1446
  }
1447
  public function setSha1Checksum($sha1Checksum) {
1448
    $this->sha1Checksum = $sha1Checksum;
1449
  }
1450
  public function getSha1Checksum() {
1451
    return $this->sha1Checksum;
1452
  }
1453
}
1454
 
1455
class Google_Instance extends Google_Model {
1456
  public $status;
1457
  public $kind;
1458
  public $machineType;
1459
  public $description;
1460
  public $zone;
1461
  public $tags;
1462
  public $image;
1463
  protected $__disksType = 'Google_AttachedDisk';
1464
  protected $__disksDataType = 'array';
1465
  public $disks;
1466
  public $name;
1467
  public $statusMessage;
1468
  protected $__serviceAccountsType = 'Google_ServiceAccount';
1469
  protected $__serviceAccountsDataType = 'array';
1470
  public $serviceAccounts;
1471
  protected $__networkInterfacesType = 'Google_NetworkInterface';
1472
  protected $__networkInterfacesDataType = 'array';
1473
  public $networkInterfaces;
1474
  public $creationTimestamp;
1475
  public $id;
1476
  public $selfLink;
1477
  protected $__metadataType = 'Google_Metadata';
1478
  protected $__metadataDataType = '';
1479
  public $metadata;
1480
  public function setStatus($status) {
1481
    $this->status = $status;
1482
  }
1483
  public function getStatus() {
1484
    return $this->status;
1485
  }
1486
  public function setKind($kind) {
1487
    $this->kind = $kind;
1488
  }
1489
  public function getKind() {
1490
    return $this->kind;
1491
  }
1492
  public function setMachineType($machineType) {
1493
    $this->machineType = $machineType;
1494
  }
1495
  public function getMachineType() {
1496
    return $this->machineType;
1497
  }
1498
  public function setDescription($description) {
1499
    $this->description = $description;
1500
  }
1501
  public function getDescription() {
1502
    return $this->description;
1503
  }
1504
  public function setZone($zone) {
1505
    $this->zone = $zone;
1506
  }
1507
  public function getZone() {
1508
    return $this->zone;
1509
  }
1510
  public function setTags($tags) {
1511
    $this->tags = $tags;
1512
  }
1513
  public function getTags() {
1514
    return $this->tags;
1515
  }
1516
  public function setImage($image) {
1517
    $this->image = $image;
1518
  }
1519
  public function getImage() {
1520
    return $this->image;
1521
  }
1522
  public function setDisks($disks) {
1523
    $this->assertIsArray($disks, 'Google_AttachedDisk', __METHOD__);
1524
    $this->disks = $disks;
1525
  }
1526
  public function getDisks() {
1527
    return $this->disks;
1528
  }
1529
  public function setName($name) {
1530
    $this->name = $name;
1531
  }
1532
  public function getName() {
1533
    return $this->name;
1534
  }
1535
  public function setStatusMessage($statusMessage) {
1536
    $this->statusMessage = $statusMessage;
1537
  }
1538
  public function getStatusMessage() {
1539
    return $this->statusMessage;
1540
  }
1541
  public function setServiceAccounts($serviceAccounts) {
1542
    $this->assertIsArray($serviceAccounts, 'Google_ServiceAccount', __METHOD__);
1543
    $this->serviceAccounts = $serviceAccounts;
1544
  }
1545
  public function getServiceAccounts() {
1546
    return $this->serviceAccounts;
1547
  }
1548
  public function setNetworkInterfaces($networkInterfaces) {
1549
    $this->assertIsArray($networkInterfaces, 'Google_NetworkInterface', __METHOD__);
1550
    $this->networkInterfaces = $networkInterfaces;
1551
  }
1552
  public function getNetworkInterfaces() {
1553
    return $this->networkInterfaces;
1554
  }
1555
  public function setCreationTimestamp($creationTimestamp) {
1556
    $this->creationTimestamp = $creationTimestamp;
1557
  }
1558
  public function getCreationTimestamp() {
1559
    return $this->creationTimestamp;
1560
  }
1561
  public function setId($id) {
1562
    $this->id = $id;
1563
  }
1564
  public function getId() {
1565
    return $this->id;
1566
  }
1567
  public function setSelfLink($selfLink) {
1568
    $this->selfLink = $selfLink;
1569
  }
1570
  public function getSelfLink() {
1571
    return $this->selfLink;
1572
  }
1573
  public function setMetadata(Google_Metadata $metadata) {
1574
    $this->metadata = $metadata;
1575
  }
1576
  public function getMetadata() {
1577
    return $this->metadata;
1578
  }
1579
}
1580
 
1581
class Google_InstanceList extends Google_Model {
1582
  public $nextPageToken;
1583
  protected $__itemsType = 'Google_Instance';
1584
  protected $__itemsDataType = 'array';
1585
  public $items;
1586
  public $kind;
1587
  public $id;
1588
  public $selfLink;
1589
  public function setNextPageToken($nextPageToken) {
1590
    $this->nextPageToken = $nextPageToken;
1591
  }
1592
  public function getNextPageToken() {
1593
    return $this->nextPageToken;
1594
  }
1595
  public function setItems($items) {
1596
    $this->assertIsArray($items, 'Google_Instance', __METHOD__);
1597
    $this->items = $items;
1598
  }
1599
  public function getItems() {
1600
    return $this->items;
1601
  }
1602
  public function setKind($kind) {
1603
    $this->kind = $kind;
1604
  }
1605
  public function getKind() {
1606
    return $this->kind;
1607
  }
1608
  public function setId($id) {
1609
    $this->id = $id;
1610
  }
1611
  public function getId() {
1612
    return $this->id;
1613
  }
1614
  public function setSelfLink($selfLink) {
1615
    $this->selfLink = $selfLink;
1616
  }
1617
  public function getSelfLink() {
1618
    return $this->selfLink;
1619
  }
1620
}
1621
 
1622
class Google_Kernel extends Google_Model {
1623
  public $kind;
1624
  public $description;
1625
  public $creationTimestamp;
1626
  public $id;
1627
  public $selfLink;
1628
  public $name;
1629
  public function setKind($kind) {
1630
    $this->kind = $kind;
1631
  }
1632
  public function getKind() {
1633
    return $this->kind;
1634
  }
1635
  public function setDescription($description) {
1636
    $this->description = $description;
1637
  }
1638
  public function getDescription() {
1639
    return $this->description;
1640
  }
1641
  public function setCreationTimestamp($creationTimestamp) {
1642
    $this->creationTimestamp = $creationTimestamp;
1643
  }
1644
  public function getCreationTimestamp() {
1645
    return $this->creationTimestamp;
1646
  }
1647
  public function setId($id) {
1648
    $this->id = $id;
1649
  }
1650
  public function getId() {
1651
    return $this->id;
1652
  }
1653
  public function setSelfLink($selfLink) {
1654
    $this->selfLink = $selfLink;
1655
  }
1656
  public function getSelfLink() {
1657
    return $this->selfLink;
1658
  }
1659
  public function setName($name) {
1660
    $this->name = $name;
1661
  }
1662
  public function getName() {
1663
    return $this->name;
1664
  }
1665
}
1666
 
1667
class Google_KernelList extends Google_Model {
1668
  public $nextPageToken;
1669
  protected $__itemsType = 'Google_Kernel';
1670
  protected $__itemsDataType = 'array';
1671
  public $items;
1672
  public $kind;
1673
  public $id;
1674
  public $selfLink;
1675
  public function setNextPageToken($nextPageToken) {
1676
    $this->nextPageToken = $nextPageToken;
1677
  }
1678
  public function getNextPageToken() {
1679
    return $this->nextPageToken;
1680
  }
1681
  public function setItems($items) {
1682
    $this->assertIsArray($items, 'Google_Kernel', __METHOD__);
1683
    $this->items = $items;
1684
  }
1685
  public function getItems() {
1686
    return $this->items;
1687
  }
1688
  public function setKind($kind) {
1689
    $this->kind = $kind;
1690
  }
1691
  public function getKind() {
1692
    return $this->kind;
1693
  }
1694
  public function setId($id) {
1695
    $this->id = $id;
1696
  }
1697
  public function getId() {
1698
    return $this->id;
1699
  }
1700
  public function setSelfLink($selfLink) {
1701
    $this->selfLink = $selfLink;
1702
  }
1703
  public function getSelfLink() {
1704
    return $this->selfLink;
1705
  }
1706
}
1707
 
1708
class Google_MachineType extends Google_Model {
1709
  public $guestCpus;
1710
  public $imageSpaceGb;
1711
  public $kind;
1712
  protected $__ephemeralDisksType = 'Google_MachineTypeEphemeralDisks';
1713
  protected $__ephemeralDisksDataType = 'array';
1714
  public $ephemeralDisks;
1715
  public $maximumPersistentDisksSizeGb;
1716
  public $description;
1717
  public $maximumPersistentDisks;
1718
  public $name;
1719
  public $memoryMb;
1720
  public $availableZone;
1721
  public $creationTimestamp;
1722
  public $id;
1723
  public $selfLink;
1724
  public $hostCpus;
1725
  public function setGuestCpus($guestCpus) {
1726
    $this->guestCpus = $guestCpus;
1727
  }
1728
  public function getGuestCpus() {
1729
    return $this->guestCpus;
1730
  }
1731
  public function setImageSpaceGb($imageSpaceGb) {
1732
    $this->imageSpaceGb = $imageSpaceGb;
1733
  }
1734
  public function getImageSpaceGb() {
1735
    return $this->imageSpaceGb;
1736
  }
1737
  public function setKind($kind) {
1738
    $this->kind = $kind;
1739
  }
1740
  public function getKind() {
1741
    return $this->kind;
1742
  }
1743
  public function setEphemeralDisks($ephemeralDisks) {
1744
    $this->assertIsArray($ephemeralDisks, 'Google_MachineTypeEphemeralDisks', __METHOD__);
1745
    $this->ephemeralDisks = $ephemeralDisks;
1746
  }
1747
  public function getEphemeralDisks() {
1748
    return $this->ephemeralDisks;
1749
  }
1750
  public function setMaximumPersistentDisksSizeGb($maximumPersistentDisksSizeGb) {
1751
    $this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb;
1752
  }
1753
  public function getMaximumPersistentDisksSizeGb() {
1754
    return $this->maximumPersistentDisksSizeGb;
1755
  }
1756
  public function setDescription($description) {
1757
    $this->description = $description;
1758
  }
1759
  public function getDescription() {
1760
    return $this->description;
1761
  }
1762
  public function setMaximumPersistentDisks($maximumPersistentDisks) {
1763
    $this->maximumPersistentDisks = $maximumPersistentDisks;
1764
  }
1765
  public function getMaximumPersistentDisks() {
1766
    return $this->maximumPersistentDisks;
1767
  }
1768
  public function setName($name) {
1769
    $this->name = $name;
1770
  }
1771
  public function getName() {
1772
    return $this->name;
1773
  }
1774
  public function setMemoryMb($memoryMb) {
1775
    $this->memoryMb = $memoryMb;
1776
  }
1777
  public function getMemoryMb() {
1778
    return $this->memoryMb;
1779
  }
1780
  public function setAvailableZone($availableZone) {
1781
    $this->availableZone = $availableZone;
1782
  }
1783
  public function getAvailableZone() {
1784
    return $this->availableZone;
1785
  }
1786
  public function setCreationTimestamp($creationTimestamp) {
1787
    $this->creationTimestamp = $creationTimestamp;
1788
  }
1789
  public function getCreationTimestamp() {
1790
    return $this->creationTimestamp;
1791
  }
1792
  public function setId($id) {
1793
    $this->id = $id;
1794
  }
1795
  public function getId() {
1796
    return $this->id;
1797
  }
1798
  public function setSelfLink($selfLink) {
1799
    $this->selfLink = $selfLink;
1800
  }
1801
  public function getSelfLink() {
1802
    return $this->selfLink;
1803
  }
1804
  public function setHostCpus($hostCpus) {
1805
    $this->hostCpus = $hostCpus;
1806
  }
1807
  public function getHostCpus() {
1808
    return $this->hostCpus;
1809
  }
1810
}
1811
 
1812
class Google_MachineTypeEphemeralDisks extends Google_Model {
1813
  public $diskGb;
1814
  public function setDiskGb($diskGb) {
1815
    $this->diskGb = $diskGb;
1816
  }
1817
  public function getDiskGb() {
1818
    return $this->diskGb;
1819
  }
1820
}
1821
 
1822
class Google_MachineTypeList extends Google_Model {
1823
  public $nextPageToken;
1824
  protected $__itemsType = 'Google_MachineType';
1825
  protected $__itemsDataType = 'array';
1826
  public $items;
1827
  public $kind;
1828
  public $id;
1829
  public $selfLink;
1830
  public function setNextPageToken($nextPageToken) {
1831
    $this->nextPageToken = $nextPageToken;
1832
  }
1833
  public function getNextPageToken() {
1834
    return $this->nextPageToken;
1835
  }
1836
  public function setItems($items) {
1837
    $this->assertIsArray($items, 'Google_MachineType', __METHOD__);
1838
    $this->items = $items;
1839
  }
1840
  public function getItems() {
1841
    return $this->items;
1842
  }
1843
  public function setKind($kind) {
1844
    $this->kind = $kind;
1845
  }
1846
  public function getKind() {
1847
    return $this->kind;
1848
  }
1849
  public function setId($id) {
1850
    $this->id = $id;
1851
  }
1852
  public function getId() {
1853
    return $this->id;
1854
  }
1855
  public function setSelfLink($selfLink) {
1856
    $this->selfLink = $selfLink;
1857
  }
1858
  public function getSelfLink() {
1859
    return $this->selfLink;
1860
  }
1861
}
1862
 
1863
class Google_Metadata extends Google_Model {
1864
  protected $__itemsType = 'Google_MetadataItems';
1865
  protected $__itemsDataType = 'array';
1866
  public $items;
1867
  public $kind;
1868
  public function setItems($items) {
1869
    $this->assertIsArray($items, 'Google_MetadataItems', __METHOD__);
1870
    $this->items = $items;
1871
  }
1872
  public function getItems() {
1873
    return $this->items;
1874
  }
1875
  public function setKind($kind) {
1876
    $this->kind = $kind;
1877
  }
1878
  public function getKind() {
1879
    return $this->kind;
1880
  }
1881
}
1882
 
1883
class Google_MetadataItems extends Google_Model {
1884
  public $value;
1885
  public $key;
1886
  public function setValue($value) {
1887
    $this->value = $value;
1888
  }
1889
  public function getValue() {
1890
    return $this->value;
1891
  }
1892
  public function setKey($key) {
1893
    $this->key = $key;
1894
  }
1895
  public function getKey() {
1896
    return $this->key;
1897
  }
1898
}
1899
 
1900
class Google_Network extends Google_Model {
1901
  public $kind;
1902
  public $description;
1903
  public $IPv4Range;
1904
  public $gatewayIPv4;
1905
  public $creationTimestamp;
1906
  public $id;
1907
  public $selfLink;
1908
  public $name;
1909
  public function setKind($kind) {
1910
    $this->kind = $kind;
1911
  }
1912
  public function getKind() {
1913
    return $this->kind;
1914
  }
1915
  public function setDescription($description) {
1916
    $this->description = $description;
1917
  }
1918
  public function getDescription() {
1919
    return $this->description;
1920
  }
1921
  public function setIPv4Range($IPv4Range) {
1922
    $this->IPv4Range = $IPv4Range;
1923
  }
1924
  public function getIPv4Range() {
1925
    return $this->IPv4Range;
1926
  }
1927
  public function setGatewayIPv4($gatewayIPv4) {
1928
    $this->gatewayIPv4 = $gatewayIPv4;
1929
  }
1930
  public function getGatewayIPv4() {
1931
    return $this->gatewayIPv4;
1932
  }
1933
  public function setCreationTimestamp($creationTimestamp) {
1934
    $this->creationTimestamp = $creationTimestamp;
1935
  }
1936
  public function getCreationTimestamp() {
1937
    return $this->creationTimestamp;
1938
  }
1939
  public function setId($id) {
1940
    $this->id = $id;
1941
  }
1942
  public function getId() {
1943
    return $this->id;
1944
  }
1945
  public function setSelfLink($selfLink) {
1946
    $this->selfLink = $selfLink;
1947
  }
1948
  public function getSelfLink() {
1949
    return $this->selfLink;
1950
  }
1951
  public function setName($name) {
1952
    $this->name = $name;
1953
  }
1954
  public function getName() {
1955
    return $this->name;
1956
  }
1957
}
1958
 
1959
class Google_NetworkInterface extends Google_Model {
1960
  public $network;
1961
  protected $__accessConfigsType = 'Google_AccessConfig';
1962
  protected $__accessConfigsDataType = 'array';
1963
  public $accessConfigs;
1964
  public $networkIP;
1965
  public $kind;
1966
  public $name;
1967
  public function setNetwork($network) {
1968
    $this->network = $network;
1969
  }
1970
  public function getNetwork() {
1971
    return $this->network;
1972
  }
1973
  public function setAccessConfigs($accessConfigs) {
1974
    $this->assertIsArray($accessConfigs, 'Google_AccessConfig', __METHOD__);
1975
    $this->accessConfigs = $accessConfigs;
1976
  }
1977
  public function getAccessConfigs() {
1978
    return $this->accessConfigs;
1979
  }
1980
  public function setNetworkIP($networkIP) {
1981
    $this->networkIP = $networkIP;
1982
  }
1983
  public function getNetworkIP() {
1984
    return $this->networkIP;
1985
  }
1986
  public function setKind($kind) {
1987
    $this->kind = $kind;
1988
  }
1989
  public function getKind() {
1990
    return $this->kind;
1991
  }
1992
  public function setName($name) {
1993
    $this->name = $name;
1994
  }
1995
  public function getName() {
1996
    return $this->name;
1997
  }
1998
}
1999
 
2000
class Google_NetworkList extends Google_Model {
2001
  public $nextPageToken;
2002
  protected $__itemsType = 'Google_Network';
2003
  protected $__itemsDataType = 'array';
2004
  public $items;
2005
  public $kind;
2006
  public $id;
2007
  public $selfLink;
2008
  public function setNextPageToken($nextPageToken) {
2009
    $this->nextPageToken = $nextPageToken;
2010
  }
2011
  public function getNextPageToken() {
2012
    return $this->nextPageToken;
2013
  }
2014
  public function setItems($items) {
2015
    $this->assertIsArray($items, 'Google_Network', __METHOD__);
2016
    $this->items = $items;
2017
  }
2018
  public function getItems() {
2019
    return $this->items;
2020
  }
2021
  public function setKind($kind) {
2022
    $this->kind = $kind;
2023
  }
2024
  public function getKind() {
2025
    return $this->kind;
2026
  }
2027
  public function setId($id) {
2028
    $this->id = $id;
2029
  }
2030
  public function getId() {
2031
    return $this->id;
2032
  }
2033
  public function setSelfLink($selfLink) {
2034
    $this->selfLink = $selfLink;
2035
  }
2036
  public function getSelfLink() {
2037
    return $this->selfLink;
2038
  }
2039
}
2040
 
2041
class Google_Operation extends Google_Model {
2042
  public $status;
2043
  public $kind;
2044
  public $name;
2045
  public $startTime;
2046
  public $httpErrorStatusCode;
2047
  public $user;
2048
  protected $__errorType = 'Google_OperationError';
2049
  protected $__errorDataType = '';
2050
  public $error;
2051
  public $targetId;
2052
  public $operationType;
2053
  public $statusMessage;
2054
  public $insertTime;
2055
  public $httpErrorMessage;
2056
  public $progress;
2057
  public $clientOperationId;
2058
  public $endTime;
2059
  public $creationTimestamp;
2060
  public $id;
2061
  public $selfLink;
2062
  public $targetLink;
2063
  public function setStatus($status) {
2064
    $this->status = $status;
2065
  }
2066
  public function getStatus() {
2067
    return $this->status;
2068
  }
2069
  public function setKind($kind) {
2070
    $this->kind = $kind;
2071
  }
2072
  public function getKind() {
2073
    return $this->kind;
2074
  }
2075
  public function setName($name) {
2076
    $this->name = $name;
2077
  }
2078
  public function getName() {
2079
    return $this->name;
2080
  }
2081
  public function setStartTime($startTime) {
2082
    $this->startTime = $startTime;
2083
  }
2084
  public function getStartTime() {
2085
    return $this->startTime;
2086
  }
2087
  public function setHttpErrorStatusCode($httpErrorStatusCode) {
2088
    $this->httpErrorStatusCode = $httpErrorStatusCode;
2089
  }
2090
  public function getHttpErrorStatusCode() {
2091
    return $this->httpErrorStatusCode;
2092
  }
2093
  public function setUser($user) {
2094
    $this->user = $user;
2095
  }
2096
  public function getUser() {
2097
    return $this->user;
2098
  }
2099
  public function setError(Google_OperationError $error) {
2100
    $this->error = $error;
2101
  }
2102
  public function getError() {
2103
    return $this->error;
2104
  }
2105
  public function setTargetId($targetId) {
2106
    $this->targetId = $targetId;
2107
  }
2108
  public function getTargetId() {
2109
    return $this->targetId;
2110
  }
2111
  public function setOperationType($operationType) {
2112
    $this->operationType = $operationType;
2113
  }
2114
  public function getOperationType() {
2115
    return $this->operationType;
2116
  }
2117
  public function setStatusMessage($statusMessage) {
2118
    $this->statusMessage = $statusMessage;
2119
  }
2120
  public function getStatusMessage() {
2121
    return $this->statusMessage;
2122
  }
2123
  public function setInsertTime($insertTime) {
2124
    $this->insertTime = $insertTime;
2125
  }
2126
  public function getInsertTime() {
2127
    return $this->insertTime;
2128
  }
2129
  public function setHttpErrorMessage($httpErrorMessage) {
2130
    $this->httpErrorMessage = $httpErrorMessage;
2131
  }
2132
  public function getHttpErrorMessage() {
2133
    return $this->httpErrorMessage;
2134
  }
2135
  public function setProgress($progress) {
2136
    $this->progress = $progress;
2137
  }
2138
  public function getProgress() {
2139
    return $this->progress;
2140
  }
2141
  public function setClientOperationId($clientOperationId) {
2142
    $this->clientOperationId = $clientOperationId;
2143
  }
2144
  public function getClientOperationId() {
2145
    return $this->clientOperationId;
2146
  }
2147
  public function setEndTime($endTime) {
2148
    $this->endTime = $endTime;
2149
  }
2150
  public function getEndTime() {
2151
    return $this->endTime;
2152
  }
2153
  public function setCreationTimestamp($creationTimestamp) {
2154
    $this->creationTimestamp = $creationTimestamp;
2155
  }
2156
  public function getCreationTimestamp() {
2157
    return $this->creationTimestamp;
2158
  }
2159
  public function setId($id) {
2160
    $this->id = $id;
2161
  }
2162
  public function getId() {
2163
    return $this->id;
2164
  }
2165
  public function setSelfLink($selfLink) {
2166
    $this->selfLink = $selfLink;
2167
  }
2168
  public function getSelfLink() {
2169
    return $this->selfLink;
2170
  }
2171
  public function setTargetLink($targetLink) {
2172
    $this->targetLink = $targetLink;
2173
  }
2174
  public function getTargetLink() {
2175
    return $this->targetLink;
2176
  }
2177
}
2178
 
2179
class Google_OperationError extends Google_Model {
2180
  protected $__errorsType = 'Google_OperationErrorErrors';
2181
  protected $__errorsDataType = 'array';
2182
  public $errors;
2183
  public function setErrors($errors) {
2184
    $this->assertIsArray($errors, 'Google_OperationErrorErrors', __METHOD__);
2185
    $this->errors = $errors;
2186
  }
2187
  public function getErrors() {
2188
    return $this->errors;
2189
  }
2190
}
2191
 
2192
class Google_OperationErrorErrors extends Google_Model {
2193
  public $message;
2194
  public $code;
2195
  public $location;
2196
  public function setMessage($message) {
2197
    $this->message = $message;
2198
  }
2199
  public function getMessage() {
2200
    return $this->message;
2201
  }
2202
  public function setCode($code) {
2203
    $this->code = $code;
2204
  }
2205
  public function getCode() {
2206
    return $this->code;
2207
  }
2208
  public function setLocation($location) {
2209
    $this->location = $location;
2210
  }
2211
  public function getLocation() {
2212
    return $this->location;
2213
  }
2214
}
2215
 
2216
class Google_OperationList extends Google_Model {
2217
  public $nextPageToken;
2218
  protected $__itemsType = 'Google_Operation';
2219
  protected $__itemsDataType = 'array';
2220
  public $items;
2221
  public $kind;
2222
  public $id;
2223
  public $selfLink;
2224
  public function setNextPageToken($nextPageToken) {
2225
    $this->nextPageToken = $nextPageToken;
2226
  }
2227
  public function getNextPageToken() {
2228
    return $this->nextPageToken;
2229
  }
2230
  public function setItems($items) {
2231
    $this->assertIsArray($items, 'Google_Operation', __METHOD__);
2232
    $this->items = $items;
2233
  }
2234
  public function getItems() {
2235
    return $this->items;
2236
  }
2237
  public function setKind($kind) {
2238
    $this->kind = $kind;
2239
  }
2240
  public function getKind() {
2241
    return $this->kind;
2242
  }
2243
  public function setId($id) {
2244
    $this->id = $id;
2245
  }
2246
  public function getId() {
2247
    return $this->id;
2248
  }
2249
  public function setSelfLink($selfLink) {
2250
    $this->selfLink = $selfLink;
2251
  }
2252
  public function getSelfLink() {
2253
    return $this->selfLink;
2254
  }
2255
}
2256
 
2257
class Google_Project extends Google_Model {
2258
  public $kind;
2259
  public $description;
2260
  protected $__commonInstanceMetadataType = 'Google_Metadata';
2261
  protected $__commonInstanceMetadataDataType = '';
2262
  public $commonInstanceMetadata;
2263
  public $externalIpAddresses;
2264
  protected $__quotasType = 'Google_ProjectQuotas';
2265
  protected $__quotasDataType = 'array';
2266
  public $quotas;
2267
  public $creationTimestamp;
2268
  public $id;
2269
  public $selfLink;
2270
  public $name;
2271
  public function setKind($kind) {
2272
    $this->kind = $kind;
2273
  }
2274
  public function getKind() {
2275
    return $this->kind;
2276
  }
2277
  public function setDescription($description) {
2278
    $this->description = $description;
2279
  }
2280
  public function getDescription() {
2281
    return $this->description;
2282
  }
2283
  public function setCommonInstanceMetadata(Google_Metadata $commonInstanceMetadata) {
2284
    $this->commonInstanceMetadata = $commonInstanceMetadata;
2285
  }
2286
  public function getCommonInstanceMetadata() {
2287
    return $this->commonInstanceMetadata;
2288
  }
2289
  public function setExternalIpAddresses($externalIpAddresses) {
2290
    $this->externalIpAddresses = $externalIpAddresses;
2291
  }
2292
  public function getExternalIpAddresses() {
2293
    return $this->externalIpAddresses;
2294
  }
2295
  public function setQuotas($quotas) {
2296
    $this->assertIsArray($quotas, 'Google_ProjectQuotas', __METHOD__);
2297
    $this->quotas = $quotas;
2298
  }
2299
  public function getQuotas() {
2300
    return $this->quotas;
2301
  }
2302
  public function setCreationTimestamp($creationTimestamp) {
2303
    $this->creationTimestamp = $creationTimestamp;
2304
  }
2305
  public function getCreationTimestamp() {
2306
    return $this->creationTimestamp;
2307
  }
2308
  public function setId($id) {
2309
    $this->id = $id;
2310
  }
2311
  public function getId() {
2312
    return $this->id;
2313
  }
2314
  public function setSelfLink($selfLink) {
2315
    $this->selfLink = $selfLink;
2316
  }
2317
  public function getSelfLink() {
2318
    return $this->selfLink;
2319
  }
2320
  public function setName($name) {
2321
    $this->name = $name;
2322
  }
2323
  public function getName() {
2324
    return $this->name;
2325
  }
2326
}
2327
 
2328
class Google_ProjectQuotas extends Google_Model {
2329
  public $usage;
2330
  public $metric;
2331
  public $limit;
2332
  public function setUsage($usage) {
2333
    $this->usage = $usage;
2334
  }
2335
  public function getUsage() {
2336
    return $this->usage;
2337
  }
2338
  public function setMetric($metric) {
2339
    $this->metric = $metric;
2340
  }
2341
  public function getMetric() {
2342
    return $this->metric;
2343
  }
2344
  public function setLimit($limit) {
2345
    $this->limit = $limit;
2346
  }
2347
  public function getLimit() {
2348
    return $this->limit;
2349
  }
2350
}
2351
 
2352
class Google_ServiceAccount extends Google_Model {
2353
  public $scopes;
2354
  public $kind;
2355
  public $email;
2356
  public function setScopes($scopes) {
2357
    $this->scopes = $scopes;
2358
  }
2359
  public function getScopes() {
2360
    return $this->scopes;
2361
  }
2362
  public function setKind($kind) {
2363
    $this->kind = $kind;
2364
  }
2365
  public function getKind() {
2366
    return $this->kind;
2367
  }
2368
  public function setEmail($email) {
2369
    $this->email = $email;
2370
  }
2371
  public function getEmail() {
2372
    return $this->email;
2373
  }
2374
}
2375
 
2376
class Google_Snapshot extends Google_Model {
2377
  public $status;
2378
  public $kind;
2379
  public $description;
2380
  public $sourceDisk;
2381
  public $sourceDiskId;
2382
  public $diskSizeGb;
2383
  public $creationTimestamp;
2384
  public $id;
2385
  public $selfLink;
2386
  public $name;
2387
  public function setStatus($status) {
2388
    $this->status = $status;
2389
  }
2390
  public function getStatus() {
2391
    return $this->status;
2392
  }
2393
  public function setKind($kind) {
2394
    $this->kind = $kind;
2395
  }
2396
  public function getKind() {
2397
    return $this->kind;
2398
  }
2399
  public function setDescription($description) {
2400
    $this->description = $description;
2401
  }
2402
  public function getDescription() {
2403
    return $this->description;
2404
  }
2405
  public function setSourceDisk($sourceDisk) {
2406
    $this->sourceDisk = $sourceDisk;
2407
  }
2408
  public function getSourceDisk() {
2409
    return $this->sourceDisk;
2410
  }
2411
  public function setSourceDiskId($sourceDiskId) {
2412
    $this->sourceDiskId = $sourceDiskId;
2413
  }
2414
  public function getSourceDiskId() {
2415
    return $this->sourceDiskId;
2416
  }
2417
  public function setDiskSizeGb($diskSizeGb) {
2418
    $this->diskSizeGb = $diskSizeGb;
2419
  }
2420
  public function getDiskSizeGb() {
2421
    return $this->diskSizeGb;
2422
  }
2423
  public function setCreationTimestamp($creationTimestamp) {
2424
    $this->creationTimestamp = $creationTimestamp;
2425
  }
2426
  public function getCreationTimestamp() {
2427
    return $this->creationTimestamp;
2428
  }
2429
  public function setId($id) {
2430
    $this->id = $id;
2431
  }
2432
  public function getId() {
2433
    return $this->id;
2434
  }
2435
  public function setSelfLink($selfLink) {
2436
    $this->selfLink = $selfLink;
2437
  }
2438
  public function getSelfLink() {
2439
    return $this->selfLink;
2440
  }
2441
  public function setName($name) {
2442
    $this->name = $name;
2443
  }
2444
  public function getName() {
2445
    return $this->name;
2446
  }
2447
}
2448
 
2449
class Google_SnapshotList extends Google_Model {
2450
  public $nextPageToken;
2451
  protected $__itemsType = 'Google_Snapshot';
2452
  protected $__itemsDataType = 'array';
2453
  public $items;
2454
  public $kind;
2455
  public $id;
2456
  public $selfLink;
2457
  public function setNextPageToken($nextPageToken) {
2458
    $this->nextPageToken = $nextPageToken;
2459
  }
2460
  public function getNextPageToken() {
2461
    return $this->nextPageToken;
2462
  }
2463
  public function setItems($items) {
2464
    $this->assertIsArray($items, 'Google_Snapshot', __METHOD__);
2465
    $this->items = $items;
2466
  }
2467
  public function getItems() {
2468
    return $this->items;
2469
  }
2470
  public function setKind($kind) {
2471
    $this->kind = $kind;
2472
  }
2473
  public function getKind() {
2474
    return $this->kind;
2475
  }
2476
  public function setId($id) {
2477
    $this->id = $id;
2478
  }
2479
  public function getId() {
2480
    return $this->id;
2481
  }
2482
  public function setSelfLink($selfLink) {
2483
    $this->selfLink = $selfLink;
2484
  }
2485
  public function getSelfLink() {
2486
    return $this->selfLink;
2487
  }
2488
}
2489
 
2490
class Google_Zone extends Google_Model {
2491
  public $status;
2492
  public $kind;
2493
  public $availableMachineType;
2494
  public $description;
2495
  protected $__maintenanceWindowsType = 'Google_ZoneMaintenanceWindows';
2496
  protected $__maintenanceWindowsDataType = 'array';
2497
  public $maintenanceWindows;
2498
  public $creationTimestamp;
2499
  public $id;
2500
  public $selfLink;
2501
  public $name;
2502
  public function setStatus($status) {
2503
    $this->status = $status;
2504
  }
2505
  public function getStatus() {
2506
    return $this->status;
2507
  }
2508
  public function setKind($kind) {
2509
    $this->kind = $kind;
2510
  }
2511
  public function getKind() {
2512
    return $this->kind;
2513
  }
2514
  public function setAvailableMachineType($availableMachineType) {
2515
    $this->availableMachineType = $availableMachineType;
2516
  }
2517
  public function getAvailableMachineType() {
2518
    return $this->availableMachineType;
2519
  }
2520
  public function setDescription($description) {
2521
    $this->description = $description;
2522
  }
2523
  public function getDescription() {
2524
    return $this->description;
2525
  }
2526
  public function setMaintenanceWindows($maintenanceWindows) {
2527
    $this->assertIsArray($maintenanceWindows, 'Google_ZoneMaintenanceWindows', __METHOD__);
2528
    $this->maintenanceWindows = $maintenanceWindows;
2529
  }
2530
  public function getMaintenanceWindows() {
2531
    return $this->maintenanceWindows;
2532
  }
2533
  public function setCreationTimestamp($creationTimestamp) {
2534
    $this->creationTimestamp = $creationTimestamp;
2535
  }
2536
  public function getCreationTimestamp() {
2537
    return $this->creationTimestamp;
2538
  }
2539
  public function setId($id) {
2540
    $this->id = $id;
2541
  }
2542
  public function getId() {
2543
    return $this->id;
2544
  }
2545
  public function setSelfLink($selfLink) {
2546
    $this->selfLink = $selfLink;
2547
  }
2548
  public function getSelfLink() {
2549
    return $this->selfLink;
2550
  }
2551
  public function setName($name) {
2552
    $this->name = $name;
2553
  }
2554
  public function getName() {
2555
    return $this->name;
2556
  }
2557
}
2558
 
2559
class Google_ZoneList extends Google_Model {
2560
  public $nextPageToken;
2561
  protected $__itemsType = 'Google_Zone';
2562
  protected $__itemsDataType = 'array';
2563
  public $items;
2564
  public $kind;
2565
  public $id;
2566
  public $selfLink;
2567
  public function setNextPageToken($nextPageToken) {
2568
    $this->nextPageToken = $nextPageToken;
2569
  }
2570
  public function getNextPageToken() {
2571
    return $this->nextPageToken;
2572
  }
2573
  public function setItems($items) {
2574
    $this->assertIsArray($items, 'Google_Zone', __METHOD__);
2575
    $this->items = $items;
2576
  }
2577
  public function getItems() {
2578
    return $this->items;
2579
  }
2580
  public function setKind($kind) {
2581
    $this->kind = $kind;
2582
  }
2583
  public function getKind() {
2584
    return $this->kind;
2585
  }
2586
  public function setId($id) {
2587
    $this->id = $id;
2588
  }
2589
  public function getId() {
2590
    return $this->id;
2591
  }
2592
  public function setSelfLink($selfLink) {
2593
    $this->selfLink = $selfLink;
2594
  }
2595
  public function getSelfLink() {
2596
    return $this->selfLink;
2597
  }
2598
}
2599
 
2600
class Google_ZoneMaintenanceWindows extends Google_Model {
2601
  public $endTime;
2602
  public $beginTime;
2603
  public $name;
2604
  public $description;
2605
  public function setEndTime($endTime) {
2606
    $this->endTime = $endTime;
2607
  }
2608
  public function getEndTime() {
2609
    return $this->endTime;
2610
  }
2611
  public function setBeginTime($beginTime) {
2612
    $this->beginTime = $beginTime;
2613
  }
2614
  public function getBeginTime() {
2615
    return $this->beginTime;
2616
  }
2617
  public function setName($name) {
2618
    $this->name = $name;
2619
  }
2620
  public function getName() {
2621
    return $this->name;
2622
  }
2623
  public function setDescription($description) {
2624
    $this->description = $description;
2625
  }
2626
  public function getDescription() {
2627
    return $this->description;
2628
  }
2629
}