PageRenderTime 48ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/lib/google/src/Google/Service/Manager.php

http://github.com/moodle/moodle
PHP | 1861 lines | 1600 code | 128 blank | 133 comment | 0 complexity | 9e466249f8ca2b96f60c80405ea59ef9 MD5 | raw file
Possible License(s): MIT, AGPL-3.0, MPL-2.0-no-copyleft-exception, LGPL-3.0, GPL-3.0, Apache-2.0, LGPL-2.1, BSD-3-Clause
  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. * Service definition for Manager (v1beta2).
  19. *
  20. * <p>
  21. * The Deployment Manager API allows users to declaratively configure, deploy
  22. * and run complex solutions on the Google Cloud Platform.</p>
  23. *
  24. * <p>
  25. * For more information about this service, see the API
  26. * <a href="https://developers.google.com/deployment-manager/" target="_blank">Documentation</a>
  27. * </p>
  28. *
  29. * @author Google, Inc.
  30. */
  31. class Google_Service_Manager extends Google_Service
  32. {
  33. /** View and manage your applications deployed on Google App Engine. */
  34. const APPENGINE_ADMIN =
  35. "https://www.googleapis.com/auth/appengine.admin";
  36. /** View and manage your data across Google Cloud Platform services. */
  37. const CLOUD_PLATFORM =
  38. "https://www.googleapis.com/auth/cloud-platform";
  39. /** View your data across Google Cloud Platform services. */
  40. const CLOUD_PLATFORM_READ_ONLY =
  41. "https://www.googleapis.com/auth/cloud-platform.read-only";
  42. /** View and manage your Google Compute Engine resources. */
  43. const COMPUTE =
  44. "https://www.googleapis.com/auth/compute";
  45. /** Manage your data in Google Cloud Storage. */
  46. const DEVSTORAGE_READ_WRITE =
  47. "https://www.googleapis.com/auth/devstorage.read_write";
  48. /** View and manage your Google Cloud Platform management resources and deployment status information. */
  49. const NDEV_CLOUDMAN =
  50. "https://www.googleapis.com/auth/ndev.cloudman";
  51. /** View your Google Cloud Platform management resources and deployment status information. */
  52. const NDEV_CLOUDMAN_READONLY =
  53. "https://www.googleapis.com/auth/ndev.cloudman.readonly";
  54. public $deployments;
  55. public $templates;
  56. /**
  57. * Constructs the internal representation of the Manager service.
  58. *
  59. * @param Google_Client $client
  60. */
  61. public function __construct(Google_Client $client)
  62. {
  63. parent::__construct($client);
  64. $this->rootUrl = 'https://www.googleapis.com/';
  65. $this->servicePath = 'manager/v1beta2/projects/';
  66. $this->version = 'v1beta2';
  67. $this->serviceName = 'manager';
  68. $this->deployments = new Google_Service_Manager_Deployments_Resource(
  69. $this,
  70. $this->serviceName,
  71. 'deployments',
  72. array(
  73. 'methods' => array(
  74. 'delete' => array(
  75. 'path' => '{projectId}/regions/{region}/deployments/{deploymentName}',
  76. 'httpMethod' => 'DELETE',
  77. 'parameters' => array(
  78. 'projectId' => array(
  79. 'location' => 'path',
  80. 'type' => 'string',
  81. 'required' => true,
  82. ),
  83. 'region' => array(
  84. 'location' => 'path',
  85. 'type' => 'string',
  86. 'required' => true,
  87. ),
  88. 'deploymentName' => array(
  89. 'location' => 'path',
  90. 'type' => 'string',
  91. 'required' => true,
  92. ),
  93. ),
  94. ),'get' => array(
  95. 'path' => '{projectId}/regions/{region}/deployments/{deploymentName}',
  96. 'httpMethod' => 'GET',
  97. 'parameters' => array(
  98. 'projectId' => array(
  99. 'location' => 'path',
  100. 'type' => 'string',
  101. 'required' => true,
  102. ),
  103. 'region' => array(
  104. 'location' => 'path',
  105. 'type' => 'string',
  106. 'required' => true,
  107. ),
  108. 'deploymentName' => array(
  109. 'location' => 'path',
  110. 'type' => 'string',
  111. 'required' => true,
  112. ),
  113. ),
  114. ),'insert' => array(
  115. 'path' => '{projectId}/regions/{region}/deployments',
  116. 'httpMethod' => 'POST',
  117. 'parameters' => array(
  118. 'projectId' => array(
  119. 'location' => 'path',
  120. 'type' => 'string',
  121. 'required' => true,
  122. ),
  123. 'region' => array(
  124. 'location' => 'path',
  125. 'type' => 'string',
  126. 'required' => true,
  127. ),
  128. ),
  129. ),'list' => array(
  130. 'path' => '{projectId}/regions/{region}/deployments',
  131. 'httpMethod' => 'GET',
  132. 'parameters' => array(
  133. 'projectId' => array(
  134. 'location' => 'path',
  135. 'type' => 'string',
  136. 'required' => true,
  137. ),
  138. 'region' => array(
  139. 'location' => 'path',
  140. 'type' => 'string',
  141. 'required' => true,
  142. ),
  143. 'pageToken' => array(
  144. 'location' => 'query',
  145. 'type' => 'string',
  146. ),
  147. 'maxResults' => array(
  148. 'location' => 'query',
  149. 'type' => 'integer',
  150. ),
  151. ),
  152. ),
  153. )
  154. )
  155. );
  156. $this->templates = new Google_Service_Manager_Templates_Resource(
  157. $this,
  158. $this->serviceName,
  159. 'templates',
  160. array(
  161. 'methods' => array(
  162. 'delete' => array(
  163. 'path' => '{projectId}/templates/{templateName}',
  164. 'httpMethod' => 'DELETE',
  165. 'parameters' => array(
  166. 'projectId' => array(
  167. 'location' => 'path',
  168. 'type' => 'string',
  169. 'required' => true,
  170. ),
  171. 'templateName' => array(
  172. 'location' => 'path',
  173. 'type' => 'string',
  174. 'required' => true,
  175. ),
  176. ),
  177. ),'get' => array(
  178. 'path' => '{projectId}/templates/{templateName}',
  179. 'httpMethod' => 'GET',
  180. 'parameters' => array(
  181. 'projectId' => array(
  182. 'location' => 'path',
  183. 'type' => 'string',
  184. 'required' => true,
  185. ),
  186. 'templateName' => array(
  187. 'location' => 'path',
  188. 'type' => 'string',
  189. 'required' => true,
  190. ),
  191. ),
  192. ),'insert' => array(
  193. 'path' => '{projectId}/templates',
  194. 'httpMethod' => 'POST',
  195. 'parameters' => array(
  196. 'projectId' => array(
  197. 'location' => 'path',
  198. 'type' => 'string',
  199. 'required' => true,
  200. ),
  201. ),
  202. ),'list' => array(
  203. 'path' => '{projectId}/templates',
  204. 'httpMethod' => 'GET',
  205. 'parameters' => array(
  206. 'projectId' => array(
  207. 'location' => 'path',
  208. 'type' => 'string',
  209. 'required' => true,
  210. ),
  211. 'pageToken' => array(
  212. 'location' => 'query',
  213. 'type' => 'string',
  214. ),
  215. 'maxResults' => array(
  216. 'location' => 'query',
  217. 'type' => 'integer',
  218. ),
  219. ),
  220. ),
  221. )
  222. )
  223. );
  224. }
  225. }
  226. /**
  227. * The "deployments" collection of methods.
  228. * Typical usage is:
  229. * <code>
  230. * $managerService = new Google_Service_Manager(...);
  231. * $deployments = $managerService->deployments;
  232. * </code>
  233. */
  234. class Google_Service_Manager_Deployments_Resource extends Google_Service_Resource
  235. {
  236. /**
  237. * (deployments.delete)
  238. *
  239. * @param string $projectId
  240. * @param string $region
  241. * @param string $deploymentName
  242. * @param array $optParams Optional parameters.
  243. */
  244. public function delete($projectId, $region, $deploymentName, $optParams = array())
  245. {
  246. $params = array('projectId' => $projectId, 'region' => $region, 'deploymentName' => $deploymentName);
  247. $params = array_merge($params, $optParams);
  248. return $this->call('delete', array($params));
  249. }
  250. /**
  251. * (deployments.get)
  252. *
  253. * @param string $projectId
  254. * @param string $region
  255. * @param string $deploymentName
  256. * @param array $optParams Optional parameters.
  257. * @return Google_Service_Manager_Deployment
  258. */
  259. public function get($projectId, $region, $deploymentName, $optParams = array())
  260. {
  261. $params = array('projectId' => $projectId, 'region' => $region, 'deploymentName' => $deploymentName);
  262. $params = array_merge($params, $optParams);
  263. return $this->call('get', array($params), "Google_Service_Manager_Deployment");
  264. }
  265. /**
  266. * (deployments.insert)
  267. *
  268. * @param string $projectId
  269. * @param string $region
  270. * @param Google_Deployment $postBody
  271. * @param array $optParams Optional parameters.
  272. * @return Google_Service_Manager_Deployment
  273. */
  274. public function insert($projectId, $region, Google_Service_Manager_Deployment $postBody, $optParams = array())
  275. {
  276. $params = array('projectId' => $projectId, 'region' => $region, 'postBody' => $postBody);
  277. $params = array_merge($params, $optParams);
  278. return $this->call('insert', array($params), "Google_Service_Manager_Deployment");
  279. }
  280. /**
  281. * (deployments.listDeployments)
  282. *
  283. * @param string $projectId
  284. * @param string $region
  285. * @param array $optParams Optional parameters.
  286. *
  287. * @opt_param string pageToken Specifies a nextPageToken returned by a previous
  288. * list request. This token can be used to request the next page of results from
  289. * a previous list request.
  290. * @opt_param int maxResults Maximum count of results to be returned. Acceptable
  291. * values are 0 to 100, inclusive. (Default: 50)
  292. * @return Google_Service_Manager_DeploymentsListResponse
  293. */
  294. public function listDeployments($projectId, $region, $optParams = array())
  295. {
  296. $params = array('projectId' => $projectId, 'region' => $region);
  297. $params = array_merge($params, $optParams);
  298. return $this->call('list', array($params), "Google_Service_Manager_DeploymentsListResponse");
  299. }
  300. }
  301. /**
  302. * The "templates" collection of methods.
  303. * Typical usage is:
  304. * <code>
  305. * $managerService = new Google_Service_Manager(...);
  306. * $templates = $managerService->templates;
  307. * </code>
  308. */
  309. class Google_Service_Manager_Templates_Resource extends Google_Service_Resource
  310. {
  311. /**
  312. * (templates.delete)
  313. *
  314. * @param string $projectId
  315. * @param string $templateName
  316. * @param array $optParams Optional parameters.
  317. */
  318. public function delete($projectId, $templateName, $optParams = array())
  319. {
  320. $params = array('projectId' => $projectId, 'templateName' => $templateName);
  321. $params = array_merge($params, $optParams);
  322. return $this->call('delete', array($params));
  323. }
  324. /**
  325. * (templates.get)
  326. *
  327. * @param string $projectId
  328. * @param string $templateName
  329. * @param array $optParams Optional parameters.
  330. * @return Google_Service_Manager_Template
  331. */
  332. public function get($projectId, $templateName, $optParams = array())
  333. {
  334. $params = array('projectId' => $projectId, 'templateName' => $templateName);
  335. $params = array_merge($params, $optParams);
  336. return $this->call('get', array($params), "Google_Service_Manager_Template");
  337. }
  338. /**
  339. * (templates.insert)
  340. *
  341. * @param string $projectId
  342. * @param Google_Template $postBody
  343. * @param array $optParams Optional parameters.
  344. * @return Google_Service_Manager_Template
  345. */
  346. public function insert($projectId, Google_Service_Manager_Template $postBody, $optParams = array())
  347. {
  348. $params = array('projectId' => $projectId, 'postBody' => $postBody);
  349. $params = array_merge($params, $optParams);
  350. return $this->call('insert', array($params), "Google_Service_Manager_Template");
  351. }
  352. /**
  353. * (templates.listTemplates)
  354. *
  355. * @param string $projectId
  356. * @param array $optParams Optional parameters.
  357. *
  358. * @opt_param string pageToken Specifies a nextPageToken returned by a previous
  359. * list request. This token can be used to request the next page of results from
  360. * a previous list request.
  361. * @opt_param int maxResults Maximum count of results to be returned. Acceptable
  362. * values are 0 to 100, inclusive. (Default: 50)
  363. * @return Google_Service_Manager_TemplatesListResponse
  364. */
  365. public function listTemplates($projectId, $optParams = array())
  366. {
  367. $params = array('projectId' => $projectId);
  368. $params = array_merge($params, $optParams);
  369. return $this->call('list', array($params), "Google_Service_Manager_TemplatesListResponse");
  370. }
  371. }
  372. class Google_Service_Manager_AccessConfig extends Google_Model
  373. {
  374. protected $internal_gapi_mappings = array(
  375. );
  376. public $name;
  377. public $natIp;
  378. public $type;
  379. public function setName($name)
  380. {
  381. $this->name = $name;
  382. }
  383. public function getName()
  384. {
  385. return $this->name;
  386. }
  387. public function setNatIp($natIp)
  388. {
  389. $this->natIp = $natIp;
  390. }
  391. public function getNatIp()
  392. {
  393. return $this->natIp;
  394. }
  395. public function setType($type)
  396. {
  397. $this->type = $type;
  398. }
  399. public function getType()
  400. {
  401. return $this->type;
  402. }
  403. }
  404. class Google_Service_Manager_Action extends Google_Collection
  405. {
  406. protected $collection_key = 'commands';
  407. protected $internal_gapi_mappings = array(
  408. );
  409. public $commands;
  410. public $timeoutMs;
  411. public function setCommands($commands)
  412. {
  413. $this->commands = $commands;
  414. }
  415. public function getCommands()
  416. {
  417. return $this->commands;
  418. }
  419. public function setTimeoutMs($timeoutMs)
  420. {
  421. $this->timeoutMs = $timeoutMs;
  422. }
  423. public function getTimeoutMs()
  424. {
  425. return $this->timeoutMs;
  426. }
  427. }
  428. class Google_Service_Manager_AllowedRule extends Google_Collection
  429. {
  430. protected $collection_key = 'ports';
  431. protected $internal_gapi_mappings = array(
  432. "iPProtocol" => "IPProtocol",
  433. );
  434. public $iPProtocol;
  435. public $ports;
  436. public function setIPProtocol($iPProtocol)
  437. {
  438. $this->iPProtocol = $iPProtocol;
  439. }
  440. public function getIPProtocol()
  441. {
  442. return $this->iPProtocol;
  443. }
  444. public function setPorts($ports)
  445. {
  446. $this->ports = $ports;
  447. }
  448. public function getPorts()
  449. {
  450. return $this->ports;
  451. }
  452. }
  453. class Google_Service_Manager_AutoscalingModule extends Google_Model
  454. {
  455. protected $internal_gapi_mappings = array(
  456. );
  457. public $coolDownPeriodSec;
  458. public $description;
  459. public $maxNumReplicas;
  460. public $minNumReplicas;
  461. public $signalType;
  462. public $targetModule;
  463. public $targetUtilization;
  464. public function setCoolDownPeriodSec($coolDownPeriodSec)
  465. {
  466. $this->coolDownPeriodSec = $coolDownPeriodSec;
  467. }
  468. public function getCoolDownPeriodSec()
  469. {
  470. return $this->coolDownPeriodSec;
  471. }
  472. public function setDescription($description)
  473. {
  474. $this->description = $description;
  475. }
  476. public function getDescription()
  477. {
  478. return $this->description;
  479. }
  480. public function setMaxNumReplicas($maxNumReplicas)
  481. {
  482. $this->maxNumReplicas = $maxNumReplicas;
  483. }
  484. public function getMaxNumReplicas()
  485. {
  486. return $this->maxNumReplicas;
  487. }
  488. public function setMinNumReplicas($minNumReplicas)
  489. {
  490. $this->minNumReplicas = $minNumReplicas;
  491. }
  492. public function getMinNumReplicas()
  493. {
  494. return $this->minNumReplicas;
  495. }
  496. public function setSignalType($signalType)
  497. {
  498. $this->signalType = $signalType;
  499. }
  500. public function getSignalType()
  501. {
  502. return $this->signalType;
  503. }
  504. public function setTargetModule($targetModule)
  505. {
  506. $this->targetModule = $targetModule;
  507. }
  508. public function getTargetModule()
  509. {
  510. return $this->targetModule;
  511. }
  512. public function setTargetUtilization($targetUtilization)
  513. {
  514. $this->targetUtilization = $targetUtilization;
  515. }
  516. public function getTargetUtilization()
  517. {
  518. return $this->targetUtilization;
  519. }
  520. }
  521. class Google_Service_Manager_AutoscalingModuleStatus extends Google_Model
  522. {
  523. protected $internal_gapi_mappings = array(
  524. );
  525. public $autoscalingConfigUrl;
  526. public function setAutoscalingConfigUrl($autoscalingConfigUrl)
  527. {
  528. $this->autoscalingConfigUrl = $autoscalingConfigUrl;
  529. }
  530. public function getAutoscalingConfigUrl()
  531. {
  532. return $this->autoscalingConfigUrl;
  533. }
  534. }
  535. class Google_Service_Manager_DeployState extends Google_Model
  536. {
  537. protected $internal_gapi_mappings = array(
  538. );
  539. public $details;
  540. public $status;
  541. public function setDetails($details)
  542. {
  543. $this->details = $details;
  544. }
  545. public function getDetails()
  546. {
  547. return $this->details;
  548. }
  549. public function setStatus($status)
  550. {
  551. $this->status = $status;
  552. }
  553. public function getStatus()
  554. {
  555. return $this->status;
  556. }
  557. }
  558. class Google_Service_Manager_Deployment extends Google_Collection
  559. {
  560. protected $collection_key = 'overrides';
  561. protected $internal_gapi_mappings = array(
  562. );
  563. public $creationDate;
  564. public $description;
  565. protected $modulesType = 'Google_Service_Manager_ModuleStatus';
  566. protected $modulesDataType = 'map';
  567. public $name;
  568. protected $overridesType = 'Google_Service_Manager_ParamOverride';
  569. protected $overridesDataType = 'array';
  570. protected $stateType = 'Google_Service_Manager_DeployState';
  571. protected $stateDataType = '';
  572. public $templateName;
  573. public function setCreationDate($creationDate)
  574. {
  575. $this->creationDate = $creationDate;
  576. }
  577. public function getCreationDate()
  578. {
  579. return $this->creationDate;
  580. }
  581. public function setDescription($description)
  582. {
  583. $this->description = $description;
  584. }
  585. public function getDescription()
  586. {
  587. return $this->description;
  588. }
  589. public function setModules($modules)
  590. {
  591. $this->modules = $modules;
  592. }
  593. public function getModules()
  594. {
  595. return $this->modules;
  596. }
  597. public function setName($name)
  598. {
  599. $this->name = $name;
  600. }
  601. public function getName()
  602. {
  603. return $this->name;
  604. }
  605. public function setOverrides($overrides)
  606. {
  607. $this->overrides = $overrides;
  608. }
  609. public function getOverrides()
  610. {
  611. return $this->overrides;
  612. }
  613. public function setState(Google_Service_Manager_DeployState $state)
  614. {
  615. $this->state = $state;
  616. }
  617. public function getState()
  618. {
  619. return $this->state;
  620. }
  621. public function setTemplateName($templateName)
  622. {
  623. $this->templateName = $templateName;
  624. }
  625. public function getTemplateName()
  626. {
  627. return $this->templateName;
  628. }
  629. }
  630. class Google_Service_Manager_DeploymentModules extends Google_Model
  631. {
  632. }
  633. class Google_Service_Manager_DeploymentsListResponse extends Google_Collection
  634. {
  635. protected $collection_key = 'resources';
  636. protected $internal_gapi_mappings = array(
  637. );
  638. public $nextPageToken;
  639. protected $resourcesType = 'Google_Service_Manager_Deployment';
  640. protected $resourcesDataType = 'array';
  641. public function setNextPageToken($nextPageToken)
  642. {
  643. $this->nextPageToken = $nextPageToken;
  644. }
  645. public function getNextPageToken()
  646. {
  647. return $this->nextPageToken;
  648. }
  649. public function setResources($resources)
  650. {
  651. $this->resources = $resources;
  652. }
  653. public function getResources()
  654. {
  655. return $this->resources;
  656. }
  657. }
  658. class Google_Service_Manager_DiskAttachment extends Google_Model
  659. {
  660. protected $internal_gapi_mappings = array(
  661. );
  662. public $deviceName;
  663. public $index;
  664. public function setDeviceName($deviceName)
  665. {
  666. $this->deviceName = $deviceName;
  667. }
  668. public function getDeviceName()
  669. {
  670. return $this->deviceName;
  671. }
  672. public function setIndex($index)
  673. {
  674. $this->index = $index;
  675. }
  676. public function getIndex()
  677. {
  678. return $this->index;
  679. }
  680. }
  681. class Google_Service_Manager_EnvVariable extends Google_Model
  682. {
  683. protected $internal_gapi_mappings = array(
  684. );
  685. public $hidden;
  686. public $value;
  687. public function setHidden($hidden)
  688. {
  689. $this->hidden = $hidden;
  690. }
  691. public function getHidden()
  692. {
  693. return $this->hidden;
  694. }
  695. public function setValue($value)
  696. {
  697. $this->value = $value;
  698. }
  699. public function getValue()
  700. {
  701. return $this->value;
  702. }
  703. }
  704. class Google_Service_Manager_ExistingDisk extends Google_Model
  705. {
  706. protected $internal_gapi_mappings = array(
  707. );
  708. protected $attachmentType = 'Google_Service_Manager_DiskAttachment';
  709. protected $attachmentDataType = '';
  710. public $source;
  711. public function setAttachment(Google_Service_Manager_DiskAttachment $attachment)
  712. {
  713. $this->attachment = $attachment;
  714. }
  715. public function getAttachment()
  716. {
  717. return $this->attachment;
  718. }
  719. public function setSource($source)
  720. {
  721. $this->source = $source;
  722. }
  723. public function getSource()
  724. {
  725. return $this->source;
  726. }
  727. }
  728. class Google_Service_Manager_FirewallModule extends Google_Collection
  729. {
  730. protected $collection_key = 'targetTags';
  731. protected $internal_gapi_mappings = array(
  732. );
  733. protected $allowedType = 'Google_Service_Manager_AllowedRule';
  734. protected $allowedDataType = 'array';
  735. public $description;
  736. public $network;
  737. public $sourceRanges;
  738. public $sourceTags;
  739. public $targetTags;
  740. public function setAllowed($allowed)
  741. {
  742. $this->allowed = $allowed;
  743. }
  744. public function getAllowed()
  745. {
  746. return $this->allowed;
  747. }
  748. public function setDescription($description)
  749. {
  750. $this->description = $description;
  751. }
  752. public function getDescription()
  753. {
  754. return $this->description;
  755. }
  756. public function setNetwork($network)
  757. {
  758. $this->network = $network;
  759. }
  760. public function getNetwork()
  761. {
  762. return $this->network;
  763. }
  764. public function setSourceRanges($sourceRanges)
  765. {
  766. $this->sourceRanges = $sourceRanges;
  767. }
  768. public function getSourceRanges()
  769. {
  770. return $this->sourceRanges;
  771. }
  772. public function setSourceTags($sourceTags)
  773. {
  774. $this->sourceTags = $sourceTags;
  775. }
  776. public function getSourceTags()
  777. {
  778. return $this->sourceTags;
  779. }
  780. public function setTargetTags($targetTags)
  781. {
  782. $this->targetTags = $targetTags;
  783. }
  784. public function getTargetTags()
  785. {
  786. return $this->targetTags;
  787. }
  788. }
  789. class Google_Service_Manager_FirewallModuleStatus extends Google_Model
  790. {
  791. protected $internal_gapi_mappings = array(
  792. );
  793. public $firewallUrl;
  794. public function setFirewallUrl($firewallUrl)
  795. {
  796. $this->firewallUrl = $firewallUrl;
  797. }
  798. public function getFirewallUrl()
  799. {
  800. return $this->firewallUrl;
  801. }
  802. }
  803. class Google_Service_Manager_HealthCheckModule extends Google_Model
  804. {
  805. protected $internal_gapi_mappings = array(
  806. );
  807. public $checkIntervalSec;
  808. public $description;
  809. public $healthyThreshold;
  810. public $host;
  811. public $path;
  812. public $port;
  813. public $timeoutSec;
  814. public $unhealthyThreshold;
  815. public function setCheckIntervalSec($checkIntervalSec)
  816. {
  817. $this->checkIntervalSec = $checkIntervalSec;
  818. }
  819. public function getCheckIntervalSec()
  820. {
  821. return $this->checkIntervalSec;
  822. }
  823. public function setDescription($description)
  824. {
  825. $this->description = $description;
  826. }
  827. public function getDescription()
  828. {
  829. return $this->description;
  830. }
  831. public function setHealthyThreshold($healthyThreshold)
  832. {
  833. $this->healthyThreshold = $healthyThreshold;
  834. }
  835. public function getHealthyThreshold()
  836. {
  837. return $this->healthyThreshold;
  838. }
  839. public function setHost($host)
  840. {
  841. $this->host = $host;
  842. }
  843. public function getHost()
  844. {
  845. return $this->host;
  846. }
  847. public function setPath($path)
  848. {
  849. $this->path = $path;
  850. }
  851. public function getPath()
  852. {
  853. return $this->path;
  854. }
  855. public function setPort($port)
  856. {
  857. $this->port = $port;
  858. }
  859. public function getPort()
  860. {
  861. return $this->port;
  862. }
  863. public function setTimeoutSec($timeoutSec)
  864. {
  865. $this->timeoutSec = $timeoutSec;
  866. }
  867. public function getTimeoutSec()
  868. {
  869. return $this->timeoutSec;
  870. }
  871. public function setUnhealthyThreshold($unhealthyThreshold)
  872. {
  873. $this->unhealthyThreshold = $unhealthyThreshold;
  874. }
  875. public function getUnhealthyThreshold()
  876. {
  877. return $this->unhealthyThreshold;
  878. }
  879. }
  880. class Google_Service_Manager_HealthCheckModuleStatus extends Google_Model
  881. {
  882. protected $internal_gapi_mappings = array(
  883. );
  884. public $healthCheckUrl;
  885. public function setHealthCheckUrl($healthCheckUrl)
  886. {
  887. $this->healthCheckUrl = $healthCheckUrl;
  888. }
  889. public function getHealthCheckUrl()
  890. {
  891. return $this->healthCheckUrl;
  892. }
  893. }
  894. class Google_Service_Manager_LbModule extends Google_Collection
  895. {
  896. protected $collection_key = 'targetModules';
  897. protected $internal_gapi_mappings = array(
  898. );
  899. public $description;
  900. public $healthChecks;
  901. public $ipAddress;
  902. public $ipProtocol;
  903. public $portRange;
  904. public $sessionAffinity;
  905. public $targetModules;
  906. public function setDescription($description)
  907. {
  908. $this->description = $description;
  909. }
  910. public function getDescription()
  911. {
  912. return $this->description;
  913. }
  914. public function setHealthChecks($healthChecks)
  915. {
  916. $this->healthChecks = $healthChecks;
  917. }
  918. public function getHealthChecks()
  919. {
  920. return $this->healthChecks;
  921. }
  922. public function setIpAddress($ipAddress)
  923. {
  924. $this->ipAddress = $ipAddress;
  925. }
  926. public function getIpAddress()
  927. {
  928. return $this->ipAddress;
  929. }
  930. public function setIpProtocol($ipProtocol)
  931. {
  932. $this->ipProtocol = $ipProtocol;
  933. }
  934. public function getIpProtocol()
  935. {
  936. return $this->ipProtocol;
  937. }
  938. public function setPortRange($portRange)
  939. {
  940. $this->portRange = $portRange;
  941. }
  942. public function getPortRange()
  943. {
  944. return $this->portRange;
  945. }
  946. public function setSessionAffinity($sessionAffinity)
  947. {
  948. $this->sessionAffinity = $sessionAffinity;
  949. }
  950. public function getSessionAffinity()
  951. {
  952. return $this->sessionAffinity;
  953. }
  954. public function setTargetModules($targetModules)
  955. {
  956. $this->targetModules = $targetModules;
  957. }
  958. public function getTargetModules()
  959. {
  960. return $this->targetModules;
  961. }
  962. }
  963. class Google_Service_Manager_LbModuleStatus extends Google_Model
  964. {
  965. protected $internal_gapi_mappings = array(
  966. );
  967. public $forwardingRuleUrl;
  968. public $targetPoolUrl;
  969. public function setForwardingRuleUrl($forwardingRuleUrl)
  970. {
  971. $this->forwardingRuleUrl = $forwardingRuleUrl;
  972. }
  973. public function getForwardingRuleUrl()
  974. {
  975. return $this->forwardingRuleUrl;
  976. }
  977. public function setTargetPoolUrl($targetPoolUrl)
  978. {
  979. $this->targetPoolUrl = $targetPoolUrl;
  980. }
  981. public function getTargetPoolUrl()
  982. {
  983. return $this->targetPoolUrl;
  984. }
  985. }
  986. class Google_Service_Manager_Metadata extends Google_Collection
  987. {
  988. protected $collection_key = 'items';
  989. protected $internal_gapi_mappings = array(
  990. );
  991. public $fingerPrint;
  992. protected $itemsType = 'Google_Service_Manager_MetadataItem';
  993. protected $itemsDataType = 'array';
  994. public function setFingerPrint($fingerPrint)
  995. {
  996. $this->fingerPrint = $fingerPrint;
  997. }
  998. public function getFingerPrint()
  999. {
  1000. return $this->fingerPrint;
  1001. }
  1002. public function setItems($items)
  1003. {
  1004. $this->items = $items;
  1005. }
  1006. public function getItems()
  1007. {
  1008. return $this->items;
  1009. }
  1010. }
  1011. class Google_Service_Manager_MetadataItem extends Google_Model
  1012. {
  1013. protected $internal_gapi_mappings = array(
  1014. );
  1015. public $key;
  1016. public $value;
  1017. public function setKey($key)
  1018. {
  1019. $this->key = $key;
  1020. }
  1021. public function getKey()
  1022. {
  1023. return $this->key;
  1024. }
  1025. public function setValue($value)
  1026. {
  1027. $this->value = $value;
  1028. }
  1029. public function getValue()
  1030. {
  1031. return $this->value;
  1032. }
  1033. }
  1034. class Google_Service_Manager_Module extends Google_Model
  1035. {
  1036. protected $internal_gapi_mappings = array(
  1037. );
  1038. protected $autoscalingModuleType = 'Google_Service_Manager_AutoscalingModule';
  1039. protected $autoscalingModuleDataType = '';
  1040. protected $firewallModuleType = 'Google_Service_Manager_FirewallModule';
  1041. protected $firewallModuleDataType = '';
  1042. protected $healthCheckModuleType = 'Google_Service_Manager_HealthCheckModule';
  1043. protected $healthCheckModuleDataType = '';
  1044. protected $lbModuleType = 'Google_Service_Manager_LbModule';
  1045. protected $lbModuleDataType = '';
  1046. protected $networkModuleType = 'Google_Service_Manager_NetworkModule';
  1047. protected $networkModuleDataType = '';
  1048. protected $replicaPoolModuleType = 'Google_Service_Manager_ReplicaPoolModule';
  1049. protected $replicaPoolModuleDataType = '';
  1050. public $type;
  1051. public function setAutoscalingModule(Google_Service_Manager_AutoscalingModule $autoscalingModule)
  1052. {
  1053. $this->autoscalingModule = $autoscalingModule;
  1054. }
  1055. public function getAutoscalingModule()
  1056. {
  1057. return $this->autoscalingModule;
  1058. }
  1059. public function setFirewallModule(Google_Service_Manager_FirewallModule $firewallModule)
  1060. {
  1061. $this->firewallModule = $firewallModule;
  1062. }
  1063. public function getFirewallModule()
  1064. {
  1065. return $this->firewallModule;
  1066. }
  1067. public function setHealthCheckModule(Google_Service_Manager_HealthCheckModule $healthCheckModule)
  1068. {
  1069. $this->healthCheckModule = $healthCheckModule;
  1070. }
  1071. public function getHealthCheckModule()
  1072. {
  1073. return $this->healthCheckModule;
  1074. }
  1075. public function setLbModule(Google_Service_Manager_LbModule $lbModule)
  1076. {
  1077. $this->lbModule = $lbModule;
  1078. }
  1079. public function getLbModule()
  1080. {
  1081. return $this->lbModule;
  1082. }
  1083. public function setNetworkModule(Google_Service_Manager_NetworkModule $networkModule)
  1084. {
  1085. $this->networkModule = $networkModule;
  1086. }
  1087. public function getNetworkModule()
  1088. {
  1089. return $this->networkModule;
  1090. }
  1091. public function setReplicaPoolModule(Google_Service_Manager_ReplicaPoolModule $replicaPoolModule)
  1092. {
  1093. $this->replicaPoolModule = $replicaPoolModule;
  1094. }
  1095. public function getReplicaPoolModule()
  1096. {
  1097. return $this->replicaPoolModule;
  1098. }
  1099. public function setType($type)
  1100. {
  1101. $this->type = $type;
  1102. }
  1103. public function getType()
  1104. {
  1105. return $this->type;
  1106. }
  1107. }
  1108. class Google_Service_Manager_ModuleStatus extends Google_Model
  1109. {
  1110. protected $internal_gapi_mappings = array(
  1111. );
  1112. protected $autoscalingModuleStatusType = 'Google_Service_Manager_AutoscalingModuleStatus';
  1113. protected $autoscalingModuleStatusDataType = '';
  1114. protected $firewallModuleStatusType = 'Google_Service_Manager_FirewallModuleStatus';
  1115. protected $firewallModuleStatusDataType = '';
  1116. protected $healthCheckModuleStatusType = 'Google_Service_Manager_HealthCheckModuleStatus';
  1117. protected $healthCheckModuleStatusDataType = '';
  1118. protected $lbModuleStatusType = 'Google_Service_Manager_LbModuleStatus';
  1119. protected $lbModuleStatusDataType = '';
  1120. protected $networkModuleStatusType = 'Google_Service_Manager_NetworkModuleStatus';
  1121. protected $networkModuleStatusDataType = '';
  1122. protected $replicaPoolModuleStatusType = 'Google_Service_Manager_ReplicaPoolModuleStatus';
  1123. protected $replicaPoolModuleStatusDataType = '';
  1124. protected $stateType = 'Google_Service_Manager_DeployState';
  1125. protected $stateDataType = '';
  1126. public $type;
  1127. public function setAutoscalingModuleStatus(Google_Service_Manager_AutoscalingModuleStatus $autoscalingModuleStatus)
  1128. {
  1129. $this->autoscalingModuleStatus = $autoscalingModuleStatus;
  1130. }
  1131. public function getAutoscalingModuleStatus()
  1132. {
  1133. return $this->autoscalingModuleStatus;
  1134. }
  1135. public function setFirewallModuleStatus(Google_Service_Manager_FirewallModuleStatus $firewallModuleStatus)
  1136. {
  1137. $this->firewallModuleStatus = $firewallModuleStatus;
  1138. }
  1139. public function getFirewallModuleStatus()
  1140. {
  1141. return $this->firewallModuleStatus;
  1142. }
  1143. public function setHealthCheckModuleStatus(Google_Service_Manager_HealthCheckModuleStatus $healthCheckModuleStatus)
  1144. {
  1145. $this->healthCheckModuleStatus = $healthCheckModuleStatus;
  1146. }
  1147. public function getHealthCheckModuleStatus()
  1148. {
  1149. return $this->healthCheckModuleStatus;
  1150. }
  1151. public function setLbModuleStatus(Google_Service_Manager_LbModuleStatus $lbModuleStatus)
  1152. {
  1153. $this->lbModuleStatus = $lbModuleStatus;
  1154. }
  1155. public function getLbModuleStatus()
  1156. {
  1157. return $this->lbModuleStatus;
  1158. }
  1159. public function setNetworkModuleStatus(Google_Service_Manager_NetworkModuleStatus $networkModuleStatus)
  1160. {
  1161. $this->networkModuleStatus = $networkModuleStatus;
  1162. }
  1163. public function getNetworkModuleStatus()
  1164. {
  1165. return $this->networkModuleStatus;
  1166. }
  1167. public function setReplicaPoolModuleStatus(Google_Service_Manager_ReplicaPoolModuleStatus $replicaPoolModuleStatus)
  1168. {
  1169. $this->replicaPoolModuleStatus = $replicaPoolModuleStatus;
  1170. }
  1171. public function getReplicaPoolModuleStatus()
  1172. {
  1173. return $this->replicaPoolModuleStatus;
  1174. }
  1175. public function setState(Google_Service_Manager_DeployState $state)
  1176. {
  1177. $this->state = $state;
  1178. }
  1179. public function getState()
  1180. {
  1181. return $this->state;
  1182. }
  1183. public function setType($type)
  1184. {
  1185. $this->type = $type;
  1186. }
  1187. public function getType()
  1188. {
  1189. return $this->type;
  1190. }
  1191. }
  1192. class Google_Service_Manager_NetworkInterface extends Google_Collection
  1193. {
  1194. protected $collection_key = 'accessConfigs';
  1195. protected $internal_gapi_mappings = array(
  1196. );
  1197. protected $accessConfigsType = 'Google_Service_Manager_AccessConfig';
  1198. protected $accessConfigsDataType = 'array';
  1199. public $name;
  1200. public $network;
  1201. public $networkIp;
  1202. public function setAccessConfigs($accessConfigs)
  1203. {
  1204. $this->accessConfigs = $accessConfigs;
  1205. }
  1206. public function getAccessConfigs()
  1207. {
  1208. return $this->accessConfigs;
  1209. }
  1210. public function setName($name)
  1211. {
  1212. $this->name = $name;
  1213. }
  1214. public function getName()
  1215. {
  1216. return $this->name;
  1217. }
  1218. public function setNetwork($network)
  1219. {
  1220. $this->network = $network;
  1221. }
  1222. public function getNetwork()
  1223. {
  1224. return $this->network;
  1225. }
  1226. public function setNetworkIp($networkIp)
  1227. {
  1228. $this->networkIp = $networkIp;
  1229. }
  1230. public function getNetworkIp()
  1231. {
  1232. return $this->networkIp;
  1233. }
  1234. }
  1235. class Google_Service_Manager_NetworkModule extends Google_Model
  1236. {
  1237. protected $internal_gapi_mappings = array(
  1238. "iPv4Range" => "IPv4Range",
  1239. );
  1240. public $iPv4Range;
  1241. public $description;
  1242. public $gatewayIPv4;
  1243. public function setIPv4Range($iPv4Range)
  1244. {
  1245. $this->iPv4Range = $iPv4Range;
  1246. }
  1247. public function getIPv4Range()
  1248. {
  1249. return $this->iPv4Range;
  1250. }
  1251. public function setDescription($description)
  1252. {
  1253. $this->description = $description;
  1254. }
  1255. public function getDescription()
  1256. {
  1257. return $this->description;
  1258. }
  1259. public function setGatewayIPv4($gatewayIPv4)
  1260. {
  1261. $this->gatewayIPv4 = $gatewayIPv4;
  1262. }
  1263. public function getGatewayIPv4()
  1264. {
  1265. return $this->gatewayIPv4;
  1266. }
  1267. }
  1268. class Google_Service_Manager_NetworkModuleStatus extends Google_Model
  1269. {
  1270. protected $internal_gapi_mappings = array(
  1271. );
  1272. public $networkUrl;
  1273. public function setNetworkUrl($networkUrl)
  1274. {
  1275. $this->networkUrl = $networkUrl;
  1276. }
  1277. public function getNetworkUrl()
  1278. {
  1279. return $this->networkUrl;
  1280. }
  1281. }
  1282. class Google_Service_Manager_NewDisk extends Google_Model
  1283. {
  1284. protected $internal_gapi_mappings = array(
  1285. );
  1286. protected $attachmentType = 'Google_Service_Manager_DiskAttachment';
  1287. protected $attachmentDataType = '';
  1288. public $autoDelete;
  1289. public $boot;
  1290. protected $initializeParamsType = 'Google_Service_Manager_NewDiskInitializeParams';
  1291. protected $initializeParamsDataType = '';
  1292. public function setAttachment(Google_Service_Manager_DiskAttachment $attachment)
  1293. {
  1294. $this->attachment = $attachment;
  1295. }
  1296. public function getAttachment()
  1297. {
  1298. return $this->attachment;
  1299. }
  1300. public function setAutoDelete($autoDelete)
  1301. {
  1302. $this->autoDelete = $autoDelete;
  1303. }
  1304. public function getAutoDelete()
  1305. {
  1306. return $this->autoDelete;
  1307. }
  1308. public function setBoot($boot)
  1309. {
  1310. $this->boot = $boot;
  1311. }
  1312. public function getBoot()
  1313. {
  1314. return $this->boot;
  1315. }
  1316. public function setInitializeParams(Google_Service_Manager_NewDiskInitializeParams $initializeParams)
  1317. {
  1318. $this->initializeParams = $initializeParams;
  1319. }
  1320. public function getInitializeParams()
  1321. {
  1322. return $this->initializeParams;
  1323. }
  1324. }
  1325. class Google_Service_Manager_NewDiskInitializeParams extends Google_Model
  1326. {
  1327. protected $internal_gapi_mappings = array(
  1328. );
  1329. public $diskSizeGb;
  1330. public $diskType;
  1331. public $sourceImage;
  1332. public function setDiskSizeGb($diskSizeGb)
  1333. {
  1334. $this->diskSizeGb = $diskSizeGb;
  1335. }
  1336. public function getDiskSizeGb()
  1337. {
  1338. return $this->diskSizeGb;
  1339. }
  1340. public function setDiskType($diskType)
  1341. {
  1342. $this->diskType = $diskType;
  1343. }
  1344. public function getDiskType()
  1345. {
  1346. return $this->diskType;
  1347. }
  1348. public function setSourceImage($sourceImage)
  1349. {
  1350. $this->sourceImage = $sourceImage;
  1351. }
  1352. public function getSourceImage()
  1353. {
  1354. return $this->sourceImage;
  1355. }
  1356. }
  1357. class Google_Service_Manager_ParamOverride extends Google_Model
  1358. {
  1359. protected $internal_gapi_mappings = array(
  1360. );
  1361. public $path;
  1362. public $value;
  1363. public function setPath($path)
  1364. {
  1365. $this->path = $path;
  1366. }
  1367. public function getPath()
  1368. {
  1369. return $this->path;
  1370. }
  1371. public function setValue($value)
  1372. {
  1373. $this->value = $value;
  1374. }
  1375. public function getValue()
  1376. {
  1377. return $this->value;
  1378. }
  1379. }
  1380. class Google_Service_Manager_ReplicaPoolModule extends Google_Collection
  1381. {
  1382. protected $collection_key = 'healthChecks';
  1383. protected $internal_gapi_mappings = array(
  1384. );
  1385. protected $envVariablesType = 'Google_Service_Manager_EnvVariable';
  1386. protected $envVariablesDataType = 'map';
  1387. public $healthChecks;
  1388. public $numReplicas;
  1389. protected $replicaPoolParamsType = 'Google_Service_Manager_ReplicaPoolParams';
  1390. protected $replicaPoolParamsDataType = '';
  1391. public $resourceView;
  1392. public function setEnvVariables($envVariables)
  1393. {
  1394. $this->envVariables = $envVariables;
  1395. }
  1396. public function getEnvVariables()
  1397. {
  1398. return $this->envVariables;
  1399. }
  1400. public function setHealthChecks($healthChecks)
  1401. {
  1402. $this->healthChecks = $healthChecks;
  1403. }
  1404. public function getHealthChecks()
  1405. {
  1406. return $this->healthChecks;
  1407. }
  1408. public function setNumReplicas($numReplicas)
  1409. {
  1410. $this->numReplicas = $numReplicas;
  1411. }
  1412. public function getNumReplicas()
  1413. {
  1414. return $this->numReplicas;
  1415. }
  1416. public function setReplicaPoolParams(Google_Service_Manager_ReplicaPoolParams $replicaPoolParams)
  1417. {
  1418. $this->replicaPoolParams = $replicaPoolParams;
  1419. }
  1420. public function getReplicaPoolParams()
  1421. {
  1422. return $this->replicaPoolParams;
  1423. }
  1424. public function setResourceView($resourceView)
  1425. {
  1426. $this->resourceView = $resourceView;
  1427. }
  1428. public function getResourceView()
  1429. {
  1430. return $this->resourceView;
  1431. }
  1432. }
  1433. class Google_Service_Manager_ReplicaPoolModuleEnvVariables extends Google_Model
  1434. {
  1435. }
  1436. class Google_Service_Manager_ReplicaPoolModuleStatus extends Google_Model
  1437. {
  1438. protected $internal_gapi_mappings = array(
  1439. );
  1440. public $replicaPoolUrl;
  1441. public $resourceViewUrl;
  1442. public function setReplicaPoolUrl($replicaPoolUrl)
  1443. {
  1444. $this->replicaPoolUrl = $replicaPoolUrl;
  1445. }
  1446. public function getReplicaPoolUrl()
  1447. {
  1448. return $this->replicaPoolUrl;
  1449. }
  1450. public function setResourceViewUrl($resourceViewUrl)
  1451. {
  1452. $this->resourceViewUrl = $resourceViewUrl;
  1453. }
  1454. public function getResourceViewUrl()
  1455. {
  1456. return $this->resourceViewUrl;
  1457. }
  1458. }
  1459. class Google_Service_Manager_ReplicaPoolParams extends Google_Model
  1460. {
  1461. protected $internal_gapi_mappings = array(
  1462. );
  1463. protected $v1beta1Type = 'Google_Service_Manager_ReplicaPoolParamsV1Beta1';
  1464. protected $v1beta1DataType = '';
  1465. public function setV1beta1(Google_Service_Manager_ReplicaPoolParamsV1Beta1 $v1beta1)
  1466. {
  1467. $this->v1beta1 = $v1beta1;
  1468. }
  1469. public function getV1beta1()
  1470. {
  1471. return $this->v1beta1;
  1472. }
  1473. }
  1474. class Google_Service_Manager_ReplicaPoolParamsV1Beta1 extends Google_Collection
  1475. {
  1476. protected $collection_key = 'serviceAccounts';
  1477. protected $internal_gapi_mappings = array(
  1478. );
  1479. public $autoRestart;
  1480. public $baseInstanceName;
  1481. public $canIpForward;
  1482. public $description;
  1483. protected $disksToAttachType = 'Google_Service_Manager_ExistingDisk';
  1484. protected $disksToAttachDataType = 'array';
  1485. protected $disksToCreateType = 'Google_Service_Manager_NewDisk';
  1486. protected $disksToCreateDataType = 'array';
  1487. public $initAction;
  1488. public $machineType;
  1489. protected $metadataType = 'Google_Service_Manager_Metadata';
  1490. protected $metadataDataType = '';
  1491. protected $networkInterfacesType = 'Google_Service_Manager_NetworkInterface';
  1492. protected $networkInterfacesDataType = 'array';
  1493. public $onHostMaintenance;
  1494. protected $serviceAccountsType = 'Google_Service_Manager_ServiceAccount';
  1495. protected $serviceAccountsDataType = 'array';
  1496. protected $tagsType = 'Google_Service_Manager_Tag';
  1497. protected $tagsDataType = '';
  1498. public $zone;
  1499. public function setAutoRestart($autoRestart)
  1500. {
  1501. $this->autoRestart = $autoRestart;
  1502. }
  1503. public function getAutoRestart()
  1504. {
  1505. return $this->autoRestart;
  1506. }
  1507. public function setBaseInstanceName($baseInstanceName)
  1508. {
  1509. $this->baseInstanceName = $baseInstanceName;
  1510. }
  1511. public function getBaseInstanceName()
  1512. {
  1513. return $this->baseInstanceName;
  1514. }
  1515. public function setCanIpForward($canIpForward)
  1516. {
  1517. $this->canIpForward = $canIpForward;
  1518. }
  1519. public function getCanIpForward()
  1520. {
  1521. return $this->canIpForward;
  1522. }
  1523. public function setDescription($description)
  1524. {
  1525. $this->description = $description;
  1526. }
  1527. public function getDescription()
  1528. {
  1529. return $this->description;
  1530. }
  1531. public function setDisksToAttach($disksToAttach)
  1532. {
  1533. $this->disksToAttach = $disksToAttach;
  1534. }
  1535. public function getDisksToAttach()
  1536. {
  1537. return $this->disksToAttach;
  1538. }
  1539. public function setDisksToCreate($disksToCreate)
  1540. {
  1541. $this->disksToCreate = $disksToCreate;
  1542. }
  1543. public function getDisksToCreate()
  1544. {
  1545. return $this->disksToCreate;
  1546. }
  1547. public function setInitAction($initAction)
  1548. {
  1549. $this->initAction = $initAction;
  1550. }
  1551. public function getInitAction()
  1552. {
  1553. return $this->initAction;
  1554. }
  1555. public function setMachineType($machineType)
  1556. {
  1557. $this->machineType = $machineType;
  1558. }
  1559. public function getMachineType()
  1560. {
  1561. return $this->machineType;
  1562. }
  1563. public function setMetadata(Google_Service_Manager_Metadata $metadata)
  1564. {
  1565. $this->metadata = $metadata;
  1566. }
  1567. public function getMetadata()
  1568. {
  1569. return $this->metadata;
  1570. }
  1571. public function setNetworkInterfaces($networkInterfaces)
  1572. {
  1573. $this->networkInterfaces = $networkInterfaces;
  1574. }
  1575. public function getNetworkInterfaces()
  1576. {
  1577. return $this->networkInterfaces;
  1578. }
  1579. public function setOnHostMaintenance($onHostMaintenance)
  1580. {
  1581. $this->onHostMaintenance = $onHostMaintenance;
  1582. }
  1583. public function getOnHostMaintenance()
  1584. {
  1585. return $this->onHostMaintenance;
  1586. }
  1587. public function setServiceAccounts($serviceAccounts)
  1588. {
  1589. $this->serviceAccounts = $serviceAccounts;
  1590. }
  1591. public function getServiceAccounts()
  1592. {
  1593. return $this->serviceAccounts;
  1594. }
  1595. public function setTags(Google_Service_Manager_Tag $tags)
  1596. {
  1597. $this->tags = $tags;
  1598. }
  1599. public function getTags()
  1600. {
  1601. return $this->tags;
  1602. }
  1603. public function setZone($zone)
  1604. {
  1605. $this->zone = $zone;
  1606. }
  1607. public function getZone()
  1608. {
  1609. return $this->zone;
  1610. }
  1611. }
  1612. class Google_Service_Manager_ServiceAccount extends Google_Collection
  1613. {
  1614. protected $collection_key = 'scopes';
  1615. protected $internal_gapi_mappings = array(
  1616. );
  1617. public $email;
  1618. public $scopes;
  1619. public function setEmail($email)
  1620. {
  1621. $this->email = $email;
  1622. }
  1623. public function getEmail()
  1624. {
  1625. return $this->email;
  1626. }
  1627. public function setScopes($scopes)
  1628. {
  1629. $this->scopes = $scopes;
  1630. }
  1631. public function getScopes()
  1632. {
  1633. return $this->scopes;
  1634. }
  1635. }
  1636. class Google_Service_Manager_Tag extends Google_Collection
  1637. {
  1638. protected $collection_key = 'items';
  1639. protected $internal_gapi_mappings = array(
  1640. );
  1641. public $fingerPrint;
  1642. public $items;
  1643. public function setFingerPrint($fingerPrint)
  1644. {
  1645. $this->fingerPrint = $fingerPrint;
  1646. }
  1647. public function getFingerPrint()
  1648. {
  1649. return $this->fingerPrint;
  1650. }
  1651. public function setItems($items)
  1652. {
  1653. $this->items = $items;
  1654. }
  1655. public function getItems()
  1656. {
  1657. return $this->items;
  1658. }
  1659. }
  1660. class Google_Service_Manager_Template extends Google_Model
  1661. {
  1662. protected $internal_gapi_mappings = array(
  1663. );
  1664. protected $actionsType = 'Google_Service_Manager_Action';
  1665. protected $actionsDataType = 'map';
  1666. public $description;
  1667. protected $modulesType = 'Google_Service_Manager_Module';
  1668. protected $modulesDataType = 'map';
  1669. public $name;
  1670. public function setActions($actions)
  1671. {
  1672. $this->actions = $actions;
  1673. }
  1674. public function getActions()
  1675. {
  1676. return $this->actions;
  1677. }
  1678. public function setDescription($description)
  1679. {
  1680. $this->description = $description;
  1681. }
  1682. public function getDescription()
  1683. {
  1684. return $this->description;
  1685. }
  1686. public function setModules($modules)
  1687. {
  1688. $this->modules = $modules;
  1689. }
  1690. public function getModules()
  1691. {
  1692. return $this->modules;
  1693. }
  1694. public function setName($name)
  1695. {
  1696. $this->name = $name;
  1697. }
  1698. public function getName()
  1699. {
  1700. return $this->name;
  1701. }
  1702. }
  1703. class Google_Service_Manager_TemplateActions extends Google_Model
  1704. {
  1705. }
  1706. class Google_Service_Manager_TemplateModules extends Google_Model
  1707. {
  1708. }
  1709. class Google_Service_Manager_TemplatesListResponse extends Google_Collection
  1710. {
  1711. protected $collection_key = 'resources';
  1712. protected $internal_gapi_mappings = array(
  1713. );
  1714. public $nextPageToken;
  1715. protected $resourcesType = 'Google_Service_Manager_Template';
  1716. protected $resourcesDataType = 'array';
  1717. public function setNextPageToken($nextPageToken)
  1718. {
  1719. $this->nextPageToken = $nextPageToken;
  1720. }
  1721. public function getNextPageToken()
  1722. {
  1723. return $this->nextPageToken;
  1724. }
  1725. public function setResources($resources)
  1726. {
  1727. $this->resources = $resources;
  1728. }
  1729. public function getResources()
  1730. {
  1731. return $this->resources;
  1732. }
  1733. }