PluginProbe
UpdraftPlus: WP Backup & Migration Plugin / 1.16.5
UpdraftPlus: WP Backup & Migration Plugin v1.16.5
1.26.7 1.26.6 1.26.5 1.26.4 1.26.3 1.9.19 1.9.25 1.9.26 1.9.30 1.9.31 1.9.32 1.9.4 1.9.40 1.9.41 1.9.42 1.9.43 1.9.44 1.9.45 1.9.46 1.9.5 1.9.50 1.9.51 1.9.60 1.9.62 1.9.63 All 371 releases
updraftplus / includes / Google / Service / Container.php

Container.php in UpdraftPlus: WP Backup & Migration Plugin 1.16.5, at includes/Google/Service/Container.php

982 lines 27.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Copyright 2010 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18 /**
19 * Service definition for Container (v1beta1).
20 *
21 * <p>
22 * The Google Container Engine API is used for building and managing container
23 * based applications, powered by the open source Kubernetes technology.</p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="https://cloud.google.com/container-engine/docs/v1beta1/" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Google_Service_Container extends Google_Service
33 {
34 /** View and manage your data across Google Cloud Platform services. */
35 const CLOUD_PLATFORM =
36 "https://www.googleapis.com/auth/cloud-platform";
37
38 public $projects_clusters;
39 public $projects_operations;
40 public $projects_zones_clusters;
41 public $projects_zones_operations;
42 public $projects_zones_tokens;
43
44
45 /**
46 * Constructs the internal representation of the Container service.
47 *
48 * @param Google_Client $client
49 */
50 public function __construct(Google_Client $client)
51 {
52 parent::__construct($client);
53 $this->servicePath = 'container/v1beta1/projects/';
54 $this->version = 'v1beta1';
55 $this->serviceName = 'container';
56
57 $this->projects_clusters = new Google_Service_Container_ProjectsClusters_Resource(
58 $this,
59 $this->serviceName,
60 'clusters',
61 array(
62 'methods' => array(
63 'list' => array(
64 'path' => '{projectId}/clusters',
65 'httpMethod' => 'GET',
66 'parameters' => array(
67 'projectId' => array(
68 'location' => 'path',
69 'type' => 'string',
70 'required' => true,
71 ),
72 ),
73 ),
74 )
75 )
76 );
77 $this->projects_operations = new Google_Service_Container_ProjectsOperations_Resource(
78 $this,
79 $this->serviceName,
80 'operations',
81 array(
82 'methods' => array(
83 'list' => array(
84 'path' => '{projectId}/operations',
85 'httpMethod' => 'GET',
86 'parameters' => array(
87 'projectId' => array(
88 'location' => 'path',
89 'type' => 'string',
90 'required' => true,
91 ),
92 ),
93 ),
94 )
95 )
96 );
97 $this->projects_zones_clusters = new Google_Service_Container_ProjectsZonesClusters_Resource(
98 $this,
99 $this->serviceName,
100 'clusters',
101 array(
102 'methods' => array(
103 'create' => array(
104 'path' => '{projectId}/zones/{zoneId}/clusters',
105 'httpMethod' => 'POST',
106 'parameters' => array(
107 'projectId' => array(
108 'location' => 'path',
109 'type' => 'string',
110 'required' => true,
111 ),
112 'zoneId' => array(
113 'location' => 'path',
114 'type' => 'string',
115 'required' => true,
116 ),
117 ),
118 ),'delete' => array(
119 'path' => '{projectId}/zones/{zoneId}/clusters/{clusterId}',
120 'httpMethod' => 'DELETE',
121 'parameters' => array(
122 'projectId' => array(
123 'location' => 'path',
124 'type' => 'string',
125 'required' => true,
126 ),
127 'zoneId' => array(
128 'location' => 'path',
129 'type' => 'string',
130 'required' => true,
131 ),
132 'clusterId' => array(
133 'location' => 'path',
134 'type' => 'string',
135 'required' => true,
136 ),
137 ),
138 ),'get' => array(
139 'path' => '{projectId}/zones/{zoneId}/clusters/{clusterId}',
140 'httpMethod' => 'GET',
141 'parameters' => array(
142 'projectId' => array(
143 'location' => 'path',
144 'type' => 'string',
145 'required' => true,
146 ),
147 'zoneId' => array(
148 'location' => 'path',
149 'type' => 'string',
150 'required' => true,
151 ),
152 'clusterId' => array(
153 'location' => 'path',
154 'type' => 'string',
155 'required' => true,
156 ),
157 ),
158 ),'list' => array(
159 'path' => '{projectId}/zones/{zoneId}/clusters',
160 'httpMethod' => 'GET',
161 'parameters' => array(
162 'projectId' => array(
163 'location' => 'path',
164 'type' => 'string',
165 'required' => true,
166 ),
167 'zoneId' => array(
168 'location' => 'path',
169 'type' => 'string',
170 'required' => true,
171 ),
172 ),
173 ),
174 )
175 )
176 );
177 $this->projects_zones_operations = new Google_Service_Container_ProjectsZonesOperations_Resource(
178 $this,
179 $this->serviceName,
180 'operations',
181 array(
182 'methods' => array(
183 'get' => array(
184 'path' => '{projectId}/zones/{zoneId}/operations/{operationId}',
185 'httpMethod' => 'GET',
186 'parameters' => array(
187 'projectId' => array(
188 'location' => 'path',
189 'type' => 'string',
190 'required' => true,
191 ),
192 'zoneId' => array(
193 'location' => 'path',
194 'type' => 'string',
195 'required' => true,
196 ),
197 'operationId' => array(
198 'location' => 'path',
199 'type' => 'string',
200 'required' => true,
201 ),
202 ),
203 ),'list' => array(
204 'path' => '{projectId}/zones/{zoneId}/operations',
205 'httpMethod' => 'GET',
206 'parameters' => array(
207 'projectId' => array(
208 'location' => 'path',
209 'type' => 'string',
210 'required' => true,
211 ),
212 'zoneId' => array(
213 'location' => 'path',
214 'type' => 'string',
215 'required' => true,
216 ),
217 ),
218 ),
219 )
220 )
221 );
222 $this->projects_zones_tokens = new Google_Service_Container_ProjectsZonesTokens_Resource(
223 $this,
224 $this->serviceName,
225 'tokens',
226 array(
227 'methods' => array(
228 'get' => array(
229 'path' => '{masterProjectId}/zones/{zoneId}/tokens/{projectNumber}/{clusterName}',
230 'httpMethod' => 'GET',
231 'parameters' => array(
232 'masterProjectId' => array(
233 'location' => 'path',
234 'type' => 'string',
235 'required' => true,
236 ),
237 'zoneId' => array(
238 'location' => 'path',
239 'type' => 'string',
240 'required' => true,
241 ),
242 'projectNumber' => array(
243 'location' => 'path',
244 'type' => 'string',
245 'required' => true,
246 ),
247 'clusterName' => array(
248 'location' => 'path',
249 'type' => 'string',
250 'required' => true,
251 ),
252 ),
253 ),
254 )
255 )
256 );
257 }
258 }
259
260
261 /**
262 * The "projects" collection of methods.
263 * Typical usage is:
264 * <code>
265 * $containerService = new Google_Service_Container(...);
266 * $projects = $containerService->projects;
267 * </code>
268 */
269 class Google_Service_Container_Projects_Resource extends Google_Service_Resource
270 {
271 }
272
273 /**
274 * The "clusters" collection of methods.
275 * Typical usage is:
276 * <code>
277 * $containerService = new Google_Service_Container(...);
278 * $clusters = $containerService->clusters;
279 * </code>
280 */
281 class Google_Service_Container_ProjectsClusters_Resource extends Google_Service_Resource
282 {
283
284 /**
285 * Lists all clusters owned by a project across all zones.
286 * (clusters.listProjectsClusters)
287 *
288 * @param string $projectId The Google Developers Console project ID or project
289 * number.
290 * @param array $optParams Optional parameters.
291 * @return Google_Service_Container_ListAggregatedClustersResponse
292 */
293 public function listProjectsClusters($projectId, $optParams = array())
294 {
295 $params = array('projectId' => $projectId);
296 $params = array_merge($params, $optParams);
297 return $this->call('list', array($params), "Google_Service_Container_ListAggregatedClustersResponse");
298 }
299 }
300 /**
301 * The "operations" collection of methods.
302 * Typical usage is:
303 * <code>
304 * $containerService = new Google_Service_Container(...);
305 * $operations = $containerService->operations;
306 * </code>
307 */
308 class Google_Service_Container_ProjectsOperations_Resource extends Google_Service_Resource
309 {
310
311 /**
312 * Lists all operations in a project, across all zones.
313 * (operations.listProjectsOperations)
314 *
315 * @param string $projectId The Google Developers Console project ID or project
316 * number.
317 * @param array $optParams Optional parameters.
318 * @return Google_Service_Container_ListAggregatedOperationsResponse
319 */
320 public function listProjectsOperations($projectId, $optParams = array())
321 {
322 $params = array('projectId' => $projectId);
323 $params = array_merge($params, $optParams);
324 return $this->call('list', array($params), "Google_Service_Container_ListAggregatedOperationsResponse");
325 }
326 }
327 /**
328 * The "zones" collection of methods.
329 * Typical usage is:
330 * <code>
331 * $containerService = new Google_Service_Container(...);
332 * $zones = $containerService->zones;
333 * </code>
334 */
335 class Google_Service_Container_ProjectsZones_Resource extends Google_Service_Resource
336 {
337 }
338
339 /**
340 * The "clusters" collection of methods.
341 * Typical usage is:
342 * <code>
343 * $containerService = new Google_Service_Container(...);
344 * $clusters = $containerService->clusters;
345 * </code>
346 */
347 class Google_Service_Container_ProjectsZonesClusters_Resource extends Google_Service_Resource
348 {
349
350 /**
351 * Creates a cluster, consisting of the specified number and type of Google
352 * Compute Engine instances, plus a Kubernetes master instance.
353 *
354 * The cluster is created in the project's default network.
355 *
356 * A firewall is added that allows traffic into port 443 on the master, which
357 * enables HTTPS. A firewall and a route is added for each node to allow the
358 * containers on that node to communicate with all other instances in the
359 * cluster.
360 *
361 * Finally, a route named k8s-iproute-10-xx-0-0 is created to track that the
362 * cluster's 10.xx.0.0/16 CIDR has been assigned. (clusters.create)
363 *
364 * @param string $projectId The Google Developers Console project ID or project
365 * number.
366 * @param string $zoneId The name of the Google Compute Engine zone in which the
367 * cluster resides.
368 * @param Google_CreateClusterRequest $postBody
369 * @param array $optParams Optional parameters.
370 * @return Google_Service_Container_Operation
371 */
372 public function create($projectId, $zoneId, Google_Service_Container_CreateClusterRequest $postBody, $optParams = array())
373 {
374 $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'postBody' => $postBody);
375 $params = array_merge($params, $optParams);
376 return $this->call('create', array($params), "Google_Service_Container_Operation");
377 }
378
379 /**
380 * Deletes the cluster, including the Kubernetes master and all worker nodes.
381 *
382 * Firewalls and routes that were configured at cluster creation are also
383 * deleted. (clusters.delete)
384 *
385 * @param string $projectId The Google Developers Console project ID or project
386 * number.
387 * @param string $zoneId The name of the Google Compute Engine zone in which the
388 * cluster resides.
389 * @param string $clusterId The name of the cluster to delete.
390 * @param array $optParams Optional parameters.
391 * @return Google_Service_Container_Operation
392 */
393 public function delete($projectId, $zoneId, $clusterId, $optParams = array())
394 {
395 $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'clusterId' => $clusterId);
396 $params = array_merge($params, $optParams);
397 return $this->call('delete', array($params), "Google_Service_Container_Operation");
398 }
399
400 /**
401 * Gets a specific cluster. (clusters.get)
402 *
403 * @param string $projectId The Google Developers Console project ID or project
404 * number.
405 * @param string $zoneId The name of the Google Compute Engine zone in which the
406 * cluster resides.
407 * @param string $clusterId The name of the cluster to retrieve.
408 * @param array $optParams Optional parameters.
409 * @return Google_Service_Container_Cluster
410 */
411 public function get($projectId, $zoneId, $clusterId, $optParams = array())
412 {
413 $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'clusterId' => $clusterId);
414 $params = array_merge($params, $optParams);
415 return $this->call('get', array($params), "Google_Service_Container_Cluster");
416 }
417
418 /**
419 * Lists all clusters owned by a project in the specified zone.
420 * (clusters.listProjectsZonesClusters)
421 *
422 * @param string $projectId The Google Developers Console project ID or project
423 * number.
424 * @param string $zoneId The name of the Google Compute Engine zone in which the
425 * cluster resides.
426 * @param array $optParams Optional parameters.
427 * @return Google_Service_Container_ListClustersResponse
428 */
429 public function listProjectsZonesClusters($projectId, $zoneId, $optParams = array())
430 {
431 $params = array('projectId' => $projectId, 'zoneId' => $zoneId);
432 $params = array_merge($params, $optParams);
433 return $this->call('list', array($params), "Google_Service_Container_ListClustersResponse");
434 }
435 }
436 /**
437 * The "operations" collection of methods.
438 * Typical usage is:
439 * <code>
440 * $containerService = new Google_Service_Container(...);
441 * $operations = $containerService->operations;
442 * </code>
443 */
444 class Google_Service_Container_ProjectsZonesOperations_Resource extends Google_Service_Resource
445 {
446
447 /**
448 * Gets the specified operation. (operations.get)
449 *
450 * @param string $projectId The Google Developers Console project ID or project
451 * number.
452 * @param string $zoneId The name of the Google Compute Engine zone in which the
453 * operation resides. This is always the same zone as the cluster with which the
454 * operation is associated.
455 * @param string $operationId The server-assigned name of the operation.
456 * @param array $optParams Optional parameters.
457 * @return Google_Service_Container_Operation
458 */
459 public function get($projectId, $zoneId, $operationId, $optParams = array())
460 {
461 $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'operationId' => $operationId);
462 $params = array_merge($params, $optParams);
463 return $this->call('get', array($params), "Google_Service_Container_Operation");
464 }
465
466 /**
467 * Lists all operations in a project in a specific zone.
468 * (operations.listProjectsZonesOperations)
469 *
470 * @param string $projectId The Google Developers Console project ID or project
471 * number.
472 * @param string $zoneId The name of the Google Compute Engine zone to return
473 * operations for.
474 * @param array $optParams Optional parameters.
475 * @return Google_Service_Container_ListOperationsResponse
476 */
477 public function listProjectsZonesOperations($projectId, $zoneId, $optParams = array())
478 {
479 $params = array('projectId' => $projectId, 'zoneId' => $zoneId);
480 $params = array_merge($params, $optParams);
481 return $this->call('list', array($params), "Google_Service_Container_ListOperationsResponse");
482 }
483 }
484 /**
485 * The "tokens" collection of methods.
486 * Typical usage is:
487 * <code>
488 * $containerService = new Google_Service_Container(...);
489 * $tokens = $containerService->tokens;
490 * </code>
491 */
492 class Google_Service_Container_ProjectsZonesTokens_Resource extends Google_Service_Resource
493 {
494
495 /**
496 * Gets a compute-rw scoped OAuth2 access token for . Authentication is
497 * performed to ensure that the caller is a member of and that the request is
498 * coming from the expected master VM for the specified cluster. See go/gke-
499 * cross-project-auth for more details. (tokens.get)
500 *
501 * @param string $masterProjectId The hosted master project from which this
502 * request is coming.
503 * @param string $zoneId The zone of the specified cluster.
504 * @param string $projectNumber The project number for which the access token is
505 * being requested.
506 * @param string $clusterName The name of the specified cluster.
507 * @param array $optParams Optional parameters.
508 * @return Google_Service_Container_Token
509 */
510 public function get($masterProjectId, $zoneId, $projectNumber, $clusterName, $optParams = array())
511 {
512 $params = array('masterProjectId' => $masterProjectId, 'zoneId' => $zoneId, 'projectNumber' => $projectNumber, 'clusterName' => $clusterName);
513 $params = array_merge($params, $optParams);
514 return $this->call('get', array($params), "Google_Service_Container_Token");
515 }
516 }
517
518
519
520
521 class Google_Service_Container_Cluster extends Google_Model
522 {
523 protected $internal_gapi_mappings = array(
524 );
525 public $clusterApiVersion;
526 public $containerIpv4Cidr;
527 public $creationTimestamp;
528 public $description;
529 public $enableCloudLogging;
530 public $endpoint;
531 protected $masterAuthType = 'Google_Service_Container_MasterAuth';
532 protected $masterAuthDataType = '';
533 public $name;
534 public $network;
535 protected $nodeConfigType = 'Google_Service_Container_NodeConfig';
536 protected $nodeConfigDataType = '';
537 public $nodeRoutingPrefixSize;
538 public $numNodes;
539 public $selfLink;
540 public $servicesIpv4Cidr;
541 public $status;
542 public $statusMessage;
543 public $zone;
544
545
546 public function setClusterApiVersion($clusterApiVersion)
547 {
548 $this->clusterApiVersion = $clusterApiVersion;
549 }
550 public function getClusterApiVersion()
551 {
552 return $this->clusterApiVersion;
553 }
554 public function setContainerIpv4Cidr($containerIpv4Cidr)
555 {
556 $this->containerIpv4Cidr = $containerIpv4Cidr;
557 }
558 public function getContainerIpv4Cidr()
559 {
560 return $this->containerIpv4Cidr;
561 }
562 public function setCreationTimestamp($creationTimestamp)
563 {
564 $this->creationTimestamp = $creationTimestamp;
565 }
566 public function getCreationTimestamp()
567 {
568 return $this->creationTimestamp;
569 }
570 public function setDescription($description)
571 {
572 $this->description = $description;
573 }
574 public function getDescription()
575 {
576 return $this->description;
577 }
578 public function setEnableCloudLogging($enableCloudLogging)
579 {
580 $this->enableCloudLogging = $enableCloudLogging;
581 }
582 public function getEnableCloudLogging()
583 {
584 return $this->enableCloudLogging;
585 }
586 public function setEndpoint($endpoint)
587 {
588 $this->endpoint = $endpoint;
589 }
590 public function getEndpoint()
591 {
592 return $this->endpoint;
593 }
594 public function setMasterAuth(Google_Service_Container_MasterAuth $masterAuth)
595 {
596 $this->masterAuth = $masterAuth;
597 }
598 public function getMasterAuth()
599 {
600 return $this->masterAuth;
601 }
602 public function setName($name)
603 {
604 $this->name = $name;
605 }
606 public function getName()
607 {
608 return $this->name;
609 }
610 public function setNetwork($network)
611 {
612 $this->network = $network;
613 }
614 public function getNetwork()
615 {
616 return $this->network;
617 }
618 public function setNodeConfig(Google_Service_Container_NodeConfig $nodeConfig)
619 {
620 $this->nodeConfig = $nodeConfig;
621 }
622 public function getNodeConfig()
623 {
624 return $this->nodeConfig;
625 }
626 public function setNodeRoutingPrefixSize($nodeRoutingPrefixSize)
627 {
628 $this->nodeRoutingPrefixSize = $nodeRoutingPrefixSize;
629 }
630 public function getNodeRoutingPrefixSize()
631 {
632 return $this->nodeRoutingPrefixSize;
633 }
634 public function setNumNodes($numNodes)
635 {
636 $this->numNodes = $numNodes;
637 }
638 public function getNumNodes()
639 {
640 return $this->numNodes;
641 }
642 public function setSelfLink($selfLink)
643 {
644 $this->selfLink = $selfLink;
645 }
646 public function getSelfLink()
647 {
648 return $this->selfLink;
649 }
650 public function setServicesIpv4Cidr($servicesIpv4Cidr)
651 {
652 $this->servicesIpv4Cidr = $servicesIpv4Cidr;
653 }
654 public function getServicesIpv4Cidr()
655 {
656 return $this->servicesIpv4Cidr;
657 }
658 public function setStatus($status)
659 {
660 $this->status = $status;
661 }
662 public function getStatus()
663 {
664 return $this->status;
665 }
666 public function setStatusMessage($statusMessage)
667 {
668 $this->statusMessage = $statusMessage;
669 }
670 public function getStatusMessage()
671 {
672 return $this->statusMessage;
673 }
674 public function setZone($zone)
675 {
676 $this->zone = $zone;
677 }
678 public function getZone()
679 {
680 return $this->zone;
681 }
682 }
683
684 class Google_Service_Container_CreateClusterRequest extends Google_Model
685 {
686 protected $internal_gapi_mappings = array(
687 );
688 protected $clusterType = 'Google_Service_Container_Cluster';
689 protected $clusterDataType = '';
690
691
692 public function setCluster(Google_Service_Container_Cluster $cluster)
693 {
694 $this->cluster = $cluster;
695 }
696 public function getCluster()
697 {
698 return $this->cluster;
699 }
700 }
701
702 class Google_Service_Container_ListAggregatedClustersResponse extends Google_Collection
703 {
704 protected $collection_key = 'clusters';
705 protected $internal_gapi_mappings = array(
706 );
707 protected $clustersType = 'Google_Service_Container_Cluster';
708 protected $clustersDataType = 'array';
709
710
711 public function setClusters($clusters)
712 {
713 $this->clusters = $clusters;
714 }
715 public function getClusters()
716 {
717 return $this->clusters;
718 }
719 }
720
721 class Google_Service_Container_ListAggregatedOperationsResponse extends Google_Collection
722 {
723 protected $collection_key = 'operations';
724 protected $internal_gapi_mappings = array(
725 );
726 protected $operationsType = 'Google_Service_Container_Operation';
727 protected $operationsDataType = 'array';
728
729
730 public function setOperations($operations)
731 {
732 $this->operations = $operations;
733 }
734 public function getOperations()
735 {
736 return $this->operations;
737 }
738 }
739
740 class Google_Service_Container_ListClustersResponse extends Google_Collection
741 {
742 protected $collection_key = 'clusters';
743 protected $internal_gapi_mappings = array(
744 );
745 protected $clustersType = 'Google_Service_Container_Cluster';
746 protected $clustersDataType = 'array';
747
748
749 public function setClusters($clusters)
750 {
751 $this->clusters = $clusters;
752 }
753 public function getClusters()
754 {
755 return $this->clusters;
756 }
757 }
758
759 class Google_Service_Container_ListOperationsResponse extends Google_Collection
760 {
761 protected $collection_key = 'operations';
762 protected $internal_gapi_mappings = array(
763 );
764 protected $operationsType = 'Google_Service_Container_Operation';
765 protected $operationsDataType = 'array';
766
767
768 public function setOperations($operations)
769 {
770 $this->operations = $operations;
771 }
772 public function getOperations()
773 {
774 return $this->operations;
775 }
776 }
777
778 class Google_Service_Container_MasterAuth extends Google_Model
779 {
780 protected $internal_gapi_mappings = array(
781 );
782 public $bearerToken;
783 public $password;
784 public $user;
785
786
787 public function setBearerToken($bearerToken)
788 {
789 $this->bearerToken = $bearerToken;
790 }
791 public function getBearerToken()
792 {
793 return $this->bearerToken;
794 }
795 public function setPassword($password)
796 {
797 $this->password = $password;
798 }
799 public function getPassword()
800 {
801 return $this->password;
802 }
803 public function setUser($user)
804 {
805 $this->user = $user;
806 }
807 public function getUser()
808 {
809 return $this->user;
810 }
811 }
812
813 class Google_Service_Container_NodeConfig extends Google_Collection
814 {
815 protected $collection_key = 'serviceAccounts';
816 protected $internal_gapi_mappings = array(
817 );
818 public $machineType;
819 protected $serviceAccountsType = 'Google_Service_Container_ServiceAccount';
820 protected $serviceAccountsDataType = 'array';
821 public $sourceImage;
822
823
824 public function setMachineType($machineType)
825 {
826 $this->machineType = $machineType;
827 }
828 public function getMachineType()
829 {
830 return $this->machineType;
831 }
832 public function setServiceAccounts($serviceAccounts)
833 {
834 $this->serviceAccounts = $serviceAccounts;
835 }
836 public function getServiceAccounts()
837 {
838 return $this->serviceAccounts;
839 }
840 public function setSourceImage($sourceImage)
841 {
842 $this->sourceImage = $sourceImage;
843 }
844 public function getSourceImage()
845 {
846 return $this->sourceImage;
847 }
848 }
849
850 class Google_Service_Container_Operation extends Google_Model
851 {
852 protected $internal_gapi_mappings = array(
853 );
854 public $errorMessage;
855 public $name;
856 public $operationType;
857 public $selfLink;
858 public $status;
859 public $target;
860 public $targetLink;
861 public $zone;
862
863
864 public function setErrorMessage($errorMessage)
865 {
866 $this->errorMessage = $errorMessage;
867 }
868 public function getErrorMessage()
869 {
870 return $this->errorMessage;
871 }
872 public function setName($name)
873 {
874 $this->name = $name;
875 }
876 public function getName()
877 {
878 return $this->name;
879 }
880 public function setOperationType($operationType)
881 {
882 $this->operationType = $operationType;
883 }
884 public function getOperationType()
885 {
886 return $this->operationType;
887 }
888 public function setSelfLink($selfLink)
889 {
890 $this->selfLink = $selfLink;
891 }
892 public function getSelfLink()
893 {
894 return $this->selfLink;
895 }
896 public function setStatus($status)
897 {
898 $this->status = $status;
899 }
900 public function getStatus()
901 {
902 return $this->status;
903 }
904 public function setTarget($target)
905 {
906 $this->target = $target;
907 }
908 public function getTarget()
909 {
910 return $this->target;
911 }
912 public function setTargetLink($targetLink)
913 {
914 $this->targetLink = $targetLink;
915 }
916 public function getTargetLink()
917 {
918 return $this->targetLink;
919 }
920 public function setZone($zone)
921 {
922 $this->zone = $zone;
923 }
924 public function getZone()
925 {
926 return $this->zone;
927 }
928 }
929
930 class Google_Service_Container_ServiceAccount extends Google_Collection
931 {
932 protected $collection_key = 'scopes';
933 protected $internal_gapi_mappings = array(
934 );
935 public $email;
936 public $scopes;
937
938
939 public function setEmail($email)
940 {
941 $this->email = $email;
942 }
943 public function getEmail()
944 {
945 return $this->email;
946 }
947 public function setScopes($scopes)
948 {
949 $this->scopes = $scopes;
950 }
951 public function getScopes()
952 {
953 return $this->scopes;
954 }
955 }
956
957 class Google_Service_Container_Token extends Google_Model
958 {
959 protected $internal_gapi_mappings = array(
960 );
961 public $accessToken;
962 public $expiryTimeSeconds;
963
964
965 public function setAccessToken($accessToken)
966 {
967 $this->accessToken = $accessToken;
968 }
969 public function getAccessToken()
970 {
971 return $this->accessToken;
972 }
973 public function setExpiryTimeSeconds($expiryTimeSeconds)
974 {
975 $this->expiryTimeSeconds = $expiryTimeSeconds;
976 }
977 public function getExpiryTimeSeconds()
978 {
979 return $this->expiryTimeSeconds;
980 }
981 }
982