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