[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
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 Cloud VMs. 23 * </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 = "https://www.googleapis.com/auth/compute"; 36 /** View your Google Compute Engine resources. */ 37 const COMPUTE_READONLY = "https://www.googleapis.com/auth/compute.readonly"; 38 39 public $autoscalers; 40 public $zoneOperations; 41 42 43 /** 44 * Constructs the internal representation of the Autoscaler service. 45 * 46 * @param Google_Client $client 47 */ 48 public function __construct(Google_Client $client) 49 { 50 parent::__construct($client); 51 $this->servicePath = 'autoscaler/v1beta2/'; 52 $this->version = 'v1beta2'; 53 $this->serviceName = 'autoscaler'; 54 55 $this->autoscalers = new Google_Service_Autoscaler_Autoscalers_Resource( 56 $this, 57 $this->serviceName, 58 'autoscalers', 59 array( 60 'methods' => array( 61 'delete' => array( 62 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', 63 'httpMethod' => 'DELETE', 64 'parameters' => array( 65 'project' => array( 66 'location' => 'path', 67 'type' => 'string', 68 'required' => true, 69 ), 70 'zone' => array( 71 'location' => 'path', 72 'type' => 'string', 73 'required' => true, 74 ), 75 'autoscaler' => array( 76 'location' => 'path', 77 'type' => 'string', 78 'required' => true, 79 ), 80 ), 81 ),'get' => array( 82 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', 83 'httpMethod' => 'GET', 84 'parameters' => array( 85 'project' => array( 86 'location' => 'path', 87 'type' => 'string', 88 'required' => true, 89 ), 90 'zone' => array( 91 'location' => 'path', 92 'type' => 'string', 93 'required' => true, 94 ), 95 'autoscaler' => array( 96 'location' => 'path', 97 'type' => 'string', 98 'required' => true, 99 ), 100 ), 101 ),'insert' => array( 102 'path' => 'projects/{project}/zones/{zone}/autoscalers', 103 'httpMethod' => 'POST', 104 'parameters' => array( 105 'project' => array( 106 'location' => 'path', 107 'type' => 'string', 108 'required' => true, 109 ), 110 'zone' => array( 111 'location' => 'path', 112 'type' => 'string', 113 'required' => true, 114 ), 115 ), 116 ),'list' => array( 117 'path' => 'projects/{project}/zones/{zone}/autoscalers', 118 'httpMethod' => 'GET', 119 'parameters' => array( 120 'project' => array( 121 'location' => 'path', 122 'type' => 'string', 123 'required' => true, 124 ), 125 'zone' => array( 126 'location' => 'path', 127 'type' => 'string', 128 'required' => true, 129 ), 130 'filter' => array( 131 'location' => 'query', 132 'type' => 'string', 133 ), 134 'pageToken' => array( 135 'location' => 'query', 136 'type' => 'string', 137 ), 138 'maxResults' => array( 139 'location' => 'query', 140 'type' => 'integer', 141 ), 142 ), 143 ),'patch' => array( 144 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', 145 'httpMethod' => 'PATCH', 146 'parameters' => array( 147 'project' => array( 148 'location' => 'path', 149 'type' => 'string', 150 'required' => true, 151 ), 152 'zone' => array( 153 'location' => 'path', 154 'type' => 'string', 155 'required' => true, 156 ), 157 'autoscaler' => array( 158 'location' => 'path', 159 'type' => 'string', 160 'required' => true, 161 ), 162 ), 163 ),'update' => array( 164 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', 165 'httpMethod' => 'PUT', 166 'parameters' => array( 167 'project' => array( 168 'location' => 'path', 169 'type' => 'string', 170 'required' => true, 171 ), 172 'zone' => array( 173 'location' => 'path', 174 'type' => 'string', 175 'required' => true, 176 ), 177 'autoscaler' => array( 178 'location' => 'path', 179 'type' => 'string', 180 'required' => true, 181 ), 182 ), 183 ), 184 ) 185 ) 186 ); 187 $this->zoneOperations = new Google_Service_Autoscaler_ZoneOperations_Resource( 188 $this, 189 $this->serviceName, 190 'zoneOperations', 191 array( 192 'methods' => array( 193 'delete' => array( 194 'path' => '{project}/zones/{zone}/operations/{operation}', 195 'httpMethod' => 'DELETE', 196 'parameters' => array( 197 'project' => array( 198 'location' => 'path', 199 'type' => 'string', 200 'required' => true, 201 ), 202 'zone' => array( 203 'location' => 'path', 204 'type' => 'string', 205 'required' => true, 206 ), 207 'operation' => array( 208 'location' => 'path', 209 'type' => 'string', 210 'required' => true, 211 ), 212 ), 213 ),'get' => array( 214 'path' => '{project}/zones/{zone}/operations/{operation}', 215 'httpMethod' => 'GET', 216 'parameters' => array( 217 'project' => array( 218 'location' => 'path', 219 'type' => 'string', 220 'required' => true, 221 ), 222 'zone' => array( 223 'location' => 'path', 224 'type' => 'string', 225 'required' => true, 226 ), 227 'operation' => array( 228 'location' => 'path', 229 'type' => 'string', 230 'required' => true, 231 ), 232 ), 233 ),'list' => array( 234 'path' => '{project}/zones/{zone}/operations', 235 'httpMethod' => 'GET', 236 'parameters' => array( 237 'project' => array( 238 'location' => 'path', 239 'type' => 'string', 240 'required' => true, 241 ), 242 'zone' => array( 243 'location' => 'path', 244 'type' => 'string', 245 'required' => true, 246 ), 247 'filter' => array( 248 'location' => 'query', 249 'type' => 'string', 250 ), 251 'pageToken' => array( 252 'location' => 'query', 253 'type' => 'string', 254 ), 255 'maxResults' => array( 256 'location' => 'query', 257 'type' => 'integer', 258 ), 259 ), 260 ), 261 ) 262 ) 263 ); 264 } 265 } 266 267 268 /** 269 * The "autoscalers" collection of methods. 270 * Typical usage is: 271 * <code> 272 * $autoscalerService = new Google_Service_Autoscaler(...); 273 * $autoscalers = $autoscalerService->autoscalers; 274 * </code> 275 */ 276 class Google_Service_Autoscaler_Autoscalers_Resource extends Google_Service_Resource 277 { 278 279 /** 280 * Deletes the specified Autoscaler resource. (autoscalers.delete) 281 * 282 * @param string $project 283 * Project ID of Autoscaler resource. 284 * @param string $zone 285 * Zone name of Autoscaler resource. 286 * @param string $autoscaler 287 * Name of the Autoscaler resource. 288 * @param array $optParams Optional parameters. 289 * @return Google_Service_Autoscaler_Operation 290 */ 291 public function delete($project, $zone, $autoscaler, $optParams = array()) 292 { 293 $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler); 294 $params = array_merge($params, $optParams); 295 return $this->call('delete', array($params), "Google_Service_Autoscaler_Operation"); 296 } 297 /** 298 * Gets the specified Autoscaler resource. (autoscalers.get) 299 * 300 * @param string $project 301 * Project ID of Autoscaler resource. 302 * @param string $zone 303 * Zone name of Autoscaler resource. 304 * @param string $autoscaler 305 * Name of the Autoscaler resource. 306 * @param array $optParams Optional parameters. 307 * @return Google_Service_Autoscaler_Autoscaler 308 */ 309 public function get($project, $zone, $autoscaler, $optParams = array()) 310 { 311 $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler); 312 $params = array_merge($params, $optParams); 313 return $this->call('get', array($params), "Google_Service_Autoscaler_Autoscaler"); 314 } 315 /** 316 * Adds new Autoscaler resource. (autoscalers.insert) 317 * 318 * @param string $project 319 * Project ID of Autoscaler resource. 320 * @param string $zone 321 * Zone name of Autoscaler resource. 322 * @param Google_Autoscaler $postBody 323 * @param array $optParams Optional parameters. 324 * @return Google_Service_Autoscaler_Operation 325 */ 326 public function insert($project, $zone, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array()) 327 { 328 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); 329 $params = array_merge($params, $optParams); 330 return $this->call('insert', array($params), "Google_Service_Autoscaler_Operation"); 331 } 332 /** 333 * Lists all Autoscaler resources in this zone. (autoscalers.listAutoscalers) 334 * 335 * @param string $project 336 * Project ID of Autoscaler resource. 337 * @param string $zone 338 * Zone name of Autoscaler resource. 339 * @param array $optParams Optional parameters. 340 * 341 * @opt_param string filter 342 * 343 * @opt_param string pageToken 344 * 345 * @opt_param string maxResults 346 * 347 * @return Google_Service_Autoscaler_AutoscalerListResponse 348 */ 349 public function listAutoscalers($project, $zone, $optParams = array()) 350 { 351 $params = array('project' => $project, 'zone' => $zone); 352 $params = array_merge($params, $optParams); 353 return $this->call('list', array($params), "Google_Service_Autoscaler_AutoscalerListResponse"); 354 } 355 /** 356 * Update the entire content of the Autoscaler resource. This method supports 357 * patch semantics. (autoscalers.patch) 358 * 359 * @param string $project 360 * Project ID of Autoscaler resource. 361 * @param string $zone 362 * Zone name of Autoscaler resource. 363 * @param string $autoscaler 364 * Name of the Autoscaler resource. 365 * @param Google_Autoscaler $postBody 366 * @param array $optParams Optional parameters. 367 * @return Google_Service_Autoscaler_Operation 368 */ 369 public function patch($project, $zone, $autoscaler, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array()) 370 { 371 $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody); 372 $params = array_merge($params, $optParams); 373 return $this->call('patch', array($params), "Google_Service_Autoscaler_Operation"); 374 } 375 /** 376 * Update the entire content of the Autoscaler resource. (autoscalers.update) 377 * 378 * @param string $project 379 * Project ID of Autoscaler resource. 380 * @param string $zone 381 * Zone name of Autoscaler resource. 382 * @param string $autoscaler 383 * Name of the Autoscaler resource. 384 * @param Google_Autoscaler $postBody 385 * @param array $optParams Optional parameters. 386 * @return Google_Service_Autoscaler_Operation 387 */ 388 public function update($project, $zone, $autoscaler, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array()) 389 { 390 $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody); 391 $params = array_merge($params, $optParams); 392 return $this->call('update', array($params), "Google_Service_Autoscaler_Operation"); 393 } 394 } 395 396 /** 397 * The "zoneOperations" collection of methods. 398 * Typical usage is: 399 * <code> 400 * $autoscalerService = new Google_Service_Autoscaler(...); 401 * $zoneOperations = $autoscalerService->zoneOperations; 402 * </code> 403 */ 404 class Google_Service_Autoscaler_ZoneOperations_Resource extends Google_Service_Resource 405 { 406 407 /** 408 * Deletes the specified zone-specific operation resource. 409 * (zoneOperations.delete) 410 * 411 * @param string $project 412 * 413 * @param string $zone 414 * 415 * @param string $operation 416 * 417 * @param array $optParams Optional parameters. 418 */ 419 public function delete($project, $zone, $operation, $optParams = array()) 420 { 421 $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); 422 $params = array_merge($params, $optParams); 423 return $this->call('delete', array($params)); 424 } 425 /** 426 * Retrieves the specified zone-specific operation resource. 427 * (zoneOperations.get) 428 * 429 * @param string $project 430 * 431 * @param string $zone 432 * 433 * @param string $operation 434 * 435 * @param array $optParams Optional parameters. 436 * @return Google_Service_Autoscaler_Operation 437 */ 438 public function get($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('get', array($params), "Google_Service_Autoscaler_Operation"); 443 } 444 /** 445 * Retrieves the list of operation resources contained within the specified 446 * zone. (zoneOperations.listZoneOperations) 447 * 448 * @param string $project 449 * 450 * @param string $zone 451 * 452 * @param array $optParams Optional parameters. 453 * 454 * @opt_param string filter 455 * 456 * @opt_param string pageToken 457 * 458 * @opt_param string maxResults 459 * 460 * @return Google_Service_Autoscaler_OperationList 461 */ 462 public function listZoneOperations($project, $zone, $optParams = array()) 463 { 464 $params = array('project' => $project, 'zone' => $zone); 465 $params = array_merge($params, $optParams); 466 return $this->call('list', array($params), "Google_Service_Autoscaler_OperationList"); 467 } 468 } 469 470 471 472 473 class Google_Service_Autoscaler_Autoscaler extends Google_Model 474 { 475 protected $autoscalingPolicyType = 'Google_Service_Autoscaler_AutoscalingPolicy'; 476 protected $autoscalingPolicyDataType = ''; 477 public $creationTimestamp; 478 public $description; 479 public $id; 480 public $name; 481 public $selfLink; 482 public $target; 483 484 public function setAutoscalingPolicy(Google_Service_Autoscaler_AutoscalingPolicy $autoscalingPolicy) 485 { 486 $this->autoscalingPolicy = $autoscalingPolicy; 487 } 488 489 public function getAutoscalingPolicy() 490 { 491 return $this->autoscalingPolicy; 492 } 493 494 public function setCreationTimestamp($creationTimestamp) 495 { 496 $this->creationTimestamp = $creationTimestamp; 497 } 498 499 public function getCreationTimestamp() 500 { 501 return $this->creationTimestamp; 502 } 503 504 public function setDescription($description) 505 { 506 $this->description = $description; 507 } 508 509 public function getDescription() 510 { 511 return $this->description; 512 } 513 514 public function setId($id) 515 { 516 $this->id = $id; 517 } 518 519 public function getId() 520 { 521 return $this->id; 522 } 523 524 public function setName($name) 525 { 526 $this->name = $name; 527 } 528 529 public function getName() 530 { 531 return $this->name; 532 } 533 534 public function setSelfLink($selfLink) 535 { 536 $this->selfLink = $selfLink; 537 } 538 539 public function getSelfLink() 540 { 541 return $this->selfLink; 542 } 543 544 public function setTarget($target) 545 { 546 $this->target = $target; 547 } 548 549 public function getTarget() 550 { 551 return $this->target; 552 } 553 } 554 555 class Google_Service_Autoscaler_AutoscalerListResponse extends Google_Collection 556 { 557 protected $collection_key = 'items'; 558 protected $itemsType = 'Google_Service_Autoscaler_Autoscaler'; 559 protected $itemsDataType = 'array'; 560 public $nextPageToken; 561 562 public function setItems($items) 563 { 564 $this->items = $items; 565 } 566 567 public function getItems() 568 { 569 return $this->items; 570 } 571 572 public function setNextPageToken($nextPageToken) 573 { 574 $this->nextPageToken = $nextPageToken; 575 } 576 577 public function getNextPageToken() 578 { 579 return $this->nextPageToken; 580 } 581 } 582 583 class Google_Service_Autoscaler_AutoscalingPolicy extends Google_Collection 584 { 585 protected $collection_key = 'customMetricUtilizations'; 586 public $coolDownPeriodSec; 587 protected $cpuUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization'; 588 protected $cpuUtilizationDataType = ''; 589 protected $customMetricUtilizationsType = 'Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization'; 590 protected $customMetricUtilizationsDataType = 'array'; 591 protected $loadBalancingUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization'; 592 protected $loadBalancingUtilizationDataType = ''; 593 public $maxNumReplicas; 594 public $minNumReplicas; 595 596 public function setCoolDownPeriodSec($coolDownPeriodSec) 597 { 598 $this->coolDownPeriodSec = $coolDownPeriodSec; 599 } 600 601 public function getCoolDownPeriodSec() 602 { 603 return $this->coolDownPeriodSec; 604 } 605 606 public function setCpuUtilization(Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization $cpuUtilization) 607 { 608 $this->cpuUtilization = $cpuUtilization; 609 } 610 611 public function getCpuUtilization() 612 { 613 return $this->cpuUtilization; 614 } 615 616 public function setCustomMetricUtilizations($customMetricUtilizations) 617 { 618 $this->customMetricUtilizations = $customMetricUtilizations; 619 } 620 621 public function getCustomMetricUtilizations() 622 { 623 return $this->customMetricUtilizations; 624 } 625 626 public function setLoadBalancingUtilization(Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization) 627 { 628 $this->loadBalancingUtilization = $loadBalancingUtilization; 629 } 630 631 public function getLoadBalancingUtilization() 632 { 633 return $this->loadBalancingUtilization; 634 } 635 636 public function setMaxNumReplicas($maxNumReplicas) 637 { 638 $this->maxNumReplicas = $maxNumReplicas; 639 } 640 641 public function getMaxNumReplicas() 642 { 643 return $this->maxNumReplicas; 644 } 645 646 public function setMinNumReplicas($minNumReplicas) 647 { 648 $this->minNumReplicas = $minNumReplicas; 649 } 650 651 public function getMinNumReplicas() 652 { 653 return $this->minNumReplicas; 654 } 655 } 656 657 class Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization extends Google_Model 658 { 659 public $utilizationTarget; 660 661 public function setUtilizationTarget($utilizationTarget) 662 { 663 $this->utilizationTarget = $utilizationTarget; 664 } 665 666 public function getUtilizationTarget() 667 { 668 return $this->utilizationTarget; 669 } 670 } 671 672 class Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization extends Google_Model 673 { 674 public $metric; 675 public $utilizationTarget; 676 677 public function setMetric($metric) 678 { 679 $this->metric = $metric; 680 } 681 682 public function getMetric() 683 { 684 return $this->metric; 685 } 686 687 public function setUtilizationTarget($utilizationTarget) 688 { 689 $this->utilizationTarget = $utilizationTarget; 690 } 691 692 public function getUtilizationTarget() 693 { 694 return $this->utilizationTarget; 695 } 696 } 697 698 class Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization extends Google_Model 699 { 700 public $utilizationTarget; 701 702 public function setUtilizationTarget($utilizationTarget) 703 { 704 $this->utilizationTarget = $utilizationTarget; 705 } 706 707 public function getUtilizationTarget() 708 { 709 return $this->utilizationTarget; 710 } 711 } 712 713 class Google_Service_Autoscaler_Operation extends Google_Collection 714 { 715 protected $collection_key = 'warnings'; 716 public $clientOperationId; 717 public $creationTimestamp; 718 public $endTime; 719 protected $errorType = 'Google_Service_Autoscaler_OperationError'; 720 protected $errorDataType = ''; 721 public $httpErrorMessage; 722 public $httpErrorStatusCode; 723 public $id; 724 public $insertTime; 725 public $kind; 726 public $name; 727 public $operationType; 728 public $progress; 729 public $region; 730 public $selfLink; 731 public $startTime; 732 public $status; 733 public $statusMessage; 734 public $targetId; 735 public $targetLink; 736 public $user; 737 protected $warningsType = 'Google_Service_Autoscaler_OperationWarnings'; 738 protected $warningsDataType = 'array'; 739 public $zone; 740 741 public function setClientOperationId($clientOperationId) 742 { 743 $this->clientOperationId = $clientOperationId; 744 } 745 746 public function getClientOperationId() 747 { 748 return $this->clientOperationId; 749 } 750 751 public function setCreationTimestamp($creationTimestamp) 752 { 753 $this->creationTimestamp = $creationTimestamp; 754 } 755 756 public function getCreationTimestamp() 757 { 758 return $this->creationTimestamp; 759 } 760 761 public function setEndTime($endTime) 762 { 763 $this->endTime = $endTime; 764 } 765 766 public function getEndTime() 767 { 768 return $this->endTime; 769 } 770 771 public function setError(Google_Service_Autoscaler_OperationError $error) 772 { 773 $this->error = $error; 774 } 775 776 public function getError() 777 { 778 return $this->error; 779 } 780 781 public function setHttpErrorMessage($httpErrorMessage) 782 { 783 $this->httpErrorMessage = $httpErrorMessage; 784 } 785 786 public function getHttpErrorMessage() 787 { 788 return $this->httpErrorMessage; 789 } 790 791 public function setHttpErrorStatusCode($httpErrorStatusCode) 792 { 793 $this->httpErrorStatusCode = $httpErrorStatusCode; 794 } 795 796 public function getHttpErrorStatusCode() 797 { 798 return $this->httpErrorStatusCode; 799 } 800 801 public function setId($id) 802 { 803 $this->id = $id; 804 } 805 806 public function getId() 807 { 808 return $this->id; 809 } 810 811 public function setInsertTime($insertTime) 812 { 813 $this->insertTime = $insertTime; 814 } 815 816 public function getInsertTime() 817 { 818 return $this->insertTime; 819 } 820 821 public function setKind($kind) 822 { 823 $this->kind = $kind; 824 } 825 826 public function getKind() 827 { 828 return $this->kind; 829 } 830 831 public function setName($name) 832 { 833 $this->name = $name; 834 } 835 836 public function getName() 837 { 838 return $this->name; 839 } 840 841 public function setOperationType($operationType) 842 { 843 $this->operationType = $operationType; 844 } 845 846 public function getOperationType() 847 { 848 return $this->operationType; 849 } 850 851 public function setProgress($progress) 852 { 853 $this->progress = $progress; 854 } 855 856 public function getProgress() 857 { 858 return $this->progress; 859 } 860 861 public function setRegion($region) 862 { 863 $this->region = $region; 864 } 865 866 public function getRegion() 867 { 868 return $this->region; 869 } 870 871 public function setSelfLink($selfLink) 872 { 873 $this->selfLink = $selfLink; 874 } 875 876 public function getSelfLink() 877 { 878 return $this->selfLink; 879 } 880 881 public function setStartTime($startTime) 882 { 883 $this->startTime = $startTime; 884 } 885 886 public function getStartTime() 887 { 888 return $this->startTime; 889 } 890 891 public function setStatus($status) 892 { 893 $this->status = $status; 894 } 895 896 public function getStatus() 897 { 898 return $this->status; 899 } 900 901 public function setStatusMessage($statusMessage) 902 { 903 $this->statusMessage = $statusMessage; 904 } 905 906 public function getStatusMessage() 907 { 908 return $this->statusMessage; 909 } 910 911 public function setTargetId($targetId) 912 { 913 $this->targetId = $targetId; 914 } 915 916 public function getTargetId() 917 { 918 return $this->targetId; 919 } 920 921 public function setTargetLink($targetLink) 922 { 923 $this->targetLink = $targetLink; 924 } 925 926 public function getTargetLink() 927 { 928 return $this->targetLink; 929 } 930 931 public function setUser($user) 932 { 933 $this->user = $user; 934 } 935 936 public function getUser() 937 { 938 return $this->user; 939 } 940 941 public function setWarnings($warnings) 942 { 943 $this->warnings = $warnings; 944 } 945 946 public function getWarnings() 947 { 948 return $this->warnings; 949 } 950 951 public function setZone($zone) 952 { 953 $this->zone = $zone; 954 } 955 956 public function getZone() 957 { 958 return $this->zone; 959 } 960 } 961 962 class Google_Service_Autoscaler_OperationError extends Google_Collection 963 { 964 protected $collection_key = 'errors'; 965 protected $errorsType = 'Google_Service_Autoscaler_OperationErrorErrors'; 966 protected $errorsDataType = 'array'; 967 968 public function setErrors($errors) 969 { 970 $this->errors = $errors; 971 } 972 973 public function getErrors() 974 { 975 return $this->errors; 976 } 977 } 978 979 class Google_Service_Autoscaler_OperationErrorErrors extends Google_Model 980 { 981 public $code; 982 public $location; 983 public $message; 984 985 public function setCode($code) 986 { 987 $this->code = $code; 988 } 989 990 public function getCode() 991 { 992 return $this->code; 993 } 994 995 public function setLocation($location) 996 { 997 $this->location = $location; 998 } 999 1000 public function getLocation() 1001 { 1002 return $this->location; 1003 } 1004 1005 public function setMessage($message) 1006 { 1007 $this->message = $message; 1008 } 1009 1010 public function getMessage() 1011 { 1012 return $this->message; 1013 } 1014 } 1015 1016 class Google_Service_Autoscaler_OperationList extends Google_Collection 1017 { 1018 protected $collection_key = 'items'; 1019 public $id; 1020 protected $itemsType = 'Google_Service_Autoscaler_Operation'; 1021 protected $itemsDataType = 'array'; 1022 public $kind; 1023 public $nextPageToken; 1024 public $selfLink; 1025 1026 public function setId($id) 1027 { 1028 $this->id = $id; 1029 } 1030 1031 public function getId() 1032 { 1033 return $this->id; 1034 } 1035 1036 public function setItems($items) 1037 { 1038 $this->items = $items; 1039 } 1040 1041 public function getItems() 1042 { 1043 return $this->items; 1044 } 1045 1046 public function setKind($kind) 1047 { 1048 $this->kind = $kind; 1049 } 1050 1051 public function getKind() 1052 { 1053 return $this->kind; 1054 } 1055 1056 public function setNextPageToken($nextPageToken) 1057 { 1058 $this->nextPageToken = $nextPageToken; 1059 } 1060 1061 public function getNextPageToken() 1062 { 1063 return $this->nextPageToken; 1064 } 1065 1066 public function setSelfLink($selfLink) 1067 { 1068 $this->selfLink = $selfLink; 1069 } 1070 1071 public function getSelfLink() 1072 { 1073 return $this->selfLink; 1074 } 1075 } 1076 1077 class Google_Service_Autoscaler_OperationWarnings extends Google_Collection 1078 { 1079 protected $collection_key = 'data'; 1080 public $code; 1081 protected $dataType = 'Google_Service_Autoscaler_OperationWarningsData'; 1082 protected $dataDataType = 'array'; 1083 public $message; 1084 1085 public function setCode($code) 1086 { 1087 $this->code = $code; 1088 } 1089 1090 public function getCode() 1091 { 1092 return $this->code; 1093 } 1094 1095 public function setData($data) 1096 { 1097 $this->data = $data; 1098 } 1099 1100 public function getData() 1101 { 1102 return $this->data; 1103 } 1104 1105 public function setMessage($message) 1106 { 1107 $this->message = $message; 1108 } 1109 1110 public function getMessage() 1111 { 1112 return $this->message; 1113 } 1114 } 1115 1116 class Google_Service_Autoscaler_OperationWarningsData extends Google_Model 1117 { 1118 public $key; 1119 public $value; 1120 1121 public function setKey($key) 1122 { 1123 $this->key = $key; 1124 } 1125 1126 public function getKey() 1127 { 1128 return $this->key; 1129 } 1130 1131 public function setValue($value) 1132 { 1133 $this->value = $value; 1134 } 1135 1136 public function getValue() 1137 { 1138 return $this->value; 1139 } 1140 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |