Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

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