[ 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 Compute (v1). 20 * 21 * <p> 22 * API for the Google Compute Engine service. 23 * </p> 24 * 25 * <p> 26 * For more information about this service, see the API 27 * <a href="https://developers.google.com/compute/docs/reference/latest/" target="_blank">Documentation</a> 28 * </p> 29 * 30 * @author Google, Inc. 31 */ 32 class Google_Service_Compute 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 /** Manage your data and permissions in Google Cloud Storage. */ 39 const DEVSTORAGE_FULL_CONTROL = "https://www.googleapis.com/auth/devstorage.full_control"; 40 /** View your data in Google Cloud Storage. */ 41 const DEVSTORAGE_READ_ONLY = "https://www.googleapis.com/auth/devstorage.read_only"; 42 /** Manage your data in Google Cloud Storage. */ 43 const DEVSTORAGE_READ_WRITE = "https://www.googleapis.com/auth/devstorage.read_write"; 44 45 public $addresses; 46 public $backendServices; 47 public $diskTypes; 48 public $disks; 49 public $firewalls; 50 public $forwardingRules; 51 public $globalAddresses; 52 public $globalForwardingRules; 53 public $globalOperations; 54 public $httpHealthChecks; 55 public $images; 56 public $instances; 57 public $licenses; 58 public $machineTypes; 59 public $networks; 60 public $projects; 61 public $regionOperations; 62 public $regions; 63 public $routes; 64 public $snapshots; 65 public $targetHttpProxies; 66 public $targetInstances; 67 public $targetPools; 68 public $urlMaps; 69 public $zoneOperations; 70 public $zones; 71 72 73 /** 74 * Constructs the internal representation of the Compute service. 75 * 76 * @param Google_Client $client 77 */ 78 public function __construct(Google_Client $client) 79 { 80 parent::__construct($client); 81 $this->servicePath = 'compute/v1/projects/'; 82 $this->version = 'v1'; 83 $this->serviceName = 'compute'; 84 85 $this->addresses = new Google_Service_Compute_Addresses_Resource( 86 $this, 87 $this->serviceName, 88 'addresses', 89 array( 90 'methods' => array( 91 'aggregatedList' => array( 92 'path' => '{project}/aggregated/addresses', 93 'httpMethod' => 'GET', 94 'parameters' => array( 95 'project' => array( 96 'location' => 'path', 97 'type' => 'string', 98 'required' => true, 99 ), 100 'filter' => array( 101 'location' => 'query', 102 'type' => 'string', 103 ), 104 'pageToken' => array( 105 'location' => 'query', 106 'type' => 'string', 107 ), 108 'maxResults' => array( 109 'location' => 'query', 110 'type' => 'integer', 111 ), 112 ), 113 ),'delete' => array( 114 'path' => '{project}/regions/{region}/addresses/{address}', 115 'httpMethod' => 'DELETE', 116 'parameters' => array( 117 'project' => array( 118 'location' => 'path', 119 'type' => 'string', 120 'required' => true, 121 ), 122 'region' => array( 123 'location' => 'path', 124 'type' => 'string', 125 'required' => true, 126 ), 127 'address' => array( 128 'location' => 'path', 129 'type' => 'string', 130 'required' => true, 131 ), 132 ), 133 ),'get' => array( 134 'path' => '{project}/regions/{region}/addresses/{address}', 135 'httpMethod' => 'GET', 136 'parameters' => array( 137 'project' => array( 138 'location' => 'path', 139 'type' => 'string', 140 'required' => true, 141 ), 142 'region' => array( 143 'location' => 'path', 144 'type' => 'string', 145 'required' => true, 146 ), 147 'address' => array( 148 'location' => 'path', 149 'type' => 'string', 150 'required' => true, 151 ), 152 ), 153 ),'insert' => array( 154 'path' => '{project}/regions/{region}/addresses', 155 'httpMethod' => 'POST', 156 'parameters' => array( 157 'project' => array( 158 'location' => 'path', 159 'type' => 'string', 160 'required' => true, 161 ), 162 'region' => array( 163 'location' => 'path', 164 'type' => 'string', 165 'required' => true, 166 ), 167 ), 168 ),'list' => array( 169 'path' => '{project}/regions/{region}/addresses', 170 'httpMethod' => 'GET', 171 'parameters' => array( 172 'project' => array( 173 'location' => 'path', 174 'type' => 'string', 175 'required' => true, 176 ), 177 'region' => array( 178 'location' => 'path', 179 'type' => 'string', 180 'required' => true, 181 ), 182 'filter' => array( 183 'location' => 'query', 184 'type' => 'string', 185 ), 186 'pageToken' => array( 187 'location' => 'query', 188 'type' => 'string', 189 ), 190 'maxResults' => array( 191 'location' => 'query', 192 'type' => 'integer', 193 ), 194 ), 195 ), 196 ) 197 ) 198 ); 199 $this->backendServices = new Google_Service_Compute_BackendServices_Resource( 200 $this, 201 $this->serviceName, 202 'backendServices', 203 array( 204 'methods' => array( 205 'delete' => array( 206 'path' => '{project}/global/backendServices/{backendService}', 207 'httpMethod' => 'DELETE', 208 'parameters' => array( 209 'project' => array( 210 'location' => 'path', 211 'type' => 'string', 212 'required' => true, 213 ), 214 'backendService' => array( 215 'location' => 'path', 216 'type' => 'string', 217 'required' => true, 218 ), 219 ), 220 ),'get' => array( 221 'path' => '{project}/global/backendServices/{backendService}', 222 'httpMethod' => 'GET', 223 'parameters' => array( 224 'project' => array( 225 'location' => 'path', 226 'type' => 'string', 227 'required' => true, 228 ), 229 'backendService' => array( 230 'location' => 'path', 231 'type' => 'string', 232 'required' => true, 233 ), 234 ), 235 ),'getHealth' => array( 236 'path' => '{project}/global/backendServices/{backendService}/getHealth', 237 'httpMethod' => 'POST', 238 'parameters' => array( 239 'project' => array( 240 'location' => 'path', 241 'type' => 'string', 242 'required' => true, 243 ), 244 'backendService' => array( 245 'location' => 'path', 246 'type' => 'string', 247 'required' => true, 248 ), 249 ), 250 ),'insert' => array( 251 'path' => '{project}/global/backendServices', 252 'httpMethod' => 'POST', 253 'parameters' => array( 254 'project' => array( 255 'location' => 'path', 256 'type' => 'string', 257 'required' => true, 258 ), 259 ), 260 ),'list' => array( 261 'path' => '{project}/global/backendServices', 262 'httpMethod' => 'GET', 263 'parameters' => array( 264 'project' => array( 265 'location' => 'path', 266 'type' => 'string', 267 'required' => true, 268 ), 269 'filter' => array( 270 'location' => 'query', 271 'type' => 'string', 272 ), 273 'pageToken' => array( 274 'location' => 'query', 275 'type' => 'string', 276 ), 277 'maxResults' => array( 278 'location' => 'query', 279 'type' => 'integer', 280 ), 281 ), 282 ),'patch' => array( 283 'path' => '{project}/global/backendServices/{backendService}', 284 'httpMethod' => 'PATCH', 285 'parameters' => array( 286 'project' => array( 287 'location' => 'path', 288 'type' => 'string', 289 'required' => true, 290 ), 291 'backendService' => array( 292 'location' => 'path', 293 'type' => 'string', 294 'required' => true, 295 ), 296 ), 297 ),'update' => array( 298 'path' => '{project}/global/backendServices/{backendService}', 299 'httpMethod' => 'PUT', 300 'parameters' => array( 301 'project' => array( 302 'location' => 'path', 303 'type' => 'string', 304 'required' => true, 305 ), 306 'backendService' => array( 307 'location' => 'path', 308 'type' => 'string', 309 'required' => true, 310 ), 311 ), 312 ), 313 ) 314 ) 315 ); 316 $this->diskTypes = new Google_Service_Compute_DiskTypes_Resource( 317 $this, 318 $this->serviceName, 319 'diskTypes', 320 array( 321 'methods' => array( 322 'aggregatedList' => array( 323 'path' => '{project}/aggregated/diskTypes', 324 'httpMethod' => 'GET', 325 'parameters' => array( 326 'project' => array( 327 'location' => 'path', 328 'type' => 'string', 329 'required' => true, 330 ), 331 'filter' => array( 332 'location' => 'query', 333 'type' => 'string', 334 ), 335 'pageToken' => array( 336 'location' => 'query', 337 'type' => 'string', 338 ), 339 'maxResults' => array( 340 'location' => 'query', 341 'type' => 'integer', 342 ), 343 ), 344 ),'get' => array( 345 'path' => '{project}/zones/{zone}/diskTypes/{diskType}', 346 'httpMethod' => 'GET', 347 'parameters' => array( 348 'project' => array( 349 'location' => 'path', 350 'type' => 'string', 351 'required' => true, 352 ), 353 'zone' => array( 354 'location' => 'path', 355 'type' => 'string', 356 'required' => true, 357 ), 358 'diskType' => array( 359 'location' => 'path', 360 'type' => 'string', 361 'required' => true, 362 ), 363 ), 364 ),'list' => array( 365 'path' => '{project}/zones/{zone}/diskTypes', 366 'httpMethod' => 'GET', 367 'parameters' => array( 368 'project' => array( 369 'location' => 'path', 370 'type' => 'string', 371 'required' => true, 372 ), 373 'zone' => array( 374 'location' => 'path', 375 'type' => 'string', 376 'required' => true, 377 ), 378 'filter' => array( 379 'location' => 'query', 380 'type' => 'string', 381 ), 382 'pageToken' => array( 383 'location' => 'query', 384 'type' => 'string', 385 ), 386 'maxResults' => array( 387 'location' => 'query', 388 'type' => 'integer', 389 ), 390 ), 391 ), 392 ) 393 ) 394 ); 395 $this->disks = new Google_Service_Compute_Disks_Resource( 396 $this, 397 $this->serviceName, 398 'disks', 399 array( 400 'methods' => array( 401 'aggregatedList' => array( 402 'path' => '{project}/aggregated/disks', 403 'httpMethod' => 'GET', 404 'parameters' => array( 405 'project' => array( 406 'location' => 'path', 407 'type' => 'string', 408 'required' => true, 409 ), 410 'filter' => array( 411 'location' => 'query', 412 'type' => 'string', 413 ), 414 'pageToken' => array( 415 'location' => 'query', 416 'type' => 'string', 417 ), 418 'maxResults' => array( 419 'location' => 'query', 420 'type' => 'integer', 421 ), 422 ), 423 ),'createSnapshot' => array( 424 'path' => '{project}/zones/{zone}/disks/{disk}/createSnapshot', 425 'httpMethod' => 'POST', 426 'parameters' => array( 427 'project' => array( 428 'location' => 'path', 429 'type' => 'string', 430 'required' => true, 431 ), 432 'zone' => array( 433 'location' => 'path', 434 'type' => 'string', 435 'required' => true, 436 ), 437 'disk' => array( 438 'location' => 'path', 439 'type' => 'string', 440 'required' => true, 441 ), 442 ), 443 ),'delete' => array( 444 'path' => '{project}/zones/{zone}/disks/{disk}', 445 'httpMethod' => 'DELETE', 446 'parameters' => array( 447 'project' => array( 448 'location' => 'path', 449 'type' => 'string', 450 'required' => true, 451 ), 452 'zone' => array( 453 'location' => 'path', 454 'type' => 'string', 455 'required' => true, 456 ), 457 'disk' => array( 458 'location' => 'path', 459 'type' => 'string', 460 'required' => true, 461 ), 462 ), 463 ),'get' => array( 464 'path' => '{project}/zones/{zone}/disks/{disk}', 465 'httpMethod' => 'GET', 466 'parameters' => array( 467 'project' => array( 468 'location' => 'path', 469 'type' => 'string', 470 'required' => true, 471 ), 472 'zone' => array( 473 'location' => 'path', 474 'type' => 'string', 475 'required' => true, 476 ), 477 'disk' => array( 478 'location' => 'path', 479 'type' => 'string', 480 'required' => true, 481 ), 482 ), 483 ),'insert' => array( 484 'path' => '{project}/zones/{zone}/disks', 485 'httpMethod' => 'POST', 486 'parameters' => array( 487 'project' => array( 488 'location' => 'path', 489 'type' => 'string', 490 'required' => true, 491 ), 492 'zone' => array( 493 'location' => 'path', 494 'type' => 'string', 495 'required' => true, 496 ), 497 'sourceImage' => array( 498 'location' => 'query', 499 'type' => 'string', 500 ), 501 ), 502 ),'list' => array( 503 'path' => '{project}/zones/{zone}/disks', 504 'httpMethod' => 'GET', 505 'parameters' => array( 506 'project' => array( 507 'location' => 'path', 508 'type' => 'string', 509 'required' => true, 510 ), 511 'zone' => array( 512 'location' => 'path', 513 'type' => 'string', 514 'required' => true, 515 ), 516 'filter' => array( 517 'location' => 'query', 518 'type' => 'string', 519 ), 520 'pageToken' => array( 521 'location' => 'query', 522 'type' => 'string', 523 ), 524 'maxResults' => array( 525 'location' => 'query', 526 'type' => 'integer', 527 ), 528 ), 529 ), 530 ) 531 ) 532 ); 533 $this->firewalls = new Google_Service_Compute_Firewalls_Resource( 534 $this, 535 $this->serviceName, 536 'firewalls', 537 array( 538 'methods' => array( 539 'delete' => array( 540 'path' => '{project}/global/firewalls/{firewall}', 541 'httpMethod' => 'DELETE', 542 'parameters' => array( 543 'project' => array( 544 'location' => 'path', 545 'type' => 'string', 546 'required' => true, 547 ), 548 'firewall' => array( 549 'location' => 'path', 550 'type' => 'string', 551 'required' => true, 552 ), 553 ), 554 ),'get' => array( 555 'path' => '{project}/global/firewalls/{firewall}', 556 'httpMethod' => 'GET', 557 'parameters' => array( 558 'project' => array( 559 'location' => 'path', 560 'type' => 'string', 561 'required' => true, 562 ), 563 'firewall' => array( 564 'location' => 'path', 565 'type' => 'string', 566 'required' => true, 567 ), 568 ), 569 ),'insert' => array( 570 'path' => '{project}/global/firewalls', 571 'httpMethod' => 'POST', 572 'parameters' => array( 573 'project' => array( 574 'location' => 'path', 575 'type' => 'string', 576 'required' => true, 577 ), 578 ), 579 ),'list' => array( 580 'path' => '{project}/global/firewalls', 581 'httpMethod' => 'GET', 582 'parameters' => array( 583 'project' => array( 584 'location' => 'path', 585 'type' => 'string', 586 'required' => true, 587 ), 588 'filter' => array( 589 'location' => 'query', 590 'type' => 'string', 591 ), 592 'pageToken' => array( 593 'location' => 'query', 594 'type' => 'string', 595 ), 596 'maxResults' => array( 597 'location' => 'query', 598 'type' => 'integer', 599 ), 600 ), 601 ),'patch' => array( 602 'path' => '{project}/global/firewalls/{firewall}', 603 'httpMethod' => 'PATCH', 604 'parameters' => array( 605 'project' => array( 606 'location' => 'path', 607 'type' => 'string', 608 'required' => true, 609 ), 610 'firewall' => array( 611 'location' => 'path', 612 'type' => 'string', 613 'required' => true, 614 ), 615 ), 616 ),'update' => array( 617 'path' => '{project}/global/firewalls/{firewall}', 618 'httpMethod' => 'PUT', 619 'parameters' => array( 620 'project' => array( 621 'location' => 'path', 622 'type' => 'string', 623 'required' => true, 624 ), 625 'firewall' => array( 626 'location' => 'path', 627 'type' => 'string', 628 'required' => true, 629 ), 630 ), 631 ), 632 ) 633 ) 634 ); 635 $this->forwardingRules = new Google_Service_Compute_ForwardingRules_Resource( 636 $this, 637 $this->serviceName, 638 'forwardingRules', 639 array( 640 'methods' => array( 641 'aggregatedList' => array( 642 'path' => '{project}/aggregated/forwardingRules', 643 'httpMethod' => 'GET', 644 'parameters' => array( 645 'project' => array( 646 'location' => 'path', 647 'type' => 'string', 648 'required' => true, 649 ), 650 'filter' => array( 651 'location' => 'query', 652 'type' => 'string', 653 ), 654 'pageToken' => array( 655 'location' => 'query', 656 'type' => 'string', 657 ), 658 'maxResults' => array( 659 'location' => 'query', 660 'type' => 'integer', 661 ), 662 ), 663 ),'delete' => array( 664 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}', 665 'httpMethod' => 'DELETE', 666 'parameters' => array( 667 'project' => array( 668 'location' => 'path', 669 'type' => 'string', 670 'required' => true, 671 ), 672 'region' => array( 673 'location' => 'path', 674 'type' => 'string', 675 'required' => true, 676 ), 677 'forwardingRule' => array( 678 'location' => 'path', 679 'type' => 'string', 680 'required' => true, 681 ), 682 ), 683 ),'get' => array( 684 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}', 685 'httpMethod' => 'GET', 686 'parameters' => array( 687 'project' => array( 688 'location' => 'path', 689 'type' => 'string', 690 'required' => true, 691 ), 692 'region' => array( 693 'location' => 'path', 694 'type' => 'string', 695 'required' => true, 696 ), 697 'forwardingRule' => array( 698 'location' => 'path', 699 'type' => 'string', 700 'required' => true, 701 ), 702 ), 703 ),'insert' => array( 704 'path' => '{project}/regions/{region}/forwardingRules', 705 'httpMethod' => 'POST', 706 'parameters' => array( 707 'project' => array( 708 'location' => 'path', 709 'type' => 'string', 710 'required' => true, 711 ), 712 'region' => array( 713 'location' => 'path', 714 'type' => 'string', 715 'required' => true, 716 ), 717 ), 718 ),'list' => array( 719 'path' => '{project}/regions/{region}/forwardingRules', 720 'httpMethod' => 'GET', 721 'parameters' => array( 722 'project' => array( 723 'location' => 'path', 724 'type' => 'string', 725 'required' => true, 726 ), 727 'region' => array( 728 'location' => 'path', 729 'type' => 'string', 730 'required' => true, 731 ), 732 'filter' => array( 733 'location' => 'query', 734 'type' => 'string', 735 ), 736 'pageToken' => array( 737 'location' => 'query', 738 'type' => 'string', 739 ), 740 'maxResults' => array( 741 'location' => 'query', 742 'type' => 'integer', 743 ), 744 ), 745 ),'setTarget' => array( 746 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', 747 'httpMethod' => 'POST', 748 'parameters' => array( 749 'project' => array( 750 'location' => 'path', 751 'type' => 'string', 752 'required' => true, 753 ), 754 'region' => array( 755 'location' => 'path', 756 'type' => 'string', 757 'required' => true, 758 ), 759 'forwardingRule' => array( 760 'location' => 'path', 761 'type' => 'string', 762 'required' => true, 763 ), 764 ), 765 ), 766 ) 767 ) 768 ); 769 $this->globalAddresses = new Google_Service_Compute_GlobalAddresses_Resource( 770 $this, 771 $this->serviceName, 772 'globalAddresses', 773 array( 774 'methods' => array( 775 'delete' => array( 776 'path' => '{project}/global/addresses/{address}', 777 'httpMethod' => 'DELETE', 778 'parameters' => array( 779 'project' => array( 780 'location' => 'path', 781 'type' => 'string', 782 'required' => true, 783 ), 784 'address' => array( 785 'location' => 'path', 786 'type' => 'string', 787 'required' => true, 788 ), 789 ), 790 ),'get' => array( 791 'path' => '{project}/global/addresses/{address}', 792 'httpMethod' => 'GET', 793 'parameters' => array( 794 'project' => array( 795 'location' => 'path', 796 'type' => 'string', 797 'required' => true, 798 ), 799 'address' => array( 800 'location' => 'path', 801 'type' => 'string', 802 'required' => true, 803 ), 804 ), 805 ),'insert' => array( 806 'path' => '{project}/global/addresses', 807 'httpMethod' => 'POST', 808 'parameters' => array( 809 'project' => array( 810 'location' => 'path', 811 'type' => 'string', 812 'required' => true, 813 ), 814 ), 815 ),'list' => array( 816 'path' => '{project}/global/addresses', 817 'httpMethod' => 'GET', 818 'parameters' => array( 819 'project' => array( 820 'location' => 'path', 821 'type' => 'string', 822 'required' => true, 823 ), 824 'filter' => array( 825 'location' => 'query', 826 'type' => 'string', 827 ), 828 'pageToken' => array( 829 'location' => 'query', 830 'type' => 'string', 831 ), 832 'maxResults' => array( 833 'location' => 'query', 834 'type' => 'integer', 835 ), 836 ), 837 ), 838 ) 839 ) 840 ); 841 $this->globalForwardingRules = new Google_Service_Compute_GlobalForwardingRules_Resource( 842 $this, 843 $this->serviceName, 844 'globalForwardingRules', 845 array( 846 'methods' => array( 847 'delete' => array( 848 'path' => '{project}/global/forwardingRules/{forwardingRule}', 849 'httpMethod' => 'DELETE', 850 'parameters' => array( 851 'project' => array( 852 'location' => 'path', 853 'type' => 'string', 854 'required' => true, 855 ), 856 'forwardingRule' => array( 857 'location' => 'path', 858 'type' => 'string', 859 'required' => true, 860 ), 861 ), 862 ),'get' => array( 863 'path' => '{project}/global/forwardingRules/{forwardingRule}', 864 'httpMethod' => 'GET', 865 'parameters' => array( 866 'project' => array( 867 'location' => 'path', 868 'type' => 'string', 869 'required' => true, 870 ), 871 'forwardingRule' => array( 872 'location' => 'path', 873 'type' => 'string', 874 'required' => true, 875 ), 876 ), 877 ),'insert' => array( 878 'path' => '{project}/global/forwardingRules', 879 'httpMethod' => 'POST', 880 'parameters' => array( 881 'project' => array( 882 'location' => 'path', 883 'type' => 'string', 884 'required' => true, 885 ), 886 ), 887 ),'list' => array( 888 'path' => '{project}/global/forwardingRules', 889 'httpMethod' => 'GET', 890 'parameters' => array( 891 'project' => array( 892 'location' => 'path', 893 'type' => 'string', 894 'required' => true, 895 ), 896 'filter' => array( 897 'location' => 'query', 898 'type' => 'string', 899 ), 900 'pageToken' => array( 901 'location' => 'query', 902 'type' => 'string', 903 ), 904 'maxResults' => array( 905 'location' => 'query', 906 'type' => 'integer', 907 ), 908 ), 909 ),'setTarget' => array( 910 'path' => '{project}/global/forwardingRules/{forwardingRule}/setTarget', 911 'httpMethod' => 'POST', 912 'parameters' => array( 913 'project' => array( 914 'location' => 'path', 915 'type' => 'string', 916 'required' => true, 917 ), 918 'forwardingRule' => array( 919 'location' => 'path', 920 'type' => 'string', 921 'required' => true, 922 ), 923 ), 924 ), 925 ) 926 ) 927 ); 928 $this->globalOperations = new Google_Service_Compute_GlobalOperations_Resource( 929 $this, 930 $this->serviceName, 931 'globalOperations', 932 array( 933 'methods' => array( 934 'aggregatedList' => array( 935 'path' => '{project}/aggregated/operations', 936 'httpMethod' => 'GET', 937 'parameters' => array( 938 'project' => array( 939 'location' => 'path', 940 'type' => 'string', 941 'required' => true, 942 ), 943 'filter' => array( 944 'location' => 'query', 945 'type' => 'string', 946 ), 947 'pageToken' => array( 948 'location' => 'query', 949 'type' => 'string', 950 ), 951 'maxResults' => array( 952 'location' => 'query', 953 'type' => 'integer', 954 ), 955 ), 956 ),'delete' => array( 957 'path' => '{project}/global/operations/{operation}', 958 'httpMethod' => 'DELETE', 959 'parameters' => array( 960 'project' => array( 961 'location' => 'path', 962 'type' => 'string', 963 'required' => true, 964 ), 965 'operation' => array( 966 'location' => 'path', 967 'type' => 'string', 968 'required' => true, 969 ), 970 ), 971 ),'get' => array( 972 'path' => '{project}/global/operations/{operation}', 973 'httpMethod' => 'GET', 974 'parameters' => array( 975 'project' => array( 976 'location' => 'path', 977 'type' => 'string', 978 'required' => true, 979 ), 980 'operation' => array( 981 'location' => 'path', 982 'type' => 'string', 983 'required' => true, 984 ), 985 ), 986 ),'list' => array( 987 'path' => '{project}/global/operations', 988 'httpMethod' => 'GET', 989 'parameters' => array( 990 'project' => array( 991 'location' => 'path', 992 'type' => 'string', 993 'required' => true, 994 ), 995 'filter' => array( 996 'location' => 'query', 997 'type' => 'string', 998 ), 999 'pageToken' => array( 1000 'location' => 'query', 1001 'type' => 'string', 1002 ), 1003 'maxResults' => array( 1004 'location' => 'query', 1005 'type' => 'integer', 1006 ), 1007 ), 1008 ), 1009 ) 1010 ) 1011 ); 1012 $this->httpHealthChecks = new Google_Service_Compute_HttpHealthChecks_Resource( 1013 $this, 1014 $this->serviceName, 1015 'httpHealthChecks', 1016 array( 1017 'methods' => array( 1018 'delete' => array( 1019 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 1020 'httpMethod' => 'DELETE', 1021 'parameters' => array( 1022 'project' => array( 1023 'location' => 'path', 1024 'type' => 'string', 1025 'required' => true, 1026 ), 1027 'httpHealthCheck' => array( 1028 'location' => 'path', 1029 'type' => 'string', 1030 'required' => true, 1031 ), 1032 ), 1033 ),'get' => array( 1034 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 1035 'httpMethod' => 'GET', 1036 'parameters' => array( 1037 'project' => array( 1038 'location' => 'path', 1039 'type' => 'string', 1040 'required' => true, 1041 ), 1042 'httpHealthCheck' => array( 1043 'location' => 'path', 1044 'type' => 'string', 1045 'required' => true, 1046 ), 1047 ), 1048 ),'insert' => array( 1049 'path' => '{project}/global/httpHealthChecks', 1050 'httpMethod' => 'POST', 1051 'parameters' => array( 1052 'project' => array( 1053 'location' => 'path', 1054 'type' => 'string', 1055 'required' => true, 1056 ), 1057 ), 1058 ),'list' => array( 1059 'path' => '{project}/global/httpHealthChecks', 1060 'httpMethod' => 'GET', 1061 'parameters' => array( 1062 'project' => array( 1063 'location' => 'path', 1064 'type' => 'string', 1065 'required' => true, 1066 ), 1067 'filter' => array( 1068 'location' => 'query', 1069 'type' => 'string', 1070 ), 1071 'pageToken' => array( 1072 'location' => 'query', 1073 'type' => 'string', 1074 ), 1075 'maxResults' => array( 1076 'location' => 'query', 1077 'type' => 'integer', 1078 ), 1079 ), 1080 ),'patch' => array( 1081 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 1082 'httpMethod' => 'PATCH', 1083 'parameters' => array( 1084 'project' => array( 1085 'location' => 'path', 1086 'type' => 'string', 1087 'required' => true, 1088 ), 1089 'httpHealthCheck' => array( 1090 'location' => 'path', 1091 'type' => 'string', 1092 'required' => true, 1093 ), 1094 ), 1095 ),'update' => array( 1096 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 1097 'httpMethod' => 'PUT', 1098 'parameters' => array( 1099 'project' => array( 1100 'location' => 'path', 1101 'type' => 'string', 1102 'required' => true, 1103 ), 1104 'httpHealthCheck' => array( 1105 'location' => 'path', 1106 'type' => 'string', 1107 'required' => true, 1108 ), 1109 ), 1110 ), 1111 ) 1112 ) 1113 ); 1114 $this->images = new Google_Service_Compute_Images_Resource( 1115 $this, 1116 $this->serviceName, 1117 'images', 1118 array( 1119 'methods' => array( 1120 'delete' => array( 1121 'path' => '{project}/global/images/{image}', 1122 'httpMethod' => 'DELETE', 1123 'parameters' => array( 1124 'project' => array( 1125 'location' => 'path', 1126 'type' => 'string', 1127 'required' => true, 1128 ), 1129 'image' => array( 1130 'location' => 'path', 1131 'type' => 'string', 1132 'required' => true, 1133 ), 1134 ), 1135 ),'deprecate' => array( 1136 'path' => '{project}/global/images/{image}/deprecate', 1137 'httpMethod' => 'POST', 1138 'parameters' => array( 1139 'project' => array( 1140 'location' => 'path', 1141 'type' => 'string', 1142 'required' => true, 1143 ), 1144 'image' => array( 1145 'location' => 'path', 1146 'type' => 'string', 1147 'required' => true, 1148 ), 1149 ), 1150 ),'get' => array( 1151 'path' => '{project}/global/images/{image}', 1152 'httpMethod' => 'GET', 1153 'parameters' => array( 1154 'project' => array( 1155 'location' => 'path', 1156 'type' => 'string', 1157 'required' => true, 1158 ), 1159 'image' => array( 1160 'location' => 'path', 1161 'type' => 'string', 1162 'required' => true, 1163 ), 1164 ), 1165 ),'insert' => array( 1166 'path' => '{project}/global/images', 1167 'httpMethod' => 'POST', 1168 'parameters' => array( 1169 'project' => array( 1170 'location' => 'path', 1171 'type' => 'string', 1172 'required' => true, 1173 ), 1174 ), 1175 ),'list' => array( 1176 'path' => '{project}/global/images', 1177 'httpMethod' => 'GET', 1178 'parameters' => array( 1179 'project' => array( 1180 'location' => 'path', 1181 'type' => 'string', 1182 'required' => true, 1183 ), 1184 'filter' => array( 1185 'location' => 'query', 1186 'type' => 'string', 1187 ), 1188 'pageToken' => array( 1189 'location' => 'query', 1190 'type' => 'string', 1191 ), 1192 'maxResults' => array( 1193 'location' => 'query', 1194 'type' => 'integer', 1195 ), 1196 ), 1197 ), 1198 ) 1199 ) 1200 ); 1201 $this->instances = new Google_Service_Compute_Instances_Resource( 1202 $this, 1203 $this->serviceName, 1204 'instances', 1205 array( 1206 'methods' => array( 1207 'addAccessConfig' => array( 1208 'path' => '{project}/zones/{zone}/instances/{instance}/addAccessConfig', 1209 'httpMethod' => 'POST', 1210 'parameters' => array( 1211 'project' => array( 1212 'location' => 'path', 1213 'type' => 'string', 1214 'required' => true, 1215 ), 1216 'zone' => array( 1217 'location' => 'path', 1218 'type' => 'string', 1219 'required' => true, 1220 ), 1221 'instance' => array( 1222 'location' => 'path', 1223 'type' => 'string', 1224 'required' => true, 1225 ), 1226 'networkInterface' => array( 1227 'location' => 'query', 1228 'type' => 'string', 1229 'required' => true, 1230 ), 1231 ), 1232 ),'aggregatedList' => array( 1233 'path' => '{project}/aggregated/instances', 1234 'httpMethod' => 'GET', 1235 'parameters' => array( 1236 'project' => array( 1237 'location' => 'path', 1238 'type' => 'string', 1239 'required' => true, 1240 ), 1241 'filter' => array( 1242 'location' => 'query', 1243 'type' => 'string', 1244 ), 1245 'pageToken' => array( 1246 'location' => 'query', 1247 'type' => 'string', 1248 ), 1249 'maxResults' => array( 1250 'location' => 'query', 1251 'type' => 'integer', 1252 ), 1253 ), 1254 ),'attachDisk' => array( 1255 'path' => '{project}/zones/{zone}/instances/{instance}/attachDisk', 1256 'httpMethod' => 'POST', 1257 'parameters' => array( 1258 'project' => array( 1259 'location' => 'path', 1260 'type' => 'string', 1261 'required' => true, 1262 ), 1263 'zone' => array( 1264 'location' => 'path', 1265 'type' => 'string', 1266 'required' => true, 1267 ), 1268 'instance' => array( 1269 'location' => 'path', 1270 'type' => 'string', 1271 'required' => true, 1272 ), 1273 ), 1274 ),'delete' => array( 1275 'path' => '{project}/zones/{zone}/instances/{instance}', 1276 'httpMethod' => 'DELETE', 1277 'parameters' => array( 1278 'project' => array( 1279 'location' => 'path', 1280 'type' => 'string', 1281 'required' => true, 1282 ), 1283 'zone' => array( 1284 'location' => 'path', 1285 'type' => 'string', 1286 'required' => true, 1287 ), 1288 'instance' => array( 1289 'location' => 'path', 1290 'type' => 'string', 1291 'required' => true, 1292 ), 1293 ), 1294 ),'deleteAccessConfig' => array( 1295 'path' => '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', 1296 'httpMethod' => 'POST', 1297 'parameters' => array( 1298 'project' => array( 1299 'location' => 'path', 1300 'type' => 'string', 1301 'required' => true, 1302 ), 1303 'zone' => array( 1304 'location' => 'path', 1305 'type' => 'string', 1306 'required' => true, 1307 ), 1308 'instance' => array( 1309 'location' => 'path', 1310 'type' => 'string', 1311 'required' => true, 1312 ), 1313 'accessConfig' => array( 1314 'location' => 'query', 1315 'type' => 'string', 1316 'required' => true, 1317 ), 1318 'networkInterface' => array( 1319 'location' => 'query', 1320 'type' => 'string', 1321 'required' => true, 1322 ), 1323 ), 1324 ),'detachDisk' => array( 1325 'path' => '{project}/zones/{zone}/instances/{instance}/detachDisk', 1326 'httpMethod' => 'POST', 1327 'parameters' => array( 1328 'project' => array( 1329 'location' => 'path', 1330 'type' => 'string', 1331 'required' => true, 1332 ), 1333 'zone' => array( 1334 'location' => 'path', 1335 'type' => 'string', 1336 'required' => true, 1337 ), 1338 'instance' => array( 1339 'location' => 'path', 1340 'type' => 'string', 1341 'required' => true, 1342 ), 1343 'deviceName' => array( 1344 'location' => 'query', 1345 'type' => 'string', 1346 'required' => true, 1347 ), 1348 ), 1349 ),'get' => array( 1350 'path' => '{project}/zones/{zone}/instances/{instance}', 1351 'httpMethod' => 'GET', 1352 'parameters' => array( 1353 'project' => array( 1354 'location' => 'path', 1355 'type' => 'string', 1356 'required' => true, 1357 ), 1358 'zone' => array( 1359 'location' => 'path', 1360 'type' => 'string', 1361 'required' => true, 1362 ), 1363 'instance' => array( 1364 'location' => 'path', 1365 'type' => 'string', 1366 'required' => true, 1367 ), 1368 ), 1369 ),'getSerialPortOutput' => array( 1370 'path' => '{project}/zones/{zone}/instances/{instance}/serialPort', 1371 'httpMethod' => 'GET', 1372 'parameters' => array( 1373 'project' => array( 1374 'location' => 'path', 1375 'type' => 'string', 1376 'required' => true, 1377 ), 1378 'zone' => array( 1379 'location' => 'path', 1380 'type' => 'string', 1381 'required' => true, 1382 ), 1383 'instance' => array( 1384 'location' => 'path', 1385 'type' => 'string', 1386 'required' => true, 1387 ), 1388 ), 1389 ),'insert' => array( 1390 'path' => '{project}/zones/{zone}/instances', 1391 'httpMethod' => 'POST', 1392 'parameters' => array( 1393 'project' => array( 1394 'location' => 'path', 1395 'type' => 'string', 1396 'required' => true, 1397 ), 1398 'zone' => array( 1399 'location' => 'path', 1400 'type' => 'string', 1401 'required' => true, 1402 ), 1403 ), 1404 ),'list' => array( 1405 'path' => '{project}/zones/{zone}/instances', 1406 'httpMethod' => 'GET', 1407 'parameters' => array( 1408 'project' => array( 1409 'location' => 'path', 1410 'type' => 'string', 1411 'required' => true, 1412 ), 1413 'zone' => array( 1414 'location' => 'path', 1415 'type' => 'string', 1416 'required' => true, 1417 ), 1418 'filter' => array( 1419 'location' => 'query', 1420 'type' => 'string', 1421 ), 1422 'pageToken' => array( 1423 'location' => 'query', 1424 'type' => 'string', 1425 ), 1426 'maxResults' => array( 1427 'location' => 'query', 1428 'type' => 'integer', 1429 ), 1430 ), 1431 ),'reset' => array( 1432 'path' => '{project}/zones/{zone}/instances/{instance}/reset', 1433 'httpMethod' => 'POST', 1434 'parameters' => array( 1435 'project' => array( 1436 'location' => 'path', 1437 'type' => 'string', 1438 'required' => true, 1439 ), 1440 'zone' => array( 1441 'location' => 'path', 1442 'type' => 'string', 1443 'required' => true, 1444 ), 1445 'instance' => array( 1446 'location' => 'path', 1447 'type' => 'string', 1448 'required' => true, 1449 ), 1450 ), 1451 ),'setDiskAutoDelete' => array( 1452 'path' => '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', 1453 'httpMethod' => 'POST', 1454 'parameters' => array( 1455 'project' => array( 1456 'location' => 'path', 1457 'type' => 'string', 1458 'required' => true, 1459 ), 1460 'zone' => array( 1461 'location' => 'path', 1462 'type' => 'string', 1463 'required' => true, 1464 ), 1465 'instance' => array( 1466 'location' => 'path', 1467 'type' => 'string', 1468 'required' => true, 1469 ), 1470 'autoDelete' => array( 1471 'location' => 'query', 1472 'type' => 'boolean', 1473 'required' => true, 1474 ), 1475 'deviceName' => array( 1476 'location' => 'query', 1477 'type' => 'string', 1478 'required' => true, 1479 ), 1480 ), 1481 ),'setMetadata' => array( 1482 'path' => '{project}/zones/{zone}/instances/{instance}/setMetadata', 1483 'httpMethod' => 'POST', 1484 'parameters' => array( 1485 'project' => array( 1486 'location' => 'path', 1487 'type' => 'string', 1488 'required' => true, 1489 ), 1490 'zone' => array( 1491 'location' => 'path', 1492 'type' => 'string', 1493 'required' => true, 1494 ), 1495 'instance' => array( 1496 'location' => 'path', 1497 'type' => 'string', 1498 'required' => true, 1499 ), 1500 ), 1501 ),'setScheduling' => array( 1502 'path' => '{project}/zones/{zone}/instances/{instance}/setScheduling', 1503 'httpMethod' => 'POST', 1504 'parameters' => array( 1505 'project' => array( 1506 'location' => 'path', 1507 'type' => 'string', 1508 'required' => true, 1509 ), 1510 'zone' => array( 1511 'location' => 'path', 1512 'type' => 'string', 1513 'required' => true, 1514 ), 1515 'instance' => array( 1516 'location' => 'path', 1517 'type' => 'string', 1518 'required' => true, 1519 ), 1520 ), 1521 ),'setTags' => array( 1522 'path' => '{project}/zones/{zone}/instances/{instance}/setTags', 1523 'httpMethod' => 'POST', 1524 'parameters' => array( 1525 'project' => array( 1526 'location' => 'path', 1527 'type' => 'string', 1528 'required' => true, 1529 ), 1530 'zone' => array( 1531 'location' => 'path', 1532 'type' => 'string', 1533 'required' => true, 1534 ), 1535 'instance' => array( 1536 'location' => 'path', 1537 'type' => 'string', 1538 'required' => true, 1539 ), 1540 ), 1541 ), 1542 ) 1543 ) 1544 ); 1545 $this->licenses = new Google_Service_Compute_Licenses_Resource( 1546 $this, 1547 $this->serviceName, 1548 'licenses', 1549 array( 1550 'methods' => array( 1551 'get' => array( 1552 'path' => '{project}/global/licenses/{license}', 1553 'httpMethod' => 'GET', 1554 'parameters' => array( 1555 'project' => array( 1556 'location' => 'path', 1557 'type' => 'string', 1558 'required' => true, 1559 ), 1560 'license' => array( 1561 'location' => 'path', 1562 'type' => 'string', 1563 'required' => true, 1564 ), 1565 ), 1566 ), 1567 ) 1568 ) 1569 ); 1570 $this->machineTypes = new Google_Service_Compute_MachineTypes_Resource( 1571 $this, 1572 $this->serviceName, 1573 'machineTypes', 1574 array( 1575 'methods' => array( 1576 'aggregatedList' => array( 1577 'path' => '{project}/aggregated/machineTypes', 1578 'httpMethod' => 'GET', 1579 'parameters' => array( 1580 'project' => array( 1581 'location' => 'path', 1582 'type' => 'string', 1583 'required' => true, 1584 ), 1585 'filter' => array( 1586 'location' => 'query', 1587 'type' => 'string', 1588 ), 1589 'pageToken' => array( 1590 'location' => 'query', 1591 'type' => 'string', 1592 ), 1593 'maxResults' => array( 1594 'location' => 'query', 1595 'type' => 'integer', 1596 ), 1597 ), 1598 ),'get' => array( 1599 'path' => '{project}/zones/{zone}/machineTypes/{machineType}', 1600 'httpMethod' => 'GET', 1601 'parameters' => array( 1602 'project' => array( 1603 'location' => 'path', 1604 'type' => 'string', 1605 'required' => true, 1606 ), 1607 'zone' => array( 1608 'location' => 'path', 1609 'type' => 'string', 1610 'required' => true, 1611 ), 1612 'machineType' => array( 1613 'location' => 'path', 1614 'type' => 'string', 1615 'required' => true, 1616 ), 1617 ), 1618 ),'list' => array( 1619 'path' => '{project}/zones/{zone}/machineTypes', 1620 'httpMethod' => 'GET', 1621 'parameters' => array( 1622 'project' => array( 1623 'location' => 'path', 1624 'type' => 'string', 1625 'required' => true, 1626 ), 1627 'zone' => array( 1628 'location' => 'path', 1629 'type' => 'string', 1630 'required' => true, 1631 ), 1632 'filter' => array( 1633 'location' => 'query', 1634 'type' => 'string', 1635 ), 1636 'pageToken' => array( 1637 'location' => 'query', 1638 'type' => 'string', 1639 ), 1640 'maxResults' => array( 1641 'location' => 'query', 1642 'type' => 'integer', 1643 ), 1644 ), 1645 ), 1646 ) 1647 ) 1648 ); 1649 $this->networks = new Google_Service_Compute_Networks_Resource( 1650 $this, 1651 $this->serviceName, 1652 'networks', 1653 array( 1654 'methods' => array( 1655 'delete' => array( 1656 'path' => '{project}/global/networks/{network}', 1657 'httpMethod' => 'DELETE', 1658 'parameters' => array( 1659 'project' => array( 1660 'location' => 'path', 1661 'type' => 'string', 1662 'required' => true, 1663 ), 1664 'network' => array( 1665 'location' => 'path', 1666 'type' => 'string', 1667 'required' => true, 1668 ), 1669 ), 1670 ),'get' => array( 1671 'path' => '{project}/global/networks/{network}', 1672 'httpMethod' => 'GET', 1673 'parameters' => array( 1674 'project' => array( 1675 'location' => 'path', 1676 'type' => 'string', 1677 'required' => true, 1678 ), 1679 'network' => array( 1680 'location' => 'path', 1681 'type' => 'string', 1682 'required' => true, 1683 ), 1684 ), 1685 ),'insert' => array( 1686 'path' => '{project}/global/networks', 1687 'httpMethod' => 'POST', 1688 'parameters' => array( 1689 'project' => array( 1690 'location' => 'path', 1691 'type' => 'string', 1692 'required' => true, 1693 ), 1694 ), 1695 ),'list' => array( 1696 'path' => '{project}/global/networks', 1697 'httpMethod' => 'GET', 1698 'parameters' => array( 1699 'project' => array( 1700 'location' => 'path', 1701 'type' => 'string', 1702 'required' => true, 1703 ), 1704 'filter' => array( 1705 'location' => 'query', 1706 'type' => 'string', 1707 ), 1708 'pageToken' => array( 1709 'location' => 'query', 1710 'type' => 'string', 1711 ), 1712 'maxResults' => array( 1713 'location' => 'query', 1714 'type' => 'integer', 1715 ), 1716 ), 1717 ), 1718 ) 1719 ) 1720 ); 1721 $this->projects = new Google_Service_Compute_Projects_Resource( 1722 $this, 1723 $this->serviceName, 1724 'projects', 1725 array( 1726 'methods' => array( 1727 'get' => array( 1728 'path' => '{project}', 1729 'httpMethod' => 'GET', 1730 'parameters' => array( 1731 'project' => array( 1732 'location' => 'path', 1733 'type' => 'string', 1734 'required' => true, 1735 ), 1736 ), 1737 ),'setCommonInstanceMetadata' => array( 1738 'path' => '{project}/setCommonInstanceMetadata', 1739 'httpMethod' => 'POST', 1740 'parameters' => array( 1741 'project' => array( 1742 'location' => 'path', 1743 'type' => 'string', 1744 'required' => true, 1745 ), 1746 ), 1747 ),'setUsageExportBucket' => array( 1748 'path' => '{project}/setUsageExportBucket', 1749 'httpMethod' => 'POST', 1750 'parameters' => array( 1751 'project' => array( 1752 'location' => 'path', 1753 'type' => 'string', 1754 'required' => true, 1755 ), 1756 ), 1757 ), 1758 ) 1759 ) 1760 ); 1761 $this->regionOperations = new Google_Service_Compute_RegionOperations_Resource( 1762 $this, 1763 $this->serviceName, 1764 'regionOperations', 1765 array( 1766 'methods' => array( 1767 'delete' => array( 1768 'path' => '{project}/regions/{region}/operations/{operation}', 1769 'httpMethod' => 'DELETE', 1770 'parameters' => array( 1771 'project' => array( 1772 'location' => 'path', 1773 'type' => 'string', 1774 'required' => true, 1775 ), 1776 'region' => array( 1777 'location' => 'path', 1778 'type' => 'string', 1779 'required' => true, 1780 ), 1781 'operation' => array( 1782 'location' => 'path', 1783 'type' => 'string', 1784 'required' => true, 1785 ), 1786 ), 1787 ),'get' => array( 1788 'path' => '{project}/regions/{region}/operations/{operation}', 1789 'httpMethod' => 'GET', 1790 'parameters' => array( 1791 'project' => array( 1792 'location' => 'path', 1793 'type' => 'string', 1794 'required' => true, 1795 ), 1796 'region' => array( 1797 'location' => 'path', 1798 'type' => 'string', 1799 'required' => true, 1800 ), 1801 'operation' => array( 1802 'location' => 'path', 1803 'type' => 'string', 1804 'required' => true, 1805 ), 1806 ), 1807 ),'list' => array( 1808 'path' => '{project}/regions/{region}/operations', 1809 'httpMethod' => 'GET', 1810 'parameters' => array( 1811 'project' => array( 1812 'location' => 'path', 1813 'type' => 'string', 1814 'required' => true, 1815 ), 1816 'region' => array( 1817 'location' => 'path', 1818 'type' => 'string', 1819 'required' => true, 1820 ), 1821 'filter' => array( 1822 'location' => 'query', 1823 'type' => 'string', 1824 ), 1825 'pageToken' => array( 1826 'location' => 'query', 1827 'type' => 'string', 1828 ), 1829 'maxResults' => array( 1830 'location' => 'query', 1831 'type' => 'integer', 1832 ), 1833 ), 1834 ), 1835 ) 1836 ) 1837 ); 1838 $this->regions = new Google_Service_Compute_Regions_Resource( 1839 $this, 1840 $this->serviceName, 1841 'regions', 1842 array( 1843 'methods' => array( 1844 'get' => array( 1845 'path' => '{project}/regions/{region}', 1846 'httpMethod' => 'GET', 1847 'parameters' => array( 1848 'project' => array( 1849 'location' => 'path', 1850 'type' => 'string', 1851 'required' => true, 1852 ), 1853 'region' => array( 1854 'location' => 'path', 1855 'type' => 'string', 1856 'required' => true, 1857 ), 1858 ), 1859 ),'list' => array( 1860 'path' => '{project}/regions', 1861 'httpMethod' => 'GET', 1862 'parameters' => array( 1863 'project' => array( 1864 'location' => 'path', 1865 'type' => 'string', 1866 'required' => true, 1867 ), 1868 'filter' => array( 1869 'location' => 'query', 1870 'type' => 'string', 1871 ), 1872 'pageToken' => array( 1873 'location' => 'query', 1874 'type' => 'string', 1875 ), 1876 'maxResults' => array( 1877 'location' => 'query', 1878 'type' => 'integer', 1879 ), 1880 ), 1881 ), 1882 ) 1883 ) 1884 ); 1885 $this->routes = new Google_Service_Compute_Routes_Resource( 1886 $this, 1887 $this->serviceName, 1888 'routes', 1889 array( 1890 'methods' => array( 1891 'delete' => array( 1892 'path' => '{project}/global/routes/{route}', 1893 'httpMethod' => 'DELETE', 1894 'parameters' => array( 1895 'project' => array( 1896 'location' => 'path', 1897 'type' => 'string', 1898 'required' => true, 1899 ), 1900 'route' => array( 1901 'location' => 'path', 1902 'type' => 'string', 1903 'required' => true, 1904 ), 1905 ), 1906 ),'get' => array( 1907 'path' => '{project}/global/routes/{route}', 1908 'httpMethod' => 'GET', 1909 'parameters' => array( 1910 'project' => array( 1911 'location' => 'path', 1912 'type' => 'string', 1913 'required' => true, 1914 ), 1915 'route' => array( 1916 'location' => 'path', 1917 'type' => 'string', 1918 'required' => true, 1919 ), 1920 ), 1921 ),'insert' => array( 1922 'path' => '{project}/global/routes', 1923 'httpMethod' => 'POST', 1924 'parameters' => array( 1925 'project' => array( 1926 'location' => 'path', 1927 'type' => 'string', 1928 'required' => true, 1929 ), 1930 ), 1931 ),'list' => array( 1932 'path' => '{project}/global/routes', 1933 'httpMethod' => 'GET', 1934 'parameters' => array( 1935 'project' => array( 1936 'location' => 'path', 1937 'type' => 'string', 1938 'required' => true, 1939 ), 1940 'filter' => array( 1941 'location' => 'query', 1942 'type' => 'string', 1943 ), 1944 'pageToken' => array( 1945 'location' => 'query', 1946 'type' => 'string', 1947 ), 1948 'maxResults' => array( 1949 'location' => 'query', 1950 'type' => 'integer', 1951 ), 1952 ), 1953 ), 1954 ) 1955 ) 1956 ); 1957 $this->snapshots = new Google_Service_Compute_Snapshots_Resource( 1958 $this, 1959 $this->serviceName, 1960 'snapshots', 1961 array( 1962 'methods' => array( 1963 'delete' => array( 1964 'path' => '{project}/global/snapshots/{snapshot}', 1965 'httpMethod' => 'DELETE', 1966 'parameters' => array( 1967 'project' => array( 1968 'location' => 'path', 1969 'type' => 'string', 1970 'required' => true, 1971 ), 1972 'snapshot' => array( 1973 'location' => 'path', 1974 'type' => 'string', 1975 'required' => true, 1976 ), 1977 ), 1978 ),'get' => array( 1979 'path' => '{project}/global/snapshots/{snapshot}', 1980 'httpMethod' => 'GET', 1981 'parameters' => array( 1982 'project' => array( 1983 'location' => 'path', 1984 'type' => 'string', 1985 'required' => true, 1986 ), 1987 'snapshot' => array( 1988 'location' => 'path', 1989 'type' => 'string', 1990 'required' => true, 1991 ), 1992 ), 1993 ),'list' => array( 1994 'path' => '{project}/global/snapshots', 1995 'httpMethod' => 'GET', 1996 'parameters' => array( 1997 'project' => array( 1998 'location' => 'path', 1999 'type' => 'string', 2000 'required' => true, 2001 ), 2002 'filter' => array( 2003 'location' => 'query', 2004 'type' => 'string', 2005 ), 2006 'pageToken' => array( 2007 'location' => 'query', 2008 'type' => 'string', 2009 ), 2010 'maxResults' => array( 2011 'location' => 'query', 2012 'type' => 'integer', 2013 ), 2014 ), 2015 ), 2016 ) 2017 ) 2018 ); 2019 $this->targetHttpProxies = new Google_Service_Compute_TargetHttpProxies_Resource( 2020 $this, 2021 $this->serviceName, 2022 'targetHttpProxies', 2023 array( 2024 'methods' => array( 2025 'delete' => array( 2026 'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}', 2027 'httpMethod' => 'DELETE', 2028 'parameters' => array( 2029 'project' => array( 2030 'location' => 'path', 2031 'type' => 'string', 2032 'required' => true, 2033 ), 2034 'targetHttpProxy' => array( 2035 'location' => 'path', 2036 'type' => 'string', 2037 'required' => true, 2038 ), 2039 ), 2040 ),'get' => array( 2041 'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}', 2042 'httpMethod' => 'GET', 2043 'parameters' => array( 2044 'project' => array( 2045 'location' => 'path', 2046 'type' => 'string', 2047 'required' => true, 2048 ), 2049 'targetHttpProxy' => array( 2050 'location' => 'path', 2051 'type' => 'string', 2052 'required' => true, 2053 ), 2054 ), 2055 ),'insert' => array( 2056 'path' => '{project}/global/targetHttpProxies', 2057 'httpMethod' => 'POST', 2058 'parameters' => array( 2059 'project' => array( 2060 'location' => 'path', 2061 'type' => 'string', 2062 'required' => true, 2063 ), 2064 ), 2065 ),'list' => array( 2066 'path' => '{project}/global/targetHttpProxies', 2067 'httpMethod' => 'GET', 2068 'parameters' => array( 2069 'project' => array( 2070 'location' => 'path', 2071 'type' => 'string', 2072 'required' => true, 2073 ), 2074 'filter' => array( 2075 'location' => 'query', 2076 'type' => 'string', 2077 ), 2078 'pageToken' => array( 2079 'location' => 'query', 2080 'type' => 'string', 2081 ), 2082 'maxResults' => array( 2083 'location' => 'query', 2084 'type' => 'integer', 2085 ), 2086 ), 2087 ),'setUrlMap' => array( 2088 'path' => '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', 2089 'httpMethod' => 'POST', 2090 'parameters' => array( 2091 'project' => array( 2092 'location' => 'path', 2093 'type' => 'string', 2094 'required' => true, 2095 ), 2096 'targetHttpProxy' => array( 2097 'location' => 'path', 2098 'type' => 'string', 2099 'required' => true, 2100 ), 2101 ), 2102 ), 2103 ) 2104 ) 2105 ); 2106 $this->targetInstances = new Google_Service_Compute_TargetInstances_Resource( 2107 $this, 2108 $this->serviceName, 2109 'targetInstances', 2110 array( 2111 'methods' => array( 2112 'aggregatedList' => array( 2113 'path' => '{project}/aggregated/targetInstances', 2114 'httpMethod' => 'GET', 2115 'parameters' => array( 2116 'project' => array( 2117 'location' => 'path', 2118 'type' => 'string', 2119 'required' => true, 2120 ), 2121 'filter' => array( 2122 'location' => 'query', 2123 'type' => 'string', 2124 ), 2125 'pageToken' => array( 2126 'location' => 'query', 2127 'type' => 'string', 2128 ), 2129 'maxResults' => array( 2130 'location' => 'query', 2131 'type' => 'integer', 2132 ), 2133 ), 2134 ),'delete' => array( 2135 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}', 2136 'httpMethod' => 'DELETE', 2137 'parameters' => array( 2138 'project' => array( 2139 'location' => 'path', 2140 'type' => 'string', 2141 'required' => true, 2142 ), 2143 'zone' => array( 2144 'location' => 'path', 2145 'type' => 'string', 2146 'required' => true, 2147 ), 2148 'targetInstance' => array( 2149 'location' => 'path', 2150 'type' => 'string', 2151 'required' => true, 2152 ), 2153 ), 2154 ),'get' => array( 2155 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}', 2156 'httpMethod' => 'GET', 2157 'parameters' => array( 2158 'project' => array( 2159 'location' => 'path', 2160 'type' => 'string', 2161 'required' => true, 2162 ), 2163 'zone' => array( 2164 'location' => 'path', 2165 'type' => 'string', 2166 'required' => true, 2167 ), 2168 'targetInstance' => array( 2169 'location' => 'path', 2170 'type' => 'string', 2171 'required' => true, 2172 ), 2173 ), 2174 ),'insert' => array( 2175 'path' => '{project}/zones/{zone}/targetInstances', 2176 'httpMethod' => 'POST', 2177 'parameters' => array( 2178 'project' => array( 2179 'location' => 'path', 2180 'type' => 'string', 2181 'required' => true, 2182 ), 2183 'zone' => array( 2184 'location' => 'path', 2185 'type' => 'string', 2186 'required' => true, 2187 ), 2188 ), 2189 ),'list' => array( 2190 'path' => '{project}/zones/{zone}/targetInstances', 2191 'httpMethod' => 'GET', 2192 'parameters' => array( 2193 'project' => array( 2194 'location' => 'path', 2195 'type' => 'string', 2196 'required' => true, 2197 ), 2198 'zone' => array( 2199 'location' => 'path', 2200 'type' => 'string', 2201 'required' => true, 2202 ), 2203 'filter' => array( 2204 'location' => 'query', 2205 'type' => 'string', 2206 ), 2207 'pageToken' => array( 2208 'location' => 'query', 2209 'type' => 'string', 2210 ), 2211 'maxResults' => array( 2212 'location' => 'query', 2213 'type' => 'integer', 2214 ), 2215 ), 2216 ), 2217 ) 2218 ) 2219 ); 2220 $this->targetPools = new Google_Service_Compute_TargetPools_Resource( 2221 $this, 2222 $this->serviceName, 2223 'targetPools', 2224 array( 2225 'methods' => array( 2226 'addHealthCheck' => array( 2227 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', 2228 'httpMethod' => 'POST', 2229 'parameters' => array( 2230 'project' => array( 2231 'location' => 'path', 2232 'type' => 'string', 2233 'required' => true, 2234 ), 2235 'region' => array( 2236 'location' => 'path', 2237 'type' => 'string', 2238 'required' => true, 2239 ), 2240 'targetPool' => array( 2241 'location' => 'path', 2242 'type' => 'string', 2243 'required' => true, 2244 ), 2245 ), 2246 ),'addInstance' => array( 2247 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addInstance', 2248 'httpMethod' => 'POST', 2249 'parameters' => array( 2250 'project' => array( 2251 'location' => 'path', 2252 'type' => 'string', 2253 'required' => true, 2254 ), 2255 'region' => array( 2256 'location' => 'path', 2257 'type' => 'string', 2258 'required' => true, 2259 ), 2260 'targetPool' => array( 2261 'location' => 'path', 2262 'type' => 'string', 2263 'required' => true, 2264 ), 2265 ), 2266 ),'aggregatedList' => array( 2267 'path' => '{project}/aggregated/targetPools', 2268 'httpMethod' => 'GET', 2269 'parameters' => array( 2270 'project' => array( 2271 'location' => 'path', 2272 'type' => 'string', 2273 'required' => true, 2274 ), 2275 'filter' => array( 2276 'location' => 'query', 2277 'type' => 'string', 2278 ), 2279 'pageToken' => array( 2280 'location' => 'query', 2281 'type' => 'string', 2282 ), 2283 'maxResults' => array( 2284 'location' => 'query', 2285 'type' => 'integer', 2286 ), 2287 ), 2288 ),'delete' => array( 2289 'path' => '{project}/regions/{region}/targetPools/{targetPool}', 2290 'httpMethod' => 'DELETE', 2291 'parameters' => array( 2292 'project' => array( 2293 'location' => 'path', 2294 'type' => 'string', 2295 'required' => true, 2296 ), 2297 'region' => array( 2298 'location' => 'path', 2299 'type' => 'string', 2300 'required' => true, 2301 ), 2302 'targetPool' => array( 2303 'location' => 'path', 2304 'type' => 'string', 2305 'required' => true, 2306 ), 2307 ), 2308 ),'get' => array( 2309 'path' => '{project}/regions/{region}/targetPools/{targetPool}', 2310 'httpMethod' => 'GET', 2311 'parameters' => array( 2312 'project' => array( 2313 'location' => 'path', 2314 'type' => 'string', 2315 'required' => true, 2316 ), 2317 'region' => array( 2318 'location' => 'path', 2319 'type' => 'string', 2320 'required' => true, 2321 ), 2322 'targetPool' => array( 2323 'location' => 'path', 2324 'type' => 'string', 2325 'required' => true, 2326 ), 2327 ), 2328 ),'getHealth' => array( 2329 'path' => '{project}/regions/{region}/targetPools/{targetPool}/getHealth', 2330 'httpMethod' => 'POST', 2331 'parameters' => array( 2332 'project' => array( 2333 'location' => 'path', 2334 'type' => 'string', 2335 'required' => true, 2336 ), 2337 'region' => array( 2338 'location' => 'path', 2339 'type' => 'string', 2340 'required' => true, 2341 ), 2342 'targetPool' => array( 2343 'location' => 'path', 2344 'type' => 'string', 2345 'required' => true, 2346 ), 2347 ), 2348 ),'insert' => array( 2349 'path' => '{project}/regions/{region}/targetPools', 2350 'httpMethod' => 'POST', 2351 'parameters' => array( 2352 'project' => array( 2353 'location' => 'path', 2354 'type' => 'string', 2355 'required' => true, 2356 ), 2357 'region' => array( 2358 'location' => 'path', 2359 'type' => 'string', 2360 'required' => true, 2361 ), 2362 ), 2363 ),'list' => array( 2364 'path' => '{project}/regions/{region}/targetPools', 2365 'httpMethod' => 'GET', 2366 'parameters' => array( 2367 'project' => array( 2368 'location' => 'path', 2369 'type' => 'string', 2370 'required' => true, 2371 ), 2372 'region' => array( 2373 'location' => 'path', 2374 'type' => 'string', 2375 'required' => true, 2376 ), 2377 'filter' => array( 2378 'location' => 'query', 2379 'type' => 'string', 2380 ), 2381 'pageToken' => array( 2382 'location' => 'query', 2383 'type' => 'string', 2384 ), 2385 'maxResults' => array( 2386 'location' => 'query', 2387 'type' => 'integer', 2388 ), 2389 ), 2390 ),'removeHealthCheck' => array( 2391 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', 2392 'httpMethod' => 'POST', 2393 'parameters' => array( 2394 'project' => array( 2395 'location' => 'path', 2396 'type' => 'string', 2397 'required' => true, 2398 ), 2399 'region' => array( 2400 'location' => 'path', 2401 'type' => 'string', 2402 'required' => true, 2403 ), 2404 'targetPool' => array( 2405 'location' => 'path', 2406 'type' => 'string', 2407 'required' => true, 2408 ), 2409 ), 2410 ),'removeInstance' => array( 2411 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeInstance', 2412 'httpMethod' => 'POST', 2413 'parameters' => array( 2414 'project' => array( 2415 'location' => 'path', 2416 'type' => 'string', 2417 'required' => true, 2418 ), 2419 'region' => array( 2420 'location' => 'path', 2421 'type' => 'string', 2422 'required' => true, 2423 ), 2424 'targetPool' => array( 2425 'location' => 'path', 2426 'type' => 'string', 2427 'required' => true, 2428 ), 2429 ), 2430 ),'setBackup' => array( 2431 'path' => '{project}/regions/{region}/targetPools/{targetPool}/setBackup', 2432 'httpMethod' => 'POST', 2433 'parameters' => array( 2434 'project' => array( 2435 'location' => 'path', 2436 'type' => 'string', 2437 'required' => true, 2438 ), 2439 'region' => array( 2440 'location' => 'path', 2441 'type' => 'string', 2442 'required' => true, 2443 ), 2444 'targetPool' => array( 2445 'location' => 'path', 2446 'type' => 'string', 2447 'required' => true, 2448 ), 2449 'failoverRatio' => array( 2450 'location' => 'query', 2451 'type' => 'number', 2452 ), 2453 ), 2454 ), 2455 ) 2456 ) 2457 ); 2458 $this->urlMaps = new Google_Service_Compute_UrlMaps_Resource( 2459 $this, 2460 $this->serviceName, 2461 'urlMaps', 2462 array( 2463 'methods' => array( 2464 'delete' => array( 2465 'path' => '{project}/global/urlMaps/{urlMap}', 2466 'httpMethod' => 'DELETE', 2467 'parameters' => array( 2468 'project' => array( 2469 'location' => 'path', 2470 'type' => 'string', 2471 'required' => true, 2472 ), 2473 'urlMap' => array( 2474 'location' => 'path', 2475 'type' => 'string', 2476 'required' => true, 2477 ), 2478 ), 2479 ),'get' => array( 2480 'path' => '{project}/global/urlMaps/{urlMap}', 2481 'httpMethod' => 'GET', 2482 'parameters' => array( 2483 'project' => array( 2484 'location' => 'path', 2485 'type' => 'string', 2486 'required' => true, 2487 ), 2488 'urlMap' => array( 2489 'location' => 'path', 2490 'type' => 'string', 2491 'required' => true, 2492 ), 2493 ), 2494 ),'insert' => array( 2495 'path' => '{project}/global/urlMaps', 2496 'httpMethod' => 'POST', 2497 'parameters' => array( 2498 'project' => array( 2499 'location' => 'path', 2500 'type' => 'string', 2501 'required' => true, 2502 ), 2503 ), 2504 ),'list' => array( 2505 'path' => '{project}/global/urlMaps', 2506 'httpMethod' => 'GET', 2507 'parameters' => array( 2508 'project' => array( 2509 'location' => 'path', 2510 'type' => 'string', 2511 'required' => true, 2512 ), 2513 'filter' => array( 2514 'location' => 'query', 2515 'type' => 'string', 2516 ), 2517 'pageToken' => array( 2518 'location' => 'query', 2519 'type' => 'string', 2520 ), 2521 'maxResults' => array( 2522 'location' => 'query', 2523 'type' => 'integer', 2524 ), 2525 ), 2526 ),'patch' => array( 2527 'path' => '{project}/global/urlMaps/{urlMap}', 2528 'httpMethod' => 'PATCH', 2529 'parameters' => array( 2530 'project' => array( 2531 'location' => 'path', 2532 'type' => 'string', 2533 'required' => true, 2534 ), 2535 'urlMap' => array( 2536 'location' => 'path', 2537 'type' => 'string', 2538 'required' => true, 2539 ), 2540 ), 2541 ),'update' => array( 2542 'path' => '{project}/global/urlMaps/{urlMap}', 2543 'httpMethod' => 'PUT', 2544 'parameters' => array( 2545 'project' => array( 2546 'location' => 'path', 2547 'type' => 'string', 2548 'required' => true, 2549 ), 2550 'urlMap' => array( 2551 'location' => 'path', 2552 'type' => 'string', 2553 'required' => true, 2554 ), 2555 ), 2556 ),'validate' => array( 2557 'path' => '{project}/global/urlMaps/{urlMap}/validate', 2558 'httpMethod' => 'POST', 2559 'parameters' => array( 2560 'project' => array( 2561 'location' => 'path', 2562 'type' => 'string', 2563 'required' => true, 2564 ), 2565 'urlMap' => array( 2566 'location' => 'path', 2567 'type' => 'string', 2568 'required' => true, 2569 ), 2570 ), 2571 ), 2572 ) 2573 ) 2574 ); 2575 $this->zoneOperations = new Google_Service_Compute_ZoneOperations_Resource( 2576 $this, 2577 $this->serviceName, 2578 'zoneOperations', 2579 array( 2580 'methods' => array( 2581 'delete' => array( 2582 'path' => '{project}/zones/{zone}/operations/{operation}', 2583 'httpMethod' => 'DELETE', 2584 'parameters' => array( 2585 'project' => array( 2586 'location' => 'path', 2587 'type' => 'string', 2588 'required' => true, 2589 ), 2590 'zone' => array( 2591 'location' => 'path', 2592 'type' => 'string', 2593 'required' => true, 2594 ), 2595 'operation' => array( 2596 'location' => 'path', 2597 'type' => 'string', 2598 'required' => true, 2599 ), 2600 ), 2601 ),'get' => array( 2602 'path' => '{project}/zones/{zone}/operations/{operation}', 2603 'httpMethod' => 'GET', 2604 'parameters' => array( 2605 'project' => array( 2606 'location' => 'path', 2607 'type' => 'string', 2608 'required' => true, 2609 ), 2610 'zone' => array( 2611 'location' => 'path', 2612 'type' => 'string', 2613 'required' => true, 2614 ), 2615 'operation' => array( 2616 'location' => 'path', 2617 'type' => 'string', 2618 'required' => true, 2619 ), 2620 ), 2621 ),'list' => array( 2622 'path' => '{project}/zones/{zone}/operations', 2623 'httpMethod' => 'GET', 2624 'parameters' => array( 2625 'project' => array( 2626 'location' => 'path', 2627 'type' => 'string', 2628 'required' => true, 2629 ), 2630 'zone' => array( 2631 'location' => 'path', 2632 'type' => 'string', 2633 'required' => true, 2634 ), 2635 'filter' => array( 2636 'location' => 'query', 2637 'type' => 'string', 2638 ), 2639 'pageToken' => array( 2640 'location' => 'query', 2641 'type' => 'string', 2642 ), 2643 'maxResults' => array( 2644 'location' => 'query', 2645 'type' => 'integer', 2646 ), 2647 ), 2648 ), 2649 ) 2650 ) 2651 ); 2652 $this->zones = new Google_Service_Compute_Zones_Resource( 2653 $this, 2654 $this->serviceName, 2655 'zones', 2656 array( 2657 'methods' => array( 2658 'get' => array( 2659 'path' => '{project}/zones/{zone}', 2660 'httpMethod' => 'GET', 2661 'parameters' => array( 2662 'project' => array( 2663 'location' => 'path', 2664 'type' => 'string', 2665 'required' => true, 2666 ), 2667 'zone' => array( 2668 'location' => 'path', 2669 'type' => 'string', 2670 'required' => true, 2671 ), 2672 ), 2673 ),'list' => array( 2674 'path' => '{project}/zones', 2675 'httpMethod' => 'GET', 2676 'parameters' => array( 2677 'project' => array( 2678 'location' => 'path', 2679 'type' => 'string', 2680 'required' => true, 2681 ), 2682 'filter' => array( 2683 'location' => 'query', 2684 'type' => 'string', 2685 ), 2686 'pageToken' => array( 2687 'location' => 'query', 2688 'type' => 'string', 2689 ), 2690 'maxResults' => array( 2691 'location' => 'query', 2692 'type' => 'integer', 2693 ), 2694 ), 2695 ), 2696 ) 2697 ) 2698 ); 2699 } 2700 } 2701 2702 2703 /** 2704 * The "addresses" collection of methods. 2705 * Typical usage is: 2706 * <code> 2707 * $computeService = new Google_Service_Compute(...); 2708 * $addresses = $computeService->addresses; 2709 * </code> 2710 */ 2711 class Google_Service_Compute_Addresses_Resource extends Google_Service_Resource 2712 { 2713 2714 /** 2715 * Retrieves the list of addresses grouped by scope. (addresses.aggregatedList) 2716 * 2717 * @param string $project 2718 * Name of the project scoping this request. 2719 * @param array $optParams Optional parameters. 2720 * 2721 * @opt_param string filter 2722 * Optional. Filter expression for filtering listed resources. 2723 * @opt_param string pageToken 2724 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 2725 * previous list request. 2726 * @opt_param string maxResults 2727 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 2728 * 500. 2729 * @return Google_Service_Compute_AddressAggregatedList 2730 */ 2731 public function aggregatedList($project, $optParams = array()) 2732 { 2733 $params = array('project' => $project); 2734 $params = array_merge($params, $optParams); 2735 return $this->call('aggregatedList', array($params), "Google_Service_Compute_AddressAggregatedList"); 2736 } 2737 /** 2738 * Deletes the specified address resource. (addresses.delete) 2739 * 2740 * @param string $project 2741 * Name of the project scoping this request. 2742 * @param string $region 2743 * Name of the region scoping this request. 2744 * @param string $address 2745 * Name of the address resource to delete. 2746 * @param array $optParams Optional parameters. 2747 * @return Google_Service_Compute_Operation 2748 */ 2749 public function delete($project, $region, $address, $optParams = array()) 2750 { 2751 $params = array('project' => $project, 'region' => $region, 'address' => $address); 2752 $params = array_merge($params, $optParams); 2753 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 2754 } 2755 /** 2756 * Returns the specified address resource. (addresses.get) 2757 * 2758 * @param string $project 2759 * Name of the project scoping this request. 2760 * @param string $region 2761 * Name of the region scoping this request. 2762 * @param string $address 2763 * Name of the address resource to return. 2764 * @param array $optParams Optional parameters. 2765 * @return Google_Service_Compute_Address 2766 */ 2767 public function get($project, $region, $address, $optParams = array()) 2768 { 2769 $params = array('project' => $project, 'region' => $region, 'address' => $address); 2770 $params = array_merge($params, $optParams); 2771 return $this->call('get', array($params), "Google_Service_Compute_Address"); 2772 } 2773 /** 2774 * Creates an address resource in the specified project using the data included 2775 * in the request. (addresses.insert) 2776 * 2777 * @param string $project 2778 * Name of the project scoping this request. 2779 * @param string $region 2780 * Name of the region scoping this request. 2781 * @param Google_Address $postBody 2782 * @param array $optParams Optional parameters. 2783 * @return Google_Service_Compute_Operation 2784 */ 2785 public function insert($project, $region, Google_Service_Compute_Address $postBody, $optParams = array()) 2786 { 2787 $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); 2788 $params = array_merge($params, $optParams); 2789 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 2790 } 2791 /** 2792 * Retrieves the list of address resources contained within the specified 2793 * region. (addresses.listAddresses) 2794 * 2795 * @param string $project 2796 * Name of the project scoping this request. 2797 * @param string $region 2798 * Name of the region scoping this request. 2799 * @param array $optParams Optional parameters. 2800 * 2801 * @opt_param string filter 2802 * Optional. Filter expression for filtering listed resources. 2803 * @opt_param string pageToken 2804 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 2805 * previous list request. 2806 * @opt_param string maxResults 2807 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 2808 * 500. 2809 * @return Google_Service_Compute_AddressList 2810 */ 2811 public function listAddresses($project, $region, $optParams = array()) 2812 { 2813 $params = array('project' => $project, 'region' => $region); 2814 $params = array_merge($params, $optParams); 2815 return $this->call('list', array($params), "Google_Service_Compute_AddressList"); 2816 } 2817 } 2818 2819 /** 2820 * The "backendServices" collection of methods. 2821 * Typical usage is: 2822 * <code> 2823 * $computeService = new Google_Service_Compute(...); 2824 * $backendServices = $computeService->backendServices; 2825 * </code> 2826 */ 2827 class Google_Service_Compute_BackendServices_Resource extends Google_Service_Resource 2828 { 2829 2830 /** 2831 * Deletes the specified BackendService resource. (backendServices.delete) 2832 * 2833 * @param string $project 2834 * Name of the project scoping this request. 2835 * @param string $backendService 2836 * Name of the BackendService resource to delete. 2837 * @param array $optParams Optional parameters. 2838 * @return Google_Service_Compute_Operation 2839 */ 2840 public function delete($project, $backendService, $optParams = array()) 2841 { 2842 $params = array('project' => $project, 'backendService' => $backendService); 2843 $params = array_merge($params, $optParams); 2844 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 2845 } 2846 /** 2847 * Returns the specified BackendService resource. (backendServices.get) 2848 * 2849 * @param string $project 2850 * Name of the project scoping this request. 2851 * @param string $backendService 2852 * Name of the BackendService resource to return. 2853 * @param array $optParams Optional parameters. 2854 * @return Google_Service_Compute_BackendService 2855 */ 2856 public function get($project, $backendService, $optParams = array()) 2857 { 2858 $params = array('project' => $project, 'backendService' => $backendService); 2859 $params = array_merge($params, $optParams); 2860 return $this->call('get', array($params), "Google_Service_Compute_BackendService"); 2861 } 2862 /** 2863 * Gets the most recent health check results for this BackendService. 2864 * (backendServices.getHealth) 2865 * 2866 * @param string $project 2867 * 2868 * @param string $backendService 2869 * Name of the BackendService resource to which the queried instance belongs. 2870 * @param Google_ResourceGroupReference $postBody 2871 * @param array $optParams Optional parameters. 2872 * @return Google_Service_Compute_BackendServiceGroupHealth 2873 */ 2874 public function getHealth($project, $backendService, Google_Service_Compute_ResourceGroupReference $postBody, $optParams = array()) 2875 { 2876 $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody); 2877 $params = array_merge($params, $optParams); 2878 return $this->call('getHealth', array($params), "Google_Service_Compute_BackendServiceGroupHealth"); 2879 } 2880 /** 2881 * Creates a BackendService resource in the specified project using the data 2882 * included in the request. (backendServices.insert) 2883 * 2884 * @param string $project 2885 * Name of the project scoping this request. 2886 * @param Google_BackendService $postBody 2887 * @param array $optParams Optional parameters. 2888 * @return Google_Service_Compute_Operation 2889 */ 2890 public function insert($project, Google_Service_Compute_BackendService $postBody, $optParams = array()) 2891 { 2892 $params = array('project' => $project, 'postBody' => $postBody); 2893 $params = array_merge($params, $optParams); 2894 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 2895 } 2896 /** 2897 * Retrieves the list of BackendService resources available to the specified 2898 * project. (backendServices.listBackendServices) 2899 * 2900 * @param string $project 2901 * Name of the project scoping this request. 2902 * @param array $optParams Optional parameters. 2903 * 2904 * @opt_param string filter 2905 * Optional. Filter expression for filtering listed resources. 2906 * @opt_param string pageToken 2907 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 2908 * previous list request. 2909 * @opt_param string maxResults 2910 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 2911 * 500. 2912 * @return Google_Service_Compute_BackendServiceList 2913 */ 2914 public function listBackendServices($project, $optParams = array()) 2915 { 2916 $params = array('project' => $project); 2917 $params = array_merge($params, $optParams); 2918 return $this->call('list', array($params), "Google_Service_Compute_BackendServiceList"); 2919 } 2920 /** 2921 * Update the entire content of the BackendService resource. This method 2922 * supports patch semantics. (backendServices.patch) 2923 * 2924 * @param string $project 2925 * Name of the project scoping this request. 2926 * @param string $backendService 2927 * Name of the BackendService resource to update. 2928 * @param Google_BackendService $postBody 2929 * @param array $optParams Optional parameters. 2930 * @return Google_Service_Compute_Operation 2931 */ 2932 public function patch($project, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array()) 2933 { 2934 $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody); 2935 $params = array_merge($params, $optParams); 2936 return $this->call('patch', array($params), "Google_Service_Compute_Operation"); 2937 } 2938 /** 2939 * Update the entire content of the BackendService resource. 2940 * (backendServices.update) 2941 * 2942 * @param string $project 2943 * Name of the project scoping this request. 2944 * @param string $backendService 2945 * Name of the BackendService resource to update. 2946 * @param Google_BackendService $postBody 2947 * @param array $optParams Optional parameters. 2948 * @return Google_Service_Compute_Operation 2949 */ 2950 public function update($project, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array()) 2951 { 2952 $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody); 2953 $params = array_merge($params, $optParams); 2954 return $this->call('update', array($params), "Google_Service_Compute_Operation"); 2955 } 2956 } 2957 2958 /** 2959 * The "diskTypes" collection of methods. 2960 * Typical usage is: 2961 * <code> 2962 * $computeService = new Google_Service_Compute(...); 2963 * $diskTypes = $computeService->diskTypes; 2964 * </code> 2965 */ 2966 class Google_Service_Compute_DiskTypes_Resource extends Google_Service_Resource 2967 { 2968 2969 /** 2970 * Retrieves the list of disk type resources grouped by scope. 2971 * (diskTypes.aggregatedList) 2972 * 2973 * @param string $project 2974 * Name of the project scoping this request. 2975 * @param array $optParams Optional parameters. 2976 * 2977 * @opt_param string filter 2978 * Optional. Filter expression for filtering listed resources. 2979 * @opt_param string pageToken 2980 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 2981 * previous list request. 2982 * @opt_param string maxResults 2983 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 2984 * 500. 2985 * @return Google_Service_Compute_DiskTypeAggregatedList 2986 */ 2987 public function aggregatedList($project, $optParams = array()) 2988 { 2989 $params = array('project' => $project); 2990 $params = array_merge($params, $optParams); 2991 return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskTypeAggregatedList"); 2992 } 2993 /** 2994 * Returns the specified disk type resource. (diskTypes.get) 2995 * 2996 * @param string $project 2997 * Name of the project scoping this request. 2998 * @param string $zone 2999 * Name of the zone scoping this request. 3000 * @param string $diskType 3001 * Name of the disk type resource to return. 3002 * @param array $optParams Optional parameters. 3003 * @return Google_Service_Compute_DiskType 3004 */ 3005 public function get($project, $zone, $diskType, $optParams = array()) 3006 { 3007 $params = array('project' => $project, 'zone' => $zone, 'diskType' => $diskType); 3008 $params = array_merge($params, $optParams); 3009 return $this->call('get', array($params), "Google_Service_Compute_DiskType"); 3010 } 3011 /** 3012 * Retrieves the list of disk type resources available to the specified project. 3013 * (diskTypes.listDiskTypes) 3014 * 3015 * @param string $project 3016 * Name of the project scoping this request. 3017 * @param string $zone 3018 * Name of the zone scoping this request. 3019 * @param array $optParams Optional parameters. 3020 * 3021 * @opt_param string filter 3022 * Optional. Filter expression for filtering listed resources. 3023 * @opt_param string pageToken 3024 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 3025 * previous list request. 3026 * @opt_param string maxResults 3027 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 3028 * 500. 3029 * @return Google_Service_Compute_DiskTypeList 3030 */ 3031 public function listDiskTypes($project, $zone, $optParams = array()) 3032 { 3033 $params = array('project' => $project, 'zone' => $zone); 3034 $params = array_merge($params, $optParams); 3035 return $this->call('list', array($params), "Google_Service_Compute_DiskTypeList"); 3036 } 3037 } 3038 3039 /** 3040 * The "disks" collection of methods. 3041 * Typical usage is: 3042 * <code> 3043 * $computeService = new Google_Service_Compute(...); 3044 * $disks = $computeService->disks; 3045 * </code> 3046 */ 3047 class Google_Service_Compute_Disks_Resource extends Google_Service_Resource 3048 { 3049 3050 /** 3051 * Retrieves the list of disks grouped by scope. (disks.aggregatedList) 3052 * 3053 * @param string $project 3054 * Name of the project scoping this request. 3055 * @param array $optParams Optional parameters. 3056 * 3057 * @opt_param string filter 3058 * Optional. Filter expression for filtering listed resources. 3059 * @opt_param string pageToken 3060 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 3061 * previous list request. 3062 * @opt_param string maxResults 3063 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 3064 * 500. 3065 * @return Google_Service_Compute_DiskAggregatedList 3066 */ 3067 public function aggregatedList($project, $optParams = array()) 3068 { 3069 $params = array('project' => $project); 3070 $params = array_merge($params, $optParams); 3071 return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskAggregatedList"); 3072 } 3073 /** 3074 * (disks.createSnapshot) 3075 * 3076 * @param string $project 3077 * Name of the project scoping this request. 3078 * @param string $zone 3079 * Name of the zone scoping this request. 3080 * @param string $disk 3081 * Name of the persistent disk resource to snapshot. 3082 * @param Google_Snapshot $postBody 3083 * @param array $optParams Optional parameters. 3084 * @return Google_Service_Compute_Operation 3085 */ 3086 public function createSnapshot($project, $zone, $disk, Google_Service_Compute_Snapshot $postBody, $optParams = array()) 3087 { 3088 $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk, 'postBody' => $postBody); 3089 $params = array_merge($params, $optParams); 3090 return $this->call('createSnapshot', array($params), "Google_Service_Compute_Operation"); 3091 } 3092 /** 3093 * Deletes the specified persistent disk resource. (disks.delete) 3094 * 3095 * @param string $project 3096 * Name of the project scoping this request. 3097 * @param string $zone 3098 * Name of the zone scoping this request. 3099 * @param string $disk 3100 * Name of the persistent disk resource to delete. 3101 * @param array $optParams Optional parameters. 3102 * @return Google_Service_Compute_Operation 3103 */ 3104 public function delete($project, $zone, $disk, $optParams = array()) 3105 { 3106 $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk); 3107 $params = array_merge($params, $optParams); 3108 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 3109 } 3110 /** 3111 * Returns the specified persistent disk resource. (disks.get) 3112 * 3113 * @param string $project 3114 * Name of the project scoping this request. 3115 * @param string $zone 3116 * Name of the zone scoping this request. 3117 * @param string $disk 3118 * Name of the persistent disk resource to return. 3119 * @param array $optParams Optional parameters. 3120 * @return Google_Service_Compute_Disk 3121 */ 3122 public function get($project, $zone, $disk, $optParams = array()) 3123 { 3124 $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk); 3125 $params = array_merge($params, $optParams); 3126 return $this->call('get', array($params), "Google_Service_Compute_Disk"); 3127 } 3128 /** 3129 * Creates a persistent disk resource in the specified project using the data 3130 * included in the request. (disks.insert) 3131 * 3132 * @param string $project 3133 * Name of the project scoping this request. 3134 * @param string $zone 3135 * Name of the zone scoping this request. 3136 * @param Google_Disk $postBody 3137 * @param array $optParams Optional parameters. 3138 * 3139 * @opt_param string sourceImage 3140 * Optional. Source image to restore onto a disk. 3141 * @return Google_Service_Compute_Operation 3142 */ 3143 public function insert($project, $zone, Google_Service_Compute_Disk $postBody, $optParams = array()) 3144 { 3145 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); 3146 $params = array_merge($params, $optParams); 3147 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 3148 } 3149 /** 3150 * Retrieves the list of persistent disk resources contained within the 3151 * specified zone. (disks.listDisks) 3152 * 3153 * @param string $project 3154 * Name of the project scoping this request. 3155 * @param string $zone 3156 * Name of the zone scoping this request. 3157 * @param array $optParams Optional parameters. 3158 * 3159 * @opt_param string filter 3160 * Optional. Filter expression for filtering listed resources. 3161 * @opt_param string pageToken 3162 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 3163 * previous list request. 3164 * @opt_param string maxResults 3165 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 3166 * 500. 3167 * @return Google_Service_Compute_DiskList 3168 */ 3169 public function listDisks($project, $zone, $optParams = array()) 3170 { 3171 $params = array('project' => $project, 'zone' => $zone); 3172 $params = array_merge($params, $optParams); 3173 return $this->call('list', array($params), "Google_Service_Compute_DiskList"); 3174 } 3175 } 3176 3177 /** 3178 * The "firewalls" collection of methods. 3179 * Typical usage is: 3180 * <code> 3181 * $computeService = new Google_Service_Compute(...); 3182 * $firewalls = $computeService->firewalls; 3183 * </code> 3184 */ 3185 class Google_Service_Compute_Firewalls_Resource extends Google_Service_Resource 3186 { 3187 3188 /** 3189 * Deletes the specified firewall resource. (firewalls.delete) 3190 * 3191 * @param string $project 3192 * Name of the project scoping this request. 3193 * @param string $firewall 3194 * Name of the firewall resource to delete. 3195 * @param array $optParams Optional parameters. 3196 * @return Google_Service_Compute_Operation 3197 */ 3198 public function delete($project, $firewall, $optParams = array()) 3199 { 3200 $params = array('project' => $project, 'firewall' => $firewall); 3201 $params = array_merge($params, $optParams); 3202 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 3203 } 3204 /** 3205 * Returns the specified firewall resource. (firewalls.get) 3206 * 3207 * @param string $project 3208 * Name of the project scoping this request. 3209 * @param string $firewall 3210 * Name of the firewall resource to return. 3211 * @param array $optParams Optional parameters. 3212 * @return Google_Service_Compute_Firewall 3213 */ 3214 public function get($project, $firewall, $optParams = array()) 3215 { 3216 $params = array('project' => $project, 'firewall' => $firewall); 3217 $params = array_merge($params, $optParams); 3218 return $this->call('get', array($params), "Google_Service_Compute_Firewall"); 3219 } 3220 /** 3221 * Creates a firewall resource in the specified project using the data included 3222 * in the request. (firewalls.insert) 3223 * 3224 * @param string $project 3225 * Name of the project scoping this request. 3226 * @param Google_Firewall $postBody 3227 * @param array $optParams Optional parameters. 3228 * @return Google_Service_Compute_Operation 3229 */ 3230 public function insert($project, Google_Service_Compute_Firewall $postBody, $optParams = array()) 3231 { 3232 $params = array('project' => $project, 'postBody' => $postBody); 3233 $params = array_merge($params, $optParams); 3234 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 3235 } 3236 /** 3237 * Retrieves the list of firewall resources available to the specified project. 3238 * (firewalls.listFirewalls) 3239 * 3240 * @param string $project 3241 * Name of the project scoping this request. 3242 * @param array $optParams Optional parameters. 3243 * 3244 * @opt_param string filter 3245 * Optional. Filter expression for filtering listed resources. 3246 * @opt_param string pageToken 3247 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 3248 * previous list request. 3249 * @opt_param string maxResults 3250 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 3251 * 500. 3252 * @return Google_Service_Compute_FirewallList 3253 */ 3254 public function listFirewalls($project, $optParams = array()) 3255 { 3256 $params = array('project' => $project); 3257 $params = array_merge($params, $optParams); 3258 return $this->call('list', array($params), "Google_Service_Compute_FirewallList"); 3259 } 3260 /** 3261 * Updates the specified firewall resource with the data included in the 3262 * request. This method supports patch semantics. (firewalls.patch) 3263 * 3264 * @param string $project 3265 * Name of the project scoping this request. 3266 * @param string $firewall 3267 * Name of the firewall resource to update. 3268 * @param Google_Firewall $postBody 3269 * @param array $optParams Optional parameters. 3270 * @return Google_Service_Compute_Operation 3271 */ 3272 public function patch($project, $firewall, Google_Service_Compute_Firewall $postBody, $optParams = array()) 3273 { 3274 $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody); 3275 $params = array_merge($params, $optParams); 3276 return $this->call('patch', array($params), "Google_Service_Compute_Operation"); 3277 } 3278 /** 3279 * Updates the specified firewall resource with the data included in the 3280 * request. (firewalls.update) 3281 * 3282 * @param string $project 3283 * Name of the project scoping this request. 3284 * @param string $firewall 3285 * Name of the firewall resource to update. 3286 * @param Google_Firewall $postBody 3287 * @param array $optParams Optional parameters. 3288 * @return Google_Service_Compute_Operation 3289 */ 3290 public function update($project, $firewall, Google_Service_Compute_Firewall $postBody, $optParams = array()) 3291 { 3292 $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody); 3293 $params = array_merge($params, $optParams); 3294 return $this->call('update', array($params), "Google_Service_Compute_Operation"); 3295 } 3296 } 3297 3298 /** 3299 * The "forwardingRules" collection of methods. 3300 * Typical usage is: 3301 * <code> 3302 * $computeService = new Google_Service_Compute(...); 3303 * $forwardingRules = $computeService->forwardingRules; 3304 * </code> 3305 */ 3306 class Google_Service_Compute_ForwardingRules_Resource extends Google_Service_Resource 3307 { 3308 3309 /** 3310 * Retrieves the list of forwarding rules grouped by scope. 3311 * (forwardingRules.aggregatedList) 3312 * 3313 * @param string $project 3314 * Name of the project scoping this request. 3315 * @param array $optParams Optional parameters. 3316 * 3317 * @opt_param string filter 3318 * Optional. Filter expression for filtering listed resources. 3319 * @opt_param string pageToken 3320 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 3321 * previous list request. 3322 * @opt_param string maxResults 3323 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 3324 * 500. 3325 * @return Google_Service_Compute_ForwardingRuleAggregatedList 3326 */ 3327 public function aggregatedList($project, $optParams = array()) 3328 { 3329 $params = array('project' => $project); 3330 $params = array_merge($params, $optParams); 3331 return $this->call('aggregatedList', array($params), "Google_Service_Compute_ForwardingRuleAggregatedList"); 3332 } 3333 /** 3334 * Deletes the specified ForwardingRule resource. (forwardingRules.delete) 3335 * 3336 * @param string $project 3337 * Name of the project scoping this request. 3338 * @param string $region 3339 * Name of the region scoping this request. 3340 * @param string $forwardingRule 3341 * Name of the ForwardingRule resource to delete. 3342 * @param array $optParams Optional parameters. 3343 * @return Google_Service_Compute_Operation 3344 */ 3345 public function delete($project, $region, $forwardingRule, $optParams = array()) 3346 { 3347 $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule); 3348 $params = array_merge($params, $optParams); 3349 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 3350 } 3351 /** 3352 * Returns the specified ForwardingRule resource. (forwardingRules.get) 3353 * 3354 * @param string $project 3355 * Name of the project scoping this request. 3356 * @param string $region 3357 * Name of the region scoping this request. 3358 * @param string $forwardingRule 3359 * Name of the ForwardingRule resource to return. 3360 * @param array $optParams Optional parameters. 3361 * @return Google_Service_Compute_ForwardingRule 3362 */ 3363 public function get($project, $region, $forwardingRule, $optParams = array()) 3364 { 3365 $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule); 3366 $params = array_merge($params, $optParams); 3367 return $this->call('get', array($params), "Google_Service_Compute_ForwardingRule"); 3368 } 3369 /** 3370 * Creates a ForwardingRule resource in the specified project and region using 3371 * the data included in the request. (forwardingRules.insert) 3372 * 3373 * @param string $project 3374 * Name of the project scoping this request. 3375 * @param string $region 3376 * Name of the region scoping this request. 3377 * @param Google_ForwardingRule $postBody 3378 * @param array $optParams Optional parameters. 3379 * @return Google_Service_Compute_Operation 3380 */ 3381 public function insert($project, $region, Google_Service_Compute_ForwardingRule $postBody, $optParams = array()) 3382 { 3383 $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); 3384 $params = array_merge($params, $optParams); 3385 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 3386 } 3387 /** 3388 * Retrieves the list of ForwardingRule resources available to the specified 3389 * project and region. (forwardingRules.listForwardingRules) 3390 * 3391 * @param string $project 3392 * Name of the project scoping this request. 3393 * @param string $region 3394 * Name of the region scoping this request. 3395 * @param array $optParams Optional parameters. 3396 * 3397 * @opt_param string filter 3398 * Optional. Filter expression for filtering listed resources. 3399 * @opt_param string pageToken 3400 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 3401 * previous list request. 3402 * @opt_param string maxResults 3403 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 3404 * 500. 3405 * @return Google_Service_Compute_ForwardingRuleList 3406 */ 3407 public function listForwardingRules($project, $region, $optParams = array()) 3408 { 3409 $params = array('project' => $project, 'region' => $region); 3410 $params = array_merge($params, $optParams); 3411 return $this->call('list', array($params), "Google_Service_Compute_ForwardingRuleList"); 3412 } 3413 /** 3414 * Changes target url for forwarding rule. (forwardingRules.setTarget) 3415 * 3416 * @param string $project 3417 * Name of the project scoping this request. 3418 * @param string $region 3419 * Name of the region scoping this request. 3420 * @param string $forwardingRule 3421 * Name of the ForwardingRule resource in which target is to be set. 3422 * @param Google_TargetReference $postBody 3423 * @param array $optParams Optional parameters. 3424 * @return Google_Service_Compute_Operation 3425 */ 3426 public function setTarget($project, $region, $forwardingRule, Google_Service_Compute_TargetReference $postBody, $optParams = array()) 3427 { 3428 $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody); 3429 $params = array_merge($params, $optParams); 3430 return $this->call('setTarget', array($params), "Google_Service_Compute_Operation"); 3431 } 3432 } 3433 3434 /** 3435 * The "globalAddresses" collection of methods. 3436 * Typical usage is: 3437 * <code> 3438 * $computeService = new Google_Service_Compute(...); 3439 * $globalAddresses = $computeService->globalAddresses; 3440 * </code> 3441 */ 3442 class Google_Service_Compute_GlobalAddresses_Resource extends Google_Service_Resource 3443 { 3444 3445 /** 3446 * Deletes the specified address resource. (globalAddresses.delete) 3447 * 3448 * @param string $project 3449 * Name of the project scoping this request. 3450 * @param string $address 3451 * Name of the address resource to delete. 3452 * @param array $optParams Optional parameters. 3453 * @return Google_Service_Compute_Operation 3454 */ 3455 public function delete($project, $address, $optParams = array()) 3456 { 3457 $params = array('project' => $project, 'address' => $address); 3458 $params = array_merge($params, $optParams); 3459 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 3460 } 3461 /** 3462 * Returns the specified address resource. (globalAddresses.get) 3463 * 3464 * @param string $project 3465 * Name of the project scoping this request. 3466 * @param string $address 3467 * Name of the address resource to return. 3468 * @param array $optParams Optional parameters. 3469 * @return Google_Service_Compute_Address 3470 */ 3471 public function get($project, $address, $optParams = array()) 3472 { 3473 $params = array('project' => $project, 'address' => $address); 3474 $params = array_merge($params, $optParams); 3475 return $this->call('get', array($params), "Google_Service_Compute_Address"); 3476 } 3477 /** 3478 * Creates an address resource in the specified project using the data included 3479 * in the request. (globalAddresses.insert) 3480 * 3481 * @param string $project 3482 * Name of the project scoping this request. 3483 * @param Google_Address $postBody 3484 * @param array $optParams Optional parameters. 3485 * @return Google_Service_Compute_Operation 3486 */ 3487 public function insert($project, Google_Service_Compute_Address $postBody, $optParams = array()) 3488 { 3489 $params = array('project' => $project, 'postBody' => $postBody); 3490 $params = array_merge($params, $optParams); 3491 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 3492 } 3493 /** 3494 * Retrieves the list of global address resources. 3495 * (globalAddresses.listGlobalAddresses) 3496 * 3497 * @param string $project 3498 * Name of the project scoping this request. 3499 * @param array $optParams Optional parameters. 3500 * 3501 * @opt_param string filter 3502 * Optional. Filter expression for filtering listed resources. 3503 * @opt_param string pageToken 3504 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 3505 * previous list request. 3506 * @opt_param string maxResults 3507 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 3508 * 500. 3509 * @return Google_Service_Compute_AddressList 3510 */ 3511 public function listGlobalAddresses($project, $optParams = array()) 3512 { 3513 $params = array('project' => $project); 3514 $params = array_merge($params, $optParams); 3515 return $this->call('list', array($params), "Google_Service_Compute_AddressList"); 3516 } 3517 } 3518 3519 /** 3520 * The "globalForwardingRules" collection of methods. 3521 * Typical usage is: 3522 * <code> 3523 * $computeService = new Google_Service_Compute(...); 3524 * $globalForwardingRules = $computeService->globalForwardingRules; 3525 * </code> 3526 */ 3527 class Google_Service_Compute_GlobalForwardingRules_Resource extends Google_Service_Resource 3528 { 3529 3530 /** 3531 * Deletes the specified ForwardingRule resource. (globalForwardingRules.delete) 3532 * 3533 * @param string $project 3534 * Name of the project scoping this request. 3535 * @param string $forwardingRule 3536 * Name of the ForwardingRule resource to delete. 3537 * @param array $optParams Optional parameters. 3538 * @return Google_Service_Compute_Operation 3539 */ 3540 public function delete($project, $forwardingRule, $optParams = array()) 3541 { 3542 $params = array('project' => $project, 'forwardingRule' => $forwardingRule); 3543 $params = array_merge($params, $optParams); 3544 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 3545 } 3546 /** 3547 * Returns the specified ForwardingRule resource. (globalForwardingRules.get) 3548 * 3549 * @param string $project 3550 * Name of the project scoping this request. 3551 * @param string $forwardingRule 3552 * Name of the ForwardingRule resource to return. 3553 * @param array $optParams Optional parameters. 3554 * @return Google_Service_Compute_ForwardingRule 3555 */ 3556 public function get($project, $forwardingRule, $optParams = array()) 3557 { 3558 $params = array('project' => $project, 'forwardingRule' => $forwardingRule); 3559 $params = array_merge($params, $optParams); 3560 return $this->call('get', array($params), "Google_Service_Compute_ForwardingRule"); 3561 } 3562 /** 3563 * Creates a ForwardingRule resource in the specified project and region using 3564 * the data included in the request. (globalForwardingRules.insert) 3565 * 3566 * @param string $project 3567 * Name of the project scoping this request. 3568 * @param Google_ForwardingRule $postBody 3569 * @param array $optParams Optional parameters. 3570 * @return Google_Service_Compute_Operation 3571 */ 3572 public function insert($project, Google_Service_Compute_ForwardingRule $postBody, $optParams = array()) 3573 { 3574 $params = array('project' => $project, 'postBody' => $postBody); 3575 $params = array_merge($params, $optParams); 3576 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 3577 } 3578 /** 3579 * Retrieves the list of ForwardingRule resources available to the specified 3580 * project. (globalForwardingRules.listGlobalForwardingRules) 3581 * 3582 * @param string $project 3583 * Name of the project scoping this request. 3584 * @param array $optParams Optional parameters. 3585 * 3586 * @opt_param string filter 3587 * Optional. Filter expression for filtering listed resources. 3588 * @opt_param string pageToken 3589 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 3590 * previous list request. 3591 * @opt_param string maxResults 3592 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 3593 * 500. 3594 * @return Google_Service_Compute_ForwardingRuleList 3595 */ 3596 public function listGlobalForwardingRules($project, $optParams = array()) 3597 { 3598 $params = array('project' => $project); 3599 $params = array_merge($params, $optParams); 3600 return $this->call('list', array($params), "Google_Service_Compute_ForwardingRuleList"); 3601 } 3602 /** 3603 * Changes target url for forwarding rule. (globalForwardingRules.setTarget) 3604 * 3605 * @param string $project 3606 * Name of the project scoping this request. 3607 * @param string $forwardingRule 3608 * Name of the ForwardingRule resource in which target is to be set. 3609 * @param Google_TargetReference $postBody 3610 * @param array $optParams Optional parameters. 3611 * @return Google_Service_Compute_Operation 3612 */ 3613 public function setTarget($project, $forwardingRule, Google_Service_Compute_TargetReference $postBody, $optParams = array()) 3614 { 3615 $params = array('project' => $project, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody); 3616 $params = array_merge($params, $optParams); 3617 return $this->call('setTarget', array($params), "Google_Service_Compute_Operation"); 3618 } 3619 } 3620 3621 /** 3622 * The "globalOperations" collection of methods. 3623 * Typical usage is: 3624 * <code> 3625 * $computeService = new Google_Service_Compute(...); 3626 * $globalOperations = $computeService->globalOperations; 3627 * </code> 3628 */ 3629 class Google_Service_Compute_GlobalOperations_Resource extends Google_Service_Resource 3630 { 3631 3632 /** 3633 * Retrieves the list of all operations grouped by scope. 3634 * (globalOperations.aggregatedList) 3635 * 3636 * @param string $project 3637 * Name of the project scoping this request. 3638 * @param array $optParams Optional parameters. 3639 * 3640 * @opt_param string filter 3641 * Optional. Filter expression for filtering listed resources. 3642 * @opt_param string pageToken 3643 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 3644 * previous list request. 3645 * @opt_param string maxResults 3646 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 3647 * 500. 3648 * @return Google_Service_Compute_OperationAggregatedList 3649 */ 3650 public function aggregatedList($project, $optParams = array()) 3651 { 3652 $params = array('project' => $project); 3653 $params = array_merge($params, $optParams); 3654 return $this->call('aggregatedList', array($params), "Google_Service_Compute_OperationAggregatedList"); 3655 } 3656 /** 3657 * Deletes the specified operation resource. (globalOperations.delete) 3658 * 3659 * @param string $project 3660 * Name of the project scoping this request. 3661 * @param string $operation 3662 * Name of the operation resource to delete. 3663 * @param array $optParams Optional parameters. 3664 */ 3665 public function delete($project, $operation, $optParams = array()) 3666 { 3667 $params = array('project' => $project, 'operation' => $operation); 3668 $params = array_merge($params, $optParams); 3669 return $this->call('delete', array($params)); 3670 } 3671 /** 3672 * Retrieves the specified operation resource. (globalOperations.get) 3673 * 3674 * @param string $project 3675 * Name of the project scoping this request. 3676 * @param string $operation 3677 * Name of the operation resource to return. 3678 * @param array $optParams Optional parameters. 3679 * @return Google_Service_Compute_Operation 3680 */ 3681 public function get($project, $operation, $optParams = array()) 3682 { 3683 $params = array('project' => $project, 'operation' => $operation); 3684 $params = array_merge($params, $optParams); 3685 return $this->call('get', array($params), "Google_Service_Compute_Operation"); 3686 } 3687 /** 3688 * Retrieves the list of operation resources contained within the specified 3689 * project. (globalOperations.listGlobalOperations) 3690 * 3691 * @param string $project 3692 * Name of the project scoping this request. 3693 * @param array $optParams Optional parameters. 3694 * 3695 * @opt_param string filter 3696 * Optional. Filter expression for filtering listed resources. 3697 * @opt_param string pageToken 3698 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 3699 * previous list request. 3700 * @opt_param string maxResults 3701 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 3702 * 500. 3703 * @return Google_Service_Compute_OperationList 3704 */ 3705 public function listGlobalOperations($project, $optParams = array()) 3706 { 3707 $params = array('project' => $project); 3708 $params = array_merge($params, $optParams); 3709 return $this->call('list', array($params), "Google_Service_Compute_OperationList"); 3710 } 3711 } 3712 3713 /** 3714 * The "httpHealthChecks" collection of methods. 3715 * Typical usage is: 3716 * <code> 3717 * $computeService = new Google_Service_Compute(...); 3718 * $httpHealthChecks = $computeService->httpHealthChecks; 3719 * </code> 3720 */ 3721 class Google_Service_Compute_HttpHealthChecks_Resource extends Google_Service_Resource 3722 { 3723 3724 /** 3725 * Deletes the specified HttpHealthCheck resource. (httpHealthChecks.delete) 3726 * 3727 * @param string $project 3728 * Name of the project scoping this request. 3729 * @param string $httpHealthCheck 3730 * Name of the HttpHealthCheck resource to delete. 3731 * @param array $optParams Optional parameters. 3732 * @return Google_Service_Compute_Operation 3733 */ 3734 public function delete($project, $httpHealthCheck, $optParams = array()) 3735 { 3736 $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck); 3737 $params = array_merge($params, $optParams); 3738 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 3739 } 3740 /** 3741 * Returns the specified HttpHealthCheck resource. (httpHealthChecks.get) 3742 * 3743 * @param string $project 3744 * Name of the project scoping this request. 3745 * @param string $httpHealthCheck 3746 * Name of the HttpHealthCheck resource to return. 3747 * @param array $optParams Optional parameters. 3748 * @return Google_Service_Compute_HttpHealthCheck 3749 */ 3750 public function get($project, $httpHealthCheck, $optParams = array()) 3751 { 3752 $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck); 3753 $params = array_merge($params, $optParams); 3754 return $this->call('get', array($params), "Google_Service_Compute_HttpHealthCheck"); 3755 } 3756 /** 3757 * Creates a HttpHealthCheck resource in the specified project using the data 3758 * included in the request. (httpHealthChecks.insert) 3759 * 3760 * @param string $project 3761 * Name of the project scoping this request. 3762 * @param Google_HttpHealthCheck $postBody 3763 * @param array $optParams Optional parameters. 3764 * @return Google_Service_Compute_Operation 3765 */ 3766 public function insert($project, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array()) 3767 { 3768 $params = array('project' => $project, 'postBody' => $postBody); 3769 $params = array_merge($params, $optParams); 3770 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 3771 } 3772 /** 3773 * Retrieves the list of HttpHealthCheck resources available to the specified 3774 * project. (httpHealthChecks.listHttpHealthChecks) 3775 * 3776 * @param string $project 3777 * Name of the project scoping this request. 3778 * @param array $optParams Optional parameters. 3779 * 3780 * @opt_param string filter 3781 * Optional. Filter expression for filtering listed resources. 3782 * @opt_param string pageToken 3783 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 3784 * previous list request. 3785 * @opt_param string maxResults 3786 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 3787 * 500. 3788 * @return Google_Service_Compute_HttpHealthCheckList 3789 */ 3790 public function listHttpHealthChecks($project, $optParams = array()) 3791 { 3792 $params = array('project' => $project); 3793 $params = array_merge($params, $optParams); 3794 return $this->call('list', array($params), "Google_Service_Compute_HttpHealthCheckList"); 3795 } 3796 /** 3797 * Updates a HttpHealthCheck resource in the specified project using the data 3798 * included in the request. This method supports patch semantics. 3799 * (httpHealthChecks.patch) 3800 * 3801 * @param string $project 3802 * Name of the project scoping this request. 3803 * @param string $httpHealthCheck 3804 * Name of the HttpHealthCheck resource to update. 3805 * @param Google_HttpHealthCheck $postBody 3806 * @param array $optParams Optional parameters. 3807 * @return Google_Service_Compute_Operation 3808 */ 3809 public function patch($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array()) 3810 { 3811 $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody); 3812 $params = array_merge($params, $optParams); 3813 return $this->call('patch', array($params), "Google_Service_Compute_Operation"); 3814 } 3815 /** 3816 * Updates a HttpHealthCheck resource in the specified project using the data 3817 * included in the request. (httpHealthChecks.update) 3818 * 3819 * @param string $project 3820 * Name of the project scoping this request. 3821 * @param string $httpHealthCheck 3822 * Name of the HttpHealthCheck resource to update. 3823 * @param Google_HttpHealthCheck $postBody 3824 * @param array $optParams Optional parameters. 3825 * @return Google_Service_Compute_Operation 3826 */ 3827 public function update($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array()) 3828 { 3829 $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody); 3830 $params = array_merge($params, $optParams); 3831 return $this->call('update', array($params), "Google_Service_Compute_Operation"); 3832 } 3833 } 3834 3835 /** 3836 * The "images" collection of methods. 3837 * Typical usage is: 3838 * <code> 3839 * $computeService = new Google_Service_Compute(...); 3840 * $images = $computeService->images; 3841 * </code> 3842 */ 3843 class Google_Service_Compute_Images_Resource extends Google_Service_Resource 3844 { 3845 3846 /** 3847 * Deletes the specified image resource. (images.delete) 3848 * 3849 * @param string $project 3850 * Name of the project scoping this request. 3851 * @param string $image 3852 * Name of the image resource to delete. 3853 * @param array $optParams Optional parameters. 3854 * @return Google_Service_Compute_Operation 3855 */ 3856 public function delete($project, $image, $optParams = array()) 3857 { 3858 $params = array('project' => $project, 'image' => $image); 3859 $params = array_merge($params, $optParams); 3860 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 3861 } 3862 /** 3863 * Sets the deprecation status of an image. If no message body is given, clears 3864 * the deprecation status instead. (images.deprecate) 3865 * 3866 * @param string $project 3867 * Name of the project scoping this request. 3868 * @param string $image 3869 * Image name. 3870 * @param Google_DeprecationStatus $postBody 3871 * @param array $optParams Optional parameters. 3872 * @return Google_Service_Compute_Operation 3873 */ 3874 public function deprecate($project, $image, Google_Service_Compute_DeprecationStatus $postBody, $optParams = array()) 3875 { 3876 $params = array('project' => $project, 'image' => $image, 'postBody' => $postBody); 3877 $params = array_merge($params, $optParams); 3878 return $this->call('deprecate', array($params), "Google_Service_Compute_Operation"); 3879 } 3880 /** 3881 * Returns the specified image resource. (images.get) 3882 * 3883 * @param string $project 3884 * Name of the project scoping this request. 3885 * @param string $image 3886 * Name of the image resource to return. 3887 * @param array $optParams Optional parameters. 3888 * @return Google_Service_Compute_Image 3889 */ 3890 public function get($project, $image, $optParams = array()) 3891 { 3892 $params = array('project' => $project, 'image' => $image); 3893 $params = array_merge($params, $optParams); 3894 return $this->call('get', array($params), "Google_Service_Compute_Image"); 3895 } 3896 /** 3897 * Creates an image resource in the specified project using the data included in 3898 * the request. (images.insert) 3899 * 3900 * @param string $project 3901 * Name of the project scoping this request. 3902 * @param Google_Image $postBody 3903 * @param array $optParams Optional parameters. 3904 * @return Google_Service_Compute_Operation 3905 */ 3906 public function insert($project, Google_Service_Compute_Image $postBody, $optParams = array()) 3907 { 3908 $params = array('project' => $project, 'postBody' => $postBody); 3909 $params = array_merge($params, $optParams); 3910 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 3911 } 3912 /** 3913 * Retrieves the list of image resources available to the specified project. 3914 * (images.listImages) 3915 * 3916 * @param string $project 3917 * Name of the project scoping this request. 3918 * @param array $optParams Optional parameters. 3919 * 3920 * @opt_param string filter 3921 * Optional. Filter expression for filtering listed resources. 3922 * @opt_param string pageToken 3923 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 3924 * previous list request. 3925 * @opt_param string maxResults 3926 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 3927 * 500. 3928 * @return Google_Service_Compute_ImageList 3929 */ 3930 public function listImages($project, $optParams = array()) 3931 { 3932 $params = array('project' => $project); 3933 $params = array_merge($params, $optParams); 3934 return $this->call('list', array($params), "Google_Service_Compute_ImageList"); 3935 } 3936 } 3937 3938 /** 3939 * The "instances" collection of methods. 3940 * Typical usage is: 3941 * <code> 3942 * $computeService = new Google_Service_Compute(...); 3943 * $instances = $computeService->instances; 3944 * </code> 3945 */ 3946 class Google_Service_Compute_Instances_Resource extends Google_Service_Resource 3947 { 3948 3949 /** 3950 * Adds an access config to an instance's network interface. 3951 * (instances.addAccessConfig) 3952 * 3953 * @param string $project 3954 * Project name. 3955 * @param string $zone 3956 * Name of the zone scoping this request. 3957 * @param string $instance 3958 * Instance name. 3959 * @param string $networkInterface 3960 * Network interface name. 3961 * @param Google_AccessConfig $postBody 3962 * @param array $optParams Optional parameters. 3963 * @return Google_Service_Compute_Operation 3964 */ 3965 public function addAccessConfig($project, $zone, $instance, $networkInterface, Google_Service_Compute_AccessConfig $postBody, $optParams = array()) 3966 { 3967 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'networkInterface' => $networkInterface, 'postBody' => $postBody); 3968 $params = array_merge($params, $optParams); 3969 return $this->call('addAccessConfig', array($params), "Google_Service_Compute_Operation"); 3970 } 3971 /** 3972 * (instances.aggregatedList) 3973 * 3974 * @param string $project 3975 * Name of the project scoping this request. 3976 * @param array $optParams Optional parameters. 3977 * 3978 * @opt_param string filter 3979 * Optional. Filter expression for filtering listed resources. 3980 * @opt_param string pageToken 3981 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 3982 * previous list request. 3983 * @opt_param string maxResults 3984 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 3985 * 500. 3986 * @return Google_Service_Compute_InstanceAggregatedList 3987 */ 3988 public function aggregatedList($project, $optParams = array()) 3989 { 3990 $params = array('project' => $project); 3991 $params = array_merge($params, $optParams); 3992 return $this->call('aggregatedList', array($params), "Google_Service_Compute_InstanceAggregatedList"); 3993 } 3994 /** 3995 * Attaches a disk resource to an instance. (instances.attachDisk) 3996 * 3997 * @param string $project 3998 * Project name. 3999 * @param string $zone 4000 * Name of the zone scoping this request. 4001 * @param string $instance 4002 * Instance name. 4003 * @param Google_AttachedDisk $postBody 4004 * @param array $optParams Optional parameters. 4005 * @return Google_Service_Compute_Operation 4006 */ 4007 public function attachDisk($project, $zone, $instance, Google_Service_Compute_AttachedDisk $postBody, $optParams = array()) 4008 { 4009 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); 4010 $params = array_merge($params, $optParams); 4011 return $this->call('attachDisk', array($params), "Google_Service_Compute_Operation"); 4012 } 4013 /** 4014 * Deletes the specified instance resource. (instances.delete) 4015 * 4016 * @param string $project 4017 * Name of the project scoping this request. 4018 * @param string $zone 4019 * Name of the zone scoping this request. 4020 * @param string $instance 4021 * Name of the instance resource to delete. 4022 * @param array $optParams Optional parameters. 4023 * @return Google_Service_Compute_Operation 4024 */ 4025 public function delete($project, $zone, $instance, $optParams = array()) 4026 { 4027 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); 4028 $params = array_merge($params, $optParams); 4029 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 4030 } 4031 /** 4032 * Deletes an access config from an instance's network interface. 4033 * (instances.deleteAccessConfig) 4034 * 4035 * @param string $project 4036 * Project name. 4037 * @param string $zone 4038 * Name of the zone scoping this request. 4039 * @param string $instance 4040 * Instance name. 4041 * @param string $accessConfig 4042 * Access config name. 4043 * @param string $networkInterface 4044 * Network interface name. 4045 * @param array $optParams Optional parameters. 4046 * @return Google_Service_Compute_Operation 4047 */ 4048 public function deleteAccessConfig($project, $zone, $instance, $accessConfig, $networkInterface, $optParams = array()) 4049 { 4050 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'accessConfig' => $accessConfig, 'networkInterface' => $networkInterface); 4051 $params = array_merge($params, $optParams); 4052 return $this->call('deleteAccessConfig', array($params), "Google_Service_Compute_Operation"); 4053 } 4054 /** 4055 * Detaches a disk from an instance. (instances.detachDisk) 4056 * 4057 * @param string $project 4058 * Project name. 4059 * @param string $zone 4060 * Name of the zone scoping this request. 4061 * @param string $instance 4062 * Instance name. 4063 * @param string $deviceName 4064 * Disk device name to detach. 4065 * @param array $optParams Optional parameters. 4066 * @return Google_Service_Compute_Operation 4067 */ 4068 public function detachDisk($project, $zone, $instance, $deviceName, $optParams = array()) 4069 { 4070 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'deviceName' => $deviceName); 4071 $params = array_merge($params, $optParams); 4072 return $this->call('detachDisk', array($params), "Google_Service_Compute_Operation"); 4073 } 4074 /** 4075 * Returns the specified instance resource. (instances.get) 4076 * 4077 * @param string $project 4078 * Name of the project scoping this request. 4079 * @param string $zone 4080 * Name of the zone scoping this request. 4081 * @param string $instance 4082 * Name of the instance resource to return. 4083 * @param array $optParams Optional parameters. 4084 * @return Google_Service_Compute_Instance 4085 */ 4086 public function get($project, $zone, $instance, $optParams = array()) 4087 { 4088 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); 4089 $params = array_merge($params, $optParams); 4090 return $this->call('get', array($params), "Google_Service_Compute_Instance"); 4091 } 4092 /** 4093 * Returns the specified instance's serial port output. 4094 * (instances.getSerialPortOutput) 4095 * 4096 * @param string $project 4097 * Name of the project scoping this request. 4098 * @param string $zone 4099 * Name of the zone scoping this request. 4100 * @param string $instance 4101 * Name of the instance scoping this request. 4102 * @param array $optParams Optional parameters. 4103 * @return Google_Service_Compute_SerialPortOutput 4104 */ 4105 public function getSerialPortOutput($project, $zone, $instance, $optParams = array()) 4106 { 4107 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); 4108 $params = array_merge($params, $optParams); 4109 return $this->call('getSerialPortOutput', array($params), "Google_Service_Compute_SerialPortOutput"); 4110 } 4111 /** 4112 * Creates an instance resource in the specified project using the data included 4113 * in the request. (instances.insert) 4114 * 4115 * @param string $project 4116 * Name of the project scoping this request. 4117 * @param string $zone 4118 * Name of the zone scoping this request. 4119 * @param Google_Instance $postBody 4120 * @param array $optParams Optional parameters. 4121 * @return Google_Service_Compute_Operation 4122 */ 4123 public function insert($project, $zone, Google_Service_Compute_Instance $postBody, $optParams = array()) 4124 { 4125 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); 4126 $params = array_merge($params, $optParams); 4127 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 4128 } 4129 /** 4130 * Retrieves the list of instance resources contained within the specified zone. 4131 * (instances.listInstances) 4132 * 4133 * @param string $project 4134 * Name of the project scoping this request. 4135 * @param string $zone 4136 * Name of the zone scoping this request. 4137 * @param array $optParams Optional parameters. 4138 * 4139 * @opt_param string filter 4140 * Optional. Filter expression for filtering listed resources. 4141 * @opt_param string pageToken 4142 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 4143 * previous list request. 4144 * @opt_param string maxResults 4145 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 4146 * 500. 4147 * @return Google_Service_Compute_InstanceList 4148 */ 4149 public function listInstances($project, $zone, $optParams = array()) 4150 { 4151 $params = array('project' => $project, 'zone' => $zone); 4152 $params = array_merge($params, $optParams); 4153 return $this->call('list', array($params), "Google_Service_Compute_InstanceList"); 4154 } 4155 /** 4156 * Performs a hard reset on the instance. (instances.reset) 4157 * 4158 * @param string $project 4159 * Name of the project scoping this request. 4160 * @param string $zone 4161 * Name of the zone scoping this request. 4162 * @param string $instance 4163 * Name of the instance scoping this request. 4164 * @param array $optParams Optional parameters. 4165 * @return Google_Service_Compute_Operation 4166 */ 4167 public function reset($project, $zone, $instance, $optParams = array()) 4168 { 4169 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); 4170 $params = array_merge($params, $optParams); 4171 return $this->call('reset', array($params), "Google_Service_Compute_Operation"); 4172 } 4173 /** 4174 * Sets the auto-delete flag for a disk attached to an instance 4175 * (instances.setDiskAutoDelete) 4176 * 4177 * @param string $project 4178 * Project name. 4179 * @param string $zone 4180 * Name of the zone scoping this request. 4181 * @param string $instance 4182 * Instance name. 4183 * @param bool $autoDelete 4184 * Whether to auto-delete the disk when the instance is deleted. 4185 * @param string $deviceName 4186 * Disk device name to modify. 4187 * @param array $optParams Optional parameters. 4188 * @return Google_Service_Compute_Operation 4189 */ 4190 public function setDiskAutoDelete($project, $zone, $instance, $autoDelete, $deviceName, $optParams = array()) 4191 { 4192 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'autoDelete' => $autoDelete, 'deviceName' => $deviceName); 4193 $params = array_merge($params, $optParams); 4194 return $this->call('setDiskAutoDelete', array($params), "Google_Service_Compute_Operation"); 4195 } 4196 /** 4197 * Sets metadata for the specified instance to the data included in the request. 4198 * (instances.setMetadata) 4199 * 4200 * @param string $project 4201 * Name of the project scoping this request. 4202 * @param string $zone 4203 * Name of the zone scoping this request. 4204 * @param string $instance 4205 * Name of the instance scoping this request. 4206 * @param Google_Metadata $postBody 4207 * @param array $optParams Optional parameters. 4208 * @return Google_Service_Compute_Operation 4209 */ 4210 public function setMetadata($project, $zone, $instance, Google_Service_Compute_Metadata $postBody, $optParams = array()) 4211 { 4212 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); 4213 $params = array_merge($params, $optParams); 4214 return $this->call('setMetadata', array($params), "Google_Service_Compute_Operation"); 4215 } 4216 /** 4217 * Sets an instance's scheduling options. (instances.setScheduling) 4218 * 4219 * @param string $project 4220 * Project name. 4221 * @param string $zone 4222 * Name of the zone scoping this request. 4223 * @param string $instance 4224 * Instance name. 4225 * @param Google_Scheduling $postBody 4226 * @param array $optParams Optional parameters. 4227 * @return Google_Service_Compute_Operation 4228 */ 4229 public function setScheduling($project, $zone, $instance, Google_Service_Compute_Scheduling $postBody, $optParams = array()) 4230 { 4231 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); 4232 $params = array_merge($params, $optParams); 4233 return $this->call('setScheduling', array($params), "Google_Service_Compute_Operation"); 4234 } 4235 /** 4236 * Sets tags for the specified instance to the data included in the request. 4237 * (instances.setTags) 4238 * 4239 * @param string $project 4240 * Name of the project scoping this request. 4241 * @param string $zone 4242 * Name of the zone scoping this request. 4243 * @param string $instance 4244 * Name of the instance scoping this request. 4245 * @param Google_Tags $postBody 4246 * @param array $optParams Optional parameters. 4247 * @return Google_Service_Compute_Operation 4248 */ 4249 public function setTags($project, $zone, $instance, Google_Service_Compute_Tags $postBody, $optParams = array()) 4250 { 4251 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); 4252 $params = array_merge($params, $optParams); 4253 return $this->call('setTags', array($params), "Google_Service_Compute_Operation"); 4254 } 4255 } 4256 4257 /** 4258 * The "licenses" collection of methods. 4259 * Typical usage is: 4260 * <code> 4261 * $computeService = new Google_Service_Compute(...); 4262 * $licenses = $computeService->licenses; 4263 * </code> 4264 */ 4265 class Google_Service_Compute_Licenses_Resource extends Google_Service_Resource 4266 { 4267 4268 /** 4269 * Returns the specified license resource. (licenses.get) 4270 * 4271 * @param string $project 4272 * Name of the project scoping this request. 4273 * @param string $license 4274 * Name of the license resource to return. 4275 * @param array $optParams Optional parameters. 4276 * @return Google_Service_Compute_License 4277 */ 4278 public function get($project, $license, $optParams = array()) 4279 { 4280 $params = array('project' => $project, 'license' => $license); 4281 $params = array_merge($params, $optParams); 4282 return $this->call('get', array($params), "Google_Service_Compute_License"); 4283 } 4284 } 4285 4286 /** 4287 * The "machineTypes" collection of methods. 4288 * Typical usage is: 4289 * <code> 4290 * $computeService = new Google_Service_Compute(...); 4291 * $machineTypes = $computeService->machineTypes; 4292 * </code> 4293 */ 4294 class Google_Service_Compute_MachineTypes_Resource extends Google_Service_Resource 4295 { 4296 4297 /** 4298 * Retrieves the list of machine type resources grouped by scope. 4299 * (machineTypes.aggregatedList) 4300 * 4301 * @param string $project 4302 * Name of the project scoping this request. 4303 * @param array $optParams Optional parameters. 4304 * 4305 * @opt_param string filter 4306 * Optional. Filter expression for filtering listed resources. 4307 * @opt_param string pageToken 4308 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 4309 * previous list request. 4310 * @opt_param string maxResults 4311 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 4312 * 500. 4313 * @return Google_Service_Compute_MachineTypeAggregatedList 4314 */ 4315 public function aggregatedList($project, $optParams = array()) 4316 { 4317 $params = array('project' => $project); 4318 $params = array_merge($params, $optParams); 4319 return $this->call('aggregatedList', array($params), "Google_Service_Compute_MachineTypeAggregatedList"); 4320 } 4321 /** 4322 * Returns the specified machine type resource. (machineTypes.get) 4323 * 4324 * @param string $project 4325 * Name of the project scoping this request. 4326 * @param string $zone 4327 * Name of the zone scoping this request. 4328 * @param string $machineType 4329 * Name of the machine type resource to return. 4330 * @param array $optParams Optional parameters. 4331 * @return Google_Service_Compute_MachineType 4332 */ 4333 public function get($project, $zone, $machineType, $optParams = array()) 4334 { 4335 $params = array('project' => $project, 'zone' => $zone, 'machineType' => $machineType); 4336 $params = array_merge($params, $optParams); 4337 return $this->call('get', array($params), "Google_Service_Compute_MachineType"); 4338 } 4339 /** 4340 * Retrieves the list of machine type resources available to the specified 4341 * project. (machineTypes.listMachineTypes) 4342 * 4343 * @param string $project 4344 * Name of the project scoping this request. 4345 * @param string $zone 4346 * Name of the zone scoping this request. 4347 * @param array $optParams Optional parameters. 4348 * 4349 * @opt_param string filter 4350 * Optional. Filter expression for filtering listed resources. 4351 * @opt_param string pageToken 4352 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 4353 * previous list request. 4354 * @opt_param string maxResults 4355 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 4356 * 500. 4357 * @return Google_Service_Compute_MachineTypeList 4358 */ 4359 public function listMachineTypes($project, $zone, $optParams = array()) 4360 { 4361 $params = array('project' => $project, 'zone' => $zone); 4362 $params = array_merge($params, $optParams); 4363 return $this->call('list', array($params), "Google_Service_Compute_MachineTypeList"); 4364 } 4365 } 4366 4367 /** 4368 * The "networks" collection of methods. 4369 * Typical usage is: 4370 * <code> 4371 * $computeService = new Google_Service_Compute(...); 4372 * $networks = $computeService->networks; 4373 * </code> 4374 */ 4375 class Google_Service_Compute_Networks_Resource extends Google_Service_Resource 4376 { 4377 4378 /** 4379 * Deletes the specified network resource. (networks.delete) 4380 * 4381 * @param string $project 4382 * Name of the project scoping this request. 4383 * @param string $network 4384 * Name of the network resource to delete. 4385 * @param array $optParams Optional parameters. 4386 * @return Google_Service_Compute_Operation 4387 */ 4388 public function delete($project, $network, $optParams = array()) 4389 { 4390 $params = array('project' => $project, 'network' => $network); 4391 $params = array_merge($params, $optParams); 4392 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 4393 } 4394 /** 4395 * Returns the specified network resource. (networks.get) 4396 * 4397 * @param string $project 4398 * Name of the project scoping this request. 4399 * @param string $network 4400 * Name of the network resource to return. 4401 * @param array $optParams Optional parameters. 4402 * @return Google_Service_Compute_Network 4403 */ 4404 public function get($project, $network, $optParams = array()) 4405 { 4406 $params = array('project' => $project, 'network' => $network); 4407 $params = array_merge($params, $optParams); 4408 return $this->call('get', array($params), "Google_Service_Compute_Network"); 4409 } 4410 /** 4411 * Creates a network resource in the specified project using the data included 4412 * in the request. (networks.insert) 4413 * 4414 * @param string $project 4415 * Name of the project scoping this request. 4416 * @param Google_Network $postBody 4417 * @param array $optParams Optional parameters. 4418 * @return Google_Service_Compute_Operation 4419 */ 4420 public function insert($project, Google_Service_Compute_Network $postBody, $optParams = array()) 4421 { 4422 $params = array('project' => $project, 'postBody' => $postBody); 4423 $params = array_merge($params, $optParams); 4424 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 4425 } 4426 /** 4427 * Retrieves the list of network resources available to the specified project. 4428 * (networks.listNetworks) 4429 * 4430 * @param string $project 4431 * Name of the project scoping this request. 4432 * @param array $optParams Optional parameters. 4433 * 4434 * @opt_param string filter 4435 * Optional. Filter expression for filtering listed resources. 4436 * @opt_param string pageToken 4437 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 4438 * previous list request. 4439 * @opt_param string maxResults 4440 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 4441 * 500. 4442 * @return Google_Service_Compute_NetworkList 4443 */ 4444 public function listNetworks($project, $optParams = array()) 4445 { 4446 $params = array('project' => $project); 4447 $params = array_merge($params, $optParams); 4448 return $this->call('list', array($params), "Google_Service_Compute_NetworkList"); 4449 } 4450 } 4451 4452 /** 4453 * The "projects" collection of methods. 4454 * Typical usage is: 4455 * <code> 4456 * $computeService = new Google_Service_Compute(...); 4457 * $projects = $computeService->projects; 4458 * </code> 4459 */ 4460 class Google_Service_Compute_Projects_Resource extends Google_Service_Resource 4461 { 4462 4463 /** 4464 * Returns the specified project resource. (projects.get) 4465 * 4466 * @param string $project 4467 * Name of the project resource to retrieve. 4468 * @param array $optParams Optional parameters. 4469 * @return Google_Service_Compute_Project 4470 */ 4471 public function get($project, $optParams = array()) 4472 { 4473 $params = array('project' => $project); 4474 $params = array_merge($params, $optParams); 4475 return $this->call('get', array($params), "Google_Service_Compute_Project"); 4476 } 4477 /** 4478 * Sets metadata common to all instances within the specified project using the 4479 * data included in the request. (projects.setCommonInstanceMetadata) 4480 * 4481 * @param string $project 4482 * Name of the project scoping this request. 4483 * @param Google_Metadata $postBody 4484 * @param array $optParams Optional parameters. 4485 * @return Google_Service_Compute_Operation 4486 */ 4487 public function setCommonInstanceMetadata($project, Google_Service_Compute_Metadata $postBody, $optParams = array()) 4488 { 4489 $params = array('project' => $project, 'postBody' => $postBody); 4490 $params = array_merge($params, $optParams); 4491 return $this->call('setCommonInstanceMetadata', array($params), "Google_Service_Compute_Operation"); 4492 } 4493 /** 4494 * Sets usage export location (projects.setUsageExportBucket) 4495 * 4496 * @param string $project 4497 * Name of the project scoping this request. 4498 * @param Google_UsageExportLocation $postBody 4499 * @param array $optParams Optional parameters. 4500 * @return Google_Service_Compute_Operation 4501 */ 4502 public function setUsageExportBucket($project, Google_Service_Compute_UsageExportLocation $postBody, $optParams = array()) 4503 { 4504 $params = array('project' => $project, 'postBody' => $postBody); 4505 $params = array_merge($params, $optParams); 4506 return $this->call('setUsageExportBucket', array($params), "Google_Service_Compute_Operation"); 4507 } 4508 } 4509 4510 /** 4511 * The "regionOperations" collection of methods. 4512 * Typical usage is: 4513 * <code> 4514 * $computeService = new Google_Service_Compute(...); 4515 * $regionOperations = $computeService->regionOperations; 4516 * </code> 4517 */ 4518 class Google_Service_Compute_RegionOperations_Resource extends Google_Service_Resource 4519 { 4520 4521 /** 4522 * Deletes the specified region-specific operation resource. 4523 * (regionOperations.delete) 4524 * 4525 * @param string $project 4526 * Name of the project scoping this request. 4527 * @param string $region 4528 * Name of the region scoping this request. 4529 * @param string $operation 4530 * Name of the operation resource to delete. 4531 * @param array $optParams Optional parameters. 4532 */ 4533 public function delete($project, $region, $operation, $optParams = array()) 4534 { 4535 $params = array('project' => $project, 'region' => $region, 'operation' => $operation); 4536 $params = array_merge($params, $optParams); 4537 return $this->call('delete', array($params)); 4538 } 4539 /** 4540 * Retrieves the specified region-specific operation resource. 4541 * (regionOperations.get) 4542 * 4543 * @param string $project 4544 * Name of the project scoping this request. 4545 * @param string $region 4546 * Name of the zone scoping this request. 4547 * @param string $operation 4548 * Name of the operation resource to return. 4549 * @param array $optParams Optional parameters. 4550 * @return Google_Service_Compute_Operation 4551 */ 4552 public function get($project, $region, $operation, $optParams = array()) 4553 { 4554 $params = array('project' => $project, 'region' => $region, 'operation' => $operation); 4555 $params = array_merge($params, $optParams); 4556 return $this->call('get', array($params), "Google_Service_Compute_Operation"); 4557 } 4558 /** 4559 * Retrieves the list of operation resources contained within the specified 4560 * region. (regionOperations.listRegionOperations) 4561 * 4562 * @param string $project 4563 * Name of the project scoping this request. 4564 * @param string $region 4565 * Name of the region scoping this request. 4566 * @param array $optParams Optional parameters. 4567 * 4568 * @opt_param string filter 4569 * Optional. Filter expression for filtering listed resources. 4570 * @opt_param string pageToken 4571 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 4572 * previous list request. 4573 * @opt_param string maxResults 4574 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 4575 * 500. 4576 * @return Google_Service_Compute_OperationList 4577 */ 4578 public function listRegionOperations($project, $region, $optParams = array()) 4579 { 4580 $params = array('project' => $project, 'region' => $region); 4581 $params = array_merge($params, $optParams); 4582 return $this->call('list', array($params), "Google_Service_Compute_OperationList"); 4583 } 4584 } 4585 4586 /** 4587 * The "regions" collection of methods. 4588 * Typical usage is: 4589 * <code> 4590 * $computeService = new Google_Service_Compute(...); 4591 * $regions = $computeService->regions; 4592 * </code> 4593 */ 4594 class Google_Service_Compute_Regions_Resource extends Google_Service_Resource 4595 { 4596 4597 /** 4598 * Returns the specified region resource. (regions.get) 4599 * 4600 * @param string $project 4601 * Name of the project scoping this request. 4602 * @param string $region 4603 * Name of the region resource to return. 4604 * @param array $optParams Optional parameters. 4605 * @return Google_Service_Compute_Region 4606 */ 4607 public function get($project, $region, $optParams = array()) 4608 { 4609 $params = array('project' => $project, 'region' => $region); 4610 $params = array_merge($params, $optParams); 4611 return $this->call('get', array($params), "Google_Service_Compute_Region"); 4612 } 4613 /** 4614 * Retrieves the list of region resources available to the specified project. 4615 * (regions.listRegions) 4616 * 4617 * @param string $project 4618 * Name of the project scoping this request. 4619 * @param array $optParams Optional parameters. 4620 * 4621 * @opt_param string filter 4622 * Optional. Filter expression for filtering listed resources. 4623 * @opt_param string pageToken 4624 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 4625 * previous list request. 4626 * @opt_param string maxResults 4627 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 4628 * 500. 4629 * @return Google_Service_Compute_RegionList 4630 */ 4631 public function listRegions($project, $optParams = array()) 4632 { 4633 $params = array('project' => $project); 4634 $params = array_merge($params, $optParams); 4635 return $this->call('list', array($params), "Google_Service_Compute_RegionList"); 4636 } 4637 } 4638 4639 /** 4640 * The "routes" collection of methods. 4641 * Typical usage is: 4642 * <code> 4643 * $computeService = new Google_Service_Compute(...); 4644 * $routes = $computeService->routes; 4645 * </code> 4646 */ 4647 class Google_Service_Compute_Routes_Resource extends Google_Service_Resource 4648 { 4649 4650 /** 4651 * Deletes the specified route resource. (routes.delete) 4652 * 4653 * @param string $project 4654 * Name of the project scoping this request. 4655 * @param string $route 4656 * Name of the route resource to delete. 4657 * @param array $optParams Optional parameters. 4658 * @return Google_Service_Compute_Operation 4659 */ 4660 public function delete($project, $route, $optParams = array()) 4661 { 4662 $params = array('project' => $project, 'route' => $route); 4663 $params = array_merge($params, $optParams); 4664 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 4665 } 4666 /** 4667 * Returns the specified route resource. (routes.get) 4668 * 4669 * @param string $project 4670 * Name of the project scoping this request. 4671 * @param string $route 4672 * Name of the route resource to return. 4673 * @param array $optParams Optional parameters. 4674 * @return Google_Service_Compute_Route 4675 */ 4676 public function get($project, $route, $optParams = array()) 4677 { 4678 $params = array('project' => $project, 'route' => $route); 4679 $params = array_merge($params, $optParams); 4680 return $this->call('get', array($params), "Google_Service_Compute_Route"); 4681 } 4682 /** 4683 * Creates a route resource in the specified project using the data included in 4684 * the request. (routes.insert) 4685 * 4686 * @param string $project 4687 * Name of the project scoping this request. 4688 * @param Google_Route $postBody 4689 * @param array $optParams Optional parameters. 4690 * @return Google_Service_Compute_Operation 4691 */ 4692 public function insert($project, Google_Service_Compute_Route $postBody, $optParams = array()) 4693 { 4694 $params = array('project' => $project, 'postBody' => $postBody); 4695 $params = array_merge($params, $optParams); 4696 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 4697 } 4698 /** 4699 * Retrieves the list of route resources available to the specified project. 4700 * (routes.listRoutes) 4701 * 4702 * @param string $project 4703 * Name of the project scoping this request. 4704 * @param array $optParams Optional parameters. 4705 * 4706 * @opt_param string filter 4707 * Optional. Filter expression for filtering listed resources. 4708 * @opt_param string pageToken 4709 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 4710 * previous list request. 4711 * @opt_param string maxResults 4712 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 4713 * 500. 4714 * @return Google_Service_Compute_RouteList 4715 */ 4716 public function listRoutes($project, $optParams = array()) 4717 { 4718 $params = array('project' => $project); 4719 $params = array_merge($params, $optParams); 4720 return $this->call('list', array($params), "Google_Service_Compute_RouteList"); 4721 } 4722 } 4723 4724 /** 4725 * The "snapshots" collection of methods. 4726 * Typical usage is: 4727 * <code> 4728 * $computeService = new Google_Service_Compute(...); 4729 * $snapshots = $computeService->snapshots; 4730 * </code> 4731 */ 4732 class Google_Service_Compute_Snapshots_Resource extends Google_Service_Resource 4733 { 4734 4735 /** 4736 * Deletes the specified persistent disk snapshot resource. (snapshots.delete) 4737 * 4738 * @param string $project 4739 * Name of the project scoping this request. 4740 * @param string $snapshot 4741 * Name of the persistent disk snapshot resource to delete. 4742 * @param array $optParams Optional parameters. 4743 * @return Google_Service_Compute_Operation 4744 */ 4745 public function delete($project, $snapshot, $optParams = array()) 4746 { 4747 $params = array('project' => $project, 'snapshot' => $snapshot); 4748 $params = array_merge($params, $optParams); 4749 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 4750 } 4751 /** 4752 * Returns the specified persistent disk snapshot resource. (snapshots.get) 4753 * 4754 * @param string $project 4755 * Name of the project scoping this request. 4756 * @param string $snapshot 4757 * Name of the persistent disk snapshot resource to return. 4758 * @param array $optParams Optional parameters. 4759 * @return Google_Service_Compute_Snapshot 4760 */ 4761 public function get($project, $snapshot, $optParams = array()) 4762 { 4763 $params = array('project' => $project, 'snapshot' => $snapshot); 4764 $params = array_merge($params, $optParams); 4765 return $this->call('get', array($params), "Google_Service_Compute_Snapshot"); 4766 } 4767 /** 4768 * Retrieves the list of persistent disk snapshot resources contained within the 4769 * specified project. (snapshots.listSnapshots) 4770 * 4771 * @param string $project 4772 * Name of the project scoping this request. 4773 * @param array $optParams Optional parameters. 4774 * 4775 * @opt_param string filter 4776 * Optional. Filter expression for filtering listed resources. 4777 * @opt_param string pageToken 4778 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 4779 * previous list request. 4780 * @opt_param string maxResults 4781 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 4782 * 500. 4783 * @return Google_Service_Compute_SnapshotList 4784 */ 4785 public function listSnapshots($project, $optParams = array()) 4786 { 4787 $params = array('project' => $project); 4788 $params = array_merge($params, $optParams); 4789 return $this->call('list', array($params), "Google_Service_Compute_SnapshotList"); 4790 } 4791 } 4792 4793 /** 4794 * The "targetHttpProxies" collection of methods. 4795 * Typical usage is: 4796 * <code> 4797 * $computeService = new Google_Service_Compute(...); 4798 * $targetHttpProxies = $computeService->targetHttpProxies; 4799 * </code> 4800 */ 4801 class Google_Service_Compute_TargetHttpProxies_Resource extends Google_Service_Resource 4802 { 4803 4804 /** 4805 * Deletes the specified TargetHttpProxy resource. (targetHttpProxies.delete) 4806 * 4807 * @param string $project 4808 * Name of the project scoping this request. 4809 * @param string $targetHttpProxy 4810 * Name of the TargetHttpProxy resource to delete. 4811 * @param array $optParams Optional parameters. 4812 * @return Google_Service_Compute_Operation 4813 */ 4814 public function delete($project, $targetHttpProxy, $optParams = array()) 4815 { 4816 $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy); 4817 $params = array_merge($params, $optParams); 4818 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 4819 } 4820 /** 4821 * Returns the specified TargetHttpProxy resource. (targetHttpProxies.get) 4822 * 4823 * @param string $project 4824 * Name of the project scoping this request. 4825 * @param string $targetHttpProxy 4826 * Name of the TargetHttpProxy resource to return. 4827 * @param array $optParams Optional parameters. 4828 * @return Google_Service_Compute_TargetHttpProxy 4829 */ 4830 public function get($project, $targetHttpProxy, $optParams = array()) 4831 { 4832 $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy); 4833 $params = array_merge($params, $optParams); 4834 return $this->call('get', array($params), "Google_Service_Compute_TargetHttpProxy"); 4835 } 4836 /** 4837 * Creates a TargetHttpProxy resource in the specified project using the data 4838 * included in the request. (targetHttpProxies.insert) 4839 * 4840 * @param string $project 4841 * Name of the project scoping this request. 4842 * @param Google_TargetHttpProxy $postBody 4843 * @param array $optParams Optional parameters. 4844 * @return Google_Service_Compute_Operation 4845 */ 4846 public function insert($project, Google_Service_Compute_TargetHttpProxy $postBody, $optParams = array()) 4847 { 4848 $params = array('project' => $project, 'postBody' => $postBody); 4849 $params = array_merge($params, $optParams); 4850 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 4851 } 4852 /** 4853 * Retrieves the list of TargetHttpProxy resources available to the specified 4854 * project. (targetHttpProxies.listTargetHttpProxies) 4855 * 4856 * @param string $project 4857 * Name of the project scoping this request. 4858 * @param array $optParams Optional parameters. 4859 * 4860 * @opt_param string filter 4861 * Optional. Filter expression for filtering listed resources. 4862 * @opt_param string pageToken 4863 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 4864 * previous list request. 4865 * @opt_param string maxResults 4866 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 4867 * 500. 4868 * @return Google_Service_Compute_TargetHttpProxyList 4869 */ 4870 public function listTargetHttpProxies($project, $optParams = array()) 4871 { 4872 $params = array('project' => $project); 4873 $params = array_merge($params, $optParams); 4874 return $this->call('list', array($params), "Google_Service_Compute_TargetHttpProxyList"); 4875 } 4876 /** 4877 * Changes the URL map for TargetHttpProxy. (targetHttpProxies.setUrlMap) 4878 * 4879 * @param string $project 4880 * Name of the project scoping this request. 4881 * @param string $targetHttpProxy 4882 * Name of the TargetHttpProxy resource whose URL map is to be set. 4883 * @param Google_UrlMapReference $postBody 4884 * @param array $optParams Optional parameters. 4885 * @return Google_Service_Compute_Operation 4886 */ 4887 public function setUrlMap($project, $targetHttpProxy, Google_Service_Compute_UrlMapReference $postBody, $optParams = array()) 4888 { 4889 $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy, 'postBody' => $postBody); 4890 $params = array_merge($params, $optParams); 4891 return $this->call('setUrlMap', array($params), "Google_Service_Compute_Operation"); 4892 } 4893 } 4894 4895 /** 4896 * The "targetInstances" collection of methods. 4897 * Typical usage is: 4898 * <code> 4899 * $computeService = new Google_Service_Compute(...); 4900 * $targetInstances = $computeService->targetInstances; 4901 * </code> 4902 */ 4903 class Google_Service_Compute_TargetInstances_Resource extends Google_Service_Resource 4904 { 4905 4906 /** 4907 * Retrieves the list of target instances grouped by scope. 4908 * (targetInstances.aggregatedList) 4909 * 4910 * @param string $project 4911 * Name of the project scoping this request. 4912 * @param array $optParams Optional parameters. 4913 * 4914 * @opt_param string filter 4915 * Optional. Filter expression for filtering listed resources. 4916 * @opt_param string pageToken 4917 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 4918 * previous list request. 4919 * @opt_param string maxResults 4920 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 4921 * 500. 4922 * @return Google_Service_Compute_TargetInstanceAggregatedList 4923 */ 4924 public function aggregatedList($project, $optParams = array()) 4925 { 4926 $params = array('project' => $project); 4927 $params = array_merge($params, $optParams); 4928 return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetInstanceAggregatedList"); 4929 } 4930 /** 4931 * Deletes the specified TargetInstance resource. (targetInstances.delete) 4932 * 4933 * @param string $project 4934 * Name of the project scoping this request. 4935 * @param string $zone 4936 * Name of the zone scoping this request. 4937 * @param string $targetInstance 4938 * Name of the TargetInstance resource to delete. 4939 * @param array $optParams Optional parameters. 4940 * @return Google_Service_Compute_Operation 4941 */ 4942 public function delete($project, $zone, $targetInstance, $optParams = array()) 4943 { 4944 $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance); 4945 $params = array_merge($params, $optParams); 4946 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 4947 } 4948 /** 4949 * Returns the specified TargetInstance resource. (targetInstances.get) 4950 * 4951 * @param string $project 4952 * Name of the project scoping this request. 4953 * @param string $zone 4954 * Name of the zone scoping this request. 4955 * @param string $targetInstance 4956 * Name of the TargetInstance resource to return. 4957 * @param array $optParams Optional parameters. 4958 * @return Google_Service_Compute_TargetInstance 4959 */ 4960 public function get($project, $zone, $targetInstance, $optParams = array()) 4961 { 4962 $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance); 4963 $params = array_merge($params, $optParams); 4964 return $this->call('get', array($params), "Google_Service_Compute_TargetInstance"); 4965 } 4966 /** 4967 * Creates a TargetInstance resource in the specified project and zone using the 4968 * data included in the request. (targetInstances.insert) 4969 * 4970 * @param string $project 4971 * Name of the project scoping this request. 4972 * @param string $zone 4973 * Name of the zone scoping this request. 4974 * @param Google_TargetInstance $postBody 4975 * @param array $optParams Optional parameters. 4976 * @return Google_Service_Compute_Operation 4977 */ 4978 public function insert($project, $zone, Google_Service_Compute_TargetInstance $postBody, $optParams = array()) 4979 { 4980 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); 4981 $params = array_merge($params, $optParams); 4982 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 4983 } 4984 /** 4985 * Retrieves the list of TargetInstance resources available to the specified 4986 * project and zone. (targetInstances.listTargetInstances) 4987 * 4988 * @param string $project 4989 * Name of the project scoping this request. 4990 * @param string $zone 4991 * Name of the zone scoping this request. 4992 * @param array $optParams Optional parameters. 4993 * 4994 * @opt_param string filter 4995 * Optional. Filter expression for filtering listed resources. 4996 * @opt_param string pageToken 4997 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 4998 * previous list request. 4999 * @opt_param string maxResults 5000 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 5001 * 500. 5002 * @return Google_Service_Compute_TargetInstanceList 5003 */ 5004 public function listTargetInstances($project, $zone, $optParams = array()) 5005 { 5006 $params = array('project' => $project, 'zone' => $zone); 5007 $params = array_merge($params, $optParams); 5008 return $this->call('list', array($params), "Google_Service_Compute_TargetInstanceList"); 5009 } 5010 } 5011 5012 /** 5013 * The "targetPools" collection of methods. 5014 * Typical usage is: 5015 * <code> 5016 * $computeService = new Google_Service_Compute(...); 5017 * $targetPools = $computeService->targetPools; 5018 * </code> 5019 */ 5020 class Google_Service_Compute_TargetPools_Resource extends Google_Service_Resource 5021 { 5022 5023 /** 5024 * Adds health check URL to targetPool. (targetPools.addHealthCheck) 5025 * 5026 * @param string $project 5027 * 5028 * @param string $region 5029 * Name of the region scoping this request. 5030 * @param string $targetPool 5031 * Name of the TargetPool resource to which health_check_url is to be added. 5032 * @param Google_TargetPoolsAddHealthCheckRequest $postBody 5033 * @param array $optParams Optional parameters. 5034 * @return Google_Service_Compute_Operation 5035 */ 5036 public function addHealthCheck($project, $region, $targetPool, Google_Service_Compute_TargetPoolsAddHealthCheckRequest $postBody, $optParams = array()) 5037 { 5038 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); 5039 $params = array_merge($params, $optParams); 5040 return $this->call('addHealthCheck', array($params), "Google_Service_Compute_Operation"); 5041 } 5042 /** 5043 * Adds instance url to targetPool. (targetPools.addInstance) 5044 * 5045 * @param string $project 5046 * 5047 * @param string $region 5048 * Name of the region scoping this request. 5049 * @param string $targetPool 5050 * Name of the TargetPool resource to which instance_url is to be added. 5051 * @param Google_TargetPoolsAddInstanceRequest $postBody 5052 * @param array $optParams Optional parameters. 5053 * @return Google_Service_Compute_Operation 5054 */ 5055 public function addInstance($project, $region, $targetPool, Google_Service_Compute_TargetPoolsAddInstanceRequest $postBody, $optParams = array()) 5056 { 5057 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); 5058 $params = array_merge($params, $optParams); 5059 return $this->call('addInstance', array($params), "Google_Service_Compute_Operation"); 5060 } 5061 /** 5062 * Retrieves the list of target pools grouped by scope. 5063 * (targetPools.aggregatedList) 5064 * 5065 * @param string $project 5066 * Name of the project scoping this request. 5067 * @param array $optParams Optional parameters. 5068 * 5069 * @opt_param string filter 5070 * Optional. Filter expression for filtering listed resources. 5071 * @opt_param string pageToken 5072 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 5073 * previous list request. 5074 * @opt_param string maxResults 5075 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 5076 * 500. 5077 * @return Google_Service_Compute_TargetPoolAggregatedList 5078 */ 5079 public function aggregatedList($project, $optParams = array()) 5080 { 5081 $params = array('project' => $project); 5082 $params = array_merge($params, $optParams); 5083 return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetPoolAggregatedList"); 5084 } 5085 /** 5086 * Deletes the specified TargetPool resource. (targetPools.delete) 5087 * 5088 * @param string $project 5089 * Name of the project scoping this request. 5090 * @param string $region 5091 * Name of the region scoping this request. 5092 * @param string $targetPool 5093 * Name of the TargetPool resource to delete. 5094 * @param array $optParams Optional parameters. 5095 * @return Google_Service_Compute_Operation 5096 */ 5097 public function delete($project, $region, $targetPool, $optParams = array()) 5098 { 5099 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool); 5100 $params = array_merge($params, $optParams); 5101 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 5102 } 5103 /** 5104 * Returns the specified TargetPool resource. (targetPools.get) 5105 * 5106 * @param string $project 5107 * Name of the project scoping this request. 5108 * @param string $region 5109 * Name of the region scoping this request. 5110 * @param string $targetPool 5111 * Name of the TargetPool resource to return. 5112 * @param array $optParams Optional parameters. 5113 * @return Google_Service_Compute_TargetPool 5114 */ 5115 public function get($project, $region, $targetPool, $optParams = array()) 5116 { 5117 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool); 5118 $params = array_merge($params, $optParams); 5119 return $this->call('get', array($params), "Google_Service_Compute_TargetPool"); 5120 } 5121 /** 5122 * Gets the most recent health check results for each IP for the given instance 5123 * that is referenced by given TargetPool. (targetPools.getHealth) 5124 * 5125 * @param string $project 5126 * 5127 * @param string $region 5128 * Name of the region scoping this request. 5129 * @param string $targetPool 5130 * Name of the TargetPool resource to which the queried instance belongs. 5131 * @param Google_InstanceReference $postBody 5132 * @param array $optParams Optional parameters. 5133 * @return Google_Service_Compute_TargetPoolInstanceHealth 5134 */ 5135 public function getHealth($project, $region, $targetPool, Google_Service_Compute_InstanceReference $postBody, $optParams = array()) 5136 { 5137 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); 5138 $params = array_merge($params, $optParams); 5139 return $this->call('getHealth', array($params), "Google_Service_Compute_TargetPoolInstanceHealth"); 5140 } 5141 /** 5142 * Creates a TargetPool resource in the specified project and region using the 5143 * data included in the request. (targetPools.insert) 5144 * 5145 * @param string $project 5146 * Name of the project scoping this request. 5147 * @param string $region 5148 * Name of the region scoping this request. 5149 * @param Google_TargetPool $postBody 5150 * @param array $optParams Optional parameters. 5151 * @return Google_Service_Compute_Operation 5152 */ 5153 public function insert($project, $region, Google_Service_Compute_TargetPool $postBody, $optParams = array()) 5154 { 5155 $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); 5156 $params = array_merge($params, $optParams); 5157 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 5158 } 5159 /** 5160 * Retrieves the list of TargetPool resources available to the specified project 5161 * and region. (targetPools.listTargetPools) 5162 * 5163 * @param string $project 5164 * Name of the project scoping this request. 5165 * @param string $region 5166 * Name of the region scoping this request. 5167 * @param array $optParams Optional parameters. 5168 * 5169 * @opt_param string filter 5170 * Optional. Filter expression for filtering listed resources. 5171 * @opt_param string pageToken 5172 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 5173 * previous list request. 5174 * @opt_param string maxResults 5175 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 5176 * 500. 5177 * @return Google_Service_Compute_TargetPoolList 5178 */ 5179 public function listTargetPools($project, $region, $optParams = array()) 5180 { 5181 $params = array('project' => $project, 'region' => $region); 5182 $params = array_merge($params, $optParams); 5183 return $this->call('list', array($params), "Google_Service_Compute_TargetPoolList"); 5184 } 5185 /** 5186 * Removes health check URL from targetPool. (targetPools.removeHealthCheck) 5187 * 5188 * @param string $project 5189 * 5190 * @param string $region 5191 * Name of the region scoping this request. 5192 * @param string $targetPool 5193 * Name of the TargetPool resource to which health_check_url is to be removed. 5194 * @param Google_TargetPoolsRemoveHealthCheckRequest $postBody 5195 * @param array $optParams Optional parameters. 5196 * @return Google_Service_Compute_Operation 5197 */ 5198 public function removeHealthCheck($project, $region, $targetPool, Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest $postBody, $optParams = array()) 5199 { 5200 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); 5201 $params = array_merge($params, $optParams); 5202 return $this->call('removeHealthCheck', array($params), "Google_Service_Compute_Operation"); 5203 } 5204 /** 5205 * Removes instance URL from targetPool. (targetPools.removeInstance) 5206 * 5207 * @param string $project 5208 * 5209 * @param string $region 5210 * Name of the region scoping this request. 5211 * @param string $targetPool 5212 * Name of the TargetPool resource to which instance_url is to be removed. 5213 * @param Google_TargetPoolsRemoveInstanceRequest $postBody 5214 * @param array $optParams Optional parameters. 5215 * @return Google_Service_Compute_Operation 5216 */ 5217 public function removeInstance($project, $region, $targetPool, Google_Service_Compute_TargetPoolsRemoveInstanceRequest $postBody, $optParams = array()) 5218 { 5219 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); 5220 $params = array_merge($params, $optParams); 5221 return $this->call('removeInstance', array($params), "Google_Service_Compute_Operation"); 5222 } 5223 /** 5224 * Changes backup pool configurations. (targetPools.setBackup) 5225 * 5226 * @param string $project 5227 * Name of the project scoping this request. 5228 * @param string $region 5229 * Name of the region scoping this request. 5230 * @param string $targetPool 5231 * Name of the TargetPool resource for which the backup is to be set. 5232 * @param Google_TargetReference $postBody 5233 * @param array $optParams Optional parameters. 5234 * 5235 * @opt_param float failoverRatio 5236 * New failoverRatio value for the containing target pool. 5237 * @return Google_Service_Compute_Operation 5238 */ 5239 public function setBackup($project, $region, $targetPool, Google_Service_Compute_TargetReference $postBody, $optParams = array()) 5240 { 5241 $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); 5242 $params = array_merge($params, $optParams); 5243 return $this->call('setBackup', array($params), "Google_Service_Compute_Operation"); 5244 } 5245 } 5246 5247 /** 5248 * The "urlMaps" collection of methods. 5249 * Typical usage is: 5250 * <code> 5251 * $computeService = new Google_Service_Compute(...); 5252 * $urlMaps = $computeService->urlMaps; 5253 * </code> 5254 */ 5255 class Google_Service_Compute_UrlMaps_Resource extends Google_Service_Resource 5256 { 5257 5258 /** 5259 * Deletes the specified UrlMap resource. (urlMaps.delete) 5260 * 5261 * @param string $project 5262 * Name of the project scoping this request. 5263 * @param string $urlMap 5264 * Name of the UrlMap resource to delete. 5265 * @param array $optParams Optional parameters. 5266 * @return Google_Service_Compute_Operation 5267 */ 5268 public function delete($project, $urlMap, $optParams = array()) 5269 { 5270 $params = array('project' => $project, 'urlMap' => $urlMap); 5271 $params = array_merge($params, $optParams); 5272 return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 5273 } 5274 /** 5275 * Returns the specified UrlMap resource. (urlMaps.get) 5276 * 5277 * @param string $project 5278 * Name of the project scoping this request. 5279 * @param string $urlMap 5280 * Name of the UrlMap resource to return. 5281 * @param array $optParams Optional parameters. 5282 * @return Google_Service_Compute_UrlMap 5283 */ 5284 public function get($project, $urlMap, $optParams = array()) 5285 { 5286 $params = array('project' => $project, 'urlMap' => $urlMap); 5287 $params = array_merge($params, $optParams); 5288 return $this->call('get', array($params), "Google_Service_Compute_UrlMap"); 5289 } 5290 /** 5291 * Creates a UrlMap resource in the specified project using the data included in 5292 * the request. (urlMaps.insert) 5293 * 5294 * @param string $project 5295 * Name of the project scoping this request. 5296 * @param Google_UrlMap $postBody 5297 * @param array $optParams Optional parameters. 5298 * @return Google_Service_Compute_Operation 5299 */ 5300 public function insert($project, Google_Service_Compute_UrlMap $postBody, $optParams = array()) 5301 { 5302 $params = array('project' => $project, 'postBody' => $postBody); 5303 $params = array_merge($params, $optParams); 5304 return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 5305 } 5306 /** 5307 * Retrieves the list of UrlMap resources available to the specified project. 5308 * (urlMaps.listUrlMaps) 5309 * 5310 * @param string $project 5311 * Name of the project scoping this request. 5312 * @param array $optParams Optional parameters. 5313 * 5314 * @opt_param string filter 5315 * Optional. Filter expression for filtering listed resources. 5316 * @opt_param string pageToken 5317 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 5318 * previous list request. 5319 * @opt_param string maxResults 5320 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 5321 * 500. 5322 * @return Google_Service_Compute_UrlMapList 5323 */ 5324 public function listUrlMaps($project, $optParams = array()) 5325 { 5326 $params = array('project' => $project); 5327 $params = array_merge($params, $optParams); 5328 return $this->call('list', array($params), "Google_Service_Compute_UrlMapList"); 5329 } 5330 /** 5331 * Update the entire content of the UrlMap resource. This method supports patch 5332 * semantics. (urlMaps.patch) 5333 * 5334 * @param string $project 5335 * Name of the project scoping this request. 5336 * @param string $urlMap 5337 * Name of the UrlMap resource to update. 5338 * @param Google_UrlMap $postBody 5339 * @param array $optParams Optional parameters. 5340 * @return Google_Service_Compute_Operation 5341 */ 5342 public function patch($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array()) 5343 { 5344 $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody); 5345 $params = array_merge($params, $optParams); 5346 return $this->call('patch', array($params), "Google_Service_Compute_Operation"); 5347 } 5348 /** 5349 * Update the entire content of the UrlMap resource. (urlMaps.update) 5350 * 5351 * @param string $project 5352 * Name of the project scoping this request. 5353 * @param string $urlMap 5354 * Name of the UrlMap resource to update. 5355 * @param Google_UrlMap $postBody 5356 * @param array $optParams Optional parameters. 5357 * @return Google_Service_Compute_Operation 5358 */ 5359 public function update($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array()) 5360 { 5361 $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody); 5362 $params = array_merge($params, $optParams); 5363 return $this->call('update', array($params), "Google_Service_Compute_Operation"); 5364 } 5365 /** 5366 * Run static validation for the UrlMap. In particular, the tests of the 5367 * provided UrlMap will be run. Calling this method does NOT create the UrlMap. 5368 * (urlMaps.validate) 5369 * 5370 * @param string $project 5371 * Name of the project scoping this request. 5372 * @param string $urlMap 5373 * Name of the UrlMap resource to be validated as. 5374 * @param Google_UrlMapsValidateRequest $postBody 5375 * @param array $optParams Optional parameters. 5376 * @return Google_Service_Compute_UrlMapsValidateResponse 5377 */ 5378 public function validate($project, $urlMap, Google_Service_Compute_UrlMapsValidateRequest $postBody, $optParams = array()) 5379 { 5380 $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody); 5381 $params = array_merge($params, $optParams); 5382 return $this->call('validate', array($params), "Google_Service_Compute_UrlMapsValidateResponse"); 5383 } 5384 } 5385 5386 /** 5387 * The "zoneOperations" collection of methods. 5388 * Typical usage is: 5389 * <code> 5390 * $computeService = new Google_Service_Compute(...); 5391 * $zoneOperations = $computeService->zoneOperations; 5392 * </code> 5393 */ 5394 class Google_Service_Compute_ZoneOperations_Resource extends Google_Service_Resource 5395 { 5396 5397 /** 5398 * Deletes the specified zone-specific operation resource. 5399 * (zoneOperations.delete) 5400 * 5401 * @param string $project 5402 * Name of the project scoping this request. 5403 * @param string $zone 5404 * Name of the zone scoping this request. 5405 * @param string $operation 5406 * Name of the operation resource to delete. 5407 * @param array $optParams Optional parameters. 5408 */ 5409 public function delete($project, $zone, $operation, $optParams = array()) 5410 { 5411 $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); 5412 $params = array_merge($params, $optParams); 5413 return $this->call('delete', array($params)); 5414 } 5415 /** 5416 * Retrieves the specified zone-specific operation resource. 5417 * (zoneOperations.get) 5418 * 5419 * @param string $project 5420 * Name of the project scoping this request. 5421 * @param string $zone 5422 * Name of the zone scoping this request. 5423 * @param string $operation 5424 * Name of the operation resource to return. 5425 * @param array $optParams Optional parameters. 5426 * @return Google_Service_Compute_Operation 5427 */ 5428 public function get($project, $zone, $operation, $optParams = array()) 5429 { 5430 $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); 5431 $params = array_merge($params, $optParams); 5432 return $this->call('get', array($params), "Google_Service_Compute_Operation"); 5433 } 5434 /** 5435 * Retrieves the list of operation resources contained within the specified 5436 * zone. (zoneOperations.listZoneOperations) 5437 * 5438 * @param string $project 5439 * Name of the project scoping this request. 5440 * @param string $zone 5441 * Name of the zone scoping this request. 5442 * @param array $optParams Optional parameters. 5443 * 5444 * @opt_param string filter 5445 * Optional. Filter expression for filtering listed resources. 5446 * @opt_param string pageToken 5447 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 5448 * previous list request. 5449 * @opt_param string maxResults 5450 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 5451 * 500. 5452 * @return Google_Service_Compute_OperationList 5453 */ 5454 public function listZoneOperations($project, $zone, $optParams = array()) 5455 { 5456 $params = array('project' => $project, 'zone' => $zone); 5457 $params = array_merge($params, $optParams); 5458 return $this->call('list', array($params), "Google_Service_Compute_OperationList"); 5459 } 5460 } 5461 5462 /** 5463 * The "zones" collection of methods. 5464 * Typical usage is: 5465 * <code> 5466 * $computeService = new Google_Service_Compute(...); 5467 * $zones = $computeService->zones; 5468 * </code> 5469 */ 5470 class Google_Service_Compute_Zones_Resource extends Google_Service_Resource 5471 { 5472 5473 /** 5474 * Returns the specified zone resource. (zones.get) 5475 * 5476 * @param string $project 5477 * Name of the project scoping this request. 5478 * @param string $zone 5479 * Name of the zone resource to return. 5480 * @param array $optParams Optional parameters. 5481 * @return Google_Service_Compute_Zone 5482 */ 5483 public function get($project, $zone, $optParams = array()) 5484 { 5485 $params = array('project' => $project, 'zone' => $zone); 5486 $params = array_merge($params, $optParams); 5487 return $this->call('get', array($params), "Google_Service_Compute_Zone"); 5488 } 5489 /** 5490 * Retrieves the list of zone resources available to the specified project. 5491 * (zones.listZones) 5492 * 5493 * @param string $project 5494 * Name of the project scoping this request. 5495 * @param array $optParams Optional parameters. 5496 * 5497 * @opt_param string filter 5498 * Optional. Filter expression for filtering listed resources. 5499 * @opt_param string pageToken 5500 * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a 5501 * previous list request. 5502 * @opt_param string maxResults 5503 * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 5504 * 500. 5505 * @return Google_Service_Compute_ZoneList 5506 */ 5507 public function listZones($project, $optParams = array()) 5508 { 5509 $params = array('project' => $project); 5510 $params = array_merge($params, $optParams); 5511 return $this->call('list', array($params), "Google_Service_Compute_ZoneList"); 5512 } 5513 } 5514 5515 5516 5517 5518 class Google_Service_Compute_AccessConfig extends Google_Model 5519 { 5520 public $kind; 5521 public $name; 5522 public $natIP; 5523 public $type; 5524 5525 public function setKind($kind) 5526 { 5527 $this->kind = $kind; 5528 } 5529 5530 public function getKind() 5531 { 5532 return $this->kind; 5533 } 5534 5535 public function setName($name) 5536 { 5537 $this->name = $name; 5538 } 5539 5540 public function getName() 5541 { 5542 return $this->name; 5543 } 5544 5545 public function setNatIP($natIP) 5546 { 5547 $this->natIP = $natIP; 5548 } 5549 5550 public function getNatIP() 5551 { 5552 return $this->natIP; 5553 } 5554 5555 public function setType($type) 5556 { 5557 $this->type = $type; 5558 } 5559 5560 public function getType() 5561 { 5562 return $this->type; 5563 } 5564 } 5565 5566 class Google_Service_Compute_Address extends Google_Collection 5567 { 5568 protected $collection_key = 'users'; 5569 public $address; 5570 public $creationTimestamp; 5571 public $description; 5572 public $id; 5573 public $kind; 5574 public $name; 5575 public $region; 5576 public $selfLink; 5577 public $status; 5578 public $users; 5579 5580 public function setAddress($address) 5581 { 5582 $this->address = $address; 5583 } 5584 5585 public function getAddress() 5586 { 5587 return $this->address; 5588 } 5589 5590 public function setCreationTimestamp($creationTimestamp) 5591 { 5592 $this->creationTimestamp = $creationTimestamp; 5593 } 5594 5595 public function getCreationTimestamp() 5596 { 5597 return $this->creationTimestamp; 5598 } 5599 5600 public function setDescription($description) 5601 { 5602 $this->description = $description; 5603 } 5604 5605 public function getDescription() 5606 { 5607 return $this->description; 5608 } 5609 5610 public function setId($id) 5611 { 5612 $this->id = $id; 5613 } 5614 5615 public function getId() 5616 { 5617 return $this->id; 5618 } 5619 5620 public function setKind($kind) 5621 { 5622 $this->kind = $kind; 5623 } 5624 5625 public function getKind() 5626 { 5627 return $this->kind; 5628 } 5629 5630 public function setName($name) 5631 { 5632 $this->name = $name; 5633 } 5634 5635 public function getName() 5636 { 5637 return $this->name; 5638 } 5639 5640 public function setRegion($region) 5641 { 5642 $this->region = $region; 5643 } 5644 5645 public function getRegion() 5646 { 5647 return $this->region; 5648 } 5649 5650 public function setSelfLink($selfLink) 5651 { 5652 $this->selfLink = $selfLink; 5653 } 5654 5655 public function getSelfLink() 5656 { 5657 return $this->selfLink; 5658 } 5659 5660 public function setStatus($status) 5661 { 5662 $this->status = $status; 5663 } 5664 5665 public function getStatus() 5666 { 5667 return $this->status; 5668 } 5669 5670 public function setUsers($users) 5671 { 5672 $this->users = $users; 5673 } 5674 5675 public function getUsers() 5676 { 5677 return $this->users; 5678 } 5679 } 5680 5681 class Google_Service_Compute_AddressAggregatedList extends Google_Model 5682 { 5683 public $id; 5684 protected $itemsType = 'Google_Service_Compute_AddressesScopedList'; 5685 protected $itemsDataType = 'map'; 5686 public $kind; 5687 public $nextPageToken; 5688 public $selfLink; 5689 5690 public function setId($id) 5691 { 5692 $this->id = $id; 5693 } 5694 5695 public function getId() 5696 { 5697 return $this->id; 5698 } 5699 5700 public function setItems($items) 5701 { 5702 $this->items = $items; 5703 } 5704 5705 public function getItems() 5706 { 5707 return $this->items; 5708 } 5709 5710 public function setKind($kind) 5711 { 5712 $this->kind = $kind; 5713 } 5714 5715 public function getKind() 5716 { 5717 return $this->kind; 5718 } 5719 5720 public function setNextPageToken($nextPageToken) 5721 { 5722 $this->nextPageToken = $nextPageToken; 5723 } 5724 5725 public function getNextPageToken() 5726 { 5727 return $this->nextPageToken; 5728 } 5729 5730 public function setSelfLink($selfLink) 5731 { 5732 $this->selfLink = $selfLink; 5733 } 5734 5735 public function getSelfLink() 5736 { 5737 return $this->selfLink; 5738 } 5739 } 5740 5741 class Google_Service_Compute_AddressAggregatedListItems extends Google_Model 5742 { 5743 5744 } 5745 5746 class Google_Service_Compute_AddressList extends Google_Collection 5747 { 5748 protected $collection_key = 'items'; 5749 public $id; 5750 protected $itemsType = 'Google_Service_Compute_Address'; 5751 protected $itemsDataType = 'array'; 5752 public $kind; 5753 public $nextPageToken; 5754 public $selfLink; 5755 5756 public function setId($id) 5757 { 5758 $this->id = $id; 5759 } 5760 5761 public function getId() 5762 { 5763 return $this->id; 5764 } 5765 5766 public function setItems($items) 5767 { 5768 $this->items = $items; 5769 } 5770 5771 public function getItems() 5772 { 5773 return $this->items; 5774 } 5775 5776 public function setKind($kind) 5777 { 5778 $this->kind = $kind; 5779 } 5780 5781 public function getKind() 5782 { 5783 return $this->kind; 5784 } 5785 5786 public function setNextPageToken($nextPageToken) 5787 { 5788 $this->nextPageToken = $nextPageToken; 5789 } 5790 5791 public function getNextPageToken() 5792 { 5793 return $this->nextPageToken; 5794 } 5795 5796 public function setSelfLink($selfLink) 5797 { 5798 $this->selfLink = $selfLink; 5799 } 5800 5801 public function getSelfLink() 5802 { 5803 return $this->selfLink; 5804 } 5805 } 5806 5807 class Google_Service_Compute_AddressesScopedList extends Google_Collection 5808 { 5809 protected $collection_key = 'addresses'; 5810 protected $addressesType = 'Google_Service_Compute_Address'; 5811 protected $addressesDataType = 'array'; 5812 protected $warningType = 'Google_Service_Compute_AddressesScopedListWarning'; 5813 protected $warningDataType = ''; 5814 5815 public function setAddresses($addresses) 5816 { 5817 $this->addresses = $addresses; 5818 } 5819 5820 public function getAddresses() 5821 { 5822 return $this->addresses; 5823 } 5824 5825 public function setWarning(Google_Service_Compute_AddressesScopedListWarning $warning) 5826 { 5827 $this->warning = $warning; 5828 } 5829 5830 public function getWarning() 5831 { 5832 return $this->warning; 5833 } 5834 } 5835 5836 class Google_Service_Compute_AddressesScopedListWarning extends Google_Collection 5837 { 5838 protected $collection_key = 'data'; 5839 public $code; 5840 protected $dataType = 'Google_Service_Compute_AddressesScopedListWarningData'; 5841 protected $dataDataType = 'array'; 5842 public $message; 5843 5844 public function setCode($code) 5845 { 5846 $this->code = $code; 5847 } 5848 5849 public function getCode() 5850 { 5851 return $this->code; 5852 } 5853 5854 public function setData($data) 5855 { 5856 $this->data = $data; 5857 } 5858 5859 public function getData() 5860 { 5861 return $this->data; 5862 } 5863 5864 public function setMessage($message) 5865 { 5866 $this->message = $message; 5867 } 5868 5869 public function getMessage() 5870 { 5871 return $this->message; 5872 } 5873 } 5874 5875 class Google_Service_Compute_AddressesScopedListWarningData extends Google_Model 5876 { 5877 public $key; 5878 public $value; 5879 5880 public function setKey($key) 5881 { 5882 $this->key = $key; 5883 } 5884 5885 public function getKey() 5886 { 5887 return $this->key; 5888 } 5889 5890 public function setValue($value) 5891 { 5892 $this->value = $value; 5893 } 5894 5895 public function getValue() 5896 { 5897 return $this->value; 5898 } 5899 } 5900 5901 class Google_Service_Compute_AttachedDisk extends Google_Collection 5902 { 5903 protected $collection_key = 'licenses'; 5904 public $autoDelete; 5905 public $boot; 5906 public $deviceName; 5907 public $index; 5908 protected $initializeParamsType = 'Google_Service_Compute_AttachedDiskInitializeParams'; 5909 protected $initializeParamsDataType = ''; 5910 public $kind; 5911 public $licenses; 5912 public $mode; 5913 public $source; 5914 public $type; 5915 5916 public function setAutoDelete($autoDelete) 5917 { 5918 $this->autoDelete = $autoDelete; 5919 } 5920 5921 public function getAutoDelete() 5922 { 5923 return $this->autoDelete; 5924 } 5925 5926 public function setBoot($boot) 5927 { 5928 $this->boot = $boot; 5929 } 5930 5931 public function getBoot() 5932 { 5933 return $this->boot; 5934 } 5935 5936 public function setDeviceName($deviceName) 5937 { 5938 $this->deviceName = $deviceName; 5939 } 5940 5941 public function getDeviceName() 5942 { 5943 return $this->deviceName; 5944 } 5945 5946 public function setIndex($index) 5947 { 5948 $this->index = $index; 5949 } 5950 5951 public function getIndex() 5952 { 5953 return $this->index; 5954 } 5955 5956 public function setInitializeParams(Google_Service_Compute_AttachedDiskInitializeParams $initializeParams) 5957 { 5958 $this->initializeParams = $initializeParams; 5959 } 5960 5961 public function getInitializeParams() 5962 { 5963 return $this->initializeParams; 5964 } 5965 5966 public function setKind($kind) 5967 { 5968 $this->kind = $kind; 5969 } 5970 5971 public function getKind() 5972 { 5973 return $this->kind; 5974 } 5975 5976 public function setLicenses($licenses) 5977 { 5978 $this->licenses = $licenses; 5979 } 5980 5981 public function getLicenses() 5982 { 5983 return $this->licenses; 5984 } 5985 5986 public function setMode($mode) 5987 { 5988 $this->mode = $mode; 5989 } 5990 5991 public function getMode() 5992 { 5993 return $this->mode; 5994 } 5995 5996 public function setSource($source) 5997 { 5998 $this->source = $source; 5999 } 6000 6001 public function getSource() 6002 { 6003 return $this->source; 6004 } 6005 6006 public function setType($type) 6007 { 6008 $this->type = $type; 6009 } 6010 6011 public function getType() 6012 { 6013 return $this->type; 6014 } 6015 } 6016 6017 class Google_Service_Compute_AttachedDiskInitializeParams extends Google_Model 6018 { 6019 public $diskName; 6020 public $diskSizeGb; 6021 public $diskType; 6022 public $sourceImage; 6023 6024 public function setDiskName($diskName) 6025 { 6026 $this->diskName = $diskName; 6027 } 6028 6029 public function getDiskName() 6030 { 6031 return $this->diskName; 6032 } 6033 6034 public function setDiskSizeGb($diskSizeGb) 6035 { 6036 $this->diskSizeGb = $diskSizeGb; 6037 } 6038 6039 public function getDiskSizeGb() 6040 { 6041 return $this->diskSizeGb; 6042 } 6043 6044 public function setDiskType($diskType) 6045 { 6046 $this->diskType = $diskType; 6047 } 6048 6049 public function getDiskType() 6050 { 6051 return $this->diskType; 6052 } 6053 6054 public function setSourceImage($sourceImage) 6055 { 6056 $this->sourceImage = $sourceImage; 6057 } 6058 6059 public function getSourceImage() 6060 { 6061 return $this->sourceImage; 6062 } 6063 } 6064 6065 class Google_Service_Compute_Backend extends Google_Model 6066 { 6067 public $balancingMode; 6068 public $capacityScaler; 6069 public $description; 6070 public $group; 6071 public $maxRate; 6072 public $maxRatePerInstance; 6073 public $maxUtilization; 6074 6075 public function setBalancingMode($balancingMode) 6076 { 6077 $this->balancingMode = $balancingMode; 6078 } 6079 6080 public function getBalancingMode() 6081 { 6082 return $this->balancingMode; 6083 } 6084 6085 public function setCapacityScaler($capacityScaler) 6086 { 6087 $this->capacityScaler = $capacityScaler; 6088 } 6089 6090 public function getCapacityScaler() 6091 { 6092 return $this->capacityScaler; 6093 } 6094 6095 public function setDescription($description) 6096 { 6097 $this->description = $description; 6098 } 6099 6100 public function getDescription() 6101 { 6102 return $this->description; 6103 } 6104 6105 public function setGroup($group) 6106 { 6107 $this->group = $group; 6108 } 6109 6110 public function getGroup() 6111 { 6112 return $this->group; 6113 } 6114 6115 public function setMaxRate($maxRate) 6116 { 6117 $this->maxRate = $maxRate; 6118 } 6119 6120 public function getMaxRate() 6121 { 6122 return $this->maxRate; 6123 } 6124 6125 public function setMaxRatePerInstance($maxRatePerInstance) 6126 { 6127 $this->maxRatePerInstance = $maxRatePerInstance; 6128 } 6129 6130 public function getMaxRatePerInstance() 6131 { 6132 return $this->maxRatePerInstance; 6133 } 6134 6135 public function setMaxUtilization($maxUtilization) 6136 { 6137 $this->maxUtilization = $maxUtilization; 6138 } 6139 6140 public function getMaxUtilization() 6141 { 6142 return $this->maxUtilization; 6143 } 6144 } 6145 6146 class Google_Service_Compute_BackendService extends Google_Collection 6147 { 6148 protected $collection_key = 'healthChecks'; 6149 protected $backendsType = 'Google_Service_Compute_Backend'; 6150 protected $backendsDataType = 'array'; 6151 public $creationTimestamp; 6152 public $description; 6153 public $fingerprint; 6154 public $healthChecks; 6155 public $id; 6156 public $kind; 6157 public $name; 6158 public $port; 6159 public $portName; 6160 public $protocol; 6161 public $selfLink; 6162 public $timeoutSec; 6163 6164 public function setBackends($backends) 6165 { 6166 $this->backends = $backends; 6167 } 6168 6169 public function getBackends() 6170 { 6171 return $this->backends; 6172 } 6173 6174 public function setCreationTimestamp($creationTimestamp) 6175 { 6176 $this->creationTimestamp = $creationTimestamp; 6177 } 6178 6179 public function getCreationTimestamp() 6180 { 6181 return $this->creationTimestamp; 6182 } 6183 6184 public function setDescription($description) 6185 { 6186 $this->description = $description; 6187 } 6188 6189 public function getDescription() 6190 { 6191 return $this->description; 6192 } 6193 6194 public function setFingerprint($fingerprint) 6195 { 6196 $this->fingerprint = $fingerprint; 6197 } 6198 6199 public function getFingerprint() 6200 { 6201 return $this->fingerprint; 6202 } 6203 6204 public function setHealthChecks($healthChecks) 6205 { 6206 $this->healthChecks = $healthChecks; 6207 } 6208 6209 public function getHealthChecks() 6210 { 6211 return $this->healthChecks; 6212 } 6213 6214 public function setId($id) 6215 { 6216 $this->id = $id; 6217 } 6218 6219 public function getId() 6220 { 6221 return $this->id; 6222 } 6223 6224 public function setKind($kind) 6225 { 6226 $this->kind = $kind; 6227 } 6228 6229 public function getKind() 6230 { 6231 return $this->kind; 6232 } 6233 6234 public function setName($name) 6235 { 6236 $this->name = $name; 6237 } 6238 6239 public function getName() 6240 { 6241 return $this->name; 6242 } 6243 6244 public function setPort($port) 6245 { 6246 $this->port = $port; 6247 } 6248 6249 public function getPort() 6250 { 6251 return $this->port; 6252 } 6253 6254 public function setPortName($portName) 6255 { 6256 $this->portName = $portName; 6257 } 6258 6259 public function getPortName() 6260 { 6261 return $this->portName; 6262 } 6263 6264 public function setProtocol($protocol) 6265 { 6266 $this->protocol = $protocol; 6267 } 6268 6269 public function getProtocol() 6270 { 6271 return $this->protocol; 6272 } 6273 6274 public function setSelfLink($selfLink) 6275 { 6276 $this->selfLink = $selfLink; 6277 } 6278 6279 public function getSelfLink() 6280 { 6281 return $this->selfLink; 6282 } 6283 6284 public function setTimeoutSec($timeoutSec) 6285 { 6286 $this->timeoutSec = $timeoutSec; 6287 } 6288 6289 public function getTimeoutSec() 6290 { 6291 return $this->timeoutSec; 6292 } 6293 } 6294 6295 class Google_Service_Compute_BackendServiceGroupHealth extends Google_Collection 6296 { 6297 protected $collection_key = 'healthStatus'; 6298 protected $healthStatusType = 'Google_Service_Compute_HealthStatus'; 6299 protected $healthStatusDataType = 'array'; 6300 public $kind; 6301 6302 public function setHealthStatus($healthStatus) 6303 { 6304 $this->healthStatus = $healthStatus; 6305 } 6306 6307 public function getHealthStatus() 6308 { 6309 return $this->healthStatus; 6310 } 6311 6312 public function setKind($kind) 6313 { 6314 $this->kind = $kind; 6315 } 6316 6317 public function getKind() 6318 { 6319 return $this->kind; 6320 } 6321 } 6322 6323 class Google_Service_Compute_BackendServiceList extends Google_Collection 6324 { 6325 protected $collection_key = 'items'; 6326 public $id; 6327 protected $itemsType = 'Google_Service_Compute_BackendService'; 6328 protected $itemsDataType = 'array'; 6329 public $kind; 6330 public $nextPageToken; 6331 public $selfLink; 6332 6333 public function setId($id) 6334 { 6335 $this->id = $id; 6336 } 6337 6338 public function getId() 6339 { 6340 return $this->id; 6341 } 6342 6343 public function setItems($items) 6344 { 6345 $this->items = $items; 6346 } 6347 6348 public function getItems() 6349 { 6350 return $this->items; 6351 } 6352 6353 public function setKind($kind) 6354 { 6355 $this->kind = $kind; 6356 } 6357 6358 public function getKind() 6359 { 6360 return $this->kind; 6361 } 6362 6363 public function setNextPageToken($nextPageToken) 6364 { 6365 $this->nextPageToken = $nextPageToken; 6366 } 6367 6368 public function getNextPageToken() 6369 { 6370 return $this->nextPageToken; 6371 } 6372 6373 public function setSelfLink($selfLink) 6374 { 6375 $this->selfLink = $selfLink; 6376 } 6377 6378 public function getSelfLink() 6379 { 6380 return $this->selfLink; 6381 } 6382 } 6383 6384 class Google_Service_Compute_DeprecationStatus extends Google_Model 6385 { 6386 public $deleted; 6387 public $deprecated; 6388 public $obsolete; 6389 public $replacement; 6390 public $state; 6391 6392 public function setDeleted($deleted) 6393 { 6394 $this->deleted = $deleted; 6395 } 6396 6397 public function getDeleted() 6398 { 6399 return $this->deleted; 6400 } 6401 6402 public function setDeprecated($deprecated) 6403 { 6404 $this->deprecated = $deprecated; 6405 } 6406 6407 public function getDeprecated() 6408 { 6409 return $this->deprecated; 6410 } 6411 6412 public function setObsolete($obsolete) 6413 { 6414 $this->obsolete = $obsolete; 6415 } 6416 6417 public function getObsolete() 6418 { 6419 return $this->obsolete; 6420 } 6421 6422 public function setReplacement($replacement) 6423 { 6424 $this->replacement = $replacement; 6425 } 6426 6427 public function getReplacement() 6428 { 6429 return $this->replacement; 6430 } 6431 6432 public function setState($state) 6433 { 6434 $this->state = $state; 6435 } 6436 6437 public function getState() 6438 { 6439 return $this->state; 6440 } 6441 } 6442 6443 class Google_Service_Compute_Disk extends Google_Collection 6444 { 6445 protected $collection_key = 'licenses'; 6446 public $creationTimestamp; 6447 public $description; 6448 public $id; 6449 public $kind; 6450 public $licenses; 6451 public $name; 6452 public $options; 6453 public $selfLink; 6454 public $sizeGb; 6455 public $sourceImage; 6456 public $sourceImageId; 6457 public $sourceSnapshot; 6458 public $sourceSnapshotId; 6459 public $status; 6460 public $type; 6461 public $zone; 6462 6463 public function setCreationTimestamp($creationTimestamp) 6464 { 6465 $this->creationTimestamp = $creationTimestamp; 6466 } 6467 6468 public function getCreationTimestamp() 6469 { 6470 return $this->creationTimestamp; 6471 } 6472 6473 public function setDescription($description) 6474 { 6475 $this->description = $description; 6476 } 6477 6478 public function getDescription() 6479 { 6480 return $this->description; 6481 } 6482 6483 public function setId($id) 6484 { 6485 $this->id = $id; 6486 } 6487 6488 public function getId() 6489 { 6490 return $this->id; 6491 } 6492 6493 public function setKind($kind) 6494 { 6495 $this->kind = $kind; 6496 } 6497 6498 public function getKind() 6499 { 6500 return $this->kind; 6501 } 6502 6503 public function setLicenses($licenses) 6504 { 6505 $this->licenses = $licenses; 6506 } 6507 6508 public function getLicenses() 6509 { 6510 return $this->licenses; 6511 } 6512 6513 public function setName($name) 6514 { 6515 $this->name = $name; 6516 } 6517 6518 public function getName() 6519 { 6520 return $this->name; 6521 } 6522 6523 public function setOptions($options) 6524 { 6525 $this->options = $options; 6526 } 6527 6528 public function getOptions() 6529 { 6530 return $this->options; 6531 } 6532 6533 public function setSelfLink($selfLink) 6534 { 6535 $this->selfLink = $selfLink; 6536 } 6537 6538 public function getSelfLink() 6539 { 6540 return $this->selfLink; 6541 } 6542 6543 public function setSizeGb($sizeGb) 6544 { 6545 $this->sizeGb = $sizeGb; 6546 } 6547 6548 public function getSizeGb() 6549 { 6550 return $this->sizeGb; 6551 } 6552 6553 public function setSourceImage($sourceImage) 6554 { 6555 $this->sourceImage = $sourceImage; 6556 } 6557 6558 public function getSourceImage() 6559 { 6560 return $this->sourceImage; 6561 } 6562 6563 public function setSourceImageId($sourceImageId) 6564 { 6565 $this->sourceImageId = $sourceImageId; 6566 } 6567 6568 public function getSourceImageId() 6569 { 6570 return $this->sourceImageId; 6571 } 6572 6573 public function setSourceSnapshot($sourceSnapshot) 6574 { 6575 $this->sourceSnapshot = $sourceSnapshot; 6576 } 6577 6578 public function getSourceSnapshot() 6579 { 6580 return $this->sourceSnapshot; 6581 } 6582 6583 public function setSourceSnapshotId($sourceSnapshotId) 6584 { 6585 $this->sourceSnapshotId = $sourceSnapshotId; 6586 } 6587 6588 public function getSourceSnapshotId() 6589 { 6590 return $this->sourceSnapshotId; 6591 } 6592 6593 public function setStatus($status) 6594 { 6595 $this->status = $status; 6596 } 6597 6598 public function getStatus() 6599 { 6600 return $this->status; 6601 } 6602 6603 public function setType($type) 6604 { 6605 $this->type = $type; 6606 } 6607 6608 public function getType() 6609 { 6610 return $this->type; 6611 } 6612 6613 public function setZone($zone) 6614 { 6615 $this->zone = $zone; 6616 } 6617 6618 public function getZone() 6619 { 6620 return $this->zone; 6621 } 6622 } 6623 6624 class Google_Service_Compute_DiskAggregatedList extends Google_Model 6625 { 6626 public $id; 6627 protected $itemsType = 'Google_Service_Compute_DisksScopedList'; 6628 protected $itemsDataType = 'map'; 6629 public $kind; 6630 public $nextPageToken; 6631 public $selfLink; 6632 6633 public function setId($id) 6634 { 6635 $this->id = $id; 6636 } 6637 6638 public function getId() 6639 { 6640 return $this->id; 6641 } 6642 6643 public function setItems($items) 6644 { 6645 $this->items = $items; 6646 } 6647 6648 public function getItems() 6649 { 6650 return $this->items; 6651 } 6652 6653 public function setKind($kind) 6654 { 6655 $this->kind = $kind; 6656 } 6657 6658 public function getKind() 6659 { 6660 return $this->kind; 6661 } 6662 6663 public function setNextPageToken($nextPageToken) 6664 { 6665 $this->nextPageToken = $nextPageToken; 6666 } 6667 6668 public function getNextPageToken() 6669 { 6670 return $this->nextPageToken; 6671 } 6672 6673 public function setSelfLink($selfLink) 6674 { 6675 $this->selfLink = $selfLink; 6676 } 6677 6678 public function getSelfLink() 6679 { 6680 return $this->selfLink; 6681 } 6682 } 6683 6684 class Google_Service_Compute_DiskAggregatedListItems extends Google_Model 6685 { 6686 6687 } 6688 6689 class Google_Service_Compute_DiskList extends Google_Collection 6690 { 6691 protected $collection_key = 'items'; 6692 public $id; 6693 protected $itemsType = 'Google_Service_Compute_Disk'; 6694 protected $itemsDataType = 'array'; 6695 public $kind; 6696 public $nextPageToken; 6697 public $selfLink; 6698 6699 public function setId($id) 6700 { 6701 $this->id = $id; 6702 } 6703 6704 public function getId() 6705 { 6706 return $this->id; 6707 } 6708 6709 public function setItems($items) 6710 { 6711 $this->items = $items; 6712 } 6713 6714 public function getItems() 6715 { 6716 return $this->items; 6717 } 6718 6719 public function setKind($kind) 6720 { 6721 $this->kind = $kind; 6722 } 6723 6724 public function getKind() 6725 { 6726 return $this->kind; 6727 } 6728 6729 public function setNextPageToken($nextPageToken) 6730 { 6731 $this->nextPageToken = $nextPageToken; 6732 } 6733 6734 public function getNextPageToken() 6735 { 6736 return $this->nextPageToken; 6737 } 6738 6739 public function setSelfLink($selfLink) 6740 { 6741 $this->selfLink = $selfLink; 6742 } 6743 6744 public function getSelfLink() 6745 { 6746 return $this->selfLink; 6747 } 6748 } 6749 6750 class Google_Service_Compute_DiskType extends Google_Model 6751 { 6752 public $creationTimestamp; 6753 public $defaultDiskSizeGb; 6754 protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; 6755 protected $deprecatedDataType = ''; 6756 public $description; 6757 public $id; 6758 public $kind; 6759 public $name; 6760 public $selfLink; 6761 public $validDiskSize; 6762 public $zone; 6763 6764 public function setCreationTimestamp($creationTimestamp) 6765 { 6766 $this->creationTimestamp = $creationTimestamp; 6767 } 6768 6769 public function getCreationTimestamp() 6770 { 6771 return $this->creationTimestamp; 6772 } 6773 6774 public function setDefaultDiskSizeGb($defaultDiskSizeGb) 6775 { 6776 $this->defaultDiskSizeGb = $defaultDiskSizeGb; 6777 } 6778 6779 public function getDefaultDiskSizeGb() 6780 { 6781 return $this->defaultDiskSizeGb; 6782 } 6783 6784 public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) 6785 { 6786 $this->deprecated = $deprecated; 6787 } 6788 6789 public function getDeprecated() 6790 { 6791 return $this->deprecated; 6792 } 6793 6794 public function setDescription($description) 6795 { 6796 $this->description = $description; 6797 } 6798 6799 public function getDescription() 6800 { 6801 return $this->description; 6802 } 6803 6804 public function setId($id) 6805 { 6806 $this->id = $id; 6807 } 6808 6809 public function getId() 6810 { 6811 return $this->id; 6812 } 6813 6814 public function setKind($kind) 6815 { 6816 $this->kind = $kind; 6817 } 6818 6819 public function getKind() 6820 { 6821 return $this->kind; 6822 } 6823 6824 public function setName($name) 6825 { 6826 $this->name = $name; 6827 } 6828 6829 public function getName() 6830 { 6831 return $this->name; 6832 } 6833 6834 public function setSelfLink($selfLink) 6835 { 6836 $this->selfLink = $selfLink; 6837 } 6838 6839 public function getSelfLink() 6840 { 6841 return $this->selfLink; 6842 } 6843 6844 public function setValidDiskSize($validDiskSize) 6845 { 6846 $this->validDiskSize = $validDiskSize; 6847 } 6848 6849 public function getValidDiskSize() 6850 { 6851 return $this->validDiskSize; 6852 } 6853 6854 public function setZone($zone) 6855 { 6856 $this->zone = $zone; 6857 } 6858 6859 public function getZone() 6860 { 6861 return $this->zone; 6862 } 6863 } 6864 6865 class Google_Service_Compute_DiskTypeAggregatedList extends Google_Model 6866 { 6867 public $id; 6868 protected $itemsType = 'Google_Service_Compute_DiskTypesScopedList'; 6869 protected $itemsDataType = 'map'; 6870 public $kind; 6871 public $nextPageToken; 6872 public $selfLink; 6873 6874 public function setId($id) 6875 { 6876 $this->id = $id; 6877 } 6878 6879 public function getId() 6880 { 6881 return $this->id; 6882 } 6883 6884 public function setItems($items) 6885 { 6886 $this->items = $items; 6887 } 6888 6889 public function getItems() 6890 { 6891 return $this->items; 6892 } 6893 6894 public function setKind($kind) 6895 { 6896 $this->kind = $kind; 6897 } 6898 6899 public function getKind() 6900 { 6901 return $this->kind; 6902 } 6903 6904 public function setNextPageToken($nextPageToken) 6905 { 6906 $this->nextPageToken = $nextPageToken; 6907 } 6908 6909 public function getNextPageToken() 6910 { 6911 return $this->nextPageToken; 6912 } 6913 6914 public function setSelfLink($selfLink) 6915 { 6916 $this->selfLink = $selfLink; 6917 } 6918 6919 public function getSelfLink() 6920 { 6921 return $this->selfLink; 6922 } 6923 } 6924 6925 class Google_Service_Compute_DiskTypeAggregatedListItems extends Google_Model 6926 { 6927 6928 } 6929 6930 class Google_Service_Compute_DiskTypeList extends Google_Collection 6931 { 6932 protected $collection_key = 'items'; 6933 public $id; 6934 protected $itemsType = 'Google_Service_Compute_DiskType'; 6935 protected $itemsDataType = 'array'; 6936 public $kind; 6937 public $nextPageToken; 6938 public $selfLink; 6939 6940 public function setId($id) 6941 { 6942 $this->id = $id; 6943 } 6944 6945 public function getId() 6946 { 6947 return $this->id; 6948 } 6949 6950 public function setItems($items) 6951 { 6952 $this->items = $items; 6953 } 6954 6955 public function getItems() 6956 { 6957 return $this->items; 6958 } 6959 6960 public function setKind($kind) 6961 { 6962 $this->kind = $kind; 6963 } 6964 6965 public function getKind() 6966 { 6967 return $this->kind; 6968 } 6969 6970 public function setNextPageToken($nextPageToken) 6971 { 6972 $this->nextPageToken = $nextPageToken; 6973 } 6974 6975 public function getNextPageToken() 6976 { 6977 return $this->nextPageToken; 6978 } 6979 6980 public function setSelfLink($selfLink) 6981 { 6982 $this->selfLink = $selfLink; 6983 } 6984 6985 public function getSelfLink() 6986 { 6987 return $this->selfLink; 6988 } 6989 } 6990 6991 class Google_Service_Compute_DiskTypesScopedList extends Google_Collection 6992 { 6993 protected $collection_key = 'diskTypes'; 6994 protected $diskTypesType = 'Google_Service_Compute_DiskType'; 6995 protected $diskTypesDataType = 'array'; 6996 protected $warningType = 'Google_Service_Compute_DiskTypesScopedListWarning'; 6997 protected $warningDataType = ''; 6998 6999 public function setDiskTypes($diskTypes) 7000 { 7001 $this->diskTypes = $diskTypes; 7002 } 7003 7004 public function getDiskTypes() 7005 { 7006 return $this->diskTypes; 7007 } 7008 7009 public function setWarning(Google_Service_Compute_DiskTypesScopedListWarning $warning) 7010 { 7011 $this->warning = $warning; 7012 } 7013 7014 public function getWarning() 7015 { 7016 return $this->warning; 7017 } 7018 } 7019 7020 class Google_Service_Compute_DiskTypesScopedListWarning extends Google_Collection 7021 { 7022 protected $collection_key = 'data'; 7023 public $code; 7024 protected $dataType = 'Google_Service_Compute_DiskTypesScopedListWarningData'; 7025 protected $dataDataType = 'array'; 7026 public $message; 7027 7028 public function setCode($code) 7029 { 7030 $this->code = $code; 7031 } 7032 7033 public function getCode() 7034 { 7035 return $this->code; 7036 } 7037 7038 public function setData($data) 7039 { 7040 $this->data = $data; 7041 } 7042 7043 public function getData() 7044 { 7045 return $this->data; 7046 } 7047 7048 public function setMessage($message) 7049 { 7050 $this->message = $message; 7051 } 7052 7053 public function getMessage() 7054 { 7055 return $this->message; 7056 } 7057 } 7058 7059 class Google_Service_Compute_DiskTypesScopedListWarningData extends Google_Model 7060 { 7061 public $key; 7062 public $value; 7063 7064 public function setKey($key) 7065 { 7066 $this->key = $key; 7067 } 7068 7069 public function getKey() 7070 { 7071 return $this->key; 7072 } 7073 7074 public function setValue($value) 7075 { 7076 $this->value = $value; 7077 } 7078 7079 public function getValue() 7080 { 7081 return $this->value; 7082 } 7083 } 7084 7085 class Google_Service_Compute_DisksScopedList extends Google_Collection 7086 { 7087 protected $collection_key = 'disks'; 7088 protected $disksType = 'Google_Service_Compute_Disk'; 7089 protected $disksDataType = 'array'; 7090 protected $warningType = 'Google_Service_Compute_DisksScopedListWarning'; 7091 protected $warningDataType = ''; 7092 7093 public function setDisks($disks) 7094 { 7095 $this->disks = $disks; 7096 } 7097 7098 public function getDisks() 7099 { 7100 return $this->disks; 7101 } 7102 7103 public function setWarning(Google_Service_Compute_DisksScopedListWarning $warning) 7104 { 7105 $this->warning = $warning; 7106 } 7107 7108 public function getWarning() 7109 { 7110 return $this->warning; 7111 } 7112 } 7113 7114 class Google_Service_Compute_DisksScopedListWarning extends Google_Collection 7115 { 7116 protected $collection_key = 'data'; 7117 public $code; 7118 protected $dataType = 'Google_Service_Compute_DisksScopedListWarningData'; 7119 protected $dataDataType = 'array'; 7120 public $message; 7121 7122 public function setCode($code) 7123 { 7124 $this->code = $code; 7125 } 7126 7127 public function getCode() 7128 { 7129 return $this->code; 7130 } 7131 7132 public function setData($data) 7133 { 7134 $this->data = $data; 7135 } 7136 7137 public function getData() 7138 { 7139 return $this->data; 7140 } 7141 7142 public function setMessage($message) 7143 { 7144 $this->message = $message; 7145 } 7146 7147 public function getMessage() 7148 { 7149 return $this->message; 7150 } 7151 } 7152 7153 class Google_Service_Compute_DisksScopedListWarningData extends Google_Model 7154 { 7155 public $key; 7156 public $value; 7157 7158 public function setKey($key) 7159 { 7160 $this->key = $key; 7161 } 7162 7163 public function getKey() 7164 { 7165 return $this->key; 7166 } 7167 7168 public function setValue($value) 7169 { 7170 $this->value = $value; 7171 } 7172 7173 public function getValue() 7174 { 7175 return $this->value; 7176 } 7177 } 7178 7179 class Google_Service_Compute_Firewall extends Google_Collection 7180 { 7181 protected $collection_key = 'targetTags'; 7182 protected $allowedType = 'Google_Service_Compute_FirewallAllowed'; 7183 protected $allowedDataType = 'array'; 7184 public $creationTimestamp; 7185 public $description; 7186 public $id; 7187 public $kind; 7188 public $name; 7189 public $network; 7190 public $selfLink; 7191 public $sourceRanges; 7192 public $sourceTags; 7193 public $targetTags; 7194 7195 public function setAllowed($allowed) 7196 { 7197 $this->allowed = $allowed; 7198 } 7199 7200 public function getAllowed() 7201 { 7202 return $this->allowed; 7203 } 7204 7205 public function setCreationTimestamp($creationTimestamp) 7206 { 7207 $this->creationTimestamp = $creationTimestamp; 7208 } 7209 7210 public function getCreationTimestamp() 7211 { 7212 return $this->creationTimestamp; 7213 } 7214 7215 public function setDescription($description) 7216 { 7217 $this->description = $description; 7218 } 7219 7220 public function getDescription() 7221 { 7222 return $this->description; 7223 } 7224 7225 public function setId($id) 7226 { 7227 $this->id = $id; 7228 } 7229 7230 public function getId() 7231 { 7232 return $this->id; 7233 } 7234 7235 public function setKind($kind) 7236 { 7237 $this->kind = $kind; 7238 } 7239 7240 public function getKind() 7241 { 7242 return $this->kind; 7243 } 7244 7245 public function setName($name) 7246 { 7247 $this->name = $name; 7248 } 7249 7250 public function getName() 7251 { 7252 return $this->name; 7253 } 7254 7255 public function setNetwork($network) 7256 { 7257 $this->network = $network; 7258 } 7259 7260 public function getNetwork() 7261 { 7262 return $this->network; 7263 } 7264 7265 public function setSelfLink($selfLink) 7266 { 7267 $this->selfLink = $selfLink; 7268 } 7269 7270 public function getSelfLink() 7271 { 7272 return $this->selfLink; 7273 } 7274 7275 public function setSourceRanges($sourceRanges) 7276 { 7277 $this->sourceRanges = $sourceRanges; 7278 } 7279 7280 public function getSourceRanges() 7281 { 7282 return $this->sourceRanges; 7283 } 7284 7285 public function setSourceTags($sourceTags) 7286 { 7287 $this->sourceTags = $sourceTags; 7288 } 7289 7290 public function getSourceTags() 7291 { 7292 return $this->sourceTags; 7293 } 7294 7295 public function setTargetTags($targetTags) 7296 { 7297 $this->targetTags = $targetTags; 7298 } 7299 7300 public function getTargetTags() 7301 { 7302 return $this->targetTags; 7303 } 7304 } 7305 7306 class Google_Service_Compute_FirewallAllowed extends Google_Collection 7307 { 7308 protected $collection_key = 'ports'; 7309 public $iPProtocol; 7310 public $ports; 7311 7312 public function setIPProtocol($iPProtocol) 7313 { 7314 $this->iPProtocol = $iPProtocol; 7315 } 7316 7317 public function getIPProtocol() 7318 { 7319 return $this->iPProtocol; 7320 } 7321 7322 public function setPorts($ports) 7323 { 7324 $this->ports = $ports; 7325 } 7326 7327 public function getPorts() 7328 { 7329 return $this->ports; 7330 } 7331 } 7332 7333 class Google_Service_Compute_FirewallList extends Google_Collection 7334 { 7335 protected $collection_key = 'items'; 7336 public $id; 7337 protected $itemsType = 'Google_Service_Compute_Firewall'; 7338 protected $itemsDataType = 'array'; 7339 public $kind; 7340 public $nextPageToken; 7341 public $selfLink; 7342 7343 public function setId($id) 7344 { 7345 $this->id = $id; 7346 } 7347 7348 public function getId() 7349 { 7350 return $this->id; 7351 } 7352 7353 public function setItems($items) 7354 { 7355 $this->items = $items; 7356 } 7357 7358 public function getItems() 7359 { 7360 return $this->items; 7361 } 7362 7363 public function setKind($kind) 7364 { 7365 $this->kind = $kind; 7366 } 7367 7368 public function getKind() 7369 { 7370 return $this->kind; 7371 } 7372 7373 public function setNextPageToken($nextPageToken) 7374 { 7375 $this->nextPageToken = $nextPageToken; 7376 } 7377 7378 public function getNextPageToken() 7379 { 7380 return $this->nextPageToken; 7381 } 7382 7383 public function setSelfLink($selfLink) 7384 { 7385 $this->selfLink = $selfLink; 7386 } 7387 7388 public function getSelfLink() 7389 { 7390 return $this->selfLink; 7391 } 7392 } 7393 7394 class Google_Service_Compute_ForwardingRule extends Google_Model 7395 { 7396 public $iPAddress; 7397 public $iPProtocol; 7398 public $creationTimestamp; 7399 public $description; 7400 public $id; 7401 public $kind; 7402 public $name; 7403 public $portRange; 7404 public $region; 7405 public $selfLink; 7406 public $target; 7407 7408 public function setIPAddress($iPAddress) 7409 { 7410 $this->iPAddress = $iPAddress; 7411 } 7412 7413 public function getIPAddress() 7414 { 7415 return $this->iPAddress; 7416 } 7417 7418 public function setIPProtocol($iPProtocol) 7419 { 7420 $this->iPProtocol = $iPProtocol; 7421 } 7422 7423 public function getIPProtocol() 7424 { 7425 return $this->iPProtocol; 7426 } 7427 7428 public function setCreationTimestamp($creationTimestamp) 7429 { 7430 $this->creationTimestamp = $creationTimestamp; 7431 } 7432 7433 public function getCreationTimestamp() 7434 { 7435 return $this->creationTimestamp; 7436 } 7437 7438 public function setDescription($description) 7439 { 7440 $this->description = $description; 7441 } 7442 7443 public function getDescription() 7444 { 7445 return $this->description; 7446 } 7447 7448 public function setId($id) 7449 { 7450 $this->id = $id; 7451 } 7452 7453 public function getId() 7454 { 7455 return $this->id; 7456 } 7457 7458 public function setKind($kind) 7459 { 7460 $this->kind = $kind; 7461 } 7462 7463 public function getKind() 7464 { 7465 return $this->kind; 7466 } 7467 7468 public function setName($name) 7469 { 7470 $this->name = $name; 7471 } 7472 7473 public function getName() 7474 { 7475 return $this->name; 7476 } 7477 7478 public function setPortRange($portRange) 7479 { 7480 $this->portRange = $portRange; 7481 } 7482 7483 public function getPortRange() 7484 { 7485 return $this->portRange; 7486 } 7487 7488 public function setRegion($region) 7489 { 7490 $this->region = $region; 7491 } 7492 7493 public function getRegion() 7494 { 7495 return $this->region; 7496 } 7497 7498 public function setSelfLink($selfLink) 7499 { 7500 $this->selfLink = $selfLink; 7501 } 7502 7503 public function getSelfLink() 7504 { 7505 return $this->selfLink; 7506 } 7507 7508 public function setTarget($target) 7509 { 7510 $this->target = $target; 7511 } 7512 7513 public function getTarget() 7514 { 7515 return $this->target; 7516 } 7517 } 7518 7519 class Google_Service_Compute_ForwardingRuleAggregatedList extends Google_Model 7520 { 7521 public $id; 7522 protected $itemsType = 'Google_Service_Compute_ForwardingRulesScopedList'; 7523 protected $itemsDataType = 'map'; 7524 public $kind; 7525 public $nextPageToken; 7526 public $selfLink; 7527 7528 public function setId($id) 7529 { 7530 $this->id = $id; 7531 } 7532 7533 public function getId() 7534 { 7535 return $this->id; 7536 } 7537 7538 public function setItems($items) 7539 { 7540 $this->items = $items; 7541 } 7542 7543 public function getItems() 7544 { 7545 return $this->items; 7546 } 7547 7548 public function setKind($kind) 7549 { 7550 $this->kind = $kind; 7551 } 7552 7553 public function getKind() 7554 { 7555 return $this->kind; 7556 } 7557 7558 public function setNextPageToken($nextPageToken) 7559 { 7560 $this->nextPageToken = $nextPageToken; 7561 } 7562 7563 public function getNextPageToken() 7564 { 7565 return $this->nextPageToken; 7566 } 7567 7568 public function setSelfLink($selfLink) 7569 { 7570 $this->selfLink = $selfLink; 7571 } 7572 7573 public function getSelfLink() 7574 { 7575 return $this->selfLink; 7576 } 7577 } 7578 7579 class Google_Service_Compute_ForwardingRuleAggregatedListItems extends Google_Model 7580 { 7581 7582 } 7583 7584 class Google_Service_Compute_ForwardingRuleList extends Google_Collection 7585 { 7586 protected $collection_key = 'items'; 7587 public $id; 7588 protected $itemsType = 'Google_Service_Compute_ForwardingRule'; 7589 protected $itemsDataType = 'array'; 7590 public $kind; 7591 public $nextPageToken; 7592 public $selfLink; 7593 7594 public function setId($id) 7595 { 7596 $this->id = $id; 7597 } 7598 7599 public function getId() 7600 { 7601 return $this->id; 7602 } 7603 7604 public function setItems($items) 7605 { 7606 $this->items = $items; 7607 } 7608 7609 public function getItems() 7610 { 7611 return $this->items; 7612 } 7613 7614 public function setKind($kind) 7615 { 7616 $this->kind = $kind; 7617 } 7618 7619 public function getKind() 7620 { 7621 return $this->kind; 7622 } 7623 7624 public function setNextPageToken($nextPageToken) 7625 { 7626 $this->nextPageToken = $nextPageToken; 7627 } 7628 7629 public function getNextPageToken() 7630 { 7631 return $this->nextPageToken; 7632 } 7633 7634 public function setSelfLink($selfLink) 7635 { 7636 $this->selfLink = $selfLink; 7637 } 7638 7639 public function getSelfLink() 7640 { 7641 return $this->selfLink; 7642 } 7643 } 7644 7645 class Google_Service_Compute_ForwardingRulesScopedList extends Google_Collection 7646 { 7647 protected $collection_key = 'forwardingRules'; 7648 protected $forwardingRulesType = 'Google_Service_Compute_ForwardingRule'; 7649 protected $forwardingRulesDataType = 'array'; 7650 protected $warningType = 'Google_Service_Compute_ForwardingRulesScopedListWarning'; 7651 protected $warningDataType = ''; 7652 7653 public function setForwardingRules($forwardingRules) 7654 { 7655 $this->forwardingRules = $forwardingRules; 7656 } 7657 7658 public function getForwardingRules() 7659 { 7660 return $this->forwardingRules; 7661 } 7662 7663 public function setWarning(Google_Service_Compute_ForwardingRulesScopedListWarning $warning) 7664 { 7665 $this->warning = $warning; 7666 } 7667 7668 public function getWarning() 7669 { 7670 return $this->warning; 7671 } 7672 } 7673 7674 class Google_Service_Compute_ForwardingRulesScopedListWarning extends Google_Collection 7675 { 7676 protected $collection_key = 'data'; 7677 public $code; 7678 protected $dataType = 'Google_Service_Compute_ForwardingRulesScopedListWarningData'; 7679 protected $dataDataType = 'array'; 7680 public $message; 7681 7682 public function setCode($code) 7683 { 7684 $this->code = $code; 7685 } 7686 7687 public function getCode() 7688 { 7689 return $this->code; 7690 } 7691 7692 public function setData($data) 7693 { 7694 $this->data = $data; 7695 } 7696 7697 public function getData() 7698 { 7699 return $this->data; 7700 } 7701 7702 public function setMessage($message) 7703 { 7704 $this->message = $message; 7705 } 7706 7707 public function getMessage() 7708 { 7709 return $this->message; 7710 } 7711 } 7712 7713 class Google_Service_Compute_ForwardingRulesScopedListWarningData extends Google_Model 7714 { 7715 public $key; 7716 public $value; 7717 7718 public function setKey($key) 7719 { 7720 $this->key = $key; 7721 } 7722 7723 public function getKey() 7724 { 7725 return $this->key; 7726 } 7727 7728 public function setValue($value) 7729 { 7730 $this->value = $value; 7731 } 7732 7733 public function getValue() 7734 { 7735 return $this->value; 7736 } 7737 } 7738 7739 class Google_Service_Compute_HealthCheckReference extends Google_Model 7740 { 7741 public $healthCheck; 7742 7743 public function setHealthCheck($healthCheck) 7744 { 7745 $this->healthCheck = $healthCheck; 7746 } 7747 7748 public function getHealthCheck() 7749 { 7750 return $this->healthCheck; 7751 } 7752 } 7753 7754 class Google_Service_Compute_HealthStatus extends Google_Model 7755 { 7756 public $healthState; 7757 public $instance; 7758 public $ipAddress; 7759 public $port; 7760 7761 public function setHealthState($healthState) 7762 { 7763 $this->healthState = $healthState; 7764 } 7765 7766 public function getHealthState() 7767 { 7768 return $this->healthState; 7769 } 7770 7771 public function setInstance($instance) 7772 { 7773 $this->instance = $instance; 7774 } 7775 7776 public function getInstance() 7777 { 7778 return $this->instance; 7779 } 7780 7781 public function setIpAddress($ipAddress) 7782 { 7783 $this->ipAddress = $ipAddress; 7784 } 7785 7786 public function getIpAddress() 7787 { 7788 return $this->ipAddress; 7789 } 7790 7791 public function setPort($port) 7792 { 7793 $this->port = $port; 7794 } 7795 7796 public function getPort() 7797 { 7798 return $this->port; 7799 } 7800 } 7801 7802 class Google_Service_Compute_HostRule extends Google_Collection 7803 { 7804 protected $collection_key = 'hosts'; 7805 public $description; 7806 public $hosts; 7807 public $pathMatcher; 7808 7809 public function setDescription($description) 7810 { 7811 $this->description = $description; 7812 } 7813 7814 public function getDescription() 7815 { 7816 return $this->description; 7817 } 7818 7819 public function setHosts($hosts) 7820 { 7821 $this->hosts = $hosts; 7822 } 7823 7824 public function getHosts() 7825 { 7826 return $this->hosts; 7827 } 7828 7829 public function setPathMatcher($pathMatcher) 7830 { 7831 $this->pathMatcher = $pathMatcher; 7832 } 7833 7834 public function getPathMatcher() 7835 { 7836 return $this->pathMatcher; 7837 } 7838 } 7839 7840 class Google_Service_Compute_HttpHealthCheck extends Google_Model 7841 { 7842 public $checkIntervalSec; 7843 public $creationTimestamp; 7844 public $description; 7845 public $healthyThreshold; 7846 public $host; 7847 public $id; 7848 public $kind; 7849 public $name; 7850 public $port; 7851 public $requestPath; 7852 public $selfLink; 7853 public $timeoutSec; 7854 public $unhealthyThreshold; 7855 7856 public function setCheckIntervalSec($checkIntervalSec) 7857 { 7858 $this->checkIntervalSec = $checkIntervalSec; 7859 } 7860 7861 public function getCheckIntervalSec() 7862 { 7863 return $this->checkIntervalSec; 7864 } 7865 7866 public function setCreationTimestamp($creationTimestamp) 7867 { 7868 $this->creationTimestamp = $creationTimestamp; 7869 } 7870 7871 public function getCreationTimestamp() 7872 { 7873 return $this->creationTimestamp; 7874 } 7875 7876 public function setDescription($description) 7877 { 7878 $this->description = $description; 7879 } 7880 7881 public function getDescription() 7882 { 7883 return $this->description; 7884 } 7885 7886 public function setHealthyThreshold($healthyThreshold) 7887 { 7888 $this->healthyThreshold = $healthyThreshold; 7889 } 7890 7891 public function getHealthyThreshold() 7892 { 7893 return $this->healthyThreshold; 7894 } 7895 7896 public function setHost($host) 7897 { 7898 $this->host = $host; 7899 } 7900 7901 public function getHost() 7902 { 7903 return $this->host; 7904 } 7905 7906 public function setId($id) 7907 { 7908 $this->id = $id; 7909 } 7910 7911 public function getId() 7912 { 7913 return $this->id; 7914 } 7915 7916 public function setKind($kind) 7917 { 7918 $this->kind = $kind; 7919 } 7920 7921 public function getKind() 7922 { 7923 return $this->kind; 7924 } 7925 7926 public function setName($name) 7927 { 7928 $this->name = $name; 7929 } 7930 7931 public function getName() 7932 { 7933 return $this->name; 7934 } 7935 7936 public function setPort($port) 7937 { 7938 $this->port = $port; 7939 } 7940 7941 public function getPort() 7942 { 7943 return $this->port; 7944 } 7945 7946 public function setRequestPath($requestPath) 7947 { 7948 $this->requestPath = $requestPath; 7949 } 7950 7951 public function getRequestPath() 7952 { 7953 return $this->requestPath; 7954 } 7955 7956 public function setSelfLink($selfLink) 7957 { 7958 $this->selfLink = $selfLink; 7959 } 7960 7961 public function getSelfLink() 7962 { 7963 return $this->selfLink; 7964 } 7965 7966 public function setTimeoutSec($timeoutSec) 7967 { 7968 $this->timeoutSec = $timeoutSec; 7969 } 7970 7971 public function getTimeoutSec() 7972 { 7973 return $this->timeoutSec; 7974 } 7975 7976 public function setUnhealthyThreshold($unhealthyThreshold) 7977 { 7978 $this->unhealthyThreshold = $unhealthyThreshold; 7979 } 7980 7981 public function getUnhealthyThreshold() 7982 { 7983 return $this->unhealthyThreshold; 7984 } 7985 } 7986 7987 class Google_Service_Compute_HttpHealthCheckList extends Google_Collection 7988 { 7989 protected $collection_key = 'items'; 7990 public $id; 7991 protected $itemsType = 'Google_Service_Compute_HttpHealthCheck'; 7992 protected $itemsDataType = 'array'; 7993 public $kind; 7994 public $nextPageToken; 7995 public $selfLink; 7996 7997 public function setId($id) 7998 { 7999 $this->id = $id; 8000 } 8001 8002 public function getId() 8003 { 8004 return $this->id; 8005 } 8006 8007 public function setItems($items) 8008 { 8009 $this->items = $items; 8010 } 8011 8012 public function getItems() 8013 { 8014 return $this->items; 8015 } 8016 8017 public function setKind($kind) 8018 { 8019 $this->kind = $kind; 8020 } 8021 8022 public function getKind() 8023 { 8024 return $this->kind; 8025 } 8026 8027 public function setNextPageToken($nextPageToken) 8028 { 8029 $this->nextPageToken = $nextPageToken; 8030 } 8031 8032 public function getNextPageToken() 8033 { 8034 return $this->nextPageToken; 8035 } 8036 8037 public function setSelfLink($selfLink) 8038 { 8039 $this->selfLink = $selfLink; 8040 } 8041 8042 public function getSelfLink() 8043 { 8044 return $this->selfLink; 8045 } 8046 } 8047 8048 class Google_Service_Compute_Image extends Google_Collection 8049 { 8050 protected $collection_key = 'licenses'; 8051 public $archiveSizeBytes; 8052 public $creationTimestamp; 8053 protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; 8054 protected $deprecatedDataType = ''; 8055 public $description; 8056 public $diskSizeGb; 8057 public $id; 8058 public $kind; 8059 public $licenses; 8060 public $name; 8061 protected $rawDiskType = 'Google_Service_Compute_ImageRawDisk'; 8062 protected $rawDiskDataType = ''; 8063 public $selfLink; 8064 public $sourceDisk; 8065 public $sourceDiskId; 8066 public $sourceType; 8067 public $status; 8068 8069 public function setArchiveSizeBytes($archiveSizeBytes) 8070 { 8071 $this->archiveSizeBytes = $archiveSizeBytes; 8072 } 8073 8074 public function getArchiveSizeBytes() 8075 { 8076 return $this->archiveSizeBytes; 8077 } 8078 8079 public function setCreationTimestamp($creationTimestamp) 8080 { 8081 $this->creationTimestamp = $creationTimestamp; 8082 } 8083 8084 public function getCreationTimestamp() 8085 { 8086 return $this->creationTimestamp; 8087 } 8088 8089 public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) 8090 { 8091 $this->deprecated = $deprecated; 8092 } 8093 8094 public function getDeprecated() 8095 { 8096 return $this->deprecated; 8097 } 8098 8099 public function setDescription($description) 8100 { 8101 $this->description = $description; 8102 } 8103 8104 public function getDescription() 8105 { 8106 return $this->description; 8107 } 8108 8109 public function setDiskSizeGb($diskSizeGb) 8110 { 8111 $this->diskSizeGb = $diskSizeGb; 8112 } 8113 8114 public function getDiskSizeGb() 8115 { 8116 return $this->diskSizeGb; 8117 } 8118 8119 public function setId($id) 8120 { 8121 $this->id = $id; 8122 } 8123 8124 public function getId() 8125 { 8126 return $this->id; 8127 } 8128 8129 public function setKind($kind) 8130 { 8131 $this->kind = $kind; 8132 } 8133 8134 public function getKind() 8135 { 8136 return $this->kind; 8137 } 8138 8139 public function setLicenses($licenses) 8140 { 8141 $this->licenses = $licenses; 8142 } 8143 8144 public function getLicenses() 8145 { 8146 return $this->licenses; 8147 } 8148 8149 public function setName($name) 8150 { 8151 $this->name = $name; 8152 } 8153 8154 public function getName() 8155 { 8156 return $this->name; 8157 } 8158 8159 public function setRawDisk(Google_Service_Compute_ImageRawDisk $rawDisk) 8160 { 8161 $this->rawDisk = $rawDisk; 8162 } 8163 8164 public function getRawDisk() 8165 { 8166 return $this->rawDisk; 8167 } 8168 8169 public function setSelfLink($selfLink) 8170 { 8171 $this->selfLink = $selfLink; 8172 } 8173 8174 public function getSelfLink() 8175 { 8176 return $this->selfLink; 8177 } 8178 8179 public function setSourceDisk($sourceDisk) 8180 { 8181 $this->sourceDisk = $sourceDisk; 8182 } 8183 8184 public function getSourceDisk() 8185 { 8186 return $this->sourceDisk; 8187 } 8188 8189 public function setSourceDiskId($sourceDiskId) 8190 { 8191 $this->sourceDiskId = $sourceDiskId; 8192 } 8193 8194 public function getSourceDiskId() 8195 { 8196 return $this->sourceDiskId; 8197 } 8198 8199 public function setSourceType($sourceType) 8200 { 8201 $this->sourceType = $sourceType; 8202 } 8203 8204 public function getSourceType() 8205 { 8206 return $this->sourceType; 8207 } 8208 8209 public function setStatus($status) 8210 { 8211 $this->status = $status; 8212 } 8213 8214 public function getStatus() 8215 { 8216 return $this->status; 8217 } 8218 } 8219 8220 class Google_Service_Compute_ImageList extends Google_Collection 8221 { 8222 protected $collection_key = 'items'; 8223 public $id; 8224 protected $itemsType = 'Google_Service_Compute_Image'; 8225 protected $itemsDataType = 'array'; 8226 public $kind; 8227 public $nextPageToken; 8228 public $selfLink; 8229 8230 public function setId($id) 8231 { 8232 $this->id = $id; 8233 } 8234 8235 public function getId() 8236 { 8237 return $this->id; 8238 } 8239 8240 public function setItems($items) 8241 { 8242 $this->items = $items; 8243 } 8244 8245 public function getItems() 8246 { 8247 return $this->items; 8248 } 8249 8250 public function setKind($kind) 8251 { 8252 $this->kind = $kind; 8253 } 8254 8255 public function getKind() 8256 { 8257 return $this->kind; 8258 } 8259 8260 public function setNextPageToken($nextPageToken) 8261 { 8262 $this->nextPageToken = $nextPageToken; 8263 } 8264 8265 public function getNextPageToken() 8266 { 8267 return $this->nextPageToken; 8268 } 8269 8270 public function setSelfLink($selfLink) 8271 { 8272 $this->selfLink = $selfLink; 8273 } 8274 8275 public function getSelfLink() 8276 { 8277 return $this->selfLink; 8278 } 8279 } 8280 8281 class Google_Service_Compute_ImageRawDisk extends Google_Model 8282 { 8283 public $containerType; 8284 public $sha1Checksum; 8285 public $source; 8286 8287 public function setContainerType($containerType) 8288 { 8289 $this->containerType = $containerType; 8290 } 8291 8292 public function getContainerType() 8293 { 8294 return $this->containerType; 8295 } 8296 8297 public function setSha1Checksum($sha1Checksum) 8298 { 8299 $this->sha1Checksum = $sha1Checksum; 8300 } 8301 8302 public function getSha1Checksum() 8303 { 8304 return $this->sha1Checksum; 8305 } 8306 8307 public function setSource($source) 8308 { 8309 $this->source = $source; 8310 } 8311 8312 public function getSource() 8313 { 8314 return $this->source; 8315 } 8316 } 8317 8318 class Google_Service_Compute_Instance extends Google_Collection 8319 { 8320 protected $collection_key = 'serviceAccounts'; 8321 public $canIpForward; 8322 public $creationTimestamp; 8323 public $description; 8324 protected $disksType = 'Google_Service_Compute_AttachedDisk'; 8325 protected $disksDataType = 'array'; 8326 public $id; 8327 public $kind; 8328 public $machineType; 8329 protected $metadataType = 'Google_Service_Compute_Metadata'; 8330 protected $metadataDataType = ''; 8331 public $name; 8332 protected $networkInterfacesType = 'Google_Service_Compute_NetworkInterface'; 8333 protected $networkInterfacesDataType = 'array'; 8334 protected $schedulingType = 'Google_Service_Compute_Scheduling'; 8335 protected $schedulingDataType = ''; 8336 public $selfLink; 8337 protected $serviceAccountsType = 'Google_Service_Compute_ServiceAccount'; 8338 protected $serviceAccountsDataType = 'array'; 8339 public $status; 8340 public $statusMessage; 8341 protected $tagsType = 'Google_Service_Compute_Tags'; 8342 protected $tagsDataType = ''; 8343 public $zone; 8344 8345 public function setCanIpForward($canIpForward) 8346 { 8347 $this->canIpForward = $canIpForward; 8348 } 8349 8350 public function getCanIpForward() 8351 { 8352 return $this->canIpForward; 8353 } 8354 8355 public function setCreationTimestamp($creationTimestamp) 8356 { 8357 $this->creationTimestamp = $creationTimestamp; 8358 } 8359 8360 public function getCreationTimestamp() 8361 { 8362 return $this->creationTimestamp; 8363 } 8364 8365 public function setDescription($description) 8366 { 8367 $this->description = $description; 8368 } 8369 8370 public function getDescription() 8371 { 8372 return $this->description; 8373 } 8374 8375 public function setDisks($disks) 8376 { 8377 $this->disks = $disks; 8378 } 8379 8380 public function getDisks() 8381 { 8382 return $this->disks; 8383 } 8384 8385 public function setId($id) 8386 { 8387 $this->id = $id; 8388 } 8389 8390 public function getId() 8391 { 8392 return $this->id; 8393 } 8394 8395 public function setKind($kind) 8396 { 8397 $this->kind = $kind; 8398 } 8399 8400 public function getKind() 8401 { 8402 return $this->kind; 8403 } 8404 8405 public function setMachineType($machineType) 8406 { 8407 $this->machineType = $machineType; 8408 } 8409 8410 public function getMachineType() 8411 { 8412 return $this->machineType; 8413 } 8414 8415 public function setMetadata(Google_Service_Compute_Metadata $metadata) 8416 { 8417 $this->metadata = $metadata; 8418 } 8419 8420 public function getMetadata() 8421 { 8422 return $this->metadata; 8423 } 8424 8425 public function setName($name) 8426 { 8427 $this->name = $name; 8428 } 8429 8430 public function getName() 8431 { 8432 return $this->name; 8433 } 8434 8435 public function setNetworkInterfaces($networkInterfaces) 8436 { 8437 $this->networkInterfaces = $networkInterfaces; 8438 } 8439 8440 public function getNetworkInterfaces() 8441 { 8442 return $this->networkInterfaces; 8443 } 8444 8445 public function setScheduling(Google_Service_Compute_Scheduling $scheduling) 8446 { 8447 $this->scheduling = $scheduling; 8448 } 8449 8450 public function getScheduling() 8451 { 8452 return $this->scheduling; 8453 } 8454 8455 public function setSelfLink($selfLink) 8456 { 8457 $this->selfLink = $selfLink; 8458 } 8459 8460 public function getSelfLink() 8461 { 8462 return $this->selfLink; 8463 } 8464 8465 public function setServiceAccounts($serviceAccounts) 8466 { 8467 $this->serviceAccounts = $serviceAccounts; 8468 } 8469 8470 public function getServiceAccounts() 8471 { 8472 return $this->serviceAccounts; 8473 } 8474 8475 public function setStatus($status) 8476 { 8477 $this->status = $status; 8478 } 8479 8480 public function getStatus() 8481 { 8482 return $this->status; 8483 } 8484 8485 public function setStatusMessage($statusMessage) 8486 { 8487 $this->statusMessage = $statusMessage; 8488 } 8489 8490 public function getStatusMessage() 8491 { 8492 return $this->statusMessage; 8493 } 8494 8495 public function setTags(Google_Service_Compute_Tags $tags) 8496 { 8497 $this->tags = $tags; 8498 } 8499 8500 public function getTags() 8501 { 8502 return $this->tags; 8503 } 8504 8505 public function setZone($zone) 8506 { 8507 $this->zone = $zone; 8508 } 8509 8510 public function getZone() 8511 { 8512 return $this->zone; 8513 } 8514 } 8515 8516 class Google_Service_Compute_InstanceAggregatedList extends Google_Model 8517 { 8518 public $id; 8519 protected $itemsType = 'Google_Service_Compute_InstancesScopedList'; 8520 protected $itemsDataType = 'map'; 8521 public $kind; 8522 public $nextPageToken; 8523 public $selfLink; 8524 8525 public function setId($id) 8526 { 8527 $this->id = $id; 8528 } 8529 8530 public function getId() 8531 { 8532 return $this->id; 8533 } 8534 8535 public function setItems($items) 8536 { 8537 $this->items = $items; 8538 } 8539 8540 public function getItems() 8541 { 8542 return $this->items; 8543 } 8544 8545 public function setKind($kind) 8546 { 8547 $this->kind = $kind; 8548 } 8549 8550 public function getKind() 8551 { 8552 return $this->kind; 8553 } 8554 8555 public function setNextPageToken($nextPageToken) 8556 { 8557 $this->nextPageToken = $nextPageToken; 8558 } 8559 8560 public function getNextPageToken() 8561 { 8562 return $this->nextPageToken; 8563 } 8564 8565 public function setSelfLink($selfLink) 8566 { 8567 $this->selfLink = $selfLink; 8568 } 8569 8570 public function getSelfLink() 8571 { 8572 return $this->selfLink; 8573 } 8574 } 8575 8576 class Google_Service_Compute_InstanceAggregatedListItems extends Google_Model 8577 { 8578 8579 } 8580 8581 class Google_Service_Compute_InstanceList extends Google_Collection 8582 { 8583 protected $collection_key = 'items'; 8584 public $id; 8585 protected $itemsType = 'Google_Service_Compute_Instance'; 8586 protected $itemsDataType = 'array'; 8587 public $kind; 8588 public $nextPageToken; 8589 public $selfLink; 8590 8591 public function setId($id) 8592 { 8593 $this->id = $id; 8594 } 8595 8596 public function getId() 8597 { 8598 return $this->id; 8599 } 8600 8601 public function setItems($items) 8602 { 8603 $this->items = $items; 8604 } 8605 8606 public function getItems() 8607 { 8608 return $this->items; 8609 } 8610 8611 public function setKind($kind) 8612 { 8613 $this->kind = $kind; 8614 } 8615 8616 public function getKind() 8617 { 8618 return $this->kind; 8619 } 8620 8621 public function setNextPageToken($nextPageToken) 8622 { 8623 $this->nextPageToken = $nextPageToken; 8624 } 8625 8626 public function getNextPageToken() 8627 { 8628 return $this->nextPageToken; 8629 } 8630 8631 public function setSelfLink($selfLink) 8632 { 8633 $this->selfLink = $selfLink; 8634 } 8635 8636 public function getSelfLink() 8637 { 8638 return $this->selfLink; 8639 } 8640 } 8641 8642 class Google_Service_Compute_InstanceReference extends Google_Model 8643 { 8644 public $instance; 8645 8646 public function setInstance($instance) 8647 { 8648 $this->instance = $instance; 8649 } 8650 8651 public function getInstance() 8652 { 8653 return $this->instance; 8654 } 8655 } 8656 8657 class Google_Service_Compute_InstancesScopedList extends Google_Collection 8658 { 8659 protected $collection_key = 'instances'; 8660 protected $instancesType = 'Google_Service_Compute_Instance'; 8661 protected $instancesDataType = 'array'; 8662 protected $warningType = 'Google_Service_Compute_InstancesScopedListWarning'; 8663 protected $warningDataType = ''; 8664 8665 public function setInstances($instances) 8666 { 8667 $this->instances = $instances; 8668 } 8669 8670 public function getInstances() 8671 { 8672 return $this->instances; 8673 } 8674 8675 public function setWarning(Google_Service_Compute_InstancesScopedListWarning $warning) 8676 { 8677 $this->warning = $warning; 8678 } 8679 8680 public function getWarning() 8681 { 8682 return $this->warning; 8683 } 8684 } 8685 8686 class Google_Service_Compute_InstancesScopedListWarning extends Google_Collection 8687 { 8688 protected $collection_key = 'data'; 8689 public $code; 8690 protected $dataType = 'Google_Service_Compute_InstancesScopedListWarningData'; 8691 protected $dataDataType = 'array'; 8692 public $message; 8693 8694 public function setCode($code) 8695 { 8696 $this->code = $code; 8697 } 8698 8699 public function getCode() 8700 { 8701 return $this->code; 8702 } 8703 8704 public function setData($data) 8705 { 8706 $this->data = $data; 8707 } 8708 8709 public function getData() 8710 { 8711 return $this->data; 8712 } 8713 8714 public function setMessage($message) 8715 { 8716 $this->message = $message; 8717 } 8718 8719 public function getMessage() 8720 { 8721 return $this->message; 8722 } 8723 } 8724 8725 class Google_Service_Compute_InstancesScopedListWarningData extends Google_Model 8726 { 8727 public $key; 8728 public $value; 8729 8730 public function setKey($key) 8731 { 8732 $this->key = $key; 8733 } 8734 8735 public function getKey() 8736 { 8737 return $this->key; 8738 } 8739 8740 public function setValue($value) 8741 { 8742 $this->value = $value; 8743 } 8744 8745 public function getValue() 8746 { 8747 return $this->value; 8748 } 8749 } 8750 8751 class Google_Service_Compute_License extends Google_Model 8752 { 8753 public $chargesUseFee; 8754 public $kind; 8755 public $name; 8756 public $selfLink; 8757 8758 public function setChargesUseFee($chargesUseFee) 8759 { 8760 $this->chargesUseFee = $chargesUseFee; 8761 } 8762 8763 public function getChargesUseFee() 8764 { 8765 return $this->chargesUseFee; 8766 } 8767 8768 public function setKind($kind) 8769 { 8770 $this->kind = $kind; 8771 } 8772 8773 public function getKind() 8774 { 8775 return $this->kind; 8776 } 8777 8778 public function setName($name) 8779 { 8780 $this->name = $name; 8781 } 8782 8783 public function getName() 8784 { 8785 return $this->name; 8786 } 8787 8788 public function setSelfLink($selfLink) 8789 { 8790 $this->selfLink = $selfLink; 8791 } 8792 8793 public function getSelfLink() 8794 { 8795 return $this->selfLink; 8796 } 8797 } 8798 8799 class Google_Service_Compute_MachineType extends Google_Collection 8800 { 8801 protected $collection_key = 'scratchDisks'; 8802 public $creationTimestamp; 8803 protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; 8804 protected $deprecatedDataType = ''; 8805 public $description; 8806 public $guestCpus; 8807 public $id; 8808 public $imageSpaceGb; 8809 public $kind; 8810 public $maximumPersistentDisks; 8811 public $maximumPersistentDisksSizeGb; 8812 public $memoryMb; 8813 public $name; 8814 protected $scratchDisksType = 'Google_Service_Compute_MachineTypeScratchDisks'; 8815 protected $scratchDisksDataType = 'array'; 8816 public $selfLink; 8817 public $zone; 8818 8819 public function setCreationTimestamp($creationTimestamp) 8820 { 8821 $this->creationTimestamp = $creationTimestamp; 8822 } 8823 8824 public function getCreationTimestamp() 8825 { 8826 return $this->creationTimestamp; 8827 } 8828 8829 public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) 8830 { 8831 $this->deprecated = $deprecated; 8832 } 8833 8834 public function getDeprecated() 8835 { 8836 return $this->deprecated; 8837 } 8838 8839 public function setDescription($description) 8840 { 8841 $this->description = $description; 8842 } 8843 8844 public function getDescription() 8845 { 8846 return $this->description; 8847 } 8848 8849 public function setGuestCpus($guestCpus) 8850 { 8851 $this->guestCpus = $guestCpus; 8852 } 8853 8854 public function getGuestCpus() 8855 { 8856 return $this->guestCpus; 8857 } 8858 8859 public function setId($id) 8860 { 8861 $this->id = $id; 8862 } 8863 8864 public function getId() 8865 { 8866 return $this->id; 8867 } 8868 8869 public function setImageSpaceGb($imageSpaceGb) 8870 { 8871 $this->imageSpaceGb = $imageSpaceGb; 8872 } 8873 8874 public function getImageSpaceGb() 8875 { 8876 return $this->imageSpaceGb; 8877 } 8878 8879 public function setKind($kind) 8880 { 8881 $this->kind = $kind; 8882 } 8883 8884 public function getKind() 8885 { 8886 return $this->kind; 8887 } 8888 8889 public function setMaximumPersistentDisks($maximumPersistentDisks) 8890 { 8891 $this->maximumPersistentDisks = $maximumPersistentDisks; 8892 } 8893 8894 public function getMaximumPersistentDisks() 8895 { 8896 return $this->maximumPersistentDisks; 8897 } 8898 8899 public function setMaximumPersistentDisksSizeGb($maximumPersistentDisksSizeGb) 8900 { 8901 $this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb; 8902 } 8903 8904 public function getMaximumPersistentDisksSizeGb() 8905 { 8906 return $this->maximumPersistentDisksSizeGb; 8907 } 8908 8909 public function setMemoryMb($memoryMb) 8910 { 8911 $this->memoryMb = $memoryMb; 8912 } 8913 8914 public function getMemoryMb() 8915 { 8916 return $this->memoryMb; 8917 } 8918 8919 public function setName($name) 8920 { 8921 $this->name = $name; 8922 } 8923 8924 public function getName() 8925 { 8926 return $this->name; 8927 } 8928 8929 public function setScratchDisks($scratchDisks) 8930 { 8931 $this->scratchDisks = $scratchDisks; 8932 } 8933 8934 public function getScratchDisks() 8935 { 8936 return $this->scratchDisks; 8937 } 8938 8939 public function setSelfLink($selfLink) 8940 { 8941 $this->selfLink = $selfLink; 8942 } 8943 8944 public function getSelfLink() 8945 { 8946 return $this->selfLink; 8947 } 8948 8949 public function setZone($zone) 8950 { 8951 $this->zone = $zone; 8952 } 8953 8954 public function getZone() 8955 { 8956 return $this->zone; 8957 } 8958 } 8959 8960 class Google_Service_Compute_MachineTypeAggregatedList extends Google_Model 8961 { 8962 public $id; 8963 protected $itemsType = 'Google_Service_Compute_MachineTypesScopedList'; 8964 protected $itemsDataType = 'map'; 8965 public $kind; 8966 public $nextPageToken; 8967 public $selfLink; 8968 8969 public function setId($id) 8970 { 8971 $this->id = $id; 8972 } 8973 8974 public function getId() 8975 { 8976 return $this->id; 8977 } 8978 8979 public function setItems($items) 8980 { 8981 $this->items = $items; 8982 } 8983 8984 public function getItems() 8985 { 8986 return $this->items; 8987 } 8988 8989 public function setKind($kind) 8990 { 8991 $this->kind = $kind; 8992 } 8993 8994 public function getKind() 8995 { 8996 return $this->kind; 8997 } 8998 8999 public function setNextPageToken($nextPageToken) 9000 { 9001 $this->nextPageToken = $nextPageToken; 9002 } 9003 9004 public function getNextPageToken() 9005 { 9006 return $this->nextPageToken; 9007 } 9008 9009 public function setSelfLink($selfLink) 9010 { 9011 $this->selfLink = $selfLink; 9012 } 9013 9014 public function getSelfLink() 9015 { 9016 return $this->selfLink; 9017 } 9018 } 9019 9020 class Google_Service_Compute_MachineTypeAggregatedListItems extends Google_Model 9021 { 9022 9023 } 9024 9025 class Google_Service_Compute_MachineTypeList extends Google_Collection 9026 { 9027 protected $collection_key = 'items'; 9028 public $id; 9029 protected $itemsType = 'Google_Service_Compute_MachineType'; 9030 protected $itemsDataType = 'array'; 9031 public $kind; 9032 public $nextPageToken; 9033 public $selfLink; 9034 9035 public function setId($id) 9036 { 9037 $this->id = $id; 9038 } 9039 9040 public function getId() 9041 { 9042 return $this->id; 9043 } 9044 9045 public function setItems($items) 9046 { 9047 $this->items = $items; 9048 } 9049 9050 public function getItems() 9051 { 9052 return $this->items; 9053 } 9054 9055 public function setKind($kind) 9056 { 9057 $this->kind = $kind; 9058 } 9059 9060 public function getKind() 9061 { 9062 return $this->kind; 9063 } 9064 9065 public function setNextPageToken($nextPageToken) 9066 { 9067 $this->nextPageToken = $nextPageToken; 9068 } 9069 9070 public function getNextPageToken() 9071 { 9072 return $this->nextPageToken; 9073 } 9074 9075 public function setSelfLink($selfLink) 9076 { 9077 $this->selfLink = $selfLink; 9078 } 9079 9080 public function getSelfLink() 9081 { 9082 return $this->selfLink; 9083 } 9084 } 9085 9086 class Google_Service_Compute_MachineTypeScratchDisks extends Google_Model 9087 { 9088 public $diskGb; 9089 9090 public function setDiskGb($diskGb) 9091 { 9092 $this->diskGb = $diskGb; 9093 } 9094 9095 public function getDiskGb() 9096 { 9097 return $this->diskGb; 9098 } 9099 } 9100 9101 class Google_Service_Compute_MachineTypesScopedList extends Google_Collection 9102 { 9103 protected $collection_key = 'machineTypes'; 9104 protected $machineTypesType = 'Google_Service_Compute_MachineType'; 9105 protected $machineTypesDataType = 'array'; 9106 protected $warningType = 'Google_Service_Compute_MachineTypesScopedListWarning'; 9107 protected $warningDataType = ''; 9108 9109 public function setMachineTypes($machineTypes) 9110 { 9111 $this->machineTypes = $machineTypes; 9112 } 9113 9114 public function getMachineTypes() 9115 { 9116 return $this->machineTypes; 9117 } 9118 9119 public function setWarning(Google_Service_Compute_MachineTypesScopedListWarning $warning) 9120 { 9121 $this->warning = $warning; 9122 } 9123 9124 public function getWarning() 9125 { 9126 return $this->warning; 9127 } 9128 } 9129 9130 class Google_Service_Compute_MachineTypesScopedListWarning extends Google_Collection 9131 { 9132 protected $collection_key = 'data'; 9133 public $code; 9134 protected $dataType = 'Google_Service_Compute_MachineTypesScopedListWarningData'; 9135 protected $dataDataType = 'array'; 9136 public $message; 9137 9138 public function setCode($code) 9139 { 9140 $this->code = $code; 9141 } 9142 9143 public function getCode() 9144 { 9145 return $this->code; 9146 } 9147 9148 public function setData($data) 9149 { 9150 $this->data = $data; 9151 } 9152 9153 public function getData() 9154 { 9155 return $this->data; 9156 } 9157 9158 public function setMessage($message) 9159 { 9160 $this->message = $message; 9161 } 9162 9163 public function getMessage() 9164 { 9165 return $this->message; 9166 } 9167 } 9168 9169 class Google_Service_Compute_MachineTypesScopedListWarningData extends Google_Model 9170 { 9171 public $key; 9172 public $value; 9173 9174 public function setKey($key) 9175 { 9176 $this->key = $key; 9177 } 9178 9179 public function getKey() 9180 { 9181 return $this->key; 9182 } 9183 9184 public function setValue($value) 9185 { 9186 $this->value = $value; 9187 } 9188 9189 public function getValue() 9190 { 9191 return $this->value; 9192 } 9193 } 9194 9195 class Google_Service_Compute_Metadata extends Google_Collection 9196 { 9197 protected $collection_key = 'items'; 9198 public $fingerprint; 9199 protected $itemsType = 'Google_Service_Compute_MetadataItems'; 9200 protected $itemsDataType = 'array'; 9201 public $kind; 9202 9203 public function setFingerprint($fingerprint) 9204 { 9205 $this->fingerprint = $fingerprint; 9206 } 9207 9208 public function getFingerprint() 9209 { 9210 return $this->fingerprint; 9211 } 9212 9213 public function setItems($items) 9214 { 9215 $this->items = $items; 9216 } 9217 9218 public function getItems() 9219 { 9220 return $this->items; 9221 } 9222 9223 public function setKind($kind) 9224 { 9225 $this->kind = $kind; 9226 } 9227 9228 public function getKind() 9229 { 9230 return $this->kind; 9231 } 9232 } 9233 9234 class Google_Service_Compute_MetadataItems extends Google_Model 9235 { 9236 public $key; 9237 public $value; 9238 9239 public function setKey($key) 9240 { 9241 $this->key = $key; 9242 } 9243 9244 public function getKey() 9245 { 9246 return $this->key; 9247 } 9248 9249 public function setValue($value) 9250 { 9251 $this->value = $value; 9252 } 9253 9254 public function getValue() 9255 { 9256 return $this->value; 9257 } 9258 } 9259 9260 class Google_Service_Compute_Network extends Google_Model 9261 { 9262 public $iPv4Range; 9263 public $creationTimestamp; 9264 public $description; 9265 public $gatewayIPv4; 9266 public $id; 9267 public $kind; 9268 public $name; 9269 public $selfLink; 9270 9271 public function setIPv4Range($iPv4Range) 9272 { 9273 $this->iPv4Range = $iPv4Range; 9274 } 9275 9276 public function getIPv4Range() 9277 { 9278 return $this->iPv4Range; 9279 } 9280 9281 public function setCreationTimestamp($creationTimestamp) 9282 { 9283 $this->creationTimestamp = $creationTimestamp; 9284 } 9285 9286 public function getCreationTimestamp() 9287 { 9288 return $this->creationTimestamp; 9289 } 9290 9291 public function setDescription($description) 9292 { 9293 $this->description = $description; 9294 } 9295 9296 public function getDescription() 9297 { 9298 return $this->description; 9299 } 9300 9301 public function setGatewayIPv4($gatewayIPv4) 9302 { 9303 $this->gatewayIPv4 = $gatewayIPv4; 9304 } 9305 9306 public function getGatewayIPv4() 9307 { 9308 return $this->gatewayIPv4; 9309 } 9310 9311 public function setId($id) 9312 { 9313 $this->id = $id; 9314 } 9315 9316 public function getId() 9317 { 9318 return $this->id; 9319 } 9320 9321 public function setKind($kind) 9322 { 9323 $this->kind = $kind; 9324 } 9325 9326 public function getKind() 9327 { 9328 return $this->kind; 9329 } 9330 9331 public function setName($name) 9332 { 9333 $this->name = $name; 9334 } 9335 9336 public function getName() 9337 { 9338 return $this->name; 9339 } 9340 9341 public function setSelfLink($selfLink) 9342 { 9343 $this->selfLink = $selfLink; 9344 } 9345 9346 public function getSelfLink() 9347 { 9348 return $this->selfLink; 9349 } 9350 } 9351 9352 class Google_Service_Compute_NetworkInterface extends Google_Collection 9353 { 9354 protected $collection_key = 'accessConfigs'; 9355 protected $accessConfigsType = 'Google_Service_Compute_AccessConfig'; 9356 protected $accessConfigsDataType = 'array'; 9357 public $name; 9358 public $network; 9359 public $networkIP; 9360 9361 public function setAccessConfigs($accessConfigs) 9362 { 9363 $this->accessConfigs = $accessConfigs; 9364 } 9365 9366 public function getAccessConfigs() 9367 { 9368 return $this->accessConfigs; 9369 } 9370 9371 public function setName($name) 9372 { 9373 $this->name = $name; 9374 } 9375 9376 public function getName() 9377 { 9378 return $this->name; 9379 } 9380 9381 public function setNetwork($network) 9382 { 9383 $this->network = $network; 9384 } 9385 9386 public function getNetwork() 9387 { 9388 return $this->network; 9389 } 9390 9391 public function setNetworkIP($networkIP) 9392 { 9393 $this->networkIP = $networkIP; 9394 } 9395 9396 public function getNetworkIP() 9397 { 9398 return $this->networkIP; 9399 } 9400 } 9401 9402 class Google_Service_Compute_NetworkList extends Google_Collection 9403 { 9404 protected $collection_key = 'items'; 9405 public $id; 9406 protected $itemsType = 'Google_Service_Compute_Network'; 9407 protected $itemsDataType = 'array'; 9408 public $kind; 9409 public $nextPageToken; 9410 public $selfLink; 9411 9412 public function setId($id) 9413 { 9414 $this->id = $id; 9415 } 9416 9417 public function getId() 9418 { 9419 return $this->id; 9420 } 9421 9422 public function setItems($items) 9423 { 9424 $this->items = $items; 9425 } 9426 9427 public function getItems() 9428 { 9429 return $this->items; 9430 } 9431 9432 public function setKind($kind) 9433 { 9434 $this->kind = $kind; 9435 } 9436 9437 public function getKind() 9438 { 9439 return $this->kind; 9440 } 9441 9442 public function setNextPageToken($nextPageToken) 9443 { 9444 $this->nextPageToken = $nextPageToken; 9445 } 9446 9447 public function getNextPageToken() 9448 { 9449 return $this->nextPageToken; 9450 } 9451 9452 public function setSelfLink($selfLink) 9453 { 9454 $this->selfLink = $selfLink; 9455 } 9456 9457 public function getSelfLink() 9458 { 9459 return $this->selfLink; 9460 } 9461 } 9462 9463 class Google_Service_Compute_Operation extends Google_Collection 9464 { 9465 protected $collection_key = 'warnings'; 9466 public $clientOperationId; 9467 public $creationTimestamp; 9468 public $endTime; 9469 protected $errorType = 'Google_Service_Compute_OperationError'; 9470 protected $errorDataType = ''; 9471 public $httpErrorMessage; 9472 public $httpErrorStatusCode; 9473 public $id; 9474 public $insertTime; 9475 public $kind; 9476 public $name; 9477 public $operationType; 9478 public $progress; 9479 public $region; 9480 public $selfLink; 9481 public $startTime; 9482 public $status; 9483 public $statusMessage; 9484 public $targetId; 9485 public $targetLink; 9486 public $user; 9487 protected $warningsType = 'Google_Service_Compute_OperationWarnings'; 9488 protected $warningsDataType = 'array'; 9489 public $zone; 9490 9491 public function setClientOperationId($clientOperationId) 9492 { 9493 $this->clientOperationId = $clientOperationId; 9494 } 9495 9496 public function getClientOperationId() 9497 { 9498 return $this->clientOperationId; 9499 } 9500 9501 public function setCreationTimestamp($creationTimestamp) 9502 { 9503 $this->creationTimestamp = $creationTimestamp; 9504 } 9505 9506 public function getCreationTimestamp() 9507 { 9508 return $this->creationTimestamp; 9509 } 9510 9511 public function setEndTime($endTime) 9512 { 9513 $this->endTime = $endTime; 9514 } 9515 9516 public function getEndTime() 9517 { 9518 return $this->endTime; 9519 } 9520 9521 public function setError(Google_Service_Compute_OperationError $error) 9522 { 9523 $this->error = $error; 9524 } 9525 9526 public function getError() 9527 { 9528 return $this->error; 9529 } 9530 9531 public function setHttpErrorMessage($httpErrorMessage) 9532 { 9533 $this->httpErrorMessage = $httpErrorMessage; 9534 } 9535 9536 public function getHttpErrorMessage() 9537 { 9538 return $this->httpErrorMessage; 9539 } 9540 9541 public function setHttpErrorStatusCode($httpErrorStatusCode) 9542 { 9543 $this->httpErrorStatusCode = $httpErrorStatusCode; 9544 } 9545 9546 public function getHttpErrorStatusCode() 9547 { 9548 return $this->httpErrorStatusCode; 9549 } 9550 9551 public function setId($id) 9552 { 9553 $this->id = $id; 9554 } 9555 9556 public function getId() 9557 { 9558 return $this->id; 9559 } 9560 9561 public function setInsertTime($insertTime) 9562 { 9563 $this->insertTime = $insertTime; 9564 } 9565 9566 public function getInsertTime() 9567 { 9568 return $this->insertTime; 9569 } 9570 9571 public function setKind($kind) 9572 { 9573 $this->kind = $kind; 9574 } 9575 9576 public function getKind() 9577 { 9578 return $this->kind; 9579 } 9580 9581 public function setName($name) 9582 { 9583 $this->name = $name; 9584 } 9585 9586 public function getName() 9587 { 9588 return $this->name; 9589 } 9590 9591 public function setOperationType($operationType) 9592 { 9593 $this->operationType = $operationType; 9594 } 9595 9596 public function getOperationType() 9597 { 9598 return $this->operationType; 9599 } 9600 9601 public function setProgress($progress) 9602 { 9603 $this->progress = $progress; 9604 } 9605 9606 public function getProgress() 9607 { 9608 return $this->progress; 9609 } 9610 9611 public function setRegion($region) 9612 { 9613 $this->region = $region; 9614 } 9615 9616 public function getRegion() 9617 { 9618 return $this->region; 9619 } 9620 9621 public function setSelfLink($selfLink) 9622 { 9623 $this->selfLink = $selfLink; 9624 } 9625 9626 public function getSelfLink() 9627 { 9628 return $this->selfLink; 9629 } 9630 9631 public function setStartTime($startTime) 9632 { 9633 $this->startTime = $startTime; 9634 } 9635 9636 public function getStartTime() 9637 { 9638 return $this->startTime; 9639 } 9640 9641 public function setStatus($status) 9642 { 9643 $this->status = $status; 9644 } 9645 9646 public function getStatus() 9647 { 9648 return $this->status; 9649 } 9650 9651 public function setStatusMessage($statusMessage) 9652 { 9653 $this->statusMessage = $statusMessage; 9654 } 9655 9656 public function getStatusMessage() 9657 { 9658 return $this->statusMessage; 9659 } 9660 9661 public function setTargetId($targetId) 9662 { 9663 $this->targetId = $targetId; 9664 } 9665 9666 public function getTargetId() 9667 { 9668 return $this->targetId; 9669 } 9670 9671 public function setTargetLink($targetLink) 9672 { 9673 $this->targetLink = $targetLink; 9674 } 9675 9676 public function getTargetLink() 9677 { 9678 return $this->targetLink; 9679 } 9680 9681 public function setUser($user) 9682 { 9683 $this->user = $user; 9684 } 9685 9686 public function getUser() 9687 { 9688 return $this->user; 9689 } 9690 9691 public function setWarnings($warnings) 9692 { 9693 $this->warnings = $warnings; 9694 } 9695 9696 public function getWarnings() 9697 { 9698 return $this->warnings; 9699 } 9700 9701 public function setZone($zone) 9702 { 9703 $this->zone = $zone; 9704 } 9705 9706 public function getZone() 9707 { 9708 return $this->zone; 9709 } 9710 } 9711 9712 class Google_Service_Compute_OperationAggregatedList extends Google_Model 9713 { 9714 public $id; 9715 protected $itemsType = 'Google_Service_Compute_OperationsScopedList'; 9716 protected $itemsDataType = 'map'; 9717 public $kind; 9718 public $nextPageToken; 9719 public $selfLink; 9720 9721 public function setId($id) 9722 { 9723 $this->id = $id; 9724 } 9725 9726 public function getId() 9727 { 9728 return $this->id; 9729 } 9730 9731 public function setItems($items) 9732 { 9733 $this->items = $items; 9734 } 9735 9736 public function getItems() 9737 { 9738 return $this->items; 9739 } 9740 9741 public function setKind($kind) 9742 { 9743 $this->kind = $kind; 9744 } 9745 9746 public function getKind() 9747 { 9748 return $this->kind; 9749 } 9750 9751 public function setNextPageToken($nextPageToken) 9752 { 9753 $this->nextPageToken = $nextPageToken; 9754 } 9755 9756 public function getNextPageToken() 9757 { 9758 return $this->nextPageToken; 9759 } 9760 9761 public function setSelfLink($selfLink) 9762 { 9763 $this->selfLink = $selfLink; 9764 } 9765 9766 public function getSelfLink() 9767 { 9768 return $this->selfLink; 9769 } 9770 } 9771 9772 class Google_Service_Compute_OperationAggregatedListItems extends Google_Model 9773 { 9774 9775 } 9776 9777 class Google_Service_Compute_OperationError extends Google_Collection 9778 { 9779 protected $collection_key = 'errors'; 9780 protected $errorsType = 'Google_Service_Compute_OperationErrorErrors'; 9781 protected $errorsDataType = 'array'; 9782 9783 public function setErrors($errors) 9784 { 9785 $this->errors = $errors; 9786 } 9787 9788 public function getErrors() 9789 { 9790 return $this->errors; 9791 } 9792 } 9793 9794 class Google_Service_Compute_OperationErrorErrors extends Google_Model 9795 { 9796 public $code; 9797 public $location; 9798 public $message; 9799 9800 public function setCode($code) 9801 { 9802 $this->code = $code; 9803 } 9804 9805 public function getCode() 9806 { 9807 return $this->code; 9808 } 9809 9810 public function setLocation($location) 9811 { 9812 $this->location = $location; 9813 } 9814 9815 public function getLocation() 9816 { 9817 return $this->location; 9818 } 9819 9820 public function setMessage($message) 9821 { 9822 $this->message = $message; 9823 } 9824 9825 public function getMessage() 9826 { 9827 return $this->message; 9828 } 9829 } 9830 9831 class Google_Service_Compute_OperationList extends Google_Collection 9832 { 9833 protected $collection_key = 'items'; 9834 public $id; 9835 protected $itemsType = 'Google_Service_Compute_Operation'; 9836 protected $itemsDataType = 'array'; 9837 public $kind; 9838 public $nextPageToken; 9839 public $selfLink; 9840 9841 public function setId($id) 9842 { 9843 $this->id = $id; 9844 } 9845 9846 public function getId() 9847 { 9848 return $this->id; 9849 } 9850 9851 public function setItems($items) 9852 { 9853 $this->items = $items; 9854 } 9855 9856 public function getItems() 9857 { 9858 return $this->items; 9859 } 9860 9861 public function setKind($kind) 9862 { 9863 $this->kind = $kind; 9864 } 9865 9866 public function getKind() 9867 { 9868 return $this->kind; 9869 } 9870 9871 public function setNextPageToken($nextPageToken) 9872 { 9873 $this->nextPageToken = $nextPageToken; 9874 } 9875 9876 public function getNextPageToken() 9877 { 9878 return $this->nextPageToken; 9879 } 9880 9881 public function setSelfLink($selfLink) 9882 { 9883 $this->selfLink = $selfLink; 9884 } 9885 9886 public function getSelfLink() 9887 { 9888 return $this->selfLink; 9889 } 9890 } 9891 9892 class Google_Service_Compute_OperationWarnings extends Google_Collection 9893 { 9894 protected $collection_key = 'data'; 9895 public $code; 9896 protected $dataType = 'Google_Service_Compute_OperationWarningsData'; 9897 protected $dataDataType = 'array'; 9898 public $message; 9899 9900 public function setCode($code) 9901 { 9902 $this->code = $code; 9903 } 9904 9905 public function getCode() 9906 { 9907 return $this->code; 9908 } 9909 9910 public function setData($data) 9911 { 9912 $this->data = $data; 9913 } 9914 9915 public function getData() 9916 { 9917 return $this->data; 9918 } 9919 9920 public function setMessage($message) 9921 { 9922 $this->message = $message; 9923 } 9924 9925 public function getMessage() 9926 { 9927 return $this->message; 9928 } 9929 } 9930 9931 class Google_Service_Compute_OperationWarningsData extends Google_Model 9932 { 9933 public $key; 9934 public $value; 9935 9936 public function setKey($key) 9937 { 9938 $this->key = $key; 9939 } 9940 9941 public function getKey() 9942 { 9943 return $this->key; 9944 } 9945 9946 public function setValue($value) 9947 { 9948 $this->value = $value; 9949 } 9950 9951 public function getValue() 9952 { 9953 return $this->value; 9954 } 9955 } 9956 9957 class Google_Service_Compute_OperationsScopedList extends Google_Collection 9958 { 9959 protected $collection_key = 'operations'; 9960 protected $operationsType = 'Google_Service_Compute_Operation'; 9961 protected $operationsDataType = 'array'; 9962 protected $warningType = 'Google_Service_Compute_OperationsScopedListWarning'; 9963 protected $warningDataType = ''; 9964 9965 public function setOperations($operations) 9966 { 9967 $this->operations = $operations; 9968 } 9969 9970 public function getOperations() 9971 { 9972 return $this->operations; 9973 } 9974 9975 public function setWarning(Google_Service_Compute_OperationsScopedListWarning $warning) 9976 { 9977 $this->warning = $warning; 9978 } 9979 9980 public function getWarning() 9981 { 9982 return $this->warning; 9983 } 9984 } 9985 9986 class Google_Service_Compute_OperationsScopedListWarning extends Google_Collection 9987 { 9988 protected $collection_key = 'data'; 9989 public $code; 9990 protected $dataType = 'Google_Service_Compute_OperationsScopedListWarningData'; 9991 protected $dataDataType = 'array'; 9992 public $message; 9993 9994 public function setCode($code) 9995 { 9996 $this->code = $code; 9997 } 9998 9999 public function getCode() 10000 { 10001 return $this->code; 10002 } 10003 10004 public function setData($data) 10005 { 10006 $this->data = $data; 10007 } 10008 10009 public function getData() 10010 { 10011 return $this->data; 10012 } 10013 10014 public function setMessage($message) 10015 { 10016 $this->message = $message; 10017 } 10018 10019 public function getMessage() 10020 { 10021 return $this->message; 10022 } 10023 } 10024 10025 class Google_Service_Compute_OperationsScopedListWarningData extends Google_Model 10026 { 10027 public $key; 10028 public $value; 10029 10030 public function setKey($key) 10031 { 10032 $this->key = $key; 10033 } 10034 10035 public function getKey() 10036 { 10037 return $this->key; 10038 } 10039 10040 public function setValue($value) 10041 { 10042 $this->value = $value; 10043 } 10044 10045 public function getValue() 10046 { 10047 return $this->value; 10048 } 10049 } 10050 10051 class Google_Service_Compute_PathMatcher extends Google_Collection 10052 { 10053 protected $collection_key = 'pathRules'; 10054 public $defaultService; 10055 public $description; 10056 public $name; 10057 protected $pathRulesType = 'Google_Service_Compute_PathRule'; 10058 protected $pathRulesDataType = 'array'; 10059 10060 public function setDefaultService($defaultService) 10061 { 10062 $this->defaultService = $defaultService; 10063 } 10064 10065 public function getDefaultService() 10066 { 10067 return $this->defaultService; 10068 } 10069 10070 public function setDescription($description) 10071 { 10072 $this->description = $description; 10073 } 10074 10075 public function getDescription() 10076 { 10077 return $this->description; 10078 } 10079 10080 public function setName($name) 10081 { 10082 $this->name = $name; 10083 } 10084 10085 public function getName() 10086 { 10087 return $this->name; 10088 } 10089 10090 public function setPathRules($pathRules) 10091 { 10092 $this->pathRules = $pathRules; 10093 } 10094 10095 public function getPathRules() 10096 { 10097 return $this->pathRules; 10098 } 10099 } 10100 10101 class Google_Service_Compute_PathRule extends Google_Collection 10102 { 10103 protected $collection_key = 'paths'; 10104 public $paths; 10105 public $service; 10106 10107 public function setPaths($paths) 10108 { 10109 $this->paths = $paths; 10110 } 10111 10112 public function getPaths() 10113 { 10114 return $this->paths; 10115 } 10116 10117 public function setService($service) 10118 { 10119 $this->service = $service; 10120 } 10121 10122 public function getService() 10123 { 10124 return $this->service; 10125 } 10126 } 10127 10128 class Google_Service_Compute_Project extends Google_Collection 10129 { 10130 protected $collection_key = 'quotas'; 10131 protected $commonInstanceMetadataType = 'Google_Service_Compute_Metadata'; 10132 protected $commonInstanceMetadataDataType = ''; 10133 public $creationTimestamp; 10134 public $description; 10135 public $id; 10136 public $kind; 10137 public $name; 10138 protected $quotasType = 'Google_Service_Compute_Quota'; 10139 protected $quotasDataType = 'array'; 10140 public $selfLink; 10141 protected $usageExportLocationType = 'Google_Service_Compute_UsageExportLocation'; 10142 protected $usageExportLocationDataType = ''; 10143 10144 public function setCommonInstanceMetadata(Google_Service_Compute_Metadata $commonInstanceMetadata) 10145 { 10146 $this->commonInstanceMetadata = $commonInstanceMetadata; 10147 } 10148 10149 public function getCommonInstanceMetadata() 10150 { 10151 return $this->commonInstanceMetadata; 10152 } 10153 10154 public function setCreationTimestamp($creationTimestamp) 10155 { 10156 $this->creationTimestamp = $creationTimestamp; 10157 } 10158 10159 public function getCreationTimestamp() 10160 { 10161 return $this->creationTimestamp; 10162 } 10163 10164 public function setDescription($description) 10165 { 10166 $this->description = $description; 10167 } 10168 10169 public function getDescription() 10170 { 10171 return $this->description; 10172 } 10173 10174 public function setId($id) 10175 { 10176 $this->id = $id; 10177 } 10178 10179 public function getId() 10180 { 10181 return $this->id; 10182 } 10183 10184 public function setKind($kind) 10185 { 10186 $this->kind = $kind; 10187 } 10188 10189 public function getKind() 10190 { 10191 return $this->kind; 10192 } 10193 10194 public function setName($name) 10195 { 10196 $this->name = $name; 10197 } 10198 10199 public function getName() 10200 { 10201 return $this->name; 10202 } 10203 10204 public function setQuotas($quotas) 10205 { 10206 $this->quotas = $quotas; 10207 } 10208 10209 public function getQuotas() 10210 { 10211 return $this->quotas; 10212 } 10213 10214 public function setSelfLink($selfLink) 10215 { 10216 $this->selfLink = $selfLink; 10217 } 10218 10219 public function getSelfLink() 10220 { 10221 return $this->selfLink; 10222 } 10223 10224 public function setUsageExportLocation(Google_Service_Compute_UsageExportLocation $usageExportLocation) 10225 { 10226 $this->usageExportLocation = $usageExportLocation; 10227 } 10228 10229 public function getUsageExportLocation() 10230 { 10231 return $this->usageExportLocation; 10232 } 10233 } 10234 10235 class Google_Service_Compute_Quota extends Google_Model 10236 { 10237 public $limit; 10238 public $metric; 10239 public $usage; 10240 10241 public function setLimit($limit) 10242 { 10243 $this->limit = $limit; 10244 } 10245 10246 public function getLimit() 10247 { 10248 return $this->limit; 10249 } 10250 10251 public function setMetric($metric) 10252 { 10253 $this->metric = $metric; 10254 } 10255 10256 public function getMetric() 10257 { 10258 return $this->metric; 10259 } 10260 10261 public function setUsage($usage) 10262 { 10263 $this->usage = $usage; 10264 } 10265 10266 public function getUsage() 10267 { 10268 return $this->usage; 10269 } 10270 } 10271 10272 class Google_Service_Compute_Region extends Google_Collection 10273 { 10274 protected $collection_key = 'zones'; 10275 public $creationTimestamp; 10276 protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; 10277 protected $deprecatedDataType = ''; 10278 public $description; 10279 public $id; 10280 public $kind; 10281 public $name; 10282 protected $quotasType = 'Google_Service_Compute_Quota'; 10283 protected $quotasDataType = 'array'; 10284 public $selfLink; 10285 public $status; 10286 public $zones; 10287 10288 public function setCreationTimestamp($creationTimestamp) 10289 { 10290 $this->creationTimestamp = $creationTimestamp; 10291 } 10292 10293 public function getCreationTimestamp() 10294 { 10295 return $this->creationTimestamp; 10296 } 10297 10298 public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) 10299 { 10300 $this->deprecated = $deprecated; 10301 } 10302 10303 public function getDeprecated() 10304 { 10305 return $this->deprecated; 10306 } 10307 10308 public function setDescription($description) 10309 { 10310 $this->description = $description; 10311 } 10312 10313 public function getDescription() 10314 { 10315 return $this->description; 10316 } 10317 10318 public function setId($id) 10319 { 10320 $this->id = $id; 10321 } 10322 10323 public function getId() 10324 { 10325 return $this->id; 10326 } 10327 10328 public function setKind($kind) 10329 { 10330 $this->kind = $kind; 10331 } 10332 10333 public function getKind() 10334 { 10335 return $this->kind; 10336 } 10337 10338 public function setName($name) 10339 { 10340 $this->name = $name; 10341 } 10342 10343 public function getName() 10344 { 10345 return $this->name; 10346 } 10347 10348 public function setQuotas($quotas) 10349 { 10350 $this->quotas = $quotas; 10351 } 10352 10353 public function getQuotas() 10354 { 10355 return $this->quotas; 10356 } 10357 10358 public function setSelfLink($selfLink) 10359 { 10360 $this->selfLink = $selfLink; 10361 } 10362 10363 public function getSelfLink() 10364 { 10365 return $this->selfLink; 10366 } 10367 10368 public function setStatus($status) 10369 { 10370 $this->status = $status; 10371 } 10372 10373 public function getStatus() 10374 { 10375 return $this->status; 10376 } 10377 10378 public function setZones($zones) 10379 { 10380 $this->zones = $zones; 10381 } 10382 10383 public function getZones() 10384 { 10385 return $this->zones; 10386 } 10387 } 10388 10389 class Google_Service_Compute_RegionList extends Google_Collection 10390 { 10391 protected $collection_key = 'items'; 10392 public $id; 10393 protected $itemsType = 'Google_Service_Compute_Region'; 10394 protected $itemsDataType = 'array'; 10395 public $kind; 10396 public $nextPageToken; 10397 public $selfLink; 10398 10399 public function setId($id) 10400 { 10401 $this->id = $id; 10402 } 10403 10404 public function getId() 10405 { 10406 return $this->id; 10407 } 10408 10409 public function setItems($items) 10410 { 10411 $this->items = $items; 10412 } 10413 10414 public function getItems() 10415 { 10416 return $this->items; 10417 } 10418 10419 public function setKind($kind) 10420 { 10421 $this->kind = $kind; 10422 } 10423 10424 public function getKind() 10425 { 10426 return $this->kind; 10427 } 10428 10429 public function setNextPageToken($nextPageToken) 10430 { 10431 $this->nextPageToken = $nextPageToken; 10432 } 10433 10434 public function getNextPageToken() 10435 { 10436 return $this->nextPageToken; 10437 } 10438 10439 public function setSelfLink($selfLink) 10440 { 10441 $this->selfLink = $selfLink; 10442 } 10443 10444 public function getSelfLink() 10445 { 10446 return $this->selfLink; 10447 } 10448 } 10449 10450 class Google_Service_Compute_ResourceGroupReference extends Google_Model 10451 { 10452 public $group; 10453 10454 public function setGroup($group) 10455 { 10456 $this->group = $group; 10457 } 10458 10459 public function getGroup() 10460 { 10461 return $this->group; 10462 } 10463 } 10464 10465 class Google_Service_Compute_Route extends Google_Collection 10466 { 10467 protected $collection_key = 'warnings'; 10468 public $creationTimestamp; 10469 public $description; 10470 public $destRange; 10471 public $id; 10472 public $kind; 10473 public $name; 10474 public $network; 10475 public $nextHopGateway; 10476 public $nextHopInstance; 10477 public $nextHopIp; 10478 public $nextHopNetwork; 10479 public $priority; 10480 public $selfLink; 10481 public $tags; 10482 protected $warningsType = 'Google_Service_Compute_RouteWarnings'; 10483 protected $warningsDataType = 'array'; 10484 10485 public function setCreationTimestamp($creationTimestamp) 10486 { 10487 $this->creationTimestamp = $creationTimestamp; 10488 } 10489 10490 public function getCreationTimestamp() 10491 { 10492 return $this->creationTimestamp; 10493 } 10494 10495 public function setDescription($description) 10496 { 10497 $this->description = $description; 10498 } 10499 10500 public function getDescription() 10501 { 10502 return $this->description; 10503 } 10504 10505 public function setDestRange($destRange) 10506 { 10507 $this->destRange = $destRange; 10508 } 10509 10510 public function getDestRange() 10511 { 10512 return $this->destRange; 10513 } 10514 10515 public function setId($id) 10516 { 10517 $this->id = $id; 10518 } 10519 10520 public function getId() 10521 { 10522 return $this->id; 10523 } 10524 10525 public function setKind($kind) 10526 { 10527 $this->kind = $kind; 10528 } 10529 10530 public function getKind() 10531 { 10532 return $this->kind; 10533 } 10534 10535 public function setName($name) 10536 { 10537 $this->name = $name; 10538 } 10539 10540 public function getName() 10541 { 10542 return $this->name; 10543 } 10544 10545 public function setNetwork($network) 10546 { 10547 $this->network = $network; 10548 } 10549 10550 public function getNetwork() 10551 { 10552 return $this->network; 10553 } 10554 10555 public function setNextHopGateway($nextHopGateway) 10556 { 10557 $this->nextHopGateway = $nextHopGateway; 10558 } 10559 10560 public function getNextHopGateway() 10561 { 10562 return $this->nextHopGateway; 10563 } 10564 10565 public function setNextHopInstance($nextHopInstance) 10566 { 10567 $this->nextHopInstance = $nextHopInstance; 10568 } 10569 10570 public function getNextHopInstance() 10571 { 10572 return $this->nextHopInstance; 10573 } 10574 10575 public function setNextHopIp($nextHopIp) 10576 { 10577 $this->nextHopIp = $nextHopIp; 10578 } 10579 10580 public function getNextHopIp() 10581 { 10582 return $this->nextHopIp; 10583 } 10584 10585 public function setNextHopNetwork($nextHopNetwork) 10586 { 10587 $this->nextHopNetwork = $nextHopNetwork; 10588 } 10589 10590 public function getNextHopNetwork() 10591 { 10592 return $this->nextHopNetwork; 10593 } 10594 10595 public function setPriority($priority) 10596 { 10597 $this->priority = $priority; 10598 } 10599 10600 public function getPriority() 10601 { 10602 return $this->priority; 10603 } 10604 10605 public function setSelfLink($selfLink) 10606 { 10607 $this->selfLink = $selfLink; 10608 } 10609 10610 public function getSelfLink() 10611 { 10612 return $this->selfLink; 10613 } 10614 10615 public function setTags($tags) 10616 { 10617 $this->tags = $tags; 10618 } 10619 10620 public function getTags() 10621 { 10622 return $this->tags; 10623 } 10624 10625 public function setWarnings($warnings) 10626 { 10627 $this->warnings = $warnings; 10628 } 10629 10630 public function getWarnings() 10631 { 10632 return $this->warnings; 10633 } 10634 } 10635 10636 class Google_Service_Compute_RouteList extends Google_Collection 10637 { 10638 protected $collection_key = 'items'; 10639 public $id; 10640 protected $itemsType = 'Google_Service_Compute_Route'; 10641 protected $itemsDataType = 'array'; 10642 public $kind; 10643 public $nextPageToken; 10644 public $selfLink; 10645 10646 public function setId($id) 10647 { 10648 $this->id = $id; 10649 } 10650 10651 public function getId() 10652 { 10653 return $this->id; 10654 } 10655 10656 public function setItems($items) 10657 { 10658 $this->items = $items; 10659 } 10660 10661 public function getItems() 10662 { 10663 return $this->items; 10664 } 10665 10666 public function setKind($kind) 10667 { 10668 $this->kind = $kind; 10669 } 10670 10671 public function getKind() 10672 { 10673 return $this->kind; 10674 } 10675 10676 public function setNextPageToken($nextPageToken) 10677 { 10678 $this->nextPageToken = $nextPageToken; 10679 } 10680 10681 public function getNextPageToken() 10682 { 10683 return $this->nextPageToken; 10684 } 10685 10686 public function setSelfLink($selfLink) 10687 { 10688 $this->selfLink = $selfLink; 10689 } 10690 10691 public function getSelfLink() 10692 { 10693 return $this->selfLink; 10694 } 10695 } 10696 10697 class Google_Service_Compute_RouteWarnings extends Google_Collection 10698 { 10699 protected $collection_key = 'data'; 10700 public $code; 10701 protected $dataType = 'Google_Service_Compute_RouteWarningsData'; 10702 protected $dataDataType = 'array'; 10703 public $message; 10704 10705 public function setCode($code) 10706 { 10707 $this->code = $code; 10708 } 10709 10710 public function getCode() 10711 { 10712 return $this->code; 10713 } 10714 10715 public function setData($data) 10716 { 10717 $this->data = $data; 10718 } 10719 10720 public function getData() 10721 { 10722 return $this->data; 10723 } 10724 10725 public function setMessage($message) 10726 { 10727 $this->message = $message; 10728 } 10729 10730 public function getMessage() 10731 { 10732 return $this->message; 10733 } 10734 } 10735 10736 class Google_Service_Compute_RouteWarningsData extends Google_Model 10737 { 10738 public $key; 10739 public $value; 10740 10741 public function setKey($key) 10742 { 10743 $this->key = $key; 10744 } 10745 10746 public function getKey() 10747 { 10748 return $this->key; 10749 } 10750 10751 public function setValue($value) 10752 { 10753 $this->value = $value; 10754 } 10755 10756 public function getValue() 10757 { 10758 return $this->value; 10759 } 10760 } 10761 10762 class Google_Service_Compute_Scheduling extends Google_Model 10763 { 10764 public $automaticRestart; 10765 public $onHostMaintenance; 10766 10767 public function setAutomaticRestart($automaticRestart) 10768 { 10769 $this->automaticRestart = $automaticRestart; 10770 } 10771 10772 public function getAutomaticRestart() 10773 { 10774 return $this->automaticRestart; 10775 } 10776 10777 public function setOnHostMaintenance($onHostMaintenance) 10778 { 10779 $this->onHostMaintenance = $onHostMaintenance; 10780 } 10781 10782 public function getOnHostMaintenance() 10783 { 10784 return $this->onHostMaintenance; 10785 } 10786 } 10787 10788 class Google_Service_Compute_SerialPortOutput extends Google_Model 10789 { 10790 public $contents; 10791 public $kind; 10792 public $selfLink; 10793 10794 public function setContents($contents) 10795 { 10796 $this->contents = $contents; 10797 } 10798 10799 public function getContents() 10800 { 10801 return $this->contents; 10802 } 10803 10804 public function setKind($kind) 10805 { 10806 $this->kind = $kind; 10807 } 10808 10809 public function getKind() 10810 { 10811 return $this->kind; 10812 } 10813 10814 public function setSelfLink($selfLink) 10815 { 10816 $this->selfLink = $selfLink; 10817 } 10818 10819 public function getSelfLink() 10820 { 10821 return $this->selfLink; 10822 } 10823 } 10824 10825 class Google_Service_Compute_ServiceAccount extends Google_Collection 10826 { 10827 protected $collection_key = 'scopes'; 10828 public $email; 10829 public $scopes; 10830 10831 public function setEmail($email) 10832 { 10833 $this->email = $email; 10834 } 10835 10836 public function getEmail() 10837 { 10838 return $this->email; 10839 } 10840 10841 public function setScopes($scopes) 10842 { 10843 $this->scopes = $scopes; 10844 } 10845 10846 public function getScopes() 10847 { 10848 return $this->scopes; 10849 } 10850 } 10851 10852 class Google_Service_Compute_Snapshot extends Google_Collection 10853 { 10854 protected $collection_key = 'licenses'; 10855 public $creationTimestamp; 10856 public $description; 10857 public $diskSizeGb; 10858 public $id; 10859 public $kind; 10860 public $licenses; 10861 public $name; 10862 public $selfLink; 10863 public $sourceDisk; 10864 public $sourceDiskId; 10865 public $status; 10866 public $storageBytes; 10867 public $storageBytesStatus; 10868 10869 public function setCreationTimestamp($creationTimestamp) 10870 { 10871 $this->creationTimestamp = $creationTimestamp; 10872 } 10873 10874 public function getCreationTimestamp() 10875 { 10876 return $this->creationTimestamp; 10877 } 10878 10879 public function setDescription($description) 10880 { 10881 $this->description = $description; 10882 } 10883 10884 public function getDescription() 10885 { 10886 return $this->description; 10887 } 10888 10889 public function setDiskSizeGb($diskSizeGb) 10890 { 10891 $this->diskSizeGb = $diskSizeGb; 10892 } 10893 10894 public function getDiskSizeGb() 10895 { 10896 return $this->diskSizeGb; 10897 } 10898 10899 public function setId($id) 10900 { 10901 $this->id = $id; 10902 } 10903 10904 public function getId() 10905 { 10906 return $this->id; 10907 } 10908 10909 public function setKind($kind) 10910 { 10911 $this->kind = $kind; 10912 } 10913 10914 public function getKind() 10915 { 10916 return $this->kind; 10917 } 10918 10919 public function setLicenses($licenses) 10920 { 10921 $this->licenses = $licenses; 10922 } 10923 10924 public function getLicenses() 10925 { 10926 return $this->licenses; 10927 } 10928 10929 public function setName($name) 10930 { 10931 $this->name = $name; 10932 } 10933 10934 public function getName() 10935 { 10936 return $this->name; 10937 } 10938 10939 public function setSelfLink($selfLink) 10940 { 10941 $this->selfLink = $selfLink; 10942 } 10943 10944 public function getSelfLink() 10945 { 10946 return $this->selfLink; 10947 } 10948 10949 public function setSourceDisk($sourceDisk) 10950 { 10951 $this->sourceDisk = $sourceDisk; 10952 } 10953 10954 public function getSourceDisk() 10955 { 10956 return $this->sourceDisk; 10957 } 10958 10959 public function setSourceDiskId($sourceDiskId) 10960 { 10961 $this->sourceDiskId = $sourceDiskId; 10962 } 10963 10964 public function getSourceDiskId() 10965 { 10966 return $this->sourceDiskId; 10967 } 10968 10969 public function setStatus($status) 10970 { 10971 $this->status = $status; 10972 } 10973 10974 public function getStatus() 10975 { 10976 return $this->status; 10977 } 10978 10979 public function setStorageBytes($storageBytes) 10980 { 10981 $this->storageBytes = $storageBytes; 10982 } 10983 10984 public function getStorageBytes() 10985 { 10986 return $this->storageBytes; 10987 } 10988 10989 public function setStorageBytesStatus($storageBytesStatus) 10990 { 10991 $this->storageBytesStatus = $storageBytesStatus; 10992 } 10993 10994 public function getStorageBytesStatus() 10995 { 10996 return $this->storageBytesStatus; 10997 } 10998 } 10999 11000 class Google_Service_Compute_SnapshotList extends Google_Collection 11001 { 11002 protected $collection_key = 'items'; 11003 public $id; 11004 protected $itemsType = 'Google_Service_Compute_Snapshot'; 11005 protected $itemsDataType = 'array'; 11006 public $kind; 11007 public $nextPageToken; 11008 public $selfLink; 11009 11010 public function setId($id) 11011 { 11012 $this->id = $id; 11013 } 11014 11015 public function getId() 11016 { 11017 return $this->id; 11018 } 11019 11020 public function setItems($items) 11021 { 11022 $this->items = $items; 11023 } 11024 11025 public function getItems() 11026 { 11027 return $this->items; 11028 } 11029 11030 public function setKind($kind) 11031 { 11032 $this->kind = $kind; 11033 } 11034 11035 public function getKind() 11036 { 11037 return $this->kind; 11038 } 11039 11040 public function setNextPageToken($nextPageToken) 11041 { 11042 $this->nextPageToken = $nextPageToken; 11043 } 11044 11045 public function getNextPageToken() 11046 { 11047 return $this->nextPageToken; 11048 } 11049 11050 public function setSelfLink($selfLink) 11051 { 11052 $this->selfLink = $selfLink; 11053 } 11054 11055 public function getSelfLink() 11056 { 11057 return $this->selfLink; 11058 } 11059 } 11060 11061 class Google_Service_Compute_Tags extends Google_Collection 11062 { 11063 protected $collection_key = 'items'; 11064 public $fingerprint; 11065 public $items; 11066 11067 public function setFingerprint($fingerprint) 11068 { 11069 $this->fingerprint = $fingerprint; 11070 } 11071 11072 public function getFingerprint() 11073 { 11074 return $this->fingerprint; 11075 } 11076 11077 public function setItems($items) 11078 { 11079 $this->items = $items; 11080 } 11081 11082 public function getItems() 11083 { 11084 return $this->items; 11085 } 11086 } 11087 11088 class Google_Service_Compute_TargetHttpProxy extends Google_Model 11089 { 11090 public $creationTimestamp; 11091 public $description; 11092 public $id; 11093 public $kind; 11094 public $name; 11095 public $selfLink; 11096 public $urlMap; 11097 11098 public function setCreationTimestamp($creationTimestamp) 11099 { 11100 $this->creationTimestamp = $creationTimestamp; 11101 } 11102 11103 public function getCreationTimestamp() 11104 { 11105 return $this->creationTimestamp; 11106 } 11107 11108 public function setDescription($description) 11109 { 11110 $this->description = $description; 11111 } 11112 11113 public function getDescription() 11114 { 11115 return $this->description; 11116 } 11117 11118 public function setId($id) 11119 { 11120 $this->id = $id; 11121 } 11122 11123 public function getId() 11124 { 11125 return $this->id; 11126 } 11127 11128 public function setKind($kind) 11129 { 11130 $this->kind = $kind; 11131 } 11132 11133 public function getKind() 11134 { 11135 return $this->kind; 11136 } 11137 11138 public function setName($name) 11139 { 11140 $this->name = $name; 11141 } 11142 11143 public function getName() 11144 { 11145 return $this->name; 11146 } 11147 11148 public function setSelfLink($selfLink) 11149 { 11150 $this->selfLink = $selfLink; 11151 } 11152 11153 public function getSelfLink() 11154 { 11155 return $this->selfLink; 11156 } 11157 11158 public function setUrlMap($urlMap) 11159 { 11160 $this->urlMap = $urlMap; 11161 } 11162 11163 public function getUrlMap() 11164 { 11165 return $this->urlMap; 11166 } 11167 } 11168 11169 class Google_Service_Compute_TargetHttpProxyList extends Google_Collection 11170 { 11171 protected $collection_key = 'items'; 11172 public $id; 11173 protected $itemsType = 'Google_Service_Compute_TargetHttpProxy'; 11174 protected $itemsDataType = 'array'; 11175 public $kind; 11176 public $nextPageToken; 11177 public $selfLink; 11178 11179 public function setId($id) 11180 { 11181 $this->id = $id; 11182 } 11183 11184 public function getId() 11185 { 11186 return $this->id; 11187 } 11188 11189 public function setItems($items) 11190 { 11191 $this->items = $items; 11192 } 11193 11194 public function getItems() 11195 { 11196 return $this->items; 11197 } 11198 11199 public function setKind($kind) 11200 { 11201 $this->kind = $kind; 11202 } 11203 11204 public function getKind() 11205 { 11206 return $this->kind; 11207 } 11208 11209 public function setNextPageToken($nextPageToken) 11210 { 11211 $this->nextPageToken = $nextPageToken; 11212 } 11213 11214 public function getNextPageToken() 11215 { 11216 return $this->nextPageToken; 11217 } 11218 11219 public function setSelfLink($selfLink) 11220 { 11221 $this->selfLink = $selfLink; 11222 } 11223 11224 public function getSelfLink() 11225 { 11226 return $this->selfLink; 11227 } 11228 } 11229 11230 class Google_Service_Compute_TargetInstance extends Google_Model 11231 { 11232 public $creationTimestamp; 11233 public $description; 11234 public $id; 11235 public $instance; 11236 public $kind; 11237 public $name; 11238 public $natPolicy; 11239 public $selfLink; 11240 public $zone; 11241 11242 public function setCreationTimestamp($creationTimestamp) 11243 { 11244 $this->creationTimestamp = $creationTimestamp; 11245 } 11246 11247 public function getCreationTimestamp() 11248 { 11249 return $this->creationTimestamp; 11250 } 11251 11252 public function setDescription($description) 11253 { 11254 $this->description = $description; 11255 } 11256 11257 public function getDescription() 11258 { 11259 return $this->description; 11260 } 11261 11262 public function setId($id) 11263 { 11264 $this->id = $id; 11265 } 11266 11267 public function getId() 11268 { 11269 return $this->id; 11270 } 11271 11272 public function setInstance($instance) 11273 { 11274 $this->instance = $instance; 11275 } 11276 11277 public function getInstance() 11278 { 11279 return $this->instance; 11280 } 11281 11282 public function setKind($kind) 11283 { 11284 $this->kind = $kind; 11285 } 11286 11287 public function getKind() 11288 { 11289 return $this->kind; 11290 } 11291 11292 public function setName($name) 11293 { 11294 $this->name = $name; 11295 } 11296 11297 public function getName() 11298 { 11299 return $this->name; 11300 } 11301 11302 public function setNatPolicy($natPolicy) 11303 { 11304 $this->natPolicy = $natPolicy; 11305 } 11306 11307 public function getNatPolicy() 11308 { 11309 return $this->natPolicy; 11310 } 11311 11312 public function setSelfLink($selfLink) 11313 { 11314 $this->selfLink = $selfLink; 11315 } 11316 11317 public function getSelfLink() 11318 { 11319 return $this->selfLink; 11320 } 11321 11322 public function setZone($zone) 11323 { 11324 $this->zone = $zone; 11325 } 11326 11327 public function getZone() 11328 { 11329 return $this->zone; 11330 } 11331 } 11332 11333 class Google_Service_Compute_TargetInstanceAggregatedList extends Google_Model 11334 { 11335 public $id; 11336 protected $itemsType = 'Google_Service_Compute_TargetInstancesScopedList'; 11337 protected $itemsDataType = 'map'; 11338 public $kind; 11339 public $nextPageToken; 11340 public $selfLink; 11341 11342 public function setId($id) 11343 { 11344 $this->id = $id; 11345 } 11346 11347 public function getId() 11348 { 11349 return $this->id; 11350 } 11351 11352 public function setItems($items) 11353 { 11354 $this->items = $items; 11355 } 11356 11357 public function getItems() 11358 { 11359 return $this->items; 11360 } 11361 11362 public function setKind($kind) 11363 { 11364 $this->kind = $kind; 11365 } 11366 11367 public function getKind() 11368 { 11369 return $this->kind; 11370 } 11371 11372 public function setNextPageToken($nextPageToken) 11373 { 11374 $this->nextPageToken = $nextPageToken; 11375 } 11376 11377 public function getNextPageToken() 11378 { 11379 return $this->nextPageToken; 11380 } 11381 11382 public function setSelfLink($selfLink) 11383 { 11384 $this->selfLink = $selfLink; 11385 } 11386 11387 public function getSelfLink() 11388 { 11389 return $this->selfLink; 11390 } 11391 } 11392 11393 class Google_Service_Compute_TargetInstanceAggregatedListItems extends Google_Model 11394 { 11395 11396 } 11397 11398 class Google_Service_Compute_TargetInstanceList extends Google_Collection 11399 { 11400 protected $collection_key = 'items'; 11401 public $id; 11402 protected $itemsType = 'Google_Service_Compute_TargetInstance'; 11403 protected $itemsDataType = 'array'; 11404 public $kind; 11405 public $nextPageToken; 11406 public $selfLink; 11407 11408 public function setId($id) 11409 { 11410 $this->id = $id; 11411 } 11412 11413 public function getId() 11414 { 11415 return $this->id; 11416 } 11417 11418 public function setItems($items) 11419 { 11420 $this->items = $items; 11421 } 11422 11423 public function getItems() 11424 { 11425 return $this->items; 11426 } 11427 11428 public function setKind($kind) 11429 { 11430 $this->kind = $kind; 11431 } 11432 11433 public function getKind() 11434 { 11435 return $this->kind; 11436 } 11437 11438 public function setNextPageToken($nextPageToken) 11439 { 11440 $this->nextPageToken = $nextPageToken; 11441 } 11442 11443 public function getNextPageToken() 11444 { 11445 return $this->nextPageToken; 11446 } 11447 11448 public function setSelfLink($selfLink) 11449 { 11450 $this->selfLink = $selfLink; 11451 } 11452 11453 public function getSelfLink() 11454 { 11455 return $this->selfLink; 11456 } 11457 } 11458 11459 class Google_Service_Compute_TargetInstancesScopedList extends Google_Collection 11460 { 11461 protected $collection_key = 'targetInstances'; 11462 protected $targetInstancesType = 'Google_Service_Compute_TargetInstance'; 11463 protected $targetInstancesDataType = 'array'; 11464 protected $warningType = 'Google_Service_Compute_TargetInstancesScopedListWarning'; 11465 protected $warningDataType = ''; 11466 11467 public function setTargetInstances($targetInstances) 11468 { 11469 $this->targetInstances = $targetInstances; 11470 } 11471 11472 public function getTargetInstances() 11473 { 11474 return $this->targetInstances; 11475 } 11476 11477 public function setWarning(Google_Service_Compute_TargetInstancesScopedListWarning $warning) 11478 { 11479 $this->warning = $warning; 11480 } 11481 11482 public function getWarning() 11483 { 11484 return $this->warning; 11485 } 11486 } 11487 11488 class Google_Service_Compute_TargetInstancesScopedListWarning extends Google_Collection 11489 { 11490 protected $collection_key = 'data'; 11491 public $code; 11492 protected $dataType = 'Google_Service_Compute_TargetInstancesScopedListWarningData'; 11493 protected $dataDataType = 'array'; 11494 public $message; 11495 11496 public function setCode($code) 11497 { 11498 $this->code = $code; 11499 } 11500 11501 public function getCode() 11502 { 11503 return $this->code; 11504 } 11505 11506 public function setData($data) 11507 { 11508 $this->data = $data; 11509 } 11510 11511 public function getData() 11512 { 11513 return $this->data; 11514 } 11515 11516 public function setMessage($message) 11517 { 11518 $this->message = $message; 11519 } 11520 11521 public function getMessage() 11522 { 11523 return $this->message; 11524 } 11525 } 11526 11527 class Google_Service_Compute_TargetInstancesScopedListWarningData extends Google_Model 11528 { 11529 public $key; 11530 public $value; 11531 11532 public function setKey($key) 11533 { 11534 $this->key = $key; 11535 } 11536 11537 public function getKey() 11538 { 11539 return $this->key; 11540 } 11541 11542 public function setValue($value) 11543 { 11544 $this->value = $value; 11545 } 11546 11547 public function getValue() 11548 { 11549 return $this->value; 11550 } 11551 } 11552 11553 class Google_Service_Compute_TargetPool extends Google_Collection 11554 { 11555 protected $collection_key = 'instances'; 11556 public $backupPool; 11557 public $creationTimestamp; 11558 public $description; 11559 public $failoverRatio; 11560 public $healthChecks; 11561 public $id; 11562 public $instances; 11563 public $kind; 11564 public $name; 11565 public $region; 11566 public $selfLink; 11567 public $sessionAffinity; 11568 11569 public function setBackupPool($backupPool) 11570 { 11571 $this->backupPool = $backupPool; 11572 } 11573 11574 public function getBackupPool() 11575 { 11576 return $this->backupPool; 11577 } 11578 11579 public function setCreationTimestamp($creationTimestamp) 11580 { 11581 $this->creationTimestamp = $creationTimestamp; 11582 } 11583 11584 public function getCreationTimestamp() 11585 { 11586 return $this->creationTimestamp; 11587 } 11588 11589 public function setDescription($description) 11590 { 11591 $this->description = $description; 11592 } 11593 11594 public function getDescription() 11595 { 11596 return $this->description; 11597 } 11598 11599 public function setFailoverRatio($failoverRatio) 11600 { 11601 $this->failoverRatio = $failoverRatio; 11602 } 11603 11604 public function getFailoverRatio() 11605 { 11606 return $this->failoverRatio; 11607 } 11608 11609 public function setHealthChecks($healthChecks) 11610 { 11611 $this->healthChecks = $healthChecks; 11612 } 11613 11614 public function getHealthChecks() 11615 { 11616 return $this->healthChecks; 11617 } 11618 11619 public function setId($id) 11620 { 11621 $this->id = $id; 11622 } 11623 11624 public function getId() 11625 { 11626 return $this->id; 11627 } 11628 11629 public function setInstances($instances) 11630 { 11631 $this->instances = $instances; 11632 } 11633 11634 public function getInstances() 11635 { 11636 return $this->instances; 11637 } 11638 11639 public function setKind($kind) 11640 { 11641 $this->kind = $kind; 11642 } 11643 11644 public function getKind() 11645 { 11646 return $this->kind; 11647 } 11648 11649 public function setName($name) 11650 { 11651 $this->name = $name; 11652 } 11653 11654 public function getName() 11655 { 11656 return $this->name; 11657 } 11658 11659 public function setRegion($region) 11660 { 11661 $this->region = $region; 11662 } 11663 11664 public function getRegion() 11665 { 11666 return $this->region; 11667 } 11668 11669 public function setSelfLink($selfLink) 11670 { 11671 $this->selfLink = $selfLink; 11672 } 11673 11674 public function getSelfLink() 11675 { 11676 return $this->selfLink; 11677 } 11678 11679 public function setSessionAffinity($sessionAffinity) 11680 { 11681 $this->sessionAffinity = $sessionAffinity; 11682 } 11683 11684 public function getSessionAffinity() 11685 { 11686 return $this->sessionAffinity; 11687 } 11688 } 11689 11690 class Google_Service_Compute_TargetPoolAggregatedList extends Google_Model 11691 { 11692 public $id; 11693 protected $itemsType = 'Google_Service_Compute_TargetPoolsScopedList'; 11694 protected $itemsDataType = 'map'; 11695 public $kind; 11696 public $nextPageToken; 11697 public $selfLink; 11698 11699 public function setId($id) 11700 { 11701 $this->id = $id; 11702 } 11703 11704 public function getId() 11705 { 11706 return $this->id; 11707 } 11708 11709 public function setItems($items) 11710 { 11711 $this->items = $items; 11712 } 11713 11714 public function getItems() 11715 { 11716 return $this->items; 11717 } 11718 11719 public function setKind($kind) 11720 { 11721 $this->kind = $kind; 11722 } 11723 11724 public function getKind() 11725 { 11726 return $this->kind; 11727 } 11728 11729 public function setNextPageToken($nextPageToken) 11730 { 11731 $this->nextPageToken = $nextPageToken; 11732 } 11733 11734 public function getNextPageToken() 11735 { 11736 return $this->nextPageToken; 11737 } 11738 11739 public function setSelfLink($selfLink) 11740 { 11741 $this->selfLink = $selfLink; 11742 } 11743 11744 public function getSelfLink() 11745 { 11746 return $this->selfLink; 11747 } 11748 } 11749 11750 class Google_Service_Compute_TargetPoolAggregatedListItems extends Google_Model 11751 { 11752 11753 } 11754 11755 class Google_Service_Compute_TargetPoolInstanceHealth extends Google_Collection 11756 { 11757 protected $collection_key = 'healthStatus'; 11758 protected $healthStatusType = 'Google_Service_Compute_HealthStatus'; 11759 protected $healthStatusDataType = 'array'; 11760 public $kind; 11761 11762 public function setHealthStatus($healthStatus) 11763 { 11764 $this->healthStatus = $healthStatus; 11765 } 11766 11767 public function getHealthStatus() 11768 { 11769 return $this->healthStatus; 11770 } 11771 11772 public function setKind($kind) 11773 { 11774 $this->kind = $kind; 11775 } 11776 11777 public function getKind() 11778 { 11779 return $this->kind; 11780 } 11781 } 11782 11783 class Google_Service_Compute_TargetPoolList extends Google_Collection 11784 { 11785 protected $collection_key = 'items'; 11786 public $id; 11787 protected $itemsType = 'Google_Service_Compute_TargetPool'; 11788 protected $itemsDataType = 'array'; 11789 public $kind; 11790 public $nextPageToken; 11791 public $selfLink; 11792 11793 public function setId($id) 11794 { 11795 $this->id = $id; 11796 } 11797 11798 public function getId() 11799 { 11800 return $this->id; 11801 } 11802 11803 public function setItems($items) 11804 { 11805 $this->items = $items; 11806 } 11807 11808 public function getItems() 11809 { 11810 return $this->items; 11811 } 11812 11813 public function setKind($kind) 11814 { 11815 $this->kind = $kind; 11816 } 11817 11818 public function getKind() 11819 { 11820 return $this->kind; 11821 } 11822 11823 public function setNextPageToken($nextPageToken) 11824 { 11825 $this->nextPageToken = $nextPageToken; 11826 } 11827 11828 public function getNextPageToken() 11829 { 11830 return $this->nextPageToken; 11831 } 11832 11833 public function setSelfLink($selfLink) 11834 { 11835 $this->selfLink = $selfLink; 11836 } 11837 11838 public function getSelfLink() 11839 { 11840 return $this->selfLink; 11841 } 11842 } 11843 11844 class Google_Service_Compute_TargetPoolsAddHealthCheckRequest extends Google_Collection 11845 { 11846 protected $collection_key = 'healthChecks'; 11847 protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference'; 11848 protected $healthChecksDataType = 'array'; 11849 11850 public function setHealthChecks($healthChecks) 11851 { 11852 $this->healthChecks = $healthChecks; 11853 } 11854 11855 public function getHealthChecks() 11856 { 11857 return $this->healthChecks; 11858 } 11859 } 11860 11861 class Google_Service_Compute_TargetPoolsAddInstanceRequest extends Google_Collection 11862 { 11863 protected $collection_key = 'instances'; 11864 protected $instancesType = 'Google_Service_Compute_InstanceReference'; 11865 protected $instancesDataType = 'array'; 11866 11867 public function setInstances($instances) 11868 { 11869 $this->instances = $instances; 11870 } 11871 11872 public function getInstances() 11873 { 11874 return $this->instances; 11875 } 11876 } 11877 11878 class Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest extends Google_Collection 11879 { 11880 protected $collection_key = 'healthChecks'; 11881 protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference'; 11882 protected $healthChecksDataType = 'array'; 11883 11884 public function setHealthChecks($healthChecks) 11885 { 11886 $this->healthChecks = $healthChecks; 11887 } 11888 11889 public function getHealthChecks() 11890 { 11891 return $this->healthChecks; 11892 } 11893 } 11894 11895 class Google_Service_Compute_TargetPoolsRemoveInstanceRequest extends Google_Collection 11896 { 11897 protected $collection_key = 'instances'; 11898 protected $instancesType = 'Google_Service_Compute_InstanceReference'; 11899 protected $instancesDataType = 'array'; 11900 11901 public function setInstances($instances) 11902 { 11903 $this->instances = $instances; 11904 } 11905 11906 public function getInstances() 11907 { 11908 return $this->instances; 11909 } 11910 } 11911 11912 class Google_Service_Compute_TargetPoolsScopedList extends Google_Collection 11913 { 11914 protected $collection_key = 'targetPools'; 11915 protected $targetPoolsType = 'Google_Service_Compute_TargetPool'; 11916 protected $targetPoolsDataType = 'array'; 11917 protected $warningType = 'Google_Service_Compute_TargetPoolsScopedListWarning'; 11918 protected $warningDataType = ''; 11919 11920 public function setTargetPools($targetPools) 11921 { 11922 $this->targetPools = $targetPools; 11923 } 11924 11925 public function getTargetPools() 11926 { 11927 return $this->targetPools; 11928 } 11929 11930 public function setWarning(Google_Service_Compute_TargetPoolsScopedListWarning $warning) 11931 { 11932 $this->warning = $warning; 11933 } 11934 11935 public function getWarning() 11936 { 11937 return $this->warning; 11938 } 11939 } 11940 11941 class Google_Service_Compute_TargetPoolsScopedListWarning extends Google_Collection 11942 { 11943 protected $collection_key = 'data'; 11944 public $code; 11945 protected $dataType = 'Google_Service_Compute_TargetPoolsScopedListWarningData'; 11946 protected $dataDataType = 'array'; 11947 public $message; 11948 11949 public function setCode($code) 11950 { 11951 $this->code = $code; 11952 } 11953 11954 public function getCode() 11955 { 11956 return $this->code; 11957 } 11958 11959 public function setData($data) 11960 { 11961 $this->data = $data; 11962 } 11963 11964 public function getData() 11965 { 11966 return $this->data; 11967 } 11968 11969 public function setMessage($message) 11970 { 11971 $this->message = $message; 11972 } 11973 11974 public function getMessage() 11975 { 11976 return $this->message; 11977 } 11978 } 11979 11980 class Google_Service_Compute_TargetPoolsScopedListWarningData extends Google_Model 11981 { 11982 public $key; 11983 public $value; 11984 11985 public function setKey($key) 11986 { 11987 $this->key = $key; 11988 } 11989 11990 public function getKey() 11991 { 11992 return $this->key; 11993 } 11994 11995 public function setValue($value) 11996 { 11997 $this->value = $value; 11998 } 11999 12000 public function getValue() 12001 { 12002 return $this->value; 12003 } 12004 } 12005 12006 class Google_Service_Compute_TargetReference extends Google_Model 12007 { 12008 public $target; 12009 12010 public function setTarget($target) 12011 { 12012 $this->target = $target; 12013 } 12014 12015 public function getTarget() 12016 { 12017 return $this->target; 12018 } 12019 } 12020 12021 class Google_Service_Compute_TestFailure extends Google_Model 12022 { 12023 public $actualService; 12024 public $expectedService; 12025 public $host; 12026 public $path; 12027 12028 public function setActualService($actualService) 12029 { 12030 $this->actualService = $actualService; 12031 } 12032 12033 public function getActualService() 12034 { 12035 return $this->actualService; 12036 } 12037 12038 public function setExpectedService($expectedService) 12039 { 12040 $this->expectedService = $expectedService; 12041 } 12042 12043 public function getExpectedService() 12044 { 12045 return $this->expectedService; 12046 } 12047 12048 public function setHost($host) 12049 { 12050 $this->host = $host; 12051 } 12052 12053 public function getHost() 12054 { 12055 return $this->host; 12056 } 12057 12058 public function setPath($path) 12059 { 12060 $this->path = $path; 12061 } 12062 12063 public function getPath() 12064 { 12065 return $this->path; 12066 } 12067 } 12068 12069 class Google_Service_Compute_UrlMap extends Google_Collection 12070 { 12071 protected $collection_key = 'tests'; 12072 public $creationTimestamp; 12073 public $defaultService; 12074 public $description; 12075 public $fingerprint; 12076 protected $hostRulesType = 'Google_Service_Compute_HostRule'; 12077 protected $hostRulesDataType = 'array'; 12078 public $id; 12079 public $kind; 12080 public $name; 12081 protected $pathMatchersType = 'Google_Service_Compute_PathMatcher'; 12082 protected $pathMatchersDataType = 'array'; 12083 public $selfLink; 12084 protected $testsType = 'Google_Service_Compute_UrlMapTest'; 12085 protected $testsDataType = 'array'; 12086 12087 public function setCreationTimestamp($creationTimestamp) 12088 { 12089 $this->creationTimestamp = $creationTimestamp; 12090 } 12091 12092 public function getCreationTimestamp() 12093 { 12094 return $this->creationTimestamp; 12095 } 12096 12097 public function setDefaultService($defaultService) 12098 { 12099 $this->defaultService = $defaultService; 12100 } 12101 12102 public function getDefaultService() 12103 { 12104 return $this->defaultService; 12105 } 12106 12107 public function setDescription($description) 12108 { 12109 $this->description = $description; 12110 } 12111 12112 public function getDescription() 12113 { 12114 return $this->description; 12115 } 12116 12117 public function setFingerprint($fingerprint) 12118 { 12119 $this->fingerprint = $fingerprint; 12120 } 12121 12122 public function getFingerprint() 12123 { 12124 return $this->fingerprint; 12125 } 12126 12127 public function setHostRules($hostRules) 12128 { 12129 $this->hostRules = $hostRules; 12130 } 12131 12132 public function getHostRules() 12133 { 12134 return $this->hostRules; 12135 } 12136 12137 public function setId($id) 12138 { 12139 $this->id = $id; 12140 } 12141 12142 public function getId() 12143 { 12144 return $this->id; 12145 } 12146 12147 public function setKind($kind) 12148 { 12149 $this->kind = $kind; 12150 } 12151 12152 public function getKind() 12153 { 12154 return $this->kind; 12155 } 12156 12157 public function setName($name) 12158 { 12159 $this->name = $name; 12160 } 12161 12162 public function getName() 12163 { 12164 return $this->name; 12165 } 12166 12167 public function setPathMatchers($pathMatchers) 12168 { 12169 $this->pathMatchers = $pathMatchers; 12170 } 12171 12172 public function getPathMatchers() 12173 { 12174 return $this->pathMatchers; 12175 } 12176 12177 public function setSelfLink($selfLink) 12178 { 12179 $this->selfLink = $selfLink; 12180 } 12181 12182 public function getSelfLink() 12183 { 12184 return $this->selfLink; 12185 } 12186 12187 public function setTests($tests) 12188 { 12189 $this->tests = $tests; 12190 } 12191 12192 public function getTests() 12193 { 12194 return $this->tests; 12195 } 12196 } 12197 12198 class Google_Service_Compute_UrlMapList extends Google_Collection 12199 { 12200 protected $collection_key = 'items'; 12201 public $id; 12202 protected $itemsType = 'Google_Service_Compute_UrlMap'; 12203 protected $itemsDataType = 'array'; 12204 public $kind; 12205 public $nextPageToken; 12206 public $selfLink; 12207 12208 public function setId($id) 12209 { 12210 $this->id = $id; 12211 } 12212 12213 public function getId() 12214 { 12215 return $this->id; 12216 } 12217 12218 public function setItems($items) 12219 { 12220 $this->items = $items; 12221 } 12222 12223 public function getItems() 12224 { 12225 return $this->items; 12226 } 12227 12228 public function setKind($kind) 12229 { 12230 $this->kind = $kind; 12231 } 12232 12233 public function getKind() 12234 { 12235 return $this->kind; 12236 } 12237 12238 public function setNextPageToken($nextPageToken) 12239 { 12240 $this->nextPageToken = $nextPageToken; 12241 } 12242 12243 public function getNextPageToken() 12244 { 12245 return $this->nextPageToken; 12246 } 12247 12248 public function setSelfLink($selfLink) 12249 { 12250 $this->selfLink = $selfLink; 12251 } 12252 12253 public function getSelfLink() 12254 { 12255 return $this->selfLink; 12256 } 12257 } 12258 12259 class Google_Service_Compute_UrlMapReference extends Google_Model 12260 { 12261 public $urlMap; 12262 12263 public function setUrlMap($urlMap) 12264 { 12265 $this->urlMap = $urlMap; 12266 } 12267 12268 public function getUrlMap() 12269 { 12270 return $this->urlMap; 12271 } 12272 } 12273 12274 class Google_Service_Compute_UrlMapTest extends Google_Model 12275 { 12276 public $description; 12277 public $host; 12278 public $path; 12279 public $service; 12280 12281 public function setDescription($description) 12282 { 12283 $this->description = $description; 12284 } 12285 12286 public function getDescription() 12287 { 12288 return $this->description; 12289 } 12290 12291 public function setHost($host) 12292 { 12293 $this->host = $host; 12294 } 12295 12296 public function getHost() 12297 { 12298 return $this->host; 12299 } 12300 12301 public function setPath($path) 12302 { 12303 $this->path = $path; 12304 } 12305 12306 public function getPath() 12307 { 12308 return $this->path; 12309 } 12310 12311 public function setService($service) 12312 { 12313 $this->service = $service; 12314 } 12315 12316 public function getService() 12317 { 12318 return $this->service; 12319 } 12320 } 12321 12322 class Google_Service_Compute_UrlMapValidationResult extends Google_Collection 12323 { 12324 protected $collection_key = 'testFailures'; 12325 public $loadErrors; 12326 public $loadSucceeded; 12327 protected $testFailuresType = 'Google_Service_Compute_TestFailure'; 12328 protected $testFailuresDataType = 'array'; 12329 public $testPassed; 12330 12331 public function setLoadErrors($loadErrors) 12332 { 12333 $this->loadErrors = $loadErrors; 12334 } 12335 12336 public function getLoadErrors() 12337 { 12338 return $this->loadErrors; 12339 } 12340 12341 public function setLoadSucceeded($loadSucceeded) 12342 { 12343 $this->loadSucceeded = $loadSucceeded; 12344 } 12345 12346 public function getLoadSucceeded() 12347 { 12348 return $this->loadSucceeded; 12349 } 12350 12351 public function setTestFailures($testFailures) 12352 { 12353 $this->testFailures = $testFailures; 12354 } 12355 12356 public function getTestFailures() 12357 { 12358 return $this->testFailures; 12359 } 12360 12361 public function setTestPassed($testPassed) 12362 { 12363 $this->testPassed = $testPassed; 12364 } 12365 12366 public function getTestPassed() 12367 { 12368 return $this->testPassed; 12369 } 12370 } 12371 12372 class Google_Service_Compute_UrlMapsValidateRequest extends Google_Model 12373 { 12374 protected $resourceType = 'Google_Service_Compute_UrlMap'; 12375 protected $resourceDataType = ''; 12376 12377 public function setResource(Google_Service_Compute_UrlMap $resource) 12378 { 12379 $this->resource = $resource; 12380 } 12381 12382 public function getResource() 12383 { 12384 return $this->resource; 12385 } 12386 } 12387 12388 class Google_Service_Compute_UrlMapsValidateResponse extends Google_Model 12389 { 12390 protected $resultType = 'Google_Service_Compute_UrlMapValidationResult'; 12391 protected $resultDataType = ''; 12392 12393 public function setResult(Google_Service_Compute_UrlMapValidationResult $result) 12394 { 12395 $this->result = $result; 12396 } 12397 12398 public function getResult() 12399 { 12400 return $this->result; 12401 } 12402 } 12403 12404 class Google_Service_Compute_UsageExportLocation extends Google_Model 12405 { 12406 public $bucketName; 12407 public $reportNamePrefix; 12408 12409 public function setBucketName($bucketName) 12410 { 12411 $this->bucketName = $bucketName; 12412 } 12413 12414 public function getBucketName() 12415 { 12416 return $this->bucketName; 12417 } 12418 12419 public function setReportNamePrefix($reportNamePrefix) 12420 { 12421 $this->reportNamePrefix = $reportNamePrefix; 12422 } 12423 12424 public function getReportNamePrefix() 12425 { 12426 return $this->reportNamePrefix; 12427 } 12428 } 12429 12430 class Google_Service_Compute_Zone extends Google_Collection 12431 { 12432 protected $collection_key = 'maintenanceWindows'; 12433 public $creationTimestamp; 12434 protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; 12435 protected $deprecatedDataType = ''; 12436 public $description; 12437 public $id; 12438 public $kind; 12439 protected $maintenanceWindowsType = 'Google_Service_Compute_ZoneMaintenanceWindows'; 12440 protected $maintenanceWindowsDataType = 'array'; 12441 public $name; 12442 public $region; 12443 public $selfLink; 12444 public $status; 12445 12446 public function setCreationTimestamp($creationTimestamp) 12447 { 12448 $this->creationTimestamp = $creationTimestamp; 12449 } 12450 12451 public function getCreationTimestamp() 12452 { 12453 return $this->creationTimestamp; 12454 } 12455 12456 public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) 12457 { 12458 $this->deprecated = $deprecated; 12459 } 12460 12461 public function getDeprecated() 12462 { 12463 return $this->deprecated; 12464 } 12465 12466 public function setDescription($description) 12467 { 12468 $this->description = $description; 12469 } 12470 12471 public function getDescription() 12472 { 12473 return $this->description; 12474 } 12475 12476 public function setId($id) 12477 { 12478 $this->id = $id; 12479 } 12480 12481 public function getId() 12482 { 12483 return $this->id; 12484 } 12485 12486 public function setKind($kind) 12487 { 12488 $this->kind = $kind; 12489 } 12490 12491 public function getKind() 12492 { 12493 return $this->kind; 12494 } 12495 12496 public function setMaintenanceWindows($maintenanceWindows) 12497 { 12498 $this->maintenanceWindows = $maintenanceWindows; 12499 } 12500 12501 public function getMaintenanceWindows() 12502 { 12503 return $this->maintenanceWindows; 12504 } 12505 12506 public function setName($name) 12507 { 12508 $this->name = $name; 12509 } 12510 12511 public function getName() 12512 { 12513 return $this->name; 12514 } 12515 12516 public function setRegion($region) 12517 { 12518 $this->region = $region; 12519 } 12520 12521 public function getRegion() 12522 { 12523 return $this->region; 12524 } 12525 12526 public function setSelfLink($selfLink) 12527 { 12528 $this->selfLink = $selfLink; 12529 } 12530 12531 public function getSelfLink() 12532 { 12533 return $this->selfLink; 12534 } 12535 12536 public function setStatus($status) 12537 { 12538 $this->status = $status; 12539 } 12540 12541 public function getStatus() 12542 { 12543 return $this->status; 12544 } 12545 } 12546 12547 class Google_Service_Compute_ZoneList extends Google_Collection 12548 { 12549 protected $collection_key = 'items'; 12550 public $id; 12551 protected $itemsType = 'Google_Service_Compute_Zone'; 12552 protected $itemsDataType = 'array'; 12553 public $kind; 12554 public $nextPageToken; 12555 public $selfLink; 12556 12557 public function setId($id) 12558 { 12559 $this->id = $id; 12560 } 12561 12562 public function getId() 12563 { 12564 return $this->id; 12565 } 12566 12567 public function setItems($items) 12568 { 12569 $this->items = $items; 12570 } 12571 12572 public function getItems() 12573 { 12574 return $this->items; 12575 } 12576 12577 public function setKind($kind) 12578 { 12579 $this->kind = $kind; 12580 } 12581 12582 public function getKind() 12583 { 12584 return $this->kind; 12585 } 12586 12587 public function setNextPageToken($nextPageToken) 12588 { 12589 $this->nextPageToken = $nextPageToken; 12590 } 12591 12592 public function getNextPageToken() 12593 { 12594 return $this->nextPageToken; 12595 } 12596 12597 public function setSelfLink($selfLink) 12598 { 12599 $this->selfLink = $selfLink; 12600 } 12601 12602 public function getSelfLink() 12603 { 12604 return $this->selfLink; 12605 } 12606 } 12607 12608 class Google_Service_Compute_ZoneMaintenanceWindows extends Google_Model 12609 { 12610 public $beginTime; 12611 public $description; 12612 public $endTime; 12613 public $name; 12614 12615 public function setBeginTime($beginTime) 12616 { 12617 $this->beginTime = $beginTime; 12618 } 12619 12620 public function getBeginTime() 12621 { 12622 return $this->beginTime; 12623 } 12624 12625 public function setDescription($description) 12626 { 12627 $this->description = $description; 12628 } 12629 12630 public function getDescription() 12631 { 12632 return $this->description; 12633 } 12634 12635 public function setEndTime($endTime) 12636 { 12637 $this->endTime = $endTime; 12638 } 12639 12640 public function getEndTime() 12641 { 12642 return $this->endTime; 12643 } 12644 12645 public function setName($name) 12646 { 12647 $this->name = $name; 12648 } 12649 12650 public function getName() 12651 { 12652 return $this->name; 12653 } 12654 }
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 |