| 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 "operations" collection of methods. |
| 19 |
* Typical usage is: |
| 20 |
* <code> |
| 21 |
* $computeService = new Google_ComputeService(...); |
| 22 |
* $operations = $computeService->operations; |
| 23 |
* </code> |
| 24 |
*/ |
| 25 |
class Google_OperationsServiceResource extends Google_ServiceResource { |
| 26 |
|
| 27 |
|
| 28 |
/** |
| 29 |
* Retrieves the specified operation resource. (operations.get) |
| 30 |
* |
| 31 |
* @param string $project Name of the project scoping this request. |
| 32 |
* @param string $operation Name of the operation resource to return. |
| 33 |
* @param array $optParams Optional parameters. |
| 34 |
* @return Google_Operation |
| 35 |
*/ |
| 36 |
public function get($project, $operation, $optParams = array()) { |
| 37 |
$params = array('project' => $project, 'operation' => $operation); |
| 38 |
$params = array_merge($params, $optParams); |
| 39 |
$data = $this->__call('get', array($params)); |
| 40 |
if ($this->useObjects()) { |
| 41 |
return new Google_Operation($data); |
| 42 |
} else { |
| 43 |
return $data; |
| 44 |
} |
| 45 |
} |
| 46 |
/** |
| 47 |
* Retrieves the list of operation resources contained within the specified project. |
| 48 |
* (operations.list) |
| 49 |
* |
| 50 |
* @param string $project Name of the project scoping this request. |
| 51 |
* @param array $optParams Optional parameters. |
| 52 |
* |
| 53 |
* @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 54 |
* @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 55 |
* @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 56 |
* @return Google_OperationList |
| 57 |
*/ |
| 58 |
public function listOperations($project, $optParams = array()) { |
| 59 |
$params = array('project' => $project); |
| 60 |
$params = array_merge($params, $optParams); |
| 61 |
$data = $this->__call('list', array($params)); |
| 62 |
if ($this->useObjects()) { |
| 63 |
return new Google_OperationList($data); |
| 64 |
} else { |
| 65 |
return $data; |
| 66 |
} |
| 67 |
} |
| 68 |
/** |
| 69 |
* Deletes the specified operation resource. (operations.delete) |
| 70 |
* |
| 71 |
* @param string $project Name of the project scoping this request. |
| 72 |
* @param string $operation Name of the operation resource to delete. |
| 73 |
* @param array $optParams Optional parameters. |
| 74 |
*/ |
| 75 |
public function delete($project, $operation, $optParams = array()) { |
| 76 |
$params = array('project' => $project, 'operation' => $operation); |
| 77 |
$params = array_merge($params, $optParams); |
| 78 |
$data = $this->__call('delete', array($params)); |
| 79 |
return $data; |
| 80 |
} |
| 81 |
} |
| 82 |
|
| 83 |
/** |
| 84 |
* The "kernels" collection of methods. |
| 85 |
* Typical usage is: |
| 86 |
* <code> |
| 87 |
* $computeService = new Google_ComputeService(...); |
| 88 |
* $kernels = $computeService->kernels; |
| 89 |
* </code> |
| 90 |
*/ |
| 91 |
class Google_KernelsServiceResource extends Google_ServiceResource { |
| 92 |
|
| 93 |
|
| 94 |
/** |
| 95 |
* Retrieves the list of kernel resources available to the specified project. (kernels.list) |
| 96 |
* |
| 97 |
* @param string $project Name of the project scoping this request. |
| 98 |
* @param array $optParams Optional parameters. |
| 99 |
* |
| 100 |
* @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 101 |
* @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 102 |
* @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 103 |
* @return Google_KernelList |
| 104 |
*/ |
| 105 |
public function listKernels($project, $optParams = array()) { |
| 106 |
$params = array('project' => $project); |
| 107 |
$params = array_merge($params, $optParams); |
| 108 |
$data = $this->__call('list', array($params)); |
| 109 |
if ($this->useObjects()) { |
| 110 |
return new Google_KernelList($data); |
| 111 |
} else { |
| 112 |
return $data; |
| 113 |
} |
| 114 |
} |
| 115 |
/** |
| 116 |
* Returns the specified kernel resource. (kernels.get) |
| 117 |
* |
| 118 |
* @param string $project Name of the project scoping this request. |
| 119 |
* @param string $kernel Name of the kernel resource to return. |
| 120 |
* @param array $optParams Optional parameters. |
| 121 |
* @return Google_Kernel |
| 122 |
*/ |
| 123 |
public function get($project, $kernel, $optParams = array()) { |
| 124 |
$params = array('project' => $project, 'kernel' => $kernel); |
| 125 |
$params = array_merge($params, $optParams); |
| 126 |
$data = $this->__call('get', array($params)); |
| 127 |
if ($this->useObjects()) { |
| 128 |
return new Google_Kernel($data); |
| 129 |
} else { |
| 130 |
return $data; |
| 131 |
} |
| 132 |
} |
| 133 |
} |
| 134 |
|
| 135 |
/** |
| 136 |
* The "disks" collection of methods. |
| 137 |
* Typical usage is: |
| 138 |
* <code> |
| 139 |
* $computeService = new Google_ComputeService(...); |
| 140 |
* $disks = $computeService->disks; |
| 141 |
* </code> |
| 142 |
*/ |
| 143 |
class Google_DisksServiceResource extends Google_ServiceResource { |
| 144 |
|
| 145 |
|
| 146 |
/** |
| 147 |
* Creates a persistent disk resource in the specified project using the data included in the |
| 148 |
* request. (disks.insert) |
| 149 |
* |
| 150 |
* @param string $project Name of the project scoping this request. |
| 151 |
* @param Google_Disk $postBody |
| 152 |
* @param array $optParams Optional parameters. |
| 153 |
* @return Google_Operation |
| 154 |
*/ |
| 155 |
public function insert($project, Google_Disk $postBody, $optParams = array()) { |
| 156 |
$params = array('project' => $project, 'postBody' => $postBody); |
| 157 |
$params = array_merge($params, $optParams); |
| 158 |
$data = $this->__call('insert', array($params)); |
| 159 |
if ($this->useObjects()) { |
| 160 |
return new Google_Operation($data); |
| 161 |
} else { |
| 162 |
return $data; |
| 163 |
} |
| 164 |
} |
| 165 |
/** |
| 166 |
* Returns the specified persistent disk resource. (disks.get) |
| 167 |
* |
| 168 |
* @param string $project Name of the project scoping this request. |
| 169 |
* @param string $disk Name of the persistent disk resource to return. |
| 170 |
* @param array $optParams Optional parameters. |
| 171 |
* @return Google_Disk |
| 172 |
*/ |
| 173 |
public function get($project, $disk, $optParams = array()) { |
| 174 |
$params = array('project' => $project, 'disk' => $disk); |
| 175 |
$params = array_merge($params, $optParams); |
| 176 |
$data = $this->__call('get', array($params)); |
| 177 |
if ($this->useObjects()) { |
| 178 |
return new Google_Disk($data); |
| 179 |
} else { |
| 180 |
return $data; |
| 181 |
} |
| 182 |
} |
| 183 |
/** |
| 184 |
* Retrieves the list of persistent disk resources contained within the specified project. |
| 185 |
* (disks.list) |
| 186 |
* |
| 187 |
* @param string $project Name of the project scoping this request. |
| 188 |
* @param array $optParams Optional parameters. |
| 189 |
* |
| 190 |
* @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 191 |
* @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 192 |
* @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 193 |
* @return Google_DiskList |
| 194 |
*/ |
| 195 |
public function listDisks($project, $optParams = array()) { |
| 196 |
$params = array('project' => $project); |
| 197 |
$params = array_merge($params, $optParams); |
| 198 |
$data = $this->__call('list', array($params)); |
| 199 |
if ($this->useObjects()) { |
| 200 |
return new Google_DiskList($data); |
| 201 |
} else { |
| 202 |
return $data; |
| 203 |
} |
| 204 |
} |
| 205 |
/** |
| 206 |
* Deletes the specified persistent disk resource. (disks.delete) |
| 207 |
* |
| 208 |
* @param string $project Name of the project scoping this request. |
| 209 |
* @param string $disk Name of the persistent disk resource to delete. |
| 210 |
* @param array $optParams Optional parameters. |
| 211 |
* @return Google_Operation |
| 212 |
*/ |
| 213 |
public function delete($project, $disk, $optParams = array()) { |
| 214 |
$params = array('project' => $project, 'disk' => $disk); |
| 215 |
$params = array_merge($params, $optParams); |
| 216 |
$data = $this->__call('delete', array($params)); |
| 217 |
if ($this->useObjects()) { |
| 218 |
return new Google_Operation($data); |
| 219 |
} else { |
| 220 |
return $data; |
| 221 |
} |
| 222 |
} |
| 223 |
} |
| 224 |
|
| 225 |
/** |
| 226 |
* The "snapshots" collection of methods. |
| 227 |
* Typical usage is: |
| 228 |
* <code> |
| 229 |
* $computeService = new Google_ComputeService(...); |
| 230 |
* $snapshots = $computeService->snapshots; |
| 231 |
* </code> |
| 232 |
*/ |
| 233 |
class Google_SnapshotsServiceResource extends Google_ServiceResource { |
| 234 |
|
| 235 |
|
| 236 |
/** |
| 237 |
* Creates a persistent disk snapshot resource in the specified project using the data included in |
| 238 |
* the request. (snapshots.insert) |
| 239 |
* |
| 240 |
* @param string $project Name of the project scoping this request. |
| 241 |
* @param Google_Snapshot $postBody |
| 242 |
* @param array $optParams Optional parameters. |
| 243 |
* @return Google_Operation |
| 244 |
*/ |
| 245 |
public function insert($project, Google_Snapshot $postBody, $optParams = array()) { |
| 246 |
$params = array('project' => $project, 'postBody' => $postBody); |
| 247 |
$params = array_merge($params, $optParams); |
| 248 |
$data = $this->__call('insert', array($params)); |
| 249 |
if ($this->useObjects()) { |
| 250 |
return new Google_Operation($data); |
| 251 |
} else { |
| 252 |
return $data; |
| 253 |
} |
| 254 |
} |
| 255 |
/** |
| 256 |
* Returns the specified persistent disk snapshot resource. (snapshots.get) |
| 257 |
* |
| 258 |
* @param string $project Name of the project scoping this request. |
| 259 |
* @param string $snapshot Name of the persistent disk snapshot resource to return. |
| 260 |
* @param array $optParams Optional parameters. |
| 261 |
* @return Google_Snapshot |
| 262 |
*/ |
| 263 |
public function get($project, $snapshot, $optParams = array()) { |
| 264 |
$params = array('project' => $project, 'snapshot' => $snapshot); |
| 265 |
$params = array_merge($params, $optParams); |
| 266 |
$data = $this->__call('get', array($params)); |
| 267 |
if ($this->useObjects()) { |
| 268 |
return new Google_Snapshot($data); |
| 269 |
} else { |
| 270 |
return $data; |
| 271 |
} |
| 272 |
} |
| 273 |
/** |
| 274 |
* Retrieves the list of persistent disk snapshot resources contained within the specified project. |
| 275 |
* (snapshots.list) |
| 276 |
* |
| 277 |
* @param string $project Name of the project scoping this request. |
| 278 |
* @param array $optParams Optional parameters. |
| 279 |
* |
| 280 |
* @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 281 |
* @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 282 |
* @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 283 |
* @return Google_SnapshotList |
| 284 |
*/ |
| 285 |
public function listSnapshots($project, $optParams = array()) { |
| 286 |
$params = array('project' => $project); |
| 287 |
$params = array_merge($params, $optParams); |
| 288 |
$data = $this->__call('list', array($params)); |
| 289 |
if ($this->useObjects()) { |
| 290 |
return new Google_SnapshotList($data); |
| 291 |
} else { |
| 292 |
return $data; |
| 293 |
} |
| 294 |
} |
| 295 |
/** |
| 296 |
* Deletes the specified persistent disk snapshot resource. (snapshots.delete) |
| 297 |
* |
| 298 |
* @param string $project Name of the project scoping this request. |
| 299 |
* @param string $snapshot Name of the persistent disk snapshot resource to delete. |
| 300 |
* @param array $optParams Optional parameters. |
| 301 |
* @return Google_Operation |
| 302 |
*/ |
| 303 |
public function delete($project, $snapshot, $optParams = array()) { |
| 304 |
$params = array('project' => $project, 'snapshot' => $snapshot); |
| 305 |
$params = array_merge($params, $optParams); |
| 306 |
$data = $this->__call('delete', array($params)); |
| 307 |
if ($this->useObjects()) { |
| 308 |
return new Google_Operation($data); |
| 309 |
} else { |
| 310 |
return $data; |
| 311 |
} |
| 312 |
} |
| 313 |
} |
| 314 |
|
| 315 |
/** |
| 316 |
* The "zones" collection of methods. |
| 317 |
* Typical usage is: |
| 318 |
* <code> |
| 319 |
* $computeService = new Google_ComputeService(...); |
| 320 |
* $zones = $computeService->zones; |
| 321 |
* </code> |
| 322 |
*/ |
| 323 |
class Google_ZonesServiceResource extends Google_ServiceResource { |
| 324 |
|
| 325 |
|
| 326 |
/** |
| 327 |
* Retrieves the list of zone resources available to the specified project. (zones.list) |
| 328 |
* |
| 329 |
* @param string $project Name of the project scoping this request. |
| 330 |
* @param array $optParams Optional parameters. |
| 331 |
* |
| 332 |
* @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 333 |
* @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 334 |
* @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 335 |
* @return Google_ZoneList |
| 336 |
*/ |
| 337 |
public function listZones($project, $optParams = array()) { |
| 338 |
$params = array('project' => $project); |
| 339 |
$params = array_merge($params, $optParams); |
| 340 |
$data = $this->__call('list', array($params)); |
| 341 |
if ($this->useObjects()) { |
| 342 |
return new Google_ZoneList($data); |
| 343 |
} else { |
| 344 |
return $data; |
| 345 |
} |
| 346 |
} |
| 347 |
/** |
| 348 |
* Returns the specified zone resource. (zones.get) |
| 349 |
* |
| 350 |
* @param string $project Name of the project scoping this request. |
| 351 |
* @param string $zone Name of the zone resource to return. |
| 352 |
* @param array $optParams Optional parameters. |
| 353 |
* @return Google_Zone |
| 354 |
*/ |
| 355 |
public function get($project, $zone, $optParams = array()) { |
| 356 |
$params = array('project' => $project, 'zone' => $zone); |
| 357 |
$params = array_merge($params, $optParams); |
| 358 |
$data = $this->__call('get', array($params)); |
| 359 |
if ($this->useObjects()) { |
| 360 |
return new Google_Zone($data); |
| 361 |
} else { |
| 362 |
return $data; |
| 363 |
} |
| 364 |
} |
| 365 |
} |
| 366 |
|
| 367 |
/** |
| 368 |
* The "instances" collection of methods. |
| 369 |
* Typical usage is: |
| 370 |
* <code> |
| 371 |
* $computeService = new Google_ComputeService(...); |
| 372 |
* $instances = $computeService->instances; |
| 373 |
* </code> |
| 374 |
*/ |
| 375 |
class Google_InstancesServiceResource extends Google_ServiceResource { |
| 376 |
|
| 377 |
|
| 378 |
/** |
| 379 |
* Creates an instance resource in the specified project using the data included in the request. |
| 380 |
* (instances.insert) |
| 381 |
* |
| 382 |
* @param string $project Name of the project scoping this request. |
| 383 |
* @param Google_Instance $postBody |
| 384 |
* @param array $optParams Optional parameters. |
| 385 |
* @return Google_Operation |
| 386 |
*/ |
| 387 |
public function insert($project, Google_Instance $postBody, $optParams = array()) { |
| 388 |
$params = array('project' => $project, 'postBody' => $postBody); |
| 389 |
$params = array_merge($params, $optParams); |
| 390 |
$data = $this->__call('insert', array($params)); |
| 391 |
if ($this->useObjects()) { |
| 392 |
return new Google_Operation($data); |
| 393 |
} else { |
| 394 |
return $data; |
| 395 |
} |
| 396 |
} |
| 397 |
/** |
| 398 |
* Deletes an access config from an instance's network interface. (instances.deleteAccessConfig) |
| 399 |
* |
| 400 |
* @param string $project Project name. |
| 401 |
* @param string $instance Instance name. |
| 402 |
* @param string $access_config Access config name. |
| 403 |
* @param string $network_interface Network interface name. |
| 404 |
* @param array $optParams Optional parameters. |
| 405 |
* @return Google_Operation |
| 406 |
*/ |
| 407 |
public function deleteAccessConfig($project, $instance, $access_config, $network_interface, $optParams = array()) { |
| 408 |
$params = array('project' => $project, 'instance' => $instance, 'access_config' => $access_config, 'network_interface' => $network_interface); |
| 409 |
$params = array_merge($params, $optParams); |
| 410 |
$data = $this->__call('deleteAccessConfig', array($params)); |
| 411 |
if ($this->useObjects()) { |
| 412 |
return new Google_Operation($data); |
| 413 |
} else { |
| 414 |
return $data; |
| 415 |
} |
| 416 |
} |
| 417 |
/** |
| 418 |
* Returns the specified instance resource. (instances.get) |
| 419 |
* |
| 420 |
* @param string $project Name of the project scoping this request. |
| 421 |
* @param string $instance Name of the instance resource to return. |
| 422 |
* @param array $optParams Optional parameters. |
| 423 |
* @return Google_Instance |
| 424 |
*/ |
| 425 |
public function get($project, $instance, $optParams = array()) { |
| 426 |
$params = array('project' => $project, 'instance' => $instance); |
| 427 |
$params = array_merge($params, $optParams); |
| 428 |
$data = $this->__call('get', array($params)); |
| 429 |
if ($this->useObjects()) { |
| 430 |
return new Google_Instance($data); |
| 431 |
} else { |
| 432 |
return $data; |
| 433 |
} |
| 434 |
} |
| 435 |
/** |
| 436 |
* Retrieves the list of instance resources contained within the specified project. (instances.list) |
| 437 |
* |
| 438 |
* @param string $project Name of the project scoping this request. |
| 439 |
* @param array $optParams Optional parameters. |
| 440 |
* |
| 441 |
* @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 442 |
* @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 443 |
* @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 444 |
* @return Google_InstanceList |
| 445 |
*/ |
| 446 |
public function listInstances($project, $optParams = array()) { |
| 447 |
$params = array('project' => $project); |
| 448 |
$params = array_merge($params, $optParams); |
| 449 |
$data = $this->__call('list', array($params)); |
| 450 |
if ($this->useObjects()) { |
| 451 |
return new Google_InstanceList($data); |
| 452 |
} else { |
| 453 |
return $data; |
| 454 |
} |
| 455 |
} |
| 456 |
/** |
| 457 |
* Adds an access config to an instance's network interface. (instances.addAccessConfig) |
| 458 |
* |
| 459 |
* @param string $project Project name. |
| 460 |
* @param string $instance Instance name. |
| 461 |
* @param string $network_interface Network interface name. |
| 462 |
* @param Google_AccessConfig $postBody |
| 463 |
* @param array $optParams Optional parameters. |
| 464 |
* @return Google_Operation |
| 465 |
*/ |
| 466 |
public function addAccessConfig($project, $instance, $network_interface, Google_AccessConfig $postBody, $optParams = array()) { |
| 467 |
$params = array('project' => $project, 'instance' => $instance, 'network_interface' => $network_interface, 'postBody' => $postBody); |
| 468 |
$params = array_merge($params, $optParams); |
| 469 |
$data = $this->__call('addAccessConfig', array($params)); |
| 470 |
if ($this->useObjects()) { |
| 471 |
return new Google_Operation($data); |
| 472 |
} else { |
| 473 |
return $data; |
| 474 |
} |
| 475 |
} |
| 476 |
/** |
| 477 |
* Deletes the specified instance resource. (instances.delete) |
| 478 |
* |
| 479 |
* @param string $project Name of the project scoping this request. |
| 480 |
* @param string $instance Name of the instance resource to delete. |
| 481 |
* @param array $optParams Optional parameters. |
| 482 |
* @return Google_Operation |
| 483 |
*/ |
| 484 |
public function delete($project, $instance, $optParams = array()) { |
| 485 |
$params = array('project' => $project, 'instance' => $instance); |
| 486 |
$params = array_merge($params, $optParams); |
| 487 |
$data = $this->__call('delete', array($params)); |
| 488 |
if ($this->useObjects()) { |
| 489 |
return new Google_Operation($data); |
| 490 |
} else { |
| 491 |
return $data; |
| 492 |
} |
| 493 |
} |
| 494 |
} |
| 495 |
|
| 496 |
/** |
| 497 |
* The "machineTypes" collection of methods. |
| 498 |
* Typical usage is: |
| 499 |
* <code> |
| 500 |
* $computeService = new Google_ComputeService(...); |
| 501 |
* $machineTypes = $computeService->machineTypes; |
| 502 |
* </code> |
| 503 |
*/ |
| 504 |
class Google_MachineTypesServiceResource extends Google_ServiceResource { |
| 505 |
|
| 506 |
|
| 507 |
/** |
| 508 |
* Retrieves the list of machine type resources available to the specified project. |
| 509 |
* (machineTypes.list) |
| 510 |
* |
| 511 |
* @param string $project Name of the project scoping this request. |
| 512 |
* @param array $optParams Optional parameters. |
| 513 |
* |
| 514 |
* @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 515 |
* @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 516 |
* @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 517 |
* @return Google_MachineTypeList |
| 518 |
*/ |
| 519 |
public function listMachineTypes($project, $optParams = array()) { |
| 520 |
$params = array('project' => $project); |
| 521 |
$params = array_merge($params, $optParams); |
| 522 |
$data = $this->__call('list', array($params)); |
| 523 |
if ($this->useObjects()) { |
| 524 |
return new Google_MachineTypeList($data); |
| 525 |
} else { |
| 526 |
return $data; |
| 527 |
} |
| 528 |
} |
| 529 |
/** |
| 530 |
* Returns the specified machine type resource. (machineTypes.get) |
| 531 |
* |
| 532 |
* @param string $project Name of the project scoping this request. |
| 533 |
* @param string $machineType Name of the machine type resource to return. |
| 534 |
* @param array $optParams Optional parameters. |
| 535 |
* @return Google_MachineType |
| 536 |
*/ |
| 537 |
public function get($project, $machineType, $optParams = array()) { |
| 538 |
$params = array('project' => $project, 'machineType' => $machineType); |
| 539 |
$params = array_merge($params, $optParams); |
| 540 |
$data = $this->__call('get', array($params)); |
| 541 |
if ($this->useObjects()) { |
| 542 |
return new Google_MachineType($data); |
| 543 |
} else { |
| 544 |
return $data; |
| 545 |
} |
| 546 |
} |
| 547 |
} |
| 548 |
|
| 549 |
/** |
| 550 |
* The "images" collection of methods. |
| 551 |
* Typical usage is: |
| 552 |
* <code> |
| 553 |
* $computeService = new Google_ComputeService(...); |
| 554 |
* $images = $computeService->images; |
| 555 |
* </code> |
| 556 |
*/ |
| 557 |
class Google_ImagesServiceResource extends Google_ServiceResource { |
| 558 |
|
| 559 |
|
| 560 |
/** |
| 561 |
* Creates an image resource in the specified project using the data included in the request. |
| 562 |
* (images.insert) |
| 563 |
* |
| 564 |
* @param string $project Name of the project scoping this request. |
| 565 |
* @param Google_Image $postBody |
| 566 |
* @param array $optParams Optional parameters. |
| 567 |
* @return Google_Operation |
| 568 |
*/ |
| 569 |
public function insert($project, Google_Image $postBody, $optParams = array()) { |
| 570 |
$params = array('project' => $project, 'postBody' => $postBody); |
| 571 |
$params = array_merge($params, $optParams); |
| 572 |
$data = $this->__call('insert', array($params)); |
| 573 |
if ($this->useObjects()) { |
| 574 |
return new Google_Operation($data); |
| 575 |
} else { |
| 576 |
return $data; |
| 577 |
} |
| 578 |
} |
| 579 |
/** |
| 580 |
* Returns the specified image resource. (images.get) |
| 581 |
* |
| 582 |
* @param string $project Name of the project scoping this request. |
| 583 |
* @param string $image Name of the image resource to return. |
| 584 |
* @param array $optParams Optional parameters. |
| 585 |
* @return Google_Image |
| 586 |
*/ |
| 587 |
public function get($project, $image, $optParams = array()) { |
| 588 |
$params = array('project' => $project, 'image' => $image); |
| 589 |
$params = array_merge($params, $optParams); |
| 590 |
$data = $this->__call('get', array($params)); |
| 591 |
if ($this->useObjects()) { |
| 592 |
return new Google_Image($data); |
| 593 |
} else { |
| 594 |
return $data; |
| 595 |
} |
| 596 |
} |
| 597 |
/** |
| 598 |
* Retrieves the list of image resources available to the specified project. (images.list) |
| 599 |
* |
| 600 |
* @param string $project Name of the project scoping this request. |
| 601 |
* @param array $optParams Optional parameters. |
| 602 |
* |
| 603 |
* @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 604 |
* @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 605 |
* @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 606 |
* @return Google_ImageList |
| 607 |
*/ |
| 608 |
public function listImages($project, $optParams = array()) { |
| 609 |
$params = array('project' => $project); |
| 610 |
$params = array_merge($params, $optParams); |
| 611 |
$data = $this->__call('list', array($params)); |
| 612 |
if ($this->useObjects()) { |
| 613 |
return new Google_ImageList($data); |
| 614 |
} else { |
| 615 |
return $data; |
| 616 |
} |
| 617 |
} |
| 618 |
/** |
| 619 |
* Deletes the specified image resource. (images.delete) |
| 620 |
* |
| 621 |
* @param string $project Name of the project scoping this request. |
| 622 |
* @param string $image Name of the image resource to delete. |
| 623 |
* @param array $optParams Optional parameters. |
| 624 |
* @return Google_Operation |
| 625 |
*/ |
| 626 |
public function delete($project, $image, $optParams = array()) { |
| 627 |
$params = array('project' => $project, 'image' => $image); |
| 628 |
$params = array_merge($params, $optParams); |
| 629 |
$data = $this->__call('delete', array($params)); |
| 630 |
if ($this->useObjects()) { |
| 631 |
return new Google_Operation($data); |
| 632 |
} else { |
| 633 |
return $data; |
| 634 |
} |
| 635 |
} |
| 636 |
} |
| 637 |
|
| 638 |
/** |
| 639 |
* The "firewalls" collection of methods. |
| 640 |
* Typical usage is: |
| 641 |
* <code> |
| 642 |
* $computeService = new Google_ComputeService(...); |
| 643 |
* $firewalls = $computeService->firewalls; |
| 644 |
* </code> |
| 645 |
*/ |
| 646 |
class Google_FirewallsServiceResource extends Google_ServiceResource { |
| 647 |
|
| 648 |
|
| 649 |
/** |
| 650 |
* Creates a firewall resource in the specified project using the data included in the request. |
| 651 |
* (firewalls.insert) |
| 652 |
* |
| 653 |
* @param string $project Name of the project scoping this request. |
| 654 |
* @param Google_Firewall $postBody |
| 655 |
* @param array $optParams Optional parameters. |
| 656 |
* @return Google_Operation |
| 657 |
*/ |
| 658 |
public function insert($project, Google_Firewall $postBody, $optParams = array()) { |
| 659 |
$params = array('project' => $project, 'postBody' => $postBody); |
| 660 |
$params = array_merge($params, $optParams); |
| 661 |
$data = $this->__call('insert', array($params)); |
| 662 |
if ($this->useObjects()) { |
| 663 |
return new Google_Operation($data); |
| 664 |
} else { |
| 665 |
return $data; |
| 666 |
} |
| 667 |
} |
| 668 |
/** |
| 669 |
* Returns the specified firewall resource. (firewalls.get) |
| 670 |
* |
| 671 |
* @param string $project Name of the project scoping this request. |
| 672 |
* @param string $firewall Name of the firewall resource to return. |
| 673 |
* @param array $optParams Optional parameters. |
| 674 |
* @return Google_Firewall |
| 675 |
*/ |
| 676 |
public function get($project, $firewall, $optParams = array()) { |
| 677 |
$params = array('project' => $project, 'firewall' => $firewall); |
| 678 |
$params = array_merge($params, $optParams); |
| 679 |
$data = $this->__call('get', array($params)); |
| 680 |
if ($this->useObjects()) { |
| 681 |
return new Google_Firewall($data); |
| 682 |
} else { |
| 683 |
return $data; |
| 684 |
} |
| 685 |
} |
| 686 |
/** |
| 687 |
* Retrieves the list of firewall resources available to the specified project. (firewalls.list) |
| 688 |
* |
| 689 |
* @param string $project Name of the project scoping this request. |
| 690 |
* @param array $optParams Optional parameters. |
| 691 |
* |
| 692 |
* @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 693 |
* @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 694 |
* @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 695 |
* @return Google_FirewallList |
| 696 |
*/ |
| 697 |
public function listFirewalls($project, $optParams = array()) { |
| 698 |
$params = array('project' => $project); |
| 699 |
$params = array_merge($params, $optParams); |
| 700 |
$data = $this->__call('list', array($params)); |
| 701 |
if ($this->useObjects()) { |
| 702 |
return new Google_FirewallList($data); |
| 703 |
} else { |
| 704 |
return $data; |
| 705 |
} |
| 706 |
} |
| 707 |
/** |
| 708 |
* Updates the specified firewall resource with the data included in the request. (firewalls.update) |
| 709 |
* |
| 710 |
* @param string $project Name of the project scoping this request. |
| 711 |
* @param string $firewall Name of the firewall resource to update. |
| 712 |
* @param Google_Firewall $postBody |
| 713 |
* @param array $optParams Optional parameters. |
| 714 |
* @return Google_Operation |
| 715 |
*/ |
| 716 |
public function update($project, $firewall, Google_Firewall $postBody, $optParams = array()) { |
| 717 |
$params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody); |
| 718 |
$params = array_merge($params, $optParams); |
| 719 |
$data = $this->__call('update', array($params)); |
| 720 |
if ($this->useObjects()) { |
| 721 |
return new Google_Operation($data); |
| 722 |
} else { |
| 723 |
return $data; |
| 724 |
} |
| 725 |
} |
| 726 |
/** |
| 727 |
* Updates the specified firewall resource with the data included in the request. This method |
| 728 |
* supports patch semantics. (firewalls.patch) |
| 729 |
* |
| 730 |
* @param string $project Name of the project scoping this request. |
| 731 |
* @param string $firewall Name of the firewall resource to update. |
| 732 |
* @param Google_Firewall $postBody |
| 733 |
* @param array $optParams Optional parameters. |
| 734 |
* @return Google_Operation |
| 735 |
*/ |
| 736 |
public function patch($project, $firewall, Google_Firewall $postBody, $optParams = array()) { |
| 737 |
$params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody); |
| 738 |
$params = array_merge($params, $optParams); |
| 739 |
$data = $this->__call('patch', array($params)); |
| 740 |
if ($this->useObjects()) { |
| 741 |
return new Google_Operation($data); |
| 742 |
} else { |
| 743 |
return $data; |
| 744 |
} |
| 745 |
} |
| 746 |
/** |
| 747 |
* Deletes the specified firewall resource. (firewalls.delete) |
| 748 |
* |
| 749 |
* @param string $project Name of the project scoping this request. |
| 750 |
* @param string $firewall Name of the firewall resource to delete. |
| 751 |
* @param array $optParams Optional parameters. |
| 752 |
* @return Google_Operation |
| 753 |
*/ |
| 754 |
public function delete($project, $firewall, $optParams = array()) { |
| 755 |
$params = array('project' => $project, 'firewall' => $firewall); |
| 756 |
$params = array_merge($params, $optParams); |
| 757 |
$data = $this->__call('delete', array($params)); |
| 758 |
if ($this->useObjects()) { |
| 759 |
return new Google_Operation($data); |
| 760 |
} else { |
| 761 |
return $data; |
| 762 |
} |
| 763 |
} |
| 764 |
} |
| 765 |
|
| 766 |
/** |
| 767 |
* The "networks" collection of methods. |
| 768 |
* Typical usage is: |
| 769 |
* <code> |
| 770 |
* $computeService = new Google_ComputeService(...); |
| 771 |
* $networks = $computeService->networks; |
| 772 |
* </code> |
| 773 |
*/ |
| 774 |
class Google_NetworksServiceResource extends Google_ServiceResource { |
| 775 |
|
| 776 |
|
| 777 |
/** |
| 778 |
* Creates a network resource in the specified project using the data included in the request. |
| 779 |
* (networks.insert) |
| 780 |
* |
| 781 |
* @param string $project Name of the project scoping this request. |
| 782 |
* @param Google_Network $postBody |
| 783 |
* @param array $optParams Optional parameters. |
| 784 |
* @return Google_Operation |
| 785 |
*/ |
| 786 |
public function insert($project, Google_Network $postBody, $optParams = array()) { |
| 787 |
$params = array('project' => $project, 'postBody' => $postBody); |
| 788 |
$params = array_merge($params, $optParams); |
| 789 |
$data = $this->__call('insert', array($params)); |
| 790 |
if ($this->useObjects()) { |
| 791 |
return new Google_Operation($data); |
| 792 |
} else { |
| 793 |
return $data; |
| 794 |
} |
| 795 |
} |
| 796 |
/** |
| 797 |
* Returns the specified network resource. (networks.get) |
| 798 |
* |
| 799 |
* @param string $project Name of the project scoping this request. |
| 800 |
* @param string $network Name of the network resource to return. |
| 801 |
* @param array $optParams Optional parameters. |
| 802 |
* @return Google_Network |
| 803 |
*/ |
| 804 |
public function get($project, $network, $optParams = array()) { |
| 805 |
$params = array('project' => $project, 'network' => $network); |
| 806 |
$params = array_merge($params, $optParams); |
| 807 |
$data = $this->__call('get', array($params)); |
| 808 |
if ($this->useObjects()) { |
| 809 |
return new Google_Network($data); |
| 810 |
} else { |
| 811 |
return $data; |
| 812 |
} |
| 813 |
} |
| 814 |
/** |
| 815 |
* Retrieves the list of network resources available to the specified project. (networks.list) |
| 816 |
* |
| 817 |
* @param string $project Name of the project scoping this request. |
| 818 |
* @param array $optParams Optional parameters. |
| 819 |
* |
| 820 |
* @opt_param string filter Optional. Filter expression for filtering listed resources. |
| 821 |
* @opt_param string pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. |
| 822 |
* @opt_param string maxResults Optional. Maximum count of results to be returned. Maximum and default value is 100. |
| 823 |
* @return Google_NetworkList |
| 824 |
*/ |
| 825 |
public function listNetworks($project, $optParams = array()) { |
| 826 |
$params = array('project' => $project); |
| 827 |
$params = array_merge($params, $optParams); |
| 828 |
$data = $this->__call('list', array($params)); |
| 829 |
if ($this->useObjects()) { |
| 830 |
return new Google_NetworkList($data); |
| 831 |
} else { |
| 832 |
return $data; |
| 833 |
} |
| 834 |
} |
| 835 |
/** |
| 836 |
* Deletes the specified network resource. (networks.delete) |
| 837 |
* |
| 838 |
* @param string $project Name of the project scoping this request. |
| 839 |
* @param string $network Name of the network resource to delete. |
| 840 |
* @param array $optParams Optional parameters. |
| 841 |
* @return Google_Operation |
| 842 |
*/ |
| 843 |
public function delete($project, $network, $optParams = array()) { |
| 844 |
$params = array('project' => $project, 'network' => $network); |
| 845 |
$params = array_merge($params, $optParams); |
| 846 |
$data = $this->__call('delete', array($params)); |
| 847 |
if ($this->useObjects()) { |
| 848 |
return new Google_Operation($data); |
| 849 |
} else { |
| 850 |
return $data; |
| 851 |
} |
| 852 |
} |
| 853 |
} |
| 854 |
|
| 855 |
/** |
| 856 |
* The "projects" collection of methods. |
| 857 |
* Typical usage is: |
| 858 |
* <code> |
| 859 |
* $computeService = new Google_ComputeService(...); |
| 860 |
* $projects = $computeService->projects; |
| 861 |
* </code> |
| 862 |
*/ |
| 863 |
class Google_ProjectsServiceResource extends Google_ServiceResource { |
| 864 |
|
| 865 |
|
| 866 |
/** |
| 867 |
* Sets metadata common to all instances within the specified project using the data included in the |
| 868 |
* request. (projects.setCommonInstanceMetadata) |
| 869 |
* |
| 870 |
* @param string $project Name of the project scoping this request. |
| 871 |
* @param Google_Metadata $postBody |
| 872 |
* @param array $optParams Optional parameters. |
| 873 |
*/ |
| 874 |
public function setCommonInstanceMetadata($project, Google_Metadata $postBody, $optParams = array()) { |
| 875 |
$params = array('project' => $project, 'postBody' => $postBody); |
| 876 |
$params = array_merge($params, $optParams); |
| 877 |
$data = $this->__call('setCommonInstanceMetadata', array($params)); |
| 878 |
return $data; |
| 879 |
} |
| 880 |
/** |
| 881 |
* Returns the specified project resource. (projects.get) |
| 882 |
* |
| 883 |
* @param string $project Name of the project resource to retrieve. |
| 884 |
* @param array $optParams Optional parameters. |
| 885 |
* @return Google_Project |
| 886 |
*/ |
| 887 |
public function get($project, $optParams = array()) { |
| 888 |
$params = array('project' => $project); |
| 889 |
$params = array_merge($params, $optParams); |
| 890 |
$data = $this->__call('get', array($params)); |
| 891 |
if ($this->useObjects()) { |
| 892 |
return new Google_Project($data); |
| 893 |
} else { |
| 894 |
return $data; |
| 895 |
} |
| 896 |
} |
| 897 |
} |
| 898 |
|
| 899 |
/** |
| 900 |
* Service definition for Google_Compute (v1beta12). |
| 901 |
* |
| 902 |
* <p> |
| 903 |
* API for the Google Compute Engine service. |
| 904 |
* </p> |
| 905 |
* |
| 906 |
* <p> |
| 907 |
* For more information about this service, see the |
| 908 |
* <a href="https://developers.google.com/compute/docs/reference/v1beta12" target="_blank">API Documentation</a> |
| 909 |
* </p> |
| 910 |
* |
| 911 |
* @author Google, Inc. |
| 912 |
*/ |
| 913 |
class Google_ComputeService extends Google_Service { |
| 914 |
public $operations; |
| 915 |
public $kernels; |
| 916 |
public $disks; |
| 917 |
public $snapshots; |
| 918 |
public $zones; |
| 919 |
public $instances; |
| 920 |
public $machineTypes; |
| 921 |
public $images; |
| 922 |
public $firewalls; |
| 923 |
public $networks; |
| 924 |
public $projects; |
| 925 |
/** |
| 926 |
* Constructs the internal representation of the Compute service. |
| 927 |
* |
| 928 |
* @param Google_Client $client |
| 929 |
*/ |
| 930 |
public function __construct(Google_Client $client) { |
| 931 |
$this->servicePath = 'compute/v1beta12/projects/'; |
| 932 |
$this->version = 'v1beta12'; |
| 933 |
$this->serviceName = 'compute'; |
| 934 |
|
| 935 |
$client->addService($this->serviceName, $this->version); |
| 936 |
$this->operations = new Google_OperationsServiceResource($this, $this->serviceName, 'operations', json_decode('{"methods": {"get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "operation": {"required": true, "type": "string", "location": "path"}}, "id": "compute.operations.get", "httpMethod": "GET", "path": "{project}/operations/{operation}", "response": {"$ref": "Operation"}}, "list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.operations.list", "httpMethod": "GET", "path": "{project}/operations", "response": {"$ref": "OperationList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/compute"], "path": "{project}/operations/{operation}", "id": "compute.operations.delete", "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "operation": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true)); |
| 937 |
$this->kernels = new Google_KernelsServiceResource($this, $this->serviceName, 'kernels', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.kernels.list", "httpMethod": "GET", "path": "{project}/kernels", "response": {"$ref": "KernelList"}}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "kernel": {"required": true, "type": "string", "location": "path"}}, "id": "compute.kernels.get", "httpMethod": "GET", "path": "{project}/kernels/{kernel}", "response": {"$ref": "Kernel"}}}}', true)); |
| 938 |
$this->disks = new Google_DisksServiceResource($this, $this->serviceName, 'disks', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Disk"}, "response": {"$ref": "Operation"}, "httpMethod": "POST", "path": "{project}/disks", "id": "compute.disks.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "disk": {"required": true, "type": "string", "location": "path"}}, "id": "compute.disks.get", "httpMethod": "GET", "path": "{project}/disks/{disk}", "response": {"$ref": "Disk"}}, "list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.disks.list", "httpMethod": "GET", "path": "{project}/disks", "response": {"$ref": "DiskList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "disk": {"required": true, "type": "string", "location": "path"}}, "id": "compute.disks.delete", "httpMethod": "DELETE", "path": "{project}/disks/{disk}", "response": {"$ref": "Operation"}}}}', true)); |
| 939 |
$this->snapshots = new Google_SnapshotsServiceResource($this, $this->serviceName, 'snapshots', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Snapshot"}, "response": {"$ref": "Operation"}, "httpMethod": "POST", "path": "{project}/snapshots", "id": "compute.snapshots.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "snapshot": {"required": true, "type": "string", "location": "path"}}, "id": "compute.snapshots.get", "httpMethod": "GET", "path": "{project}/snapshots/{snapshot}", "response": {"$ref": "Snapshot"}}, "list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.snapshots.list", "httpMethod": "GET", "path": "{project}/snapshots", "response": {"$ref": "SnapshotList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "snapshot": {"required": true, "type": "string", "location": "path"}}, "id": "compute.snapshots.delete", "httpMethod": "DELETE", "path": "{project}/snapshots/{snapshot}", "response": {"$ref": "Operation"}}}}', true)); |
| 940 |
$this->zones = new Google_ZonesServiceResource($this, $this->serviceName, 'zones', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.zones.list", "httpMethod": "GET", "path": "{project}/zones", "response": {"$ref": "ZoneList"}}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "zone": {"required": true, "type": "string", "location": "path"}}, "id": "compute.zones.get", "httpMethod": "GET", "path": "{project}/zones/{zone}", "response": {"$ref": "Zone"}}}}', true)); |
| 941 |
$this->instances = new Google_InstancesServiceResource($this, $this->serviceName, 'instances', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Instance"}, "response": {"$ref": "Operation"}, "httpMethod": "POST", "path": "{project}/instances", "id": "compute.instances.insert"}, "deleteAccessConfig": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "instance": {"required": true, "type": "string", "location": "path"}, "access_config": {"required": true, "type": "string", "location": "query"}, "network_interface": {"required": true, "type": "string", "location": "query"}}, "id": "compute.instances.deleteAccessConfig", "httpMethod": "POST", "path": "{project}/instances/{instance}/delete-access-config", "response": {"$ref": "Operation"}}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "instance": {"required": true, "type": "string", "location": "path"}}, "id": "compute.instances.get", "httpMethod": "GET", "path": "{project}/instances/{instance}", "response": {"$ref": "Instance"}}, "list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.instances.list", "httpMethod": "GET", "path": "{project}/instances", "response": {"$ref": "InstanceList"}}, "addAccessConfig": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "instance": {"required": true, "type": "string", "location": "path"}, "network_interface": {"required": true, "type": "string", "location": "query"}}, "request": {"$ref": "AccessConfig"}, "response": {"$ref": "Operation"}, "httpMethod": "POST", "path": "{project}/instances/{instance}/add-access-config", "id": "compute.instances.addAccessConfig"}, "delete": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "instance": {"required": true, "type": "string", "location": "path"}}, "id": "compute.instances.delete", "httpMethod": "DELETE", "path": "{project}/instances/{instance}", "response": {"$ref": "Operation"}}}}', true)); |
| 942 |
$this->machineTypes = new Google_MachineTypesServiceResource($this, $this->serviceName, 'machineTypes', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.machineTypes.list", "httpMethod": "GET", "path": "{project}/machine-types", "response": {"$ref": "MachineTypeList"}}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "machineType": {"required": true, "type": "string", "location": "path"}}, "id": "compute.machineTypes.get", "httpMethod": "GET", "path": "{project}/machine-types/{machineType}", "response": {"$ref": "MachineType"}}}}', true)); |
| 943 |
$this->images = new Google_ImagesServiceResource($this, $this->serviceName, 'images', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/devstorage.read_only"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Image"}, "response": {"$ref": "Operation"}, "httpMethod": "POST", "path": "{project}/images", "id": "compute.images.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "image": {"required": true, "type": "string", "location": "path"}}, "id": "compute.images.get", "httpMethod": "GET", "path": "{project}/images/{image}", "response": {"$ref": "Image"}}, "list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.images.list", "httpMethod": "GET", "path": "{project}/images", "response": {"$ref": "ImageList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "image": {"required": true, "type": "string", "location": "path"}}, "id": "compute.images.delete", "httpMethod": "DELETE", "path": "{project}/images/{image}", "response": {"$ref": "Operation"}}}}', true)); |
| 944 |
$this->firewalls = new Google_FirewallsServiceResource($this, $this->serviceName, 'firewalls', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Firewall"}, "response": {"$ref": "Operation"}, "httpMethod": "POST", "path": "{project}/firewalls", "id": "compute.firewalls.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"firewall": {"required": true, "type": "string", "location": "path"}, "project": {"required": true, "type": "string", "location": "path"}}, "id": "compute.firewalls.get", "httpMethod": "GET", "path": "{project}/firewalls/{firewall}", "response": {"$ref": "Firewall"}}, "list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.firewalls.list", "httpMethod": "GET", "path": "{project}/firewalls", "response": {"$ref": "FirewallList"}}, "update": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"firewall": {"required": true, "type": "string", "location": "path"}, "project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Firewall"}, "response": {"$ref": "Operation"}, "httpMethod": "PUT", "path": "{project}/firewalls/{firewall}", "id": "compute.firewalls.update"}, "patch": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"firewall": {"required": true, "type": "string", "location": "path"}, "project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Firewall"}, "response": {"$ref": "Operation"}, "httpMethod": "PATCH", "path": "{project}/firewalls/{firewall}", "id": "compute.firewalls.patch"}, "delete": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"firewall": {"required": true, "type": "string", "location": "path"}, "project": {"required": true, "type": "string", "location": "path"}}, "id": "compute.firewalls.delete", "httpMethod": "DELETE", "path": "{project}/firewalls/{firewall}", "response": {"$ref": "Operation"}}}}', true)); |
| 945 |
$this->networks = new Google_NetworksServiceResource($this, $this->serviceName, 'networks', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Network"}, "response": {"$ref": "Operation"}, "httpMethod": "POST", "path": "{project}/networks", "id": "compute.networks.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "network": {"required": true, "type": "string", "location": "path"}}, "id": "compute.networks.get", "httpMethod": "GET", "path": "{project}/networks/{network}", "response": {"$ref": "Network"}}, "list": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"filter": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "project": {"required": true, "type": "string", "location": "path"}, "maxResults": {"type": "integer", "location": "query", "format": "uint32"}}, "id": "compute.networks.list", "httpMethod": "GET", "path": "{project}/networks", "response": {"$ref": "NetworkList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}, "network": {"required": true, "type": "string", "location": "path"}}, "id": "compute.networks.delete", "httpMethod": "DELETE", "path": "{project}/networks/{network}", "response": {"$ref": "Operation"}}}}', true)); |
| 946 |
$this->projects = new Google_ProjectsServiceResource($this, $this->serviceName, 'projects', json_decode('{"methods": {"setCommonInstanceMetadata": {"scopes": ["https://www.googleapis.com/auth/compute"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Metadata"}, "httpMethod": "POST", "path": "{project}/set-common-instance-metadata", "id": "compute.projects.setCommonInstanceMetadata"}, "get": {"scopes": ["https://www.googleapis.com/auth/compute.readonly"], "parameters": {"project": {"required": true, "type": "string", "location": "path"}}, "id": "compute.projects.get", "httpMethod": "GET", "path": "{project}", "response": {"$ref": "Project"}}}}', true)); |
| 947 |
|
| 948 |
} |
| 949 |
} |
| 950 |
|
| 951 |
class Google_AccessConfig extends Google_Model { |
| 952 |
public $kind; |
| 953 |
public $type; |
| 954 |
public $name; |
| 955 |
public $natIP; |
| 956 |
public function setKind($kind) { |
| 957 |
$this->kind = $kind; |
| 958 |
} |
| 959 |
public function getKind() { |
| 960 |
return $this->kind; |
| 961 |
} |
| 962 |
public function setType($type) { |
| 963 |
$this->type = $type; |
| 964 |
} |
| 965 |
public function getType() { |
| 966 |
return $this->type; |
| 967 |
} |
| 968 |
public function setName($name) { |
| 969 |
$this->name = $name; |
| 970 |
} |
| 971 |
public function getName() { |
| 972 |
return $this->name; |
| 973 |
} |
| 974 |
public function setNatIP($natIP) { |
| 975 |
$this->natIP = $natIP; |
| 976 |
} |
| 977 |
public function getNatIP() { |
| 978 |
return $this->natIP; |
| 979 |
} |
| 980 |
} |
| 981 |
|
| 982 |
class Google_AttachedDisk extends Google_Model { |
| 983 |
public $deviceName; |
| 984 |
public $kind; |
| 985 |
public $index; |
| 986 |
public $source; |
| 987 |
public $mode; |
| 988 |
public $deleteOnTerminate; |
| 989 |
public $type; |
| 990 |
public function setDeviceName($deviceName) { |
| 991 |
$this->deviceName = $deviceName; |
| 992 |
} |
| 993 |
public function getDeviceName() { |
| 994 |
return $this->deviceName; |
| 995 |
} |
| 996 |
public function setKind($kind) { |
| 997 |
$this->kind = $kind; |
| 998 |
} |
| 999 |
public function getKind() { |
| 1000 |
return $this->kind; |
| 1001 |
} |
| 1002 |
public function setIndex($index) { |
| 1003 |
$this->index = $index; |
| 1004 |
} |
| 1005 |
public function getIndex() { |
| 1006 |
return $this->index; |
| 1007 |
} |
| 1008 |
public function setSource($source) { |
| 1009 |
$this->source = $source; |
| 1010 |
} |
| 1011 |
public function getSource() { |
| 1012 |
return $this->source; |
| 1013 |
} |
| 1014 |
public function setMode($mode) { |
| 1015 |
$this->mode = $mode; |
| 1016 |
} |
| 1017 |
public function getMode() { |
| 1018 |
return $this->mode; |
| 1019 |
} |
| 1020 |
public function setDeleteOnTerminate($deleteOnTerminate) { |
| 1021 |
$this->deleteOnTerminate = $deleteOnTerminate; |
| 1022 |
} |
| 1023 |
public function getDeleteOnTerminate() { |
| 1024 |
return $this->deleteOnTerminate; |
| 1025 |
} |
| 1026 |
public function setType($type) { |
| 1027 |
$this->type = $type; |
| 1028 |
} |
| 1029 |
public function getType() { |
| 1030 |
return $this->type; |
| 1031 |
} |
| 1032 |
} |
| 1033 |
|
| 1034 |
class Google_Disk extends Google_Model { |
| 1035 |
public $status; |
| 1036 |
public $sourceSnapshot; |
| 1037 |
public $kind; |
| 1038 |
public $description; |
| 1039 |
public $sizeGb; |
| 1040 |
public $id; |
| 1041 |
public $sourceSnapshotId; |
| 1042 |
public $zone; |
| 1043 |
public $creationTimestamp; |
| 1044 |
public $options; |
| 1045 |
public $selfLink; |
| 1046 |
public $name; |
| 1047 |
public function setStatus($status) { |
| 1048 |
$this->status = $status; |
| 1049 |
} |
| 1050 |
public function getStatus() { |
| 1051 |
return $this->status; |
| 1052 |
} |
| 1053 |
public function setSourceSnapshot($sourceSnapshot) { |
| 1054 |
$this->sourceSnapshot = $sourceSnapshot; |
| 1055 |
} |
| 1056 |
public function getSourceSnapshot() { |
| 1057 |
return $this->sourceSnapshot; |
| 1058 |
} |
| 1059 |
public function setKind($kind) { |
| 1060 |
$this->kind = $kind; |
| 1061 |
} |
| 1062 |
public function getKind() { |
| 1063 |
return $this->kind; |
| 1064 |
} |
| 1065 |
public function setDescription($description) { |
| 1066 |
$this->description = $description; |
| 1067 |
} |
| 1068 |
public function getDescription() { |
| 1069 |
return $this->description; |
| 1070 |
} |
| 1071 |
public function setSizeGb($sizeGb) { |
| 1072 |
$this->sizeGb = $sizeGb; |
| 1073 |
} |
| 1074 |
public function getSizeGb() { |
| 1075 |
return $this->sizeGb; |
| 1076 |
} |
| 1077 |
public function setId($id) { |
| 1078 |
$this->id = $id; |
| 1079 |
} |
| 1080 |
public function getId() { |
| 1081 |
return $this->id; |
| 1082 |
} |
| 1083 |
public function setSourceSnapshotId($sourceSnapshotId) { |
| 1084 |
$this->sourceSnapshotId = $sourceSnapshotId; |
| 1085 |
} |
| 1086 |
public function getSourceSnapshotId() { |
| 1087 |
return $this->sourceSnapshotId; |
| 1088 |
} |
| 1089 |
public function setZone($zone) { |
| 1090 |
$this->zone = $zone; |
| 1091 |
} |
| 1092 |
public function getZone() { |
| 1093 |
return $this->zone; |
| 1094 |
} |
| 1095 |
public function setCreationTimestamp($creationTimestamp) { |
| 1096 |
$this->creationTimestamp = $creationTimestamp; |
| 1097 |
} |
| 1098 |
public function getCreationTimestamp() { |
| 1099 |
return $this->creationTimestamp; |
| 1100 |
} |
| 1101 |
public function setOptions($options) { |
| 1102 |
$this->options = $options; |
| 1103 |
} |
| 1104 |
public function getOptions() { |
| 1105 |
return $this->options; |
| 1106 |
} |
| 1107 |
public function setSelfLink($selfLink) { |
| 1108 |
$this->selfLink = $selfLink; |
| 1109 |
} |
| 1110 |
public function getSelfLink() { |
| 1111 |
return $this->selfLink; |
| 1112 |
} |
| 1113 |
public function setName($name) { |
| 1114 |
$this->name = $name; |
| 1115 |
} |
| 1116 |
public function getName() { |
| 1117 |
return $this->name; |
| 1118 |
} |
| 1119 |
} |
| 1120 |
|
| 1121 |
class Google_DiskList extends Google_Model { |
| 1122 |
public $nextPageToken; |
| 1123 |
protected $__itemsType = 'Google_Disk'; |
| 1124 |
protected $__itemsDataType = 'array'; |
| 1125 |
public $items; |
| 1126 |
public $kind; |
| 1127 |
public $id; |
| 1128 |
public $selfLink; |
| 1129 |
public function setNextPageToken($nextPageToken) { |
| 1130 |
$this->nextPageToken = $nextPageToken; |
| 1131 |
} |
| 1132 |
public function getNextPageToken() { |
| 1133 |
return $this->nextPageToken; |
| 1134 |
} |
| 1135 |
public function setItems(/* array(Google_Disk) */ $items) { |
| 1136 |
$this->assertIsArray($items, 'Google_Disk', __METHOD__); |
| 1137 |
$this->items = $items; |
| 1138 |
} |
| 1139 |
public function getItems() { |
| 1140 |
return $this->items; |
| 1141 |
} |
| 1142 |
public function setKind($kind) { |
| 1143 |
$this->kind = $kind; |
| 1144 |
} |
| 1145 |
public function getKind() { |
| 1146 |
return $this->kind; |
| 1147 |
} |
| 1148 |
public function setId($id) { |
| 1149 |
$this->id = $id; |
| 1150 |
} |
| 1151 |
public function getId() { |
| 1152 |
return $this->id; |
| 1153 |
} |
| 1154 |
public function setSelfLink($selfLink) { |
| 1155 |
$this->selfLink = $selfLink; |
| 1156 |
} |
| 1157 |
public function getSelfLink() { |
| 1158 |
return $this->selfLink; |
| 1159 |
} |
| 1160 |
} |
| 1161 |
|
| 1162 |
class Google_Firewall extends Google_Model { |
| 1163 |
public $kind; |
| 1164 |
public $description; |
| 1165 |
public $sourceTags; |
| 1166 |
public $sourceRanges; |
| 1167 |
public $network; |
| 1168 |
public $targetTags; |
| 1169 |
protected $__allowedType = 'Google_FirewallAllowed'; |
| 1170 |
protected $__allowedDataType = 'array'; |
| 1171 |
public $allowed; |
| 1172 |
public $creationTimestamp; |
| 1173 |
public $id; |
| 1174 |
public $selfLink; |
| 1175 |
public $name; |
| 1176 |
public function setKind($kind) { |
| 1177 |
$this->kind = $kind; |
| 1178 |
} |
| 1179 |
public function getKind() { |
| 1180 |
return $this->kind; |
| 1181 |
} |
| 1182 |
public function setDescription($description) { |
| 1183 |
$this->description = $description; |
| 1184 |
} |
| 1185 |
public function getDescription() { |
| 1186 |
return $this->description; |
| 1187 |
} |
| 1188 |
public function setSourceTags(/* array(Google_string) */ $sourceTags) { |
| 1189 |
$this->assertIsArray($sourceTags, 'Google_string', __METHOD__); |
| 1190 |
$this->sourceTags = $sourceTags; |
| 1191 |
} |
| 1192 |
public function getSourceTags() { |
| 1193 |
return $this->sourceTags; |
| 1194 |
} |
| 1195 |
public function setSourceRanges(/* array(Google_string) */ $sourceRanges) { |
| 1196 |
$this->assertIsArray($sourceRanges, 'Google_string', __METHOD__); |
| 1197 |
$this->sourceRanges = $sourceRanges; |
| 1198 |
} |
| 1199 |
public function getSourceRanges() { |
| 1200 |
return $this->sourceRanges; |
| 1201 |
} |
| 1202 |
public function setNetwork($network) { |
| 1203 |
$this->network = $network; |
| 1204 |
} |
| 1205 |
public function getNetwork() { |
| 1206 |
return $this->network; |
| 1207 |
} |
| 1208 |
public function setTargetTags(/* array(Google_string) */ $targetTags) { |
| 1209 |
$this->assertIsArray($targetTags, 'Google_string', __METHOD__); |
| 1210 |
$this->targetTags = $targetTags; |
| 1211 |
} |
| 1212 |
public function getTargetTags() { |
| 1213 |
return $this->targetTags; |
| 1214 |
} |
| 1215 |
public function setAllowed(/* array(Google_FirewallAllowed) */ $allowed) { |
| 1216 |
$this->assertIsArray($allowed, 'Google_FirewallAllowed', __METHOD__); |
| 1217 |
$this->allowed = $allowed; |
| 1218 |
} |
| 1219 |
public function getAllowed() { |
| 1220 |
return $this->allowed; |
| 1221 |
} |
| 1222 |
public function setCreationTimestamp($creationTimestamp) { |
| 1223 |
$this->creationTimestamp = $creationTimestamp; |
| 1224 |
} |
| 1225 |
public function getCreationTimestamp() { |
| 1226 |
return $this->creationTimestamp; |
| 1227 |
} |
| 1228 |
public function setId($id) { |
| 1229 |
$this->id = $id; |
| 1230 |
} |
| 1231 |
public function getId() { |
| 1232 |
return $this->id; |
| 1233 |
} |
| 1234 |
public function setSelfLink($selfLink) { |
| 1235 |
$this->selfLink = $selfLink; |
| 1236 |
} |
| 1237 |
public function getSelfLink() { |
| 1238 |
return $this->selfLink; |
| 1239 |
} |
| 1240 |
public function setName($name) { |
| 1241 |
$this->name = $name; |
| 1242 |
} |
| 1243 |
public function getName() { |
| 1244 |
return $this->name; |
| 1245 |
} |
| 1246 |
} |
| 1247 |
|
| 1248 |
class Google_FirewallAllowed extends Google_Model { |
| 1249 |
public $IPProtocol; |
| 1250 |
public $ports; |
| 1251 |
public function setIPProtocol($IPProtocol) { |
| 1252 |
$this->IPProtocol = $IPProtocol; |
| 1253 |
} |
| 1254 |
public function getIPProtocol() { |
| 1255 |
return $this->IPProtocol; |
| 1256 |
} |
| 1257 |
public function setPorts(/* array(Google_string) */ $ports) { |
| 1258 |
$this->assertIsArray($ports, 'Google_string', __METHOD__); |
| 1259 |
$this->ports = $ports; |
| 1260 |
} |
| 1261 |
public function getPorts() { |
| 1262 |
return $this->ports; |
| 1263 |
} |
| 1264 |
} |
| 1265 |
|
| 1266 |
class Google_FirewallList extends Google_Model { |
| 1267 |
public $nextPageToken; |
| 1268 |
protected $__itemsType = 'Google_Firewall'; |
| 1269 |
protected $__itemsDataType = 'array'; |
| 1270 |
public $items; |
| 1271 |
public $kind; |
| 1272 |
public $id; |
| 1273 |
public $selfLink; |
| 1274 |
public function setNextPageToken($nextPageToken) { |
| 1275 |
$this->nextPageToken = $nextPageToken; |
| 1276 |
} |
| 1277 |
public function getNextPageToken() { |
| 1278 |
return $this->nextPageToken; |
| 1279 |
} |
| 1280 |
public function setItems(/* array(Google_Firewall) */ $items) { |
| 1281 |
$this->assertIsArray($items, 'Google_Firewall', __METHOD__); |
| 1282 |
$this->items = $items; |
| 1283 |
} |
| 1284 |
public function getItems() { |
| 1285 |
return $this->items; |
| 1286 |
} |
| 1287 |
public function setKind($kind) { |
| 1288 |
$this->kind = $kind; |
| 1289 |
} |
| 1290 |
public function getKind() { |
| 1291 |
return $this->kind; |
| 1292 |
} |
| 1293 |
public function setId($id) { |
| 1294 |
$this->id = $id; |
| 1295 |
} |
| 1296 |
public function getId() { |
| 1297 |
return $this->id; |
| 1298 |
} |
| 1299 |
public function setSelfLink($selfLink) { |
| 1300 |
$this->selfLink = $selfLink; |
| 1301 |
} |
| 1302 |
public function getSelfLink() { |
| 1303 |
return $this->selfLink; |
| 1304 |
} |
| 1305 |
} |
| 1306 |
|
| 1307 |
class Google_Image extends Google_Model { |
| 1308 |
public $kind; |
| 1309 |
public $description; |
| 1310 |
protected $__rawDiskType = 'Google_ImageRawDisk'; |
| 1311 |
protected $__rawDiskDataType = ''; |
| 1312 |
public $rawDisk; |
| 1313 |
public $preferredKernel; |
| 1314 |
protected $__diskSnapshotType = 'Google_ImageDiskSnapshot'; |
| 1315 |
protected $__diskSnapshotDataType = ''; |
| 1316 |
public $diskSnapshot; |
| 1317 |
public $sourceType; |
| 1318 |
public $creationTimestamp; |
| 1319 |
public $id; |
| 1320 |
public $selfLink; |
| 1321 |
public $name; |
| 1322 |
public function setKind($kind) { |
| 1323 |
$this->kind = $kind; |
| 1324 |
} |
| 1325 |
public function getKind() { |
| 1326 |
return $this->kind; |
| 1327 |
} |
| 1328 |
public function setDescription($description) { |
| 1329 |
$this->description = $description; |
| 1330 |
} |
| 1331 |
public function getDescription() { |
| 1332 |
return $this->description; |
| 1333 |
} |
| 1334 |
public function setRawDisk(Google_ImageRawDisk $rawDisk) { |
| 1335 |
$this->rawDisk = $rawDisk; |
| 1336 |
} |
| 1337 |
public function getRawDisk() { |
| 1338 |
return $this->rawDisk; |
| 1339 |
} |
| 1340 |
public function setPreferredKernel($preferredKernel) { |
| 1341 |
$this->preferredKernel = $preferredKernel; |
| 1342 |
} |
| 1343 |
public function getPreferredKernel() { |
| 1344 |
return $this->preferredKernel; |
| 1345 |
} |
| 1346 |
public function setDiskSnapshot(Google_ImageDiskSnapshot $diskSnapshot) { |
| 1347 |
$this->diskSnapshot = $diskSnapshot; |
| 1348 |
} |
| 1349 |
public function getDiskSnapshot() { |
| 1350 |
return $this->diskSnapshot; |
| 1351 |
} |
| 1352 |
public function setSourceType($sourceType) { |
| 1353 |
$this->sourceType = $sourceType; |
| 1354 |
} |
| 1355 |
public function getSourceType() { |
| 1356 |
return $this->sourceType; |
| 1357 |
} |
| 1358 |
public function setCreationTimestamp($creationTimestamp) { |
| 1359 |
$this->creationTimestamp = $creationTimestamp; |
| 1360 |
} |
| 1361 |
public function getCreationTimestamp() { |
| 1362 |
return $this->creationTimestamp; |
| 1363 |
} |
| 1364 |
public function setId($id) { |
| 1365 |
$this->id = $id; |
| 1366 |
} |
| 1367 |
public function getId() { |
| 1368 |
return $this->id; |
| 1369 |
} |
| 1370 |
public function setSelfLink($selfLink) { |
| 1371 |
$this->selfLink = $selfLink; |
| 1372 |
} |
| 1373 |
public function getSelfLink() { |
| 1374 |
return $this->selfLink; |
| 1375 |
} |
| 1376 |
public function setName($name) { |
| 1377 |
$this->name = $name; |
| 1378 |
} |
| 1379 |
public function getName() { |
| 1380 |
return $this->name; |
| 1381 |
} |
| 1382 |
} |
| 1383 |
|
| 1384 |
class Google_ImageDiskSnapshot extends Google_Model { |
| 1385 |
public $source; |
| 1386 |
public function setSource($source) { |
| 1387 |
$this->source = $source; |
| 1388 |
} |
| 1389 |
public function getSource() { |
| 1390 |
return $this->source; |
| 1391 |
} |
| 1392 |
} |
| 1393 |
|
| 1394 |
class Google_ImageList extends Google_Model { |
| 1395 |
public $nextPageToken; |
| 1396 |
protected $__itemsType = 'Google_Image'; |
| 1397 |
protected $__itemsDataType = 'array'; |
| 1398 |
public $items; |
| 1399 |
public $kind; |
| 1400 |
public $id; |
| 1401 |
public $selfLink; |
| 1402 |
public function setNextPageToken($nextPageToken) { |
| 1403 |
$this->nextPageToken = $nextPageToken; |
| 1404 |
} |
| 1405 |
public function getNextPageToken() { |
| 1406 |
return $this->nextPageToken; |
| 1407 |
} |
| 1408 |
public function setItems(/* array(Google_Image) */ $items) { |
| 1409 |
$this->assertIsArray($items, 'Google_Image', __METHOD__); |
| 1410 |
$this->items = $items; |
| 1411 |
} |
| 1412 |
public function getItems() { |
| 1413 |
return $this->items; |
| 1414 |
} |
| 1415 |
public function setKind($kind) { |
| 1416 |
$this->kind = $kind; |
| 1417 |
} |
| 1418 |
public function getKind() { |
| 1419 |
return $this->kind; |
| 1420 |
} |
| 1421 |
public function setId($id) { |
| 1422 |
$this->id = $id; |
| 1423 |
} |
| 1424 |
public function getId() { |
| 1425 |
return $this->id; |
| 1426 |
} |
| 1427 |
public function setSelfLink($selfLink) { |
| 1428 |
$this->selfLink = $selfLink; |
| 1429 |
} |
| 1430 |
public function getSelfLink() { |
| 1431 |
return $this->selfLink; |
| 1432 |
} |
| 1433 |
} |
| 1434 |
|
| 1435 |
class Google_ImageRawDisk extends Google_Model { |
| 1436 |
public $containerType; |
| 1437 |
public $source; |
| 1438 |
public $sha1Checksum; |
| 1439 |
public function setContainerType($containerType) { |
| 1440 |
$this->containerType = $containerType; |
| 1441 |
} |
| 1442 |
public function getContainerType() { |
| 1443 |
return $this->containerType; |
| 1444 |
} |
| 1445 |
public function setSource($source) { |
| 1446 |
$this->source = $source; |
| 1447 |
} |
| 1448 |
public function getSource() { |
| 1449 |
return $this->source; |
| 1450 |
} |
| 1451 |
public function setSha1Checksum($sha1Checksum) { |
| 1452 |
$this->sha1Checksum = $sha1Checksum; |
| 1453 |
} |
| 1454 |
public function getSha1Checksum() { |
| 1455 |
return $this->sha1Checksum; |
| 1456 |
} |
| 1457 |
} |
| 1458 |
|
| 1459 |
class Google_Instance extends Google_Model { |
| 1460 |
public $status; |
| 1461 |
public $kind; |
| 1462 |
public $machineType; |
| 1463 |
public $description; |
| 1464 |
public $zone; |
| 1465 |
public $tags; |
| 1466 |
public $image; |
| 1467 |
protected $__disksType = 'Google_AttachedDisk'; |
| 1468 |
protected $__disksDataType = 'array'; |
| 1469 |
public $disks; |
| 1470 |
public $name; |
| 1471 |
public $statusMessage; |
| 1472 |
protected $__serviceAccountsType = 'Google_ServiceAccount'; |
| 1473 |
protected $__serviceAccountsDataType = 'array'; |
| 1474 |
public $serviceAccounts; |
| 1475 |
protected $__networkInterfacesType = 'Google_NetworkInterface'; |
| 1476 |
protected $__networkInterfacesDataType = 'array'; |
| 1477 |
public $networkInterfaces; |
| 1478 |
public $creationTimestamp; |
| 1479 |
public $id; |
| 1480 |
public $selfLink; |
| 1481 |
protected $__metadataType = 'Google_Metadata'; |
| 1482 |
protected $__metadataDataType = ''; |
| 1483 |
public $metadata; |
| 1484 |
public function setStatus($status) { |
| 1485 |
$this->status = $status; |
| 1486 |
} |
| 1487 |
public function getStatus() { |
| 1488 |
return $this->status; |
| 1489 |
} |
| 1490 |
public function setKind($kind) { |
| 1491 |
$this->kind = $kind; |
| 1492 |
} |
| 1493 |
public function getKind() { |
| 1494 |
return $this->kind; |
| 1495 |
} |
| 1496 |
public function setMachineType($machineType) { |
| 1497 |
$this->machineType = $machineType; |
| 1498 |
} |
| 1499 |
public function getMachineType() { |
| 1500 |
return $this->machineType; |
| 1501 |
} |
| 1502 |
public function setDescription($description) { |
| 1503 |
$this->description = $description; |
| 1504 |
} |
| 1505 |
public function getDescription() { |
| 1506 |
return $this->description; |
| 1507 |
} |
| 1508 |
public function setZone($zone) { |
| 1509 |
$this->zone = $zone; |
| 1510 |
} |
| 1511 |
public function getZone() { |
| 1512 |
return $this->zone; |
| 1513 |
} |
| 1514 |
public function setTags(/* array(Google_string) */ $tags) { |
| 1515 |
$this->assertIsArray($tags, 'Google_string', __METHOD__); |
| 1516 |
$this->tags = $tags; |
| 1517 |
} |
| 1518 |
public function getTags() { |
| 1519 |
return $this->tags; |
| 1520 |
} |
| 1521 |
public function setImage($image) { |
| 1522 |
$this->image = $image; |
| 1523 |
} |
| 1524 |
public function getImage() { |
| 1525 |
return $this->image; |
| 1526 |
} |
| 1527 |
public function setDisks(/* array(Google_AttachedDisk) */ $disks) { |
| 1528 |
$this->assertIsArray($disks, 'Google_AttachedDisk', __METHOD__); |
| 1529 |
$this->disks = $disks; |
| 1530 |
} |
| 1531 |
public function getDisks() { |
| 1532 |
return $this->disks; |
| 1533 |
} |
| 1534 |
public function setName($name) { |
| 1535 |
$this->name = $name; |
| 1536 |
} |
| 1537 |
public function getName() { |
| 1538 |
return $this->name; |
| 1539 |
} |
| 1540 |
public function setStatusMessage($statusMessage) { |
| 1541 |
$this->statusMessage = $statusMessage; |
| 1542 |
} |
| 1543 |
public function getStatusMessage() { |
| 1544 |
return $this->statusMessage; |
| 1545 |
} |
| 1546 |
public function setServiceAccounts(/* array(Google_ServiceAccount) */ $serviceAccounts) { |
| 1547 |
$this->assertIsArray($serviceAccounts, 'Google_ServiceAccount', __METHOD__); |
| 1548 |
$this->serviceAccounts = $serviceAccounts; |
| 1549 |
} |
| 1550 |
public function getServiceAccounts() { |
| 1551 |
return $this->serviceAccounts; |
| 1552 |
} |
| 1553 |
public function setNetworkInterfaces(/* array(Google_NetworkInterface) */ $networkInterfaces) { |
| 1554 |
$this->assertIsArray($networkInterfaces, 'Google_NetworkInterface', __METHOD__); |
| 1555 |
$this->networkInterfaces = $networkInterfaces; |
| 1556 |
} |
| 1557 |
public function getNetworkInterfaces() { |
| 1558 |
return $this->networkInterfaces; |
| 1559 |
} |
| 1560 |
public function setCreationTimestamp($creationTimestamp) { |
| 1561 |
$this->creationTimestamp = $creationTimestamp; |
| 1562 |
} |
| 1563 |
public function getCreationTimestamp() { |
| 1564 |
return $this->creationTimestamp; |
| 1565 |
} |
| 1566 |
public function setId($id) { |
| 1567 |
$this->id = $id; |
| 1568 |
} |
| 1569 |
public function getId() { |
| 1570 |
return $this->id; |
| 1571 |
} |
| 1572 |
public function setSelfLink($selfLink) { |
| 1573 |
$this->selfLink = $selfLink; |
| 1574 |
} |
| 1575 |
public function getSelfLink() { |
| 1576 |
return $this->selfLink; |
| 1577 |
} |
| 1578 |
public function setMetadata(Google_Metadata $metadata) { |
| 1579 |
$this->metadata = $metadata; |
| 1580 |
} |
| 1581 |
public function getMetadata() { |
| 1582 |
return $this->metadata; |
| 1583 |
} |
| 1584 |
} |
| 1585 |
|
| 1586 |
class Google_InstanceList extends Google_Model { |
| 1587 |
public $nextPageToken; |
| 1588 |
protected $__itemsType = 'Google_Instance'; |
| 1589 |
protected $__itemsDataType = 'array'; |
| 1590 |
public $items; |
| 1591 |
public $kind; |
| 1592 |
public $id; |
| 1593 |
public $selfLink; |
| 1594 |
public function setNextPageToken($nextPageToken) { |
| 1595 |
$this->nextPageToken = $nextPageToken; |
| 1596 |
} |
| 1597 |
public function getNextPageToken() { |
| 1598 |
return $this->nextPageToken; |
| 1599 |
} |
| 1600 |
public function setItems(/* array(Google_Instance) */ $items) { |
| 1601 |
$this->assertIsArray($items, 'Google_Instance', __METHOD__); |
| 1602 |
$this->items = $items; |
| 1603 |
} |
| 1604 |
public function getItems() { |
| 1605 |
return $this->items; |
| 1606 |
} |
| 1607 |
public function setKind($kind) { |
| 1608 |
$this->kind = $kind; |
| 1609 |
} |
| 1610 |
public function getKind() { |
| 1611 |
return $this->kind; |
| 1612 |
} |
| 1613 |
public function setId($id) { |
| 1614 |
$this->id = $id; |
| 1615 |
} |
| 1616 |
public function getId() { |
| 1617 |
return $this->id; |
| 1618 |
} |
| 1619 |
public function setSelfLink($selfLink) { |
| 1620 |
$this->selfLink = $selfLink; |
| 1621 |
} |
| 1622 |
public function getSelfLink() { |
| 1623 |
return $this->selfLink; |
| 1624 |
} |
| 1625 |
} |
| 1626 |
|
| 1627 |
class Google_Kernel extends Google_Model { |
| 1628 |
public $kind; |
| 1629 |
public $description; |
| 1630 |
public $creationTimestamp; |
| 1631 |
public $id; |
| 1632 |
public $selfLink; |
| 1633 |
public $name; |
| 1634 |
public function setKind($kind) { |
| 1635 |
$this->kind = $kind; |
| 1636 |
} |
| 1637 |
public function getKind() { |
| 1638 |
return $this->kind; |
| 1639 |
} |
| 1640 |
public function setDescription($description) { |
| 1641 |
$this->description = $description; |
| 1642 |
} |
| 1643 |
public function getDescription() { |
| 1644 |
return $this->description; |
| 1645 |
} |
| 1646 |
public function setCreationTimestamp($creationTimestamp) { |
| 1647 |
$this->creationTimestamp = $creationTimestamp; |
| 1648 |
} |
| 1649 |
public function getCreationTimestamp() { |
| 1650 |
return $this->creationTimestamp; |
| 1651 |
} |
| 1652 |
public function setId($id) { |
| 1653 |
$this->id = $id; |
| 1654 |
} |
| 1655 |
public function getId() { |
| 1656 |
return $this->id; |
| 1657 |
} |
| 1658 |
public function setSelfLink($selfLink) { |
| 1659 |
$this->selfLink = $selfLink; |
| 1660 |
} |
| 1661 |
public function getSelfLink() { |
| 1662 |
return $this->selfLink; |
| 1663 |
} |
| 1664 |
public function setName($name) { |
| 1665 |
$this->name = $name; |
| 1666 |
} |
| 1667 |
public function getName() { |
| 1668 |
return $this->name; |
| 1669 |
} |
| 1670 |
} |
| 1671 |
|
| 1672 |
class Google_KernelList extends Google_Model { |
| 1673 |
public $nextPageToken; |
| 1674 |
protected $__itemsType = 'Google_Kernel'; |
| 1675 |
protected $__itemsDataType = 'array'; |
| 1676 |
public $items; |
| 1677 |
public $kind; |
| 1678 |
public $id; |
| 1679 |
public $selfLink; |
| 1680 |
public function setNextPageToken($nextPageToken) { |
| 1681 |
$this->nextPageToken = $nextPageToken; |
| 1682 |
} |
| 1683 |
public function getNextPageToken() { |
| 1684 |
return $this->nextPageToken; |
| 1685 |
} |
| 1686 |
public function setItems(/* array(Google_Kernel) */ $items) { |
| 1687 |
$this->assertIsArray($items, 'Google_Kernel', __METHOD__); |
| 1688 |
$this->items = $items; |
| 1689 |
} |
| 1690 |
public function getItems() { |
| 1691 |
return $this->items; |
| 1692 |
} |
| 1693 |
public function setKind($kind) { |
| 1694 |
$this->kind = $kind; |
| 1695 |
} |
| 1696 |
public function getKind() { |
| 1697 |
return $this->kind; |
| 1698 |
} |
| 1699 |
public function setId($id) { |
| 1700 |
$this->id = $id; |
| 1701 |
} |
| 1702 |
public function getId() { |
| 1703 |
return $this->id; |
| 1704 |
} |
| 1705 |
public function setSelfLink($selfLink) { |
| 1706 |
$this->selfLink = $selfLink; |
| 1707 |
} |
| 1708 |
public function getSelfLink() { |
| 1709 |
return $this->selfLink; |
| 1710 |
} |
| 1711 |
} |
| 1712 |
|
| 1713 |
class Google_MachineType extends Google_Model { |
| 1714 |
public $guestCpus; |
| 1715 |
public $imageSpaceGb; |
| 1716 |
public $kind; |
| 1717 |
protected $__ephemeralDisksType = 'Google_MachineTypeEphemeralDisks'; |
| 1718 |
protected $__ephemeralDisksDataType = 'array'; |
| 1719 |
public $ephemeralDisks; |
| 1720 |
public $maximumPersistentDisksSizeGb; |
| 1721 |
public $description; |
| 1722 |
public $maximumPersistentDisks; |
| 1723 |
public $name; |
| 1724 |
public $memoryMb; |
| 1725 |
public $availableZone; |
| 1726 |
public $creationTimestamp; |
| 1727 |
public $id; |
| 1728 |
public $selfLink; |
| 1729 |
public $hostCpus; |
| 1730 |
public function setGuestCpus($guestCpus) { |
| 1731 |
$this->guestCpus = $guestCpus; |
| 1732 |
} |
| 1733 |
public function getGuestCpus() { |
| 1734 |
return $this->guestCpus; |
| 1735 |
} |
| 1736 |
public function setImageSpaceGb($imageSpaceGb) { |
| 1737 |
$this->imageSpaceGb = $imageSpaceGb; |
| 1738 |
} |
| 1739 |
public function getImageSpaceGb() { |
| 1740 |
return $this->imageSpaceGb; |
| 1741 |
} |
| 1742 |
public function setKind($kind) { |
| 1743 |
$this->kind = $kind; |
| 1744 |
} |
| 1745 |
public function getKind() { |
| 1746 |
return $this->kind; |
| 1747 |
} |
| 1748 |
public function setEphemeralDisks(/* array(Google_MachineTypeEphemeralDisks) */ $ephemeralDisks) { |
| 1749 |
$this->assertIsArray($ephemeralDisks, 'Google_MachineTypeEphemeralDisks', __METHOD__); |
| 1750 |
$this->ephemeralDisks = $ephemeralDisks; |
| 1751 |
} |
| 1752 |
public function getEphemeralDisks() { |
| 1753 |
return $this->ephemeralDisks; |
| 1754 |
} |
| 1755 |
public function setMaximumPersistentDisksSizeGb($maximumPersistentDisksSizeGb) { |
| 1756 |
$this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb; |
| 1757 |
} |
| 1758 |
public function getMaximumPersistentDisksSizeGb() { |
| 1759 |
return $this->maximumPersistentDisksSizeGb; |
| 1760 |
} |
| 1761 |
public function setDescription($description) { |
| 1762 |
$this->description = $description; |
| 1763 |
} |
| 1764 |
public function getDescription() { |
| 1765 |
return $this->description; |
| 1766 |
} |
| 1767 |
public function setMaximumPersistentDisks($maximumPersistentDisks) { |
| 1768 |
$this->maximumPersistentDisks = $maximumPersistentDisks; |
| 1769 |
} |
| 1770 |
public function getMaximumPersistentDisks() { |
| 1771 |
return $this->maximumPersistentDisks; |
| 1772 |
} |
| 1773 |
public function setName($name) { |
| 1774 |
$this->name = $name; |
| 1775 |
} |
| 1776 |
public function getName() { |
| 1777 |
return $this->name; |
| 1778 |
} |
| 1779 |
public function setMemoryMb($memoryMb) { |
| 1780 |
$this->memoryMb = $memoryMb; |
| 1781 |
} |
| 1782 |
public function getMemoryMb() { |
| 1783 |
return $this->memoryMb; |
| 1784 |
} |
| 1785 |
public function setAvailableZone(/* array(Google_object) */ $availableZone) { |
| 1786 |
$this->assertIsArray($availableZone, 'Google_object', __METHOD__); |
| 1787 |
$this->availableZone = $availableZone; |
| 1788 |
} |
| 1789 |
public function getAvailableZone() { |
| 1790 |
return $this->availableZone; |
| 1791 |
} |
| 1792 |
public function setCreationTimestamp($creationTimestamp) { |
| 1793 |
$this->creationTimestamp = $creationTimestamp; |
| 1794 |
} |
| 1795 |
public function getCreationTimestamp() { |
| 1796 |
return $this->creationTimestamp; |
| 1797 |
} |
| 1798 |
public function setId($id) { |
| 1799 |
$this->id = $id; |
| 1800 |
} |
| 1801 |
public function getId() { |
| 1802 |
return $this->id; |
| 1803 |
} |
| 1804 |
public function setSelfLink($selfLink) { |
| 1805 |
$this->selfLink = $selfLink; |
| 1806 |
} |
| 1807 |
public function getSelfLink() { |
| 1808 |
return $this->selfLink; |
| 1809 |
} |
| 1810 |
public function setHostCpus($hostCpus) { |
| 1811 |
$this->hostCpus = $hostCpus; |
| 1812 |
} |
| 1813 |
public function getHostCpus() { |
| 1814 |
return $this->hostCpus; |
| 1815 |
} |
| 1816 |
} |
| 1817 |
|
| 1818 |
class Google_MachineTypeEphemeralDisks extends Google_Model { |
| 1819 |
public $diskGb; |
| 1820 |
public function setDiskGb($diskGb) { |
| 1821 |
$this->diskGb = $diskGb; |
| 1822 |
} |
| 1823 |
public function getDiskGb() { |
| 1824 |
return $this->diskGb; |
| 1825 |
} |
| 1826 |
} |
| 1827 |
|
| 1828 |
class Google_MachineTypeList extends Google_Model { |
| 1829 |
public $nextPageToken; |
| 1830 |
protected $__itemsType = 'Google_MachineType'; |
| 1831 |
protected $__itemsDataType = 'array'; |
| 1832 |
public $items; |
| 1833 |
public $kind; |
| 1834 |
public $id; |
| 1835 |
public $selfLink; |
| 1836 |
public function setNextPageToken($nextPageToken) { |
| 1837 |
$this->nextPageToken = $nextPageToken; |
| 1838 |
} |
| 1839 |
public function getNextPageToken() { |
| 1840 |
return $this->nextPageToken; |
| 1841 |
} |
| 1842 |
public function setItems(/* array(Google_MachineType) */ $items) { |
| 1843 |
$this->assertIsArray($items, 'Google_MachineType', __METHOD__); |
| 1844 |
$this->items = $items; |
| 1845 |
} |
| 1846 |
public function getItems() { |
| 1847 |
return $this->items; |
| 1848 |
} |
| 1849 |
public function setKind($kind) { |
| 1850 |
$this->kind = $kind; |
| 1851 |
} |
| 1852 |
public function getKind() { |
| 1853 |
return $this->kind; |
| 1854 |
} |
| 1855 |
public function setId($id) { |
| 1856 |
$this->id = $id; |
| 1857 |
} |
| 1858 |
public function getId() { |
| 1859 |
return $this->id; |
| 1860 |
} |
| 1861 |
public function setSelfLink($selfLink) { |
| 1862 |
$this->selfLink = $selfLink; |
| 1863 |
} |
| 1864 |
public function getSelfLink() { |
| 1865 |
return $this->selfLink; |
| 1866 |
} |
| 1867 |
} |
| 1868 |
|
| 1869 |
class Google_Metadata extends Google_Model { |
| 1870 |
protected $__itemsType = 'Google_MetadataItems'; |
| 1871 |
protected $__itemsDataType = 'array'; |
| 1872 |
public $items; |
| 1873 |
public $kind; |
| 1874 |
public function setItems(/* array(Google_MetadataItems) */ $items) { |
| 1875 |
$this->assertIsArray($items, 'Google_MetadataItems', __METHOD__); |
| 1876 |
$this->items = $items; |
| 1877 |
} |
| 1878 |
public function getItems() { |
| 1879 |
return $this->items; |
| 1880 |
} |
| 1881 |
public function setKind($kind) { |
| 1882 |
$this->kind = $kind; |
| 1883 |
} |
| 1884 |
public function getKind() { |
| 1885 |
return $this->kind; |
| 1886 |
} |
| 1887 |
} |
| 1888 |
|
| 1889 |
class Google_MetadataItems extends Google_Model { |
| 1890 |
public $value; |
| 1891 |
public $key; |
| 1892 |
public function setValue($value) { |
| 1893 |
$this->value = $value; |
| 1894 |
} |
| 1895 |
public function getValue() { |
| 1896 |
return $this->value; |
| 1897 |
} |
| 1898 |
public function setKey($key) { |
| 1899 |
$this->key = $key; |
| 1900 |
} |
| 1901 |
public function getKey() { |
| 1902 |
return $this->key; |
| 1903 |
} |
| 1904 |
} |
| 1905 |
|
| 1906 |
class Google_Network extends Google_Model { |
| 1907 |
public $kind; |
| 1908 |
public $description; |
| 1909 |
public $IPv4Range; |
| 1910 |
public $gatewayIPv4; |
| 1911 |
public $creationTimestamp; |
| 1912 |
public $id; |
| 1913 |
public $selfLink; |
| 1914 |
public $name; |
| 1915 |
public function setKind($kind) { |
| 1916 |
$this->kind = $kind; |
| 1917 |
} |
| 1918 |
public function getKind() { |
| 1919 |
return $this->kind; |
| 1920 |
} |
| 1921 |
public function setDescription($description) { |
| 1922 |
$this->description = $description; |
| 1923 |
} |
| 1924 |
public function getDescription() { |
| 1925 |
return $this->description; |
| 1926 |
} |
| 1927 |
public function setIPv4Range($IPv4Range) { |
| 1928 |
$this->IPv4Range = $IPv4Range; |
| 1929 |
} |
| 1930 |
public function getIPv4Range() { |
| 1931 |
return $this->IPv4Range; |
| 1932 |
} |
| 1933 |
public function setGatewayIPv4($gatewayIPv4) { |
| 1934 |
$this->gatewayIPv4 = $gatewayIPv4; |
| 1935 |
} |
| 1936 |
public function getGatewayIPv4() { |
| 1937 |
return $this->gatewayIPv4; |
| 1938 |
} |
| 1939 |
public function setCreationTimestamp($creationTimestamp) { |
| 1940 |
$this->creationTimestamp = $creationTimestamp; |
| 1941 |
} |
| 1942 |
public function getCreationTimestamp() { |
| 1943 |
return $this->creationTimestamp; |
| 1944 |
} |
| 1945 |
public function setId($id) { |
| 1946 |
$this->id = $id; |
| 1947 |
} |
| 1948 |
public function getId() { |
| 1949 |
return $this->id; |
| 1950 |
} |
| 1951 |
public function setSelfLink($selfLink) { |
| 1952 |
$this->selfLink = $selfLink; |
| 1953 |
} |
| 1954 |
public function getSelfLink() { |
| 1955 |
return $this->selfLink; |
| 1956 |
} |
| 1957 |
public function setName($name) { |
| 1958 |
$this->name = $name; |
| 1959 |
} |
| 1960 |
public function getName() { |
| 1961 |
return $this->name; |
| 1962 |
} |
| 1963 |
} |
| 1964 |
|
| 1965 |
class Google_NetworkInterface extends Google_Model { |
| 1966 |
public $network; |
| 1967 |
protected $__accessConfigsType = 'Google_AccessConfig'; |
| 1968 |
protected $__accessConfigsDataType = 'array'; |
| 1969 |
public $accessConfigs; |
| 1970 |
public $networkIP; |
| 1971 |
public $kind; |
| 1972 |
public $name; |
| 1973 |
public function setNetwork($network) { |
| 1974 |
$this->network = $network; |
| 1975 |
} |
| 1976 |
public function getNetwork() { |
| 1977 |
return $this->network; |
| 1978 |
} |
| 1979 |
public function setAccessConfigs(/* array(Google_AccessConfig) */ $accessConfigs) { |
| 1980 |
$this->assertIsArray($accessConfigs, 'Google_AccessConfig', __METHOD__); |
| 1981 |
$this->accessConfigs = $accessConfigs; |
| 1982 |
} |
| 1983 |
public function getAccessConfigs() { |
| 1984 |
return $this->accessConfigs; |
| 1985 |
} |
| 1986 |
public function setNetworkIP($networkIP) { |
| 1987 |
$this->networkIP = $networkIP; |
| 1988 |
} |
| 1989 |
public function getNetworkIP() { |
| 1990 |
return $this->networkIP; |
| 1991 |
} |
| 1992 |
public function setKind($kind) { |
| 1993 |
$this->kind = $kind; |
| 1994 |
} |
| 1995 |
public function getKind() { |
| 1996 |
return $this->kind; |
| 1997 |
} |
| 1998 |
public function setName($name) { |
| 1999 |
$this->name = $name; |
| 2000 |
} |
| 2001 |
public function getName() { |
| 2002 |
return $this->name; |
| 2003 |
} |
| 2004 |
} |
| 2005 |
|
| 2006 |
class Google_NetworkList extends Google_Model { |
| 2007 |
public $nextPageToken; |
| 2008 |
protected $__itemsType = 'Google_Network'; |
| 2009 |
protected $__itemsDataType = 'array'; |
| 2010 |
public $items; |
| 2011 |
public $kind; |
| 2012 |
public $id; |
| 2013 |
public $selfLink; |
| 2014 |
public function setNextPageToken($nextPageToken) { |
| 2015 |
$this->nextPageToken = $nextPageToken; |
| 2016 |
} |
| 2017 |
public function getNextPageToken() { |
| 2018 |
return $this->nextPageToken; |
| 2019 |
} |
| 2020 |
public function setItems(/* array(Google_Network) */ $items) { |
| 2021 |
$this->assertIsArray($items, 'Google_Network', __METHOD__); |
| 2022 |
$this->items = $items; |
| 2023 |
} |
| 2024 |
public function getItems() { |
| 2025 |
return $this->items; |
| 2026 |
} |
| 2027 |
public function setKind($kind) { |
| 2028 |
$this->kind = $kind; |
| 2029 |
} |
| 2030 |
public function getKind() { |
| 2031 |
return $this->kind; |
| 2032 |
} |
| 2033 |
public function setId($id) { |
| 2034 |
$this->id = $id; |
| 2035 |
} |
| 2036 |
public function getId() { |
| 2037 |
return $this->id; |
| 2038 |
} |
| 2039 |
public function setSelfLink($selfLink) { |
| 2040 |
$this->selfLink = $selfLink; |
| 2041 |
} |
| 2042 |
public function getSelfLink() { |
| 2043 |
return $this->selfLink; |
| 2044 |
} |
| 2045 |
} |
| 2046 |
|
| 2047 |
class Google_Operation extends Google_Model { |
| 2048 |
public $status; |
| 2049 |
public $kind; |
| 2050 |
public $name; |
| 2051 |
public $startTime; |
| 2052 |
public $httpErrorStatusCode; |
| 2053 |
public $user; |
| 2054 |
protected $__errorType = 'Google_OperationError'; |
| 2055 |
protected $__errorDataType = ''; |
| 2056 |
public $error; |
| 2057 |
public $targetId; |
| 2058 |
public $operationType; |
| 2059 |
public $statusMessage; |
| 2060 |
public $insertTime; |
| 2061 |
public $httpErrorMessage; |
| 2062 |
public $progress; |
| 2063 |
public $clientOperationId; |
| 2064 |
public $endTime; |
| 2065 |
public $creationTimestamp; |
| 2066 |
public $id; |
| 2067 |
public $selfLink; |
| 2068 |
public $targetLink; |
| 2069 |
public function setStatus($status) { |
| 2070 |
$this->status = $status; |
| 2071 |
} |
| 2072 |
public function getStatus() { |
| 2073 |
return $this->status; |
| 2074 |
} |
| 2075 |
public function setKind($kind) { |
| 2076 |
$this->kind = $kind; |
| 2077 |
} |
| 2078 |
public function getKind() { |
| 2079 |
return $this->kind; |
| 2080 |
} |
| 2081 |
public function setName($name) { |
| 2082 |
$this->name = $name; |
| 2083 |
} |
| 2084 |
public function getName() { |
| 2085 |
return $this->name; |
| 2086 |
} |
| 2087 |
public function setStartTime($startTime) { |
| 2088 |
$this->startTime = $startTime; |
| 2089 |
} |
| 2090 |
public function getStartTime() { |
| 2091 |
return $this->startTime; |
| 2092 |
} |
| 2093 |
public function setHttpErrorStatusCode($httpErrorStatusCode) { |
| 2094 |
$this->httpErrorStatusCode = $httpErrorStatusCode; |
| 2095 |
} |
| 2096 |
public function getHttpErrorStatusCode() { |
| 2097 |
return $this->httpErrorStatusCode; |
| 2098 |
} |
| 2099 |
public function setUser($user) { |
| 2100 |
$this->user = $user; |
| 2101 |
} |
| 2102 |
public function getUser() { |
| 2103 |
return $this->user; |
| 2104 |
} |
| 2105 |
public function setError(Google_OperationError $error) { |
| 2106 |
$this->error = $error; |
| 2107 |
} |
| 2108 |
public function getError() { |
| 2109 |
return $this->error; |
| 2110 |
} |
| 2111 |
public function setTargetId($targetId) { |
| 2112 |
$this->targetId = $targetId; |
| 2113 |
} |
| 2114 |
public function getTargetId() { |
| 2115 |
return $this->targetId; |
| 2116 |
} |
| 2117 |
public function setOperationType($operationType) { |
| 2118 |
$this->operationType = $operationType; |
| 2119 |
} |
| 2120 |
public function getOperationType() { |
| 2121 |
return $this->operationType; |
| 2122 |
} |
| 2123 |
public function setStatusMessage($statusMessage) { |
| 2124 |
$this->statusMessage = $statusMessage; |
| 2125 |
} |
| 2126 |
public function getStatusMessage() { |
| 2127 |
return $this->statusMessage; |
| 2128 |
} |
| 2129 |
public function setInsertTime($insertTime) { |
| 2130 |
$this->insertTime = $insertTime; |
| 2131 |
} |
| 2132 |
public function getInsertTime() { |
| 2133 |
return $this->insertTime; |
| 2134 |
} |
| 2135 |
public function setHttpErrorMessage($httpErrorMessage) { |
| 2136 |
$this->httpErrorMessage = $httpErrorMessage; |
| 2137 |
} |
| 2138 |
public function getHttpErrorMessage() { |
| 2139 |
return $this->httpErrorMessage; |
| 2140 |
} |
| 2141 |
public function setProgress($progress) { |
| 2142 |
$this->progress = $progress; |
| 2143 |
} |
| 2144 |
public function getProgress() { |
| 2145 |
return $this->progress; |
| 2146 |
} |
| 2147 |
public function setClientOperationId($clientOperationId) { |
| 2148 |
$this->clientOperationId = $clientOperationId; |
| 2149 |
} |
| 2150 |
public function getClientOperationId() { |
| 2151 |
return $this->clientOperationId; |
| 2152 |
} |
| 2153 |
public function setEndTime($endTime) { |
| 2154 |
$this->endTime = $endTime; |
| 2155 |
} |
| 2156 |
public function getEndTime() { |
| 2157 |
return $this->endTime; |
| 2158 |
} |
| 2159 |
public function setCreationTimestamp($creationTimestamp) { |
| 2160 |
$this->creationTimestamp = $creationTimestamp; |
| 2161 |
} |
| 2162 |
public function getCreationTimestamp() { |
| 2163 |
return $this->creationTimestamp; |
| 2164 |
} |
| 2165 |
public function setId($id) { |
| 2166 |
$this->id = $id; |
| 2167 |
} |
| 2168 |
public function getId() { |
| 2169 |
return $this->id; |
| 2170 |
} |
| 2171 |
public function setSelfLink($selfLink) { |
| 2172 |
$this->selfLink = $selfLink; |
| 2173 |
} |
| 2174 |
public function getSelfLink() { |
| 2175 |
return $this->selfLink; |
| 2176 |
} |
| 2177 |
public function setTargetLink($targetLink) { |
| 2178 |
$this->targetLink = $targetLink; |
| 2179 |
} |
| 2180 |
public function getTargetLink() { |
| 2181 |
return $this->targetLink; |
| 2182 |
} |
| 2183 |
} |
| 2184 |
|
| 2185 |
class Google_OperationError extends Google_Model { |
| 2186 |
protected $__errorsType = 'Google_OperationErrorErrors'; |
| 2187 |
protected $__errorsDataType = 'array'; |
| 2188 |
public $errors; |
| 2189 |
public function setErrors(/* array(Google_OperationErrorErrors) */ $errors) { |
| 2190 |
$this->assertIsArray($errors, 'Google_OperationErrorErrors', __METHOD__); |
| 2191 |
$this->errors = $errors; |
| 2192 |
} |
| 2193 |
public function getErrors() { |
| 2194 |
return $this->errors; |
| 2195 |
} |
| 2196 |
} |
| 2197 |
|
| 2198 |
class Google_OperationErrorErrors extends Google_Model { |
| 2199 |
public $message; |
| 2200 |
public $code; |
| 2201 |
public $location; |
| 2202 |
public function setMessage($message) { |
| 2203 |
$this->message = $message; |
| 2204 |
} |
| 2205 |
public function getMessage() { |
| 2206 |
return $this->message; |
| 2207 |
} |
| 2208 |
public function setCode($code) { |
| 2209 |
$this->code = $code; |
| 2210 |
} |
| 2211 |
public function getCode() { |
| 2212 |
return $this->code; |
| 2213 |
} |
| 2214 |
public function setLocation($location) { |
| 2215 |
$this->location = $location; |
| 2216 |
} |
| 2217 |
public function getLocation() { |
| 2218 |
return $this->location; |
| 2219 |
} |
| 2220 |
} |
| 2221 |
|
| 2222 |
class Google_OperationList extends Google_Model { |
| 2223 |
public $nextPageToken; |
| 2224 |
protected $__itemsType = 'Google_Operation'; |
| 2225 |
protected $__itemsDataType = 'array'; |
| 2226 |
public $items; |
| 2227 |
public $kind; |
| 2228 |
public $id; |
| 2229 |
public $selfLink; |
| 2230 |
public function setNextPageToken($nextPageToken) { |
| 2231 |
$this->nextPageToken = $nextPageToken; |
| 2232 |
} |
| 2233 |
public function getNextPageToken() { |
| 2234 |
return $this->nextPageToken; |
| 2235 |
} |
| 2236 |
public function setItems(/* array(Google_Operation) */ $items) { |
| 2237 |
$this->assertIsArray($items, 'Google_Operation', __METHOD__); |
| 2238 |
$this->items = $items; |
| 2239 |
} |
| 2240 |
public function getItems() { |
| 2241 |
return $this->items; |
| 2242 |
} |
| 2243 |
public function setKind($kind) { |
| 2244 |
$this->kind = $kind; |
| 2245 |
} |
| 2246 |
public function getKind() { |
| 2247 |
return $this->kind; |
| 2248 |
} |
| 2249 |
public function setId($id) { |
| 2250 |
$this->id = $id; |
| 2251 |
} |
| 2252 |
public function getId() { |
| 2253 |
return $this->id; |
| 2254 |
} |
| 2255 |
public function setSelfLink($selfLink) { |
| 2256 |
$this->selfLink = $selfLink; |
| 2257 |
} |
| 2258 |
public function getSelfLink() { |
| 2259 |
return $this->selfLink; |
| 2260 |
} |
| 2261 |
} |
| 2262 |
|
| 2263 |
class Google_Project extends Google_Model { |
| 2264 |
public $kind; |
| 2265 |
public $description; |
| 2266 |
protected $__commonInstanceMetadataType = 'Google_Metadata'; |
| 2267 |
protected $__commonInstanceMetadataDataType = ''; |
| 2268 |
public $commonInstanceMetadata; |
| 2269 |
public $externalIpAddresses; |
| 2270 |
protected $__quotasType = 'Google_ProjectQuotas'; |
| 2271 |
protected $__quotasDataType = 'array'; |
| 2272 |
public $quotas; |
| 2273 |
public $creationTimestamp; |
| 2274 |
public $id; |
| 2275 |
public $selfLink; |
| 2276 |
public $name; |
| 2277 |
public function setKind($kind) { |
| 2278 |
$this->kind = $kind; |
| 2279 |
} |
| 2280 |
public function getKind() { |
| 2281 |
return $this->kind; |
| 2282 |
} |
| 2283 |
public function setDescription($description) { |
| 2284 |
$this->description = $description; |
| 2285 |
} |
| 2286 |
public function getDescription() { |
| 2287 |
return $this->description; |
| 2288 |
} |
| 2289 |
public function setCommonInstanceMetadata(Google_Metadata $commonInstanceMetadata) { |
| 2290 |
$this->commonInstanceMetadata = $commonInstanceMetadata; |
| 2291 |
} |
| 2292 |
public function getCommonInstanceMetadata() { |
| 2293 |
return $this->commonInstanceMetadata; |
| 2294 |
} |
| 2295 |
public function setExternalIpAddresses(/* array(Google_string) */ $externalIpAddresses) { |
| 2296 |
$this->assertIsArray($externalIpAddresses, 'Google_string', __METHOD__); |
| 2297 |
$this->externalIpAddresses = $externalIpAddresses; |
| 2298 |
} |
| 2299 |
public function getExternalIpAddresses() { |
| 2300 |
return $this->externalIpAddresses; |
| 2301 |
} |
| 2302 |
public function setQuotas(/* array(Google_ProjectQuotas) */ $quotas) { |
| 2303 |
$this->assertIsArray($quotas, 'Google_ProjectQuotas', __METHOD__); |
| 2304 |
$this->quotas = $quotas; |
| 2305 |
} |
| 2306 |
public function getQuotas() { |
| 2307 |
return $this->quotas; |
| 2308 |
} |
| 2309 |
public function setCreationTimestamp($creationTimestamp) { |
| 2310 |
$this->creationTimestamp = $creationTimestamp; |
| 2311 |
} |
| 2312 |
public function getCreationTimestamp() { |
| 2313 |
return $this->creationTimestamp; |
| 2314 |
} |
| 2315 |
public function setId($id) { |
| 2316 |
$this->id = $id; |
| 2317 |
} |
| 2318 |
public function getId() { |
| 2319 |
return $this->id; |
| 2320 |
} |
| 2321 |
public function setSelfLink($selfLink) { |
| 2322 |
$this->selfLink = $selfLink; |
| 2323 |
} |
| 2324 |
public function getSelfLink() { |
| 2325 |
return $this->selfLink; |
| 2326 |
} |
| 2327 |
public function setName($name) { |
| 2328 |
$this->name = $name; |
| 2329 |
} |
| 2330 |
public function getName() { |
| 2331 |
return $this->name; |
| 2332 |
} |
| 2333 |
} |
| 2334 |
|
| 2335 |
class Google_ProjectQuotas extends Google_Model { |
| 2336 |
public $usage; |
| 2337 |
public $metric; |
| 2338 |
public $limit; |
| 2339 |
public function setUsage($usage) { |
| 2340 |
$this->usage = $usage; |
| 2341 |
} |
| 2342 |
public function getUsage() { |
| 2343 |
return $this->usage; |
| 2344 |
} |
| 2345 |
public function setMetric($metric) { |
| 2346 |
$this->metric = $metric; |
| 2347 |
} |
| 2348 |
public function getMetric() { |
| 2349 |
return $this->metric; |
| 2350 |
} |
| 2351 |
public function setLimit($limit) { |
| 2352 |
$this->limit = $limit; |
| 2353 |
} |
| 2354 |
public function getLimit() { |
| 2355 |
return $this->limit; |
| 2356 |
} |
| 2357 |
} |
| 2358 |
|
| 2359 |
class Google_ServiceAccount extends Google_Model { |
| 2360 |
public $scopes; |
| 2361 |
public $kind; |
| 2362 |
public $email; |
| 2363 |
public function setScopes(/* array(Google_string) */ $scopes) { |
| 2364 |
$this->assertIsArray($scopes, 'Google_string', __METHOD__); |
| 2365 |
$this->scopes = $scopes; |
| 2366 |
} |
| 2367 |
public function getScopes() { |
| 2368 |
return $this->scopes; |
| 2369 |
} |
| 2370 |
public function setKind($kind) { |
| 2371 |
$this->kind = $kind; |
| 2372 |
} |
| 2373 |
public function getKind() { |
| 2374 |
return $this->kind; |
| 2375 |
} |
| 2376 |
public function setEmail($email) { |
| 2377 |
$this->email = $email; |
| 2378 |
} |
| 2379 |
public function getEmail() { |
| 2380 |
return $this->email; |
| 2381 |
} |
| 2382 |
} |
| 2383 |
|
| 2384 |
class Google_Snapshot extends Google_Model { |
| 2385 |
public $status; |
| 2386 |
public $kind; |
| 2387 |
public $description; |
| 2388 |
public $sourceDisk; |
| 2389 |
public $sourceDiskId; |
| 2390 |
public $diskSizeGb; |
| 2391 |
public $creationTimestamp; |
| 2392 |
public $id; |
| 2393 |
public $selfLink; |
| 2394 |
public $name; |
| 2395 |
public function setStatus($status) { |
| 2396 |
$this->status = $status; |
| 2397 |
} |
| 2398 |
public function getStatus() { |
| 2399 |
return $this->status; |
| 2400 |
} |
| 2401 |
public function setKind($kind) { |
| 2402 |
$this->kind = $kind; |
| 2403 |
} |
| 2404 |
public function getKind() { |
| 2405 |
return $this->kind; |
| 2406 |
} |
| 2407 |
public function setDescription($description) { |
| 2408 |
$this->description = $description; |
| 2409 |
} |
| 2410 |
public function getDescription() { |
| 2411 |
return $this->description; |
| 2412 |
} |
| 2413 |
public function setSourceDisk($sourceDisk) { |
| 2414 |
$this->sourceDisk = $sourceDisk; |
| 2415 |
} |
| 2416 |
public function getSourceDisk() { |
| 2417 |
return $this->sourceDisk; |
| 2418 |
} |
| 2419 |
public function setSourceDiskId($sourceDiskId) { |
| 2420 |
$this->sourceDiskId = $sourceDiskId; |
| 2421 |
} |
| 2422 |
public function getSourceDiskId() { |
| 2423 |
return $this->sourceDiskId; |
| 2424 |
} |
| 2425 |
public function setDiskSizeGb($diskSizeGb) { |
| 2426 |
$this->diskSizeGb = $diskSizeGb; |
| 2427 |
} |
| 2428 |
public function getDiskSizeGb() { |
| 2429 |
return $this->diskSizeGb; |
| 2430 |
} |
| 2431 |
public function setCreationTimestamp($creationTimestamp) { |
| 2432 |
$this->creationTimestamp = $creationTimestamp; |
| 2433 |
} |
| 2434 |
public function getCreationTimestamp() { |
| 2435 |
return $this->creationTimestamp; |
| 2436 |
} |
| 2437 |
public function setId($id) { |
| 2438 |
$this->id = $id; |
| 2439 |
} |
| 2440 |
public function getId() { |
| 2441 |
return $this->id; |
| 2442 |
} |
| 2443 |
public function setSelfLink($selfLink) { |
| 2444 |
$this->selfLink = $selfLink; |
| 2445 |
} |
| 2446 |
public function getSelfLink() { |
| 2447 |
return $this->selfLink; |
| 2448 |
} |
| 2449 |
public function setName($name) { |
| 2450 |
$this->name = $name; |
| 2451 |
} |
| 2452 |
public function getName() { |
| 2453 |
return $this->name; |
| 2454 |
} |
| 2455 |
} |
| 2456 |
|
| 2457 |
class Google_SnapshotList extends Google_Model { |
| 2458 |
public $nextPageToken; |
| 2459 |
protected $__itemsType = 'Google_Snapshot'; |
| 2460 |
protected $__itemsDataType = 'array'; |
| 2461 |
public $items; |
| 2462 |
public $kind; |
| 2463 |
public $id; |
| 2464 |
public $selfLink; |
| 2465 |
public function setNextPageToken($nextPageToken) { |
| 2466 |
$this->nextPageToken = $nextPageToken; |
| 2467 |
} |
| 2468 |
public function getNextPageToken() { |
| 2469 |
return $this->nextPageToken; |
| 2470 |
} |
| 2471 |
public function setItems(/* array(Google_Snapshot) */ $items) { |
| 2472 |
$this->assertIsArray($items, 'Google_Snapshot', __METHOD__); |
| 2473 |
$this->items = $items; |
| 2474 |
} |
| 2475 |
public function getItems() { |
| 2476 |
return $this->items; |
| 2477 |
} |
| 2478 |
public function setKind($kind) { |
| 2479 |
$this->kind = $kind; |
| 2480 |
} |
| 2481 |
public function getKind() { |
| 2482 |
return $this->kind; |
| 2483 |
} |
| 2484 |
public function setId($id) { |
| 2485 |
$this->id = $id; |
| 2486 |
} |
| 2487 |
public function getId() { |
| 2488 |
return $this->id; |
| 2489 |
} |
| 2490 |
public function setSelfLink($selfLink) { |
| 2491 |
$this->selfLink = $selfLink; |
| 2492 |
} |
| 2493 |
public function getSelfLink() { |
| 2494 |
return $this->selfLink; |
| 2495 |
} |
| 2496 |
} |
| 2497 |
|
| 2498 |
class Google_Zone extends Google_Model { |
| 2499 |
public $status; |
| 2500 |
public $kind; |
| 2501 |
public $availableMachineType; |
| 2502 |
public $description; |
| 2503 |
protected $__maintenanceWindowsType = 'Google_ZoneMaintenanceWindows'; |
| 2504 |
protected $__maintenanceWindowsDataType = 'array'; |
| 2505 |
public $maintenanceWindows; |
| 2506 |
public $creationTimestamp; |
| 2507 |
public $id; |
| 2508 |
public $selfLink; |
| 2509 |
public $name; |
| 2510 |
public function setStatus($status) { |
| 2511 |
$this->status = $status; |
| 2512 |
} |
| 2513 |
public function getStatus() { |
| 2514 |
return $this->status; |
| 2515 |
} |
| 2516 |
public function setKind($kind) { |
| 2517 |
$this->kind = $kind; |
| 2518 |
} |
| 2519 |
public function getKind() { |
| 2520 |
return $this->kind; |
| 2521 |
} |
| 2522 |
public function setAvailableMachineType(/* array(Google_object) */ $availableMachineType) { |
| 2523 |
$this->assertIsArray($availableMachineType, 'Google_object', __METHOD__); |
| 2524 |
$this->availableMachineType = $availableMachineType; |
| 2525 |
} |
| 2526 |
public function getAvailableMachineType() { |
| 2527 |
return $this->availableMachineType; |
| 2528 |
} |
| 2529 |
public function setDescription($description) { |
| 2530 |
$this->description = $description; |
| 2531 |
} |
| 2532 |
public function getDescription() { |
| 2533 |
return $this->description; |
| 2534 |
} |
| 2535 |
public function setMaintenanceWindows(/* array(Google_ZoneMaintenanceWindows) */ $maintenanceWindows) { |
| 2536 |
$this->assertIsArray($maintenanceWindows, 'Google_ZoneMaintenanceWindows', __METHOD__); |
| 2537 |
$this->maintenanceWindows = $maintenanceWindows; |
| 2538 |
} |
| 2539 |
public function getMaintenanceWindows() { |
| 2540 |
return $this->maintenanceWindows; |
| 2541 |
} |
| 2542 |
public function setCreationTimestamp($creationTimestamp) { |
| 2543 |
$this->creationTimestamp = $creationTimestamp; |
| 2544 |
} |
| 2545 |
public function getCreationTimestamp() { |
| 2546 |
return $this->creationTimestamp; |
| 2547 |
} |
| 2548 |
public function setId($id) { |
| 2549 |
$this->id = $id; |
| 2550 |
} |
| 2551 |
public function getId() { |
| 2552 |
return $this->id; |
| 2553 |
} |
| 2554 |
public function setSelfLink($selfLink) { |
| 2555 |
$this->selfLink = $selfLink; |
| 2556 |
} |
| 2557 |
public function getSelfLink() { |
| 2558 |
return $this->selfLink; |
| 2559 |
} |
| 2560 |
public function setName($name) { |
| 2561 |
$this->name = $name; |
| 2562 |
} |
| 2563 |
public function getName() { |
| 2564 |
return $this->name; |
| 2565 |
} |
| 2566 |
} |
| 2567 |
|
| 2568 |
class Google_ZoneList extends Google_Model { |
| 2569 |
public $nextPageToken; |
| 2570 |
protected $__itemsType = 'Google_Zone'; |
| 2571 |
protected $__itemsDataType = 'array'; |
| 2572 |
public $items; |
| 2573 |
public $kind; |
| 2574 |
public $id; |
| 2575 |
public $selfLink; |
| 2576 |
public function setNextPageToken($nextPageToken) { |
| 2577 |
$this->nextPageToken = $nextPageToken; |
| 2578 |
} |
| 2579 |
public function getNextPageToken() { |
| 2580 |
return $this->nextPageToken; |
| 2581 |
} |
| 2582 |
public function setItems(/* array(Google_Zone) */ $items) { |
| 2583 |
$this->assertIsArray($items, 'Google_Zone', __METHOD__); |
| 2584 |
$this->items = $items; |
| 2585 |
} |
| 2586 |
public function getItems() { |
| 2587 |
return $this->items; |
| 2588 |
} |
| 2589 |
public function setKind($kind) { |
| 2590 |
$this->kind = $kind; |
| 2591 |
} |
| 2592 |
public function getKind() { |
| 2593 |
return $this->kind; |
| 2594 |
} |
| 2595 |
public function setId($id) { |
| 2596 |
$this->id = $id; |
| 2597 |
} |
| 2598 |
public function getId() { |
| 2599 |
return $this->id; |
| 2600 |
} |
| 2601 |
public function setSelfLink($selfLink) { |
| 2602 |
$this->selfLink = $selfLink; |
| 2603 |
} |
| 2604 |
public function getSelfLink() { |
| 2605 |
return $this->selfLink; |
| 2606 |
} |
| 2607 |
} |
| 2608 |
|
| 2609 |
class Google_ZoneMaintenanceWindows extends Google_Model { |
| 2610 |
public $endTime; |
| 2611 |
public $beginTime; |
| 2612 |
public $name; |
| 2613 |
public $description; |
| 2614 |
public function setEndTime($endTime) { |
| 2615 |
$this->endTime = $endTime; |
| 2616 |
} |
| 2617 |
public function getEndTime() { |
| 2618 |
return $this->endTime; |
| 2619 |
} |
| 2620 |
public function setBeginTime($beginTime) { |
| 2621 |
$this->beginTime = $beginTime; |
| 2622 |
} |
| 2623 |
public function getBeginTime() { |
| 2624 |
return $this->beginTime; |
| 2625 |
} |
| 2626 |
public function setName($name) { |
| 2627 |
$this->name = $name; |
| 2628 |
} |
| 2629 |
public function getName() { |
| 2630 |
return $this->name; |
| 2631 |
} |
| 2632 |
public function setDescription($description) { |
| 2633 |
$this->description = $description; |
| 2634 |
} |
| 2635 |
public function getDescription() { |
| 2636 |
return $this->description; |
| 2637 |
} |
| 2638 |
} |
| 2639 |
|