/includes/api-libs/Google/Service/Replicapoolupdater.php

  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 Replicapoolupdater (v1beta1). 
  20. * 
  21. * <p> 
  22. * The Google Compute Engine Instance Group Updater API provides services for 
  23. * updating groups of Compute Engine Instances.</p> 
  24. * 
  25. * <p> 
  26. * For more information about this service, see the API 
  27. * <a href="https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service" target="_blank">Documentation</a> 
  28. * </p> 
  29. * 
  30. * @author Google, Inc. 
  31. */ 
  32. class Google_Service_Replicapoolupdater extends Google_Service 
  33. /** View and manage your data across Google Cloud Platform services. */ 
  34. const CLOUD_PLATFORM = 
  35. "https://www.googleapis.com/auth/cloud-platform"; 
  36. /** View and manage replica pools. */ 
  37. const REPLICAPOOL = 
  38. "https://www.googleapis.com/auth/replicapool"; 
  39. /** View replica pools. */ 
  40. const REPLICAPOOL_READONLY = 
  41. "https://www.googleapis.com/auth/replicapool.readonly"; 
  42.  
  43. public $rollingUpdates; 
  44. public $zoneOperations; 
  45.  
  46.  
  47. /** 
  48. * Constructs the internal representation of the Replicapoolupdater service. 
  49. * 
  50. * @param Google_Client $client 
  51. */ 
  52. public function __construct(Google_Client $client) 
  53. parent::__construct($client); 
  54. $this->servicePath = 'replicapoolupdater/v1beta1/projects/'; 
  55. $this->version = 'v1beta1'; 
  56. $this->serviceName = 'replicapoolupdater'; 
  57.  
  58. $this->rollingUpdates = new Google_Service_Replicapoolupdater_RollingUpdates_Resource( 
  59. $this,  
  60. $this->serviceName,  
  61. 'rollingUpdates',  
  62. array( 
  63. 'methods' => array( 
  64. 'cancel' => array( 
  65. 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/cancel',  
  66. 'httpMethod' => 'POST',  
  67. 'parameters' => array( 
  68. 'project' => array( 
  69. 'location' => 'path',  
  70. 'type' => 'string',  
  71. 'required' => true,  
  72. ),  
  73. 'zone' => array( 
  74. 'location' => 'path',  
  75. 'type' => 'string',  
  76. 'required' => true,  
  77. ),  
  78. 'rollingUpdate' => array( 
  79. 'location' => 'path',  
  80. 'type' => 'string',  
  81. 'required' => true,  
  82. ),  
  83. ),  
  84. ), 'get' => array( 
  85. 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}',  
  86. 'httpMethod' => 'GET',  
  87. 'parameters' => array( 
  88. 'project' => array( 
  89. 'location' => 'path',  
  90. 'type' => 'string',  
  91. 'required' => true,  
  92. ),  
  93. 'zone' => array( 
  94. 'location' => 'path',  
  95. 'type' => 'string',  
  96. 'required' => true,  
  97. ),  
  98. 'rollingUpdate' => array( 
  99. 'location' => 'path',  
  100. 'type' => 'string',  
  101. 'required' => true,  
  102. ),  
  103. ),  
  104. ), 'insert' => array( 
  105. 'path' => '{project}/zones/{zone}/rollingUpdates',  
  106. 'httpMethod' => 'POST',  
  107. 'parameters' => array( 
  108. 'project' => array( 
  109. 'location' => 'path',  
  110. 'type' => 'string',  
  111. 'required' => true,  
  112. ),  
  113. 'zone' => array( 
  114. 'location' => 'path',  
  115. 'type' => 'string',  
  116. 'required' => true,  
  117. ),  
  118. ),  
  119. ), 'list' => array( 
  120. 'path' => '{project}/zones/{zone}/rollingUpdates',  
  121. 'httpMethod' => 'GET',  
  122. 'parameters' => array( 
  123. 'project' => array( 
  124. 'location' => 'path',  
  125. 'type' => 'string',  
  126. 'required' => true,  
  127. ),  
  128. 'zone' => array( 
  129. 'location' => 'path',  
  130. 'type' => 'string',  
  131. 'required' => true,  
  132. ),  
  133. 'maxResults' => array( 
  134. 'location' => 'query',  
  135. 'type' => 'integer',  
  136. ),  
  137. 'filter' => array( 
  138. 'location' => 'query',  
  139. 'type' => 'string',  
  140. ),  
  141. 'pageToken' => array( 
  142. 'location' => 'query',  
  143. 'type' => 'string',  
  144. ),  
  145. 'instanceGroupManager' => array( 
  146. 'location' => 'query',  
  147. 'type' => 'string',  
  148. ),  
  149. ),  
  150. ), 'listInstanceUpdates' => array( 
  151. 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/instanceUpdates',  
  152. 'httpMethod' => 'GET',  
  153. 'parameters' => array( 
  154. 'project' => array( 
  155. 'location' => 'path',  
  156. 'type' => 'string',  
  157. 'required' => true,  
  158. ),  
  159. 'zone' => array( 
  160. 'location' => 'path',  
  161. 'type' => 'string',  
  162. 'required' => true,  
  163. ),  
  164. 'rollingUpdate' => array( 
  165. 'location' => 'path',  
  166. 'type' => 'string',  
  167. 'required' => true,  
  168. ),  
  169. 'maxResults' => array( 
  170. 'location' => 'query',  
  171. 'type' => 'integer',  
  172. ),  
  173. 'filter' => array( 
  174. 'location' => 'query',  
  175. 'type' => 'string',  
  176. ),  
  177. 'pageToken' => array( 
  178. 'location' => 'query',  
  179. 'type' => 'string',  
  180. ),  
  181. ),  
  182. ), 'pause' => array( 
  183. 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/pause',  
  184. 'httpMethod' => 'POST',  
  185. 'parameters' => array( 
  186. 'project' => array( 
  187. 'location' => 'path',  
  188. 'type' => 'string',  
  189. 'required' => true,  
  190. ),  
  191. 'zone' => array( 
  192. 'location' => 'path',  
  193. 'type' => 'string',  
  194. 'required' => true,  
  195. ),  
  196. 'rollingUpdate' => array( 
  197. 'location' => 'path',  
  198. 'type' => 'string',  
  199. 'required' => true,  
  200. ),  
  201. ),  
  202. ), 'resume' => array( 
  203. 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/resume',  
  204. 'httpMethod' => 'POST',  
  205. 'parameters' => array( 
  206. 'project' => array( 
  207. 'location' => 'path',  
  208. 'type' => 'string',  
  209. 'required' => true,  
  210. ),  
  211. 'zone' => array( 
  212. 'location' => 'path',  
  213. 'type' => 'string',  
  214. 'required' => true,  
  215. ),  
  216. 'rollingUpdate' => array( 
  217. 'location' => 'path',  
  218. 'type' => 'string',  
  219. 'required' => true,  
  220. ),  
  221. ),  
  222. ), 'rollback' => array( 
  223. 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/rollback',  
  224. 'httpMethod' => 'POST',  
  225. 'parameters' => array( 
  226. 'project' => array( 
  227. 'location' => 'path',  
  228. 'type' => 'string',  
  229. 'required' => true,  
  230. ),  
  231. 'zone' => array( 
  232. 'location' => 'path',  
  233. 'type' => 'string',  
  234. 'required' => true,  
  235. ),  
  236. 'rollingUpdate' => array( 
  237. 'location' => 'path',  
  238. 'type' => 'string',  
  239. 'required' => true,  
  240. ),  
  241. ),  
  242. ),  
  243. ); 
  244. $this->zoneOperations = new Google_Service_Replicapoolupdater_ZoneOperations_Resource( 
  245. $this,  
  246. $this->serviceName,  
  247. 'zoneOperations',  
  248. array( 
  249. 'methods' => array( 
  250. 'get' => array( 
  251. 'path' => '{project}/zones/{zone}/operations/{operation}',  
  252. 'httpMethod' => 'GET',  
  253. 'parameters' => array( 
  254. 'project' => array( 
  255. 'location' => 'path',  
  256. 'type' => 'string',  
  257. 'required' => true,  
  258. ),  
  259. 'zone' => array( 
  260. 'location' => 'path',  
  261. 'type' => 'string',  
  262. 'required' => true,  
  263. ),  
  264. 'operation' => array( 
  265. 'location' => 'path',  
  266. 'type' => 'string',  
  267. 'required' => true,  
  268. ),  
  269. ),  
  270. ),  
  271. ); 
  272.  
  273.  
  274. /** 
  275. * The "rollingUpdates" collection of methods. 
  276. * Typical usage is: 
  277. * <code> 
  278. * $replicapoolupdaterService = new Google_Service_Replicapoolupdater(...); 
  279. * $rollingUpdates = $replicapoolupdaterService->rollingUpdates; 
  280. * </code> 
  281. */ 
  282. class Google_Service_Replicapoolupdater_RollingUpdates_Resource extends Google_Service_Resource 
  283.  
  284. /** 
  285. * Cancels an update. The update must be PAUSED before it can be cancelled. This 
  286. * has no effect if the update is already CANCELLED. (rollingUpdates.cancel) 
  287. * 
  288. * @param string $project The Google Developers Console project name. 
  289. * @param string $zone The name of the zone in which the update's target 
  290. * resides. 
  291. * @param string $rollingUpdate The name of the update. 
  292. * @param array $optParams Optional parameters. 
  293. * @return Google_Service_Replicapoolupdater_Operation 
  294. */ 
  295. public function cancel($project, $zone, $rollingUpdate, $optParams = array()) 
  296. $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); 
  297. $params = array_merge($params, $optParams); 
  298. return $this->call('cancel', array($params), "Google_Service_Replicapoolupdater_Operation"); 
  299.  
  300. /** 
  301. * Returns information about an update. (rollingUpdates.get) 
  302. * 
  303. * @param string $project The Google Developers Console project name. 
  304. * @param string $zone The name of the zone in which the update's target 
  305. * resides. 
  306. * @param string $rollingUpdate The name of the update. 
  307. * @param array $optParams Optional parameters. 
  308. * @return Google_Service_Replicapoolupdater_RollingUpdate 
  309. */ 
  310. public function get($project, $zone, $rollingUpdate, $optParams = array()) 
  311. $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); 
  312. $params = array_merge($params, $optParams); 
  313. return $this->call('get', array($params), "Google_Service_Replicapoolupdater_RollingUpdate"); 
  314.  
  315. /** 
  316. * Inserts and starts a new update. (rollingUpdates.insert) 
  317. * 
  318. * @param string $project The Google Developers Console project name. 
  319. * @param string $zone The name of the zone in which the update's target 
  320. * resides. 
  321. * @param Google_RollingUpdate $postBody 
  322. * @param array $optParams Optional parameters. 
  323. * @return Google_Service_Replicapoolupdater_Operation 
  324. */ 
  325. public function insert($project, $zone, Google_Service_Replicapoolupdater_RollingUpdate $postBody, $optParams = array()) 
  326. $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); 
  327. $params = array_merge($params, $optParams); 
  328. return $this->call('insert', array($params), "Google_Service_Replicapoolupdater_Operation"); 
  329.  
  330. /** 
  331. * Lists recent updates for a given managed instance group, in reverse 
  332. * chronological order and paginated format. (rollingUpdates.listRollingUpdates) 
  333. * 
  334. * @param string $project The Google Developers Console project name. 
  335. * @param string $zone The name of the zone in which the update's target 
  336. * resides. 
  337. * @param array $optParams Optional parameters. 
  338. * 
  339. * @opt_param string maxResults Optional. Maximum count of results to be 
  340. * returned. Maximum value is 500 and default value is 500. 
  341. * @opt_param string filter Optional. Filter expression for filtering listed 
  342. * resources. 
  343. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  344. * truncated by maxResults. Used to continue a previous list request. 
  345. * @opt_param string instanceGroupManager The name of the instance group manager 
  346. * used for filtering. 
  347. * @return Google_Service_Replicapoolupdater_RollingUpdateList 
  348. */ 
  349. public function listRollingUpdates($project, $zone, $optParams = array()) 
  350. $params = array('project' => $project, 'zone' => $zone); 
  351. $params = array_merge($params, $optParams); 
  352. return $this->call('list', array($params), "Google_Service_Replicapoolupdater_RollingUpdateList"); 
  353.  
  354. /** 
  355. * Lists the current status for each instance within a given update. 
  356. * (rollingUpdates.listInstanceUpdates) 
  357. * 
  358. * @param string $project The Google Developers Console project name. 
  359. * @param string $zone The name of the zone in which the update's target 
  360. * resides. 
  361. * @param string $rollingUpdate The name of the update. 
  362. * @param array $optParams Optional parameters. 
  363. * 
  364. * @opt_param string maxResults Optional. Maximum count of results to be 
  365. * returned. Maximum value is 500 and default value is 500. 
  366. * @opt_param string filter Optional. Filter expression for filtering listed 
  367. * resources. 
  368. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  369. * truncated by maxResults. Used to continue a previous list request. 
  370. * @return Google_Service_Replicapoolupdater_InstanceUpdateList 
  371. */ 
  372. public function listInstanceUpdates($project, $zone, $rollingUpdate, $optParams = array()) 
  373. $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); 
  374. $params = array_merge($params, $optParams); 
  375. return $this->call('listInstanceUpdates', array($params), "Google_Service_Replicapoolupdater_InstanceUpdateList"); 
  376.  
  377. /** 
  378. * Pauses the update in state from ROLLING_FORWARD or ROLLING_BACK. Has no 
  379. * effect if invoked when the state of the update is PAUSED. 
  380. * (rollingUpdates.pause) 
  381. * 
  382. * @param string $project The Google Developers Console project name. 
  383. * @param string $zone The name of the zone in which the update's target 
  384. * resides. 
  385. * @param string $rollingUpdate The name of the update. 
  386. * @param array $optParams Optional parameters. 
  387. * @return Google_Service_Replicapoolupdater_Operation 
  388. */ 
  389. public function pause($project, $zone, $rollingUpdate, $optParams = array()) 
  390. $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); 
  391. $params = array_merge($params, $optParams); 
  392. return $this->call('pause', array($params), "Google_Service_Replicapoolupdater_Operation"); 
  393.  
  394. /** 
  395. * Continues an update in PAUSED state. Has no effect if invoked when the state 
  396. * of the update is ROLLED_OUT. (rollingUpdates.resume) 
  397. * 
  398. * @param string $project The Google Developers Console project name. 
  399. * @param string $zone The name of the zone in which the update's target 
  400. * resides. 
  401. * @param string $rollingUpdate The name of the update. 
  402. * @param array $optParams Optional parameters. 
  403. * @return Google_Service_Replicapoolupdater_Operation 
  404. */ 
  405. public function resume($project, $zone, $rollingUpdate, $optParams = array()) 
  406. $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); 
  407. $params = array_merge($params, $optParams); 
  408. return $this->call('resume', array($params), "Google_Service_Replicapoolupdater_Operation"); 
  409.  
  410. /** 
  411. * Rolls back the update in state from ROLLING_FORWARD or PAUSED. Has no effect 
  412. * if invoked when the state of the update is ROLLED_BACK. 
  413. * (rollingUpdates.rollback) 
  414. * 
  415. * @param string $project The Google Developers Console project name. 
  416. * @param string $zone The name of the zone in which the update's target 
  417. * resides. 
  418. * @param string $rollingUpdate The name of the update. 
  419. * @param array $optParams Optional parameters. 
  420. * @return Google_Service_Replicapoolupdater_Operation 
  421. */ 
  422. public function rollback($project, $zone, $rollingUpdate, $optParams = array()) 
  423. $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); 
  424. $params = array_merge($params, $optParams); 
  425. return $this->call('rollback', array($params), "Google_Service_Replicapoolupdater_Operation"); 
  426.  
  427. /** 
  428. * The "zoneOperations" collection of methods. 
  429. * Typical usage is: 
  430. * <code> 
  431. * $replicapoolupdaterService = new Google_Service_Replicapoolupdater(...); 
  432. * $zoneOperations = $replicapoolupdaterService->zoneOperations; 
  433. * </code> 
  434. */ 
  435. class Google_Service_Replicapoolupdater_ZoneOperations_Resource extends Google_Service_Resource 
  436.  
  437. /** 
  438. * Retrieves the specified zone-specific operation resource. 
  439. * (zoneOperations.get) 
  440. * 
  441. * @param string $project Name of the project scoping this request. 
  442. * @param string $zone Name of the zone scoping this request. 
  443. * @param string $operation Name of the operation resource to return. 
  444. * @param array $optParams Optional parameters. 
  445. * @return Google_Service_Replicapoolupdater_Operation 
  446. */ 
  447. public function get($project, $zone, $operation, $optParams = array()) 
  448. $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); 
  449. $params = array_merge($params, $optParams); 
  450. return $this->call('get', array($params), "Google_Service_Replicapoolupdater_Operation"); 
  451.  
  452.  
  453.  
  454.  
  455. class Google_Service_Replicapoolupdater_InstanceUpdate extends Google_Model 
  456. protected $internal_gapi_mappings = array( 
  457. ); 
  458. protected $errorType = 'Google_Service_Replicapoolupdater_InstanceUpdateError'; 
  459. protected $errorDataType = ''; 
  460. public $instance; 
  461. public $status; 
  462.  
  463.  
  464. public function setError(Google_Service_Replicapoolupdater_InstanceUpdateError $error) 
  465. $this->error = $error; 
  466. public function getError() 
  467. return $this->error; 
  468. public function setInstance($instance) 
  469. $this->instance = $instance; 
  470. public function getInstance() 
  471. return $this->instance; 
  472. public function setStatus($status) 
  473. $this->status = $status; 
  474. public function getStatus() 
  475. return $this->status; 
  476.  
  477. class Google_Service_Replicapoolupdater_InstanceUpdateError extends Google_Collection 
  478. protected $collection_key = 'errors'; 
  479. protected $internal_gapi_mappings = array( 
  480. ); 
  481. protected $errorsType = 'Google_Service_Replicapoolupdater_InstanceUpdateErrorErrors'; 
  482. protected $errorsDataType = 'array'; 
  483.  
  484.  
  485. public function setErrors($errors) 
  486. $this->errors = $errors; 
  487. public function getErrors() 
  488. return $this->errors; 
  489.  
  490. class Google_Service_Replicapoolupdater_InstanceUpdateErrorErrors extends Google_Model 
  491. protected $internal_gapi_mappings = array( 
  492. ); 
  493. public $code; 
  494. public $location; 
  495. public $message; 
  496.  
  497.  
  498. public function setCode($code) 
  499. $this->code = $code; 
  500. public function getCode() 
  501. return $this->code; 
  502. public function setLocation($location) 
  503. $this->location = $location; 
  504. public function getLocation() 
  505. return $this->location; 
  506. public function setMessage($message) 
  507. $this->message = $message; 
  508. public function getMessage() 
  509. return $this->message; 
  510.  
  511. class Google_Service_Replicapoolupdater_InstanceUpdateList extends Google_Collection 
  512. protected $collection_key = 'items'; 
  513. protected $internal_gapi_mappings = array( 
  514. ); 
  515. protected $itemsType = 'Google_Service_Replicapoolupdater_InstanceUpdate'; 
  516. protected $itemsDataType = 'array'; 
  517. public $kind; 
  518. public $nextPageToken; 
  519. public $selfLink; 
  520.  
  521.  
  522. public function setItems($items) 
  523. $this->items = $items; 
  524. public function getItems() 
  525. return $this->items; 
  526. public function setKind($kind) 
  527. $this->kind = $kind; 
  528. public function getKind() 
  529. return $this->kind; 
  530. public function setNextPageToken($nextPageToken) 
  531. $this->nextPageToken = $nextPageToken; 
  532. public function getNextPageToken() 
  533. return $this->nextPageToken; 
  534. public function setSelfLink($selfLink) 
  535. $this->selfLink = $selfLink; 
  536. public function getSelfLink() 
  537. return $this->selfLink; 
  538.  
  539. class Google_Service_Replicapoolupdater_Operation extends Google_Collection 
  540. protected $collection_key = 'warnings'; 
  541. protected $internal_gapi_mappings = array( 
  542. ); 
  543. public $clientOperationId; 
  544. public $creationTimestamp; 
  545. public $endTime; 
  546. protected $errorType = 'Google_Service_Replicapoolupdater_OperationError'; 
  547. protected $errorDataType = ''; 
  548. public $httpErrorMessage; 
  549. public $httpErrorStatusCode; 
  550. public $id; 
  551. public $insertTime; 
  552. public $kind; 
  553. public $name; 
  554. public $operationType; 
  555. public $progress; 
  556. public $region; 
  557. public $selfLink; 
  558. public $startTime; 
  559. public $status; 
  560. public $statusMessage; 
  561. public $targetId; 
  562. public $targetLink; 
  563. public $user; 
  564. protected $warningsType = 'Google_Service_Replicapoolupdater_OperationWarnings'; 
  565. protected $warningsDataType = 'array'; 
  566. public $zone; 
  567.  
  568.  
  569. public function setClientOperationId($clientOperationId) 
  570. $this->clientOperationId = $clientOperationId; 
  571. public function getClientOperationId() 
  572. return $this->clientOperationId; 
  573. public function setCreationTimestamp($creationTimestamp) 
  574. $this->creationTimestamp = $creationTimestamp; 
  575. public function getCreationTimestamp() 
  576. return $this->creationTimestamp; 
  577. public function setEndTime($endTime) 
  578. $this->endTime = $endTime; 
  579. public function getEndTime() 
  580. return $this->endTime; 
  581. public function setError(Google_Service_Replicapoolupdater_OperationError $error) 
  582. $this->error = $error; 
  583. public function getError() 
  584. return $this->error; 
  585. public function setHttpErrorMessage($httpErrorMessage) 
  586. $this->httpErrorMessage = $httpErrorMessage; 
  587. public function getHttpErrorMessage() 
  588. return $this->httpErrorMessage; 
  589. public function setHttpErrorStatusCode($httpErrorStatusCode) 
  590. $this->httpErrorStatusCode = $httpErrorStatusCode; 
  591. public function getHttpErrorStatusCode() 
  592. return $this->httpErrorStatusCode; 
  593. public function setId($id) 
  594. $this->id = $id; 
  595. public function getId() 
  596. return $this->id; 
  597. public function setInsertTime($insertTime) 
  598. $this->insertTime = $insertTime; 
  599. public function getInsertTime() 
  600. return $this->insertTime; 
  601. public function setKind($kind) 
  602. $this->kind = $kind; 
  603. public function getKind() 
  604. return $this->kind; 
  605. public function setName($name) 
  606. $this->name = $name; 
  607. public function getName() 
  608. return $this->name; 
  609. public function setOperationType($operationType) 
  610. $this->operationType = $operationType; 
  611. public function getOperationType() 
  612. return $this->operationType; 
  613. public function setProgress($progress) 
  614. $this->progress = $progress; 
  615. public function getProgress() 
  616. return $this->progress; 
  617. public function setRegion($region) 
  618. $this->region = $region; 
  619. public function getRegion() 
  620. return $this->region; 
  621. public function setSelfLink($selfLink) 
  622. $this->selfLink = $selfLink; 
  623. public function getSelfLink() 
  624. return $this->selfLink; 
  625. public function setStartTime($startTime) 
  626. $this->startTime = $startTime; 
  627. public function getStartTime() 
  628. return $this->startTime; 
  629. public function setStatus($status) 
  630. $this->status = $status; 
  631. public function getStatus() 
  632. return $this->status; 
  633. public function setStatusMessage($statusMessage) 
  634. $this->statusMessage = $statusMessage; 
  635. public function getStatusMessage() 
  636. return $this->statusMessage; 
  637. public function setTargetId($targetId) 
  638. $this->targetId = $targetId; 
  639. public function getTargetId() 
  640. return $this->targetId; 
  641. public function setTargetLink($targetLink) 
  642. $this->targetLink = $targetLink; 
  643. public function getTargetLink() 
  644. return $this->targetLink; 
  645. public function setUser($user) 
  646. $this->user = $user; 
  647. public function getUser() 
  648. return $this->user; 
  649. public function setWarnings($warnings) 
  650. $this->warnings = $warnings; 
  651. public function getWarnings() 
  652. return $this->warnings; 
  653. public function setZone($zone) 
  654. $this->zone = $zone; 
  655. public function getZone() 
  656. return $this->zone; 
  657.  
  658. class Google_Service_Replicapoolupdater_OperationError extends Google_Collection 
  659. protected $collection_key = 'errors'; 
  660. protected $internal_gapi_mappings = array( 
  661. ); 
  662. protected $errorsType = 'Google_Service_Replicapoolupdater_OperationErrorErrors'; 
  663. protected $errorsDataType = 'array'; 
  664.  
  665.  
  666. public function setErrors($errors) 
  667. $this->errors = $errors; 
  668. public function getErrors() 
  669. return $this->errors; 
  670.  
  671. class Google_Service_Replicapoolupdater_OperationErrorErrors extends Google_Model 
  672. protected $internal_gapi_mappings = array( 
  673. ); 
  674. public $code; 
  675. public $location; 
  676. public $message; 
  677.  
  678.  
  679. public function setCode($code) 
  680. $this->code = $code; 
  681. public function getCode() 
  682. return $this->code; 
  683. public function setLocation($location) 
  684. $this->location = $location; 
  685. public function getLocation() 
  686. return $this->location; 
  687. public function setMessage($message) 
  688. $this->message = $message; 
  689. public function getMessage() 
  690. return $this->message; 
  691.  
  692. class Google_Service_Replicapoolupdater_OperationWarnings extends Google_Collection 
  693. protected $collection_key = 'data'; 
  694. protected $internal_gapi_mappings = array( 
  695. ); 
  696. public $code; 
  697. protected $dataType = 'Google_Service_Replicapoolupdater_OperationWarningsData'; 
  698. protected $dataDataType = 'array'; 
  699. public $message; 
  700.  
  701.  
  702. public function setCode($code) 
  703. $this->code = $code; 
  704. public function getCode() 
  705. return $this->code; 
  706. public function setData($data) 
  707. $this->data = $data; 
  708. public function getData() 
  709. return $this->data; 
  710. public function setMessage($message) 
  711. $this->message = $message; 
  712. public function getMessage() 
  713. return $this->message; 
  714.  
  715. class Google_Service_Replicapoolupdater_OperationWarningsData extends Google_Model 
  716. protected $internal_gapi_mappings = array( 
  717. ); 
  718. public $key; 
  719. public $value; 
  720.  
  721.  
  722. public function setKey($key) 
  723. $this->key = $key; 
  724. public function getKey() 
  725. return $this->key; 
  726. public function setValue($value) 
  727. $this->value = $value; 
  728. public function getValue() 
  729. return $this->value; 
  730.  
  731. class Google_Service_Replicapoolupdater_RollingUpdate extends Google_Model 
  732. protected $internal_gapi_mappings = array( 
  733. ); 
  734. public $actionType; 
  735. public $creationTimestamp; 
  736. public $description; 
  737. public $id; 
  738. public $instanceGroup; 
  739. public $instanceGroupManager; 
  740. public $instanceTemplate; 
  741. public $kind; 
  742. protected $policyType = 'Google_Service_Replicapoolupdater_RollingUpdatePolicy'; 
  743. protected $policyDataType = ''; 
  744. public $progress; 
  745. public $selfLink; 
  746. public $status; 
  747. public $statusMessage; 
  748. public $user; 
  749.  
  750.  
  751. public function setActionType($actionType) 
  752. $this->actionType = $actionType; 
  753. public function getActionType() 
  754. return $this->actionType; 
  755. public function setCreationTimestamp($creationTimestamp) 
  756. $this->creationTimestamp = $creationTimestamp; 
  757. public function getCreationTimestamp() 
  758. return $this->creationTimestamp; 
  759. public function setDescription($description) 
  760. $this->description = $description; 
  761. public function getDescription() 
  762. return $this->description; 
  763. public function setId($id) 
  764. $this->id = $id; 
  765. public function getId() 
  766. return $this->id; 
  767. public function setInstanceGroup($instanceGroup) 
  768. $this->instanceGroup = $instanceGroup; 
  769. public function getInstanceGroup() 
  770. return $this->instanceGroup; 
  771. public function setInstanceGroupManager($instanceGroupManager) 
  772. $this->instanceGroupManager = $instanceGroupManager; 
  773. public function getInstanceGroupManager() 
  774. return $this->instanceGroupManager; 
  775. public function setInstanceTemplate($instanceTemplate) 
  776. $this->instanceTemplate = $instanceTemplate; 
  777. public function getInstanceTemplate() 
  778. return $this->instanceTemplate; 
  779. public function setKind($kind) 
  780. $this->kind = $kind; 
  781. public function getKind() 
  782. return $this->kind; 
  783. public function setPolicy(Google_Service_Replicapoolupdater_RollingUpdatePolicy $policy) 
  784. $this->policy = $policy; 
  785. public function getPolicy() 
  786. return $this->policy; 
  787. public function setProgress($progress) 
  788. $this->progress = $progress; 
  789. public function getProgress() 
  790. return $this->progress; 
  791. public function setSelfLink($selfLink) 
  792. $this->selfLink = $selfLink; 
  793. public function getSelfLink() 
  794. return $this->selfLink; 
  795. public function setStatus($status) 
  796. $this->status = $status; 
  797. public function getStatus() 
  798. return $this->status; 
  799. public function setStatusMessage($statusMessage) 
  800. $this->statusMessage = $statusMessage; 
  801. public function getStatusMessage() 
  802. return $this->statusMessage; 
  803. public function setUser($user) 
  804. $this->user = $user; 
  805. public function getUser() 
  806. return $this->user; 
  807.  
  808. class Google_Service_Replicapoolupdater_RollingUpdateList extends Google_Collection 
  809. protected $collection_key = 'items'; 
  810. protected $internal_gapi_mappings = array( 
  811. ); 
  812. protected $itemsType = 'Google_Service_Replicapoolupdater_RollingUpdate'; 
  813. protected $itemsDataType = 'array'; 
  814. public $kind; 
  815. public $nextPageToken; 
  816. public $selfLink; 
  817.  
  818.  
  819. public function setItems($items) 
  820. $this->items = $items; 
  821. public function getItems() 
  822. return $this->items; 
  823. public function setKind($kind) 
  824. $this->kind = $kind; 
  825. public function getKind() 
  826. return $this->kind; 
  827. public function setNextPageToken($nextPageToken) 
  828. $this->nextPageToken = $nextPageToken; 
  829. public function getNextPageToken() 
  830. return $this->nextPageToken; 
  831. public function setSelfLink($selfLink) 
  832. $this->selfLink = $selfLink; 
  833. public function getSelfLink() 
  834. return $this->selfLink; 
  835.  
  836. class Google_Service_Replicapoolupdater_RollingUpdatePolicy extends Google_Model 
  837. protected $internal_gapi_mappings = array( 
  838. ); 
  839. protected $canaryType = 'Google_Service_Replicapoolupdater_RollingUpdatePolicyCanary'; 
  840. protected $canaryDataType = ''; 
  841. public $maxNumConcurrentInstances; 
  842. public $sleepAfterInstanceRestartSec; 
  843.  
  844.  
  845. public function setCanary(Google_Service_Replicapoolupdater_RollingUpdatePolicyCanary $canary) 
  846. $this->canary = $canary; 
  847. public function getCanary() 
  848. return $this->canary; 
  849. public function setMaxNumConcurrentInstances($maxNumConcurrentInstances) 
  850. $this->maxNumConcurrentInstances = $maxNumConcurrentInstances; 
  851. public function getMaxNumConcurrentInstances() 
  852. return $this->maxNumConcurrentInstances; 
  853. public function setSleepAfterInstanceRestartSec($sleepAfterInstanceRestartSec) 
  854. $this->sleepAfterInstanceRestartSec = $sleepAfterInstanceRestartSec; 
  855. public function getSleepAfterInstanceRestartSec() 
  856. return $this->sleepAfterInstanceRestartSec; 
  857.  
  858. class Google_Service_Replicapoolupdater_RollingUpdatePolicyCanary extends Google_Model 
  859. protected $internal_gapi_mappings = array( 
  860. ); 
  861. public $numInstances; 
  862.  
  863.  
  864. public function setNumInstances($numInstances) 
  865. $this->numInstances = $numInstances; 
  866. public function getNumInstances() 
  867. return $this->numInstances; 
.