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