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