| 1 |
<?php |
| 2 |
/* |
| 3 |
* Copyright 2010 Google Inc. |
| 4 |
* |
| 5 |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 6 |
* use this file except in compliance with the License. You may obtain a copy of |
| 7 |
* the License at |
| 8 |
* |
| 9 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 10 |
* |
| 11 |
* Unless required by applicable law or agreed to in writing, software |
| 12 |
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 13 |
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 14 |
* License for the specific language governing permissions and limitations under |
| 15 |
* the License. |
| 16 |
*/ |
| 17 |
|
| 18 |
/** |
| 19 |
* Service definition for Replicapool (v1beta1). |
| 20 |
* |
| 21 |
* <p> |
| 22 |
* The Replica Pool API allows users to declaratively provision and manage groups of Google Compute Engine instances based on a common template. |
| 23 |
* </p> |
| 24 |
* |
| 25 |
* <p> |
| 26 |
* For more information about this service, see the API |
| 27 |
* <a href="https://developers.google.com/compute/docs/replica-pool/" target="_blank">Documentation</a> |
| 28 |
* </p> |
| 29 |
* |
| 30 |
* @author Google, Inc. |
| 31 |
*/ |
| 32 |
class Analytify_Google_Service_Replicapool extends Analytify_Google_Service |
| 33 |
{ |
| 34 |
/** View and manage your data across Google Cloud Platform services. */ |
| 35 |
const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; |
| 36 |
/** View and manage your Google Cloud Platform management resources and deployment status information. */ |
| 37 |
const NDEV_CLOUDMAN = "https://www.googleapis.com/auth/ndev.cloudman"; |
| 38 |
/** View your Google Cloud Platform management resources and deployment status information. */ |
| 39 |
const NDEV_CLOUDMAN_READONLY = "https://www.googleapis.com/auth/ndev.cloudman.readonly"; |
| 40 |
/** View and manage replica pools. */ |
| 41 |
const REPLICAPOOL = "https://www.googleapis.com/auth/replicapool"; |
| 42 |
/** View replica pools. */ |
| 43 |
const REPLICAPOOL_READONLY = "https://www.googleapis.com/auth/replicapool.readonly"; |
| 44 |
|
| 45 |
public $pools; |
| 46 |
public $replicas; |
| 47 |
|
| 48 |
|
| 49 |
/** |
| 50 |
* Constructs the internal representation of the Replicapool service. |
| 51 |
* |
| 52 |
* @param Analytify_Google_Client $client |
| 53 |
*/ |
| 54 |
public function __construct(Analytify_Google_Client $client) |
| 55 |
{ |
| 56 |
parent::__construct($client); |
| 57 |
$this->servicePath = 'replicapool/v1beta1/projects/'; |
| 58 |
$this->version = 'v1beta1'; |
| 59 |
$this->serviceName = 'replicapool'; |
| 60 |
|
| 61 |
$this->pools = new Analytify_Google_Service_Replicapool_Pools_Resource( |
| 62 |
$this, |
| 63 |
$this->serviceName, |
| 64 |
'pools', |
| 65 |
array( |
| 66 |
'methods' => array( |
| 67 |
'delete' => array( |
| 68 |
'path' => '{projectName}/zones/{zone}/pools/{poolName}', |
| 69 |
'httpMethod' => 'POST', |
| 70 |
'parameters' => array( |
| 71 |
'projectName' => array( |
| 72 |
'location' => 'path', |
| 73 |
'type' => 'string', |
| 74 |
'required' => true, |
| 75 |
), |
| 76 |
'zone' => array( |
| 77 |
'location' => 'path', |
| 78 |
'type' => 'string', |
| 79 |
'required' => true, |
| 80 |
), |
| 81 |
'poolName' => array( |
| 82 |
'location' => 'path', |
| 83 |
'type' => 'string', |
| 84 |
'required' => true, |
| 85 |
), |
| 86 |
), |
| 87 |
),'get' => array( |
| 88 |
'path' => '{projectName}/zones/{zone}/pools/{poolName}', |
| 89 |
'httpMethod' => 'GET', |
| 90 |
'parameters' => array( |
| 91 |
'projectName' => array( |
| 92 |
'location' => 'path', |
| 93 |
'type' => 'string', |
| 94 |
'required' => true, |
| 95 |
), |
| 96 |
'zone' => array( |
| 97 |
'location' => 'path', |
| 98 |
'type' => 'string', |
| 99 |
'required' => true, |
| 100 |
), |
| 101 |
'poolName' => array( |
| 102 |
'location' => 'path', |
| 103 |
'type' => 'string', |
| 104 |
'required' => true, |
| 105 |
), |
| 106 |
), |
| 107 |
),'insert' => array( |
| 108 |
'path' => '{projectName}/zones/{zone}/pools', |
| 109 |
'httpMethod' => 'POST', |
| 110 |
'parameters' => array( |
| 111 |
'projectName' => array( |
| 112 |
'location' => 'path', |
| 113 |
'type' => 'string', |
| 114 |
'required' => true, |
| 115 |
), |
| 116 |
'zone' => array( |
| 117 |
'location' => 'path', |
| 118 |
'type' => 'string', |
| 119 |
'required' => true, |
| 120 |
), |
| 121 |
), |
| 122 |
),'list' => array( |
| 123 |
'path' => '{projectName}/zones/{zone}/pools', |
| 124 |
'httpMethod' => 'GET', |
| 125 |
'parameters' => array( |
| 126 |
'projectName' => array( |
| 127 |
'location' => 'path', |
| 128 |
'type' => 'string', |
| 129 |
'required' => true, |
| 130 |
), |
| 131 |
'zone' => array( |
| 132 |
'location' => 'path', |
| 133 |
'type' => 'string', |
| 134 |
'required' => true, |
| 135 |
), |
| 136 |
'pageToken' => array( |
| 137 |
'location' => 'query', |
| 138 |
'type' => 'string', |
| 139 |
), |
| 140 |
'maxResults' => array( |
| 141 |
'location' => 'query', |
| 142 |
'type' => 'integer', |
| 143 |
), |
| 144 |
), |
| 145 |
),'resize' => array( |
| 146 |
'path' => '{projectName}/zones/{zone}/pools/{poolName}/resize', |
| 147 |
'httpMethod' => 'POST', |
| 148 |
'parameters' => array( |
| 149 |
'projectName' => array( |
| 150 |
'location' => 'path', |
| 151 |
'type' => 'string', |
| 152 |
'required' => true, |
| 153 |
), |
| 154 |
'zone' => array( |
| 155 |
'location' => 'path', |
| 156 |
'type' => 'string', |
| 157 |
'required' => true, |
| 158 |
), |
| 159 |
'poolName' => array( |
| 160 |
'location' => 'path', |
| 161 |
'type' => 'string', |
| 162 |
'required' => true, |
| 163 |
), |
| 164 |
'numReplicas' => array( |
| 165 |
'location' => 'query', |
| 166 |
'type' => 'integer', |
| 167 |
), |
| 168 |
), |
| 169 |
),'updatetemplate' => array( |
| 170 |
'path' => '{projectName}/zones/{zone}/pools/{poolName}/updateTemplate', |
| 171 |
'httpMethod' => 'POST', |
| 172 |
'parameters' => array( |
| 173 |
'projectName' => array( |
| 174 |
'location' => 'path', |
| 175 |
'type' => 'string', |
| 176 |
'required' => true, |
| 177 |
), |
| 178 |
'zone' => array( |
| 179 |
'location' => 'path', |
| 180 |
'type' => 'string', |
| 181 |
'required' => true, |
| 182 |
), |
| 183 |
'poolName' => array( |
| 184 |
'location' => 'path', |
| 185 |
'type' => 'string', |
| 186 |
'required' => true, |
| 187 |
), |
| 188 |
), |
| 189 |
), |
| 190 |
) |
| 191 |
) |
| 192 |
); |
| 193 |
$this->replicas = new Analytify_Google_Service_Replicapool_Replicas_Resource( |
| 194 |
$this, |
| 195 |
$this->serviceName, |
| 196 |
'replicas', |
| 197 |
array( |
| 198 |
'methods' => array( |
| 199 |
'delete' => array( |
| 200 |
'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}', |
| 201 |
'httpMethod' => 'POST', |
| 202 |
'parameters' => array( |
| 203 |
'projectName' => array( |
| 204 |
'location' => 'path', |
| 205 |
'type' => 'string', |
| 206 |
'required' => true, |
| 207 |
), |
| 208 |
'zone' => array( |
| 209 |
'location' => 'path', |
| 210 |
'type' => 'string', |
| 211 |
'required' => true, |
| 212 |
), |
| 213 |
'poolName' => array( |
| 214 |
'location' => 'path', |
| 215 |
'type' => 'string', |
| 216 |
'required' => true, |
| 217 |
), |
| 218 |
'replicaName' => array( |
| 219 |
'location' => 'path', |
| 220 |
'type' => 'string', |
| 221 |
'required' => true, |
| 222 |
), |
| 223 |
), |
| 224 |
),'get' => array( |
| 225 |
'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}', |
| 226 |
'httpMethod' => 'GET', |
| 227 |
'parameters' => array( |
| 228 |
'projectName' => array( |
| 229 |
'location' => 'path', |
| 230 |
'type' => 'string', |
| 231 |
'required' => true, |
| 232 |
), |
| 233 |
'zone' => array( |
| 234 |
'location' => 'path', |
| 235 |
'type' => 'string', |
| 236 |
'required' => true, |
| 237 |
), |
| 238 |
'poolName' => array( |
| 239 |
'location' => 'path', |
| 240 |
'type' => 'string', |
| 241 |
'required' => true, |
| 242 |
), |
| 243 |
'replicaName' => array( |
| 244 |
'location' => 'path', |
| 245 |
'type' => 'string', |
| 246 |
'required' => true, |
| 247 |
), |
| 248 |
), |
| 249 |
),'list' => array( |
| 250 |
'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas', |
| 251 |
'httpMethod' => 'GET', |
| 252 |
'parameters' => array( |
| 253 |
'projectName' => array( |
| 254 |
'location' => 'path', |
| 255 |
'type' => 'string', |
| 256 |
'required' => true, |
| 257 |
), |
| 258 |
'zone' => array( |
| 259 |
'location' => 'path', |
| 260 |
'type' => 'string', |
| 261 |
'required' => true, |
| 262 |
), |
| 263 |
'poolName' => array( |
| 264 |
'location' => 'path', |
| 265 |
'type' => 'string', |
| 266 |
'required' => true, |
| 267 |
), |
| 268 |
'pageToken' => array( |
| 269 |
'location' => 'query', |
| 270 |
'type' => 'string', |
| 271 |
), |
| 272 |
'maxResults' => array( |
| 273 |
'location' => 'query', |
| 274 |
'type' => 'integer', |
| 275 |
), |
| 276 |
), |
| 277 |
),'restart' => array( |
| 278 |
'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}/restart', |
| 279 |
'httpMethod' => 'POST', |
| 280 |
'parameters' => array( |
| 281 |
'projectName' => array( |
| 282 |
'location' => 'path', |
| 283 |
'type' => 'string', |
| 284 |
'required' => true, |
| 285 |
), |
| 286 |
'zone' => array( |
| 287 |
'location' => 'path', |
| 288 |
'type' => 'string', |
| 289 |
'required' => true, |
| 290 |
), |
| 291 |
'poolName' => array( |
| 292 |
'location' => 'path', |
| 293 |
'type' => 'string', |
| 294 |
'required' => true, |
| 295 |
), |
| 296 |
'replicaName' => array( |
| 297 |
'location' => 'path', |
| 298 |
'type' => 'string', |
| 299 |
'required' => true, |
| 300 |
), |
| 301 |
), |
| 302 |
), |
| 303 |
) |
| 304 |
) |
| 305 |
); |
| 306 |
} |
| 307 |
} |
| 308 |
|
| 309 |
|
| 310 |
/** |
| 311 |
* The "pools" collection of methods. |
| 312 |
* Typical usage is: |
| 313 |
* <code> |
| 314 |
* $replicapoolService = new Analytify_Google_Service_Replicapool(...); |
| 315 |
* $pools = $replicapoolService->pools; |
| 316 |
* </code> |
| 317 |
*/ |
| 318 |
class Analytify_Google_Service_Replicapool_Pools_Resource extends Analytify_Google_Service_Resource |
| 319 |
{ |
| 320 |
|
| 321 |
/** |
| 322 |
* Deletes a replica pool. (pools.delete) |
| 323 |
* |
| 324 |
* @param string $projectName |
| 325 |
* The project ID for this replica pool. |
| 326 |
* @param string $zone |
| 327 |
* The zone for this replica pool. |
| 328 |
* @param string $poolName |
| 329 |
* The name of the replica pool for this request. |
| 330 |
* @param Analytify_Google_PoolsDeleteRequest $postBody |
| 331 |
* @param array $optParams Optional parameters. |
| 332 |
*/ |
| 333 |
public function delete($projectName, $zone, $poolName, Analytify_Google_Service_Replicapool_PoolsDeleteRequest $postBody, $optParams = array()) |
| 334 |
{ |
| 335 |
$params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'postBody' => $postBody); |
| 336 |
$params = array_merge($params, $optParams); |
| 337 |
return $this->call('delete', array($params)); |
| 338 |
} |
| 339 |
/** |
| 340 |
* Gets information about a single replica pool. (pools.get) |
| 341 |
* |
| 342 |
* @param string $projectName |
| 343 |
* The project ID for this replica pool. |
| 344 |
* @param string $zone |
| 345 |
* The zone for this replica pool. |
| 346 |
* @param string $poolName |
| 347 |
* The name of the replica pool for this request. |
| 348 |
* @param array $optParams Optional parameters. |
| 349 |
* @return Analytify_Google_Service_Replicapool_Pool |
| 350 |
*/ |
| 351 |
public function get($projectName, $zone, $poolName, $optParams = array()) |
| 352 |
{ |
| 353 |
$params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName); |
| 354 |
$params = array_merge($params, $optParams); |
| 355 |
return $this->call('get', array($params), "Analytify_Google_Service_Replicapool_Pool"); |
| 356 |
} |
| 357 |
/** |
| 358 |
* Inserts a new replica pool. (pools.insert) |
| 359 |
* |
| 360 |
* @param string $projectName |
| 361 |
* The project ID for this replica pool. |
| 362 |
* @param string $zone |
| 363 |
* The zone for this replica pool. |
| 364 |
* @param Analytify_Google_Pool $postBody |
| 365 |
* @param array $optParams Optional parameters. |
| 366 |
* @return Analytify_Google_Service_Replicapool_Pool |
| 367 |
*/ |
| 368 |
public function insert($projectName, $zone, Analytify_Google_Service_Replicapool_Pool $postBody, $optParams = array()) |
| 369 |
{ |
| 370 |
$params = array('projectName' => $projectName, 'zone' => $zone, 'postBody' => $postBody); |
| 371 |
$params = array_merge($params, $optParams); |
| 372 |
return $this->call('insert', array($params), "Analytify_Google_Service_Replicapool_Pool"); |
| 373 |
} |
| 374 |
/** |
| 375 |
* List all replica pools. (pools.listPools) |
| 376 |
* |
| 377 |
* @param string $projectName |
| 378 |
* The project ID for this request. |
| 379 |
* @param string $zone |
| 380 |
* The zone for this replica pool. |
| 381 |
* @param array $optParams Optional parameters. |
| 382 |
* |
| 383 |
* @opt_param string pageToken |
| 384 |
* Set this to the nextPageToken value returned by a previous list request to obtain the next page |
| 385 |
* of results from the previous list request. |
| 386 |
* @opt_param int maxResults |
| 387 |
* Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default: |
| 388 |
* 50) |
| 389 |
* @return Analytify_Google_Service_Replicapool_PoolsListResponse |
| 390 |
*/ |
| 391 |
public function listPools($projectName, $zone, $optParams = array()) |
| 392 |
{ |
| 393 |
$params = array('projectName' => $projectName, 'zone' => $zone); |
| 394 |
$params = array_merge($params, $optParams); |
| 395 |
return $this->call('list', array($params), "Analytify_Google_Service_Replicapool_PoolsListResponse"); |
| 396 |
} |
| 397 |
/** |
| 398 |
* Resize a pool. This is an asynchronous operation, and multiple overlapping |
| 399 |
* resize requests can be made. Replica Pools will use the information from the |
| 400 |
* last resize request. (pools.resize) |
| 401 |
* |
| 402 |
* @param string $projectName |
| 403 |
* The project ID for this replica pool. |
| 404 |
* @param string $zone |
| 405 |
* The zone for this replica pool. |
| 406 |
* @param string $poolName |
| 407 |
* The name of the replica pool for this request. |
| 408 |
* @param array $optParams Optional parameters. |
| 409 |
* |
| 410 |
* @opt_param int numReplicas |
| 411 |
* The desired number of replicas to resize to. If this number is larger than the existing number |
| 412 |
* of replicas, new replicas will be added. If the number is smaller, then existing replicas will |
| 413 |
* be deleted. |
| 414 |
* @return Analytify_Google_Service_Replicapool_Pool |
| 415 |
*/ |
| 416 |
public function resize($projectName, $zone, $poolName, $optParams = array()) |
| 417 |
{ |
| 418 |
$params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName); |
| 419 |
$params = array_merge($params, $optParams); |
| 420 |
return $this->call('resize', array($params), "Analytify_Google_Service_Replicapool_Pool"); |
| 421 |
} |
| 422 |
/** |
| 423 |
* Update the template used by the pool. (pools.updatetemplate) |
| 424 |
* |
| 425 |
* @param string $projectName |
| 426 |
* The project ID for this replica pool. |
| 427 |
* @param string $zone |
| 428 |
* The zone for this replica pool. |
| 429 |
* @param string $poolName |
| 430 |
* The name of the replica pool for this request. |
| 431 |
* @param Analytify_Google_Template $postBody |
| 432 |
* @param array $optParams Optional parameters. |
| 433 |
*/ |
| 434 |
public function updatetemplate($projectName, $zone, $poolName, Analytify_Google_Service_Replicapool_Template $postBody, $optParams = array()) |
| 435 |
{ |
| 436 |
$params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'postBody' => $postBody); |
| 437 |
$params = array_merge($params, $optParams); |
| 438 |
return $this->call('updatetemplate', array($params)); |
| 439 |
} |
| 440 |
} |
| 441 |
|
| 442 |
/** |
| 443 |
* The "replicas" collection of methods. |
| 444 |
* Typical usage is: |
| 445 |
* <code> |
| 446 |
* $replicapoolService = new Analytify_Google_Service_Replicapool(...); |
| 447 |
* $replicas = $replicapoolService->replicas; |
| 448 |
* </code> |
| 449 |
*/ |
| 450 |
class Analytify_Google_Service_Replicapool_Replicas_Resource extends Analytify_Google_Service_Resource |
| 451 |
{ |
| 452 |
|
| 453 |
/** |
| 454 |
* Deletes a replica from the pool. (replicas.delete) |
| 455 |
* |
| 456 |
* @param string $projectName |
| 457 |
* The project ID for this request. |
| 458 |
* @param string $zone |
| 459 |
* The zone where the replica lives. |
| 460 |
* @param string $poolName |
| 461 |
* The replica pool name for this request. |
| 462 |
* @param string $replicaName |
| 463 |
* The name of the replica for this request. |
| 464 |
* @param Analytify_Google_ReplicasDeleteRequest $postBody |
| 465 |
* @param array $optParams Optional parameters. |
| 466 |
* @return Analytify_Google_Service_Replicapool_Replica |
| 467 |
*/ |
| 468 |
public function delete($projectName, $zone, $poolName, $replicaName, Analytify_Google_Service_Replicapool_ReplicasDeleteRequest $postBody, $optParams = array()) |
| 469 |
{ |
| 470 |
$params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'replicaName' => $replicaName, 'postBody' => $postBody); |
| 471 |
$params = array_merge($params, $optParams); |
| 472 |
return $this->call('delete', array($params), "Analytify_Google_Service_Replicapool_Replica"); |
| 473 |
} |
| 474 |
/** |
| 475 |
* Gets information about a specific replica. (replicas.get) |
| 476 |
* |
| 477 |
* @param string $projectName |
| 478 |
* The project ID for this request. |
| 479 |
* @param string $zone |
| 480 |
* The zone where the replica lives. |
| 481 |
* @param string $poolName |
| 482 |
* The replica pool name for this request. |
| 483 |
* @param string $replicaName |
| 484 |
* The name of the replica for this request. |
| 485 |
* @param array $optParams Optional parameters. |
| 486 |
* @return Analytify_Google_Service_Replicapool_Replica |
| 487 |
*/ |
| 488 |
public function get($projectName, $zone, $poolName, $replicaName, $optParams = array()) |
| 489 |
{ |
| 490 |
$params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'replicaName' => $replicaName); |
| 491 |
$params = array_merge($params, $optParams); |
| 492 |
return $this->call('get', array($params), "Analytify_Google_Service_Replicapool_Replica"); |
| 493 |
} |
| 494 |
/** |
| 495 |
* Lists all replicas in a pool. (replicas.listReplicas) |
| 496 |
* |
| 497 |
* @param string $projectName |
| 498 |
* The project ID for this request. |
| 499 |
* @param string $zone |
| 500 |
* The zone where the replica pool lives. |
| 501 |
* @param string $poolName |
| 502 |
* The replica pool name for this request. |
| 503 |
* @param array $optParams Optional parameters. |
| 504 |
* |
| 505 |
* @opt_param string pageToken |
| 506 |
* Set this to the nextPageToken value returned by a previous list request to obtain the next page |
| 507 |
* of results from the previous list request. |
| 508 |
* @opt_param int maxResults |
| 509 |
* Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default: |
| 510 |
* 50) |
| 511 |
* @return Analytify_Google_Service_Replicapool_ReplicasListResponse |
| 512 |
*/ |
| 513 |
public function listReplicas($projectName, $zone, $poolName, $optParams = array()) |
| 514 |
{ |
| 515 |
$params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName); |
| 516 |
$params = array_merge($params, $optParams); |
| 517 |
return $this->call('list', array($params), "Analytify_Google_Service_Replicapool_ReplicasListResponse"); |
| 518 |
} |
| 519 |
/** |
| 520 |
* Restarts a replica in a pool. (replicas.restart) |
| 521 |
* |
| 522 |
* @param string $projectName |
| 523 |
* The project ID for this request. |
| 524 |
* @param string $zone |
| 525 |
* The zone where the replica lives. |
| 526 |
* @param string $poolName |
| 527 |
* The replica pool name for this request. |
| 528 |
* @param string $replicaName |
| 529 |
* The name of the replica for this request. |
| 530 |
* @param array $optParams Optional parameters. |
| 531 |
* @return Analytify_Google_Service_Replicapool_Replica |
| 532 |
*/ |
| 533 |
public function restart($projectName, $zone, $poolName, $replicaName, $optParams = array()) |
| 534 |
{ |
| 535 |
$params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'replicaName' => $replicaName); |
| 536 |
$params = array_merge($params, $optParams); |
| 537 |
return $this->call('restart', array($params), "Analytify_Google_Service_Replicapool_Replica"); |
| 538 |
} |
| 539 |
} |
| 540 |
|
| 541 |
|
| 542 |
|
| 543 |
|
| 544 |
class Analytify_Google_Service_Replicapool_AccessConfig extends Analytify_Google_Model |
| 545 |
{ |
| 546 |
public $name; |
| 547 |
public $natIp; |
| 548 |
public $type; |
| 549 |
|
| 550 |
public function setName($name) |
| 551 |
{ |
| 552 |
$this->name = $name; |
| 553 |
} |
| 554 |
|
| 555 |
public function getName() |
| 556 |
{ |
| 557 |
return $this->name; |
| 558 |
} |
| 559 |
|
| 560 |
public function setNatIp($natIp) |
| 561 |
{ |
| 562 |
$this->natIp = $natIp; |
| 563 |
} |
| 564 |
|
| 565 |
public function getNatIp() |
| 566 |
{ |
| 567 |
return $this->natIp; |
| 568 |
} |
| 569 |
|
| 570 |
public function setType($type) |
| 571 |
{ |
| 572 |
$this->type = $type; |
| 573 |
} |
| 574 |
|
| 575 |
public function getType() |
| 576 |
{ |
| 577 |
return $this->type; |
| 578 |
} |
| 579 |
} |
| 580 |
|
| 581 |
class Analytify_Google_Service_Replicapool_Action extends Analytify_Google_Collection |
| 582 |
{ |
| 583 |
public $commands; |
| 584 |
protected $envVariablesType = 'Analytify_Google_Service_Replicapool_EnvVariable'; |
| 585 |
protected $envVariablesDataType = 'array'; |
| 586 |
public $timeoutMilliSeconds; |
| 587 |
|
| 588 |
public function setCommands($commands) |
| 589 |
{ |
| 590 |
$this->commands = $commands; |
| 591 |
} |
| 592 |
|
| 593 |
public function getCommands() |
| 594 |
{ |
| 595 |
return $this->commands; |
| 596 |
} |
| 597 |
|
| 598 |
public function setEnvVariables($envVariables) |
| 599 |
{ |
| 600 |
$this->envVariables = $envVariables; |
| 601 |
} |
| 602 |
|
| 603 |
public function getEnvVariables() |
| 604 |
{ |
| 605 |
return $this->envVariables; |
| 606 |
} |
| 607 |
|
| 608 |
public function setTimeoutMilliSeconds($timeoutMilliSeconds) |
| 609 |
{ |
| 610 |
$this->timeoutMilliSeconds = $timeoutMilliSeconds; |
| 611 |
} |
| 612 |
|
| 613 |
public function getTimeoutMilliSeconds() |
| 614 |
{ |
| 615 |
return $this->timeoutMilliSeconds; |
| 616 |
} |
| 617 |
} |
| 618 |
|
| 619 |
class Analytify_Google_Service_Replicapool_DiskAttachment extends Analytify_Google_Model |
| 620 |
{ |
| 621 |
public $deviceName; |
| 622 |
public $index; |
| 623 |
|
| 624 |
public function setDeviceName($deviceName) |
| 625 |
{ |
| 626 |
$this->deviceName = $deviceName; |
| 627 |
} |
| 628 |
|
| 629 |
public function getDeviceName() |
| 630 |
{ |
| 631 |
return $this->deviceName; |
| 632 |
} |
| 633 |
|
| 634 |
public function setIndex($index) |
| 635 |
{ |
| 636 |
$this->index = $index; |
| 637 |
} |
| 638 |
|
| 639 |
public function getIndex() |
| 640 |
{ |
| 641 |
return $this->index; |
| 642 |
} |
| 643 |
} |
| 644 |
|
| 645 |
class Analytify_Google_Service_Replicapool_EnvVariable extends Analytify_Google_Model |
| 646 |
{ |
| 647 |
public $hidden; |
| 648 |
public $name; |
| 649 |
public $value; |
| 650 |
|
| 651 |
public function setHidden($hidden) |
| 652 |
{ |
| 653 |
$this->hidden = $hidden; |
| 654 |
} |
| 655 |
|
| 656 |
public function getHidden() |
| 657 |
{ |
| 658 |
return $this->hidden; |
| 659 |
} |
| 660 |
|
| 661 |
public function setName($name) |
| 662 |
{ |
| 663 |
$this->name = $name; |
| 664 |
} |
| 665 |
|
| 666 |
public function getName() |
| 667 |
{ |
| 668 |
return $this->name; |
| 669 |
} |
| 670 |
|
| 671 |
public function setValue($value) |
| 672 |
{ |
| 673 |
$this->value = $value; |
| 674 |
} |
| 675 |
|
| 676 |
public function getValue() |
| 677 |
{ |
| 678 |
return $this->value; |
| 679 |
} |
| 680 |
} |
| 681 |
|
| 682 |
class Analytify_Google_Service_Replicapool_ExistingDisk extends Analytify_Google_Model |
| 683 |
{ |
| 684 |
protected $attachmentType = 'Analytify_Google_Service_Replicapool_DiskAttachment'; |
| 685 |
protected $attachmentDataType = ''; |
| 686 |
public $source; |
| 687 |
|
| 688 |
public function setAttachment(Analytify_Google_Service_Replicapool_DiskAttachment $attachment) |
| 689 |
{ |
| 690 |
$this->attachment = $attachment; |
| 691 |
} |
| 692 |
|
| 693 |
public function getAttachment() |
| 694 |
{ |
| 695 |
return $this->attachment; |
| 696 |
} |
| 697 |
|
| 698 |
public function setSource($source) |
| 699 |
{ |
| 700 |
$this->source = $source; |
| 701 |
} |
| 702 |
|
| 703 |
public function getSource() |
| 704 |
{ |
| 705 |
return $this->source; |
| 706 |
} |
| 707 |
} |
| 708 |
|
| 709 |
class Analytify_Google_Service_Replicapool_HealthCheck extends Analytify_Google_Model |
| 710 |
{ |
| 711 |
public $checkIntervalSec; |
| 712 |
public $description; |
| 713 |
public $healthyThreshold; |
| 714 |
public $host; |
| 715 |
public $name; |
| 716 |
public $path; |
| 717 |
public $port; |
| 718 |
public $timeoutSec; |
| 719 |
public $unhealthyThreshold; |
| 720 |
|
| 721 |
public function setCheckIntervalSec($checkIntervalSec) |
| 722 |
{ |
| 723 |
$this->checkIntervalSec = $checkIntervalSec; |
| 724 |
} |
| 725 |
|
| 726 |
public function getCheckIntervalSec() |
| 727 |
{ |
| 728 |
return $this->checkIntervalSec; |
| 729 |
} |
| 730 |
|
| 731 |
public function setDescription($description) |
| 732 |
{ |
| 733 |
$this->description = $description; |
| 734 |
} |
| 735 |
|
| 736 |
public function getDescription() |
| 737 |
{ |
| 738 |
return $this->description; |
| 739 |
} |
| 740 |
|
| 741 |
public function setHealthyThreshold($healthyThreshold) |
| 742 |
{ |
| 743 |
$this->healthyThreshold = $healthyThreshold; |
| 744 |
} |
| 745 |
|
| 746 |
public function getHealthyThreshold() |
| 747 |
{ |
| 748 |
return $this->healthyThreshold; |
| 749 |
} |
| 750 |
|
| 751 |
public function setHost($host) |
| 752 |
{ |
| 753 |
$this->host = $host; |
| 754 |
} |
| 755 |
|
| 756 |
public function getHost() |
| 757 |
{ |
| 758 |
return $this->host; |
| 759 |
} |
| 760 |
|
| 761 |
public function setName($name) |
| 762 |
{ |
| 763 |
$this->name = $name; |
| 764 |
} |
| 765 |
|
| 766 |
public function getName() |
| 767 |
{ |
| 768 |
return $this->name; |
| 769 |
} |
| 770 |
|
| 771 |
public function setPath($path) |
| 772 |
{ |
| 773 |
$this->path = $path; |
| 774 |
} |
| 775 |
|
| 776 |
public function getPath() |
| 777 |
{ |
| 778 |
return $this->path; |
| 779 |
} |
| 780 |
|
| 781 |
public function setPort($port) |
| 782 |
{ |
| 783 |
$this->port = $port; |
| 784 |
} |
| 785 |
|
| 786 |
public function getPort() |
| 787 |
{ |
| 788 |
return $this->port; |
| 789 |
} |
| 790 |
|
| 791 |
public function setTimeoutSec($timeoutSec) |
| 792 |
{ |
| 793 |
$this->timeoutSec = $timeoutSec; |
| 794 |
} |
| 795 |
|
| 796 |
public function getTimeoutSec() |
| 797 |
{ |
| 798 |
return $this->timeoutSec; |
| 799 |
} |
| 800 |
|
| 801 |
public function setUnhealthyThreshold($unhealthyThreshold) |
| 802 |
{ |
| 803 |
$this->unhealthyThreshold = $unhealthyThreshold; |
| 804 |
} |
| 805 |
|
| 806 |
public function getUnhealthyThreshold() |
| 807 |
{ |
| 808 |
return $this->unhealthyThreshold; |
| 809 |
} |
| 810 |
} |
| 811 |
|
| 812 |
class Analytify_Google_Service_Replicapool_Label extends Analytify_Google_Model |
| 813 |
{ |
| 814 |
public $key; |
| 815 |
public $value; |
| 816 |
|
| 817 |
public function setKey($key) |
| 818 |
{ |
| 819 |
$this->key = $key; |
| 820 |
} |
| 821 |
|
| 822 |
public function getKey() |
| 823 |
{ |
| 824 |
return $this->key; |
| 825 |
} |
| 826 |
|
| 827 |
public function setValue($value) |
| 828 |
{ |
| 829 |
$this->value = $value; |
| 830 |
} |
| 831 |
|
| 832 |
public function getValue() |
| 833 |
{ |
| 834 |
return $this->value; |
| 835 |
} |
| 836 |
} |
| 837 |
|
| 838 |
class Analytify_Google_Service_Replicapool_Metadata extends Analytify_Google_Collection |
| 839 |
{ |
| 840 |
public $fingerPrint; |
| 841 |
protected $itemsType = 'Analytify_Google_Service_Replicapool_MetadataItem'; |
| 842 |
protected $itemsDataType = 'array'; |
| 843 |
|
| 844 |
public function setFingerPrint($fingerPrint) |
| 845 |
{ |
| 846 |
$this->fingerPrint = $fingerPrint; |
| 847 |
} |
| 848 |
|
| 849 |
public function getFingerPrint() |
| 850 |
{ |
| 851 |
return $this->fingerPrint; |
| 852 |
} |
| 853 |
|
| 854 |
public function setItems($items) |
| 855 |
{ |
| 856 |
$this->items = $items; |
| 857 |
} |
| 858 |
|
| 859 |
public function getItems() |
| 860 |
{ |
| 861 |
return $this->items; |
| 862 |
} |
| 863 |
} |
| 864 |
|
| 865 |
class Analytify_Google_Service_Replicapool_MetadataItem extends Analytify_Google_Model |
| 866 |
{ |
| 867 |
public $key; |
| 868 |
public $value; |
| 869 |
|
| 870 |
public function setKey($key) |
| 871 |
{ |
| 872 |
$this->key = $key; |
| 873 |
} |
| 874 |
|
| 875 |
public function getKey() |
| 876 |
{ |
| 877 |
return $this->key; |
| 878 |
} |
| 879 |
|
| 880 |
public function setValue($value) |
| 881 |
{ |
| 882 |
$this->value = $value; |
| 883 |
} |
| 884 |
|
| 885 |
public function getValue() |
| 886 |
{ |
| 887 |
return $this->value; |
| 888 |
} |
| 889 |
} |
| 890 |
|
| 891 |
class Analytify_Google_Service_Replicapool_NetworkInterface extends Analytify_Google_Collection |
| 892 |
{ |
| 893 |
protected $accessConfigsType = 'Analytify_Google_Service_Replicapool_AccessConfig'; |
| 894 |
protected $accessConfigsDataType = 'array'; |
| 895 |
public $network; |
| 896 |
public $networkIp; |
| 897 |
|
| 898 |
public function setAccessConfigs($accessConfigs) |
| 899 |
{ |
| 900 |
$this->accessConfigs = $accessConfigs; |
| 901 |
} |
| 902 |
|
| 903 |
public function getAccessConfigs() |
| 904 |
{ |
| 905 |
return $this->accessConfigs; |
| 906 |
} |
| 907 |
|
| 908 |
public function setNetwork($network) |
| 909 |
{ |
| 910 |
$this->network = $network; |
| 911 |
} |
| 912 |
|
| 913 |
public function getNetwork() |
| 914 |
{ |
| 915 |
return $this->network; |
| 916 |
} |
| 917 |
|
| 918 |
public function setNetworkIp($networkIp) |
| 919 |
{ |
| 920 |
$this->networkIp = $networkIp; |
| 921 |
} |
| 922 |
|
| 923 |
public function getNetworkIp() |
| 924 |
{ |
| 925 |
return $this->networkIp; |
| 926 |
} |
| 927 |
} |
| 928 |
|
| 929 |
class Analytify_Google_Service_Replicapool_NewDisk extends Analytify_Google_Model |
| 930 |
{ |
| 931 |
protected $attachmentType = 'Analytify_Google_Service_Replicapool_DiskAttachment'; |
| 932 |
protected $attachmentDataType = ''; |
| 933 |
public $autoDelete; |
| 934 |
public $boot; |
| 935 |
protected $initializeParamsType = 'Analytify_Google_Service_Replicapool_NewDiskInitializeParams'; |
| 936 |
protected $initializeParamsDataType = ''; |
| 937 |
|
| 938 |
public function setAttachment(Analytify_Google_Service_Replicapool_DiskAttachment $attachment) |
| 939 |
{ |
| 940 |
$this->attachment = $attachment; |
| 941 |
} |
| 942 |
|
| 943 |
public function getAttachment() |
| 944 |
{ |
| 945 |
return $this->attachment; |
| 946 |
} |
| 947 |
|
| 948 |
public function setAutoDelete($autoDelete) |
| 949 |
{ |
| 950 |
$this->autoDelete = $autoDelete; |
| 951 |
} |
| 952 |
|
| 953 |
public function getAutoDelete() |
| 954 |
{ |
| 955 |
return $this->autoDelete; |
| 956 |
} |
| 957 |
|
| 958 |
public function setBoot($boot) |
| 959 |
{ |
| 960 |
$this->boot = $boot; |
| 961 |
} |
| 962 |
|
| 963 |
public function getBoot() |
| 964 |
{ |
| 965 |
return $this->boot; |
| 966 |
} |
| 967 |
|
| 968 |
public function setInitializeParams(Analytify_Google_Service_Replicapool_NewDiskInitializeParams $initializeParams) |
| 969 |
{ |
| 970 |
$this->initializeParams = $initializeParams; |
| 971 |
} |
| 972 |
|
| 973 |
public function getInitializeParams() |
| 974 |
{ |
| 975 |
return $this->initializeParams; |
| 976 |
} |
| 977 |
} |
| 978 |
|
| 979 |
class Analytify_Google_Service_Replicapool_NewDiskInitializeParams extends Analytify_Google_Model |
| 980 |
{ |
| 981 |
public $diskSizeGb; |
| 982 |
public $sourceImage; |
| 983 |
|
| 984 |
public function setDiskSizeGb($diskSizeGb) |
| 985 |
{ |
| 986 |
$this->diskSizeGb = $diskSizeGb; |
| 987 |
} |
| 988 |
|
| 989 |
public function getDiskSizeGb() |
| 990 |
{ |
| 991 |
return $this->diskSizeGb; |
| 992 |
} |
| 993 |
|
| 994 |
public function setSourceImage($sourceImage) |
| 995 |
{ |
| 996 |
$this->sourceImage = $sourceImage; |
| 997 |
} |
| 998 |
|
| 999 |
public function getSourceImage() |
| 1000 |
{ |
| 1001 |
return $this->sourceImage; |
| 1002 |
} |
| 1003 |
} |
| 1004 |
|
| 1005 |
class Analytify_Google_Service_Replicapool_Pool extends Analytify_Google_Collection |
| 1006 |
{ |
| 1007 |
public $autoRestart; |
| 1008 |
public $baseInstanceName; |
| 1009 |
public $currentNumReplicas; |
| 1010 |
public $description; |
| 1011 |
protected $healthChecksType = 'Analytify_Google_Service_Replicapool_HealthCheck'; |
| 1012 |
protected $healthChecksDataType = 'array'; |
| 1013 |
public $initialNumReplicas; |
| 1014 |
protected $labelsType = 'Analytify_Google_Service_Replicapool_Label'; |
| 1015 |
protected $labelsDataType = 'array'; |
| 1016 |
public $name; |
| 1017 |
public $numReplicas; |
| 1018 |
public $resourceViews; |
| 1019 |
public $selfLink; |
| 1020 |
public $targetPool; |
| 1021 |
public $targetPools; |
| 1022 |
protected $templateType = 'Analytify_Google_Service_Replicapool_Template'; |
| 1023 |
protected $templateDataType = ''; |
| 1024 |
public $type; |
| 1025 |
|
| 1026 |
public function setAutoRestart($autoRestart) |
| 1027 |
{ |
| 1028 |
$this->autoRestart = $autoRestart; |
| 1029 |
} |
| 1030 |
|
| 1031 |
public function getAutoRestart() |
| 1032 |
{ |
| 1033 |
return $this->autoRestart; |
| 1034 |
} |
| 1035 |
|
| 1036 |
public function setBaseInstanceName($baseInstanceName) |
| 1037 |
{ |
| 1038 |
$this->baseInstanceName = $baseInstanceName; |
| 1039 |
} |
| 1040 |
|
| 1041 |
public function getBaseInstanceName() |
| 1042 |
{ |
| 1043 |
return $this->baseInstanceName; |
| 1044 |
} |
| 1045 |
|
| 1046 |
public function setCurrentNumReplicas($currentNumReplicas) |
| 1047 |
{ |
| 1048 |
$this->currentNumReplicas = $currentNumReplicas; |
| 1049 |
} |
| 1050 |
|
| 1051 |
public function getCurrentNumReplicas() |
| 1052 |
{ |
| 1053 |
return $this->currentNumReplicas; |
| 1054 |
} |
| 1055 |
|
| 1056 |
public function setDescription($description) |
| 1057 |
{ |
| 1058 |
$this->description = $description; |
| 1059 |
} |
| 1060 |
|
| 1061 |
public function getDescription() |
| 1062 |
{ |
| 1063 |
return $this->description; |
| 1064 |
} |
| 1065 |
|
| 1066 |
public function setHealthChecks($healthChecks) |
| 1067 |
{ |
| 1068 |
$this->healthChecks = $healthChecks; |
| 1069 |
} |
| 1070 |
|
| 1071 |
public function getHealthChecks() |
| 1072 |
{ |
| 1073 |
return $this->healthChecks; |
| 1074 |
} |
| 1075 |
|
| 1076 |
public function setInitialNumReplicas($initialNumReplicas) |
| 1077 |
{ |
| 1078 |
$this->initialNumReplicas = $initialNumReplicas; |
| 1079 |
} |
| 1080 |
|
| 1081 |
public function getInitialNumReplicas() |
| 1082 |
{ |
| 1083 |
return $this->initialNumReplicas; |
| 1084 |
} |
| 1085 |
|
| 1086 |
public function setLabels($labels) |
| 1087 |
{ |
| 1088 |
$this->labels = $labels; |
| 1089 |
} |
| 1090 |
|
| 1091 |
public function getLabels() |
| 1092 |
{ |
| 1093 |
return $this->labels; |
| 1094 |
} |
| 1095 |
|
| 1096 |
public function setName($name) |
| 1097 |
{ |
| 1098 |
$this->name = $name; |
| 1099 |
} |
| 1100 |
|
| 1101 |
public function getName() |
| 1102 |
{ |
| 1103 |
return $this->name; |
| 1104 |
} |
| 1105 |
|
| 1106 |
public function setNumReplicas($numReplicas) |
| 1107 |
{ |
| 1108 |
$this->numReplicas = $numReplicas; |
| 1109 |
} |
| 1110 |
|
| 1111 |
public function getNumReplicas() |
| 1112 |
{ |
| 1113 |
return $this->numReplicas; |
| 1114 |
} |
| 1115 |
|
| 1116 |
public function setResourceViews($resourceViews) |
| 1117 |
{ |
| 1118 |
$this->resourceViews = $resourceViews; |
| 1119 |
} |
| 1120 |
|
| 1121 |
public function getResourceViews() |
| 1122 |
{ |
| 1123 |
return $this->resourceViews; |
| 1124 |
} |
| 1125 |
|
| 1126 |
public function setSelfLink($selfLink) |
| 1127 |
{ |
| 1128 |
$this->selfLink = $selfLink; |
| 1129 |
} |
| 1130 |
|
| 1131 |
public function getSelfLink() |
| 1132 |
{ |
| 1133 |
return $this->selfLink; |
| 1134 |
} |
| 1135 |
|
| 1136 |
public function setTargetPool($targetPool) |
| 1137 |
{ |
| 1138 |
$this->targetPool = $targetPool; |
| 1139 |
} |
| 1140 |
|
| 1141 |
public function getTargetPool() |
| 1142 |
{ |
| 1143 |
return $this->targetPool; |
| 1144 |
} |
| 1145 |
|
| 1146 |
public function setTargetPools($targetPools) |
| 1147 |
{ |
| 1148 |
$this->targetPools = $targetPools; |
| 1149 |
} |
| 1150 |
|
| 1151 |
public function getTargetPools() |
| 1152 |
{ |
| 1153 |
return $this->targetPools; |
| 1154 |
} |
| 1155 |
|
| 1156 |
public function setTemplate(Analytify_Google_Service_Replicapool_Template $template) |
| 1157 |
{ |
| 1158 |
$this->template = $template; |
| 1159 |
} |
| 1160 |
|
| 1161 |
public function getTemplate() |
| 1162 |
{ |
| 1163 |
return $this->template; |
| 1164 |
} |
| 1165 |
|
| 1166 |
public function setType($type) |
| 1167 |
{ |
| 1168 |
$this->type = $type; |
| 1169 |
} |
| 1170 |
|
| 1171 |
public function getType() |
| 1172 |
{ |
| 1173 |
return $this->type; |
| 1174 |
} |
| 1175 |
} |
| 1176 |
|
| 1177 |
class Analytify_Google_Service_Replicapool_PoolsDeleteRequest extends Analytify_Google_Collection |
| 1178 |
{ |
| 1179 |
public $abandonInstances; |
| 1180 |
|
| 1181 |
public function setAbandonInstances($abandonInstances) |
| 1182 |
{ |
| 1183 |
$this->abandonInstances = $abandonInstances; |
| 1184 |
} |
| 1185 |
|
| 1186 |
public function getAbandonInstances() |
| 1187 |
{ |
| 1188 |
return $this->abandonInstances; |
| 1189 |
} |
| 1190 |
} |
| 1191 |
|
| 1192 |
class Analytify_Google_Service_Replicapool_PoolsListResponse extends Analytify_Google_Collection |
| 1193 |
{ |
| 1194 |
public $nextPageToken; |
| 1195 |
protected $resourcesType = 'Analytify_Google_Service_Replicapool_Pool'; |
| 1196 |
protected $resourcesDataType = 'array'; |
| 1197 |
|
| 1198 |
public function setNextPageToken($nextPageToken) |
| 1199 |
{ |
| 1200 |
$this->nextPageToken = $nextPageToken; |
| 1201 |
} |
| 1202 |
|
| 1203 |
public function getNextPageToken() |
| 1204 |
{ |
| 1205 |
return $this->nextPageToken; |
| 1206 |
} |
| 1207 |
|
| 1208 |
public function setResources($resources) |
| 1209 |
{ |
| 1210 |
$this->resources = $resources; |
| 1211 |
} |
| 1212 |
|
| 1213 |
public function getResources() |
| 1214 |
{ |
| 1215 |
return $this->resources; |
| 1216 |
} |
| 1217 |
} |
| 1218 |
|
| 1219 |
class Analytify_Google_Service_Replicapool_Replica extends Analytify_Google_Model |
| 1220 |
{ |
| 1221 |
public $name; |
| 1222 |
public $selfLink; |
| 1223 |
protected $statusType = 'Analytify_Google_Service_Replicapool_ReplicaStatus'; |
| 1224 |
protected $statusDataType = ''; |
| 1225 |
|
| 1226 |
public function setName($name) |
| 1227 |
{ |
| 1228 |
$this->name = $name; |
| 1229 |
} |
| 1230 |
|
| 1231 |
public function getName() |
| 1232 |
{ |
| 1233 |
return $this->name; |
| 1234 |
} |
| 1235 |
|
| 1236 |
public function setSelfLink($selfLink) |
| 1237 |
{ |
| 1238 |
$this->selfLink = $selfLink; |
| 1239 |
} |
| 1240 |
|
| 1241 |
public function getSelfLink() |
| 1242 |
{ |
| 1243 |
return $this->selfLink; |
| 1244 |
} |
| 1245 |
|
| 1246 |
public function setStatus(Analytify_Google_Service_Replicapool_ReplicaStatus $status) |
| 1247 |
{ |
| 1248 |
$this->status = $status; |
| 1249 |
} |
| 1250 |
|
| 1251 |
public function getStatus() |
| 1252 |
{ |
| 1253 |
return $this->status; |
| 1254 |
} |
| 1255 |
} |
| 1256 |
|
| 1257 |
class Analytify_Google_Service_Replicapool_ReplicaStatus extends Analytify_Google_Model |
| 1258 |
{ |
| 1259 |
public $details; |
| 1260 |
public $state; |
| 1261 |
public $templateVersion; |
| 1262 |
public $vmLink; |
| 1263 |
public $vmStartTime; |
| 1264 |
|
| 1265 |
public function setDetails($details) |
| 1266 |
{ |
| 1267 |
$this->details = $details; |
| 1268 |
} |
| 1269 |
|
| 1270 |
public function getDetails() |
| 1271 |
{ |
| 1272 |
return $this->details; |
| 1273 |
} |
| 1274 |
|
| 1275 |
public function setState($state) |
| 1276 |
{ |
| 1277 |
$this->state = $state; |
| 1278 |
} |
| 1279 |
|
| 1280 |
public function getState() |
| 1281 |
{ |
| 1282 |
return $this->state; |
| 1283 |
} |
| 1284 |
|
| 1285 |
public function setTemplateVersion($templateVersion) |
| 1286 |
{ |
| 1287 |
$this->templateVersion = $templateVersion; |
| 1288 |
} |
| 1289 |
|
| 1290 |
public function getTemplateVersion() |
| 1291 |
{ |
| 1292 |
return $this->templateVersion; |
| 1293 |
} |
| 1294 |
|
| 1295 |
public function setVmLink($vmLink) |
| 1296 |
{ |
| 1297 |
$this->vmLink = $vmLink; |
| 1298 |
} |
| 1299 |
|
| 1300 |
public function getVmLink() |
| 1301 |
{ |
| 1302 |
return $this->vmLink; |
| 1303 |
} |
| 1304 |
|
| 1305 |
public function setVmStartTime($vmStartTime) |
| 1306 |
{ |
| 1307 |
$this->vmStartTime = $vmStartTime; |
| 1308 |
} |
| 1309 |
|
| 1310 |
public function getVmStartTime() |
| 1311 |
{ |
| 1312 |
return $this->vmStartTime; |
| 1313 |
} |
| 1314 |
} |
| 1315 |
|
| 1316 |
class Analytify_Google_Service_Replicapool_ReplicasDeleteRequest extends Analytify_Google_Model |
| 1317 |
{ |
| 1318 |
public $abandonInstance; |
| 1319 |
|
| 1320 |
public function setAbandonInstance($abandonInstance) |
| 1321 |
{ |
| 1322 |
$this->abandonInstance = $abandonInstance; |
| 1323 |
} |
| 1324 |
|
| 1325 |
public function getAbandonInstance() |
| 1326 |
{ |
| 1327 |
return $this->abandonInstance; |
| 1328 |
} |
| 1329 |
} |
| 1330 |
|
| 1331 |
class Analytify_Google_Service_Replicapool_ReplicasListResponse extends Analytify_Google_Collection |
| 1332 |
{ |
| 1333 |
public $nextPageToken; |
| 1334 |
protected $resourcesType = 'Analytify_Google_Service_Replicapool_Replica'; |
| 1335 |
protected $resourcesDataType = 'array'; |
| 1336 |
|
| 1337 |
public function setNextPageToken($nextPageToken) |
| 1338 |
{ |
| 1339 |
$this->nextPageToken = $nextPageToken; |
| 1340 |
} |
| 1341 |
|
| 1342 |
public function getNextPageToken() |
| 1343 |
{ |
| 1344 |
return $this->nextPageToken; |
| 1345 |
} |
| 1346 |
|
| 1347 |
public function setResources($resources) |
| 1348 |
{ |
| 1349 |
$this->resources = $resources; |
| 1350 |
} |
| 1351 |
|
| 1352 |
public function getResources() |
| 1353 |
{ |
| 1354 |
return $this->resources; |
| 1355 |
} |
| 1356 |
} |
| 1357 |
|
| 1358 |
class Analytify_Google_Service_Replicapool_ServiceAccount extends Analytify_Google_Collection |
| 1359 |
{ |
| 1360 |
public $email; |
| 1361 |
public $scopes; |
| 1362 |
|
| 1363 |
public function setEmail($email) |
| 1364 |
{ |
| 1365 |
$this->email = $email; |
| 1366 |
} |
| 1367 |
|
| 1368 |
public function getEmail() |
| 1369 |
{ |
| 1370 |
return $this->email; |
| 1371 |
} |
| 1372 |
|
| 1373 |
public function setScopes($scopes) |
| 1374 |
{ |
| 1375 |
$this->scopes = $scopes; |
| 1376 |
} |
| 1377 |
|
| 1378 |
public function getScopes() |
| 1379 |
{ |
| 1380 |
return $this->scopes; |
| 1381 |
} |
| 1382 |
} |
| 1383 |
|
| 1384 |
class Analytify_Google_Service_Replicapool_Tag extends Analytify_Google_Collection |
| 1385 |
{ |
| 1386 |
public $fingerPrint; |
| 1387 |
public $items; |
| 1388 |
|
| 1389 |
public function setFingerPrint($fingerPrint) |
| 1390 |
{ |
| 1391 |
$this->fingerPrint = $fingerPrint; |
| 1392 |
} |
| 1393 |
|
| 1394 |
public function getFingerPrint() |
| 1395 |
{ |
| 1396 |
return $this->fingerPrint; |
| 1397 |
} |
| 1398 |
|
| 1399 |
public function setItems($items) |
| 1400 |
{ |
| 1401 |
$this->items = $items; |
| 1402 |
} |
| 1403 |
|
| 1404 |
public function getItems() |
| 1405 |
{ |
| 1406 |
return $this->items; |
| 1407 |
} |
| 1408 |
} |
| 1409 |
|
| 1410 |
class Analytify_Google_Service_Replicapool_Template extends Analytify_Google_Collection |
| 1411 |
{ |
| 1412 |
protected $actionType = 'Analytify_Google_Service_Replicapool_Action'; |
| 1413 |
protected $actionDataType = ''; |
| 1414 |
protected $healthChecksType = 'Analytify_Google_Service_Replicapool_HealthCheck'; |
| 1415 |
protected $healthChecksDataType = 'array'; |
| 1416 |
public $version; |
| 1417 |
protected $vmParamsType = 'Analytify_Google_Service_Replicapool_VmParams'; |
| 1418 |
protected $vmParamsDataType = ''; |
| 1419 |
|
| 1420 |
public function setAction(Analytify_Google_Service_Replicapool_Action $action) |
| 1421 |
{ |
| 1422 |
$this->action = $action; |
| 1423 |
} |
| 1424 |
|
| 1425 |
public function getAction() |
| 1426 |
{ |
| 1427 |
return $this->action; |
| 1428 |
} |
| 1429 |
|
| 1430 |
public function setHealthChecks($healthChecks) |
| 1431 |
{ |
| 1432 |
$this->healthChecks = $healthChecks; |
| 1433 |
} |
| 1434 |
|
| 1435 |
public function getHealthChecks() |
| 1436 |
{ |
| 1437 |
return $this->healthChecks; |
| 1438 |
} |
| 1439 |
|
| 1440 |
public function setVersion($version) |
| 1441 |
{ |
| 1442 |
$this->version = $version; |
| 1443 |
} |
| 1444 |
|
| 1445 |
public function getVersion() |
| 1446 |
{ |
| 1447 |
return $this->version; |
| 1448 |
} |
| 1449 |
|
| 1450 |
public function setVmParams(Analytify_Google_Service_Replicapool_VmParams $vmParams) |
| 1451 |
{ |
| 1452 |
$this->vmParams = $vmParams; |
| 1453 |
} |
| 1454 |
|
| 1455 |
public function getVmParams() |
| 1456 |
{ |
| 1457 |
return $this->vmParams; |
| 1458 |
} |
| 1459 |
} |
| 1460 |
|
| 1461 |
class Analytify_Google_Service_Replicapool_VmParams extends Analytify_Google_Collection |
| 1462 |
{ |
| 1463 |
public $baseInstanceName; |
| 1464 |
public $canIpForward; |
| 1465 |
public $description; |
| 1466 |
protected $disksToAttachType = 'Analytify_Google_Service_Replicapool_ExistingDisk'; |
| 1467 |
protected $disksToAttachDataType = 'array'; |
| 1468 |
protected $disksToCreateType = 'Analytify_Google_Service_Replicapool_NewDisk'; |
| 1469 |
protected $disksToCreateDataType = 'array'; |
| 1470 |
public $machineType; |
| 1471 |
protected $metadataType = 'Analytify_Google_Service_Replicapool_Metadata'; |
| 1472 |
protected $metadataDataType = ''; |
| 1473 |
protected $networkInterfacesType = 'Analytify_Google_Service_Replicapool_NetworkInterface'; |
| 1474 |
protected $networkInterfacesDataType = 'array'; |
| 1475 |
public $onHostMaintenance; |
| 1476 |
protected $serviceAccountsType = 'Analytify_Google_Service_Replicapool_ServiceAccount'; |
| 1477 |
protected $serviceAccountsDataType = 'array'; |
| 1478 |
protected $tagsType = 'Analytify_Google_Service_Replicapool_Tag'; |
| 1479 |
protected $tagsDataType = ''; |
| 1480 |
|
| 1481 |
public function setBaseInstanceName($baseInstanceName) |
| 1482 |
{ |
| 1483 |
$this->baseInstanceName = $baseInstanceName; |
| 1484 |
} |
| 1485 |
|
| 1486 |
public function getBaseInstanceName() |
| 1487 |
{ |
| 1488 |
return $this->baseInstanceName; |
| 1489 |
} |
| 1490 |
|
| 1491 |
public function setCanIpForward($canIpForward) |
| 1492 |
{ |
| 1493 |
$this->canIpForward = $canIpForward; |
| 1494 |
} |
| 1495 |
|
| 1496 |
public function getCanIpForward() |
| 1497 |
{ |
| 1498 |
return $this->canIpForward; |
| 1499 |
} |
| 1500 |
|
| 1501 |
public function setDescription($description) |
| 1502 |
{ |
| 1503 |
$this->description = $description; |
| 1504 |
} |
| 1505 |
|
| 1506 |
public function getDescription() |
| 1507 |
{ |
| 1508 |
return $this->description; |
| 1509 |
} |
| 1510 |
|
| 1511 |
public function setDisksToAttach($disksToAttach) |
| 1512 |
{ |
| 1513 |
$this->disksToAttach = $disksToAttach; |
| 1514 |
} |
| 1515 |
|
| 1516 |
public function getDisksToAttach() |
| 1517 |
{ |
| 1518 |
return $this->disksToAttach; |
| 1519 |
} |
| 1520 |
|
| 1521 |
public function setDisksToCreate($disksToCreate) |
| 1522 |
{ |
| 1523 |
$this->disksToCreate = $disksToCreate; |
| 1524 |
} |
| 1525 |
|
| 1526 |
public function getDisksToCreate() |
| 1527 |
{ |
| 1528 |
return $this->disksToCreate; |
| 1529 |
} |
| 1530 |
|
| 1531 |
public function setMachineType($machineType) |
| 1532 |
{ |
| 1533 |
$this->machineType = $machineType; |
| 1534 |
} |
| 1535 |
|
| 1536 |
public function getMachineType() |
| 1537 |
{ |
| 1538 |
return $this->machineType; |
| 1539 |
} |
| 1540 |
|
| 1541 |
public function setMetadata(Analytify_Google_Service_Replicapool_Metadata $metadata) |
| 1542 |
{ |
| 1543 |
$this->metadata = $metadata; |
| 1544 |
} |
| 1545 |
|
| 1546 |
public function getMetadata() |
| 1547 |
{ |
| 1548 |
return $this->metadata; |
| 1549 |
} |
| 1550 |
|
| 1551 |
public function setNetworkInterfaces($networkInterfaces) |
| 1552 |
{ |
| 1553 |
$this->networkInterfaces = $networkInterfaces; |
| 1554 |
} |
| 1555 |
|
| 1556 |
public function getNetworkInterfaces() |
| 1557 |
{ |
| 1558 |
return $this->networkInterfaces; |
| 1559 |
} |
| 1560 |
|
| 1561 |
public function setOnHostMaintenance($onHostMaintenance) |
| 1562 |
{ |
| 1563 |
$this->onHostMaintenance = $onHostMaintenance; |
| 1564 |
} |
| 1565 |
|
| 1566 |
public function getOnHostMaintenance() |
| 1567 |
{ |
| 1568 |
return $this->onHostMaintenance; |
| 1569 |
} |
| 1570 |
|
| 1571 |
public function setServiceAccounts($serviceAccounts) |
| 1572 |
{ |
| 1573 |
$this->serviceAccounts = $serviceAccounts; |
| 1574 |
} |
| 1575 |
|
| 1576 |
public function getServiceAccounts() |
| 1577 |
{ |
| 1578 |
return $this->serviceAccounts; |
| 1579 |
} |
| 1580 |
|
| 1581 |
public function setTags(Analytify_Google_Service_Replicapool_Tag $tags) |
| 1582 |
{ |
| 1583 |
$this->tags = $tags; |
| 1584 |
} |
| 1585 |
|
| 1586 |
public function getTags() |
| 1587 |
{ |
| 1588 |
return $this->tags; |
| 1589 |
} |
| 1590 |
} |
| 1591 |
|