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