[ 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 Resourceviews (v1beta1). 20 * 21 * <p> 22 * The Resource View API allows users to create and manage logical sets of Google Compute Engine instances. 23 * </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 = "https://www.googleapis.com/auth/cloud-platform"; 36 /** View and manage your Google Compute Engine resources. */ 37 const COMPUTE = "https://www.googleapis.com/auth/compute"; 38 /** View your Google Compute Engine resources. */ 39 const COMPUTE_READONLY = "https://www.googleapis.com/auth/compute.readonly"; 40 /** View and manage your Google Cloud Platform management resources and deployment status information. */ 41 const NDEV_CLOUDMAN = "https://www.googleapis.com/auth/ndev.cloudman"; 42 /** View your Google Cloud Platform management resources and deployment status information. */ 43 const NDEV_CLOUDMAN_READONLY = "https://www.googleapis.com/auth/ndev.cloudman.readonly"; 44 45 public $regionViews; 46 public $zoneViews; 47 48 49 /** 50 * Constructs the internal representation of the Resourceviews service. 51 * 52 * @param Google_Client $client 53 */ 54 public function __construct(Google_Client $client) 55 { 56 parent::__construct($client); 57 $this->servicePath = 'resourceviews/v1beta1/projects/'; 58 $this->version = 'v1beta1'; 59 $this->serviceName = 'resourceviews'; 60 61 $this->regionViews = new Google_Service_Resourceviews_RegionViews_Resource( 62 $this, 63 $this->serviceName, 64 'regionViews', 65 array( 66 'methods' => array( 67 'addresources' => array( 68 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/addResources', 69 'httpMethod' => 'POST', 70 'parameters' => array( 71 'projectName' => array( 72 'location' => 'path', 73 'type' => 'string', 74 'required' => true, 75 ), 76 'region' => array( 77 'location' => 'path', 78 'type' => 'string', 79 'required' => true, 80 ), 81 'resourceViewName' => array( 82 'location' => 'path', 83 'type' => 'string', 84 'required' => true, 85 ), 86 ), 87 ),'delete' => array( 88 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}', 89 'httpMethod' => 'DELETE', 90 'parameters' => array( 91 'projectName' => array( 92 'location' => 'path', 93 'type' => 'string', 94 'required' => true, 95 ), 96 'region' => array( 97 'location' => 'path', 98 'type' => 'string', 99 'required' => true, 100 ), 101 'resourceViewName' => array( 102 'location' => 'path', 103 'type' => 'string', 104 'required' => true, 105 ), 106 ), 107 ),'get' => array( 108 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}', 109 'httpMethod' => 'GET', 110 'parameters' => array( 111 'projectName' => array( 112 'location' => 'path', 113 'type' => 'string', 114 'required' => true, 115 ), 116 'region' => array( 117 'location' => 'path', 118 'type' => 'string', 119 'required' => true, 120 ), 121 'resourceViewName' => array( 122 'location' => 'path', 123 'type' => 'string', 124 'required' => true, 125 ), 126 ), 127 ),'insert' => array( 128 'path' => '{projectName}/regions/{region}/resourceViews', 129 'httpMethod' => 'POST', 130 'parameters' => array( 131 'projectName' => array( 132 'location' => 'path', 133 'type' => 'string', 134 'required' => true, 135 ), 136 'region' => array( 137 'location' => 'path', 138 'type' => 'string', 139 'required' => true, 140 ), 141 ), 142 ),'list' => array( 143 'path' => '{projectName}/regions/{region}/resourceViews', 144 'httpMethod' => 'GET', 145 'parameters' => array( 146 'projectName' => array( 147 'location' => 'path', 148 'type' => 'string', 149 'required' => true, 150 ), 151 'region' => array( 152 'location' => 'path', 153 'type' => 'string', 154 'required' => true, 155 ), 156 'pageToken' => array( 157 'location' => 'query', 158 'type' => 'string', 159 ), 160 'maxResults' => array( 161 'location' => 'query', 162 'type' => 'integer', 163 ), 164 ), 165 ),'listresources' => array( 166 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/resources', 167 'httpMethod' => 'POST', 168 'parameters' => array( 169 'projectName' => array( 170 'location' => 'path', 171 'type' => 'string', 172 'required' => true, 173 ), 174 'region' => array( 175 'location' => 'path', 176 'type' => 'string', 177 'required' => true, 178 ), 179 'resourceViewName' => array( 180 'location' => 'path', 181 'type' => 'string', 182 'required' => true, 183 ), 184 'pageToken' => array( 185 'location' => 'query', 186 'type' => 'string', 187 ), 188 'maxResults' => array( 189 'location' => 'query', 190 'type' => 'integer', 191 ), 192 ), 193 ),'removeresources' => array( 194 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/removeResources', 195 'httpMethod' => 'POST', 196 'parameters' => array( 197 'projectName' => array( 198 'location' => 'path', 199 'type' => 'string', 200 'required' => true, 201 ), 202 'region' => array( 203 'location' => 'path', 204 'type' => 'string', 205 'required' => true, 206 ), 207 'resourceViewName' => array( 208 'location' => 'path', 209 'type' => 'string', 210 'required' => true, 211 ), 212 ), 213 ), 214 ) 215 ) 216 ); 217 $this->zoneViews = new Google_Service_Resourceviews_ZoneViews_Resource( 218 $this, 219 $this->serviceName, 220 'zoneViews', 221 array( 222 'methods' => array( 223 'addresources' => array( 224 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/addResources', 225 'httpMethod' => 'POST', 226 'parameters' => array( 227 'projectName' => array( 228 'location' => 'path', 229 'type' => 'string', 230 'required' => true, 231 ), 232 'zone' => array( 233 'location' => 'path', 234 'type' => 'string', 235 'required' => true, 236 ), 237 'resourceViewName' => array( 238 'location' => 'path', 239 'type' => 'string', 240 'required' => true, 241 ), 242 ), 243 ),'delete' => array( 244 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}', 245 'httpMethod' => 'DELETE', 246 'parameters' => array( 247 'projectName' => array( 248 'location' => 'path', 249 'type' => 'string', 250 'required' => true, 251 ), 252 'zone' => array( 253 'location' => 'path', 254 'type' => 'string', 255 'required' => true, 256 ), 257 'resourceViewName' => array( 258 'location' => 'path', 259 'type' => 'string', 260 'required' => true, 261 ), 262 ), 263 ),'get' => array( 264 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}', 265 'httpMethod' => 'GET', 266 'parameters' => array( 267 'projectName' => array( 268 'location' => 'path', 269 'type' => 'string', 270 'required' => true, 271 ), 272 'zone' => array( 273 'location' => 'path', 274 'type' => 'string', 275 'required' => true, 276 ), 277 'resourceViewName' => array( 278 'location' => 'path', 279 'type' => 'string', 280 'required' => true, 281 ), 282 ), 283 ),'insert' => array( 284 'path' => '{projectName}/zones/{zone}/resourceViews', 285 'httpMethod' => 'POST', 286 'parameters' => array( 287 'projectName' => array( 288 'location' => 'path', 289 'type' => 'string', 290 'required' => true, 291 ), 292 'zone' => array( 293 'location' => 'path', 294 'type' => 'string', 295 'required' => true, 296 ), 297 ), 298 ),'list' => array( 299 'path' => '{projectName}/zones/{zone}/resourceViews', 300 'httpMethod' => 'GET', 301 'parameters' => array( 302 'projectName' => array( 303 'location' => 'path', 304 'type' => 'string', 305 'required' => true, 306 ), 307 'zone' => array( 308 'location' => 'path', 309 'type' => 'string', 310 'required' => true, 311 ), 312 'pageToken' => array( 313 'location' => 'query', 314 'type' => 'string', 315 ), 316 'maxResults' => array( 317 'location' => 'query', 318 'type' => 'integer', 319 ), 320 ), 321 ),'listresources' => array( 322 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/resources', 323 'httpMethod' => 'POST', 324 'parameters' => array( 325 'projectName' => array( 326 'location' => 'path', 327 'type' => 'string', 328 'required' => true, 329 ), 330 'zone' => array( 331 'location' => 'path', 332 'type' => 'string', 333 'required' => true, 334 ), 335 'resourceViewName' => array( 336 'location' => 'path', 337 'type' => 'string', 338 'required' => true, 339 ), 340 'pageToken' => array( 341 'location' => 'query', 342 'type' => 'string', 343 ), 344 'maxResults' => array( 345 'location' => 'query', 346 'type' => 'integer', 347 ), 348 ), 349 ),'removeresources' => array( 350 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/removeResources', 351 'httpMethod' => 'POST', 352 'parameters' => array( 353 'projectName' => array( 354 'location' => 'path', 355 'type' => 'string', 356 'required' => true, 357 ), 358 'zone' => array( 359 'location' => 'path', 360 'type' => 'string', 361 'required' => true, 362 ), 363 'resourceViewName' => array( 364 'location' => 'path', 365 'type' => 'string', 366 'required' => true, 367 ), 368 ), 369 ), 370 ) 371 ) 372 ); 373 } 374 } 375 376 377 /** 378 * The "regionViews" collection of methods. 379 * Typical usage is: 380 * <code> 381 * $resourceviewsService = new Google_Service_Resourceviews(...); 382 * $regionViews = $resourceviewsService->regionViews; 383 * </code> 384 */ 385 class Google_Service_Resourceviews_RegionViews_Resource extends Google_Service_Resource 386 { 387 388 /** 389 * Add resources to the view. (regionViews.addresources) 390 * 391 * @param string $projectName 392 * The project name of the resource view. 393 * @param string $region 394 * The region name of the resource view. 395 * @param string $resourceViewName 396 * The name of the resource view. 397 * @param Google_RegionViewsAddResourcesRequest $postBody 398 * @param array $optParams Optional parameters. 399 */ 400 public function addresources($projectName, $region, $resourceViewName, Google_Service_Resourceviews_RegionViewsAddResourcesRequest $postBody, $optParams = array()) 401 { 402 $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody); 403 $params = array_merge($params, $optParams); 404 return $this->call('addresources', array($params)); 405 } 406 /** 407 * Delete a resource view. (regionViews.delete) 408 * 409 * @param string $projectName 410 * The project name of the resource view. 411 * @param string $region 412 * The region name of the resource view. 413 * @param string $resourceViewName 414 * The name of the resource view. 415 * @param array $optParams Optional parameters. 416 */ 417 public function delete($projectName, $region, $resourceViewName, $optParams = array()) 418 { 419 $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName); 420 $params = array_merge($params, $optParams); 421 return $this->call('delete', array($params)); 422 } 423 /** 424 * Get the information of a resource view. (regionViews.get) 425 * 426 * @param string $projectName 427 * The project name of the resource view. 428 * @param string $region 429 * The region name of the resource view. 430 * @param string $resourceViewName 431 * The name of the resource view. 432 * @param array $optParams Optional parameters. 433 * @return Google_Service_Resourceviews_ResourceView 434 */ 435 public function get($projectName, $region, $resourceViewName, $optParams = array()) 436 { 437 $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName); 438 $params = array_merge($params, $optParams); 439 return $this->call('get', array($params), "Google_Service_Resourceviews_ResourceView"); 440 } 441 /** 442 * Create a resource view. (regionViews.insert) 443 * 444 * @param string $projectName 445 * The project name of the resource view. 446 * @param string $region 447 * The region name of the resource view. 448 * @param Google_ResourceView $postBody 449 * @param array $optParams Optional parameters. 450 * @return Google_Service_Resourceviews_RegionViewsInsertResponse 451 */ 452 public function insert($projectName, $region, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array()) 453 { 454 $params = array('projectName' => $projectName, 'region' => $region, 'postBody' => $postBody); 455 $params = array_merge($params, $optParams); 456 return $this->call('insert', array($params), "Google_Service_Resourceviews_RegionViewsInsertResponse"); 457 } 458 /** 459 * List resource views. (regionViews.listRegionViews) 460 * 461 * @param string $projectName 462 * The project name of the resource view. 463 * @param string $region 464 * The region name of the resource view. 465 * @param array $optParams Optional parameters. 466 * 467 * @opt_param string pageToken 468 * Specifies a nextPageToken returned by a previous list request. This token can be used to request 469 * the next page of results from a previous list request. 470 * @opt_param int maxResults 471 * Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 472 * 5000) 473 * @return Google_Service_Resourceviews_RegionViewsListResponse 474 */ 475 public function listRegionViews($projectName, $region, $optParams = array()) 476 { 477 $params = array('projectName' => $projectName, 'region' => $region); 478 $params = array_merge($params, $optParams); 479 return $this->call('list', array($params), "Google_Service_Resourceviews_RegionViewsListResponse"); 480 } 481 /** 482 * List the resources in the view. (regionViews.listresources) 483 * 484 * @param string $projectName 485 * The project name of the resource view. 486 * @param string $region 487 * The region name of the resource view. 488 * @param string $resourceViewName 489 * The name of the resource view. 490 * @param array $optParams Optional parameters. 491 * 492 * @opt_param string pageToken 493 * Specifies a nextPageToken returned by a previous list request. This token can be used to request 494 * the next page of results from a previous list request. 495 * @opt_param int maxResults 496 * Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 497 * 5000) 498 * @return Google_Service_Resourceviews_RegionViewsListResourcesResponse 499 */ 500 public function listresources($projectName, $region, $resourceViewName, $optParams = array()) 501 { 502 $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName); 503 $params = array_merge($params, $optParams); 504 return $this->call('listresources', array($params), "Google_Service_Resourceviews_RegionViewsListResourcesResponse"); 505 } 506 /** 507 * Remove resources from the view. (regionViews.removeresources) 508 * 509 * @param string $projectName 510 * The project name of the resource view. 511 * @param string $region 512 * The region name of the resource view. 513 * @param string $resourceViewName 514 * The name of the resource view. 515 * @param Google_RegionViewsRemoveResourcesRequest $postBody 516 * @param array $optParams Optional parameters. 517 */ 518 public function removeresources($projectName, $region, $resourceViewName, Google_Service_Resourceviews_RegionViewsRemoveResourcesRequest $postBody, $optParams = array()) 519 { 520 $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody); 521 $params = array_merge($params, $optParams); 522 return $this->call('removeresources', array($params)); 523 } 524 } 525 526 /** 527 * The "zoneViews" collection of methods. 528 * Typical usage is: 529 * <code> 530 * $resourceviewsService = new Google_Service_Resourceviews(...); 531 * $zoneViews = $resourceviewsService->zoneViews; 532 * </code> 533 */ 534 class Google_Service_Resourceviews_ZoneViews_Resource extends Google_Service_Resource 535 { 536 537 /** 538 * Add resources to the view. (zoneViews.addresources) 539 * 540 * @param string $projectName 541 * The project name of the resource view. 542 * @param string $zone 543 * The zone name of the resource view. 544 * @param string $resourceViewName 545 * The name of the resource view. 546 * @param Google_ZoneViewsAddResourcesRequest $postBody 547 * @param array $optParams Optional parameters. 548 */ 549 public function addresources($projectName, $zone, $resourceViewName, Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody, $optParams = array()) 550 { 551 $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody); 552 $params = array_merge($params, $optParams); 553 return $this->call('addresources', array($params)); 554 } 555 /** 556 * Delete a resource view. (zoneViews.delete) 557 * 558 * @param string $projectName 559 * The project name of the resource view. 560 * @param string $zone 561 * The zone name of the resource view. 562 * @param string $resourceViewName 563 * The name of the resource view. 564 * @param array $optParams Optional parameters. 565 */ 566 public function delete($projectName, $zone, $resourceViewName, $optParams = array()) 567 { 568 $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName); 569 $params = array_merge($params, $optParams); 570 return $this->call('delete', array($params)); 571 } 572 /** 573 * Get the information of a zonal resource view. (zoneViews.get) 574 * 575 * @param string $projectName 576 * The project name of the resource view. 577 * @param string $zone 578 * The zone name of the resource view. 579 * @param string $resourceViewName 580 * The name of the resource view. 581 * @param array $optParams Optional parameters. 582 * @return Google_Service_Resourceviews_ResourceView 583 */ 584 public function get($projectName, $zone, $resourceViewName, $optParams = array()) 585 { 586 $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName); 587 $params = array_merge($params, $optParams); 588 return $this->call('get', array($params), "Google_Service_Resourceviews_ResourceView"); 589 } 590 /** 591 * Create a resource view. (zoneViews.insert) 592 * 593 * @param string $projectName 594 * The project name of the resource view. 595 * @param string $zone 596 * The zone name of the resource view. 597 * @param Google_ResourceView $postBody 598 * @param array $optParams Optional parameters. 599 * @return Google_Service_Resourceviews_ZoneViewsInsertResponse 600 */ 601 public function insert($projectName, $zone, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array()) 602 { 603 $params = array('projectName' => $projectName, 'zone' => $zone, 'postBody' => $postBody); 604 $params = array_merge($params, $optParams); 605 return $this->call('insert', array($params), "Google_Service_Resourceviews_ZoneViewsInsertResponse"); 606 } 607 /** 608 * List resource views. (zoneViews.listZoneViews) 609 * 610 * @param string $projectName 611 * The project name of the resource view. 612 * @param string $zone 613 * The zone name of the resource view. 614 * @param array $optParams Optional parameters. 615 * 616 * @opt_param string pageToken 617 * Specifies a nextPageToken returned by a previous list request. This token can be used to request 618 * the next page of results from a previous list request. 619 * @opt_param int maxResults 620 * Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 621 * 5000) 622 * @return Google_Service_Resourceviews_ZoneViewsListResponse 623 */ 624 public function listZoneViews($projectName, $zone, $optParams = array()) 625 { 626 $params = array('projectName' => $projectName, 'zone' => $zone); 627 $params = array_merge($params, $optParams); 628 return $this->call('list', array($params), "Google_Service_Resourceviews_ZoneViewsListResponse"); 629 } 630 /** 631 * List the resources of the resource view. (zoneViews.listresources) 632 * 633 * @param string $projectName 634 * The project name of the resource view. 635 * @param string $zone 636 * The zone name of the resource view. 637 * @param string $resourceViewName 638 * The name of the resource view. 639 * @param array $optParams Optional parameters. 640 * 641 * @opt_param string pageToken 642 * Specifies a nextPageToken returned by a previous list request. This token can be used to request 643 * the next page of results from a previous list request. 644 * @opt_param int maxResults 645 * Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 646 * 5000) 647 * @return Google_Service_Resourceviews_ZoneViewsListResourcesResponse 648 */ 649 public function listresources($projectName, $zone, $resourceViewName, $optParams = array()) 650 { 651 $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName); 652 $params = array_merge($params, $optParams); 653 return $this->call('listresources', array($params), "Google_Service_Resourceviews_ZoneViewsListResourcesResponse"); 654 } 655 /** 656 * Remove resources from the view. (zoneViews.removeresources) 657 * 658 * @param string $projectName 659 * The project name of the resource view. 660 * @param string $zone 661 * The zone name of the resource view. 662 * @param string $resourceViewName 663 * The name of the resource view. 664 * @param Google_ZoneViewsRemoveResourcesRequest $postBody 665 * @param array $optParams Optional parameters. 666 */ 667 public function removeresources($projectName, $zone, $resourceViewName, Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody, $optParams = array()) 668 { 669 $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody); 670 $params = array_merge($params, $optParams); 671 return $this->call('removeresources', array($params)); 672 } 673 } 674 675 676 677 678 class Google_Service_Resourceviews_Label extends Google_Model 679 { 680 public $key; 681 public $value; 682 683 public function setKey($key) 684 { 685 $this->key = $key; 686 } 687 688 public function getKey() 689 { 690 return $this->key; 691 } 692 693 public function setValue($value) 694 { 695 $this->value = $value; 696 } 697 698 public function getValue() 699 { 700 return $this->value; 701 } 702 } 703 704 class Google_Service_Resourceviews_RegionViewsAddResourcesRequest extends Google_Collection 705 { 706 protected $collection_key = 'resources'; 707 public $resources; 708 709 public function setResources($resources) 710 { 711 $this->resources = $resources; 712 } 713 714 public function getResources() 715 { 716 return $this->resources; 717 } 718 } 719 720 class Google_Service_Resourceviews_RegionViewsInsertResponse extends Google_Model 721 { 722 protected $resourceType = 'Google_Service_Resourceviews_ResourceView'; 723 protected $resourceDataType = ''; 724 725 public function setResource(Google_Service_Resourceviews_ResourceView $resource) 726 { 727 $this->resource = $resource; 728 } 729 730 public function getResource() 731 { 732 return $this->resource; 733 } 734 } 735 736 class Google_Service_Resourceviews_RegionViewsListResourcesResponse extends Google_Collection 737 { 738 protected $collection_key = 'members'; 739 public $members; 740 public $nextPageToken; 741 742 public function setMembers($members) 743 { 744 $this->members = $members; 745 } 746 747 public function getMembers() 748 { 749 return $this->members; 750 } 751 752 public function setNextPageToken($nextPageToken) 753 { 754 $this->nextPageToken = $nextPageToken; 755 } 756 757 public function getNextPageToken() 758 { 759 return $this->nextPageToken; 760 } 761 } 762 763 class Google_Service_Resourceviews_RegionViewsListResponse extends Google_Collection 764 { 765 protected $collection_key = 'resourceViews'; 766 public $nextPageToken; 767 protected $resourceViewsType = 'Google_Service_Resourceviews_ResourceView'; 768 protected $resourceViewsDataType = 'array'; 769 770 public function setNextPageToken($nextPageToken) 771 { 772 $this->nextPageToken = $nextPageToken; 773 } 774 775 public function getNextPageToken() 776 { 777 return $this->nextPageToken; 778 } 779 780 public function setResourceViews($resourceViews) 781 { 782 $this->resourceViews = $resourceViews; 783 } 784 785 public function getResourceViews() 786 { 787 return $this->resourceViews; 788 } 789 } 790 791 class Google_Service_Resourceviews_RegionViewsRemoveResourcesRequest extends Google_Collection 792 { 793 protected $collection_key = 'resources'; 794 public $resources; 795 796 public function setResources($resources) 797 { 798 $this->resources = $resources; 799 } 800 801 public function getResources() 802 { 803 return $this->resources; 804 } 805 } 806 807 class Google_Service_Resourceviews_ResourceView extends Google_Collection 808 { 809 protected $collection_key = 'members'; 810 public $creationTime; 811 public $description; 812 public $id; 813 public $kind; 814 protected $labelsType = 'Google_Service_Resourceviews_Label'; 815 protected $labelsDataType = 'array'; 816 public $lastModified; 817 public $members; 818 public $name; 819 public $numMembers; 820 public $selfLink; 821 822 public function setCreationTime($creationTime) 823 { 824 $this->creationTime = $creationTime; 825 } 826 827 public function getCreationTime() 828 { 829 return $this->creationTime; 830 } 831 832 public function setDescription($description) 833 { 834 $this->description = $description; 835 } 836 837 public function getDescription() 838 { 839 return $this->description; 840 } 841 842 public function setId($id) 843 { 844 $this->id = $id; 845 } 846 847 public function getId() 848 { 849 return $this->id; 850 } 851 852 public function setKind($kind) 853 { 854 $this->kind = $kind; 855 } 856 857 public function getKind() 858 { 859 return $this->kind; 860 } 861 862 public function setLabels($labels) 863 { 864 $this->labels = $labels; 865 } 866 867 public function getLabels() 868 { 869 return $this->labels; 870 } 871 872 public function setLastModified($lastModified) 873 { 874 $this->lastModified = $lastModified; 875 } 876 877 public function getLastModified() 878 { 879 return $this->lastModified; 880 } 881 882 public function setMembers($members) 883 { 884 $this->members = $members; 885 } 886 887 public function getMembers() 888 { 889 return $this->members; 890 } 891 892 public function setName($name) 893 { 894 $this->name = $name; 895 } 896 897 public function getName() 898 { 899 return $this->name; 900 } 901 902 public function setNumMembers($numMembers) 903 { 904 $this->numMembers = $numMembers; 905 } 906 907 public function getNumMembers() 908 { 909 return $this->numMembers; 910 } 911 912 public function setSelfLink($selfLink) 913 { 914 $this->selfLink = $selfLink; 915 } 916 917 public function getSelfLink() 918 { 919 return $this->selfLink; 920 } 921 } 922 923 class Google_Service_Resourceviews_ZoneViewsAddResourcesRequest extends Google_Collection 924 { 925 protected $collection_key = 'resources'; 926 public $resources; 927 928 public function setResources($resources) 929 { 930 $this->resources = $resources; 931 } 932 933 public function getResources() 934 { 935 return $this->resources; 936 } 937 } 938 939 class Google_Service_Resourceviews_ZoneViewsInsertResponse extends Google_Model 940 { 941 protected $resourceType = 'Google_Service_Resourceviews_ResourceView'; 942 protected $resourceDataType = ''; 943 944 public function setResource(Google_Service_Resourceviews_ResourceView $resource) 945 { 946 $this->resource = $resource; 947 } 948 949 public function getResource() 950 { 951 return $this->resource; 952 } 953 } 954 955 class Google_Service_Resourceviews_ZoneViewsListResourcesResponse extends Google_Collection 956 { 957 protected $collection_key = 'members'; 958 public $members; 959 public $nextPageToken; 960 961 public function setMembers($members) 962 { 963 $this->members = $members; 964 } 965 966 public function getMembers() 967 { 968 return $this->members; 969 } 970 971 public function setNextPageToken($nextPageToken) 972 { 973 $this->nextPageToken = $nextPageToken; 974 } 975 976 public function getNextPageToken() 977 { 978 return $this->nextPageToken; 979 } 980 } 981 982 class Google_Service_Resourceviews_ZoneViewsListResponse extends Google_Collection 983 { 984 protected $collection_key = 'resourceViews'; 985 public $nextPageToken; 986 protected $resourceViewsType = 'Google_Service_Resourceviews_ResourceView'; 987 protected $resourceViewsDataType = 'array'; 988 989 public function setNextPageToken($nextPageToken) 990 { 991 $this->nextPageToken = $nextPageToken; 992 } 993 994 public function getNextPageToken() 995 { 996 return $this->nextPageToken; 997 } 998 999 public function setResourceViews($resourceViews) 1000 { 1001 $this->resourceViews = $resourceViews; 1002 } 1003 1004 public function getResourceViews() 1005 { 1006 return $this->resourceViews; 1007 } 1008 } 1009 1010 class Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest extends Google_Collection 1011 { 1012 protected $collection_key = 'resources'; 1013 public $resources; 1014 1015 public function setResources($resources) 1016 { 1017 $this->resources = $resources; 1018 } 1019 1020 public function getResources() 1021 { 1022 return $this->resources; 1023 } 1024 }
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 |