Search moodle.org's
Developer Documentation

See Release Notes

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

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

   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 Replicapoolupdater (v1beta1).
  20   *
  21   * <p>
  22   * The Google Compute Engine Instance Group Updater API provides services for
  23   * updating groups of Compute Engine Instances.</p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  #[AllowDynamicProperties]
  33  class Google_Service_Replicapoolupdater 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    /** View your data across Google Cloud Platform services. */
  39    const CLOUD_PLATFORM_READ_ONLY =
  40        "https://www.googleapis.com/auth/cloud-platform.read-only";
  41    /** View and manage replica pools. */
  42    const REPLICAPOOL =
  43        "https://www.googleapis.com/auth/replicapool";
  44    /** View replica pools. */
  45    const REPLICAPOOL_READONLY =
  46        "https://www.googleapis.com/auth/replicapool.readonly";
  47  
  48    public $rollingUpdates;
  49    public $zoneOperations;
  50    
  51  
  52    /**
  53     * Constructs the internal representation of the Replicapoolupdater service.
  54     *
  55     * @param Google_Client $client
  56     */
  57    public function __construct(Google_Client $client)
  58    {
  59      parent::__construct($client);
  60      $this->rootUrl = 'https://www.googleapis.com/';
  61      $this->servicePath = 'replicapoolupdater/v1beta1/projects/';
  62      $this->version = 'v1beta1';
  63      $this->serviceName = 'replicapoolupdater';
  64  
  65      $this->rollingUpdates = new Google_Service_Replicapoolupdater_RollingUpdates_Resource(
  66          $this,
  67          $this->serviceName,
  68          'rollingUpdates',
  69          array(
  70            'methods' => array(
  71              'cancel' => array(
  72                'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/cancel',
  73                'httpMethod' => 'POST',
  74                'parameters' => array(
  75                  'project' => array(
  76                    'location' => 'path',
  77                    'type' => 'string',
  78                    'required' => true,
  79                  ),
  80                  'zone' => array(
  81                    'location' => 'path',
  82                    'type' => 'string',
  83                    'required' => true,
  84                  ),
  85                  'rollingUpdate' => array(
  86                    'location' => 'path',
  87                    'type' => 'string',
  88                    'required' => true,
  89                  ),
  90                ),
  91              ),'get' => array(
  92                'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}',
  93                'httpMethod' => 'GET',
  94                'parameters' => array(
  95                  'project' => array(
  96                    'location' => 'path',
  97                    'type' => 'string',
  98                    'required' => true,
  99                  ),
 100                  'zone' => array(
 101                    'location' => 'path',
 102                    'type' => 'string',
 103                    'required' => true,
 104                  ),
 105                  'rollingUpdate' => array(
 106                    'location' => 'path',
 107                    'type' => 'string',
 108                    'required' => true,
 109                  ),
 110                ),
 111              ),'insert' => array(
 112                'path' => '{project}/zones/{zone}/rollingUpdates',
 113                'httpMethod' => 'POST',
 114                'parameters' => array(
 115                  'project' => array(
 116                    'location' => 'path',
 117                    'type' => 'string',
 118                    'required' => true,
 119                  ),
 120                  'zone' => array(
 121                    'location' => 'path',
 122                    'type' => 'string',
 123                    'required' => true,
 124                  ),
 125                ),
 126              ),'list' => array(
 127                'path' => '{project}/zones/{zone}/rollingUpdates',
 128                'httpMethod' => 'GET',
 129                'parameters' => array(
 130                  'project' => array(
 131                    'location' => 'path',
 132                    'type' => 'string',
 133                    'required' => true,
 134                  ),
 135                  'zone' => array(
 136                    'location' => 'path',
 137                    'type' => 'string',
 138                    'required' => true,
 139                  ),
 140                  'filter' => array(
 141                    'location' => 'query',
 142                    'type' => 'string',
 143                  ),
 144                  'pageToken' => array(
 145                    'location' => 'query',
 146                    'type' => 'string',
 147                  ),
 148                  'maxResults' => array(
 149                    'location' => 'query',
 150                    'type' => 'integer',
 151                  ),
 152                ),
 153              ),'listInstanceUpdates' => array(
 154                'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/instanceUpdates',
 155                'httpMethod' => 'GET',
 156                'parameters' => array(
 157                  'project' => array(
 158                    'location' => 'path',
 159                    'type' => 'string',
 160                    'required' => true,
 161                  ),
 162                  'zone' => array(
 163                    'location' => 'path',
 164                    'type' => 'string',
 165                    'required' => true,
 166                  ),
 167                  'rollingUpdate' => array(
 168                    'location' => 'path',
 169                    'type' => 'string',
 170                    'required' => true,
 171                  ),
 172                  'maxResults' => array(
 173                    'location' => 'query',
 174                    'type' => 'integer',
 175                  ),
 176                  'filter' => array(
 177                    'location' => 'query',
 178                    'type' => 'string',
 179                  ),
 180                  'pageToken' => array(
 181                    'location' => 'query',
 182                    'type' => 'string',
 183                  ),
 184                ),
 185              ),'pause' => array(
 186                'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/pause',
 187                'httpMethod' => 'POST',
 188                'parameters' => array(
 189                  'project' => array(
 190                    'location' => 'path',
 191                    'type' => 'string',
 192                    'required' => true,
 193                  ),
 194                  'zone' => array(
 195                    'location' => 'path',
 196                    'type' => 'string',
 197                    'required' => true,
 198                  ),
 199                  'rollingUpdate' => array(
 200                    'location' => 'path',
 201                    'type' => 'string',
 202                    'required' => true,
 203                  ),
 204                ),
 205              ),'resume' => array(
 206                'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/resume',
 207                'httpMethod' => 'POST',
 208                'parameters' => array(
 209                  'project' => array(
 210                    'location' => 'path',
 211                    'type' => 'string',
 212                    'required' => true,
 213                  ),
 214                  'zone' => array(
 215                    'location' => 'path',
 216                    'type' => 'string',
 217                    'required' => true,
 218                  ),
 219                  'rollingUpdate' => array(
 220                    'location' => 'path',
 221                    'type' => 'string',
 222                    'required' => true,
 223                  ),
 224                ),
 225              ),'rollback' => array(
 226                'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/rollback',
 227                'httpMethod' => 'POST',
 228                'parameters' => array(
 229                  'project' => array(
 230                    'location' => 'path',
 231                    'type' => 'string',
 232                    'required' => true,
 233                  ),
 234                  'zone' => array(
 235                    'location' => 'path',
 236                    'type' => 'string',
 237                    'required' => true,
 238                  ),
 239                  'rollingUpdate' => array(
 240                    'location' => 'path',
 241                    'type' => 'string',
 242                    'required' => true,
 243                  ),
 244                ),
 245              ),
 246            )
 247          )
 248      );
 249      $this->zoneOperations = new Google_Service_Replicapoolupdater_ZoneOperations_Resource(
 250          $this,
 251          $this->serviceName,
 252          'zoneOperations',
 253          array(
 254            'methods' => array(
 255              'get' => array(
 256                'path' => '{project}/zones/{zone}/operations/{operation}',
 257                'httpMethod' => 'GET',
 258                'parameters' => array(
 259                  'project' => array(
 260                    'location' => 'path',
 261                    'type' => 'string',
 262                    'required' => true,
 263                  ),
 264                  'zone' => array(
 265                    'location' => 'path',
 266                    'type' => 'string',
 267                    'required' => true,
 268                  ),
 269                  'operation' => array(
 270                    'location' => 'path',
 271                    'type' => 'string',
 272                    'required' => true,
 273                  ),
 274                ),
 275              ),'list' => array(
 276                'path' => '{project}/zones/{zone}/operations',
 277                'httpMethod' => 'GET',
 278                'parameters' => array(
 279                  'project' => array(
 280                    'location' => 'path',
 281                    'type' => 'string',
 282                    'required' => true,
 283                  ),
 284                  'zone' => array(
 285                    'location' => 'path',
 286                    'type' => 'string',
 287                    'required' => true,
 288                  ),
 289                  'filter' => array(
 290                    'location' => 'query',
 291                    'type' => 'string',
 292                  ),
 293                  'pageToken' => array(
 294                    'location' => 'query',
 295                    'type' => 'string',
 296                  ),
 297                  'maxResults' => array(
 298                    'location' => 'query',
 299                    'type' => 'integer',
 300                  ),
 301                ),
 302              ),
 303            )
 304          )
 305      );
 306    }
 307  }
 308  
 309  
 310  /**
 311   * The "rollingUpdates" collection of methods.
 312   * Typical usage is:
 313   *  <code>
 314   *   $replicapoolupdaterService = new Google_Service_Replicapoolupdater(...);
 315   *   $rollingUpdates = $replicapoolupdaterService->rollingUpdates;
 316   *  </code>
 317   */
 318  #[AllowDynamicProperties]
 319  class Google_Service_Replicapoolupdater_RollingUpdates_Resource extends Google_Service_Resource
 320  {
 321  
 322    /**
 323     * Cancels an update. The update must be PAUSED before it can be cancelled. This
 324     * has no effect if the update is already CANCELLED. (rollingUpdates.cancel)
 325     *
 326     * @param string $project The Google Developers Console project name.
 327     * @param string $zone The name of the zone in which the update's target
 328     * resides.
 329     * @param string $rollingUpdate The name of the update.
 330     * @param array $optParams Optional parameters.
 331     * @return Google_Service_Replicapoolupdater_Operation
 332     */
 333    public function cancel($project, $zone, $rollingUpdate, $optParams = array())
 334    {
 335      $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
 336      $params = array_merge($params, $optParams);
 337      return $this->call('cancel', array($params), "Google_Service_Replicapoolupdater_Operation");
 338    }
 339  
 340    /**
 341     * Returns information about an update. (rollingUpdates.get)
 342     *
 343     * @param string $project The Google Developers Console project name.
 344     * @param string $zone The name of the zone in which the update's target
 345     * resides.
 346     * @param string $rollingUpdate The name of the update.
 347     * @param array $optParams Optional parameters.
 348     * @return Google_Service_Replicapoolupdater_RollingUpdate
 349     */
 350    public function get($project, $zone, $rollingUpdate, $optParams = array())
 351    {
 352      $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
 353      $params = array_merge($params, $optParams);
 354      return $this->call('get', array($params), "Google_Service_Replicapoolupdater_RollingUpdate");
 355    }
 356  
 357    /**
 358     * Inserts and starts a new update. (rollingUpdates.insert)
 359     *
 360     * @param string $project The Google Developers Console project name.
 361     * @param string $zone The name of the zone in which the update's target
 362     * resides.
 363     * @param Google_RollingUpdate $postBody
 364     * @param array $optParams Optional parameters.
 365     * @return Google_Service_Replicapoolupdater_Operation
 366     */
 367    public function insert($project, $zone, Google_Service_Replicapoolupdater_RollingUpdate $postBody, $optParams = array())
 368    {
 369      $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
 370      $params = array_merge($params, $optParams);
 371      return $this->call('insert', array($params), "Google_Service_Replicapoolupdater_Operation");
 372    }
 373  
 374    /**
 375     * Lists recent updates for a given managed instance group, in reverse
 376     * chronological order and paginated format. (rollingUpdates.listRollingUpdates)
 377     *
 378     * @param string $project The Google Developers Console project name.
 379     * @param string $zone The name of the zone in which the update's target
 380     * resides.
 381     * @param array $optParams Optional parameters.
 382     *
 383     * @opt_param string filter Optional. Filter expression for filtering listed
 384     * resources.
 385     * @opt_param string pageToken Optional. Tag returned by a previous list request
 386     * truncated by maxResults. Used to continue a previous list request.
 387     * @opt_param string maxResults Optional. Maximum count of results to be
 388     * returned. Maximum value is 500 and default value is 500.
 389     * @return Google_Service_Replicapoolupdater_RollingUpdateList
 390     */
 391    public function listRollingUpdates($project, $zone, $optParams = array())
 392    {
 393      $params = array('project' => $project, 'zone' => $zone);
 394      $params = array_merge($params, $optParams);
 395      return $this->call('list', array($params), "Google_Service_Replicapoolupdater_RollingUpdateList");
 396    }
 397  
 398    /**
 399     * Lists the current status for each instance within a given update.
 400     * (rollingUpdates.listInstanceUpdates)
 401     *
 402     * @param string $project The Google Developers Console project name.
 403     * @param string $zone The name of the zone in which the update's target
 404     * resides.
 405     * @param string $rollingUpdate The name of the update.
 406     * @param array $optParams Optional parameters.
 407     *
 408     * @opt_param string maxResults Optional. Maximum count of results to be
 409     * returned. Maximum value is 500 and default value is 500.
 410     * @opt_param string filter Optional. Filter expression for filtering listed
 411     * resources.
 412     * @opt_param string pageToken Optional. Tag returned by a previous list request
 413     * truncated by maxResults. Used to continue a previous list request.
 414     * @return Google_Service_Replicapoolupdater_InstanceUpdateList
 415     */
 416    public function listInstanceUpdates($project, $zone, $rollingUpdate, $optParams = array())
 417    {
 418      $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
 419      $params = array_merge($params, $optParams);
 420      return $this->call('listInstanceUpdates', array($params), "Google_Service_Replicapoolupdater_InstanceUpdateList");
 421    }
 422  
 423    /**
 424     * Pauses the update in state from ROLLING_FORWARD or ROLLING_BACK. Has no
 425     * effect if invoked when the state of the update is PAUSED.
 426     * (rollingUpdates.pause)
 427     *
 428     * @param string $project The Google Developers Console project name.
 429     * @param string $zone The name of the zone in which the update's target
 430     * resides.
 431     * @param string $rollingUpdate The name of the update.
 432     * @param array $optParams Optional parameters.
 433     * @return Google_Service_Replicapoolupdater_Operation
 434     */
 435    public function pause($project, $zone, $rollingUpdate, $optParams = array())
 436    {
 437      $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
 438      $params = array_merge($params, $optParams);
 439      return $this->call('pause', array($params), "Google_Service_Replicapoolupdater_Operation");
 440    }
 441  
 442    /**
 443     * Continues an update in PAUSED state. Has no effect if invoked when the state
 444     * of the update is ROLLED_OUT. (rollingUpdates.resume)
 445     *
 446     * @param string $project The Google Developers Console project name.
 447     * @param string $zone The name of the zone in which the update's target
 448     * resides.
 449     * @param string $rollingUpdate The name of the update.
 450     * @param array $optParams Optional parameters.
 451     * @return Google_Service_Replicapoolupdater_Operation
 452     */
 453    public function resume($project, $zone, $rollingUpdate, $optParams = array())
 454    {
 455      $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
 456      $params = array_merge($params, $optParams);
 457      return $this->call('resume', array($params), "Google_Service_Replicapoolupdater_Operation");
 458    }
 459  
 460    /**
 461     * Rolls back the update in state from ROLLING_FORWARD or PAUSED. Has no effect
 462     * if invoked when the state of the update is ROLLED_BACK.
 463     * (rollingUpdates.rollback)
 464     *
 465     * @param string $project The Google Developers Console project name.
 466     * @param string $zone The name of the zone in which the update's target
 467     * resides.
 468     * @param string $rollingUpdate The name of the update.
 469     * @param array $optParams Optional parameters.
 470     * @return Google_Service_Replicapoolupdater_Operation
 471     */
 472    public function rollback($project, $zone, $rollingUpdate, $optParams = array())
 473    {
 474      $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
 475      $params = array_merge($params, $optParams);
 476      return $this->call('rollback', array($params), "Google_Service_Replicapoolupdater_Operation");
 477    }
 478  }
 479  
 480  /**
 481   * The "zoneOperations" collection of methods.
 482   * Typical usage is:
 483   *  <code>
 484   *   $replicapoolupdaterService = new Google_Service_Replicapoolupdater(...);
 485   *   $zoneOperations = $replicapoolupdaterService->zoneOperations;
 486   *  </code>
 487   */
 488  #[AllowDynamicProperties]
 489  class Google_Service_Replicapoolupdater_ZoneOperations_Resource extends Google_Service_Resource
 490  {
 491  
 492    /**
 493     * Retrieves the specified zone-specific operation resource.
 494     * (zoneOperations.get)
 495     *
 496     * @param string $project Name of the project scoping this request.
 497     * @param string $zone Name of the zone scoping this request.
 498     * @param string $operation Name of the operation resource to return.
 499     * @param array $optParams Optional parameters.
 500     * @return Google_Service_Replicapoolupdater_Operation
 501     */
 502    public function get($project, $zone, $operation, $optParams = array())
 503    {
 504      $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
 505      $params = array_merge($params, $optParams);
 506      return $this->call('get', array($params), "Google_Service_Replicapoolupdater_Operation");
 507    }
 508  
 509    /**
 510     * Retrieves the list of Operation resources contained within the specified
 511     * zone. (zoneOperations.listZoneOperations)
 512     *
 513     * @param string $project Name of the project scoping this request.
 514     * @param string $zone Name of the zone scoping this request.
 515     * @param array $optParams Optional parameters.
 516     *
 517     * @opt_param string filter Optional. Filter expression for filtering listed
 518     * resources.
 519     * @opt_param string pageToken Optional. Tag returned by a previous list request
 520     * truncated by maxResults. Used to continue a previous list request.
 521     * @opt_param string maxResults Optional. Maximum count of results to be
 522     * returned. Maximum value is 500 and default value is 500.
 523     * @return Google_Service_Replicapoolupdater_OperationList
 524     */
 525    public function listZoneOperations($project, $zone, $optParams = array())
 526    {
 527      $params = array('project' => $project, 'zone' => $zone);
 528      $params = array_merge($params, $optParams);
 529      return $this->call('list', array($params), "Google_Service_Replicapoolupdater_OperationList");
 530    }
 531  }
 532  
 533  
 534  
 535  
 536  #[AllowDynamicProperties]
 537  class Google_Service_Replicapoolupdater_InstanceUpdate extends Google_Model
 538  {
 539    protected $internal_gapi_mappings = array(
 540    );
 541    protected $errorType = 'Google_Service_Replicapoolupdater_InstanceUpdateError';
 542    protected $errorDataType = '';
 543    public $instance;
 544    public $status;
 545  
 546  
 547    public function setError(Google_Service_Replicapoolupdater_InstanceUpdateError $error)
 548    {
 549      $this->error = $error;
 550    }
 551    public function getError()
 552    {
 553      return $this->error;
 554    }
 555    public function setInstance($instance)
 556    {
 557      $this->instance = $instance;
 558    }
 559    public function getInstance()
 560    {
 561      return $this->instance;
 562    }
 563    public function setStatus($status)
 564    {
 565      $this->status = $status;
 566    }
 567    public function getStatus()
 568    {
 569      return $this->status;
 570    }
 571  }
 572  
 573  #[AllowDynamicProperties]
 574  class Google_Service_Replicapoolupdater_InstanceUpdateError extends Google_Collection
 575  {
 576    protected $collection_key = 'errors';
 577    protected $internal_gapi_mappings = array(
 578    );
 579    protected $errorsType = 'Google_Service_Replicapoolupdater_InstanceUpdateErrorErrors';
 580    protected $errorsDataType = 'array';
 581  
 582  
 583    public function setErrors($errors)
 584    {
 585      $this->errors = $errors;
 586    }
 587    public function getErrors()
 588    {
 589      return $this->errors;
 590    }
 591  }
 592  
 593  #[AllowDynamicProperties]
 594  class Google_Service_Replicapoolupdater_InstanceUpdateErrorErrors extends Google_Model
 595  {
 596    protected $internal_gapi_mappings = array(
 597    );
 598    public $code;
 599    public $location;
 600    public $message;
 601  
 602  
 603    public function setCode($code)
 604    {
 605      $this->code = $code;
 606    }
 607    public function getCode()
 608    {
 609      return $this->code;
 610    }
 611    public function setLocation($location)
 612    {
 613      $this->location = $location;
 614    }
 615    public function getLocation()
 616    {
 617      return $this->location;
 618    }
 619    public function setMessage($message)
 620    {
 621      $this->message = $message;
 622    }
 623    public function getMessage()
 624    {
 625      return $this->message;
 626    }
 627  }
 628  
 629  #[AllowDynamicProperties]
 630  class Google_Service_Replicapoolupdater_InstanceUpdateList extends Google_Collection
 631  {
 632    protected $collection_key = 'items';
 633    protected $internal_gapi_mappings = array(
 634    );
 635    protected $itemsType = 'Google_Service_Replicapoolupdater_InstanceUpdate';
 636    protected $itemsDataType = 'array';
 637    public $kind;
 638    public $nextPageToken;
 639    public $selfLink;
 640  
 641  
 642    public function setItems($items)
 643    {
 644      $this->items = $items;
 645    }
 646    public function getItems()
 647    {
 648      return $this->items;
 649    }
 650    public function setKind($kind)
 651    {
 652      $this->kind = $kind;
 653    }
 654    public function getKind()
 655    {
 656      return $this->kind;
 657    }
 658    public function setNextPageToken($nextPageToken)
 659    {
 660      $this->nextPageToken = $nextPageToken;
 661    }
 662    public function getNextPageToken()
 663    {
 664      return $this->nextPageToken;
 665    }
 666    public function setSelfLink($selfLink)
 667    {
 668      $this->selfLink = $selfLink;
 669    }
 670    public function getSelfLink()
 671    {
 672      return $this->selfLink;
 673    }
 674  }
 675  
 676  #[AllowDynamicProperties]
 677  class Google_Service_Replicapoolupdater_Operation extends Google_Collection
 678  {
 679    protected $collection_key = 'warnings';
 680    protected $internal_gapi_mappings = array(
 681    );
 682    public $clientOperationId;
 683    public $creationTimestamp;
 684    public $endTime;
 685    protected $errorType = 'Google_Service_Replicapoolupdater_OperationError';
 686    protected $errorDataType = '';
 687    public $httpErrorMessage;
 688    public $httpErrorStatusCode;
 689    public $id;
 690    public $insertTime;
 691    public $kind;
 692    public $name;
 693    public $operationType;
 694    public $progress;
 695    public $region;
 696    public $selfLink;
 697    public $startTime;
 698    public $status;
 699    public $statusMessage;
 700    public $targetId;
 701    public $targetLink;
 702    public $user;
 703    protected $warningsType = 'Google_Service_Replicapoolupdater_OperationWarnings';
 704    protected $warningsDataType = 'array';
 705    public $zone;
 706  
 707  
 708    public function setClientOperationId($clientOperationId)
 709    {
 710      $this->clientOperationId = $clientOperationId;
 711    }
 712    public function getClientOperationId()
 713    {
 714      return $this->clientOperationId;
 715    }
 716    public function setCreationTimestamp($creationTimestamp)
 717    {
 718      $this->creationTimestamp = $creationTimestamp;
 719    }
 720    public function getCreationTimestamp()
 721    {
 722      return $this->creationTimestamp;
 723    }
 724    public function setEndTime($endTime)
 725    {
 726      $this->endTime = $endTime;
 727    }
 728    public function getEndTime()
 729    {
 730      return $this->endTime;
 731    }
 732    public function setError(Google_Service_Replicapoolupdater_OperationError $error)
 733    {
 734      $this->error = $error;
 735    }
 736    public function getError()
 737    {
 738      return $this->error;
 739    }
 740    public function setHttpErrorMessage($httpErrorMessage)
 741    {
 742      $this->httpErrorMessage = $httpErrorMessage;
 743    }
 744    public function getHttpErrorMessage()
 745    {
 746      return $this->httpErrorMessage;
 747    }
 748    public function setHttpErrorStatusCode($httpErrorStatusCode)
 749    {
 750      $this->httpErrorStatusCode = $httpErrorStatusCode;
 751    }
 752    public function getHttpErrorStatusCode()
 753    {
 754      return $this->httpErrorStatusCode;
 755    }
 756    public function setId($id)
 757    {
 758      $this->id = $id;
 759    }
 760    public function getId()
 761    {
 762      return $this->id;
 763    }
 764    public function setInsertTime($insertTime)
 765    {
 766      $this->insertTime = $insertTime;
 767    }
 768    public function getInsertTime()
 769    {
 770      return $this->insertTime;
 771    }
 772    public function setKind($kind)
 773    {
 774      $this->kind = $kind;
 775    }
 776    public function getKind()
 777    {
 778      return $this->kind;
 779    }
 780    public function setName($name)
 781    {
 782      $this->name = $name;
 783    }
 784    public function getName()
 785    {
 786      return $this->name;
 787    }
 788    public function setOperationType($operationType)
 789    {
 790      $this->operationType = $operationType;
 791    }
 792    public function getOperationType()
 793    {
 794      return $this->operationType;
 795    }
 796    public function setProgress($progress)
 797    {
 798      $this->progress = $progress;
 799    }
 800    public function getProgress()
 801    {
 802      return $this->progress;
 803    }
 804    public function setRegion($region)
 805    {
 806      $this->region = $region;
 807    }
 808    public function getRegion()
 809    {
 810      return $this->region;
 811    }
 812    public function setSelfLink($selfLink)
 813    {
 814      $this->selfLink = $selfLink;
 815    }
 816    public function getSelfLink()
 817    {
 818      return $this->selfLink;
 819    }
 820    public function setStartTime($startTime)
 821    {
 822      $this->startTime = $startTime;
 823    }
 824    public function getStartTime()
 825    {
 826      return $this->startTime;
 827    }
 828    public function setStatus($status)
 829    {
 830      $this->status = $status;
 831    }
 832    public function getStatus()
 833    {
 834      return $this->status;
 835    }
 836    public function setStatusMessage($statusMessage)
 837    {
 838      $this->statusMessage = $statusMessage;
 839    }
 840    public function getStatusMessage()
 841    {
 842      return $this->statusMessage;
 843    }
 844    public function setTargetId($targetId)
 845    {
 846      $this->targetId = $targetId;
 847    }
 848    public function getTargetId()
 849    {
 850      return $this->targetId;
 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 setUser($user)
 861    {
 862      $this->user = $user;
 863    }
 864    public function getUser()
 865    {
 866      return $this->user;
 867    }
 868    public function setWarnings($warnings)
 869    {
 870      $this->warnings = $warnings;
 871    }
 872    public function getWarnings()
 873    {
 874      return $this->warnings;
 875    }
 876    public function setZone($zone)
 877    {
 878      $this->zone = $zone;
 879    }
 880    public function getZone()
 881    {
 882      return $this->zone;
 883    }
 884  }
 885  
 886  #[AllowDynamicProperties]
 887  class Google_Service_Replicapoolupdater_OperationError extends Google_Collection
 888  {
 889    protected $collection_key = 'errors';
 890    protected $internal_gapi_mappings = array(
 891    );
 892    protected $errorsType = 'Google_Service_Replicapoolupdater_OperationErrorErrors';
 893    protected $errorsDataType = 'array';
 894  
 895  
 896    public function setErrors($errors)
 897    {
 898      $this->errors = $errors;
 899    }
 900    public function getErrors()
 901    {
 902      return $this->errors;
 903    }
 904  }
 905  
 906  #[AllowDynamicProperties]
 907  class Google_Service_Replicapoolupdater_OperationErrorErrors extends Google_Model
 908  {
 909    protected $internal_gapi_mappings = array(
 910    );
 911    public $code;
 912    public $location;
 913    public $message;
 914  
 915  
 916    public function setCode($code)
 917    {
 918      $this->code = $code;
 919    }
 920    public function getCode()
 921    {
 922      return $this->code;
 923    }
 924    public function setLocation($location)
 925    {
 926      $this->location = $location;
 927    }
 928    public function getLocation()
 929    {
 930      return $this->location;
 931    }
 932    public function setMessage($message)
 933    {
 934      $this->message = $message;
 935    }
 936    public function getMessage()
 937    {
 938      return $this->message;
 939    }
 940  }
 941  
 942  #[AllowDynamicProperties]
 943  class Google_Service_Replicapoolupdater_OperationList extends Google_Collection
 944  {
 945    protected $collection_key = 'items';
 946    protected $internal_gapi_mappings = array(
 947    );
 948    public $id;
 949    protected $itemsType = 'Google_Service_Replicapoolupdater_Operation';
 950    protected $itemsDataType = 'array';
 951    public $kind;
 952    public $nextPageToken;
 953    public $selfLink;
 954  
 955  
 956    public function setId($id)
 957    {
 958      $this->id = $id;
 959    }
 960    public function getId()
 961    {
 962      return $this->id;
 963    }
 964    public function setItems($items)
 965    {
 966      $this->items = $items;
 967    }
 968    public function getItems()
 969    {
 970      return $this->items;
 971    }
 972    public function setKind($kind)
 973    {
 974      $this->kind = $kind;
 975    }
 976    public function getKind()
 977    {
 978      return $this->kind;
 979    }
 980    public function setNextPageToken($nextPageToken)
 981    {
 982      $this->nextPageToken = $nextPageToken;
 983    }
 984    public function getNextPageToken()
 985    {
 986      return $this->nextPageToken;
 987    }
 988    public function setSelfLink($selfLink)
 989    {
 990      $this->selfLink = $selfLink;
 991    }
 992    public function getSelfLink()
 993    {
 994      return $this->selfLink;
 995    }
 996  }
 997  
 998  #[AllowDynamicProperties]
 999  class Google_Service_Replicapoolupdater_OperationWarnings extends Google_Collection
1000  {
1001    protected $collection_key = 'data';
1002    protected $internal_gapi_mappings = array(
1003    );
1004    public $code;
1005    protected $dataType = 'Google_Service_Replicapoolupdater_OperationWarningsData';
1006    protected $dataDataType = 'array';
1007    public $message;
1008  
1009  
1010    public function setCode($code)
1011    {
1012      $this->code = $code;
1013    }
1014    public function getCode()
1015    {
1016      return $this->code;
1017    }
1018    public function setData($data)
1019    {
1020      $this->data = $data;
1021    }
1022    public function getData()
1023    {
1024      return $this->data;
1025    }
1026    public function setMessage($message)
1027    {
1028      $this->message = $message;
1029    }
1030    public function getMessage()
1031    {
1032      return $this->message;
1033    }
1034  }
1035  
1036  #[AllowDynamicProperties]
1037  class Google_Service_Replicapoolupdater_OperationWarningsData extends Google_Model
1038  {
1039    protected $internal_gapi_mappings = array(
1040    );
1041    public $key;
1042    public $value;
1043  
1044  
1045    public function setKey($key)
1046    {
1047      $this->key = $key;
1048    }
1049    public function getKey()
1050    {
1051      return $this->key;
1052    }
1053    public function setValue($value)
1054    {
1055      $this->value = $value;
1056    }
1057    public function getValue()
1058    {
1059      return $this->value;
1060    }
1061  }
1062  
1063  #[AllowDynamicProperties]
1064  class Google_Service_Replicapoolupdater_RollingUpdate extends Google_Model
1065  {
1066    protected $internal_gapi_mappings = array(
1067    );
1068    public $actionType;
1069    public $creationTimestamp;
1070    public $description;
1071    protected $errorType = 'Google_Service_Replicapoolupdater_RollingUpdateError';
1072    protected $errorDataType = '';
1073    public $id;
1074    public $instanceGroup;
1075    public $instanceGroupManager;
1076    public $instanceTemplate;
1077    public $kind;
1078    public $oldInstanceTemplate;
1079    protected $policyType = 'Google_Service_Replicapoolupdater_RollingUpdatePolicy';
1080    protected $policyDataType = '';
1081    public $progress;
1082    public $selfLink;
1083    public $status;
1084    public $statusMessage;
1085    public $user;
1086  
1087  
1088    public function setActionType($actionType)
1089    {
1090      $this->actionType = $actionType;
1091    }
1092    public function getActionType()
1093    {
1094      return $this->actionType;
1095    }
1096    public function setCreationTimestamp($creationTimestamp)
1097    {
1098      $this->creationTimestamp = $creationTimestamp;
1099    }
1100    public function getCreationTimestamp()
1101    {
1102      return $this->creationTimestamp;
1103    }
1104    public function setDescription($description)
1105    {
1106      $this->description = $description;
1107    }
1108    public function getDescription()
1109    {
1110      return $this->description;
1111    }
1112    public function setError(Google_Service_Replicapoolupdater_RollingUpdateError $error)
1113    {
1114      $this->error = $error;
1115    }
1116    public function getError()
1117    {
1118      return $this->error;
1119    }
1120    public function setId($id)
1121    {
1122      $this->id = $id;
1123    }
1124    public function getId()
1125    {
1126      return $this->id;
1127    }
1128    public function setInstanceGroup($instanceGroup)
1129    {
1130      $this->instanceGroup = $instanceGroup;
1131    }
1132    public function getInstanceGroup()
1133    {
1134      return $this->instanceGroup;
1135    }
1136    public function setInstanceGroupManager($instanceGroupManager)
1137    {
1138      $this->instanceGroupManager = $instanceGroupManager;
1139    }
1140    public function getInstanceGroupManager()
1141    {
1142      return $this->instanceGroupManager;
1143    }
1144    public function setInstanceTemplate($instanceTemplate)
1145    {
1146      $this->instanceTemplate = $instanceTemplate;
1147    }
1148    public function getInstanceTemplate()
1149    {
1150      return $this->instanceTemplate;
1151    }
1152    public function setKind($kind)
1153    {
1154      $this->kind = $kind;
1155    }
1156    public function getKind()
1157    {
1158      return $this->kind;
1159    }
1160    public function setOldInstanceTemplate($oldInstanceTemplate)
1161    {
1162      $this->oldInstanceTemplate = $oldInstanceTemplate;
1163    }
1164    public function getOldInstanceTemplate()
1165    {
1166      return $this->oldInstanceTemplate;
1167    }
1168    public function setPolicy(Google_Service_Replicapoolupdater_RollingUpdatePolicy $policy)
1169    {
1170      $this->policy = $policy;
1171    }
1172    public function getPolicy()
1173    {
1174      return $this->policy;
1175    }
1176    public function setProgress($progress)
1177    {
1178      $this->progress = $progress;
1179    }
1180    public function getProgress()
1181    {
1182      return $this->progress;
1183    }
1184    public function setSelfLink($selfLink)
1185    {
1186      $this->selfLink = $selfLink;
1187    }
1188    public function getSelfLink()
1189    {
1190      return $this->selfLink;
1191    }
1192    public function setStatus($status)
1193    {
1194      $this->status = $status;
1195    }
1196    public function getStatus()
1197    {
1198      return $this->status;
1199    }
1200    public function setStatusMessage($statusMessage)
1201    {
1202      $this->statusMessage = $statusMessage;
1203    }
1204    public function getStatusMessage()
1205    {
1206      return $this->statusMessage;
1207    }
1208    public function setUser($user)
1209    {
1210      $this->user = $user;
1211    }
1212    public function getUser()
1213    {
1214      return $this->user;
1215    }
1216  }
1217  
1218  #[AllowDynamicProperties]
1219  class Google_Service_Replicapoolupdater_RollingUpdateError extends Google_Collection
1220  {
1221    protected $collection_key = 'errors';
1222    protected $internal_gapi_mappings = array(
1223    );
1224    protected $errorsType = 'Google_Service_Replicapoolupdater_RollingUpdateErrorErrors';
1225    protected $errorsDataType = 'array';
1226  
1227  
1228    public function setErrors($errors)
1229    {
1230      $this->errors = $errors;
1231    }
1232    public function getErrors()
1233    {
1234      return $this->errors;
1235    }
1236  }
1237  
1238  #[AllowDynamicProperties]
1239  class Google_Service_Replicapoolupdater_RollingUpdateErrorErrors extends Google_Model
1240  {
1241    protected $internal_gapi_mappings = array(
1242    );
1243    public $code;
1244    public $location;
1245    public $message;
1246  
1247  
1248    public function setCode($code)
1249    {
1250      $this->code = $code;
1251    }
1252    public function getCode()
1253    {
1254      return $this->code;
1255    }
1256    public function setLocation($location)
1257    {
1258      $this->location = $location;
1259    }
1260    public function getLocation()
1261    {
1262      return $this->location;
1263    }
1264    public function setMessage($message)
1265    {
1266      $this->message = $message;
1267    }
1268    public function getMessage()
1269    {
1270      return $this->message;
1271    }
1272  }
1273  
1274  #[AllowDynamicProperties]
1275  class Google_Service_Replicapoolupdater_RollingUpdateList extends Google_Collection
1276  {
1277    protected $collection_key = 'items';
1278    protected $internal_gapi_mappings = array(
1279    );
1280    protected $itemsType = 'Google_Service_Replicapoolupdater_RollingUpdate';
1281    protected $itemsDataType = 'array';
1282    public $kind;
1283    public $nextPageToken;
1284    public $selfLink;
1285  
1286  
1287    public function setItems($items)
1288    {
1289      $this->items = $items;
1290    }
1291    public function getItems()
1292    {
1293      return $this->items;
1294    }
1295    public function setKind($kind)
1296    {
1297      $this->kind = $kind;
1298    }
1299    public function getKind()
1300    {
1301      return $this->kind;
1302    }
1303    public function setNextPageToken($nextPageToken)
1304    {
1305      $this->nextPageToken = $nextPageToken;
1306    }
1307    public function getNextPageToken()
1308    {
1309      return $this->nextPageToken;
1310    }
1311    public function setSelfLink($selfLink)
1312    {
1313      $this->selfLink = $selfLink;
1314    }
1315    public function getSelfLink()
1316    {
1317      return $this->selfLink;
1318    }
1319  }
1320  
1321  #[AllowDynamicProperties]
1322  class Google_Service_Replicapoolupdater_RollingUpdatePolicy extends Google_Model
1323  {
1324    protected $internal_gapi_mappings = array(
1325    );
1326    public $autoPauseAfterInstances;
1327    public $instanceStartupTimeoutSec;
1328    public $maxNumConcurrentInstances;
1329    public $maxNumFailedInstances;
1330    public $minInstanceUpdateTimeSec;
1331  
1332  
1333    public function setAutoPauseAfterInstances($autoPauseAfterInstances)
1334    {
1335      $this->autoPauseAfterInstances = $autoPauseAfterInstances;
1336    }
1337    public function getAutoPauseAfterInstances()
1338    {
1339      return $this->autoPauseAfterInstances;
1340    }
1341    public function setInstanceStartupTimeoutSec($instanceStartupTimeoutSec)
1342    {
1343      $this->instanceStartupTimeoutSec = $instanceStartupTimeoutSec;
1344    }
1345    public function getInstanceStartupTimeoutSec()
1346    {
1347      return $this->instanceStartupTimeoutSec;
1348    }
1349    public function setMaxNumConcurrentInstances($maxNumConcurrentInstances)
1350    {
1351      $this->maxNumConcurrentInstances = $maxNumConcurrentInstances;
1352    }
1353    public function getMaxNumConcurrentInstances()
1354    {
1355      return $this->maxNumConcurrentInstances;
1356    }
1357    public function setMaxNumFailedInstances($maxNumFailedInstances)
1358    {
1359      $this->maxNumFailedInstances = $maxNumFailedInstances;
1360    }
1361    public function getMaxNumFailedInstances()
1362    {
1363      return $this->maxNumFailedInstances;
1364    }
1365    public function setMinInstanceUpdateTimeSec($minInstanceUpdateTimeSec)
1366    {
1367      $this->minInstanceUpdateTimeSec = $minInstanceUpdateTimeSec;
1368    }
1369    public function getMinInstanceUpdateTimeSec()
1370    {
1371      return $this->minInstanceUpdateTimeSec;
1372    }
1373  }