wp-database-backup
/
includes
/
admin
/
Destination
/
Google
/
google-api-php-client
/
src
/
contrib
/
Google_ComputeService.php
Google_ComputeService.php in WP Database Backup – Unlimited Database & Files Backup by Backup for WP 6.11, at includes/admin/Destination/Google/google-api-php-client/src/contrib/Google_ComputeService.php
| 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 | /** |
| 18 | * The "addresses" collection of methods. |
| 19 | * Typical usage is: |
| 20 | * <code> |
| 21 | * $computeService = new Google_ComputeService(...); |
| 22 | * $addresses = $computeService->addresses; |
| 23 | * </code> |
| 24 | */ |
| 25 | class Google_AddressesServiceResource extends Google_ServiceResource { |
| 26 | |
| 27 | /** |
| 28 | * Retrieves the list of addresses grouped by scope. (addresses.aggregatedList) |
| 29 | * |
| 30 | * @param string $project Name of the project scoping this request. |
| 31 | * @param array $optParams Optional parameters. |
| 32 | * |
| 33 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 34 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 35 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 36 | * @return Google_AddressAggregatedList |
| 37 | */ |
| 38 | public function aggregatedList($project, $optParams = array()) { |
| 39 | $params = array('project' => $project); |
| 40 | $params = array_merge($params, $optParams); |
| 41 | $data = $this->__call('aggregatedList', array($params)); |
| 42 | if ($this->useObjects()) { |
| 43 | return new Google_AddressAggregatedList($data); |
| 44 | } else { |
| 45 | return $data; |
| 46 | } |
| 47 | } |
| 48 | /** |
| 49 | * Deletes the specified address resource. (addresses.delete) |
| 50 | * |
| 51 | * @param string $project Name of the project scoping this request. |
| 52 | * @param string $region Name of the region scoping this request. |
| 53 | * @param string $address Name of the address resource to delete. |
| 54 | * @param array $optParams Optional parameters. |
| 55 | * @return Google_Operation |
| 56 | */ |
| 57 | public function delete($project, $region, $address, $optParams = array()) { |
| 58 | $params = array('project' => $project, 'region' => $region, 'address' => $address); |
| 59 | $params = array_merge($params, $optParams); |
| 60 | $data = $this->__call('delete', array($params)); |
| 61 | if ($this->useObjects()) { |
| 62 | return new Google_Operation($data); |
| 63 | } else { |
| 64 | return $data; |
| 65 | } |
| 66 | } |
| 67 | /** |
| 68 | * Returns the specified address resource. (addresses.get) |
| 69 | * |
| 70 | * @param string $project Name of the project scoping this request. |
| 71 | * @param string $region Name of the region scoping this request. |
| 72 | * @param string $address Name of the address resource to return. |
| 73 | * @param array $optParams Optional parameters. |
| 74 | * @return Google_Address |
| 75 | */ |
| 76 | public function get($project, $region, $address, $optParams = array()) { |
| 77 | $params = array('project' => $project, 'region' => $region, 'address' => $address); |
| 78 | $params = array_merge($params, $optParams); |
| 79 | $data = $this->__call('get', array($params)); |
| 80 | if ($this->useObjects()) { |
| 81 | return new Google_Address($data); |
| 82 | } else { |
| 83 | return $data; |
| 84 | } |
| 85 | } |
| 86 | /** |
| 87 | * Creates an address resource in the specified project using the data included in the request. |
| 88 | * (addresses.insert) |
| 89 | * |
| 90 | * @param string $project Name of the project scoping this request. |
| 91 | * @param string $region Name of the region scoping this request. |
| 92 | * @param Google_Address $postBody |
| 93 | * @param array $optParams Optional parameters. |
| 94 | * @return Google_Operation |
| 95 | */ |
| 96 | public function insert($project, $region, Google_Address $postBody, $optParams = array()) { |
| 97 | $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); |
| 98 | $params = array_merge($params, $optParams); |
| 99 | $data = $this->__call('insert', array($params)); |
| 100 | if ($this->useObjects()) { |
| 101 | return new Google_Operation($data); |
| 102 | } else { |
| 103 | return $data; |
| 104 | } |
| 105 | } |
| 106 | /** |
| 107 | * Retrieves the list of address resources contained within the specified region. (addresses.list) |
| 108 | * |
| 109 | * @param string $project Name of the project scoping this request. |
| 110 | * @param string $region Name of the region scoping this request. |
| 111 | * @param array $optParams Optional parameters. |
| 112 | * |
| 113 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 114 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 115 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 116 | * @return Google_AddressList |
| 117 | */ |
| 118 | public function listAddresses($project, $region, $optParams = array()) { |
| 119 | $params = array('project' => $project, 'region' => $region); |
| 120 | $params = array_merge($params, $optParams); |
| 121 | $data = $this->__call('list', array($params)); |
| 122 | if ($this->useObjects()) { |
| 123 | return new Google_AddressList($data); |
| 124 | } else { |
| 125 | return $data; |
| 126 | } |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | /** |
| 131 | * The "disks" collection of methods. |
| 132 | * Typical usage is: |
| 133 | * <code> |
| 134 | * $computeService = new Google_ComputeService(...); |
| 135 | * $disks = $computeService->disks; |
| 136 | * </code> |
| 137 | */ |
| 138 | class Google_DisksServiceResource extends Google_ServiceResource { |
| 139 | |
| 140 | /** |
| 141 | * Retrieves the list of disks grouped by scope. (disks.aggregatedList) |
| 142 | * |
| 143 | * @param string $project Name of the project scoping this request. |
| 144 | * @param array $optParams Optional parameters. |
| 145 | * |
| 146 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 147 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 148 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 149 | * @return Google_DiskAggregatedList |
| 150 | */ |
| 151 | public function aggregatedList($project, $optParams = array()) { |
| 152 | $params = array('project' => $project); |
| 153 | $params = array_merge($params, $optParams); |
| 154 | $data = $this->__call('aggregatedList', array($params)); |
| 155 | if ($this->useObjects()) { |
| 156 | return new Google_DiskAggregatedList($data); |
| 157 | } else { |
| 158 | return $data; |
| 159 | } |
| 160 | } |
| 161 | /** |
| 162 | * (disks.createSnapshot) |
| 163 | * |
| 164 | * @param string $project Name of the project scoping this request. |
| 165 | * @param string $zone Name of the zone scoping this request. |
| 166 | * @param string $disk Name of the persistent disk resource to delete. |
| 167 | * @param Google_Snapshot $postBody |
| 168 | * @param array $optParams Optional parameters. |
| 169 | * @return Google_Operation |
| 170 | */ |
| 171 | public function createSnapshot($project, $zone, $disk, Google_Snapshot $postBody, $optParams = array()) { |
| 172 | $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk, 'postBody' => $postBody); |
| 173 | $params = array_merge($params, $optParams); |
| 174 | $data = $this->__call('createSnapshot', array($params)); |
| 175 | if ($this->useObjects()) { |
| 176 | return new Google_Operation($data); |
| 177 | } else { |
| 178 | return $data; |
| 179 | } |
| 180 | } |
| 181 | /** |
| 182 | * Deletes the specified persistent disk resource. (disks.delete) |
| 183 | * |
| 184 | * @param string $project Name of the project scoping this request. |
| 185 | * @param string $zone Name of the zone scoping this request. |
| 186 | * @param string $disk Name of the persistent disk resource to delete. |
| 187 | * @param array $optParams Optional parameters. |
| 188 | * @return Google_Operation |
| 189 | */ |
| 190 | public function delete($project, $zone, $disk, $optParams = array()) { |
| 191 | $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk); |
| 192 | $params = array_merge($params, $optParams); |
| 193 | $data = $this->__call('delete', array($params)); |
| 194 | if ($this->useObjects()) { |
| 195 | return new Google_Operation($data); |
| 196 | } else { |
| 197 | return $data; |
| 198 | } |
| 199 | } |
| 200 | /** |
| 201 | * Returns the specified persistent disk resource. (disks.get) |
| 202 | * |
| 203 | * @param string $project Name of the project scoping this request. |
| 204 | * @param string $zone Name of the zone scoping this request. |
| 205 | * @param string $disk Name of the persistent disk resource to return. |
| 206 | * @param array $optParams Optional parameters. |
| 207 | * @return Google_Disk |
| 208 | */ |
| 209 | public function get($project, $zone, $disk, $optParams = array()) { |
| 210 | $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk); |
| 211 | $params = array_merge($params, $optParams); |
| 212 | $data = $this->__call('get', array($params)); |
| 213 | if ($this->useObjects()) { |
| 214 | return new Google_Disk($data); |
| 215 | } else { |
| 216 | return $data; |
| 217 | } |
| 218 | } |
| 219 | /** |
| 220 | * Creates a persistent disk resource in the specified project using the data included in the |
| 221 | * request. (disks.insert) |
| 222 | * |
| 223 | * @param string $project Name of the project scoping this request. |
| 224 | * @param string $zone Name of the zone scoping this request. |
| 225 | * @param Google_Disk $postBody |
| 226 | * @param array $optParams Optional parameters. |
| 227 | * |
| 228 | * @opt_param string sourceImage Optional. Source image to restore onto a disk. |
| 229 | * @return Google_Operation |
| 230 | */ |
| 231 | public function insert($project, $zone, Google_Disk $postBody, $optParams = array()) { |
| 232 | $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); |
| 233 | $params = array_merge($params, $optParams); |
| 234 | $data = $this->__call('insert', array($params)); |
| 235 | if ($this->useObjects()) { |
| 236 | return new Google_Operation($data); |
| 237 | } else { |
| 238 | return $data; |
| 239 | } |
| 240 | } |
| 241 | /** |
| 242 | * Retrieves the list of persistent disk resources contained within the specified zone. (disks.list) |
| 243 | * |
| 244 | * @param string $project Name of the project scoping this request. |
| 245 | * @param string $zone Name of the zone scoping this request. |
| 246 | * @param array $optParams Optional parameters. |
| 247 | * |
| 248 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 249 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 250 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 251 | * @return Google_DiskList |
| 252 | */ |
| 253 | public function listDisks($project, $zone, $optParams = array()) { |
| 254 | $params = array('project' => $project, 'zone' => $zone); |
| 255 | $params = array_merge($params, $optParams); |
| 256 | $data = $this->__call('list', array($params)); |
| 257 | if ($this->useObjects()) { |
| 258 | return new Google_DiskList($data); |
| 259 | } else { |
| 260 | return $data; |
| 261 | } |
| 262 | } |
| 263 | } |
| 264 | |
| 265 | /** |
| 266 | * The "firewalls" collection of methods. |
| 267 | * Typical usage is: |
| 268 | * <code> |
| 269 | * $computeService = new Google_ComputeService(...); |
| 270 | * $firewalls = $computeService->firewalls; |
| 271 | * </code> |
| 272 | */ |
| 273 | class Google_FirewallsServiceResource extends Google_ServiceResource { |
| 274 | |
| 275 | /** |
| 276 | * Deletes the specified firewall resource. (firewalls.delete) |
| 277 | * |
| 278 | * @param string $project Name of the project scoping this request. |
| 279 | * @param string $firewall Name of the firewall resource to delete. |
| 280 | * @param array $optParams Optional parameters. |
| 281 | * @return Google_Operation |
| 282 | */ |
| 283 | public function delete($project, $firewall, $optParams = array()) { |
| 284 | $params = array('project' => $project, 'firewall' => $firewall); |
| 285 | $params = array_merge($params, $optParams); |
| 286 | $data = $this->__call('delete', array($params)); |
| 287 | if ($this->useObjects()) { |
| 288 | return new Google_Operation($data); |
| 289 | } else { |
| 290 | return $data; |
| 291 | } |
| 292 | } |
| 293 | /** |
| 294 | * Returns the specified firewall resource. (firewalls.get) |
| 295 | * |
| 296 | * @param string $project Name of the project scoping this request. |
| 297 | * @param string $firewall Name of the firewall resource to return. |
| 298 | * @param array $optParams Optional parameters. |
| 299 | * @return Google_Firewall |
| 300 | */ |
| 301 | public function get($project, $firewall, $optParams = array()) { |
| 302 | $params = array('project' => $project, 'firewall' => $firewall); |
| 303 | $params = array_merge($params, $optParams); |
| 304 | $data = $this->__call('get', array($params)); |
| 305 | if ($this->useObjects()) { |
| 306 | return new Google_Firewall($data); |
| 307 | } else { |
| 308 | return $data; |
| 309 | } |
| 310 | } |
| 311 | /** |
| 312 | * Creates a firewall resource in the specified project using the data included in the request. |
| 313 | * (firewalls.insert) |
| 314 | * |
| 315 | * @param string $project Name of the project scoping this request. |
| 316 | * @param Google_Firewall $postBody |
| 317 | * @param array $optParams Optional parameters. |
| 318 | * @return Google_Operation |
| 319 | */ |
| 320 | public function insert($project, Google_Firewall $postBody, $optParams = array()) { |
| 321 | $params = array('project' => $project, 'postBody' => $postBody); |
| 322 | $params = array_merge($params, $optParams); |
| 323 | $data = $this->__call('insert', array($params)); |
| 324 | if ($this->useObjects()) { |
| 325 | return new Google_Operation($data); |
| 326 | } else { |
| 327 | return $data; |
| 328 | } |
| 329 | } |
| 330 | /** |
| 331 | * Retrieves the list of firewall resources available to the specified project. (firewalls.list) |
| 332 | * |
| 333 | * @param string $project Name of the project scoping this request. |
| 334 | * @param array $optParams Optional parameters. |
| 335 | * |
| 336 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 337 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 338 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 339 | * @return Google_FirewallList |
| 340 | */ |
| 341 | public function listFirewalls($project, $optParams = array()) { |
| 342 | $params = array('project' => $project); |
| 343 | $params = array_merge($params, $optParams); |
| 344 | $data = $this->__call('list', array($params)); |
| 345 | if ($this->useObjects()) { |
| 346 | return new Google_FirewallList($data); |
| 347 | } else { |
| 348 | return $data; |
| 349 | } |
| 350 | } |
| 351 | /** |
| 352 | * Updates the specified firewall resource with the data included in the request. This method |
| 353 | * supports patch semantics. (firewalls.patch) |
| 354 | * |
| 355 | * @param string $project Name of the project scoping this request. |
| 356 | * @param string $firewall Name of the firewall resource to update. |
| 357 | * @param Google_Firewall $postBody |
| 358 | * @param array $optParams Optional parameters. |
| 359 | * @return Google_Operation |
| 360 | */ |
| 361 | public function patch($project, $firewall, Google_Firewall $postBody, $optParams = array()) { |
| 362 | $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody); |
| 363 | $params = array_merge($params, $optParams); |
| 364 | $data = $this->__call('patch', array($params)); |
| 365 | if ($this->useObjects()) { |
| 366 | return new Google_Operation($data); |
| 367 | } else { |
| 368 | return $data; |
| 369 | } |
| 370 | } |
| 371 | /** |
| 372 | * Updates the specified firewall resource with the data included in the request. (firewalls.update) |
| 373 | * |
| 374 | * @param string $project Name of the project scoping this request. |
| 375 | * @param string $firewall Name of the firewall resource to update. |
| 376 | * @param Google_Firewall $postBody |
| 377 | * @param array $optParams Optional parameters. |
| 378 | * @return Google_Operation |
| 379 | */ |
| 380 | public function update($project, $firewall, Google_Firewall $postBody, $optParams = array()) { |
| 381 | $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody); |
| 382 | $params = array_merge($params, $optParams); |
| 383 | $data = $this->__call('update', array($params)); |
| 384 | if ($this->useObjects()) { |
| 385 | return new Google_Operation($data); |
| 386 | } else { |
| 387 | return $data; |
| 388 | } |
| 389 | } |
| 390 | } |
| 391 | |
| 392 | /** |
| 393 | * The "globalOperations" collection of methods. |
| 394 | * Typical usage is: |
| 395 | * <code> |
| 396 | * $computeService = new Google_ComputeService(...); |
| 397 | * $globalOperations = $computeService->globalOperations; |
| 398 | * </code> |
| 399 | */ |
| 400 | class Google_GlobalOperationsServiceResource extends Google_ServiceResource { |
| 401 | |
| 402 | /** |
| 403 | * Retrieves the list of all operations grouped by scope. (globalOperations.aggregatedList) |
| 404 | * |
| 405 | * @param string $project Name of the project scoping this request. |
| 406 | * @param array $optParams Optional parameters. |
| 407 | * |
| 408 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 409 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 410 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 411 | * @return Google_OperationAggregatedList |
| 412 | */ |
| 413 | public function aggregatedList($project, $optParams = array()) { |
| 414 | $params = array('project' => $project); |
| 415 | $params = array_merge($params, $optParams); |
| 416 | $data = $this->__call('aggregatedList', array($params)); |
| 417 | if ($this->useObjects()) { |
| 418 | return new Google_OperationAggregatedList($data); |
| 419 | } else { |
| 420 | return $data; |
| 421 | } |
| 422 | } |
| 423 | /** |
| 424 | * Deletes the specified operation resource. (globalOperations.delete) |
| 425 | * |
| 426 | * @param string $project Name of the project scoping this request. |
| 427 | * @param string $operation Name of the operation resource to delete. |
| 428 | * @param array $optParams Optional parameters. |
| 429 | */ |
| 430 | public function delete($project, $operation, $optParams = array()) { |
| 431 | $params = array('project' => $project, 'operation' => $operation); |
| 432 | $params = array_merge($params, $optParams); |
| 433 | $data = $this->__call('delete', array($params)); |
| 434 | return $data; |
| 435 | } |
| 436 | /** |
| 437 | * Retrieves the specified operation resource. (globalOperations.get) |
| 438 | * |
| 439 | * @param string $project Name of the project scoping this request. |
| 440 | * @param string $operation Name of the operation resource to return. |
| 441 | * @param array $optParams Optional parameters. |
| 442 | * @return Google_Operation |
| 443 | */ |
| 444 | public function get($project, $operation, $optParams = array()) { |
| 445 | $params = array('project' => $project, 'operation' => $operation); |
| 446 | $params = array_merge($params, $optParams); |
| 447 | $data = $this->__call('get', array($params)); |
| 448 | if ($this->useObjects()) { |
| 449 | return new Google_Operation($data); |
| 450 | } else { |
| 451 | return $data; |
| 452 | } |
| 453 | } |
| 454 | /** |
| 455 | * Retrieves the list of operation resources contained within the specified project. |
| 456 | * (globalOperations.list) |
| 457 | * |
| 458 | * @param string $project Name of the project scoping this request. |
| 459 | * @param array $optParams Optional parameters. |
| 460 | * |
| 461 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 462 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 463 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 464 | * @return Google_OperationList |
| 465 | */ |
| 466 | public function listGlobalOperations($project, $optParams = array()) { |
| 467 | $params = array('project' => $project); |
| 468 | $params = array_merge($params, $optParams); |
| 469 | $data = $this->__call('list', array($params)); |
| 470 | if ($this->useObjects()) { |
| 471 | return new Google_OperationList($data); |
| 472 | } else { |
| 473 | return $data; |
| 474 | } |
| 475 | } |
| 476 | } |
| 477 | |
| 478 | /** |
| 479 | * The "images" collection of methods. |
| 480 | * Typical usage is: |
| 481 | * <code> |
| 482 | * $computeService = new Google_ComputeService(...); |
| 483 | * $images = $computeService->images; |
| 484 | * </code> |
| 485 | */ |
| 486 | class Google_ImagesServiceResource extends Google_ServiceResource { |
| 487 | |
| 488 | /** |
| 489 | * Deletes the specified image resource. (images.delete) |
| 490 | * |
| 491 | * @param string $project Name of the project scoping this request. |
| 492 | * @param string $image Name of the image resource to delete. |
| 493 | * @param array $optParams Optional parameters. |
| 494 | * @return Google_Operation |
| 495 | */ |
| 496 | public function delete($project, $image, $optParams = array()) { |
| 497 | $params = array('project' => $project, 'image' => $image); |
| 498 | $params = array_merge($params, $optParams); |
| 499 | $data = $this->__call('delete', array($params)); |
| 500 | if ($this->useObjects()) { |
| 501 | return new Google_Operation($data); |
| 502 | } else { |
| 503 | return $data; |
| 504 | } |
| 505 | } |
| 506 | /** |
| 507 | * Sets the deprecation status of an image. If no message body is given, clears the deprecation |
| 508 | * status instead. (images.deprecate) |
| 509 | * |
| 510 | * @param string $project Name of the project scoping this request. |
| 511 | * @param string $image Image name. |
| 512 | * @param Google_DeprecationStatus $postBody |
| 513 | * @param array $optParams Optional parameters. |
| 514 | * @return Google_Operation |
| 515 | */ |
| 516 | public function deprecate($project, $image, Google_DeprecationStatus $postBody, $optParams = array()) { |
| 517 | $params = array('project' => $project, 'image' => $image, 'postBody' => $postBody); |
| 518 | $params = array_merge($params, $optParams); |
| 519 | $data = $this->__call('deprecate', array($params)); |
| 520 | if ($this->useObjects()) { |
| 521 | return new Google_Operation($data); |
| 522 | } else { |
| 523 | return $data; |
| 524 | } |
| 525 | } |
| 526 | /** |
| 527 | * Returns the specified image resource. (images.get) |
| 528 | * |
| 529 | * @param string $project Name of the project scoping this request. |
| 530 | * @param string $image Name of the image resource to return. |
| 531 | * @param array $optParams Optional parameters. |
| 532 | * @return Google_Image |
| 533 | */ |
| 534 | public function get($project, $image, $optParams = array()) { |
| 535 | $params = array('project' => $project, 'image' => $image); |
| 536 | $params = array_merge($params, $optParams); |
| 537 | $data = $this->__call('get', array($params)); |
| 538 | if ($this->useObjects()) { |
| 539 | return new Google_Image($data); |
| 540 | } else { |
| 541 | return $data; |
| 542 | } |
| 543 | } |
| 544 | /** |
| 545 | * Creates an image resource in the specified project using the data included in the request. |
| 546 | * (images.insert) |
| 547 | * |
| 548 | * @param string $project Name of the project scoping this request. |
| 549 | * @param Google_Image $postBody |
| 550 | * @param array $optParams Optional parameters. |
| 551 | * @return Google_Operation |
| 552 | */ |
| 553 | public function insert($project, Google_Image $postBody, $optParams = array()) { |
| 554 | $params = array('project' => $project, 'postBody' => $postBody); |
| 555 | $params = array_merge($params, $optParams); |
| 556 | $data = $this->__call('insert', array($params)); |
| 557 | if ($this->useObjects()) { |
| 558 | return new Google_Operation($data); |
| 559 | } else { |
| 560 | return $data; |
| 561 | } |
| 562 | } |
| 563 | /** |
| 564 | * Retrieves the list of image resources available to the specified project. (images.list) |
| 565 | * |
| 566 | * @param string $project Name of the project scoping this request. |
| 567 | * @param array $optParams Optional parameters. |
| 568 | * |
| 569 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 570 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 571 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 572 | * @return Google_ImageList |
| 573 | */ |
| 574 | public function listImages($project, $optParams = array()) { |
| 575 | $params = array('project' => $project); |
| 576 | $params = array_merge($params, $optParams); |
| 577 | $data = $this->__call('list', array($params)); |
| 578 | if ($this->useObjects()) { |
| 579 | return new Google_ImageList($data); |
| 580 | } else { |
| 581 | return $data; |
| 582 | } |
| 583 | } |
| 584 | } |
| 585 | |
| 586 | /** |
| 587 | * The "instances" collection of methods. |
| 588 | * Typical usage is: |
| 589 | * <code> |
| 590 | * $computeService = new Google_ComputeService(...); |
| 591 | * $instances = $computeService->instances; |
| 592 | * </code> |
| 593 | */ |
| 594 | class Google_InstancesServiceResource extends Google_ServiceResource { |
| 595 | |
| 596 | /** |
| 597 | * Adds an access config to an instance's network interface. (instances.addAccessConfig) |
| 598 | * |
| 599 | * @param string $project Project name. |
| 600 | * @param string $zone Name of the zone scoping this request. |
| 601 | * @param string $instance Instance name. |
| 602 | * @param string $networkInterface Network interface name. |
| 603 | * @param Google_AccessConfig $postBody |
| 604 | * @param array $optParams Optional parameters. |
| 605 | * @return Google_Operation |
| 606 | */ |
| 607 | public function addAccessConfig($project, $zone, $instance, $networkInterface, Google_AccessConfig $postBody, $optParams = array()) { |
| 608 | $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'networkInterface' => $networkInterface, 'postBody' => $postBody); |
| 609 | $params = array_merge($params, $optParams); |
| 610 | $data = $this->__call('addAccessConfig', array($params)); |
| 611 | if ($this->useObjects()) { |
| 612 | return new Google_Operation($data); |
| 613 | } else { |
| 614 | return $data; |
| 615 | } |
| 616 | } |
| 617 | /** |
| 618 | * (instances.aggregatedList) |
| 619 | * |
| 620 | * @param string $project Name of the project scoping this request. |
| 621 | * @param array $optParams Optional parameters. |
| 622 | * |
| 623 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 624 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 625 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 626 | * @return Google_InstanceAggregatedList |
| 627 | */ |
| 628 | public function aggregatedList($project, $optParams = array()) { |
| 629 | $params = array('project' => $project); |
| 630 | $params = array_merge($params, $optParams); |
| 631 | $data = $this->__call('aggregatedList', array($params)); |
| 632 | if ($this->useObjects()) { |
| 633 | return new Google_InstanceAggregatedList($data); |
| 634 | } else { |
| 635 | return $data; |
| 636 | } |
| 637 | } |
| 638 | /** |
| 639 | * Attaches a disk resource to an instance. (instances.attachDisk) |
| 640 | * |
| 641 | * @param string $project Project name. |
| 642 | * @param string $zone Name of the zone scoping this request. |
| 643 | * @param string $instance Instance name. |
| 644 | * @param Google_AttachedDisk $postBody |
| 645 | * @param array $optParams Optional parameters. |
| 646 | * @return Google_Operation |
| 647 | */ |
| 648 | public function attachDisk($project, $zone, $instance, Google_AttachedDisk $postBody, $optParams = array()) { |
| 649 | $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); |
| 650 | $params = array_merge($params, $optParams); |
| 651 | $data = $this->__call('attachDisk', array($params)); |
| 652 | if ($this->useObjects()) { |
| 653 | return new Google_Operation($data); |
| 654 | } else { |
| 655 | return $data; |
| 656 | } |
| 657 | } |
| 658 | /** |
| 659 | * Deletes the specified instance resource. (instances.delete) |
| 660 | * |
| 661 | * @param string $project Name of the project scoping this request. |
| 662 | * @param string $zone Name of the zone scoping this request. |
| 663 | * @param string $instance Name of the instance resource to delete. |
| 664 | * @param array $optParams Optional parameters. |
| 665 | * @return Google_Operation |
| 666 | */ |
| 667 | public function delete($project, $zone, $instance, $optParams = array()) { |
| 668 | $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); |
| 669 | $params = array_merge($params, $optParams); |
| 670 | $data = $this->__call('delete', array($params)); |
| 671 | if ($this->useObjects()) { |
| 672 | return new Google_Operation($data); |
| 673 | } else { |
| 674 | return $data; |
| 675 | } |
| 676 | } |
| 677 | /** |
| 678 | * Deletes an access config from an instance's network interface. (instances.deleteAccessConfig) |
| 679 | * |
| 680 | * @param string $project Project name. |
| 681 | * @param string $zone Name of the zone scoping this request. |
| 682 | * @param string $instance Instance name. |
| 683 | * @param string $accessConfig Access config name. |
| 684 | * @param string $networkInterface Network interface name. |
| 685 | * @param array $optParams Optional parameters. |
| 686 | * @return Google_Operation |
| 687 | */ |
| 688 | public function deleteAccessConfig($project, $zone, $instance, $accessConfig, $networkInterface, $optParams = array()) { |
| 689 | $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'accessConfig' => $accessConfig, 'networkInterface' => $networkInterface); |
| 690 | $params = array_merge($params, $optParams); |
| 691 | $data = $this->__call('deleteAccessConfig', array($params)); |
| 692 | if ($this->useObjects()) { |
| 693 | return new Google_Operation($data); |
| 694 | } else { |
| 695 | return $data; |
| 696 | } |
| 697 | } |
| 698 | /** |
| 699 | * Detaches a disk from an instance. (instances.detachDisk) |
| 700 | * |
| 701 | * @param string $project Project name. |
| 702 | * @param string $zone Name of the zone scoping this request. |
| 703 | * @param string $instance Instance name. |
| 704 | * @param string $deviceName Disk device name to detach. |
| 705 | * @param array $optParams Optional parameters. |
| 706 | * @return Google_Operation |
| 707 | */ |
| 708 | public function detachDisk($project, $zone, $instance, $deviceName, $optParams = array()) { |
| 709 | $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'deviceName' => $deviceName); |
| 710 | $params = array_merge($params, $optParams); |
| 711 | $data = $this->__call('detachDisk', array($params)); |
| 712 | if ($this->useObjects()) { |
| 713 | return new Google_Operation($data); |
| 714 | } else { |
| 715 | return $data; |
| 716 | } |
| 717 | } |
| 718 | /** |
| 719 | * Returns the specified instance resource. (instances.get) |
| 720 | * |
| 721 | * @param string $project Name of the project scoping this request. |
| 722 | * @param string $zone Name of the zone scoping this request. |
| 723 | * @param string $instance Name of the instance resource to return. |
| 724 | * @param array $optParams Optional parameters. |
| 725 | * @return Google_Instance |
| 726 | */ |
| 727 | public function get($project, $zone, $instance, $optParams = array()) { |
| 728 | $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); |
| 729 | $params = array_merge($params, $optParams); |
| 730 | $data = $this->__call('get', array($params)); |
| 731 | if ($this->useObjects()) { |
| 732 | return new Google_Instance($data); |
| 733 | } else { |
| 734 | return $data; |
| 735 | } |
| 736 | } |
| 737 | /** |
| 738 | * Returns the specified instance's serial port output. (instances.getSerialPortOutput) |
| 739 | * |
| 740 | * @param string $project Name of the project scoping this request. |
| 741 | * @param string $zone Name of the zone scoping this request. |
| 742 | * @param string $instance Name of the instance scoping this request. |
| 743 | * @param array $optParams Optional parameters. |
| 744 | * @return Google_SerialPortOutput |
| 745 | */ |
| 746 | public function getSerialPortOutput($project, $zone, $instance, $optParams = array()) { |
| 747 | $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); |
| 748 | $params = array_merge($params, $optParams); |
| 749 | $data = $this->__call('getSerialPortOutput', array($params)); |
| 750 | if ($this->useObjects()) { |
| 751 | return new Google_SerialPortOutput($data); |
| 752 | } else { |
| 753 | return $data; |
| 754 | } |
| 755 | } |
| 756 | /** |
| 757 | * Creates an instance resource in the specified project using the data included in the request. |
| 758 | * (instances.insert) |
| 759 | * |
| 760 | * @param string $project Name of the project scoping this request. |
| 761 | * @param string $zone Name of the zone scoping this request. |
| 762 | * @param Google_Instance $postBody |
| 763 | * @param array $optParams Optional parameters. |
| 764 | * @return Google_Operation |
| 765 | */ |
| 766 | public function insert($project, $zone, Google_Instance $postBody, $optParams = array()) { |
| 767 | $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); |
| 768 | $params = array_merge($params, $optParams); |
| 769 | $data = $this->__call('insert', array($params)); |
| 770 | if ($this->useObjects()) { |
| 771 | return new Google_Operation($data); |
| 772 | } else { |
| 773 | return $data; |
| 774 | } |
| 775 | } |
| 776 | /** |
| 777 | * Retrieves the list of instance resources contained within the specified zone. (instances.list) |
| 778 | * |
| 779 | * @param string $project Name of the project scoping this request. |
| 780 | * @param string $zone Name of the zone scoping this request. |
| 781 | * @param array $optParams Optional parameters. |
| 782 | * |
| 783 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 784 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 785 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 786 | * @return Google_InstanceList |
| 787 | */ |
| 788 | public function listInstances($project, $zone, $optParams = array()) { |
| 789 | $params = array('project' => $project, 'zone' => $zone); |
| 790 | $params = array_merge($params, $optParams); |
| 791 | $data = $this->__call('list', array($params)); |
| 792 | if ($this->useObjects()) { |
| 793 | return new Google_InstanceList($data); |
| 794 | } else { |
| 795 | return $data; |
| 796 | } |
| 797 | } |
| 798 | /** |
| 799 | * Performs a hard reset on the instance. (instances.reset) |
| 800 | * |
| 801 | * @param string $project Name of the project scoping this request. |
| 802 | * @param string $zone Name of the zone scoping this request. |
| 803 | * @param string $instance Name of the instance scoping this request. |
| 804 | * @param array $optParams Optional parameters. |
| 805 | * @return Google_Operation |
| 806 | */ |
| 807 | public function reset($project, $zone, $instance, $optParams = array()) { |
| 808 | $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); |
| 809 | $params = array_merge($params, $optParams); |
| 810 | $data = $this->__call('reset', array($params)); |
| 811 | if ($this->useObjects()) { |
| 812 | return new Google_Operation($data); |
| 813 | } else { |
| 814 | return $data; |
| 815 | } |
| 816 | } |
| 817 | /** |
| 818 | * Sets metadata for the specified instance to the data included in the request. |
| 819 | * (instances.setMetadata) |
| 820 | * |
| 821 | * @param string $project Name of the project scoping this request. |
| 822 | * @param string $zone Name of the zone scoping this request. |
| 823 | * @param string $instance Name of the instance scoping this request. |
| 824 | * @param Google_Metadata $postBody |
| 825 | * @param array $optParams Optional parameters. |
| 826 | * @return Google_Operation |
| 827 | */ |
| 828 | public function setMetadata($project, $zone, $instance, Google_Metadata $postBody, $optParams = array()) { |
| 829 | $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); |
| 830 | $params = array_merge($params, $optParams); |
| 831 | $data = $this->__call('setMetadata', array($params)); |
| 832 | if ($this->useObjects()) { |
| 833 | return new Google_Operation($data); |
| 834 | } else { |
| 835 | return $data; |
| 836 | } |
| 837 | } |
| 838 | /** |
| 839 | * Sets tags for the specified instance to the data included in the request. (instances.setTags) |
| 840 | * |
| 841 | * @param string $project Name of the project scoping this request. |
| 842 | * @param string $zone Name of the zone scoping this request. |
| 843 | * @param string $instance Name of the instance scoping this request. |
| 844 | * @param Google_Tags $postBody |
| 845 | * @param array $optParams Optional parameters. |
| 846 | * @return Google_Operation |
| 847 | */ |
| 848 | public function setTags($project, $zone, $instance, Google_Tags $postBody, $optParams = array()) { |
| 849 | $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); |
| 850 | $params = array_merge($params, $optParams); |
| 851 | $data = $this->__call('setTags', array($params)); |
| 852 | if ($this->useObjects()) { |
| 853 | return new Google_Operation($data); |
| 854 | } else { |
| 855 | return $data; |
| 856 | } |
| 857 | } |
| 858 | } |
| 859 | |
| 860 | /** |
| 861 | * The "kernels" collection of methods. |
| 862 | * Typical usage is: |
| 863 | * <code> |
| 864 | * $computeService = new Google_ComputeService(...); |
| 865 | * $kernels = $computeService->kernels; |
| 866 | * </code> |
| 867 | */ |
| 868 | class Google_KernelsServiceResource extends Google_ServiceResource { |
| 869 | |
| 870 | /** |
| 871 | * Returns the specified kernel resource. (kernels.get) |
| 872 | * |
| 873 | * @param string $project Name of the project scoping this request. |
| 874 | * @param string $kernel Name of the kernel resource to return. |
| 875 | * @param array $optParams Optional parameters. |
| 876 | * @return Google_Kernel |
| 877 | */ |
| 878 | public function get($project, $kernel, $optParams = array()) { |
| 879 | $params = array('project' => $project, 'kernel' => $kernel); |
| 880 | $params = array_merge($params, $optParams); |
| 881 | $data = $this->__call('get', array($params)); |
| 882 | if ($this->useObjects()) { |
| 883 | return new Google_Kernel($data); |
| 884 | } else { |
| 885 | return $data; |
| 886 | } |
| 887 | } |
| 888 | /** |
| 889 | * Retrieves the list of kernel resources available to the specified project. (kernels.list) |
| 890 | * |
| 891 | * @param string $project Name of the project scoping this request. |
| 892 | * @param array $optParams Optional parameters. |
| 893 | * |
| 894 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 895 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 896 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 897 | * @return Google_KernelList |
| 898 | */ |
| 899 | public function listKernels($project, $optParams = array()) { |
| 900 | $params = array('project' => $project); |
| 901 | $params = array_merge($params, $optParams); |
| 902 | $data = $this->__call('list', array($params)); |
| 903 | if ($this->useObjects()) { |
| 904 | return new Google_KernelList($data); |
| 905 | } else { |
| 906 | return $data; |
| 907 | } |
| 908 | } |
| 909 | } |
| 910 | |
| 911 | /** |
| 912 | * The "machineTypes" collection of methods. |
| 913 | * Typical usage is: |
| 914 | * <code> |
| 915 | * $computeService = new Google_ComputeService(...); |
| 916 | * $machineTypes = $computeService->machineTypes; |
| 917 | * </code> |
| 918 | */ |
| 919 | class Google_MachineTypesServiceResource extends Google_ServiceResource { |
| 920 | |
| 921 | /** |
| 922 | * Retrieves the list of machine type resources grouped by scope. (machineTypes.aggregatedList) |
| 923 | * |
| 924 | * @param string $project Name of the project scoping this request. |
| 925 | * @param array $optParams Optional parameters. |
| 926 | * |
| 927 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 928 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 929 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 930 | * @return Google_MachineTypeAggregatedList |
| 931 | */ |
| 932 | public function aggregatedList($project, $optParams = array()) { |
| 933 | $params = array('project' => $project); |
| 934 | $params = array_merge($params, $optParams); |
| 935 | $data = $this->__call('aggregatedList', array($params)); |
| 936 | if ($this->useObjects()) { |
| 937 | return new Google_MachineTypeAggregatedList($data); |
| 938 | } else { |
| 939 | return $data; |
| 940 | } |
| 941 | } |
| 942 | /** |
| 943 | * Returns the specified machine type resource. (machineTypes.get) |
| 944 | * |
| 945 | * @param string $project Name of the project scoping this request. |
| 946 | * @param string $zone Name of the zone scoping this request. |
| 947 | * @param string $machineType Name of the machine type resource to return. |
| 948 | * @param array $optParams Optional parameters. |
| 949 | * @return Google_MachineType |
| 950 | */ |
| 951 | public function get($project, $zone, $machineType, $optParams = array()) { |
| 952 | $params = array('project' => $project, 'zone' => $zone, 'machineType' => $machineType); |
| 953 | $params = array_merge($params, $optParams); |
| 954 | $data = $this->__call('get', array($params)); |
| 955 | if ($this->useObjects()) { |
| 956 | return new Google_MachineType($data); |
| 957 | } else { |
| 958 | return $data; |
| 959 | } |
| 960 | } |
| 961 | /** |
| 962 | * Retrieves the list of machine type resources available to the specified project. |
| 963 | * (machineTypes.list) |
| 964 | * |
| 965 | * @param string $project Name of the project scoping this request. |
| 966 | * @param string $zone Name of the zone scoping this request. |
| 967 | * @param array $optParams Optional parameters. |
| 968 | * |
| 969 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 970 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 971 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 972 | * @return Google_MachineTypeList |
| 973 | */ |
| 974 | public function listMachineTypes($project, $zone, $optParams = array()) { |
| 975 | $params = array('project' => $project, 'zone' => $zone); |
| 976 | $params = array_merge($params, $optParams); |
| 977 | $data = $this->__call('list', array($params)); |
| 978 | if ($this->useObjects()) { |
| 979 | return new Google_MachineTypeList($data); |
| 980 | } else { |
| 981 | return $data; |
| 982 | } |
| 983 | } |
| 984 | } |
| 985 | |
| 986 | /** |
| 987 | * The "networks" collection of methods. |
| 988 | * Typical usage is: |
| 989 | * <code> |
| 990 | * $computeService = new Google_ComputeService(...); |
| 991 | * $networks = $computeService->networks; |
| 992 | * </code> |
| 993 | */ |
| 994 | class Google_NetworksServiceResource extends Google_ServiceResource { |
| 995 | |
| 996 | /** |
| 997 | * Deletes the specified network resource. (networks.delete) |
| 998 | * |
| 999 | * @param string $project Name of the project scoping this request. |
| 1000 | * @param string $network Name of the network resource to delete. |
| 1001 | * @param array $optParams Optional parameters. |
| 1002 | * @return Google_Operation |
| 1003 | */ |
| 1004 | public function delete($project, $network, $optParams = array()) { |
| 1005 | $params = array('project' => $project, 'network' => $network); |
| 1006 | $params = array_merge($params, $optParams); |
| 1007 | $data = $this->__call('delete', array($params)); |
| 1008 | if ($this->useObjects()) { |
| 1009 | return new Google_Operation($data); |
| 1010 | } else { |
| 1011 | return $data; |
| 1012 | } |
| 1013 | } |
| 1014 | /** |
| 1015 | * Returns the specified network resource. (networks.get) |
| 1016 | * |
| 1017 | * @param string $project Name of the project scoping this request. |
| 1018 | * @param string $network Name of the network resource to return. |
| 1019 | * @param array $optParams Optional parameters. |
| 1020 | * @return Google_Network |
| 1021 | */ |
| 1022 | public function get($project, $network, $optParams = array()) { |
| 1023 | $params = array('project' => $project, 'network' => $network); |
| 1024 | $params = array_merge($params, $optParams); |
| 1025 | $data = $this->__call('get', array($params)); |
| 1026 | if ($this->useObjects()) { |
| 1027 | return new Google_Network($data); |
| 1028 | } else { |
| 1029 | return $data; |
| 1030 | } |
| 1031 | } |
| 1032 | /** |
| 1033 | * Creates a network resource in the specified project using the data included in the request. |
| 1034 | * (networks.insert) |
| 1035 | * |
| 1036 | * @param string $project Name of the project scoping this request. |
| 1037 | * @param Google_Network $postBody |
| 1038 | * @param array $optParams Optional parameters. |
| 1039 | * @return Google_Operation |
| 1040 | */ |
| 1041 | public function insert($project, Google_Network $postBody, $optParams = array()) { |
| 1042 | $params = array('project' => $project, 'postBody' => $postBody); |
| 1043 | $params = array_merge($params, $optParams); |
| 1044 | $data = $this->__call('insert', array($params)); |
| 1045 | if ($this->useObjects()) { |
| 1046 | return new Google_Operation($data); |
| 1047 | } else { |
| 1048 | return $data; |
| 1049 | } |
| 1050 | } |
| 1051 | /** |
| 1052 | * Retrieves the list of network resources available to the specified project. (networks.list) |
| 1053 | * |
| 1054 | * @param string $project Name of the project scoping this request. |
| 1055 | * @param array $optParams Optional parameters. |
| 1056 | * |
| 1057 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 1058 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 1059 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 1060 | * @return Google_NetworkList |
| 1061 | */ |
| 1062 | public function listNetworks($project, $optParams = array()) { |
| 1063 | $params = array('project' => $project); |
| 1064 | $params = array_merge($params, $optParams); |
| 1065 | $data = $this->__call('list', array($params)); |
| 1066 | if ($this->useObjects()) { |
| 1067 | return new Google_NetworkList($data); |
| 1068 | } else { |
| 1069 | return $data; |
| 1070 | } |
| 1071 | } |
| 1072 | } |
| 1073 | |
| 1074 | /** |
| 1075 | * The "projects" collection of methods. |
| 1076 | * Typical usage is: |
| 1077 | * <code> |
| 1078 | * $computeService = new Google_ComputeService(...); |
| 1079 | * $projects = $computeService->projects; |
| 1080 | * </code> |
| 1081 | */ |
| 1082 | class Google_ProjectsServiceResource extends Google_ServiceResource { |
| 1083 | |
| 1084 | /** |
| 1085 | * Returns the specified project resource. (projects.get) |
| 1086 | * |
| 1087 | * @param string $project Name of the project resource to retrieve. |
| 1088 | * @param array $optParams Optional parameters. |
| 1089 | * @return Google_Project |
| 1090 | */ |
| 1091 | public function get($project, $optParams = array()) { |
| 1092 | $params = array('project' => $project); |
| 1093 | $params = array_merge($params, $optParams); |
| 1094 | $data = $this->__call('get', array($params)); |
| 1095 | if ($this->useObjects()) { |
| 1096 | return new Google_Project($data); |
| 1097 | } else { |
| 1098 | return $data; |
| 1099 | } |
| 1100 | } |
| 1101 | /** |
| 1102 | * Sets metadata common to all instances within the specified project using the data included in the |
| 1103 | * request. (projects.setCommonInstanceMetadata) |
| 1104 | * |
| 1105 | * @param string $project Name of the project scoping this request. |
| 1106 | * @param Google_Metadata $postBody |
| 1107 | * @param array $optParams Optional parameters. |
| 1108 | * @return Google_Operation |
| 1109 | */ |
| 1110 | public function setCommonInstanceMetadata($project, Google_Metadata $postBody, $optParams = array()) { |
| 1111 | $params = array('project' => $project, 'postBody' => $postBody); |
| 1112 | $params = array_merge($params, $optParams); |
| 1113 | $data = $this->__call('setCommonInstanceMetadata', array($params)); |
| 1114 | if ($this->useObjects()) { |
| 1115 | return new Google_Operation($data); |
| 1116 | } else { |
| 1117 | return $data; |
| 1118 | } |
| 1119 | } |
| 1120 | } |
| 1121 | |
| 1122 | /** |
| 1123 | * The "regionOperations" collection of methods. |
| 1124 | * Typical usage is: |
| 1125 | * <code> |
| 1126 | * $computeService = new Google_ComputeService(...); |
| 1127 | * $regionOperations = $computeService->regionOperations; |
| 1128 | * </code> |
| 1129 | */ |
| 1130 | class Google_RegionOperationsServiceResource extends Google_ServiceResource { |
| 1131 | |
| 1132 | /** |
| 1133 | * Deletes the specified region-specific operation resource. (regionOperations.delete) |
| 1134 | * |
| 1135 | * @param string $project Name of the project scoping this request. |
| 1136 | * @param string $region Name of the region scoping this request. |
| 1137 | * @param string $operation Name of the operation resource to delete. |
| 1138 | * @param array $optParams Optional parameters. |
| 1139 | */ |
| 1140 | public function delete($project, $region, $operation, $optParams = array()) { |
| 1141 | $params = array('project' => $project, 'region' => $region, 'operation' => $operation); |
| 1142 | $params = array_merge($params, $optParams); |
| 1143 | $data = $this->__call('delete', array($params)); |
| 1144 | return $data; |
| 1145 | } |
| 1146 | /** |
| 1147 | * Retrieves the specified region-specific operation resource. (regionOperations.get) |
| 1148 | * |
| 1149 | * @param string $project Name of the project scoping this request. |
| 1150 | * @param string $region Name of the zone scoping this request. |
| 1151 | * @param string $operation Name of the operation resource to return. |
| 1152 | * @param array $optParams Optional parameters. |
| 1153 | * @return Google_Operation |
| 1154 | */ |
| 1155 | public function get($project, $region, $operation, $optParams = array()) { |
| 1156 | $params = array('project' => $project, 'region' => $region, 'operation' => $operation); |
| 1157 | $params = array_merge($params, $optParams); |
| 1158 | $data = $this->__call('get', array($params)); |
| 1159 | if ($this->useObjects()) { |
| 1160 | return new Google_Operation($data); |
| 1161 | } else { |
| 1162 | return $data; |
| 1163 | } |
| 1164 | } |
| 1165 | /** |
| 1166 | * Retrieves the list of operation resources contained within the specified region. |
| 1167 | * (regionOperations.list) |
| 1168 | * |
| 1169 | * @param string $project Name of the project scoping this request. |
| 1170 | * @param string $region Name of the region scoping this request. |
| 1171 | * @param array $optParams Optional parameters. |
| 1172 | * |
| 1173 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 1174 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 1175 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 1176 | * @return Google_OperationList |
| 1177 | */ |
| 1178 | public function listRegionOperations($project, $region, $optParams = array()) { |
| 1179 | $params = array('project' => $project, 'region' => $region); |
| 1180 | $params = array_merge($params, $optParams); |
| 1181 | $data = $this->__call('list', array($params)); |
| 1182 | if ($this->useObjects()) { |
| 1183 | return new Google_OperationList($data); |
| 1184 | } else { |
| 1185 | return $data; |
| 1186 | } |
| 1187 | } |
| 1188 | } |
| 1189 | |
| 1190 | /** |
| 1191 | * The "regions" collection of methods. |
| 1192 | * Typical usage is: |
| 1193 | * <code> |
| 1194 | * $computeService = new Google_ComputeService(...); |
| 1195 | * $regions = $computeService->regions; |
| 1196 | * </code> |
| 1197 | */ |
| 1198 | class Google_RegionsServiceResource extends Google_ServiceResource { |
| 1199 | |
| 1200 | /** |
| 1201 | * Returns the specified region resource. (regions.get) |
| 1202 | * |
| 1203 | * @param string $project Name of the project scoping this request. |
| 1204 | * @param string $region Name of the region resource to return. |
| 1205 | * @param array $optParams Optional parameters. |
| 1206 | * @return Google_Region |
| 1207 | */ |
| 1208 | public function get($project, $region, $optParams = array()) { |
| 1209 | $params = array('project' => $project, 'region' => $region); |
| 1210 | $params = array_merge($params, $optParams); |
| 1211 | $data = $this->__call('get', array($params)); |
| 1212 | if ($this->useObjects()) { |
| 1213 | return new Google_Region($data); |
| 1214 | } else { |
| 1215 | return $data; |
| 1216 | } |
| 1217 | } |
| 1218 | /** |
| 1219 | * Retrieves the list of region resources available to the specified project. (regions.list) |
| 1220 | * |
| 1221 | * @param string $project Name of the project scoping this request. |
| 1222 | * @param array $optParams Optional parameters. |
| 1223 | * |
| 1224 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 1225 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 1226 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 1227 | * @return Google_RegionList |
| 1228 | */ |
| 1229 | public function listRegions($project, $optParams = array()) { |
| 1230 | $params = array('project' => $project); |
| 1231 | $params = array_merge($params, $optParams); |
| 1232 | $data = $this->__call('list', array($params)); |
| 1233 | if ($this->useObjects()) { |
| 1234 | return new Google_RegionList($data); |
| 1235 | } else { |
| 1236 | return $data; |
| 1237 | } |
| 1238 | } |
| 1239 | } |
| 1240 | |
| 1241 | /** |
| 1242 | * The "routes" collection of methods. |
| 1243 | * Typical usage is: |
| 1244 | * <code> |
| 1245 | * $computeService = new Google_ComputeService(...); |
| 1246 | * $routes = $computeService->routes; |
| 1247 | * </code> |
| 1248 | */ |
| 1249 | class Google_RoutesServiceResource extends Google_ServiceResource { |
| 1250 | |
| 1251 | /** |
| 1252 | * Deletes the specified route resource. (routes.delete) |
| 1253 | * |
| 1254 | * @param string $project Name of the project scoping this request. |
| 1255 | * @param string $route Name of the route resource to delete. |
| 1256 | * @param array $optParams Optional parameters. |
| 1257 | * @return Google_Operation |
| 1258 | */ |
| 1259 | public function delete($project, $route, $optParams = array()) { |
| 1260 | $params = array('project' => $project, 'route' => $route); |
| 1261 | $params = array_merge($params, $optParams); |
| 1262 | $data = $this->__call('delete', array($params)); |
| 1263 | if ($this->useObjects()) { |
| 1264 | return new Google_Operation($data); |
| 1265 | } else { |
| 1266 | return $data; |
| 1267 | } |
| 1268 | } |
| 1269 | /** |
| 1270 | * Returns the specified route resource. (routes.get) |
| 1271 | * |
| 1272 | * @param string $project Name of the project scoping this request. |
| 1273 | * @param string $route Name of the route resource to return. |
| 1274 | * @param array $optParams Optional parameters. |
| 1275 | * @return Google_Route |
| 1276 | */ |
| 1277 | public function get($project, $route, $optParams = array()) { |
| 1278 | $params = array('project' => $project, 'route' => $route); |
| 1279 | $params = array_merge($params, $optParams); |
| 1280 | $data = $this->__call('get', array($params)); |
| 1281 | if ($this->useObjects()) { |
| 1282 | return new Google_Route($data); |
| 1283 | } else { |
| 1284 | return $data; |
| 1285 | } |
| 1286 | } |
| 1287 | /** |
| 1288 | * Creates a route resource in the specified project using the data included in the request. |
| 1289 | * (routes.insert) |
| 1290 | * |
| 1291 | * @param string $project Name of the project scoping this request. |
| 1292 | * @param Google_Route $postBody |
| 1293 | * @param array $optParams Optional parameters. |
| 1294 | * @return Google_Operation |
| 1295 | */ |
| 1296 | public function insert($project, Google_Route $postBody, $optParams = array()) { |
| 1297 | $params = array('project' => $project, 'postBody' => $postBody); |
| 1298 | $params = array_merge($params, $optParams); |
| 1299 | $data = $this->__call('insert', array($params)); |
| 1300 | if ($this->useObjects()) { |
| 1301 | return new Google_Operation($data); |
| 1302 | } else { |
| 1303 | return $data; |
| 1304 | } |
| 1305 | } |
| 1306 | /** |
| 1307 | * Retrieves the list of route resources available to the specified project. (routes.list) |
| 1308 | * |
| 1309 | * @param string $project Name of the project scoping this request. |
| 1310 | * @param array $optParams Optional parameters. |
| 1311 | * |
| 1312 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 1313 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 1314 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 1315 | * @return Google_RouteList |
| 1316 | */ |
| 1317 | public function listRoutes($project, $optParams = array()) { |
| 1318 | $params = array('project' => $project); |
| 1319 | $params = array_merge($params, $optParams); |
| 1320 | $data = $this->__call('list', array($params)); |
| 1321 | if ($this->useObjects()) { |
| 1322 | return new Google_RouteList($data); |
| 1323 | } else { |
| 1324 | return $data; |
| 1325 | } |
| 1326 | } |
| 1327 | } |
| 1328 | |
| 1329 | /** |
| 1330 | * The "snapshots" collection of methods. |
| 1331 | * Typical usage is: |
| 1332 | * <code> |
| 1333 | * $computeService = new Google_ComputeService(...); |
| 1334 | * $snapshots = $computeService->snapshots; |
| 1335 | * </code> |
| 1336 | */ |
| 1337 | class Google_SnapshotsServiceResource extends Google_ServiceResource { |
| 1338 | |
| 1339 | /** |
| 1340 | * Deletes the specified persistent disk snapshot resource. (snapshots.delete) |
| 1341 | * |
| 1342 | * @param string $project Name of the project scoping this request. |
| 1343 | * @param string $snapshot Name of the persistent disk snapshot resource to delete. |
| 1344 | * @param array $optParams Optional parameters. |
| 1345 | * @return Google_Operation |
| 1346 | */ |
| 1347 | public function delete($project, $snapshot, $optParams = array()) { |
| 1348 | $params = array('project' => $project, 'snapshot' => $snapshot); |
| 1349 | $params = array_merge($params, $optParams); |
| 1350 | $data = $this->__call('delete', array($params)); |
| 1351 | if ($this->useObjects()) { |
| 1352 | return new Google_Operation($data); |
| 1353 | } else { |
| 1354 | return $data; |
| 1355 | } |
| 1356 | } |
| 1357 | /** |
| 1358 | * Returns the specified persistent disk snapshot resource. (snapshots.get) |
| 1359 | * |
| 1360 | * @param string $project Name of the project scoping this request. |
| 1361 | * @param string $snapshot Name of the persistent disk snapshot resource to return. |
| 1362 | * @param array $optParams Optional parameters. |
| 1363 | * @return Google_Snapshot |
| 1364 | */ |
| 1365 | public function get($project, $snapshot, $optParams = array()) { |
| 1366 | $params = array('project' => $project, 'snapshot' => $snapshot); |
| 1367 | $params = array_merge($params, $optParams); |
| 1368 | $data = $this->__call('get', array($params)); |
| 1369 | if ($this->useObjects()) { |
| 1370 | return new Google_Snapshot($data); |
| 1371 | } else { |
| 1372 | return $data; |
| 1373 | } |
| 1374 | } |
| 1375 | /** |
| 1376 | * Retrieves the list of persistent disk snapshot resources contained within the specified project. |
| 1377 | * (snapshots.list) |
| 1378 | * |
| 1379 | * @param string $project Name of the project scoping this request. |
| 1380 | * @param array $optParams Optional parameters. |
| 1381 | * |
| 1382 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 1383 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 1384 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 1385 | * @return Google_SnapshotList |
| 1386 | */ |
| 1387 | public function listSnapshots($project, $optParams = array()) { |
| 1388 | $params = array('project' => $project); |
| 1389 | $params = array_merge($params, $optParams); |
| 1390 | $data = $this->__call('list', array($params)); |
| 1391 | if ($this->useObjects()) { |
| 1392 | return new Google_SnapshotList($data); |
| 1393 | } else { |
| 1394 | return $data; |
| 1395 | } |
| 1396 | } |
| 1397 | } |
| 1398 | |
| 1399 | /** |
| 1400 | * The "zoneOperations" collection of methods. |
| 1401 | * Typical usage is: |
| 1402 | * <code> |
| 1403 | * $computeService = new Google_ComputeService(...); |
| 1404 | * $zoneOperations = $computeService->zoneOperations; |
| 1405 | * </code> |
| 1406 | */ |
| 1407 | class Google_ZoneOperationsServiceResource extends Google_ServiceResource { |
| 1408 | |
| 1409 | /** |
| 1410 | * Deletes the specified zone-specific operation resource. (zoneOperations.delete) |
| 1411 | * |
| 1412 | * @param string $project Name of the project scoping this request. |
| 1413 | * @param string $zone Name of the zone scoping this request. |
| 1414 | * @param string $operation Name of the operation resource to delete. |
| 1415 | * @param array $optParams Optional parameters. |
| 1416 | */ |
| 1417 | public function delete($project, $zone, $operation, $optParams = array()) { |
| 1418 | $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); |
| 1419 | $params = array_merge($params, $optParams); |
| 1420 | $data = $this->__call('delete', array($params)); |
| 1421 | return $data; |
| 1422 | } |
| 1423 | /** |
| 1424 | * Retrieves the specified zone-specific operation resource. (zoneOperations.get) |
| 1425 | * |
| 1426 | * @param string $project Name of the project scoping this request. |
| 1427 | * @param string $zone Name of the zone scoping this request. |
| 1428 | * @param string $operation Name of the operation resource to return. |
| 1429 | * @param array $optParams Optional parameters. |
| 1430 | * @return Google_Operation |
| 1431 | */ |
| 1432 | public function get($project, $zone, $operation, $optParams = array()) { |
| 1433 | $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); |
| 1434 | $params = array_merge($params, $optParams); |
| 1435 | $data = $this->__call('get', array($params)); |
| 1436 | if ($this->useObjects()) { |
| 1437 | return new Google_Operation($data); |
| 1438 | } else { |
| 1439 | return $data; |
| 1440 | } |
| 1441 | } |
| 1442 | /** |
| 1443 | * Retrieves the list of operation resources contained within the specified zone. |
| 1444 | * (zoneOperations.list) |
| 1445 | * |
| 1446 | * @param string $project Name of the project scoping this request. |
| 1447 | * @param string $zone Name of the zone scoping this request. |
| 1448 | * @param array $optParams Optional parameters. |
| 1449 | * |
| 1450 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 1451 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 1452 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 1453 | * @return Google_OperationList |
| 1454 | */ |
| 1455 | public function listZoneOperations($project, $zone, $optParams = array()) { |
| 1456 | $params = array('project' => $project, 'zone' => $zone); |
| 1457 | $params = array_merge($params, $optParams); |
| 1458 | $data = $this->__call('list', array($params)); |
| 1459 | if ($this->useObjects()) { |
| 1460 | return new Google_OperationList($data); |
| 1461 | } else { |
| 1462 | return $data; |
| 1463 | } |
| 1464 | } |
| 1465 | } |
| 1466 | |
| 1467 | /** |
| 1468 | * The "zones" collection of methods. |
| 1469 | * Typical usage is: |
| 1470 | * <code> |
| 1471 | * $computeService = new Google_ComputeService(...); |
| 1472 | * $zones = $computeService->zones; |
| 1473 | * </code> |
| 1474 | */ |
| 1475 | class Google_ZonesServiceResource extends Google_ServiceResource { |
| 1476 | |
| 1477 | /** |
| 1478 | * Returns the specified zone resource. (zones.get) |
| 1479 | * |
| 1480 | * @param string $project Name of the project scoping this request. |
| 1481 | * @param string $zone Name of the zone resource to return. |
| 1482 | * @param array $optParams Optional parameters. |
| 1483 | * @return Google_Zone |
| 1484 | */ |
| 1485 | public function get($project, $zone, $optParams = array()) { |
| 1486 | $params = array('project' => $project, 'zone' => $zone); |
| 1487 | $params = array_merge($params, $optParams); |
| 1488 | $data = $this->__call('get', array($params)); |
| 1489 | if ($this->useObjects()) { |
| 1490 | return new Google_Zone($data); |
| 1491 | } else { |
| 1492 | return $data; |
| 1493 | } |
| 1494 | } |
| 1495 | /** |
| 1496 | * Retrieves the list of zone resources available to the specified project. (zones.list) |
| 1497 | * |
| 1498 | * @param string $project Name of the project scoping this request. |
| 1499 | * @param array $optParams Optional parameters. |
| 1500 | * |
| 1501 | * @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 1502 | * @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 1503 | * @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 1504 | * @return Google_ZoneList |
| 1505 | */ |
| 1506 | public function listZones($project, $optParams = array()) { |
| 1507 | $params = array('project' => $project); |
| 1508 | $params = array_merge($params, $optParams); |
| 1509 | $data = $this->__call('list', array($params)); |
| 1510 | if ($this->useObjects()) { |
| 1511 | return new Google_ZoneList($data); |
| 1512 | } else { |
| 1513 | return $data; |
| 1514 | } |
| 1515 | } |
| 1516 | } |
| 1517 | |
| 1518 | /** |
| 1519 | * Service definition for Google_Compute (v1beta15). |
| 1520 | * |
| 1521 | * <p> |
| 1522 | * API for the Google Compute Engine service. |
| 1523 | * </p> |
| 1524 | * |
| 1525 | * <p> |
| 1526 | * For more information about this service, see the |
| 1527 | * <a href="https://developers.google.com/compute/docs/reference/v1beta15" target="_blank">API Documentation</a> |
| 1528 | * </p> |
| 1529 | * |
| 1530 | * @author Google, Inc. |
| 1531 | */ |
| 1532 | class Google_ComputeService extends Google_Service { |
| 1533 | public $addresses; |
| 1534 | public $disks; |
| 1535 | public $firewalls; |
| 1536 | public $globalOperations; |
| 1537 | public $images; |
| 1538 | public $instances; |
| 1539 | public $kernels; |
| 1540 | public $machineTypes; |
| 1541 | public $networks; |
| 1542 | public $projects; |
| 1543 | public $regionOperations; |
| 1544 | public $regions; |
| 1545 | public $routes; |
| 1546 | public $snapshots; |
| 1547 | public $zoneOperations; |
| 1548 | public $zones; |
| 1549 | /** |
| 1550 | * Constructs the internal representation of the Compute service. |
| 1551 | * |
| 1552 | * @param Google_Client $client |
| 1553 | */ |
| 1554 | public function __construct(Google_Client $client) { |
| 1555 | $this->servicePath = 'compute/v1beta15/projects/'; |
| 1556 | $this->version = 'v1beta15'; |
| 1557 | $this->serviceName = 'compute'; |
| 1558 | |
| 1559 | $client->addService($this->serviceName, $this->version); |
| 1560 | $this->addresses = new Google_AddressesServiceResource($this, $this->serviceName, 'addresses', json_decode('{"methods": {"aggregatedList": {"id": "compute.addresses.aggregatedList", "path": "{project}/aggregated/addresses", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "AddressAggregatedList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "delete": {"id": "compute.addresses.delete", "path": "{project}/regions/{region}/addresses/{address}", "httpMethod": "DELETE", "parameters": {"address": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "region": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "get": {"id": "compute.addresses.get", "path": "{project}/regions/{region}/addresses/{address}", "httpMethod": "GET", "parameters": {"address": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "region": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Address"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "insert": {"id": "compute.addresses.insert", "path": "{project}/regions/{region}/addresses", "httpMethod": "POST", "parameters": {"project": {"type": "string", "required": true, "location": "path"}, "region": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Address"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "list": {"id": "compute.addresses.list", "path": "{project}/regions/{region}/addresses", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}, "region": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "AddressList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}}}', true)); |
| 1561 | $this->disks = new Google_DisksServiceResource($this, $this->serviceName, 'disks', json_decode('{"methods": {"aggregatedList": {"id": "compute.disks.aggregatedList", "path": "{project}/aggregated/disks", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "DiskAggregatedList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "createSnapshot": {"id": "compute.disks.createSnapshot", "path": "{project}/zones/{zone}/disks/{disk}/createSnapshot", "httpMethod": "POST", "parameters": {"disk": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Snapshot"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "delete": {"id": "compute.disks.delete", "path": "{project}/zones/{zone}/disks/{disk}", "httpMethod": "DELETE", "parameters": {"disk": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "get": {"id": "compute.disks.get", "path": "{project}/zones/{zone}/disks/{disk}", "httpMethod": "GET", "parameters": {"disk": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Disk"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "insert": {"id": "compute.disks.insert", "path": "{project}/zones/{zone}/disks", "httpMethod": "POST", "parameters": {"project": {"type": "string", "required": true, "location": "path"}, "sourceImage": {"type": "string", "location": "query"}, "zone": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Disk"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "list": {"id": "compute.disks.list", "path": "{project}/zones/{zone}/disks", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "DiskList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}}}', true)); |
| 1562 | $this->firewalls = new Google_FirewallsServiceResource($this, $this->serviceName, 'firewalls', json_decode('{"methods": {"delete": {"id": "compute.firewalls.delete", "path": "{project}/global/firewalls/{firewall}", "httpMethod": "DELETE", "parameters": {"firewall": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "get": {"id": "compute.firewalls.get", "path": "{project}/global/firewalls/{firewall}", "httpMethod": "GET", "parameters": {"firewall": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Firewall"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "insert": {"id": "compute.firewalls.insert", "path": "{project}/global/firewalls", "httpMethod": "POST", "parameters": {"project": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Firewall"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "list": {"id": "compute.firewalls.list", "path": "{project}/global/firewalls", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "FirewallList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "patch": {"id": "compute.firewalls.patch", "path": "{project}/global/firewalls/{firewall}", "httpMethod": "PATCH", "parameters": {"firewall": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Firewall"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "update": {"id": "compute.firewalls.update", "path": "{project}/global/firewalls/{firewall}", "httpMethod": "PUT", "parameters": {"firewall": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Firewall"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}}}', true)); |
| 1563 | $this->globalOperations = new Google_GlobalOperationsServiceResource($this, $this->serviceName, 'globalOperations', json_decode('{"methods": {"aggregatedList": {"id": "compute.globalOperations.aggregatedList", "path": "{project}/aggregated/operations", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "OperationAggregatedList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "delete": {"id": "compute.globalOperations.delete", "path": "{project}/global/operations/{operation}", "httpMethod": "DELETE", "parameters": {"operation": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "get": {"id": "compute.globalOperations.get", "path": "{project}/global/operations/{operation}", "httpMethod": "GET", "parameters": {"operation": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "list": {"id": "compute.globalOperations.list", "path": "{project}/global/operations", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "OperationList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}}}', true)); |
| 1564 | $this->images = new Google_ImagesServiceResource($this, $this->serviceName, 'images', json_decode('{"methods": {"delete": {"id": "compute.images.delete", "path": "{project}/global/images/{image}", "httpMethod": "DELETE", "parameters": {"image": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "deprecate": {"id": "compute.images.deprecate", "path": "{project}/global/images/{image}/deprecate", "httpMethod": "POST", "parameters": {"image": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "DeprecationStatus"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "get": {"id": "compute.images.get", "path": "{project}/global/images/{image}", "httpMethod": "GET", "parameters": {"image": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Image"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "insert": {"id": "compute.images.insert", "path": "{project}/global/images", "httpMethod": "POST", "parameters": {"project": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Image"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/devstorage.read_only"]}, "list": {"id": "compute.images.list", "path": "{project}/global/images", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "ImageList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}}}', true)); |
| 1565 | $this->instances = new Google_InstancesServiceResource($this, $this->serviceName, 'instances', json_decode('{"methods": {"addAccessConfig": {"id": "compute.instances.addAccessConfig", "path": "{project}/zones/{zone}/instances/{instance}/addAccessConfig", "httpMethod": "POST", "parameters": {"instance": {"type": "string", "required": true, "location": "path"}, "networkInterface": {"type": "string", "required": true, "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "AccessConfig"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "aggregatedList": {"id": "compute.instances.aggregatedList", "path": "{project}/aggregated/instances", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "InstanceAggregatedList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "attachDisk": {"id": "compute.instances.attachDisk", "path": "{project}/zones/{zone}/instances/{instance}/attachDisk", "httpMethod": "POST", "parameters": {"instance": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "AttachedDisk"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "delete": {"id": "compute.instances.delete", "path": "{project}/zones/{zone}/instances/{instance}", "httpMethod": "DELETE", "parameters": {"instance": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "deleteAccessConfig": {"id": "compute.instances.deleteAccessConfig", "path": "{project}/zones/{zone}/instances/{instance}/deleteAccessConfig", "httpMethod": "POST", "parameters": {"accessConfig": {"type": "string", "required": true, "location": "query"}, "instance": {"type": "string", "required": true, "location": "path"}, "networkInterface": {"type": "string", "required": true, "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "detachDisk": {"id": "compute.instances.detachDisk", "path": "{project}/zones/{zone}/instances/{instance}/detachDisk", "httpMethod": "POST", "parameters": {"deviceName": {"type": "string", "required": true, "location": "query"}, "instance": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "get": {"id": "compute.instances.get", "path": "{project}/zones/{zone}/instances/{instance}", "httpMethod": "GET", "parameters": {"instance": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Instance"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "getSerialPortOutput": {"id": "compute.instances.getSerialPortOutput", "path": "{project}/zones/{zone}/instances/{instance}/serialPort", "httpMethod": "GET", "parameters": {"instance": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "SerialPortOutput"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "insert": {"id": "compute.instances.insert", "path": "{project}/zones/{zone}/instances", "httpMethod": "POST", "parameters": {"project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Instance"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "list": {"id": "compute.instances.list", "path": "{project}/zones/{zone}/instances", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "InstanceList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "reset": {"id": "compute.instances.reset", "path": "{project}/zones/{zone}/instances/{instance}/reset", "httpMethod": "POST", "parameters": {"instance": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "setMetadata": {"id": "compute.instances.setMetadata", "path": "{project}/zones/{zone}/instances/{instance}/setMetadata", "httpMethod": "POST", "parameters": {"instance": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Metadata"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "setTags": {"id": "compute.instances.setTags", "path": "{project}/zones/{zone}/instances/{instance}/setTags", "httpMethod": "POST", "parameters": {"instance": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Tags"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}}}', true)); |
| 1566 | $this->kernels = new Google_KernelsServiceResource($this, $this->serviceName, 'kernels', json_decode('{"methods": {"get": {"id": "compute.kernels.get", "path": "{project}/global/kernels/{kernel}", "httpMethod": "GET", "parameters": {"kernel": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Kernel"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "list": {"id": "compute.kernels.list", "path": "{project}/global/kernels", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "KernelList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}}}', true)); |
| 1567 | $this->machineTypes = new Google_MachineTypesServiceResource($this, $this->serviceName, 'machineTypes', json_decode('{"methods": {"aggregatedList": {"id": "compute.machineTypes.aggregatedList", "path": "{project}/aggregated/machineTypes", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "MachineTypeAggregatedList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "get": {"id": "compute.machineTypes.get", "path": "{project}/zones/{zone}/machineTypes/{machineType}", "httpMethod": "GET", "parameters": {"machineType": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "MachineType"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "list": {"id": "compute.machineTypes.list", "path": "{project}/zones/{zone}/machineTypes", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "MachineTypeList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}}}', true)); |
| 1568 | $this->networks = new Google_NetworksServiceResource($this, $this->serviceName, 'networks', json_decode('{"methods": {"delete": {"id": "compute.networks.delete", "path": "{project}/global/networks/{network}", "httpMethod": "DELETE", "parameters": {"network": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "get": {"id": "compute.networks.get", "path": "{project}/global/networks/{network}", "httpMethod": "GET", "parameters": {"network": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Network"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "insert": {"id": "compute.networks.insert", "path": "{project}/global/networks", "httpMethod": "POST", "parameters": {"project": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Network"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "list": {"id": "compute.networks.list", "path": "{project}/global/networks", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "NetworkList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}}}', true)); |
| 1569 | $this->projects = new Google_ProjectsServiceResource($this, $this->serviceName, 'projects', json_decode('{"methods": {"get": {"id": "compute.projects.get", "path": "{project}", "httpMethod": "GET", "parameters": {"project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Project"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "setCommonInstanceMetadata": {"id": "compute.projects.setCommonInstanceMetadata", "path": "{project}/setCommonInstanceMetadata", "httpMethod": "POST", "parameters": {"project": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Metadata"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}}}', true)); |
| 1570 | $this->regionOperations = new Google_RegionOperationsServiceResource($this, $this->serviceName, 'regionOperations', json_decode('{"methods": {"delete": {"id": "compute.regionOperations.delete", "path": "{project}/regions/{region}/operations/{operation}", "httpMethod": "DELETE", "parameters": {"operation": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "region": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "get": {"id": "compute.regionOperations.get", "path": "{project}/regions/{region}/operations/{operation}", "httpMethod": "GET", "parameters": {"operation": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "region": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "list": {"id": "compute.regionOperations.list", "path": "{project}/regions/{region}/operations", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}, "region": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "OperationList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}}}', true)); |
| 1571 | $this->regions = new Google_RegionsServiceResource($this, $this->serviceName, 'regions', json_decode('{"methods": {"get": {"id": "compute.regions.get", "path": "{project}/regions/{region}", "httpMethod": "GET", "parameters": {"project": {"type": "string", "required": true, "location": "path"}, "region": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Region"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "list": {"id": "compute.regions.list", "path": "{project}/regions", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "RegionList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}}}', true)); |
| 1572 | $this->routes = new Google_RoutesServiceResource($this, $this->serviceName, 'routes', json_decode('{"methods": {"delete": {"id": "compute.routes.delete", "path": "{project}/global/routes/{route}", "httpMethod": "DELETE", "parameters": {"project": {"type": "string", "required": true, "location": "path"}, "route": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "get": {"id": "compute.routes.get", "path": "{project}/global/routes/{route}", "httpMethod": "GET", "parameters": {"project": {"type": "string", "required": true, "location": "path"}, "route": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Route"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "insert": {"id": "compute.routes.insert", "path": "{project}/global/routes", "httpMethod": "POST", "parameters": {"project": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Route"}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "list": {"id": "compute.routes.list", "path": "{project}/global/routes", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "RouteList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}}}', true)); |
| 1573 | $this->snapshots = new Google_SnapshotsServiceResource($this, $this->serviceName, 'snapshots', json_decode('{"methods": {"delete": {"id": "compute.snapshots.delete", "path": "{project}/global/snapshots/{snapshot}", "httpMethod": "DELETE", "parameters": {"project": {"type": "string", "required": true, "location": "path"}, "snapshot": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "get": {"id": "compute.snapshots.get", "path": "{project}/global/snapshots/{snapshot}", "httpMethod": "GET", "parameters": {"project": {"type": "string", "required": true, "location": "path"}, "snapshot": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Snapshot"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "list": {"id": "compute.snapshots.list", "path": "{project}/global/snapshots", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "SnapshotList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}}}', true)); |
| 1574 | $this->zoneOperations = new Google_ZoneOperationsServiceResource($this, $this->serviceName, 'zoneOperations', json_decode('{"methods": {"delete": {"id": "compute.zoneOperations.delete", "path": "{project}/zones/{zone}/operations/{operation}", "httpMethod": "DELETE", "parameters": {"operation": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/compute"]}, "get": {"id": "compute.zoneOperations.get", "path": "{project}/zones/{zone}/operations/{operation}", "httpMethod": "GET", "parameters": {"operation": {"type": "string", "required": true, "location": "path"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Operation"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "list": {"id": "compute.zoneOperations.list", "path": "{project}/zones/{zone}/operations", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "OperationList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}}}', true)); |
| 1575 | $this->zones = new Google_ZonesServiceResource($this, $this->serviceName, 'zones', json_decode('{"methods": {"get": {"id": "compute.zones.get", "path": "{project}/zones/{zone}", "httpMethod": "GET", "parameters": {"project": {"type": "string", "required": true, "location": "path"}, "zone": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Zone"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}, "list": {"id": "compute.zones.list", "path": "{project}/zones", "httpMethod": "GET", "parameters": {"filter": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "0", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "ZoneList"}, "scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly"]}}}', true)); |
| 1576 | |
| 1577 | } |
| 1578 | } |
| 1579 | |
| 1580 | |
| 1581 | |
| 1582 | class Google_AccessConfig extends Google_Model { |
| 1583 | public $kind; |
| 1584 | public $name; |
| 1585 | public $natIP; |
| 1586 | public $type; |
| 1587 | public function setKind( $kind) { |
| 1588 | $this->kind = $kind; |
| 1589 | } |
| 1590 | public function getKind() { |
| 1591 | return $this->kind; |
| 1592 | } |
| 1593 | public function setName( $name) { |
| 1594 | $this->name = $name; |
| 1595 | } |
| 1596 | public function getName() { |
| 1597 | return $this->name; |
| 1598 | } |
| 1599 | public function setNatIP( $natIP) { |
| 1600 | $this->natIP = $natIP; |
| 1601 | } |
| 1602 | public function getNatIP() { |
| 1603 | return $this->natIP; |
| 1604 | } |
| 1605 | public function setType( $type) { |
| 1606 | $this->type = $type; |
| 1607 | } |
| 1608 | public function getType() { |
| 1609 | return $this->type; |
| 1610 | } |
| 1611 | } |
| 1612 | |
| 1613 | class Google_Address extends Google_Model { |
| 1614 | public $address; |
| 1615 | public $creationTimestamp; |
| 1616 | public $description; |
| 1617 | public $id; |
| 1618 | public $kind; |
| 1619 | public $name; |
| 1620 | public $region; |
| 1621 | public $selfLink; |
| 1622 | public $status; |
| 1623 | public $user; |
| 1624 | public function setAddress( $address) { |
| 1625 | $this->address = $address; |
| 1626 | } |
| 1627 | public function getAddress() { |
| 1628 | return $this->address; |
| 1629 | } |
| 1630 | public function setCreationTimestamp( $creationTimestamp) { |
| 1631 | $this->creationTimestamp = $creationTimestamp; |
| 1632 | } |
| 1633 | public function getCreationTimestamp() { |
| 1634 | return $this->creationTimestamp; |
| 1635 | } |
| 1636 | public function setDescription( $description) { |
| 1637 | $this->description = $description; |
| 1638 | } |
| 1639 | public function getDescription() { |
| 1640 | return $this->description; |
| 1641 | } |
| 1642 | public function setId( $id) { |
| 1643 | $this->id = $id; |
| 1644 | } |
| 1645 | public function getId() { |
| 1646 | return $this->id; |
| 1647 | } |
| 1648 | public function setKind( $kind) { |
| 1649 | $this->kind = $kind; |
| 1650 | } |
| 1651 | public function getKind() { |
| 1652 | return $this->kind; |
| 1653 | } |
| 1654 | public function setName( $name) { |
| 1655 | $this->name = $name; |
| 1656 | } |
| 1657 | public function getName() { |
| 1658 | return $this->name; |
| 1659 | } |
| 1660 | public function setRegion( $region) { |
| 1661 | $this->region = $region; |
| 1662 | } |
| 1663 | public function getRegion() { |
| 1664 | return $this->region; |
| 1665 | } |
| 1666 | public function setSelfLink( $selfLink) { |
| 1667 | $this->selfLink = $selfLink; |
| 1668 | } |
| 1669 | public function getSelfLink() { |
| 1670 | return $this->selfLink; |
| 1671 | } |
| 1672 | public function setStatus( $status) { |
| 1673 | $this->status = $status; |
| 1674 | } |
| 1675 | public function getStatus() { |
| 1676 | return $this->status; |
| 1677 | } |
| 1678 | public function setUser( $user) { |
| 1679 | $this->user = $user; |
| 1680 | } |
| 1681 | public function getUser() { |
| 1682 | return $this->user; |
| 1683 | } |
| 1684 | } |
| 1685 | |
| 1686 | class Google_AddressAggregatedList extends Google_Model { |
| 1687 | public $id; |
| 1688 | protected $__itemsType = 'Google_AddressesScopedList'; |
| 1689 | protected $__itemsDataType = 'map'; |
| 1690 | public $items; |
| 1691 | public $kind; |
| 1692 | public $nextPageToken; |
| 1693 | public $selfLink; |
| 1694 | public function setId( $id) { |
| 1695 | $this->id = $id; |
| 1696 | } |
| 1697 | public function getId() { |
| 1698 | return $this->id; |
| 1699 | } |
| 1700 | public function setItems(Google_AddressesScopedList $items) { |
| 1701 | $this->items = $items; |
| 1702 | } |
| 1703 | public function getItems() { |
| 1704 | return $this->items; |
| 1705 | } |
| 1706 | public function setKind( $kind) { |
| 1707 | $this->kind = $kind; |
| 1708 | } |
| 1709 | public function getKind() { |
| 1710 | return $this->kind; |
| 1711 | } |
| 1712 | public function setNextPageToken( $nextPageToken) { |
| 1713 | $this->nextPageToken = $nextPageToken; |
| 1714 | } |
| 1715 | public function getNextPageToken() { |
| 1716 | return $this->nextPageToken; |
| 1717 | } |
| 1718 | public function setSelfLink( $selfLink) { |
| 1719 | $this->selfLink = $selfLink; |
| 1720 | } |
| 1721 | public function getSelfLink() { |
| 1722 | return $this->selfLink; |
| 1723 | } |
| 1724 | } |
| 1725 | |
| 1726 | class Google_AddressList extends Google_Model { |
| 1727 | public $id; |
| 1728 | protected $__itemsType = 'Google_Address'; |
| 1729 | protected $__itemsDataType = 'array'; |
| 1730 | public $items; |
| 1731 | public $kind; |
| 1732 | public $nextPageToken; |
| 1733 | public $selfLink; |
| 1734 | public function setId( $id) { |
| 1735 | $this->id = $id; |
| 1736 | } |
| 1737 | public function getId() { |
| 1738 | return $this->id; |
| 1739 | } |
| 1740 | public function setItems(/* array(Google_Address) */ $items) { |
| 1741 | $this->assertIsArray($items, 'Google_Address', __METHOD__); |
| 1742 | $this->items = $items; |
| 1743 | } |
| 1744 | public function getItems() { |
| 1745 | return $this->items; |
| 1746 | } |
| 1747 | public function setKind( $kind) { |
| 1748 | $this->kind = $kind; |
| 1749 | } |
| 1750 | public function getKind() { |
| 1751 | return $this->kind; |
| 1752 | } |
| 1753 | public function setNextPageToken( $nextPageToken) { |
| 1754 | $this->nextPageToken = $nextPageToken; |
| 1755 | } |
| 1756 | public function getNextPageToken() { |
| 1757 | return $this->nextPageToken; |
| 1758 | } |
| 1759 | public function setSelfLink( $selfLink) { |
| 1760 | $this->selfLink = $selfLink; |
| 1761 | } |
| 1762 | public function getSelfLink() { |
| 1763 | return $this->selfLink; |
| 1764 | } |
| 1765 | } |
| 1766 | |
| 1767 | class Google_AddressesScopedList extends Google_Model { |
| 1768 | protected $__addressesType = 'Google_Address'; |
| 1769 | protected $__addressesDataType = 'array'; |
| 1770 | public $addresses; |
| 1771 | protected $__warningType = 'Google_AddressesScopedListWarning'; |
| 1772 | protected $__warningDataType = ''; |
| 1773 | public $warning; |
| 1774 | public function setAddresses(/* array(Google_Address) */ $addresses) { |
| 1775 | $this->assertIsArray($addresses, 'Google_Address', __METHOD__); |
| 1776 | $this->addresses = $addresses; |
| 1777 | } |
| 1778 | public function getAddresses() { |
| 1779 | return $this->addresses; |
| 1780 | } |
| 1781 | public function setWarning(Google_AddressesScopedListWarning $warning) { |
| 1782 | $this->warning = $warning; |
| 1783 | } |
| 1784 | public function getWarning() { |
| 1785 | return $this->warning; |
| 1786 | } |
| 1787 | } |
| 1788 | |
| 1789 | class Google_AddressesScopedListWarning extends Google_Model { |
| 1790 | public $code; |
| 1791 | protected $__dataType = 'Google_AddressesScopedListWarningData'; |
| 1792 | protected $__dataDataType = 'array'; |
| 1793 | public $data; |
| 1794 | public $message; |
| 1795 | public function setCode( $code) { |
| 1796 | $this->code = $code; |
| 1797 | } |
| 1798 | public function getCode() { |
| 1799 | return $this->code; |
| 1800 | } |
| 1801 | public function setData(/* array(Google_AddressesScopedListWarningData) */ $data) { |
| 1802 | $this->assertIsArray($data, 'Google_AddressesScopedListWarningData', __METHOD__); |
| 1803 | $this->data = $data; |
| 1804 | } |
| 1805 | public function getData() { |
| 1806 | return $this->data; |
| 1807 | } |
| 1808 | public function setMessage( $message) { |
| 1809 | $this->message = $message; |
| 1810 | } |
| 1811 | public function getMessage() { |
| 1812 | return $this->message; |
| 1813 | } |
| 1814 | } |
| 1815 | |
| 1816 | class Google_AddressesScopedListWarningData extends Google_Model { |
| 1817 | public $key; |
| 1818 | public $value; |
| 1819 | public function setKey( $key) { |
| 1820 | $this->key = $key; |
| 1821 | } |
| 1822 | public function getKey() { |
| 1823 | return $this->key; |
| 1824 | } |
| 1825 | public function setValue( $value) { |
| 1826 | $this->value = $value; |
| 1827 | } |
| 1828 | public function getValue() { |
| 1829 | return $this->value; |
| 1830 | } |
| 1831 | } |
| 1832 | |
| 1833 | class Google_AttachedDisk extends Google_Model { |
| 1834 | public $boot; |
| 1835 | public $deviceName; |
| 1836 | public $index; |
| 1837 | public $kind; |
| 1838 | public $mode; |
| 1839 | public $source; |
| 1840 | public $type; |
| 1841 | public function setBoot( $boot) { |
| 1842 | $this->boot = $boot; |
| 1843 | } |
| 1844 | public function getBoot() { |
| 1845 | return $this->boot; |
| 1846 | } |
| 1847 | public function setDeviceName( $deviceName) { |
| 1848 | $this->deviceName = $deviceName; |
| 1849 | } |
| 1850 | public function getDeviceName() { |
| 1851 | return $this->deviceName; |
| 1852 | } |
| 1853 | public function setIndex( $index) { |
| 1854 | $this->index = $index; |
| 1855 | } |
| 1856 | public function getIndex() { |
| 1857 | return $this->index; |
| 1858 | } |
| 1859 | public function setKind( $kind) { |
| 1860 | $this->kind = $kind; |
| 1861 | } |
| 1862 | public function getKind() { |
| 1863 | return $this->kind; |
| 1864 | } |
| 1865 | public function setMode( $mode) { |
| 1866 | $this->mode = $mode; |
| 1867 | } |
| 1868 | public function getMode() { |
| 1869 | return $this->mode; |
| 1870 | } |
| 1871 | public function setSource( $source) { |
| 1872 | $this->source = $source; |
| 1873 | } |
| 1874 | public function getSource() { |
| 1875 | return $this->source; |
| 1876 | } |
| 1877 | public function setType( $type) { |
| 1878 | $this->type = $type; |
| 1879 | } |
| 1880 | public function getType() { |
| 1881 | return $this->type; |
| 1882 | } |
| 1883 | } |
| 1884 | |
| 1885 | class Google_DeprecationStatus extends Google_Model { |
| 1886 | public $deleted; |
| 1887 | public $deprecated; |
| 1888 | public $obsolete; |
| 1889 | public $replacement; |
| 1890 | public $state; |
| 1891 | public function setDeleted( $deleted) { |
| 1892 | $this->deleted = $deleted; |
| 1893 | } |
| 1894 | public function getDeleted() { |
| 1895 | return $this->deleted; |
| 1896 | } |
| 1897 | public function setDeprecated( $deprecated) { |
| 1898 | $this->deprecated = $deprecated; |
| 1899 | } |
| 1900 | public function getDeprecated() { |
| 1901 | return $this->deprecated; |
| 1902 | } |
| 1903 | public function setObsolete( $obsolete) { |
| 1904 | $this->obsolete = $obsolete; |
| 1905 | } |
| 1906 | public function getObsolete() { |
| 1907 | return $this->obsolete; |
| 1908 | } |
| 1909 | public function setReplacement( $replacement) { |
| 1910 | $this->replacement = $replacement; |
| 1911 | } |
| 1912 | public function getReplacement() { |
| 1913 | return $this->replacement; |
| 1914 | } |
| 1915 | public function setState( $state) { |
| 1916 | $this->state = $state; |
| 1917 | } |
| 1918 | public function getState() { |
| 1919 | return $this->state; |
| 1920 | } |
| 1921 | } |
| 1922 | |
| 1923 | class Google_Disk extends Google_Model { |
| 1924 | public $creationTimestamp; |
| 1925 | public $description; |
| 1926 | public $id; |
| 1927 | public $kind; |
| 1928 | public $name; |
| 1929 | public $options; |
| 1930 | public $selfLink; |
| 1931 | public $sizeGb; |
| 1932 | public $sourceSnapshot; |
| 1933 | public $sourceSnapshotId; |
| 1934 | public $status; |
| 1935 | public $zone; |
| 1936 | public function setCreationTimestamp( $creationTimestamp) { |
| 1937 | $this->creationTimestamp = $creationTimestamp; |
| 1938 | } |
| 1939 | public function getCreationTimestamp() { |
| 1940 | return $this->creationTimestamp; |
| 1941 | } |
| 1942 | public function setDescription( $description) { |
| 1943 | $this->description = $description; |
| 1944 | } |
| 1945 | public function getDescription() { |
| 1946 | return $this->description; |
| 1947 | } |
| 1948 | public function setId( $id) { |
| 1949 | $this->id = $id; |
| 1950 | } |
| 1951 | public function getId() { |
| 1952 | return $this->id; |
| 1953 | } |
| 1954 | public function setKind( $kind) { |
| 1955 | $this->kind = $kind; |
| 1956 | } |
| 1957 | public function getKind() { |
| 1958 | return $this->kind; |
| 1959 | } |
| 1960 | public function setName( $name) { |
| 1961 | $this->name = $name; |
| 1962 | } |
| 1963 | public function getName() { |
| 1964 | return $this->name; |
| 1965 | } |
| 1966 | public function setOptions( $options) { |
| 1967 | $this->options = $options; |
| 1968 | } |
| 1969 | public function getOptions() { |
| 1970 | return $this->options; |
| 1971 | } |
| 1972 | public function setSelfLink( $selfLink) { |
| 1973 | $this->selfLink = $selfLink; |
| 1974 | } |
| 1975 | public function getSelfLink() { |
| 1976 | return $this->selfLink; |
| 1977 | } |
| 1978 | public function setSizeGb( $sizeGb) { |
| 1979 | $this->sizeGb = $sizeGb; |
| 1980 | } |
| 1981 | public function getSizeGb() { |
| 1982 | return $this->sizeGb; |
| 1983 | } |
| 1984 | public function setSourceSnapshot( $sourceSnapshot) { |
| 1985 | $this->sourceSnapshot = $sourceSnapshot; |
| 1986 | } |
| 1987 | public function getSourceSnapshot() { |
| 1988 | return $this->sourceSnapshot; |
| 1989 | } |
| 1990 | public function setSourceSnapshotId( $sourceSnapshotId) { |
| 1991 | $this->sourceSnapshotId = $sourceSnapshotId; |
| 1992 | } |
| 1993 | public function getSourceSnapshotId() { |
| 1994 | return $this->sourceSnapshotId; |
| 1995 | } |
| 1996 | public function setStatus( $status) { |
| 1997 | $this->status = $status; |
| 1998 | } |
| 1999 | public function getStatus() { |
| 2000 | return $this->status; |
| 2001 | } |
| 2002 | public function setZone( $zone) { |
| 2003 | $this->zone = $zone; |
| 2004 | } |
| 2005 | public function getZone() { |
| 2006 | return $this->zone; |
| 2007 | } |
| 2008 | } |
| 2009 | |
| 2010 | class Google_DiskAggregatedList extends Google_Model { |
| 2011 | public $id; |
| 2012 | protected $__itemsType = 'Google_DisksScopedList'; |
| 2013 | protected $__itemsDataType = 'map'; |
| 2014 | public $items; |
| 2015 | public $kind; |
| 2016 | public $nextPageToken; |
| 2017 | public $selfLink; |
| 2018 | public function setId( $id) { |
| 2019 | $this->id = $id; |
| 2020 | } |
| 2021 | public function getId() { |
| 2022 | return $this->id; |
| 2023 | } |
| 2024 | public function setItems(Google_DisksScopedList $items) { |
| 2025 | $this->items = $items; |
| 2026 | } |
| 2027 | public function getItems() { |
| 2028 | return $this->items; |
| 2029 | } |
| 2030 | public function setKind( $kind) { |
| 2031 | $this->kind = $kind; |
| 2032 | } |
| 2033 | public function getKind() { |
| 2034 | return $this->kind; |
| 2035 | } |
| 2036 | public function setNextPageToken( $nextPageToken) { |
| 2037 | $this->nextPageToken = $nextPageToken; |
| 2038 | } |
| 2039 | public function getNextPageToken() { |
| 2040 | return $this->nextPageToken; |
| 2041 | } |
| 2042 | public function setSelfLink( $selfLink) { |
| 2043 | $this->selfLink = $selfLink; |
| 2044 | } |
| 2045 | public function getSelfLink() { |
| 2046 | return $this->selfLink; |
| 2047 | } |
| 2048 | } |
| 2049 | |
| 2050 | class Google_DiskList extends Google_Model { |
| 2051 | public $id; |
| 2052 | protected $__itemsType = 'Google_Disk'; |
| 2053 | protected $__itemsDataType = 'array'; |
| 2054 | public $items; |
| 2055 | public $kind; |
| 2056 | public $nextPageToken; |
| 2057 | public $selfLink; |
| 2058 | public function setId( $id) { |
| 2059 | $this->id = $id; |
| 2060 | } |
| 2061 | public function getId() { |
| 2062 | return $this->id; |
| 2063 | } |
| 2064 | public function setItems(/* array(Google_Disk) */ $items) { |
| 2065 | $this->assertIsArray($items, 'Google_Disk', __METHOD__); |
| 2066 | $this->items = $items; |
| 2067 | } |
| 2068 | public function getItems() { |
| 2069 | return $this->items; |
| 2070 | } |
| 2071 | public function setKind( $kind) { |
| 2072 | $this->kind = $kind; |
| 2073 | } |
| 2074 | public function getKind() { |
| 2075 | return $this->kind; |
| 2076 | } |
| 2077 | public function setNextPageToken( $nextPageToken) { |
| 2078 | $this->nextPageToken = $nextPageToken; |
| 2079 | } |
| 2080 | public function getNextPageToken() { |
| 2081 | return $this->nextPageToken; |
| 2082 | } |
| 2083 | public function setSelfLink( $selfLink) { |
| 2084 | $this->selfLink = $selfLink; |
| 2085 | } |
| 2086 | public function getSelfLink() { |
| 2087 | return $this->selfLink; |
| 2088 | } |
| 2089 | } |
| 2090 | |
| 2091 | class Google_DisksScopedList extends Google_Model { |
| 2092 | protected $__disksType = 'Google_Disk'; |
| 2093 | protected $__disksDataType = 'array'; |
| 2094 | public $disks; |
| 2095 | protected $__warningType = 'Google_DisksScopedListWarning'; |
| 2096 | protected $__warningDataType = ''; |
| 2097 | public $warning; |
| 2098 | public function setDisks(/* array(Google_Disk) */ $disks) { |
| 2099 | $this->assertIsArray($disks, 'Google_Disk', __METHOD__); |
| 2100 | $this->disks = $disks; |
| 2101 | } |
| 2102 | public function getDisks() { |
| 2103 | return $this->disks; |
| 2104 | } |
| 2105 | public function setWarning(Google_DisksScopedListWarning $warning) { |
| 2106 | $this->warning = $warning; |
| 2107 | } |
| 2108 | public function getWarning() { |
| 2109 | return $this->warning; |
| 2110 | } |
| 2111 | } |
| 2112 | |
| 2113 | class Google_DisksScopedListWarning extends Google_Model { |
| 2114 | public $code; |
| 2115 | protected $__dataType = 'Google_DisksScopedListWarningData'; |
| 2116 | protected $__dataDataType = 'array'; |
| 2117 | public $data; |
| 2118 | public $message; |
| 2119 | public function setCode( $code) { |
| 2120 | $this->code = $code; |
| 2121 | } |
| 2122 | public function getCode() { |
| 2123 | return $this->code; |
| 2124 | } |
| 2125 | public function setData(/* array(Google_DisksScopedListWarningData) */ $data) { |
| 2126 | $this->assertIsArray($data, 'Google_DisksScopedListWarningData', __METHOD__); |
| 2127 | $this->data = $data; |
| 2128 | } |
| 2129 | public function getData() { |
| 2130 | return $this->data; |
| 2131 | } |
| 2132 | public function setMessage( $message) { |
| 2133 | $this->message = $message; |
| 2134 | } |
| 2135 | public function getMessage() { |
| 2136 | return $this->message; |
| 2137 | } |
| 2138 | } |
| 2139 | |
| 2140 | class Google_DisksScopedListWarningData extends Google_Model { |
| 2141 | public $key; |
| 2142 | public $value; |
| 2143 | public function setKey( $key) { |
| 2144 | $this->key = $key; |
| 2145 | } |
| 2146 | public function getKey() { |
| 2147 | return $this->key; |
| 2148 | } |
| 2149 | public function setValue( $value) { |
| 2150 | $this->value = $value; |
| 2151 | } |
| 2152 | public function getValue() { |
| 2153 | return $this->value; |
| 2154 | } |
| 2155 | } |
| 2156 | |
| 2157 | class Google_Firewall extends Google_Model { |
| 2158 | protected $__allowedType = 'Google_FirewallAllowed'; |
| 2159 | protected $__allowedDataType = 'array'; |
| 2160 | public $allowed; |
| 2161 | public $creationTimestamp; |
| 2162 | public $description; |
| 2163 | public $id; |
| 2164 | public $kind; |
| 2165 | public $name; |
| 2166 | public $network; |
| 2167 | public $selfLink; |
| 2168 | public $sourceRanges; |
| 2169 | public $sourceTags; |
| 2170 | public $targetTags; |
| 2171 | public function setAllowed(/* array(Google_FirewallAllowed) */ $allowed) { |
| 2172 | $this->assertIsArray($allowed, 'Google_FirewallAllowed', __METHOD__); |
| 2173 | $this->allowed = $allowed; |
| 2174 | } |
| 2175 | public function getAllowed() { |
| 2176 | return $this->allowed; |
| 2177 | } |
| 2178 | public function setCreationTimestamp( $creationTimestamp) { |
| 2179 | $this->creationTimestamp = $creationTimestamp; |
| 2180 | } |
| 2181 | public function getCreationTimestamp() { |
| 2182 | return $this->creationTimestamp; |
| 2183 | } |
| 2184 | public function setDescription( $description) { |
| 2185 | $this->description = $description; |
| 2186 | } |
| 2187 | public function getDescription() { |
| 2188 | return $this->description; |
| 2189 | } |
| 2190 | public function setId( $id) { |
| 2191 | $this->id = $id; |
| 2192 | } |
| 2193 | public function getId() { |
| 2194 | return $this->id; |
| 2195 | } |
| 2196 | public function setKind( $kind) { |
| 2197 | $this->kind = $kind; |
| 2198 | } |
| 2199 | public function getKind() { |
| 2200 | return $this->kind; |
| 2201 | } |
| 2202 | public function setName( $name) { |
| 2203 | $this->name = $name; |
| 2204 | } |
| 2205 | public function getName() { |
| 2206 | return $this->name; |
| 2207 | } |
| 2208 | public function setNetwork( $network) { |
| 2209 | $this->network = $network; |
| 2210 | } |
| 2211 | public function getNetwork() { |
| 2212 | return $this->network; |
| 2213 | } |
| 2214 | public function setSelfLink( $selfLink) { |
| 2215 | $this->selfLink = $selfLink; |
| 2216 | } |
| 2217 | public function getSelfLink() { |
| 2218 | return $this->selfLink; |
| 2219 | } |
| 2220 | public function setSourceRanges(/* array(Google_string) */ $sourceRanges) { |
| 2221 | $this->assertIsArray($sourceRanges, 'Google_string', __METHOD__); |
| 2222 | $this->sourceRanges = $sourceRanges; |
| 2223 | } |
| 2224 | public function getSourceRanges() { |
| 2225 | return $this->sourceRanges; |
| 2226 | } |
| 2227 | public function setSourceTags(/* array(Google_string) */ $sourceTags) { |
| 2228 | $this->assertIsArray($sourceTags, 'Google_string', __METHOD__); |
| 2229 | $this->sourceTags = $sourceTags; |
| 2230 | } |
| 2231 | public function getSourceTags() { |
| 2232 | return $this->sourceTags; |
| 2233 | } |
| 2234 | public function setTargetTags(/* array(Google_string) */ $targetTags) { |
| 2235 | $this->assertIsArray($targetTags, 'Google_string', __METHOD__); |
| 2236 | $this->targetTags = $targetTags; |
| 2237 | } |
| 2238 | public function getTargetTags() { |
| 2239 | return $this->targetTags; |
| 2240 | } |
| 2241 | } |
| 2242 | |
| 2243 | class Google_FirewallAllowed extends Google_Model { |
| 2244 | public $IPProtocol; |
| 2245 | public $ports; |
| 2246 | public function setIPProtocol( $IPProtocol) { |
| 2247 | $this->IPProtocol = $IPProtocol; |
| 2248 | } |
| 2249 | public function getIPProtocol() { |
| 2250 | return $this->IPProtocol; |
| 2251 | } |
| 2252 | public function setPorts(/* array(Google_string) */ $ports) { |
| 2253 | $this->assertIsArray($ports, 'Google_string', __METHOD__); |
| 2254 | $this->ports = $ports; |
| 2255 | } |
| 2256 | public function getPorts() { |
| 2257 | return $this->ports; |
| 2258 | } |
| 2259 | } |
| 2260 | |
| 2261 | class Google_FirewallList extends Google_Model { |
| 2262 | public $id; |
| 2263 | protected $__itemsType = 'Google_Firewall'; |
| 2264 | protected $__itemsDataType = 'array'; |
| 2265 | public $items; |
| 2266 | public $kind; |
| 2267 | public $nextPageToken; |
| 2268 | public $selfLink; |
| 2269 | public function setId( $id) { |
| 2270 | $this->id = $id; |
| 2271 | } |
| 2272 | public function getId() { |
| 2273 | return $this->id; |
| 2274 | } |
| 2275 | public function setItems(/* array(Google_Firewall) */ $items) { |
| 2276 | $this->assertIsArray($items, 'Google_Firewall', __METHOD__); |
| 2277 | $this->items = $items; |
| 2278 | } |
| 2279 | public function getItems() { |
| 2280 | return $this->items; |
| 2281 | } |
| 2282 | public function setKind( $kind) { |
| 2283 | $this->kind = $kind; |
| 2284 | } |
| 2285 | public function getKind() { |
| 2286 | return $this->kind; |
| 2287 | } |
| 2288 | public function setNextPageToken( $nextPageToken) { |
| 2289 | $this->nextPageToken = $nextPageToken; |
| 2290 | } |
| 2291 | public function getNextPageToken() { |
| 2292 | return $this->nextPageToken; |
| 2293 | } |
| 2294 | public function setSelfLink( $selfLink) { |
| 2295 | $this->selfLink = $selfLink; |
| 2296 | } |
| 2297 | public function getSelfLink() { |
| 2298 | return $this->selfLink; |
| 2299 | } |
| 2300 | } |
| 2301 | |
| 2302 | class Google_Image extends Google_Model { |
| 2303 | public $creationTimestamp; |
| 2304 | protected $__deprecatedType = 'Google_DeprecationStatus'; |
| 2305 | protected $__deprecatedDataType = ''; |
| 2306 | public $deprecated; |
| 2307 | public $description; |
| 2308 | public $id; |
| 2309 | public $kind; |
| 2310 | public $name; |
| 2311 | public $preferredKernel; |
| 2312 | protected $__rawDiskType = 'Google_ImageRawDisk'; |
| 2313 | protected $__rawDiskDataType = ''; |
| 2314 | public $rawDisk; |
| 2315 | public $selfLink; |
| 2316 | public $sourceType; |
| 2317 | public $status; |
| 2318 | public function setCreationTimestamp( $creationTimestamp) { |
| 2319 | $this->creationTimestamp = $creationTimestamp; |
| 2320 | } |
| 2321 | public function getCreationTimestamp() { |
| 2322 | return $this->creationTimestamp; |
| 2323 | } |
| 2324 | public function setDeprecated(Google_DeprecationStatus $deprecated) { |
| 2325 | $this->deprecated = $deprecated; |
| 2326 | } |
| 2327 | public function getDeprecated() { |
| 2328 | return $this->deprecated; |
| 2329 | } |
| 2330 | public function setDescription( $description) { |
| 2331 | $this->description = $description; |
| 2332 | } |
| 2333 | public function getDescription() { |
| 2334 | return $this->description; |
| 2335 | } |
| 2336 | public function setId( $id) { |
| 2337 | $this->id = $id; |
| 2338 | } |
| 2339 | public function getId() { |
| 2340 | return $this->id; |
| 2341 | } |
| 2342 | public function setKind( $kind) { |
| 2343 | $this->kind = $kind; |
| 2344 | } |
| 2345 | public function getKind() { |
| 2346 | return $this->kind; |
| 2347 | } |
| 2348 | public function setName( $name) { |
| 2349 | $this->name = $name; |
| 2350 | } |
| 2351 | public function getName() { |
| 2352 | return $this->name; |
| 2353 | } |
| 2354 | public function setPreferredKernel( $preferredKernel) { |
| 2355 | $this->preferredKernel = $preferredKernel; |
| 2356 | } |
| 2357 | public function getPreferredKernel() { |
| 2358 | return $this->preferredKernel; |
| 2359 | } |
| 2360 | public function setRawDisk(Google_ImageRawDisk $rawDisk) { |
| 2361 | $this->rawDisk = $rawDisk; |
| 2362 | } |
| 2363 | public function getRawDisk() { |
| 2364 | return $this->rawDisk; |
| 2365 | } |
| 2366 | public function setSelfLink( $selfLink) { |
| 2367 | $this->selfLink = $selfLink; |
| 2368 | } |
| 2369 | public function getSelfLink() { |
| 2370 | return $this->selfLink; |
| 2371 | } |
| 2372 | public function setSourceType( $sourceType) { |
| 2373 | $this->sourceType = $sourceType; |
| 2374 | } |
| 2375 | public function getSourceType() { |
| 2376 | return $this->sourceType; |
| 2377 | } |
| 2378 | public function setStatus( $status) { |
| 2379 | $this->status = $status; |
| 2380 | } |
| 2381 | public function getStatus() { |
| 2382 | return $this->status; |
| 2383 | } |
| 2384 | } |
| 2385 | |
| 2386 | class Google_ImageList extends Google_Model { |
| 2387 | public $id; |
| 2388 | protected $__itemsType = 'Google_Image'; |
| 2389 | protected $__itemsDataType = 'array'; |
| 2390 | public $items; |
| 2391 | public $kind; |
| 2392 | public $nextPageToken; |
| 2393 | public $selfLink; |
| 2394 | public function setId( $id) { |
| 2395 | $this->id = $id; |
| 2396 | } |
| 2397 | public function getId() { |
| 2398 | return $this->id; |
| 2399 | } |
| 2400 | public function setItems(/* array(Google_Image) */ $items) { |
| 2401 | $this->assertIsArray($items, 'Google_Image', __METHOD__); |
| 2402 | $this->items = $items; |
| 2403 | } |
| 2404 | public function getItems() { |
| 2405 | return $this->items; |
| 2406 | } |
| 2407 | public function setKind( $kind) { |
| 2408 | $this->kind = $kind; |
| 2409 | } |
| 2410 | public function getKind() { |
| 2411 | return $this->kind; |
| 2412 | } |
| 2413 | public function setNextPageToken( $nextPageToken) { |
| 2414 | $this->nextPageToken = $nextPageToken; |
| 2415 | } |
| 2416 | public function getNextPageToken() { |
| 2417 | return $this->nextPageToken; |
| 2418 | } |
| 2419 | public function setSelfLink( $selfLink) { |
| 2420 | $this->selfLink = $selfLink; |
| 2421 | } |
| 2422 | public function getSelfLink() { |
| 2423 | return $this->selfLink; |
| 2424 | } |
| 2425 | } |
| 2426 | |
| 2427 | class Google_ImageRawDisk extends Google_Model { |
| 2428 | public $containerType; |
| 2429 | public $sha1Checksum; |
| 2430 | public $source; |
| 2431 | public function setContainerType( $containerType) { |
| 2432 | $this->containerType = $containerType; |
| 2433 | } |
| 2434 | public function getContainerType() { |
| 2435 | return $this->containerType; |
| 2436 | } |
| 2437 | public function setSha1Checksum( $sha1Checksum) { |
| 2438 | $this->sha1Checksum = $sha1Checksum; |
| 2439 | } |
| 2440 | public function getSha1Checksum() { |
| 2441 | return $this->sha1Checksum; |
| 2442 | } |
| 2443 | public function setSource( $source) { |
| 2444 | $this->source = $source; |
| 2445 | } |
| 2446 | public function getSource() { |
| 2447 | return $this->source; |
| 2448 | } |
| 2449 | } |
| 2450 | |
| 2451 | class Google_Instance extends Google_Model { |
| 2452 | public $canIpForward; |
| 2453 | public $creationTimestamp; |
| 2454 | public $description; |
| 2455 | protected $__disksType = 'Google_AttachedDisk'; |
| 2456 | protected $__disksDataType = 'array'; |
| 2457 | public $disks; |
| 2458 | public $id; |
| 2459 | public $image; |
| 2460 | public $kernel; |
| 2461 | public $kind; |
| 2462 | public $machineType; |
| 2463 | protected $__metadataType = 'Google_Metadata'; |
| 2464 | protected $__metadataDataType = ''; |
| 2465 | public $metadata; |
| 2466 | public $name; |
| 2467 | protected $__networkInterfacesType = 'Google_NetworkInterface'; |
| 2468 | protected $__networkInterfacesDataType = 'array'; |
| 2469 | public $networkInterfaces; |
| 2470 | public $selfLink; |
| 2471 | protected $__serviceAccountsType = 'Google_ServiceAccount'; |
| 2472 | protected $__serviceAccountsDataType = 'array'; |
| 2473 | public $serviceAccounts; |
| 2474 | public $status; |
| 2475 | public $statusMessage; |
| 2476 | protected $__tagsType = 'Google_Tags'; |
| 2477 | protected $__tagsDataType = ''; |
| 2478 | public $tags; |
| 2479 | public $zone; |
| 2480 | public function setCanIpForward( $canIpForward) { |
| 2481 | $this->canIpForward = $canIpForward; |
| 2482 | } |
| 2483 | public function getCanIpForward() { |
| 2484 | return $this->canIpForward; |
| 2485 | } |
| 2486 | public function setCreationTimestamp( $creationTimestamp) { |
| 2487 | $this->creationTimestamp = $creationTimestamp; |
| 2488 | } |
| 2489 | public function getCreationTimestamp() { |
| 2490 | return $this->creationTimestamp; |
| 2491 | } |
| 2492 | public function setDescription( $description) { |
| 2493 | $this->description = $description; |
| 2494 | } |
| 2495 | public function getDescription() { |
| 2496 | return $this->description; |
| 2497 | } |
| 2498 | public function setDisks(/* array(Google_AttachedDisk) */ $disks) { |
| 2499 | $this->assertIsArray($disks, 'Google_AttachedDisk', __METHOD__); |
| 2500 | $this->disks = $disks; |
| 2501 | } |
| 2502 | public function getDisks() { |
| 2503 | return $this->disks; |
| 2504 | } |
| 2505 | public function setId( $id) { |
| 2506 | $this->id = $id; |
| 2507 | } |
| 2508 | public function getId() { |
| 2509 | return $this->id; |
| 2510 | } |
| 2511 | public function setImage( $image) { |
| 2512 | $this->image = $image; |
| 2513 | } |
| 2514 | public function getImage() { |
| 2515 | return $this->image; |
| 2516 | } |
| 2517 | public function setKernel( $kernel) { |
| 2518 | $this->kernel = $kernel; |
| 2519 | } |
| 2520 | public function getKernel() { |
| 2521 | return $this->kernel; |
| 2522 | } |
| 2523 | public function setKind( $kind) { |
| 2524 | $this->kind = $kind; |
| 2525 | } |
| 2526 | public function getKind() { |
| 2527 | return $this->kind; |
| 2528 | } |
| 2529 | public function setMachineType( $machineType) { |
| 2530 | $this->machineType = $machineType; |
| 2531 | } |
| 2532 | public function getMachineType() { |
| 2533 | return $this->machineType; |
| 2534 | } |
| 2535 | public function setMetadata(Google_Metadata $metadata) { |
| 2536 | $this->metadata = $metadata; |
| 2537 | } |
| 2538 | public function getMetadata() { |
| 2539 | return $this->metadata; |
| 2540 | } |
| 2541 | public function setName( $name) { |
| 2542 | $this->name = $name; |
| 2543 | } |
| 2544 | public function getName() { |
| 2545 | return $this->name; |
| 2546 | } |
| 2547 | public function setNetworkInterfaces(/* array(Google_NetworkInterface) */ $networkInterfaces) { |
| 2548 | $this->assertIsArray($networkInterfaces, 'Google_NetworkInterface', __METHOD__); |
| 2549 | $this->networkInterfaces = $networkInterfaces; |
| 2550 | } |
| 2551 | public function getNetworkInterfaces() { |
| 2552 | return $this->networkInterfaces; |
| 2553 | } |
| 2554 | public function setSelfLink( $selfLink) { |
| 2555 | $this->selfLink = $selfLink; |
| 2556 | } |
| 2557 | public function getSelfLink() { |
| 2558 | return $this->selfLink; |
| 2559 | } |
| 2560 | public function setServiceAccounts(/* array(Google_ServiceAccount) */ $serviceAccounts) { |
| 2561 | $this->assertIsArray($serviceAccounts, 'Google_ServiceAccount', __METHOD__); |
| 2562 | $this->serviceAccounts = $serviceAccounts; |
| 2563 | } |
| 2564 | public function getServiceAccounts() { |
| 2565 | return $this->serviceAccounts; |
| 2566 | } |
| 2567 | public function setStatus( $status) { |
| 2568 | $this->status = $status; |
| 2569 | } |
| 2570 | public function getStatus() { |
| 2571 | return $this->status; |
| 2572 | } |
| 2573 | public function setStatusMessage( $statusMessage) { |
| 2574 | $this->statusMessage = $statusMessage; |
| 2575 | } |
| 2576 | public function getStatusMessage() { |
| 2577 | return $this->statusMessage; |
| 2578 | } |
| 2579 | public function setTags(Google_Tags $tags) { |
| 2580 | $this->tags = $tags; |
| 2581 | } |
| 2582 | public function getTags() { |
| 2583 | return $this->tags; |
| 2584 | } |
| 2585 | public function setZone( $zone) { |
| 2586 | $this->zone = $zone; |
| 2587 | } |
| 2588 | public function getZone() { |
| 2589 | return $this->zone; |
| 2590 | } |
| 2591 | } |
| 2592 | |
| 2593 | class Google_InstanceAggregatedList extends Google_Model { |
| 2594 | public $id; |
| 2595 | protected $__itemsType = 'Google_InstancesScopedList'; |
| 2596 | protected $__itemsDataType = 'map'; |
| 2597 | public $items; |
| 2598 | public $kind; |
| 2599 | public $nextPageToken; |
| 2600 | public $selfLink; |
| 2601 | public function setId( $id) { |
| 2602 | $this->id = $id; |
| 2603 | } |
| 2604 | public function getId() { |
| 2605 | return $this->id; |
| 2606 | } |
| 2607 | public function setItems(Google_InstancesScopedList $items) { |
| 2608 | $this->items = $items; |
| 2609 | } |
| 2610 | public function getItems() { |
| 2611 | return $this->items; |
| 2612 | } |
| 2613 | public function setKind( $kind) { |
| 2614 | $this->kind = $kind; |
| 2615 | } |
| 2616 | public function getKind() { |
| 2617 | return $this->kind; |
| 2618 | } |
| 2619 | public function setNextPageToken( $nextPageToken) { |
| 2620 | $this->nextPageToken = $nextPageToken; |
| 2621 | } |
| 2622 | public function getNextPageToken() { |
| 2623 | return $this->nextPageToken; |
| 2624 | } |
| 2625 | public function setSelfLink( $selfLink) { |
| 2626 | $this->selfLink = $selfLink; |
| 2627 | } |
| 2628 | public function getSelfLink() { |
| 2629 | return $this->selfLink; |
| 2630 | } |
| 2631 | } |
| 2632 | |
| 2633 | class Google_InstanceList extends Google_Model { |
| 2634 | public $id; |
| 2635 | protected $__itemsType = 'Google_Instance'; |
| 2636 | protected $__itemsDataType = 'array'; |
| 2637 | public $items; |
| 2638 | public $kind; |
| 2639 | public $nextPageToken; |
| 2640 | public $selfLink; |
| 2641 | public function setId( $id) { |
| 2642 | $this->id = $id; |
| 2643 | } |
| 2644 | public function getId() { |
| 2645 | return $this->id; |
| 2646 | } |
| 2647 | public function setItems(/* array(Google_Instance) */ $items) { |
| 2648 | $this->assertIsArray($items, 'Google_Instance', __METHOD__); |
| 2649 | $this->items = $items; |
| 2650 | } |
| 2651 | public function getItems() { |
| 2652 | return $this->items; |
| 2653 | } |
| 2654 | public function setKind( $kind) { |
| 2655 | $this->kind = $kind; |
| 2656 | } |
| 2657 | public function getKind() { |
| 2658 | return $this->kind; |
| 2659 | } |
| 2660 | public function setNextPageToken( $nextPageToken) { |
| 2661 | $this->nextPageToken = $nextPageToken; |
| 2662 | } |
| 2663 | public function getNextPageToken() { |
| 2664 | return $this->nextPageToken; |
| 2665 | } |
| 2666 | public function setSelfLink( $selfLink) { |
| 2667 | $this->selfLink = $selfLink; |
| 2668 | } |
| 2669 | public function getSelfLink() { |
| 2670 | return $this->selfLink; |
| 2671 | } |
| 2672 | } |
| 2673 | |
| 2674 | class Google_InstancesScopedList extends Google_Model { |
| 2675 | protected $__instancesType = 'Google_Instance'; |
| 2676 | protected $__instancesDataType = 'array'; |
| 2677 | public $instances; |
| 2678 | protected $__warningType = 'Google_InstancesScopedListWarning'; |
| 2679 | protected $__warningDataType = ''; |
| 2680 | public $warning; |
| 2681 | public function setInstances(/* array(Google_Instance) */ $instances) { |
| 2682 | $this->assertIsArray($instances, 'Google_Instance', __METHOD__); |
| 2683 | $this->instances = $instances; |
| 2684 | } |
| 2685 | public function getInstances() { |
| 2686 | return $this->instances; |
| 2687 | } |
| 2688 | public function setWarning(Google_InstancesScopedListWarning $warning) { |
| 2689 | $this->warning = $warning; |
| 2690 | } |
| 2691 | public function getWarning() { |
| 2692 | return $this->warning; |
| 2693 | } |
| 2694 | } |
| 2695 | |
| 2696 | class Google_InstancesScopedListWarning extends Google_Model { |
| 2697 | public $code; |
| 2698 | protected $__dataType = 'Google_InstancesScopedListWarningData'; |
| 2699 | protected $__dataDataType = 'array'; |
| 2700 | public $data; |
| 2701 | public $message; |
| 2702 | public function setCode( $code) { |
| 2703 | $this->code = $code; |
| 2704 | } |
| 2705 | public function getCode() { |
| 2706 | return $this->code; |
| 2707 | } |
| 2708 | public function setData(/* array(Google_InstancesScopedListWarningData) */ $data) { |
| 2709 | $this->assertIsArray($data, 'Google_InstancesScopedListWarningData', __METHOD__); |
| 2710 | $this->data = $data; |
| 2711 | } |
| 2712 | public function getData() { |
| 2713 | return $this->data; |
| 2714 | } |
| 2715 | public function setMessage( $message) { |
| 2716 | $this->message = $message; |
| 2717 | } |
| 2718 | public function getMessage() { |
| 2719 | return $this->message; |
| 2720 | } |
| 2721 | } |
| 2722 | |
| 2723 | class Google_InstancesScopedListWarningData extends Google_Model { |
| 2724 | public $key; |
| 2725 | public $value; |
| 2726 | public function setKey( $key) { |
| 2727 | $this->key = $key; |
| 2728 | } |
| 2729 | public function getKey() { |
| 2730 | return $this->key; |
| 2731 | } |
| 2732 | public function setValue( $value) { |
| 2733 | $this->value = $value; |
| 2734 | } |
| 2735 | public function getValue() { |
| 2736 | return $this->value; |
| 2737 | } |
| 2738 | } |
| 2739 | |
| 2740 | class Google_Kernel extends Google_Model { |
| 2741 | public $creationTimestamp; |
| 2742 | protected $__deprecatedType = 'Google_DeprecationStatus'; |
| 2743 | protected $__deprecatedDataType = ''; |
| 2744 | public $deprecated; |
| 2745 | public $description; |
| 2746 | public $id; |
| 2747 | public $kind; |
| 2748 | public $name; |
| 2749 | public $selfLink; |
| 2750 | public function setCreationTimestamp( $creationTimestamp) { |
| 2751 | $this->creationTimestamp = $creationTimestamp; |
| 2752 | } |
| 2753 | public function getCreationTimestamp() { |
| 2754 | return $this->creationTimestamp; |
| 2755 | } |
| 2756 | public function setDeprecated(Google_DeprecationStatus $deprecated) { |
| 2757 | $this->deprecated = $deprecated; |
| 2758 | } |
| 2759 | public function getDeprecated() { |
| 2760 | return $this->deprecated; |
| 2761 | } |
| 2762 | public function setDescription( $description) { |
| 2763 | $this->description = $description; |
| 2764 | } |
| 2765 | public function getDescription() { |
| 2766 | return $this->description; |
| 2767 | } |
| 2768 | public function setId( $id) { |
| 2769 | $this->id = $id; |
| 2770 | } |
| 2771 | public function getId() { |
| 2772 | return $this->id; |
| 2773 | } |
| 2774 | public function setKind( $kind) { |
| 2775 | $this->kind = $kind; |
| 2776 | } |
| 2777 | public function getKind() { |
| 2778 | return $this->kind; |
| 2779 | } |
| 2780 | public function setName( $name) { |
| 2781 | $this->name = $name; |
| 2782 | } |
| 2783 | public function getName() { |
| 2784 | return $this->name; |
| 2785 | } |
| 2786 | public function setSelfLink( $selfLink) { |
| 2787 | $this->selfLink = $selfLink; |
| 2788 | } |
| 2789 | public function getSelfLink() { |
| 2790 | return $this->selfLink; |
| 2791 | } |
| 2792 | } |
| 2793 | |
| 2794 | class Google_KernelList extends Google_Model { |
| 2795 | public $id; |
| 2796 | protected $__itemsType = 'Google_Kernel'; |
| 2797 | protected $__itemsDataType = 'array'; |
| 2798 | public $items; |
| 2799 | public $kind; |
| 2800 | public $nextPageToken; |
| 2801 | public $selfLink; |
| 2802 | public function setId( $id) { |
| 2803 | $this->id = $id; |
| 2804 | } |
| 2805 | public function getId() { |
| 2806 | return $this->id; |
| 2807 | } |
| 2808 | public function setItems(/* array(Google_Kernel) */ $items) { |
| 2809 | $this->assertIsArray($items, 'Google_Kernel', __METHOD__); |
| 2810 | $this->items = $items; |
| 2811 | } |
| 2812 | public function getItems() { |
| 2813 | return $this->items; |
| 2814 | } |
| 2815 | public function setKind( $kind) { |
| 2816 | $this->kind = $kind; |
| 2817 | } |
| 2818 | public function getKind() { |
| 2819 | return $this->kind; |
| 2820 | } |
| 2821 | public function setNextPageToken( $nextPageToken) { |
| 2822 | $this->nextPageToken = $nextPageToken; |
| 2823 | } |
| 2824 | public function getNextPageToken() { |
| 2825 | return $this->nextPageToken; |
| 2826 | } |
| 2827 | public function setSelfLink( $selfLink) { |
| 2828 | $this->selfLink = $selfLink; |
| 2829 | } |
| 2830 | public function getSelfLink() { |
| 2831 | return $this->selfLink; |
| 2832 | } |
| 2833 | } |
| 2834 | |
| 2835 | class Google_MachineType extends Google_Model { |
| 2836 | public $creationTimestamp; |
| 2837 | protected $__deprecatedType = 'Google_DeprecationStatus'; |
| 2838 | protected $__deprecatedDataType = ''; |
| 2839 | public $deprecated; |
| 2840 | public $description; |
| 2841 | public $guestCpus; |
| 2842 | public $id; |
| 2843 | public $imageSpaceGb; |
| 2844 | public $kind; |
| 2845 | public $maximumPersistentDisks; |
| 2846 | public $maximumPersistentDisksSizeGb; |
| 2847 | public $memoryMb; |
| 2848 | public $name; |
| 2849 | protected $__scratchDisksType = 'Google_MachineTypeScratchDisks'; |
| 2850 | protected $__scratchDisksDataType = 'array'; |
| 2851 | public $scratchDisks; |
| 2852 | public $selfLink; |
| 2853 | public $zone; |
| 2854 | public function setCreationTimestamp( $creationTimestamp) { |
| 2855 | $this->creationTimestamp = $creationTimestamp; |
| 2856 | } |
| 2857 | public function getCreationTimestamp() { |
| 2858 | return $this->creationTimestamp; |
| 2859 | } |
| 2860 | public function setDeprecated(Google_DeprecationStatus $deprecated) { |
| 2861 | $this->deprecated = $deprecated; |
| 2862 | } |
| 2863 | public function getDeprecated() { |
| 2864 | return $this->deprecated; |
| 2865 | } |
| 2866 | public function setDescription( $description) { |
| 2867 | $this->description = $description; |
| 2868 | } |
| 2869 | public function getDescription() { |
| 2870 | return $this->description; |
| 2871 | } |
| 2872 | public function setGuestCpus( $guestCpus) { |
| 2873 | $this->guestCpus = $guestCpus; |
| 2874 | } |
| 2875 | public function getGuestCpus() { |
| 2876 | return $this->guestCpus; |
| 2877 | } |
| 2878 | public function setId( $id) { |
| 2879 | $this->id = $id; |
| 2880 | } |
| 2881 | public function getId() { |
| 2882 | return $this->id; |
| 2883 | } |
| 2884 | public function setImageSpaceGb( $imageSpaceGb) { |
| 2885 | $this->imageSpaceGb = $imageSpaceGb; |
| 2886 | } |
| 2887 | public function getImageSpaceGb() { |
| 2888 | return $this->imageSpaceGb; |
| 2889 | } |
| 2890 | public function setKind( $kind) { |
| 2891 | $this->kind = $kind; |
| 2892 | } |
| 2893 | public function getKind() { |
| 2894 | return $this->kind; |
| 2895 | } |
| 2896 | public function setMaximumPersistentDisks( $maximumPersistentDisks) { |
| 2897 | $this->maximumPersistentDisks = $maximumPersistentDisks; |
| 2898 | } |
| 2899 | public function getMaximumPersistentDisks() { |
| 2900 | return $this->maximumPersistentDisks; |
| 2901 | } |
| 2902 | public function setMaximumPersistentDisksSizeGb( $maximumPersistentDisksSizeGb) { |
| 2903 | $this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb; |
| 2904 | } |
| 2905 | public function getMaximumPersistentDisksSizeGb() { |
| 2906 | return $this->maximumPersistentDisksSizeGb; |
| 2907 | } |
| 2908 | public function setMemoryMb( $memoryMb) { |
| 2909 | $this->memoryMb = $memoryMb; |
| 2910 | } |
| 2911 | public function getMemoryMb() { |
| 2912 | return $this->memoryMb; |
| 2913 | } |
| 2914 | public function setName( $name) { |
| 2915 | $this->name = $name; |
| 2916 | } |
| 2917 | public function getName() { |
| 2918 | return $this->name; |
| 2919 | } |
| 2920 | public function setScratchDisks(/* array(Google_MachineTypeScratchDisks) */ $scratchDisks) { |
| 2921 | $this->assertIsArray($scratchDisks, 'Google_MachineTypeScratchDisks', __METHOD__); |
| 2922 | $this->scratchDisks = $scratchDisks; |
| 2923 | } |
| 2924 | public function getScratchDisks() { |
| 2925 | return $this->scratchDisks; |
| 2926 | } |
| 2927 | public function setSelfLink( $selfLink) { |
| 2928 | $this->selfLink = $selfLink; |
| 2929 | } |
| 2930 | public function getSelfLink() { |
| 2931 | return $this->selfLink; |
| 2932 | } |
| 2933 | public function setZone( $zone) { |
| 2934 | $this->zone = $zone; |
| 2935 | } |
| 2936 | public function getZone() { |
| 2937 | return $this->zone; |
| 2938 | } |
| 2939 | } |
| 2940 | |
| 2941 | class Google_MachineTypeAggregatedList extends Google_Model { |
| 2942 | public $id; |
| 2943 | protected $__itemsType = 'Google_MachineTypesScopedList'; |
| 2944 | protected $__itemsDataType = 'map'; |
| 2945 | public $items; |
| 2946 | public $kind; |
| 2947 | public $nextPageToken; |
| 2948 | public $selfLink; |
| 2949 | public function setId( $id) { |
| 2950 | $this->id = $id; |
| 2951 | } |
| 2952 | public function getId() { |
| 2953 | return $this->id; |
| 2954 | } |
| 2955 | public function setItems(Google_MachineTypesScopedList $items) { |
| 2956 | $this->items = $items; |
| 2957 | } |
| 2958 | public function getItems() { |
| 2959 | return $this->items; |
| 2960 | } |
| 2961 | public function setKind( $kind) { |
| 2962 | $this->kind = $kind; |
| 2963 | } |
| 2964 | public function getKind() { |
| 2965 | return $this->kind; |
| 2966 | } |
| 2967 | public function setNextPageToken( $nextPageToken) { |
| 2968 | $this->nextPageToken = $nextPageToken; |
| 2969 | } |
| 2970 | public function getNextPageToken() { |
| 2971 | return $this->nextPageToken; |
| 2972 | } |
| 2973 | public function setSelfLink( $selfLink) { |
| 2974 | $this->selfLink = $selfLink; |
| 2975 | } |
| 2976 | public function getSelfLink() { |
| 2977 | return $this->selfLink; |
| 2978 | } |
| 2979 | } |
| 2980 | |
| 2981 | class Google_MachineTypeList extends Google_Model { |
| 2982 | public $id; |
| 2983 | protected $__itemsType = 'Google_MachineType'; |
| 2984 | protected $__itemsDataType = 'array'; |
| 2985 | public $items; |
| 2986 | public $kind; |
| 2987 | public $nextPageToken; |
| 2988 | public $selfLink; |
| 2989 | public function setId( $id) { |
| 2990 | $this->id = $id; |
| 2991 | } |
| 2992 | public function getId() { |
| 2993 | return $this->id; |
| 2994 | } |
| 2995 | public function setItems(/* array(Google_MachineType) */ $items) { |
| 2996 | $this->assertIsArray($items, 'Google_MachineType', __METHOD__); |
| 2997 | $this->items = $items; |
| 2998 | } |
| 2999 | public function getItems() { |
| 3000 | return $this->items; |
| 3001 | } |
| 3002 | public function setKind( $kind) { |
| 3003 | $this->kind = $kind; |
| 3004 | } |
| 3005 | public function getKind() { |
| 3006 | return $this->kind; |
| 3007 | } |
| 3008 | public function setNextPageToken( $nextPageToken) { |
| 3009 | $this->nextPageToken = $nextPageToken; |
| 3010 | } |
| 3011 | public function getNextPageToken() { |
| 3012 | return $this->nextPageToken; |
| 3013 | } |
| 3014 | public function setSelfLink( $selfLink) { |
| 3015 | $this->selfLink = $selfLink; |
| 3016 | } |
| 3017 | public function getSelfLink() { |
| 3018 | return $this->selfLink; |
| 3019 | } |
| 3020 | } |
| 3021 | |
| 3022 | class Google_MachineTypeScratchDisks extends Google_Model { |
| 3023 | public $diskGb; |
| 3024 | public function setDiskGb( $diskGb) { |
| 3025 | $this->diskGb = $diskGb; |
| 3026 | } |
| 3027 | public function getDiskGb() { |
| 3028 | return $this->diskGb; |
| 3029 | } |
| 3030 | } |
| 3031 | |
| 3032 | class Google_MachineTypesScopedList extends Google_Model { |
| 3033 | protected $__machineTypesType = 'Google_MachineType'; |
| 3034 | protected $__machineTypesDataType = 'array'; |
| 3035 | public $machineTypes; |
| 3036 | protected $__warningType = 'Google_MachineTypesScopedListWarning'; |
| 3037 | protected $__warningDataType = ''; |
| 3038 | public $warning; |
| 3039 | public function setMachineTypes(/* array(Google_MachineType) */ $machineTypes) { |
| 3040 | $this->assertIsArray($machineTypes, 'Google_MachineType', __METHOD__); |
| 3041 | $this->machineTypes = $machineTypes; |
| 3042 | } |
| 3043 | public function getMachineTypes() { |
| 3044 | return $this->machineTypes; |
| 3045 | } |
| 3046 | public function setWarning(Google_MachineTypesScopedListWarning $warning) { |
| 3047 | $this->warning = $warning; |
| 3048 | } |
| 3049 | public function getWarning() { |
| 3050 | return $this->warning; |
| 3051 | } |
| 3052 | } |
| 3053 | |
| 3054 | class Google_MachineTypesScopedListWarning extends Google_Model { |
| 3055 | public $code; |
| 3056 | protected $__dataType = 'Google_MachineTypesScopedListWarningData'; |
| 3057 | protected $__dataDataType = 'array'; |
| 3058 | public $data; |
| 3059 | public $message; |
| 3060 | public function setCode( $code) { |
| 3061 | $this->code = $code; |
| 3062 | } |
| 3063 | public function getCode() { |
| 3064 | return $this->code; |
| 3065 | } |
| 3066 | public function setData(/* array(Google_MachineTypesScopedListWarningData) */ $data) { |
| 3067 | $this->assertIsArray($data, 'Google_MachineTypesScopedListWarningData', __METHOD__); |
| 3068 | $this->data = $data; |
| 3069 | } |
| 3070 | public function getData() { |
| 3071 | return $this->data; |
| 3072 | } |
| 3073 | public function setMessage( $message) { |
| 3074 | $this->message = $message; |
| 3075 | } |
| 3076 | public function getMessage() { |
| 3077 | return $this->message; |
| 3078 | } |
| 3079 | } |
| 3080 | |
| 3081 | class Google_MachineTypesScopedListWarningData extends Google_Model { |
| 3082 | public $key; |
| 3083 | public $value; |
| 3084 | public function setKey( $key) { |
| 3085 | $this->key = $key; |
| 3086 | } |
| 3087 | public function getKey() { |
| 3088 | return $this->key; |
| 3089 | } |
| 3090 | public function setValue( $value) { |
| 3091 | $this->value = $value; |
| 3092 | } |
| 3093 | public function getValue() { |
| 3094 | return $this->value; |
| 3095 | } |
| 3096 | } |
| 3097 | |
| 3098 | class Google_Metadata extends Google_Model { |
| 3099 | public $fingerprint; |
| 3100 | protected $__itemsType = 'Google_MetadataItems'; |
| 3101 | protected $__itemsDataType = 'array'; |
| 3102 | public $items; |
| 3103 | public $kind; |
| 3104 | public function setFingerprint( $fingerprint) { |
| 3105 | $this->fingerprint = $fingerprint; |
| 3106 | } |
| 3107 | public function getFingerprint() { |
| 3108 | return $this->fingerprint; |
| 3109 | } |
| 3110 | public function setItems(/* array(Google_MetadataItems) */ $items) { |
| 3111 | $this->assertIsArray($items, 'Google_MetadataItems', __METHOD__); |
| 3112 | $this->items = $items; |
| 3113 | } |
| 3114 | public function getItems() { |
| 3115 | return $this->items; |
| 3116 | } |
| 3117 | public function setKind( $kind) { |
| 3118 | $this->kind = $kind; |
| 3119 | } |
| 3120 | public function getKind() { |
| 3121 | return $this->kind; |
| 3122 | } |
| 3123 | } |
| 3124 | |
| 3125 | class Google_MetadataItems extends Google_Model { |
| 3126 | public $key; |
| 3127 | public $value; |
| 3128 | public function setKey( $key) { |
| 3129 | $this->key = $key; |
| 3130 | } |
| 3131 | public function getKey() { |
| 3132 | return $this->key; |
| 3133 | } |
| 3134 | public function setValue( $value) { |
| 3135 | $this->value = $value; |
| 3136 | } |
| 3137 | public function getValue() { |
| 3138 | return $this->value; |
| 3139 | } |
| 3140 | } |
| 3141 | |
| 3142 | class Google_Network extends Google_Model { |
| 3143 | public $IPv4Range; |
| 3144 | public $creationTimestamp; |
| 3145 | public $description; |
| 3146 | public $gatewayIPv4; |
| 3147 | public $id; |
| 3148 | public $kind; |
| 3149 | public $name; |
| 3150 | public $selfLink; |
| 3151 | public function setIPv4Range( $IPv4Range) { |
| 3152 | $this->IPv4Range = $IPv4Range; |
| 3153 | } |
| 3154 | public function getIPv4Range() { |
| 3155 | return $this->IPv4Range; |
| 3156 | } |
| 3157 | public function setCreationTimestamp( $creationTimestamp) { |
| 3158 | $this->creationTimestamp = $creationTimestamp; |
| 3159 | } |
| 3160 | public function getCreationTimestamp() { |
| 3161 | return $this->creationTimestamp; |
| 3162 | } |
| 3163 | public function setDescription( $description) { |
| 3164 | $this->description = $description; |
| 3165 | } |
| 3166 | public function getDescription() { |
| 3167 | return $this->description; |
| 3168 | } |
| 3169 | public function setGatewayIPv4( $gatewayIPv4) { |
| 3170 | $this->gatewayIPv4 = $gatewayIPv4; |
| 3171 | } |
| 3172 | public function getGatewayIPv4() { |
| 3173 | return $this->gatewayIPv4; |
| 3174 | } |
| 3175 | public function setId( $id) { |
| 3176 | $this->id = $id; |
| 3177 | } |
| 3178 | public function getId() { |
| 3179 | return $this->id; |
| 3180 | } |
| 3181 | public function setKind( $kind) { |
| 3182 | $this->kind = $kind; |
| 3183 | } |
| 3184 | public function getKind() { |
| 3185 | return $this->kind; |
| 3186 | } |
| 3187 | public function setName( $name) { |
| 3188 | $this->name = $name; |
| 3189 | } |
| 3190 | public function getName() { |
| 3191 | return $this->name; |
| 3192 | } |
| 3193 | public function setSelfLink( $selfLink) { |
| 3194 | $this->selfLink = $selfLink; |
| 3195 | } |
| 3196 | public function getSelfLink() { |
| 3197 | return $this->selfLink; |
| 3198 | } |
| 3199 | } |
| 3200 | |
| 3201 | class Google_NetworkInterface extends Google_Model { |
| 3202 | protected $__accessConfigsType = 'Google_AccessConfig'; |
| 3203 | protected $__accessConfigsDataType = 'array'; |
| 3204 | public $accessConfigs; |
| 3205 | public $name; |
| 3206 | public $network; |
| 3207 | public $networkIP; |
| 3208 | public function setAccessConfigs(/* array(Google_AccessConfig) */ $accessConfigs) { |
| 3209 | $this->assertIsArray($accessConfigs, 'Google_AccessConfig', __METHOD__); |
| 3210 | $this->accessConfigs = $accessConfigs; |
| 3211 | } |
| 3212 | public function getAccessConfigs() { |
| 3213 | return $this->accessConfigs; |
| 3214 | } |
| 3215 | public function setName( $name) { |
| 3216 | $this->name = $name; |
| 3217 | } |
| 3218 | public function getName() { |
| 3219 | return $this->name; |
| 3220 | } |
| 3221 | public function setNetwork( $network) { |
| 3222 | $this->network = $network; |
| 3223 | } |
| 3224 | public function getNetwork() { |
| 3225 | return $this->network; |
| 3226 | } |
| 3227 | public function setNetworkIP( $networkIP) { |
| 3228 | $this->networkIP = $networkIP; |
| 3229 | } |
| 3230 | public function getNetworkIP() { |
| 3231 | return $this->networkIP; |
| 3232 | } |
| 3233 | } |
| 3234 | |
| 3235 | class Google_NetworkList extends Google_Model { |
| 3236 | public $id; |
| 3237 | protected $__itemsType = 'Google_Network'; |
| 3238 | protected $__itemsDataType = 'array'; |
| 3239 | public $items; |
| 3240 | public $kind; |
| 3241 | public $nextPageToken; |
| 3242 | public $selfLink; |
| 3243 | public function setId( $id) { |
| 3244 | $this->id = $id; |
| 3245 | } |
| 3246 | public function getId() { |
| 3247 | return $this->id; |
| 3248 | } |
| 3249 | public function setItems(/* array(Google_Network) */ $items) { |
| 3250 | $this->assertIsArray($items, 'Google_Network', __METHOD__); |
| 3251 | $this->items = $items; |
| 3252 | } |
| 3253 | public function getItems() { |
| 3254 | return $this->items; |
| 3255 | } |
| 3256 | public function setKind( $kind) { |
| 3257 | $this->kind = $kind; |
| 3258 | } |
| 3259 | public function getKind() { |
| 3260 | return $this->kind; |
| 3261 | } |
| 3262 | public function setNextPageToken( $nextPageToken) { |
| 3263 | $this->nextPageToken = $nextPageToken; |
| 3264 | } |
| 3265 | public function getNextPageToken() { |
| 3266 | return $this->nextPageToken; |
| 3267 | } |
| 3268 | public function setSelfLink( $selfLink) { |
| 3269 | $this->selfLink = $selfLink; |
| 3270 | } |
| 3271 | public function getSelfLink() { |
| 3272 | return $this->selfLink; |
| 3273 | } |
| 3274 | } |
| 3275 | |
| 3276 | class Google_Operation extends Google_Model { |
| 3277 | public $clientOperationId; |
| 3278 | public $creationTimestamp; |
| 3279 | public $endTime; |
| 3280 | protected $__errorType = 'Google_OperationError'; |
| 3281 | protected $__errorDataType = ''; |
| 3282 | public $error; |
| 3283 | public $httpErrorMessage; |
| 3284 | public $httpErrorStatusCode; |
| 3285 | public $id; |
| 3286 | public $insertTime; |
| 3287 | public $kind; |
| 3288 | public $name; |
| 3289 | public $operationType; |
| 3290 | public $progress; |
| 3291 | public $region; |
| 3292 | public $selfLink; |
| 3293 | public $startTime; |
| 3294 | public $status; |
| 3295 | public $statusMessage; |
| 3296 | public $targetId; |
| 3297 | public $targetLink; |
| 3298 | public $user; |
| 3299 | protected $__warningsType = 'Google_OperationWarnings'; |
| 3300 | protected $__warningsDataType = 'array'; |
| 3301 | public $warnings; |
| 3302 | public $zone; |
| 3303 | public function setClientOperationId( $clientOperationId) { |
| 3304 | $this->clientOperationId = $clientOperationId; |
| 3305 | } |
| 3306 | public function getClientOperationId() { |
| 3307 | return $this->clientOperationId; |
| 3308 | } |
| 3309 | public function setCreationTimestamp( $creationTimestamp) { |
| 3310 | $this->creationTimestamp = $creationTimestamp; |
| 3311 | } |
| 3312 | public function getCreationTimestamp() { |
| 3313 | return $this->creationTimestamp; |
| 3314 | } |
| 3315 | public function setEndTime( $endTime) { |
| 3316 | $this->endTime = $endTime; |
| 3317 | } |
| 3318 | public function getEndTime() { |
| 3319 | return $this->endTime; |
| 3320 | } |
| 3321 | public function setError(Google_OperationError $error) { |
| 3322 | $this->error = $error; |
| 3323 | } |
| 3324 | public function getError() { |
| 3325 | return $this->error; |
| 3326 | } |
| 3327 | public function setHttpErrorMessage( $httpErrorMessage) { |
| 3328 | $this->httpErrorMessage = $httpErrorMessage; |
| 3329 | } |
| 3330 | public function getHttpErrorMessage() { |
| 3331 | return $this->httpErrorMessage; |
| 3332 | } |
| 3333 | public function setHttpErrorStatusCode( $httpErrorStatusCode) { |
| 3334 | $this->httpErrorStatusCode = $httpErrorStatusCode; |
| 3335 | } |
| 3336 | public function getHttpErrorStatusCode() { |
| 3337 | return $this->httpErrorStatusCode; |
| 3338 | } |
| 3339 | public function setId( $id) { |
| 3340 | $this->id = $id; |
| 3341 | } |
| 3342 | public function getId() { |
| 3343 | return $this->id; |
| 3344 | } |
| 3345 | public function setInsertTime( $insertTime) { |
| 3346 | $this->insertTime = $insertTime; |
| 3347 | } |
| 3348 | public function getInsertTime() { |
| 3349 | return $this->insertTime; |
| 3350 | } |
| 3351 | public function setKind( $kind) { |
| 3352 | $this->kind = $kind; |
| 3353 | } |
| 3354 | public function getKind() { |
| 3355 | return $this->kind; |
| 3356 | } |
| 3357 | public function setName( $name) { |
| 3358 | $this->name = $name; |
| 3359 | } |
| 3360 | public function getName() { |
| 3361 | return $this->name; |
| 3362 | } |
| 3363 | public function setOperationType( $operationType) { |
| 3364 | $this->operationType = $operationType; |
| 3365 | } |
| 3366 | public function getOperationType() { |
| 3367 | return $this->operationType; |
| 3368 | } |
| 3369 | public function setProgress( $progress) { |
| 3370 | $this->progress = $progress; |
| 3371 | } |
| 3372 | public function getProgress() { |
| 3373 | return $this->progress; |
| 3374 | } |
| 3375 | public function setRegion( $region) { |
| 3376 | $this->region = $region; |
| 3377 | } |
| 3378 | public function getRegion() { |
| 3379 | return $this->region; |
| 3380 | } |
| 3381 | public function setSelfLink( $selfLink) { |
| 3382 | $this->selfLink = $selfLink; |
| 3383 | } |
| 3384 | public function getSelfLink() { |
| 3385 | return $this->selfLink; |
| 3386 | } |
| 3387 | public function setStartTime( $startTime) { |
| 3388 | $this->startTime = $startTime; |
| 3389 | } |
| 3390 | public function getStartTime() { |
| 3391 | return $this->startTime; |
| 3392 | } |
| 3393 | public function setStatus( $status) { |
| 3394 | $this->status = $status; |
| 3395 | } |
| 3396 | public function getStatus() { |
| 3397 | return $this->status; |
| 3398 | } |
| 3399 | public function setStatusMessage( $statusMessage) { |
| 3400 | $this->statusMessage = $statusMessage; |
| 3401 | } |
| 3402 | public function getStatusMessage() { |
| 3403 | return $this->statusMessage; |
| 3404 | } |
| 3405 | public function setTargetId( $targetId) { |
| 3406 | $this->targetId = $targetId; |
| 3407 | } |
| 3408 | public function getTargetId() { |
| 3409 | return $this->targetId; |
| 3410 | } |
| 3411 | public function setTargetLink( $targetLink) { |
| 3412 | $this->targetLink = $targetLink; |
| 3413 | } |
| 3414 | public function getTargetLink() { |
| 3415 | return $this->targetLink; |
| 3416 | } |
| 3417 | public function setUser( $user) { |
| 3418 | $this->user = $user; |
| 3419 | } |
| 3420 | public function getUser() { |
| 3421 | return $this->user; |
| 3422 | } |
| 3423 | public function setWarnings(/* array(Google_OperationWarnings) */ $warnings) { |
| 3424 | $this->assertIsArray($warnings, 'Google_OperationWarnings', __METHOD__); |
| 3425 | $this->warnings = $warnings; |
| 3426 | } |
| 3427 | public function getWarnings() { |
| 3428 | return $this->warnings; |
| 3429 | } |
| 3430 | public function setZone( $zone) { |
| 3431 | $this->zone = $zone; |
| 3432 | } |
| 3433 | public function getZone() { |
| 3434 | return $this->zone; |
| 3435 | } |
| 3436 | } |
| 3437 | |
| 3438 | class Google_OperationAggregatedList extends Google_Model { |
| 3439 | public $id; |
| 3440 | protected $__itemsType = 'Google_OperationsScopedList'; |
| 3441 | protected $__itemsDataType = 'map'; |
| 3442 | public $items; |
| 3443 | public $kind; |
| 3444 | public $nextPageToken; |
| 3445 | public $selfLink; |
| 3446 | public function setId( $id) { |
| 3447 | $this->id = $id; |
| 3448 | } |
| 3449 | public function getId() { |
| 3450 | return $this->id; |
| 3451 | } |
| 3452 | public function setItems(Google_OperationsScopedList $items) { |
| 3453 | $this->items = $items; |
| 3454 | } |
| 3455 | public function getItems() { |
| 3456 | return $this->items; |
| 3457 | } |
| 3458 | public function setKind( $kind) { |
| 3459 | $this->kind = $kind; |
| 3460 | } |
| 3461 | public function getKind() { |
| 3462 | return $this->kind; |
| 3463 | } |
| 3464 | public function setNextPageToken( $nextPageToken) { |
| 3465 | $this->nextPageToken = $nextPageToken; |
| 3466 | } |
| 3467 | public function getNextPageToken() { |
| 3468 | return $this->nextPageToken; |
| 3469 | } |
| 3470 | public function setSelfLink( $selfLink) { |
| 3471 | $this->selfLink = $selfLink; |
| 3472 | } |
| 3473 | public function getSelfLink() { |
| 3474 | return $this->selfLink; |
| 3475 | } |
| 3476 | } |
| 3477 | |
| 3478 | class Google_OperationError extends Google_Model { |
| 3479 | protected $__errorsType = 'Google_OperationErrorErrors'; |
| 3480 | protected $__errorsDataType = 'array'; |
| 3481 | public $errors; |
| 3482 | public function setErrors(/* array(Google_OperationErrorErrors) */ $errors) { |
| 3483 | $this->assertIsArray($errors, 'Google_OperationErrorErrors', __METHOD__); |
| 3484 | $this->errors = $errors; |
| 3485 | } |
| 3486 | public function getErrors() { |
| 3487 | return $this->errors; |
| 3488 | } |
| 3489 | } |
| 3490 | |
| 3491 | class Google_OperationErrorErrors extends Google_Model { |
| 3492 | public $code; |
| 3493 | public $location; |
| 3494 | public $message; |
| 3495 | public function setCode( $code) { |
| 3496 | $this->code = $code; |
| 3497 | } |
| 3498 | public function getCode() { |
| 3499 | return $this->code; |
| 3500 | } |
| 3501 | public function setLocation( $location) { |
| 3502 | $this->location = $location; |
| 3503 | } |
| 3504 | public function getLocation() { |
| 3505 | return $this->location; |
| 3506 | } |
| 3507 | public function setMessage( $message) { |
| 3508 | $this->message = $message; |
| 3509 | } |
| 3510 | public function getMessage() { |
| 3511 | return $this->message; |
| 3512 | } |
| 3513 | } |
| 3514 | |
| 3515 | class Google_OperationList extends Google_Model { |
| 3516 | public $id; |
| 3517 | protected $__itemsType = 'Google_Operation'; |
| 3518 | protected $__itemsDataType = 'array'; |
| 3519 | public $items; |
| 3520 | public $kind; |
| 3521 | public $nextPageToken; |
| 3522 | public $selfLink; |
| 3523 | public function setId( $id) { |
| 3524 | $this->id = $id; |
| 3525 | } |
| 3526 | public function getId() { |
| 3527 | return $this->id; |
| 3528 | } |
| 3529 | public function setItems(/* array(Google_Operation) */ $items) { |
| 3530 | $this->assertIsArray($items, 'Google_Operation', __METHOD__); |
| 3531 | $this->items = $items; |
| 3532 | } |
| 3533 | public function getItems() { |
| 3534 | return $this->items; |
| 3535 | } |
| 3536 | public function setKind( $kind) { |
| 3537 | $this->kind = $kind; |
| 3538 | } |
| 3539 | public function getKind() { |
| 3540 | return $this->kind; |
| 3541 | } |
| 3542 | public function setNextPageToken( $nextPageToken) { |
| 3543 | $this->nextPageToken = $nextPageToken; |
| 3544 | } |
| 3545 | public function getNextPageToken() { |
| 3546 | return $this->nextPageToken; |
| 3547 | } |
| 3548 | public function setSelfLink( $selfLink) { |
| 3549 | $this->selfLink = $selfLink; |
| 3550 | } |
| 3551 | public function getSelfLink() { |
| 3552 | return $this->selfLink; |
| 3553 | } |
| 3554 | } |
| 3555 | |
| 3556 | class Google_OperationWarnings extends Google_Model { |
| 3557 | public $code; |
| 3558 | protected $__dataType = 'Google_OperationWarningsData'; |
| 3559 | protected $__dataDataType = 'array'; |
| 3560 | public $data; |
| 3561 | public $message; |
| 3562 | public function setCode( $code) { |
| 3563 | $this->code = $code; |
| 3564 | } |
| 3565 | public function getCode() { |
| 3566 | return $this->code; |
| 3567 | } |
| 3568 | public function setData(/* array(Google_OperationWarningsData) */ $data) { |
| 3569 | $this->assertIsArray($data, 'Google_OperationWarningsData', __METHOD__); |
| 3570 | $this->data = $data; |
| 3571 | } |
| 3572 | public function getData() { |
| 3573 | return $this->data; |
| 3574 | } |
| 3575 | public function setMessage( $message) { |
| 3576 | $this->message = $message; |
| 3577 | } |
| 3578 | public function getMessage() { |
| 3579 | return $this->message; |
| 3580 | } |
| 3581 | } |
| 3582 | |
| 3583 | class Google_OperationWarningsData extends Google_Model { |
| 3584 | public $key; |
| 3585 | public $value; |
| 3586 | public function setKey( $key) { |
| 3587 | $this->key = $key; |
| 3588 | } |
| 3589 | public function getKey() { |
| 3590 | return $this->key; |
| 3591 | } |
| 3592 | public function setValue( $value) { |
| 3593 | $this->value = $value; |
| 3594 | } |
| 3595 | public function getValue() { |
| 3596 | return $this->value; |
| 3597 | } |
| 3598 | } |
| 3599 | |
| 3600 | class Google_OperationsScopedList extends Google_Model { |
| 3601 | protected $__operationsType = 'Google_Operation'; |
| 3602 | protected $__operationsDataType = 'array'; |
| 3603 | public $operations; |
| 3604 | protected $__warningType = 'Google_OperationsScopedListWarning'; |
| 3605 | protected $__warningDataType = ''; |
| 3606 | public $warning; |
| 3607 | public function setOperations(/* array(Google_Operation) */ $operations) { |
| 3608 | $this->assertIsArray($operations, 'Google_Operation', __METHOD__); |
| 3609 | $this->operations = $operations; |
| 3610 | } |
| 3611 | public function getOperations() { |
| 3612 | return $this->operations; |
| 3613 | } |
| 3614 | public function setWarning(Google_OperationsScopedListWarning $warning) { |
| 3615 | $this->warning = $warning; |
| 3616 | } |
| 3617 | public function getWarning() { |
| 3618 | return $this->warning; |
| 3619 | } |
| 3620 | } |
| 3621 | |
| 3622 | class Google_OperationsScopedListWarning extends Google_Model { |
| 3623 | public $code; |
| 3624 | protected $__dataType = 'Google_OperationsScopedListWarningData'; |
| 3625 | protected $__dataDataType = 'array'; |
| 3626 | public $data; |
| 3627 | public $message; |
| 3628 | public function setCode( $code) { |
| 3629 | $this->code = $code; |
| 3630 | } |
| 3631 | public function getCode() { |
| 3632 | return $this->code; |
| 3633 | } |
| 3634 | public function setData(/* array(Google_OperationsScopedListWarningData) */ $data) { |
| 3635 | $this->assertIsArray($data, 'Google_OperationsScopedListWarningData', __METHOD__); |
| 3636 | $this->data = $data; |
| 3637 | } |
| 3638 | public function getData() { |
| 3639 | return $this->data; |
| 3640 | } |
| 3641 | public function setMessage( $message) { |
| 3642 | $this->message = $message; |
| 3643 | } |
| 3644 | public function getMessage() { |
| 3645 | return $this->message; |
| 3646 | } |
| 3647 | } |
| 3648 | |
| 3649 | class Google_OperationsScopedListWarningData extends Google_Model { |
| 3650 | public $key; |
| 3651 | public $value; |
| 3652 | public function setKey( $key) { |
| 3653 | $this->key = $key; |
| 3654 | } |
| 3655 | public function getKey() { |
| 3656 | return $this->key; |
| 3657 | } |
| 3658 | public function setValue( $value) { |
| 3659 | $this->value = $value; |
| 3660 | } |
| 3661 | public function getValue() { |
| 3662 | return $this->value; |
| 3663 | } |
| 3664 | } |
| 3665 | |
| 3666 | class Google_Project extends Google_Model { |
| 3667 | protected $__commonInstanceMetadataType = 'Google_Metadata'; |
| 3668 | protected $__commonInstanceMetadataDataType = ''; |
| 3669 | public $commonInstanceMetadata; |
| 3670 | public $creationTimestamp; |
| 3671 | public $description; |
| 3672 | public $id; |
| 3673 | public $kind; |
| 3674 | public $name; |
| 3675 | protected $__quotasType = 'Google_Quota'; |
| 3676 | protected $__quotasDataType = 'array'; |
| 3677 | public $quotas; |
| 3678 | public $selfLink; |
| 3679 | public function setCommonInstanceMetadata(Google_Metadata $commonInstanceMetadata) { |
| 3680 | $this->commonInstanceMetadata = $commonInstanceMetadata; |
| 3681 | } |
| 3682 | public function getCommonInstanceMetadata() { |
| 3683 | return $this->commonInstanceMetadata; |
| 3684 | } |
| 3685 | public function setCreationTimestamp( $creationTimestamp) { |
| 3686 | $this->creationTimestamp = $creationTimestamp; |
| 3687 | } |
| 3688 | public function getCreationTimestamp() { |
| 3689 | return $this->creationTimestamp; |
| 3690 | } |
| 3691 | public function setDescription( $description) { |
| 3692 | $this->description = $description; |
| 3693 | } |
| 3694 | public function getDescription() { |
| 3695 | return $this->description; |
| 3696 | } |
| 3697 | public function setId( $id) { |
| 3698 | $this->id = $id; |
| 3699 | } |
| 3700 | public function getId() { |
| 3701 | return $this->id; |
| 3702 | } |
| 3703 | public function setKind( $kind) { |
| 3704 | $this->kind = $kind; |
| 3705 | } |
| 3706 | public function getKind() { |
| 3707 | return $this->kind; |
| 3708 | } |
| 3709 | public function setName( $name) { |
| 3710 | $this->name = $name; |
| 3711 | } |
| 3712 | public function getName() { |
| 3713 | return $this->name; |
| 3714 | } |
| 3715 | public function setQuotas(/* array(Google_Quota) */ $quotas) { |
| 3716 | $this->assertIsArray($quotas, 'Google_Quota', __METHOD__); |
| 3717 | $this->quotas = $quotas; |
| 3718 | } |
| 3719 | public function getQuotas() { |
| 3720 | return $this->quotas; |
| 3721 | } |
| 3722 | public function setSelfLink( $selfLink) { |
| 3723 | $this->selfLink = $selfLink; |
| 3724 | } |
| 3725 | public function getSelfLink() { |
| 3726 | return $this->selfLink; |
| 3727 | } |
| 3728 | } |
| 3729 | |
| 3730 | class Google_Quota extends Google_Model { |
| 3731 | public $limit; |
| 3732 | public $metric; |
| 3733 | public $usage; |
| 3734 | public function setLimit( $limit) { |
| 3735 | $this->limit = $limit; |
| 3736 | } |
| 3737 | public function getLimit() { |
| 3738 | return $this->limit; |
| 3739 | } |
| 3740 | public function setMetric( $metric) { |
| 3741 | $this->metric = $metric; |
| 3742 | } |
| 3743 | public function getMetric() { |
| 3744 | return $this->metric; |
| 3745 | } |
| 3746 | public function setUsage( $usage) { |
| 3747 | $this->usage = $usage; |
| 3748 | } |
| 3749 | public function getUsage() { |
| 3750 | return $this->usage; |
| 3751 | } |
| 3752 | } |
| 3753 | |
| 3754 | class Google_Region extends Google_Model { |
| 3755 | public $creationTimestamp; |
| 3756 | protected $__deprecatedType = 'Google_DeprecationStatus'; |
| 3757 | protected $__deprecatedDataType = ''; |
| 3758 | public $deprecated; |
| 3759 | public $description; |
| 3760 | public $id; |
| 3761 | public $kind; |
| 3762 | public $name; |
| 3763 | protected $__quotasType = 'Google_Quota'; |
| 3764 | protected $__quotasDataType = 'array'; |
| 3765 | public $quotas; |
| 3766 | public $selfLink; |
| 3767 | public $status; |
| 3768 | public $zones; |
| 3769 | public function setCreationTimestamp( $creationTimestamp) { |
| 3770 | $this->creationTimestamp = $creationTimestamp; |
| 3771 | } |
| 3772 | public function getCreationTimestamp() { |
| 3773 | return $this->creationTimestamp; |
| 3774 | } |
| 3775 | public function setDeprecated(Google_DeprecationStatus $deprecated) { |
| 3776 | $this->deprecated = $deprecated; |
| 3777 | } |
| 3778 | public function getDeprecated() { |
| 3779 | return $this->deprecated; |
| 3780 | } |
| 3781 | public function setDescription( $description) { |
| 3782 | $this->description = $description; |
| 3783 | } |
| 3784 | public function getDescription() { |
| 3785 | return $this->description; |
| 3786 | } |
| 3787 | public function setId( $id) { |
| 3788 | $this->id = $id; |
| 3789 | } |
| 3790 | public function getId() { |
| 3791 | return $this->id; |
| 3792 | } |
| 3793 | public function setKind( $kind) { |
| 3794 | $this->kind = $kind; |
| 3795 | } |
| 3796 | public function getKind() { |
| 3797 | return $this->kind; |
| 3798 | } |
| 3799 | public function setName( $name) { |
| 3800 | $this->name = $name; |
| 3801 | } |
| 3802 | public function getName() { |
| 3803 | return $this->name; |
| 3804 | } |
| 3805 | public function setQuotas(/* array(Google_Quota) */ $quotas) { |
| 3806 | $this->assertIsArray($quotas, 'Google_Quota', __METHOD__); |
| 3807 | $this->quotas = $quotas; |
| 3808 | } |
| 3809 | public function getQuotas() { |
| 3810 | return $this->quotas; |
| 3811 | } |
| 3812 | public function setSelfLink( $selfLink) { |
| 3813 | $this->selfLink = $selfLink; |
| 3814 | } |
| 3815 | public function getSelfLink() { |
| 3816 | return $this->selfLink; |
| 3817 | } |
| 3818 | public function setStatus( $status) { |
| 3819 | $this->status = $status; |
| 3820 | } |
| 3821 | public function getStatus() { |
| 3822 | return $this->status; |
| 3823 | } |
| 3824 | public function setZones(/* array(Google_string) */ $zones) { |
| 3825 | $this->assertIsArray($zones, 'Google_string', __METHOD__); |
| 3826 | $this->zones = $zones; |
| 3827 | } |
| 3828 | public function getZones() { |
| 3829 | return $this->zones; |
| 3830 | } |
| 3831 | } |
| 3832 | |
| 3833 | class Google_RegionList extends Google_Model { |
| 3834 | public $id; |
| 3835 | protected $__itemsType = 'Google_Region'; |
| 3836 | protected $__itemsDataType = 'array'; |
| 3837 | public $items; |
| 3838 | public $kind; |
| 3839 | public $nextPageToken; |
| 3840 | public $selfLink; |
| 3841 | public function setId( $id) { |
| 3842 | $this->id = $id; |
| 3843 | } |
| 3844 | public function getId() { |
| 3845 | return $this->id; |
| 3846 | } |
| 3847 | public function setItems(/* array(Google_Region) */ $items) { |
| 3848 | $this->assertIsArray($items, 'Google_Region', __METHOD__); |
| 3849 | $this->items = $items; |
| 3850 | } |
| 3851 | public function getItems() { |
| 3852 | return $this->items; |
| 3853 | } |
| 3854 | public function setKind( $kind) { |
| 3855 | $this->kind = $kind; |
| 3856 | } |
| 3857 | public function getKind() { |
| 3858 | return $this->kind; |
| 3859 | } |
| 3860 | public function setNextPageToken( $nextPageToken) { |
| 3861 | $this->nextPageToken = $nextPageToken; |
| 3862 | } |
| 3863 | public function getNextPageToken() { |
| 3864 | return $this->nextPageToken; |
| 3865 | } |
| 3866 | public function setSelfLink( $selfLink) { |
| 3867 | $this->selfLink = $selfLink; |
| 3868 | } |
| 3869 | public function getSelfLink() { |
| 3870 | return $this->selfLink; |
| 3871 | } |
| 3872 | } |
| 3873 | |
| 3874 | class Google_Route extends Google_Model { |
| 3875 | public $creationTimestamp; |
| 3876 | public $description; |
| 3877 | public $destRange; |
| 3878 | public $id; |
| 3879 | public $kind; |
| 3880 | public $name; |
| 3881 | public $network; |
| 3882 | public $nextHopGateway; |
| 3883 | public $nextHopInstance; |
| 3884 | public $nextHopIp; |
| 3885 | public $nextHopNetwork; |
| 3886 | public $priority; |
| 3887 | public $selfLink; |
| 3888 | public $tags; |
| 3889 | protected $__warningsType = 'Google_RouteWarnings'; |
| 3890 | protected $__warningsDataType = 'array'; |
| 3891 | public $warnings; |
| 3892 | public function setCreationTimestamp( $creationTimestamp) { |
| 3893 | $this->creationTimestamp = $creationTimestamp; |
| 3894 | } |
| 3895 | public function getCreationTimestamp() { |
| 3896 | return $this->creationTimestamp; |
| 3897 | } |
| 3898 | public function setDescription( $description) { |
| 3899 | $this->description = $description; |
| 3900 | } |
| 3901 | public function getDescription() { |
| 3902 | return $this->description; |
| 3903 | } |
| 3904 | public function setDestRange( $destRange) { |
| 3905 | $this->destRange = $destRange; |
| 3906 | } |
| 3907 | public function getDestRange() { |
| 3908 | return $this->destRange; |
| 3909 | } |
| 3910 | public function setId( $id) { |
| 3911 | $this->id = $id; |
| 3912 | } |
| 3913 | public function getId() { |
| 3914 | return $this->id; |
| 3915 | } |
| 3916 | public function setKind( $kind) { |
| 3917 | $this->kind = $kind; |
| 3918 | } |
| 3919 | public function getKind() { |
| 3920 | return $this->kind; |
| 3921 | } |
| 3922 | public function setName( $name) { |
| 3923 | $this->name = $name; |
| 3924 | } |
| 3925 | public function getName() { |
| 3926 | return $this->name; |
| 3927 | } |
| 3928 | public function setNetwork( $network) { |
| 3929 | $this->network = $network; |
| 3930 | } |
| 3931 | public function getNetwork() { |
| 3932 | return $this->network; |
| 3933 | } |
| 3934 | public function setNextHopGateway( $nextHopGateway) { |
| 3935 | $this->nextHopGateway = $nextHopGateway; |
| 3936 | } |
| 3937 | public function getNextHopGateway() { |
| 3938 | return $this->nextHopGateway; |
| 3939 | } |
| 3940 | public function setNextHopInstance( $nextHopInstance) { |
| 3941 | $this->nextHopInstance = $nextHopInstance; |
| 3942 | } |
| 3943 | public function getNextHopInstance() { |
| 3944 | return $this->nextHopInstance; |
| 3945 | } |
| 3946 | public function setNextHopIp( $nextHopIp) { |
| 3947 | $this->nextHopIp = $nextHopIp; |
| 3948 | } |
| 3949 | public function getNextHopIp() { |
| 3950 | return $this->nextHopIp; |
| 3951 | } |
| 3952 | public function setNextHopNetwork( $nextHopNetwork) { |
| 3953 | $this->nextHopNetwork = $nextHopNetwork; |
| 3954 | } |
| 3955 | public function getNextHopNetwork() { |
| 3956 | return $this->nextHopNetwork; |
| 3957 | } |
| 3958 | public function setPriority( $priority) { |
| 3959 | $this->priority = $priority; |
| 3960 | } |
| 3961 | public function getPriority() { |
| 3962 | return $this->priority; |
| 3963 | } |
| 3964 | public function setSelfLink( $selfLink) { |
| 3965 | $this->selfLink = $selfLink; |
| 3966 | } |
| 3967 | public function getSelfLink() { |
| 3968 | return $this->selfLink; |
| 3969 | } |
| 3970 | public function setTags(/* array(Google_string) */ $tags) { |
| 3971 | $this->assertIsArray($tags, 'Google_string', __METHOD__); |
| 3972 | $this->tags = $tags; |
| 3973 | } |
| 3974 | public function getTags() { |
| 3975 | return $this->tags; |
| 3976 | } |
| 3977 | public function setWarnings(/* array(Google_RouteWarnings) */ $warnings) { |
| 3978 | $this->assertIsArray($warnings, 'Google_RouteWarnings', __METHOD__); |
| 3979 | $this->warnings = $warnings; |
| 3980 | } |
| 3981 | public function getWarnings() { |
| 3982 | return $this->warnings; |
| 3983 | } |
| 3984 | } |
| 3985 | |
| 3986 | class Google_RouteList extends Google_Model { |
| 3987 | public $id; |
| 3988 | protected $__itemsType = 'Google_Route'; |
| 3989 | protected $__itemsDataType = 'array'; |
| 3990 | public $items; |
| 3991 | public $kind; |
| 3992 | public $nextPageToken; |
| 3993 | public $selfLink; |
| 3994 | public function setId( $id) { |
| 3995 | $this->id = $id; |
| 3996 | } |
| 3997 | public function getId() { |
| 3998 | return $this->id; |
| 3999 | } |
| 4000 | public function setItems(/* array(Google_Route) */ $items) { |
| 4001 | $this->assertIsArray($items, 'Google_Route', __METHOD__); |
| 4002 | $this->items = $items; |
| 4003 | } |
| 4004 | public function getItems() { |
| 4005 | return $this->items; |
| 4006 | } |
| 4007 | public function setKind( $kind) { |
| 4008 | $this->kind = $kind; |
| 4009 | } |
| 4010 | public function getKind() { |
| 4011 | return $this->kind; |
| 4012 | } |
| 4013 | public function setNextPageToken( $nextPageToken) { |
| 4014 | $this->nextPageToken = $nextPageToken; |
| 4015 | } |
| 4016 | public function getNextPageToken() { |
| 4017 | return $this->nextPageToken; |
| 4018 | } |
| 4019 | public function setSelfLink( $selfLink) { |
| 4020 | $this->selfLink = $selfLink; |
| 4021 | } |
| 4022 | public function getSelfLink() { |
| 4023 | return $this->selfLink; |
| 4024 | } |
| 4025 | } |
| 4026 | |
| 4027 | class Google_RouteWarnings extends Google_Model { |
| 4028 | public $code; |
| 4029 | protected $__dataType = 'Google_RouteWarningsData'; |
| 4030 | protected $__dataDataType = 'array'; |
| 4031 | public $data; |
| 4032 | public $message; |
| 4033 | public function setCode( $code) { |
| 4034 | $this->code = $code; |
| 4035 | } |
| 4036 | public function getCode() { |
| 4037 | return $this->code; |
| 4038 | } |
| 4039 | public function setData(/* array(Google_RouteWarningsData) */ $data) { |
| 4040 | $this->assertIsArray($data, 'Google_RouteWarningsData', __METHOD__); |
| 4041 | $this->data = $data; |
| 4042 | } |
| 4043 | public function getData() { |
| 4044 | return $this->data; |
| 4045 | } |
| 4046 | public function setMessage( $message) { |
| 4047 | $this->message = $message; |
| 4048 | } |
| 4049 | public function getMessage() { |
| 4050 | return $this->message; |
| 4051 | } |
| 4052 | } |
| 4053 | |
| 4054 | class Google_RouteWarningsData extends Google_Model { |
| 4055 | public $key; |
| 4056 | public $value; |
| 4057 | public function setKey( $key) { |
| 4058 | $this->key = $key; |
| 4059 | } |
| 4060 | public function getKey() { |
| 4061 | return $this->key; |
| 4062 | } |
| 4063 | public function setValue( $value) { |
| 4064 | $this->value = $value; |
| 4065 | } |
| 4066 | public function getValue() { |
| 4067 | return $this->value; |
| 4068 | } |
| 4069 | } |
| 4070 | |
| 4071 | class Google_SerialPortOutput extends Google_Model { |
| 4072 | public $contents; |
| 4073 | public $kind; |
| 4074 | public $selfLink; |
| 4075 | public function setContents( $contents) { |
| 4076 | $this->contents = $contents; |
| 4077 | } |
| 4078 | public function getContents() { |
| 4079 | return $this->contents; |
| 4080 | } |
| 4081 | public function setKind( $kind) { |
| 4082 | $this->kind = $kind; |
| 4083 | } |
| 4084 | public function getKind() { |
| 4085 | return $this->kind; |
| 4086 | } |
| 4087 | public function setSelfLink( $selfLink) { |
| 4088 | $this->selfLink = $selfLink; |
| 4089 | } |
| 4090 | public function getSelfLink() { |
| 4091 | return $this->selfLink; |
| 4092 | } |
| 4093 | } |
| 4094 | |
| 4095 | class Google_ServiceAccount extends Google_Model { |
| 4096 | public $email; |
| 4097 | public $scopes; |
| 4098 | public function setEmail( $email) { |
| 4099 | $this->email = $email; |
| 4100 | } |
| 4101 | public function getEmail() { |
| 4102 | return $this->email; |
| 4103 | } |
| 4104 | public function setScopes(/* array(Google_string) */ $scopes) { |
| 4105 | $this->assertIsArray($scopes, 'Google_string', __METHOD__); |
| 4106 | $this->scopes = $scopes; |
| 4107 | } |
| 4108 | public function getScopes() { |
| 4109 | return $this->scopes; |
| 4110 | } |
| 4111 | } |
| 4112 | |
| 4113 | class Google_Snapshot extends Google_Model { |
| 4114 | public $creationTimestamp; |
| 4115 | public $description; |
| 4116 | public $diskSizeGb; |
| 4117 | public $id; |
| 4118 | public $kind; |
| 4119 | public $name; |
| 4120 | public $selfLink; |
| 4121 | public $sourceDisk; |
| 4122 | public $sourceDiskId; |
| 4123 | public $status; |
| 4124 | public function setCreationTimestamp( $creationTimestamp) { |
| 4125 | $this->creationTimestamp = $creationTimestamp; |
| 4126 | } |
| 4127 | public function getCreationTimestamp() { |
| 4128 | return $this->creationTimestamp; |
| 4129 | } |
| 4130 | public function setDescription( $description) { |
| 4131 | $this->description = $description; |
| 4132 | } |
| 4133 | public function getDescription() { |
| 4134 | return $this->description; |
| 4135 | } |
| 4136 | public function setDiskSizeGb( $diskSizeGb) { |
| 4137 | $this->diskSizeGb = $diskSizeGb; |
| 4138 | } |
| 4139 | public function getDiskSizeGb() { |
| 4140 | return $this->diskSizeGb; |
| 4141 | } |
| 4142 | public function setId( $id) { |
| 4143 | $this->id = $id; |
| 4144 | } |
| 4145 | public function getId() { |
| 4146 | return $this->id; |
| 4147 | } |
| 4148 | public function setKind( $kind) { |
| 4149 | $this->kind = $kind; |
| 4150 | } |
| 4151 | public function getKind() { |
| 4152 | return $this->kind; |
| 4153 | } |
| 4154 | public function setName( $name) { |
| 4155 | $this->name = $name; |
| 4156 | } |
| 4157 | public function getName() { |
| 4158 | return $this->name; |
| 4159 | } |
| 4160 | public function setSelfLink( $selfLink) { |
| 4161 | $this->selfLink = $selfLink; |
| 4162 | } |
| 4163 | public function getSelfLink() { |
| 4164 | return $this->selfLink; |
| 4165 | } |
| 4166 | public function setSourceDisk( $sourceDisk) { |
| 4167 | $this->sourceDisk = $sourceDisk; |
| 4168 | } |
| 4169 | public function getSourceDisk() { |
| 4170 | return $this->sourceDisk; |
| 4171 | } |
| 4172 | public function setSourceDiskId( $sourceDiskId) { |
| 4173 | $this->sourceDiskId = $sourceDiskId; |
| 4174 | } |
| 4175 | public function getSourceDiskId() { |
| 4176 | return $this->sourceDiskId; |
| 4177 | } |
| 4178 | public function setStatus( $status) { |
| 4179 | $this->status = $status; |
| 4180 | } |
| 4181 | public function getStatus() { |
| 4182 | return $this->status; |
| 4183 | } |
| 4184 | } |
| 4185 | |
| 4186 | class Google_SnapshotList extends Google_Model { |
| 4187 | public $id; |
| 4188 | protected $__itemsType = 'Google_Snapshot'; |
| 4189 | protected $__itemsDataType = 'array'; |
| 4190 | public $items; |
| 4191 | public $kind; |
| 4192 | public $nextPageToken; |
| 4193 | public $selfLink; |
| 4194 | public function setId( $id) { |
| 4195 | $this->id = $id; |
| 4196 | } |
| 4197 | public function getId() { |
| 4198 | return $this->id; |
| 4199 | } |
| 4200 | public function setItems(/* array(Google_Snapshot) */ $items) { |
| 4201 | $this->assertIsArray($items, 'Google_Snapshot', __METHOD__); |
| 4202 | $this->items = $items; |
| 4203 | } |
| 4204 | public function getItems() { |
| 4205 | return $this->items; |
| 4206 | } |
| 4207 | public function setKind( $kind) { |
| 4208 | $this->kind = $kind; |
| 4209 | } |
| 4210 | public function getKind() { |
| 4211 | return $this->kind; |
| 4212 | } |
| 4213 | public function setNextPageToken( $nextPageToken) { |
| 4214 | $this->nextPageToken = $nextPageToken; |
| 4215 | } |
| 4216 | public function getNextPageToken() { |
| 4217 | return $this->nextPageToken; |
| 4218 | } |
| 4219 | public function setSelfLink( $selfLink) { |
| 4220 | $this->selfLink = $selfLink; |
| 4221 | } |
| 4222 | public function getSelfLink() { |
| 4223 | return $this->selfLink; |
| 4224 | } |
| 4225 | } |
| 4226 | |
| 4227 | class Google_Tags extends Google_Model { |
| 4228 | public $fingerprint; |
| 4229 | public $items; |
| 4230 | public function setFingerprint( $fingerprint) { |
| 4231 | $this->fingerprint = $fingerprint; |
| 4232 | } |
| 4233 | public function getFingerprint() { |
| 4234 | return $this->fingerprint; |
| 4235 | } |
| 4236 | public function setItems(/* array(Google_string) */ $items) { |
| 4237 | $this->assertIsArray($items, 'Google_string', __METHOD__); |
| 4238 | $this->items = $items; |
| 4239 | } |
| 4240 | public function getItems() { |
| 4241 | return $this->items; |
| 4242 | } |
| 4243 | } |
| 4244 | |
| 4245 | class Google_Zone extends Google_Model { |
| 4246 | public $creationTimestamp; |
| 4247 | protected $__deprecatedType = 'Google_DeprecationStatus'; |
| 4248 | protected $__deprecatedDataType = ''; |
| 4249 | public $deprecated; |
| 4250 | public $description; |
| 4251 | public $id; |
| 4252 | public $kind; |
| 4253 | protected $__maintenanceWindowsType = 'Google_ZoneMaintenanceWindows'; |
| 4254 | protected $__maintenanceWindowsDataType = 'array'; |
| 4255 | public $maintenanceWindows; |
| 4256 | public $name; |
| 4257 | protected $__quotasType = 'Google_Quota'; |
| 4258 | protected $__quotasDataType = 'array'; |
| 4259 | public $quotas; |
| 4260 | public $region; |
| 4261 | public $selfLink; |
| 4262 | public $status; |
| 4263 | public function setCreationTimestamp( $creationTimestamp) { |
| 4264 | $this->creationTimestamp = $creationTimestamp; |
| 4265 | } |
| 4266 | public function getCreationTimestamp() { |
| 4267 | return $this->creationTimestamp; |
| 4268 | } |
| 4269 | public function setDeprecated(Google_DeprecationStatus $deprecated) { |
| 4270 | $this->deprecated = $deprecated; |
| 4271 | } |
| 4272 | public function getDeprecated() { |
| 4273 | return $this->deprecated; |
| 4274 | } |
| 4275 | public function setDescription( $description) { |
| 4276 | $this->description = $description; |
| 4277 | } |
| 4278 | public function getDescription() { |
| 4279 | return $this->description; |
| 4280 | } |
| 4281 | public function setId( $id) { |
| 4282 | $this->id = $id; |
| 4283 | } |
| 4284 | public function getId() { |
| 4285 | return $this->id; |
| 4286 | } |
| 4287 | public function setKind( $kind) { |
| 4288 | $this->kind = $kind; |
| 4289 | } |
| 4290 | public function getKind() { |
| 4291 | return $this->kind; |
| 4292 | } |
| 4293 | public function setMaintenanceWindows(/* array(Google_ZoneMaintenanceWindows) */ $maintenanceWindows) { |
| 4294 | $this->assertIsArray($maintenanceWindows, 'Google_ZoneMaintenanceWindows', __METHOD__); |
| 4295 | $this->maintenanceWindows = $maintenanceWindows; |
| 4296 | } |
| 4297 | public function getMaintenanceWindows() { |
| 4298 | return $this->maintenanceWindows; |
| 4299 | } |
| 4300 | public function setName( $name) { |
| 4301 | $this->name = $name; |
| 4302 | } |
| 4303 | public function getName() { |
| 4304 | return $this->name; |
| 4305 | } |
| 4306 | public function setQuotas(/* array(Google_Quota) */ $quotas) { |
| 4307 | $this->assertIsArray($quotas, 'Google_Quota', __METHOD__); |
| 4308 | $this->quotas = $quotas; |
| 4309 | } |
| 4310 | public function getQuotas() { |
| 4311 | return $this->quotas; |
| 4312 | } |
| 4313 | public function setRegion( $region) { |
| 4314 | $this->region = $region; |
| 4315 | } |
| 4316 | public function getRegion() { |
| 4317 | return $this->region; |
| 4318 | } |
| 4319 | public function setSelfLink( $selfLink) { |
| 4320 | $this->selfLink = $selfLink; |
| 4321 | } |
| 4322 | public function getSelfLink() { |
| 4323 | return $this->selfLink; |
| 4324 | } |
| 4325 | public function setStatus( $status) { |
| 4326 | $this->status = $status; |
| 4327 | } |
| 4328 | public function getStatus() { |
| 4329 | return $this->status; |
| 4330 | } |
| 4331 | } |
| 4332 | |
| 4333 | class Google_ZoneList extends Google_Model { |
| 4334 | public $id; |
| 4335 | protected $__itemsType = 'Google_Zone'; |
| 4336 | protected $__itemsDataType = 'array'; |
| 4337 | public $items; |
| 4338 | public $kind; |
| 4339 | public $nextPageToken; |
| 4340 | public $selfLink; |
| 4341 | public function setId( $id) { |
| 4342 | $this->id = $id; |
| 4343 | } |
| 4344 | public function getId() { |
| 4345 | return $this->id; |
| 4346 | } |
| 4347 | public function setItems(/* array(Google_Zone) */ $items) { |
| 4348 | $this->assertIsArray($items, 'Google_Zone', __METHOD__); |
| 4349 | $this->items = $items; |
| 4350 | } |
| 4351 | public function getItems() { |
| 4352 | return $this->items; |
| 4353 | } |
| 4354 | public function setKind( $kind) { |
| 4355 | $this->kind = $kind; |
| 4356 | } |
| 4357 | public function getKind() { |
| 4358 | return $this->kind; |
| 4359 | } |
| 4360 | public function setNextPageToken( $nextPageToken) { |
| 4361 | $this->nextPageToken = $nextPageToken; |
| 4362 | } |
| 4363 | public function getNextPageToken() { |
| 4364 | return $this->nextPageToken; |
| 4365 | } |
| 4366 | public function setSelfLink( $selfLink) { |
| 4367 | $this->selfLink = $selfLink; |
| 4368 | } |
| 4369 | public function getSelfLink() { |
| 4370 | return $this->selfLink; |
| 4371 | } |
| 4372 | } |
| 4373 | |
| 4374 | class Google_ZoneMaintenanceWindows extends Google_Model { |
| 4375 | public $beginTime; |
| 4376 | public $description; |
| 4377 | public $endTime; |
| 4378 | public $name; |
| 4379 | public function setBeginTime( $beginTime) { |
| 4380 | $this->beginTime = $beginTime; |
| 4381 | } |
| 4382 | public function getBeginTime() { |
| 4383 | return $this->beginTime; |
| 4384 | } |
| 4385 | public function setDescription( $description) { |
| 4386 | $this->description = $description; |
| 4387 | } |
| 4388 | public function getDescription() { |
| 4389 | return $this->description; |
| 4390 | } |
| 4391 | public function setEndTime( $endTime) { |
| 4392 | $this->endTime = $endTime; |
| 4393 | } |
| 4394 | public function getEndTime() { |
| 4395 | return $this->endTime; |
| 4396 | } |
| 4397 | public function setName( $name) { |
| 4398 | $this->name = $name; |
| 4399 | } |
| 4400 | public function getName() { |
| 4401 | return $this->name; |
| 4402 | } |
| 4403 | } |
| 4404 |