/includes/api-libs/Google/Service/Container.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 Container (v1beta1). 
  20. * 
  21. * <p> 
  22. * The Google Container Engine API is used for building and managing container 
  23. * based applications, powered by the open source Kubernetes technology.</p> 
  24. * 
  25. * <p> 
  26. * For more information about this service, see the API 
  27. * <a href="https://cloud.google.com/container-engine/docs/v1beta1/" target="_blank">Documentation</a> 
  28. * </p> 
  29. * 
  30. * @author Google, Inc. 
  31. */ 
  32. class Google_Service_Container 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.  
  37. public $projects_clusters; 
  38. public $projects_operations; 
  39. public $projects_zones_clusters; 
  40. public $projects_zones_operations; 
  41.  
  42.  
  43. /** 
  44. * Constructs the internal representation of the Container service. 
  45. * 
  46. * @param Google_Client $client 
  47. */ 
  48. public function __construct(Google_Client $client) 
  49. parent::__construct($client); 
  50. $this->servicePath = 'container/v1beta1/projects/'; 
  51. $this->version = 'v1beta1'; 
  52. $this->serviceName = 'container'; 
  53.  
  54. $this->projects_clusters = new Google_Service_Container_ProjectsClusters_Resource( 
  55. $this,  
  56. $this->serviceName,  
  57. 'clusters',  
  58. array( 
  59. 'methods' => array( 
  60. 'list' => array( 
  61. 'path' => '{projectId}/clusters',  
  62. 'httpMethod' => 'GET',  
  63. 'parameters' => array( 
  64. 'projectId' => array( 
  65. 'location' => 'path',  
  66. 'type' => 'string',  
  67. 'required' => true,  
  68. ),  
  69. ),  
  70. ),  
  71. ); 
  72. $this->projects_operations = new Google_Service_Container_ProjectsOperations_Resource( 
  73. $this,  
  74. $this->serviceName,  
  75. 'operations',  
  76. array( 
  77. 'methods' => array( 
  78. 'list' => array( 
  79. 'path' => '{projectId}/operations',  
  80. 'httpMethod' => 'GET',  
  81. 'parameters' => array( 
  82. 'projectId' => array( 
  83. 'location' => 'path',  
  84. 'type' => 'string',  
  85. 'required' => true,  
  86. ),  
  87. ),  
  88. ),  
  89. ); 
  90. $this->projects_zones_clusters = new Google_Service_Container_ProjectsZonesClusters_Resource( 
  91. $this,  
  92. $this->serviceName,  
  93. 'clusters',  
  94. array( 
  95. 'methods' => array( 
  96. 'create' => array( 
  97. 'path' => '{projectId}/zones/{zoneId}/clusters',  
  98. 'httpMethod' => 'POST',  
  99. 'parameters' => array( 
  100. 'projectId' => array( 
  101. 'location' => 'path',  
  102. 'type' => 'string',  
  103. 'required' => true,  
  104. ),  
  105. 'zoneId' => array( 
  106. 'location' => 'path',  
  107. 'type' => 'string',  
  108. 'required' => true,  
  109. ),  
  110. ),  
  111. ), 'delete' => array( 
  112. 'path' => '{projectId}/zones/{zoneId}/clusters/{clusterId}',  
  113. 'httpMethod' => 'DELETE',  
  114. 'parameters' => array( 
  115. 'projectId' => array( 
  116. 'location' => 'path',  
  117. 'type' => 'string',  
  118. 'required' => true,  
  119. ),  
  120. 'zoneId' => array( 
  121. 'location' => 'path',  
  122. 'type' => 'string',  
  123. 'required' => true,  
  124. ),  
  125. 'clusterId' => array( 
  126. 'location' => 'path',  
  127. 'type' => 'string',  
  128. 'required' => true,  
  129. ),  
  130. ),  
  131. ), 'get' => array( 
  132. 'path' => '{projectId}/zones/{zoneId}/clusters/{clusterId}',  
  133. 'httpMethod' => 'GET',  
  134. 'parameters' => array( 
  135. 'projectId' => array( 
  136. 'location' => 'path',  
  137. 'type' => 'string',  
  138. 'required' => true,  
  139. ),  
  140. 'zoneId' => array( 
  141. 'location' => 'path',  
  142. 'type' => 'string',  
  143. 'required' => true,  
  144. ),  
  145. 'clusterId' => array( 
  146. 'location' => 'path',  
  147. 'type' => 'string',  
  148. 'required' => true,  
  149. ),  
  150. ),  
  151. ), 'list' => array( 
  152. 'path' => '{projectId}/zones/{zoneId}/clusters',  
  153. 'httpMethod' => 'GET',  
  154. 'parameters' => array( 
  155. 'projectId' => array( 
  156. 'location' => 'path',  
  157. 'type' => 'string',  
  158. 'required' => true,  
  159. ),  
  160. 'zoneId' => array( 
  161. 'location' => 'path',  
  162. 'type' => 'string',  
  163. 'required' => true,  
  164. ),  
  165. ),  
  166. ),  
  167. ); 
  168. $this->projects_zones_operations = new Google_Service_Container_ProjectsZonesOperations_Resource( 
  169. $this,  
  170. $this->serviceName,  
  171. 'operations',  
  172. array( 
  173. 'methods' => array( 
  174. 'get' => array( 
  175. 'path' => '{projectId}/zones/{zoneId}/operations/{operationId}',  
  176. 'httpMethod' => 'GET',  
  177. 'parameters' => array( 
  178. 'projectId' => array( 
  179. 'location' => 'path',  
  180. 'type' => 'string',  
  181. 'required' => true,  
  182. ),  
  183. 'zoneId' => array( 
  184. 'location' => 'path',  
  185. 'type' => 'string',  
  186. 'required' => true,  
  187. ),  
  188. 'operationId' => array( 
  189. 'location' => 'path',  
  190. 'type' => 'string',  
  191. 'required' => true,  
  192. ),  
  193. ),  
  194. ), 'list' => array( 
  195. 'path' => '{projectId}/zones/{zoneId}/operations',  
  196. 'httpMethod' => 'GET',  
  197. 'parameters' => array( 
  198. 'projectId' => array( 
  199. 'location' => 'path',  
  200. 'type' => 'string',  
  201. 'required' => true,  
  202. ),  
  203. 'zoneId' => array( 
  204. 'location' => 'path',  
  205. 'type' => 'string',  
  206. 'required' => true,  
  207. ),  
  208. ),  
  209. ),  
  210. ); 
  211.  
  212.  
  213. /** 
  214. * The "projects" collection of methods. 
  215. * Typical usage is: 
  216. * <code> 
  217. * $containerService = new Google_Service_Container(...); 
  218. * $projects = $containerService->projects; 
  219. * </code> 
  220. */ 
  221. class Google_Service_Container_Projects_Resource extends Google_Service_Resource 
  222.  
  223. /** 
  224. * The "clusters" collection of methods. 
  225. * Typical usage is: 
  226. * <code> 
  227. * $containerService = new Google_Service_Container(...); 
  228. * $clusters = $containerService->clusters; 
  229. * </code> 
  230. */ 
  231. class Google_Service_Container_ProjectsClusters_Resource extends Google_Service_Resource 
  232.  
  233. /** 
  234. * Lists all clusters owned by a project across all zones. 
  235. * (clusters.listProjectsClusters) 
  236. * 
  237. * @param string $projectId The Google Developers Console project ID or project 
  238. * number. 
  239. * @param array $optParams Optional parameters. 
  240. * @return Google_Service_Container_ListAggregatedClustersResponse 
  241. */ 
  242. public function listProjectsClusters($projectId, $optParams = array()) 
  243. $params = array('projectId' => $projectId); 
  244. $params = array_merge($params, $optParams); 
  245. return $this->call('list', array($params), "Google_Service_Container_ListAggregatedClustersResponse"); 
  246. /** 
  247. * The "operations" collection of methods. 
  248. * Typical usage is: 
  249. * <code> 
  250. * $containerService = new Google_Service_Container(...); 
  251. * $operations = $containerService->operations; 
  252. * </code> 
  253. */ 
  254. class Google_Service_Container_ProjectsOperations_Resource extends Google_Service_Resource 
  255.  
  256. /** 
  257. * Lists all operations in a project, across all zones. 
  258. * (operations.listProjectsOperations) 
  259. * 
  260. * @param string $projectId The Google Developers Console project ID or project 
  261. * number. 
  262. * @param array $optParams Optional parameters. 
  263. * @return Google_Service_Container_ListAggregatedOperationsResponse 
  264. */ 
  265. public function listProjectsOperations($projectId, $optParams = array()) 
  266. $params = array('projectId' => $projectId); 
  267. $params = array_merge($params, $optParams); 
  268. return $this->call('list', array($params), "Google_Service_Container_ListAggregatedOperationsResponse"); 
  269. /** 
  270. * The "zones" collection of methods. 
  271. * Typical usage is: 
  272. * <code> 
  273. * $containerService = new Google_Service_Container(...); 
  274. * $zones = $containerService->zones; 
  275. * </code> 
  276. */ 
  277. class Google_Service_Container_ProjectsZones_Resource extends Google_Service_Resource 
  278.  
  279. /** 
  280. * The "clusters" collection of methods. 
  281. * Typical usage is: 
  282. * <code> 
  283. * $containerService = new Google_Service_Container(...); 
  284. * $clusters = $containerService->clusters; 
  285. * </code> 
  286. */ 
  287. class Google_Service_Container_ProjectsZonesClusters_Resource extends Google_Service_Resource 
  288.  
  289. /** 
  290. * Creates a cluster, consisting of the specified number and type of Google 
  291. * Compute Engine instances, plus a Kubernetes master instance. 
  292. * 
  293. * The cluster is created in the project's default network. 
  294. * 
  295. * A firewall is added that allows traffic into port 443 on the master, which 
  296. * enables HTTPS. A firewall and a route is added for each node to allow the 
  297. * containers on that node to communicate with all other instances in the 
  298. * cluster. 
  299. * 
  300. * Finally, a route named k8s-iproute-10-xx-0-0 is created to track that the 
  301. * cluster's 10.xx.0.0/16 CIDR has been assigned. (clusters.create) 
  302. * 
  303. * @param string $projectId The Google Developers Console project ID or project 
  304. * number. 
  305. * @param string $zoneId The name of the Google Compute Engine zone in which the 
  306. * cluster resides. 
  307. * @param Google_CreateClusterRequest $postBody 
  308. * @param array $optParams Optional parameters. 
  309. * @return Google_Service_Container_Operation 
  310. */ 
  311. public function create($projectId, $zoneId, Google_Service_Container_CreateClusterRequest $postBody, $optParams = array()) 
  312. $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'postBody' => $postBody); 
  313. $params = array_merge($params, $optParams); 
  314. return $this->call('create', array($params), "Google_Service_Container_Operation"); 
  315.  
  316. /** 
  317. * Deletes the cluster, including the Kubernetes master and all worker nodes. 
  318. * 
  319. * Firewalls and routes that were configured at cluster creation are also 
  320. * deleted. (clusters.delete) 
  321. * 
  322. * @param string $projectId The Google Developers Console project ID or project 
  323. * number. 
  324. * @param string $zoneId The name of the Google Compute Engine zone in which the 
  325. * cluster resides. 
  326. * @param string $clusterId The name of the cluster to delete. 
  327. * @param array $optParams Optional parameters. 
  328. * @return Google_Service_Container_Operation 
  329. */ 
  330. public function delete($projectId, $zoneId, $clusterId, $optParams = array()) 
  331. $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'clusterId' => $clusterId); 
  332. $params = array_merge($params, $optParams); 
  333. return $this->call('delete', array($params), "Google_Service_Container_Operation"); 
  334.  
  335. /** 
  336. * Gets a specific cluster. (clusters.get) 
  337. * 
  338. * @param string $projectId The Google Developers Console project ID or project 
  339. * number. 
  340. * @param string $zoneId The name of the Google Compute Engine zone in which the 
  341. * cluster resides. 
  342. * @param string $clusterId The name of the cluster to retrieve. 
  343. * @param array $optParams Optional parameters. 
  344. * @return Google_Service_Container_Cluster 
  345. */ 
  346. public function get($projectId, $zoneId, $clusterId, $optParams = array()) 
  347. $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'clusterId' => $clusterId); 
  348. $params = array_merge($params, $optParams); 
  349. return $this->call('get', array($params), "Google_Service_Container_Cluster"); 
  350.  
  351. /** 
  352. * Lists all clusters owned by a project in the specified zone. 
  353. * (clusters.listProjectsZonesClusters) 
  354. * 
  355. * @param string $projectId The Google Developers Console project ID or project 
  356. * number. 
  357. * @param string $zoneId The name of the Google Compute Engine zone in which the 
  358. * cluster resides. 
  359. * @param array $optParams Optional parameters. 
  360. * @return Google_Service_Container_ListClustersResponse 
  361. */ 
  362. public function listProjectsZonesClusters($projectId, $zoneId, $optParams = array()) 
  363. $params = array('projectId' => $projectId, 'zoneId' => $zoneId); 
  364. $params = array_merge($params, $optParams); 
  365. return $this->call('list', array($params), "Google_Service_Container_ListClustersResponse"); 
  366. /** 
  367. * The "operations" collection of methods. 
  368. * Typical usage is: 
  369. * <code> 
  370. * $containerService = new Google_Service_Container(...); 
  371. * $operations = $containerService->operations; 
  372. * </code> 
  373. */ 
  374. class Google_Service_Container_ProjectsZonesOperations_Resource extends Google_Service_Resource 
  375.  
  376. /** 
  377. * Gets the specified operation. (operations.get) 
  378. * 
  379. * @param string $projectId The Google Developers Console project ID or project 
  380. * number. 
  381. * @param string $zoneId The name of the Google Compute Engine zone in which the 
  382. * operation resides. This is always the same zone as the cluster with which the 
  383. * operation is associated. 
  384. * @param string $operationId The server-assigned name of the operation. 
  385. * @param array $optParams Optional parameters. 
  386. * @return Google_Service_Container_Operation 
  387. */ 
  388. public function get($projectId, $zoneId, $operationId, $optParams = array()) 
  389. $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'operationId' => $operationId); 
  390. $params = array_merge($params, $optParams); 
  391. return $this->call('get', array($params), "Google_Service_Container_Operation"); 
  392.  
  393. /** 
  394. * Lists all operations in a project in a specific zone. 
  395. * (operations.listProjectsZonesOperations) 
  396. * 
  397. * @param string $projectId The Google Developers Console project ID or project 
  398. * number. 
  399. * @param string $zoneId The name of the Google Compute Engine zone to return 
  400. * operations for. 
  401. * @param array $optParams Optional parameters. 
  402. * @return Google_Service_Container_ListOperationsResponse 
  403. */ 
  404. public function listProjectsZonesOperations($projectId, $zoneId, $optParams = array()) 
  405. $params = array('projectId' => $projectId, 'zoneId' => $zoneId); 
  406. $params = array_merge($params, $optParams); 
  407. return $this->call('list', array($params), "Google_Service_Container_ListOperationsResponse"); 
  408.  
  409.  
  410.  
  411.  
  412. class Google_Service_Container_Cluster extends Google_Model 
  413. protected $internal_gapi_mappings = array( 
  414. ); 
  415. public $clusterApiVersion; 
  416. public $containerIpv4Cidr; 
  417. public $creationTimestamp; 
  418. public $description; 
  419. public $endpoint; 
  420. protected $masterAuthType = 'Google_Service_Container_MasterAuth'; 
  421. protected $masterAuthDataType = ''; 
  422. public $name; 
  423. public $network; 
  424. protected $nodeConfigType = 'Google_Service_Container_NodeConfig'; 
  425. protected $nodeConfigDataType = ''; 
  426. public $nodeRoutingPrefixSize; 
  427. public $numNodes; 
  428. public $selfLink; 
  429. public $servicesIpv4Cidr; 
  430. public $status; 
  431. public $statusMessage; 
  432. public $zone; 
  433.  
  434.  
  435. public function setClusterApiVersion($clusterApiVersion) 
  436. $this->clusterApiVersion = $clusterApiVersion; 
  437. public function getClusterApiVersion() 
  438. return $this->clusterApiVersion; 
  439. public function setContainerIpv4Cidr($containerIpv4Cidr) 
  440. $this->containerIpv4Cidr = $containerIpv4Cidr; 
  441. public function getContainerIpv4Cidr() 
  442. return $this->containerIpv4Cidr; 
  443. public function setCreationTimestamp($creationTimestamp) 
  444. $this->creationTimestamp = $creationTimestamp; 
  445. public function getCreationTimestamp() 
  446. return $this->creationTimestamp; 
  447. public function setDescription($description) 
  448. $this->description = $description; 
  449. public function getDescription() 
  450. return $this->description; 
  451. public function setEndpoint($endpoint) 
  452. $this->endpoint = $endpoint; 
  453. public function getEndpoint() 
  454. return $this->endpoint; 
  455. public function setMasterAuth(Google_Service_Container_MasterAuth $masterAuth) 
  456. $this->masterAuth = $masterAuth; 
  457. public function getMasterAuth() 
  458. return $this->masterAuth; 
  459. public function setName($name) 
  460. $this->name = $name; 
  461. public function getName() 
  462. return $this->name; 
  463. public function setNetwork($network) 
  464. $this->network = $network; 
  465. public function getNetwork() 
  466. return $this->network; 
  467. public function setNodeConfig(Google_Service_Container_NodeConfig $nodeConfig) 
  468. $this->nodeConfig = $nodeConfig; 
  469. public function getNodeConfig() 
  470. return $this->nodeConfig; 
  471. public function setNodeRoutingPrefixSize($nodeRoutingPrefixSize) 
  472. $this->nodeRoutingPrefixSize = $nodeRoutingPrefixSize; 
  473. public function getNodeRoutingPrefixSize() 
  474. return $this->nodeRoutingPrefixSize; 
  475. public function setNumNodes($numNodes) 
  476. $this->numNodes = $numNodes; 
  477. public function getNumNodes() 
  478. return $this->numNodes; 
  479. public function setSelfLink($selfLink) 
  480. $this->selfLink = $selfLink; 
  481. public function getSelfLink() 
  482. return $this->selfLink; 
  483. public function setServicesIpv4Cidr($servicesIpv4Cidr) 
  484. $this->servicesIpv4Cidr = $servicesIpv4Cidr; 
  485. public function getServicesIpv4Cidr() 
  486. return $this->servicesIpv4Cidr; 
  487. public function setStatus($status) 
  488. $this->status = $status; 
  489. public function getStatus() 
  490. return $this->status; 
  491. public function setStatusMessage($statusMessage) 
  492. $this->statusMessage = $statusMessage; 
  493. public function getStatusMessage() 
  494. return $this->statusMessage; 
  495. public function setZone($zone) 
  496. $this->zone = $zone; 
  497. public function getZone() 
  498. return $this->zone; 
  499.  
  500. class Google_Service_Container_CreateClusterRequest extends Google_Model 
  501. protected $internal_gapi_mappings = array( 
  502. ); 
  503. protected $clusterType = 'Google_Service_Container_Cluster'; 
  504. protected $clusterDataType = ''; 
  505.  
  506.  
  507. public function setCluster(Google_Service_Container_Cluster $cluster) 
  508. $this->cluster = $cluster; 
  509. public function getCluster() 
  510. return $this->cluster; 
  511.  
  512. class Google_Service_Container_ListAggregatedClustersResponse extends Google_Collection 
  513. protected $collection_key = 'clusters'; 
  514. protected $internal_gapi_mappings = array( 
  515. ); 
  516. protected $clustersType = 'Google_Service_Container_Cluster'; 
  517. protected $clustersDataType = 'array'; 
  518.  
  519.  
  520. public function setClusters($clusters) 
  521. $this->clusters = $clusters; 
  522. public function getClusters() 
  523. return $this->clusters; 
  524.  
  525. class Google_Service_Container_ListAggregatedOperationsResponse extends Google_Collection 
  526. protected $collection_key = 'operations'; 
  527. protected $internal_gapi_mappings = array( 
  528. ); 
  529. protected $operationsType = 'Google_Service_Container_Operation'; 
  530. protected $operationsDataType = 'array'; 
  531.  
  532.  
  533. public function setOperations($operations) 
  534. $this->operations = $operations; 
  535. public function getOperations() 
  536. return $this->operations; 
  537.  
  538. class Google_Service_Container_ListClustersResponse extends Google_Collection 
  539. protected $collection_key = 'clusters'; 
  540. protected $internal_gapi_mappings = array( 
  541. ); 
  542. protected $clustersType = 'Google_Service_Container_Cluster'; 
  543. protected $clustersDataType = 'array'; 
  544.  
  545.  
  546. public function setClusters($clusters) 
  547. $this->clusters = $clusters; 
  548. public function getClusters() 
  549. return $this->clusters; 
  550.  
  551. class Google_Service_Container_ListOperationsResponse extends Google_Collection 
  552. protected $collection_key = 'operations'; 
  553. protected $internal_gapi_mappings = array( 
  554. ); 
  555. protected $operationsType = 'Google_Service_Container_Operation'; 
  556. protected $operationsDataType = 'array'; 
  557.  
  558.  
  559. public function setOperations($operations) 
  560. $this->operations = $operations; 
  561. public function getOperations() 
  562. return $this->operations; 
  563.  
  564. class Google_Service_Container_MasterAuth extends Google_Model 
  565. protected $internal_gapi_mappings = array( 
  566. ); 
  567. public $password; 
  568. public $user; 
  569.  
  570.  
  571. public function setPassword($password) 
  572. $this->password = $password; 
  573. public function getPassword() 
  574. return $this->password; 
  575. public function setUser($user) 
  576. $this->user = $user; 
  577. public function getUser() 
  578. return $this->user; 
  579.  
  580. class Google_Service_Container_NodeConfig extends Google_Collection 
  581. protected $collection_key = 'serviceAccounts'; 
  582. protected $internal_gapi_mappings = array( 
  583. ); 
  584. public $machineType; 
  585. protected $serviceAccountsType = 'Google_Service_Container_ServiceAccount'; 
  586. protected $serviceAccountsDataType = 'array'; 
  587. public $sourceImage; 
  588.  
  589.  
  590. public function setMachineType($machineType) 
  591. $this->machineType = $machineType; 
  592. public function getMachineType() 
  593. return $this->machineType; 
  594. public function setServiceAccounts($serviceAccounts) 
  595. $this->serviceAccounts = $serviceAccounts; 
  596. public function getServiceAccounts() 
  597. return $this->serviceAccounts; 
  598. public function setSourceImage($sourceImage) 
  599. $this->sourceImage = $sourceImage; 
  600. public function getSourceImage() 
  601. return $this->sourceImage; 
  602.  
  603. class Google_Service_Container_Operation extends Google_Model 
  604. protected $internal_gapi_mappings = array( 
  605. ); 
  606. public $errorMessage; 
  607. public $name; 
  608. public $operationType; 
  609. public $selfLink; 
  610. public $status; 
  611. public $target; 
  612. public $targetLink; 
  613. public $zone; 
  614.  
  615.  
  616. public function setErrorMessage($errorMessage) 
  617. $this->errorMessage = $errorMessage; 
  618. public function getErrorMessage() 
  619. return $this->errorMessage; 
  620. public function setName($name) 
  621. $this->name = $name; 
  622. public function getName() 
  623. return $this->name; 
  624. public function setOperationType($operationType) 
  625. $this->operationType = $operationType; 
  626. public function getOperationType() 
  627. return $this->operationType; 
  628. public function setSelfLink($selfLink) 
  629. $this->selfLink = $selfLink; 
  630. public function getSelfLink() 
  631. return $this->selfLink; 
  632. public function setStatus($status) 
  633. $this->status = $status; 
  634. public function getStatus() 
  635. return $this->status; 
  636. public function setTarget($target) 
  637. $this->target = $target; 
  638. public function getTarget() 
  639. return $this->target; 
  640. public function setTargetLink($targetLink) 
  641. $this->targetLink = $targetLink; 
  642. public function getTargetLink() 
  643. return $this->targetLink; 
  644. public function setZone($zone) 
  645. $this->zone = $zone; 
  646. public function getZone() 
  647. return $this->zone; 
  648.  
  649. class Google_Service_Container_ServiceAccount extends Google_Collection 
  650. protected $collection_key = 'scopes'; 
  651. protected $internal_gapi_mappings = array( 
  652. ); 
  653. public $email; 
  654. public $scopes; 
  655.  
  656.  
  657. public function setEmail($email) 
  658. $this->email = $email; 
  659. public function getEmail() 
  660. return $this->email; 
  661. public function setScopes($scopes) 
  662. $this->scopes = $scopes; 
  663. public function getScopes() 
  664. return $this->scopes; 
.