Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 402] [Versions 311 and 403]

   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 (v1).
  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/" 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_zones;
  39    public $projects_zones_clusters;
  40    public $projects_zones_operations;
  41    
  42  
  43    /**
  44     * Constructs the internal representation of the Container service.
  45     *
  46     * @param Google_Client $client
  47     */
  48    public function __construct(Google_Client $client)
  49    {
  50      parent::__construct($client);
  51      $this->rootUrl = 'https://container.googleapis.com/';
  52      $this->servicePath = '';
  53      $this->version = 'v1';
  54      $this->serviceName = 'container';
  55  
  56      $this->projects_zones = new Google_Service_Container_ProjectsZones_Resource(
  57          $this,
  58          $this->serviceName,
  59          'zones',
  60          array(
  61            'methods' => array(
  62              'getServerconfig' => array(
  63                'path' => 'v1/projects/{projectId}/zones/{zone}/serverconfig',
  64                'httpMethod' => 'GET',
  65                'parameters' => array(
  66                  'projectId' => array(
  67                    'location' => 'path',
  68                    'type' => 'string',
  69                    'required' => true,
  70                  ),
  71                  'zone' => array(
  72                    'location' => 'path',
  73                    'type' => 'string',
  74                    'required' => true,
  75                  ),
  76                ),
  77              ),
  78            )
  79          )
  80      );
  81      $this->projects_zones_clusters = new Google_Service_Container_ProjectsZonesClusters_Resource(
  82          $this,
  83          $this->serviceName,
  84          'clusters',
  85          array(
  86            'methods' => array(
  87              'create' => array(
  88                'path' => 'v1/projects/{projectId}/zones/{zone}/clusters',
  89                'httpMethod' => 'POST',
  90                'parameters' => array(
  91                  'projectId' => array(
  92                    'location' => 'path',
  93                    'type' => 'string',
  94                    'required' => true,
  95                  ),
  96                  'zone' => array(
  97                    'location' => 'path',
  98                    'type' => 'string',
  99                    'required' => true,
 100                  ),
 101                ),
 102              ),'delete' => array(
 103                'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}',
 104                'httpMethod' => 'DELETE',
 105                'parameters' => array(
 106                  'projectId' => array(
 107                    'location' => 'path',
 108                    'type' => 'string',
 109                    'required' => true,
 110                  ),
 111                  'zone' => array(
 112                    'location' => 'path',
 113                    'type' => 'string',
 114                    'required' => true,
 115                  ),
 116                  'clusterId' => array(
 117                    'location' => 'path',
 118                    'type' => 'string',
 119                    'required' => true,
 120                  ),
 121                ),
 122              ),'get' => array(
 123                'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}',
 124                'httpMethod' => 'GET',
 125                'parameters' => array(
 126                  'projectId' => array(
 127                    'location' => 'path',
 128                    'type' => 'string',
 129                    'required' => true,
 130                  ),
 131                  'zone' => array(
 132                    'location' => 'path',
 133                    'type' => 'string',
 134                    'required' => true,
 135                  ),
 136                  'clusterId' => array(
 137                    'location' => 'path',
 138                    'type' => 'string',
 139                    'required' => true,
 140                  ),
 141                ),
 142              ),'list' => array(
 143                'path' => 'v1/projects/{projectId}/zones/{zone}/clusters',
 144                'httpMethod' => 'GET',
 145                'parameters' => array(
 146                  'projectId' => array(
 147                    'location' => 'path',
 148                    'type' => 'string',
 149                    'required' => true,
 150                  ),
 151                  'zone' => array(
 152                    'location' => 'path',
 153                    'type' => 'string',
 154                    'required' => true,
 155                  ),
 156                ),
 157              ),'update' => array(
 158                'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}',
 159                'httpMethod' => 'PUT',
 160                'parameters' => array(
 161                  'projectId' => array(
 162                    'location' => 'path',
 163                    'type' => 'string',
 164                    'required' => true,
 165                  ),
 166                  'zone' => array(
 167                    'location' => 'path',
 168                    'type' => 'string',
 169                    'required' => true,
 170                  ),
 171                  'clusterId' => array(
 172                    'location' => 'path',
 173                    'type' => 'string',
 174                    'required' => true,
 175                  ),
 176                ),
 177              ),
 178            )
 179          )
 180      );
 181      $this->projects_zones_operations = new Google_Service_Container_ProjectsZonesOperations_Resource(
 182          $this,
 183          $this->serviceName,
 184          'operations',
 185          array(
 186            'methods' => array(
 187              'get' => array(
 188                'path' => 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}',
 189                'httpMethod' => 'GET',
 190                'parameters' => array(
 191                  'projectId' => array(
 192                    'location' => 'path',
 193                    'type' => 'string',
 194                    'required' => true,
 195                  ),
 196                  'zone' => array(
 197                    'location' => 'path',
 198                    'type' => 'string',
 199                    'required' => true,
 200                  ),
 201                  'operationId' => array(
 202                    'location' => 'path',
 203                    'type' => 'string',
 204                    'required' => true,
 205                  ),
 206                ),
 207              ),'list' => array(
 208                'path' => 'v1/projects/{projectId}/zones/{zone}/operations',
 209                'httpMethod' => 'GET',
 210                'parameters' => array(
 211                  'projectId' => array(
 212                    'location' => 'path',
 213                    'type' => 'string',
 214                    'required' => true,
 215                  ),
 216                  'zone' => array(
 217                    'location' => 'path',
 218                    'type' => 'string',
 219                    'required' => true,
 220                  ),
 221                ),
 222              ),
 223            )
 224          )
 225      );
 226    }
 227  }
 228  
 229  
 230  /**
 231   * The "projects" collection of methods.
 232   * Typical usage is:
 233   *  <code>
 234   *   $containerService = new Google_Service_Container(...);
 235   *   $projects = $containerService->projects;
 236   *  </code>
 237   */
 238  class Google_Service_Container_Projects_Resource extends Google_Service_Resource
 239  {
 240  }
 241  
 242  /**
 243   * The "zones" collection of methods.
 244   * Typical usage is:
 245   *  <code>
 246   *   $containerService = new Google_Service_Container(...);
 247   *   $zones = $containerService->zones;
 248   *  </code>
 249   */
 250  class Google_Service_Container_ProjectsZones_Resource extends Google_Service_Resource
 251  {
 252  
 253    /**
 254     * Returns configuration info about the Container Engine service.
 255     * (zones.getServerconfig)
 256     *
 257     * @param string $projectId The Google Developers Console [project ID or project
 258     * number](https://developers.google.com/console/help/new/#projectnumber).
 259     * @param string $zone The name of the Google Compute Engine
 260     * [zone](/compute/docs/zones#available) to return operations for, or "-" for
 261     * all zones.
 262     * @param array $optParams Optional parameters.
 263     * @return Google_Service_Container_ServerConfig
 264     */
 265    public function getServerconfig($projectId, $zone, $optParams = array())
 266    {
 267      $params = array('projectId' => $projectId, 'zone' => $zone);
 268      $params = array_merge($params, $optParams);
 269      return $this->call('getServerconfig', array($params), "Google_Service_Container_ServerConfig");
 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_ProjectsZonesClusters_Resource extends Google_Service_Resource
 282  {
 283  
 284    /**
 285     * Creates a cluster, consisting of the specified number and type of Google
 286     * Compute Engine instances, plus a Kubernetes master endpoint. By default, the
 287     * cluster is created in the project's [default
 288     * network](/compute/docs/networking#networks_1). One firewall is added for the
 289     * cluster. After cluster creation, the cluster creates routes for each node to
 290     * allow the containers on that node to communicate with all other instances in
 291     * the cluster. Finally, an entry is added to the project's global metadata
 292     * indicating which CIDR range is being used by the cluster. (clusters.create)
 293     *
 294     * @param string $projectId The Google Developers Console [project ID or project
 295     * number](https://developers.google.com/console/help/new/#projectnumber).
 296     * @param string $zone The name of the Google Compute Engine
 297     * [zone](/compute/docs/zones#available) in which the cluster resides.
 298     * @param Google_CreateClusterRequest $postBody
 299     * @param array $optParams Optional parameters.
 300     * @return Google_Service_Container_Operation
 301     */
 302    public function create($projectId, $zone, Google_Service_Container_CreateClusterRequest $postBody, $optParams = array())
 303    {
 304      $params = array('projectId' => $projectId, 'zone' => $zone, 'postBody' => $postBody);
 305      $params = array_merge($params, $optParams);
 306      return $this->call('create', array($params), "Google_Service_Container_Operation");
 307    }
 308  
 309    /**
 310     * Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
 311     * Firewalls and routes that were configured during cluster creation are also
 312     * deleted. (clusters.delete)
 313     *
 314     * @param string $projectId The Google Developers Console [project ID or project
 315     * number](https://developers.google.com/console/help/new/#projectnumber).
 316     * @param string $zone The name of the Google Compute Engine
 317     * [zone](/compute/docs/zones#available) in which the cluster resides.
 318     * @param string $clusterId The name of the cluster to delete.
 319     * @param array $optParams Optional parameters.
 320     * @return Google_Service_Container_Operation
 321     */
 322    public function delete($projectId, $zone, $clusterId, $optParams = array())
 323    {
 324      $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId);
 325      $params = array_merge($params, $optParams);
 326      return $this->call('delete', array($params), "Google_Service_Container_Operation");
 327    }
 328  
 329    /**
 330     * Gets a specific cluster. (clusters.get)
 331     *
 332     * @param string $projectId The Google Developers Console [project ID or project
 333     * number](https://developers.google.com/console/help/new/#projectnumber).
 334     * @param string $zone The name of the Google Compute Engine
 335     * [zone](/compute/docs/zones#available) in which the cluster resides.
 336     * @param string $clusterId The name of the cluster to retrieve.
 337     * @param array $optParams Optional parameters.
 338     * @return Google_Service_Container_Cluster
 339     */
 340    public function get($projectId, $zone, $clusterId, $optParams = array())
 341    {
 342      $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId);
 343      $params = array_merge($params, $optParams);
 344      return $this->call('get', array($params), "Google_Service_Container_Cluster");
 345    }
 346  
 347    /**
 348     * Lists all clusters owned by a project in either the specified zone or all
 349     * zones. (clusters.listProjectsZonesClusters)
 350     *
 351     * @param string $projectId The Google Developers Console [project ID or project
 352     * number](https://developers.google.com/console/help/new/#projectnumber).
 353     * @param string $zone The name of the Google Compute Engine
 354     * [zone](/compute/docs/zones#available) in which the cluster resides, or "-"
 355     * for all zones.
 356     * @param array $optParams Optional parameters.
 357     * @return Google_Service_Container_ListClustersResponse
 358     */
 359    public function listProjectsZonesClusters($projectId, $zone, $optParams = array())
 360    {
 361      $params = array('projectId' => $projectId, 'zone' => $zone);
 362      $params = array_merge($params, $optParams);
 363      return $this->call('list', array($params), "Google_Service_Container_ListClustersResponse");
 364    }
 365  
 366    /**
 367     * Update settings of a specific cluster. (clusters.update)
 368     *
 369     * @param string $projectId The Google Developers Console [project ID or project
 370     * number](https://developers.google.com/console/help/new/#projectnumber).
 371     * @param string $zone The name of the Google Compute Engine
 372     * [zone](/compute/docs/zones#available) in which the cluster resides.
 373     * @param string $clusterId The name of the cluster to upgrade.
 374     * @param Google_UpdateClusterRequest $postBody
 375     * @param array $optParams Optional parameters.
 376     * @return Google_Service_Container_Operation
 377     */
 378    public function update($projectId, $zone, $clusterId, Google_Service_Container_UpdateClusterRequest $postBody, $optParams = array())
 379    {
 380      $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'postBody' => $postBody);
 381      $params = array_merge($params, $optParams);
 382      return $this->call('update', array($params), "Google_Service_Container_Operation");
 383    }
 384  }
 385  /**
 386   * The "operations" collection of methods.
 387   * Typical usage is:
 388   *  <code>
 389   *   $containerService = new Google_Service_Container(...);
 390   *   $operations = $containerService->operations;
 391   *  </code>
 392   */
 393  class Google_Service_Container_ProjectsZonesOperations_Resource extends Google_Service_Resource
 394  {
 395  
 396    /**
 397     * Gets the specified operation. (operations.get)
 398     *
 399     * @param string $projectId The Google Developers Console [project ID or project
 400     * number](https://developers.google.com/console/help/new/#projectnumber).
 401     * @param string $zone The name of the Google Compute Engine
 402     * [zone](/compute/docs/zones#available) in which the cluster resides.
 403     * @param string $operationId The server-assigned `name` of the operation.
 404     * @param array $optParams Optional parameters.
 405     * @return Google_Service_Container_Operation
 406     */
 407    public function get($projectId, $zone, $operationId, $optParams = array())
 408    {
 409      $params = array('projectId' => $projectId, 'zone' => $zone, 'operationId' => $operationId);
 410      $params = array_merge($params, $optParams);
 411      return $this->call('get', array($params), "Google_Service_Container_Operation");
 412    }
 413  
 414    /**
 415     * Lists all operations in a project in a specific zone or all zones.
 416     * (operations.listProjectsZonesOperations)
 417     *
 418     * @param string $projectId The Google Developers Console [project ID or project
 419     * number](https://developers.google.com/console/help/new/#projectnumber).
 420     * @param string $zone The name of the Google Compute Engine
 421     * [zone](/compute/docs/zones#available) to return operations for, or "-" for
 422     * all zones.
 423     * @param array $optParams Optional parameters.
 424     * @return Google_Service_Container_ListOperationsResponse
 425     */
 426    public function listProjectsZonesOperations($projectId, $zone, $optParams = array())
 427    {
 428      $params = array('projectId' => $projectId, 'zone' => $zone);
 429      $params = array_merge($params, $optParams);
 430      return $this->call('list', array($params), "Google_Service_Container_ListOperationsResponse");
 431    }
 432  }
 433  
 434  
 435  
 436  
 437  class Google_Service_Container_Cluster extends Google_Collection
 438  {
 439    protected $collection_key = 'instanceGroupUrls';
 440    protected $internal_gapi_mappings = array(
 441    );
 442    public $clusterIpv4Cidr;
 443    public $createTime;
 444    public $currentMasterVersion;
 445    public $currentNodeVersion;
 446    public $description;
 447    public $endpoint;
 448    public $initialClusterVersion;
 449    public $initialNodeCount;
 450    public $instanceGroupUrls;
 451    public $loggingService;
 452    protected $masterAuthType = 'Google_Service_Container_MasterAuth';
 453    protected $masterAuthDataType = '';
 454    public $monitoringService;
 455    public $name;
 456    public $network;
 457    protected $nodeConfigType = 'Google_Service_Container_NodeConfig';
 458    protected $nodeConfigDataType = '';
 459    public $nodeIpv4CidrSize;
 460    public $selfLink;
 461    public $servicesIpv4Cidr;
 462    public $status;
 463    public $statusMessage;
 464    public $zone;
 465  
 466  
 467    public function setClusterIpv4Cidr($clusterIpv4Cidr)
 468    {
 469      $this->clusterIpv4Cidr = $clusterIpv4Cidr;
 470    }
 471    public function getClusterIpv4Cidr()
 472    {
 473      return $this->clusterIpv4Cidr;
 474    }
 475    public function setCreateTime($createTime)
 476    {
 477      $this->createTime = $createTime;
 478    }
 479    public function getCreateTime()
 480    {
 481      return $this->createTime;
 482    }
 483    public function setCurrentMasterVersion($currentMasterVersion)
 484    {
 485      $this->currentMasterVersion = $currentMasterVersion;
 486    }
 487    public function getCurrentMasterVersion()
 488    {
 489      return $this->currentMasterVersion;
 490    }
 491    public function setCurrentNodeVersion($currentNodeVersion)
 492    {
 493      $this->currentNodeVersion = $currentNodeVersion;
 494    }
 495    public function getCurrentNodeVersion()
 496    {
 497      return $this->currentNodeVersion;
 498    }
 499    public function setDescription($description)
 500    {
 501      $this->description = $description;
 502    }
 503    public function getDescription()
 504    {
 505      return $this->description;
 506    }
 507    public function setEndpoint($endpoint)
 508    {
 509      $this->endpoint = $endpoint;
 510    }
 511    public function getEndpoint()
 512    {
 513      return $this->endpoint;
 514    }
 515    public function setInitialClusterVersion($initialClusterVersion)
 516    {
 517      $this->initialClusterVersion = $initialClusterVersion;
 518    }
 519    public function getInitialClusterVersion()
 520    {
 521      return $this->initialClusterVersion;
 522    }
 523    public function setInitialNodeCount($initialNodeCount)
 524    {
 525      $this->initialNodeCount = $initialNodeCount;
 526    }
 527    public function getInitialNodeCount()
 528    {
 529      return $this->initialNodeCount;
 530    }
 531    public function setInstanceGroupUrls($instanceGroupUrls)
 532    {
 533      $this->instanceGroupUrls = $instanceGroupUrls;
 534    }
 535    public function getInstanceGroupUrls()
 536    {
 537      return $this->instanceGroupUrls;
 538    }
 539    public function setLoggingService($loggingService)
 540    {
 541      $this->loggingService = $loggingService;
 542    }
 543    public function getLoggingService()
 544    {
 545      return $this->loggingService;
 546    }
 547    public function setMasterAuth(Google_Service_Container_MasterAuth $masterAuth)
 548    {
 549      $this->masterAuth = $masterAuth;
 550    }
 551    public function getMasterAuth()
 552    {
 553      return $this->masterAuth;
 554    }
 555    public function setMonitoringService($monitoringService)
 556    {
 557      $this->monitoringService = $monitoringService;
 558    }
 559    public function getMonitoringService()
 560    {
 561      return $this->monitoringService;
 562    }
 563    public function setName($name)
 564    {
 565      $this->name = $name;
 566    }
 567    public function getName()
 568    {
 569      return $this->name;
 570    }
 571    public function setNetwork($network)
 572    {
 573      $this->network = $network;
 574    }
 575    public function getNetwork()
 576    {
 577      return $this->network;
 578    }
 579    public function setNodeConfig(Google_Service_Container_NodeConfig $nodeConfig)
 580    {
 581      $this->nodeConfig = $nodeConfig;
 582    }
 583    public function getNodeConfig()
 584    {
 585      return $this->nodeConfig;
 586    }
 587    public function setNodeIpv4CidrSize($nodeIpv4CidrSize)
 588    {
 589      $this->nodeIpv4CidrSize = $nodeIpv4CidrSize;
 590    }
 591    public function getNodeIpv4CidrSize()
 592    {
 593      return $this->nodeIpv4CidrSize;
 594    }
 595    public function setSelfLink($selfLink)
 596    {
 597      $this->selfLink = $selfLink;
 598    }
 599    public function getSelfLink()
 600    {
 601      return $this->selfLink;
 602    }
 603    public function setServicesIpv4Cidr($servicesIpv4Cidr)
 604    {
 605      $this->servicesIpv4Cidr = $servicesIpv4Cidr;
 606    }
 607    public function getServicesIpv4Cidr()
 608    {
 609      return $this->servicesIpv4Cidr;
 610    }
 611    public function setStatus($status)
 612    {
 613      $this->status = $status;
 614    }
 615    public function getStatus()
 616    {
 617      return $this->status;
 618    }
 619    public function setStatusMessage($statusMessage)
 620    {
 621      $this->statusMessage = $statusMessage;
 622    }
 623    public function getStatusMessage()
 624    {
 625      return $this->statusMessage;
 626    }
 627    public function setZone($zone)
 628    {
 629      $this->zone = $zone;
 630    }
 631    public function getZone()
 632    {
 633      return $this->zone;
 634    }
 635  }
 636  
 637  class Google_Service_Container_ClusterUpdate extends Google_Model
 638  {
 639    protected $internal_gapi_mappings = array(
 640    );
 641    public $desiredNodeVersion;
 642  
 643  
 644    public function setDesiredNodeVersion($desiredNodeVersion)
 645    {
 646      $this->desiredNodeVersion = $desiredNodeVersion;
 647    }
 648    public function getDesiredNodeVersion()
 649    {
 650      return $this->desiredNodeVersion;
 651    }
 652  }
 653  
 654  class Google_Service_Container_CreateClusterRequest extends Google_Model
 655  {
 656    protected $internal_gapi_mappings = array(
 657    );
 658    protected $clusterType = 'Google_Service_Container_Cluster';
 659    protected $clusterDataType = '';
 660  
 661  
 662    public function setCluster(Google_Service_Container_Cluster $cluster)
 663    {
 664      $this->cluster = $cluster;
 665    }
 666    public function getCluster()
 667    {
 668      return $this->cluster;
 669    }
 670  }
 671  
 672  class Google_Service_Container_ListClustersResponse extends Google_Collection
 673  {
 674    protected $collection_key = 'clusters';
 675    protected $internal_gapi_mappings = array(
 676    );
 677    protected $clustersType = 'Google_Service_Container_Cluster';
 678    protected $clustersDataType = 'array';
 679  
 680  
 681    public function setClusters($clusters)
 682    {
 683      $this->clusters = $clusters;
 684    }
 685    public function getClusters()
 686    {
 687      return $this->clusters;
 688    }
 689  }
 690  
 691  class Google_Service_Container_ListOperationsResponse extends Google_Collection
 692  {
 693    protected $collection_key = 'operations';
 694    protected $internal_gapi_mappings = array(
 695    );
 696    protected $operationsType = 'Google_Service_Container_Operation';
 697    protected $operationsDataType = 'array';
 698  
 699  
 700    public function setOperations($operations)
 701    {
 702      $this->operations = $operations;
 703    }
 704    public function getOperations()
 705    {
 706      return $this->operations;
 707    }
 708  }
 709  
 710  class Google_Service_Container_MasterAuth extends Google_Model
 711  {
 712    protected $internal_gapi_mappings = array(
 713    );
 714    public $clientCertificate;
 715    public $clientKey;
 716    public $clusterCaCertificate;
 717    public $password;
 718    public $username;
 719  
 720  
 721    public function setClientCertificate($clientCertificate)
 722    {
 723      $this->clientCertificate = $clientCertificate;
 724    }
 725    public function getClientCertificate()
 726    {
 727      return $this->clientCertificate;
 728    }
 729    public function setClientKey($clientKey)
 730    {
 731      $this->clientKey = $clientKey;
 732    }
 733    public function getClientKey()
 734    {
 735      return $this->clientKey;
 736    }
 737    public function setClusterCaCertificate($clusterCaCertificate)
 738    {
 739      $this->clusterCaCertificate = $clusterCaCertificate;
 740    }
 741    public function getClusterCaCertificate()
 742    {
 743      return $this->clusterCaCertificate;
 744    }
 745    public function setPassword($password)
 746    {
 747      $this->password = $password;
 748    }
 749    public function getPassword()
 750    {
 751      return $this->password;
 752    }
 753    public function setUsername($username)
 754    {
 755      $this->username = $username;
 756    }
 757    public function getUsername()
 758    {
 759      return $this->username;
 760    }
 761  }
 762  
 763  class Google_Service_Container_NodeConfig extends Google_Collection
 764  {
 765    protected $collection_key = 'oauthScopes';
 766    protected $internal_gapi_mappings = array(
 767    );
 768    public $diskSizeGb;
 769    public $machineType;
 770    public $oauthScopes;
 771  
 772  
 773    public function setDiskSizeGb($diskSizeGb)
 774    {
 775      $this->diskSizeGb = $diskSizeGb;
 776    }
 777    public function getDiskSizeGb()
 778    {
 779      return $this->diskSizeGb;
 780    }
 781    public function setMachineType($machineType)
 782    {
 783      $this->machineType = $machineType;
 784    }
 785    public function getMachineType()
 786    {
 787      return $this->machineType;
 788    }
 789    public function setOauthScopes($oauthScopes)
 790    {
 791      $this->oauthScopes = $oauthScopes;
 792    }
 793    public function getOauthScopes()
 794    {
 795      return $this->oauthScopes;
 796    }
 797  }
 798  
 799  class Google_Service_Container_Operation extends Google_Model
 800  {
 801    protected $internal_gapi_mappings = array(
 802    );
 803    public $name;
 804    public $operationType;
 805    public $selfLink;
 806    public $status;
 807    public $statusMessage;
 808    public $targetLink;
 809    public $zone;
 810  
 811  
 812    public function setName($name)
 813    {
 814      $this->name = $name;
 815    }
 816    public function getName()
 817    {
 818      return $this->name;
 819    }
 820    public function setOperationType($operationType)
 821    {
 822      $this->operationType = $operationType;
 823    }
 824    public function getOperationType()
 825    {
 826      return $this->operationType;
 827    }
 828    public function setSelfLink($selfLink)
 829    {
 830      $this->selfLink = $selfLink;
 831    }
 832    public function getSelfLink()
 833    {
 834      return $this->selfLink;
 835    }
 836    public function setStatus($status)
 837    {
 838      $this->status = $status;
 839    }
 840    public function getStatus()
 841    {
 842      return $this->status;
 843    }
 844    public function setStatusMessage($statusMessage)
 845    {
 846      $this->statusMessage = $statusMessage;
 847    }
 848    public function getStatusMessage()
 849    {
 850      return $this->statusMessage;
 851    }
 852    public function setTargetLink($targetLink)
 853    {
 854      $this->targetLink = $targetLink;
 855    }
 856    public function getTargetLink()
 857    {
 858      return $this->targetLink;
 859    }
 860    public function setZone($zone)
 861    {
 862      $this->zone = $zone;
 863    }
 864    public function getZone()
 865    {
 866      return $this->zone;
 867    }
 868  }
 869  
 870  class Google_Service_Container_ServerConfig extends Google_Collection
 871  {
 872    protected $collection_key = 'validNodeVersions';
 873    protected $internal_gapi_mappings = array(
 874    );
 875    public $defaultClusterVersion;
 876    public $validNodeVersions;
 877  
 878  
 879    public function setDefaultClusterVersion($defaultClusterVersion)
 880    {
 881      $this->defaultClusterVersion = $defaultClusterVersion;
 882    }
 883    public function getDefaultClusterVersion()
 884    {
 885      return $this->defaultClusterVersion;
 886    }
 887    public function setValidNodeVersions($validNodeVersions)
 888    {
 889      $this->validNodeVersions = $validNodeVersions;
 890    }
 891    public function getValidNodeVersions()
 892    {
 893      return $this->validNodeVersions;
 894    }
 895  }
 896  
 897  class Google_Service_Container_UpdateClusterRequest extends Google_Model
 898  {
 899    protected $internal_gapi_mappings = array(
 900    );
 901    protected $updateType = 'Google_Service_Container_ClusterUpdate';
 902    protected $updateDataType = '';
 903  
 904  
 905    public function setUpdate(Google_Service_Container_ClusterUpdate $update)
 906    {
 907      $this->update = $update;
 908    }
 909    public function getUpdate()
 910    {
 911      return $this->update;
 912    }
 913  }