/includes/api-libs/Google/Service/Compute.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 Compute (v1). 
  20. * 
  21. * <p> 
  22. * API for the Google Compute Engine service.</p> 
  23. * 
  24. * <p> 
  25. * For more information about this service, see the API 
  26. * <a href="https://developers.google.com/compute/docs/reference/latest/" target="_blank">Documentation</a> 
  27. * </p> 
  28. * 
  29. * @author Google, Inc. 
  30. */ 
  31. class Google_Service_Compute extends Google_Service 
  32. /** View and manage your data across Google Cloud Platform services. */ 
  33. const CLOUD_PLATFORM = 
  34. "https://www.googleapis.com/auth/cloud-platform"; 
  35. /** View and manage your Google Compute Engine resources. */ 
  36. const COMPUTE = 
  37. "https://www.googleapis.com/auth/compute"; 
  38. /** View your Google Compute Engine resources. */ 
  39. const COMPUTE_READONLY = 
  40. "https://www.googleapis.com/auth/compute.readonly"; 
  41. /** Manage your data and permissions in Google Cloud Storage. */ 
  42. const DEVSTORAGE_FULL_CONTROL = 
  43. "https://www.googleapis.com/auth/devstorage.full_control"; 
  44. /** View your data in Google Cloud Storage. */ 
  45. const DEVSTORAGE_READ_ONLY = 
  46. "https://www.googleapis.com/auth/devstorage.read_only"; 
  47. /** Manage your data in Google Cloud Storage. */ 
  48. const DEVSTORAGE_READ_WRITE = 
  49. "https://www.googleapis.com/auth/devstorage.read_write"; 
  50.  
  51. public $addresses; 
  52. public $backendServices; 
  53. public $diskTypes; 
  54. public $disks; 
  55. public $firewalls; 
  56. public $forwardingRules; 
  57. public $globalAddresses; 
  58. public $globalForwardingRules; 
  59. public $globalOperations; 
  60. public $httpHealthChecks; 
  61. public $images; 
  62. public $instanceTemplates; 
  63. public $instances; 
  64. public $licenses; 
  65. public $machineTypes; 
  66. public $networks; 
  67. public $projects; 
  68. public $regionOperations; 
  69. public $regions; 
  70. public $routes; 
  71. public $snapshots; 
  72. public $targetHttpProxies; 
  73. public $targetInstances; 
  74. public $targetPools; 
  75. public $urlMaps; 
  76. public $zoneOperations; 
  77. public $zones; 
  78.  
  79.  
  80. /** 
  81. * Constructs the internal representation of the Compute service. 
  82. * 
  83. * @param Google_Client $client 
  84. */ 
  85. public function __construct(Google_Client $client) 
  86. parent::__construct($client); 
  87. $this->servicePath = 'compute/v1/projects/'; 
  88. $this->version = 'v1'; 
  89. $this->serviceName = 'compute'; 
  90.  
  91. $this->addresses = new Google_Service_Compute_Addresses_Resource( 
  92. $this,  
  93. $this->serviceName,  
  94. 'addresses',  
  95. array( 
  96. 'methods' => array( 
  97. 'aggregatedList' => array( 
  98. 'path' => '{project}/aggregated/addresses',  
  99. 'httpMethod' => 'GET',  
  100. 'parameters' => array( 
  101. 'project' => array( 
  102. 'location' => 'path',  
  103. 'type' => 'string',  
  104. 'required' => true,  
  105. ),  
  106. 'filter' => array( 
  107. 'location' => 'query',  
  108. 'type' => 'string',  
  109. ),  
  110. 'pageToken' => array( 
  111. 'location' => 'query',  
  112. 'type' => 'string',  
  113. ),  
  114. 'maxResults' => array( 
  115. 'location' => 'query',  
  116. 'type' => 'integer',  
  117. ),  
  118. ),  
  119. ), 'delete' => array( 
  120. 'path' => '{project}/regions/{region}/addresses/{address}',  
  121. 'httpMethod' => 'DELETE',  
  122. 'parameters' => array( 
  123. 'project' => array( 
  124. 'location' => 'path',  
  125. 'type' => 'string',  
  126. 'required' => true,  
  127. ),  
  128. 'region' => array( 
  129. 'location' => 'path',  
  130. 'type' => 'string',  
  131. 'required' => true,  
  132. ),  
  133. 'address' => array( 
  134. 'location' => 'path',  
  135. 'type' => 'string',  
  136. 'required' => true,  
  137. ),  
  138. ),  
  139. ), 'get' => array( 
  140. 'path' => '{project}/regions/{region}/addresses/{address}',  
  141. 'httpMethod' => 'GET',  
  142. 'parameters' => array( 
  143. 'project' => array( 
  144. 'location' => 'path',  
  145. 'type' => 'string',  
  146. 'required' => true,  
  147. ),  
  148. 'region' => array( 
  149. 'location' => 'path',  
  150. 'type' => 'string',  
  151. 'required' => true,  
  152. ),  
  153. 'address' => array( 
  154. 'location' => 'path',  
  155. 'type' => 'string',  
  156. 'required' => true,  
  157. ),  
  158. ),  
  159. ), 'insert' => array( 
  160. 'path' => '{project}/regions/{region}/addresses',  
  161. 'httpMethod' => 'POST',  
  162. 'parameters' => array( 
  163. 'project' => array( 
  164. 'location' => 'path',  
  165. 'type' => 'string',  
  166. 'required' => true,  
  167. ),  
  168. 'region' => array( 
  169. 'location' => 'path',  
  170. 'type' => 'string',  
  171. 'required' => true,  
  172. ),  
  173. ),  
  174. ), 'list' => array( 
  175. 'path' => '{project}/regions/{region}/addresses',  
  176. 'httpMethod' => 'GET',  
  177. 'parameters' => array( 
  178. 'project' => array( 
  179. 'location' => 'path',  
  180. 'type' => 'string',  
  181. 'required' => true,  
  182. ),  
  183. 'region' => array( 
  184. 'location' => 'path',  
  185. 'type' => 'string',  
  186. 'required' => true,  
  187. ),  
  188. 'filter' => array( 
  189. 'location' => 'query',  
  190. 'type' => 'string',  
  191. ),  
  192. 'pageToken' => array( 
  193. 'location' => 'query',  
  194. 'type' => 'string',  
  195. ),  
  196. 'maxResults' => array( 
  197. 'location' => 'query',  
  198. 'type' => 'integer',  
  199. ),  
  200. ),  
  201. ),  
  202. ); 
  203. $this->backendServices = new Google_Service_Compute_BackendServices_Resource( 
  204. $this,  
  205. $this->serviceName,  
  206. 'backendServices',  
  207. array( 
  208. 'methods' => array( 
  209. 'delete' => array( 
  210. 'path' => '{project}/global/backendServices/{backendService}',  
  211. 'httpMethod' => 'DELETE',  
  212. 'parameters' => array( 
  213. 'project' => array( 
  214. 'location' => 'path',  
  215. 'type' => 'string',  
  216. 'required' => true,  
  217. ),  
  218. 'backendService' => array( 
  219. 'location' => 'path',  
  220. 'type' => 'string',  
  221. 'required' => true,  
  222. ),  
  223. ),  
  224. ), 'get' => array( 
  225. 'path' => '{project}/global/backendServices/{backendService}',  
  226. 'httpMethod' => 'GET',  
  227. 'parameters' => array( 
  228. 'project' => array( 
  229. 'location' => 'path',  
  230. 'type' => 'string',  
  231. 'required' => true,  
  232. ),  
  233. 'backendService' => array( 
  234. 'location' => 'path',  
  235. 'type' => 'string',  
  236. 'required' => true,  
  237. ),  
  238. ),  
  239. ), 'getHealth' => array( 
  240. 'path' => '{project}/global/backendServices/{backendService}/getHealth',  
  241. 'httpMethod' => 'POST',  
  242. 'parameters' => array( 
  243. 'project' => array( 
  244. 'location' => 'path',  
  245. 'type' => 'string',  
  246. 'required' => true,  
  247. ),  
  248. 'backendService' => array( 
  249. 'location' => 'path',  
  250. 'type' => 'string',  
  251. 'required' => true,  
  252. ),  
  253. ),  
  254. ), 'insert' => array( 
  255. 'path' => '{project}/global/backendServices',  
  256. 'httpMethod' => 'POST',  
  257. 'parameters' => array( 
  258. 'project' => array( 
  259. 'location' => 'path',  
  260. 'type' => 'string',  
  261. 'required' => true,  
  262. ),  
  263. ),  
  264. ), 'list' => array( 
  265. 'path' => '{project}/global/backendServices',  
  266. 'httpMethod' => 'GET',  
  267. 'parameters' => array( 
  268. 'project' => array( 
  269. 'location' => 'path',  
  270. 'type' => 'string',  
  271. 'required' => true,  
  272. ),  
  273. 'filter' => array( 
  274. 'location' => 'query',  
  275. 'type' => 'string',  
  276. ),  
  277. 'pageToken' => array( 
  278. 'location' => 'query',  
  279. 'type' => 'string',  
  280. ),  
  281. 'maxResults' => array( 
  282. 'location' => 'query',  
  283. 'type' => 'integer',  
  284. ),  
  285. ),  
  286. ), 'patch' => array( 
  287. 'path' => '{project}/global/backendServices/{backendService}',  
  288. 'httpMethod' => 'PATCH',  
  289. 'parameters' => array( 
  290. 'project' => array( 
  291. 'location' => 'path',  
  292. 'type' => 'string',  
  293. 'required' => true,  
  294. ),  
  295. 'backendService' => array( 
  296. 'location' => 'path',  
  297. 'type' => 'string',  
  298. 'required' => true,  
  299. ),  
  300. ),  
  301. ), 'update' => array( 
  302. 'path' => '{project}/global/backendServices/{backendService}',  
  303. 'httpMethod' => 'PUT',  
  304. 'parameters' => array( 
  305. 'project' => array( 
  306. 'location' => 'path',  
  307. 'type' => 'string',  
  308. 'required' => true,  
  309. ),  
  310. 'backendService' => array( 
  311. 'location' => 'path',  
  312. 'type' => 'string',  
  313. 'required' => true,  
  314. ),  
  315. ),  
  316. ),  
  317. ); 
  318. $this->diskTypes = new Google_Service_Compute_DiskTypes_Resource( 
  319. $this,  
  320. $this->serviceName,  
  321. 'diskTypes',  
  322. array( 
  323. 'methods' => array( 
  324. 'aggregatedList' => array( 
  325. 'path' => '{project}/aggregated/diskTypes',  
  326. 'httpMethod' => 'GET',  
  327. 'parameters' => array( 
  328. 'project' => array( 
  329. 'location' => 'path',  
  330. 'type' => 'string',  
  331. 'required' => true,  
  332. ),  
  333. 'filter' => array( 
  334. 'location' => 'query',  
  335. 'type' => 'string',  
  336. ),  
  337. 'pageToken' => array( 
  338. 'location' => 'query',  
  339. 'type' => 'string',  
  340. ),  
  341. 'maxResults' => array( 
  342. 'location' => 'query',  
  343. 'type' => 'integer',  
  344. ),  
  345. ),  
  346. ), 'get' => array( 
  347. 'path' => '{project}/zones/{zone}/diskTypes/{diskType}',  
  348. 'httpMethod' => 'GET',  
  349. 'parameters' => array( 
  350. 'project' => array( 
  351. 'location' => 'path',  
  352. 'type' => 'string',  
  353. 'required' => true,  
  354. ),  
  355. 'zone' => array( 
  356. 'location' => 'path',  
  357. 'type' => 'string',  
  358. 'required' => true,  
  359. ),  
  360. 'diskType' => array( 
  361. 'location' => 'path',  
  362. 'type' => 'string',  
  363. 'required' => true,  
  364. ),  
  365. ),  
  366. ), 'list' => array( 
  367. 'path' => '{project}/zones/{zone}/diskTypes',  
  368. 'httpMethod' => 'GET',  
  369. 'parameters' => array( 
  370. 'project' => array( 
  371. 'location' => 'path',  
  372. 'type' => 'string',  
  373. 'required' => true,  
  374. ),  
  375. 'zone' => array( 
  376. 'location' => 'path',  
  377. 'type' => 'string',  
  378. 'required' => true,  
  379. ),  
  380. 'filter' => array( 
  381. 'location' => 'query',  
  382. 'type' => 'string',  
  383. ),  
  384. 'pageToken' => array( 
  385. 'location' => 'query',  
  386. 'type' => 'string',  
  387. ),  
  388. 'maxResults' => array( 
  389. 'location' => 'query',  
  390. 'type' => 'integer',  
  391. ),  
  392. ),  
  393. ),  
  394. ); 
  395. $this->disks = new Google_Service_Compute_Disks_Resource( 
  396. $this,  
  397. $this->serviceName,  
  398. 'disks',  
  399. array( 
  400. 'methods' => array( 
  401. 'aggregatedList' => array( 
  402. 'path' => '{project}/aggregated/disks',  
  403. 'httpMethod' => 'GET',  
  404. 'parameters' => array( 
  405. 'project' => array( 
  406. 'location' => 'path',  
  407. 'type' => 'string',  
  408. 'required' => true,  
  409. ),  
  410. 'filter' => array( 
  411. 'location' => 'query',  
  412. 'type' => 'string',  
  413. ),  
  414. 'pageToken' => array( 
  415. 'location' => 'query',  
  416. 'type' => 'string',  
  417. ),  
  418. 'maxResults' => array( 
  419. 'location' => 'query',  
  420. 'type' => 'integer',  
  421. ),  
  422. ),  
  423. ), 'createSnapshot' => array( 
  424. 'path' => '{project}/zones/{zone}/disks/{disk}/createSnapshot',  
  425. 'httpMethod' => 'POST',  
  426. 'parameters' => array( 
  427. 'project' => array( 
  428. 'location' => 'path',  
  429. 'type' => 'string',  
  430. 'required' => true,  
  431. ),  
  432. 'zone' => array( 
  433. 'location' => 'path',  
  434. 'type' => 'string',  
  435. 'required' => true,  
  436. ),  
  437. 'disk' => array( 
  438. 'location' => 'path',  
  439. 'type' => 'string',  
  440. 'required' => true,  
  441. ),  
  442. ),  
  443. ), 'delete' => array( 
  444. 'path' => '{project}/zones/{zone}/disks/{disk}',  
  445. 'httpMethod' => 'DELETE',  
  446. 'parameters' => array( 
  447. 'project' => array( 
  448. 'location' => 'path',  
  449. 'type' => 'string',  
  450. 'required' => true,  
  451. ),  
  452. 'zone' => array( 
  453. 'location' => 'path',  
  454. 'type' => 'string',  
  455. 'required' => true,  
  456. ),  
  457. 'disk' => array( 
  458. 'location' => 'path',  
  459. 'type' => 'string',  
  460. 'required' => true,  
  461. ),  
  462. ),  
  463. ), 'get' => array( 
  464. 'path' => '{project}/zones/{zone}/disks/{disk}',  
  465. 'httpMethod' => 'GET',  
  466. 'parameters' => array( 
  467. 'project' => array( 
  468. 'location' => 'path',  
  469. 'type' => 'string',  
  470. 'required' => true,  
  471. ),  
  472. 'zone' => array( 
  473. 'location' => 'path',  
  474. 'type' => 'string',  
  475. 'required' => true,  
  476. ),  
  477. 'disk' => array( 
  478. 'location' => 'path',  
  479. 'type' => 'string',  
  480. 'required' => true,  
  481. ),  
  482. ),  
  483. ), 'insert' => array( 
  484. 'path' => '{project}/zones/{zone}/disks',  
  485. 'httpMethod' => 'POST',  
  486. 'parameters' => array( 
  487. 'project' => array( 
  488. 'location' => 'path',  
  489. 'type' => 'string',  
  490. 'required' => true,  
  491. ),  
  492. 'zone' => array( 
  493. 'location' => 'path',  
  494. 'type' => 'string',  
  495. 'required' => true,  
  496. ),  
  497. 'sourceImage' => array( 
  498. 'location' => 'query',  
  499. 'type' => 'string',  
  500. ),  
  501. ),  
  502. ), 'list' => array( 
  503. 'path' => '{project}/zones/{zone}/disks',  
  504. 'httpMethod' => 'GET',  
  505. 'parameters' => array( 
  506. 'project' => array( 
  507. 'location' => 'path',  
  508. 'type' => 'string',  
  509. 'required' => true,  
  510. ),  
  511. 'zone' => array( 
  512. 'location' => 'path',  
  513. 'type' => 'string',  
  514. 'required' => true,  
  515. ),  
  516. 'filter' => array( 
  517. 'location' => 'query',  
  518. 'type' => 'string',  
  519. ),  
  520. 'pageToken' => array( 
  521. 'location' => 'query',  
  522. 'type' => 'string',  
  523. ),  
  524. 'maxResults' => array( 
  525. 'location' => 'query',  
  526. 'type' => 'integer',  
  527. ),  
  528. ),  
  529. ),  
  530. ); 
  531. $this->firewalls = new Google_Service_Compute_Firewalls_Resource( 
  532. $this,  
  533. $this->serviceName,  
  534. 'firewalls',  
  535. array( 
  536. 'methods' => array( 
  537. 'delete' => array( 
  538. 'path' => '{project}/global/firewalls/{firewall}',  
  539. 'httpMethod' => 'DELETE',  
  540. 'parameters' => array( 
  541. 'project' => array( 
  542. 'location' => 'path',  
  543. 'type' => 'string',  
  544. 'required' => true,  
  545. ),  
  546. 'firewall' => array( 
  547. 'location' => 'path',  
  548. 'type' => 'string',  
  549. 'required' => true,  
  550. ),  
  551. ),  
  552. ), 'get' => array( 
  553. 'path' => '{project}/global/firewalls/{firewall}',  
  554. 'httpMethod' => 'GET',  
  555. 'parameters' => array( 
  556. 'project' => array( 
  557. 'location' => 'path',  
  558. 'type' => 'string',  
  559. 'required' => true,  
  560. ),  
  561. 'firewall' => array( 
  562. 'location' => 'path',  
  563. 'type' => 'string',  
  564. 'required' => true,  
  565. ),  
  566. ),  
  567. ), 'insert' => array( 
  568. 'path' => '{project}/global/firewalls',  
  569. 'httpMethod' => 'POST',  
  570. 'parameters' => array( 
  571. 'project' => array( 
  572. 'location' => 'path',  
  573. 'type' => 'string',  
  574. 'required' => true,  
  575. ),  
  576. ),  
  577. ), 'list' => array( 
  578. 'path' => '{project}/global/firewalls',  
  579. 'httpMethod' => 'GET',  
  580. 'parameters' => array( 
  581. 'project' => array( 
  582. 'location' => 'path',  
  583. 'type' => 'string',  
  584. 'required' => true,  
  585. ),  
  586. 'filter' => array( 
  587. 'location' => 'query',  
  588. 'type' => 'string',  
  589. ),  
  590. 'pageToken' => array( 
  591. 'location' => 'query',  
  592. 'type' => 'string',  
  593. ),  
  594. 'maxResults' => array( 
  595. 'location' => 'query',  
  596. 'type' => 'integer',  
  597. ),  
  598. ),  
  599. ), 'patch' => array( 
  600. 'path' => '{project}/global/firewalls/{firewall}',  
  601. 'httpMethod' => 'PATCH',  
  602. 'parameters' => array( 
  603. 'project' => array( 
  604. 'location' => 'path',  
  605. 'type' => 'string',  
  606. 'required' => true,  
  607. ),  
  608. 'firewall' => array( 
  609. 'location' => 'path',  
  610. 'type' => 'string',  
  611. 'required' => true,  
  612. ),  
  613. ),  
  614. ), 'update' => array( 
  615. 'path' => '{project}/global/firewalls/{firewall}',  
  616. 'httpMethod' => 'PUT',  
  617. 'parameters' => array( 
  618. 'project' => array( 
  619. 'location' => 'path',  
  620. 'type' => 'string',  
  621. 'required' => true,  
  622. ),  
  623. 'firewall' => array( 
  624. 'location' => 'path',  
  625. 'type' => 'string',  
  626. 'required' => true,  
  627. ),  
  628. ),  
  629. ),  
  630. ); 
  631. $this->forwardingRules = new Google_Service_Compute_ForwardingRules_Resource( 
  632. $this,  
  633. $this->serviceName,  
  634. 'forwardingRules',  
  635. array( 
  636. 'methods' => array( 
  637. 'aggregatedList' => array( 
  638. 'path' => '{project}/aggregated/forwardingRules',  
  639. 'httpMethod' => 'GET',  
  640. 'parameters' => array( 
  641. 'project' => array( 
  642. 'location' => 'path',  
  643. 'type' => 'string',  
  644. 'required' => true,  
  645. ),  
  646. 'filter' => array( 
  647. 'location' => 'query',  
  648. 'type' => 'string',  
  649. ),  
  650. 'pageToken' => array( 
  651. 'location' => 'query',  
  652. 'type' => 'string',  
  653. ),  
  654. 'maxResults' => array( 
  655. 'location' => 'query',  
  656. 'type' => 'integer',  
  657. ),  
  658. ),  
  659. ), 'delete' => array( 
  660. 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}',  
  661. 'httpMethod' => 'DELETE',  
  662. 'parameters' => array( 
  663. 'project' => array( 
  664. 'location' => 'path',  
  665. 'type' => 'string',  
  666. 'required' => true,  
  667. ),  
  668. 'region' => array( 
  669. 'location' => 'path',  
  670. 'type' => 'string',  
  671. 'required' => true,  
  672. ),  
  673. 'forwardingRule' => array( 
  674. 'location' => 'path',  
  675. 'type' => 'string',  
  676. 'required' => true,  
  677. ),  
  678. ),  
  679. ), 'get' => array( 
  680. 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}',  
  681. 'httpMethod' => 'GET',  
  682. 'parameters' => array( 
  683. 'project' => array( 
  684. 'location' => 'path',  
  685. 'type' => 'string',  
  686. 'required' => true,  
  687. ),  
  688. 'region' => array( 
  689. 'location' => 'path',  
  690. 'type' => 'string',  
  691. 'required' => true,  
  692. ),  
  693. 'forwardingRule' => array( 
  694. 'location' => 'path',  
  695. 'type' => 'string',  
  696. 'required' => true,  
  697. ),  
  698. ),  
  699. ), 'insert' => array( 
  700. 'path' => '{project}/regions/{region}/forwardingRules',  
  701. 'httpMethod' => 'POST',  
  702. 'parameters' => array( 
  703. 'project' => array( 
  704. 'location' => 'path',  
  705. 'type' => 'string',  
  706. 'required' => true,  
  707. ),  
  708. 'region' => array( 
  709. 'location' => 'path',  
  710. 'type' => 'string',  
  711. 'required' => true,  
  712. ),  
  713. ),  
  714. ), 'list' => array( 
  715. 'path' => '{project}/regions/{region}/forwardingRules',  
  716. 'httpMethod' => 'GET',  
  717. 'parameters' => array( 
  718. 'project' => array( 
  719. 'location' => 'path',  
  720. 'type' => 'string',  
  721. 'required' => true,  
  722. ),  
  723. 'region' => array( 
  724. 'location' => 'path',  
  725. 'type' => 'string',  
  726. 'required' => true,  
  727. ),  
  728. 'filter' => array( 
  729. 'location' => 'query',  
  730. 'type' => 'string',  
  731. ),  
  732. 'pageToken' => array( 
  733. 'location' => 'query',  
  734. 'type' => 'string',  
  735. ),  
  736. 'maxResults' => array( 
  737. 'location' => 'query',  
  738. 'type' => 'integer',  
  739. ),  
  740. ),  
  741. ), 'setTarget' => array( 
  742. 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget',  
  743. 'httpMethod' => 'POST',  
  744. 'parameters' => array( 
  745. 'project' => array( 
  746. 'location' => 'path',  
  747. 'type' => 'string',  
  748. 'required' => true,  
  749. ),  
  750. 'region' => array( 
  751. 'location' => 'path',  
  752. 'type' => 'string',  
  753. 'required' => true,  
  754. ),  
  755. 'forwardingRule' => array( 
  756. 'location' => 'path',  
  757. 'type' => 'string',  
  758. 'required' => true,  
  759. ),  
  760. ),  
  761. ),  
  762. ); 
  763. $this->globalAddresses = new Google_Service_Compute_GlobalAddresses_Resource( 
  764. $this,  
  765. $this->serviceName,  
  766. 'globalAddresses',  
  767. array( 
  768. 'methods' => array( 
  769. 'delete' => array( 
  770. 'path' => '{project}/global/addresses/{address}',  
  771. 'httpMethod' => 'DELETE',  
  772. 'parameters' => array( 
  773. 'project' => array( 
  774. 'location' => 'path',  
  775. 'type' => 'string',  
  776. 'required' => true,  
  777. ),  
  778. 'address' => array( 
  779. 'location' => 'path',  
  780. 'type' => 'string',  
  781. 'required' => true,  
  782. ),  
  783. ),  
  784. ), 'get' => array( 
  785. 'path' => '{project}/global/addresses/{address}',  
  786. 'httpMethod' => 'GET',  
  787. 'parameters' => array( 
  788. 'project' => array( 
  789. 'location' => 'path',  
  790. 'type' => 'string',  
  791. 'required' => true,  
  792. ),  
  793. 'address' => array( 
  794. 'location' => 'path',  
  795. 'type' => 'string',  
  796. 'required' => true,  
  797. ),  
  798. ),  
  799. ), 'insert' => array( 
  800. 'path' => '{project}/global/addresses',  
  801. 'httpMethod' => 'POST',  
  802. 'parameters' => array( 
  803. 'project' => array( 
  804. 'location' => 'path',  
  805. 'type' => 'string',  
  806. 'required' => true,  
  807. ),  
  808. ),  
  809. ), 'list' => array( 
  810. 'path' => '{project}/global/addresses',  
  811. 'httpMethod' => 'GET',  
  812. 'parameters' => array( 
  813. 'project' => array( 
  814. 'location' => 'path',  
  815. 'type' => 'string',  
  816. 'required' => true,  
  817. ),  
  818. 'filter' => array( 
  819. 'location' => 'query',  
  820. 'type' => 'string',  
  821. ),  
  822. 'pageToken' => array( 
  823. 'location' => 'query',  
  824. 'type' => 'string',  
  825. ),  
  826. 'maxResults' => array( 
  827. 'location' => 'query',  
  828. 'type' => 'integer',  
  829. ),  
  830. ),  
  831. ),  
  832. ); 
  833. $this->globalForwardingRules = new Google_Service_Compute_GlobalForwardingRules_Resource( 
  834. $this,  
  835. $this->serviceName,  
  836. 'globalForwardingRules',  
  837. array( 
  838. 'methods' => array( 
  839. 'delete' => array( 
  840. 'path' => '{project}/global/forwardingRules/{forwardingRule}',  
  841. 'httpMethod' => 'DELETE',  
  842. 'parameters' => array( 
  843. 'project' => array( 
  844. 'location' => 'path',  
  845. 'type' => 'string',  
  846. 'required' => true,  
  847. ),  
  848. 'forwardingRule' => array( 
  849. 'location' => 'path',  
  850. 'type' => 'string',  
  851. 'required' => true,  
  852. ),  
  853. ),  
  854. ), 'get' => array( 
  855. 'path' => '{project}/global/forwardingRules/{forwardingRule}',  
  856. 'httpMethod' => 'GET',  
  857. 'parameters' => array( 
  858. 'project' => array( 
  859. 'location' => 'path',  
  860. 'type' => 'string',  
  861. 'required' => true,  
  862. ),  
  863. 'forwardingRule' => array( 
  864. 'location' => 'path',  
  865. 'type' => 'string',  
  866. 'required' => true,  
  867. ),  
  868. ),  
  869. ), 'insert' => array( 
  870. 'path' => '{project}/global/forwardingRules',  
  871. 'httpMethod' => 'POST',  
  872. 'parameters' => array( 
  873. 'project' => array( 
  874. 'location' => 'path',  
  875. 'type' => 'string',  
  876. 'required' => true,  
  877. ),  
  878. ),  
  879. ), 'list' => array( 
  880. 'path' => '{project}/global/forwardingRules',  
  881. 'httpMethod' => 'GET',  
  882. 'parameters' => array( 
  883. 'project' => array( 
  884. 'location' => 'path',  
  885. 'type' => 'string',  
  886. 'required' => true,  
  887. ),  
  888. 'filter' => array( 
  889. 'location' => 'query',  
  890. 'type' => 'string',  
  891. ),  
  892. 'pageToken' => array( 
  893. 'location' => 'query',  
  894. 'type' => 'string',  
  895. ),  
  896. 'maxResults' => array( 
  897. 'location' => 'query',  
  898. 'type' => 'integer',  
  899. ),  
  900. ),  
  901. ), 'setTarget' => array( 
  902. 'path' => '{project}/global/forwardingRules/{forwardingRule}/setTarget',  
  903. 'httpMethod' => 'POST',  
  904. 'parameters' => array( 
  905. 'project' => array( 
  906. 'location' => 'path',  
  907. 'type' => 'string',  
  908. 'required' => true,  
  909. ),  
  910. 'forwardingRule' => array( 
  911. 'location' => 'path',  
  912. 'type' => 'string',  
  913. 'required' => true,  
  914. ),  
  915. ),  
  916. ),  
  917. ); 
  918. $this->globalOperations = new Google_Service_Compute_GlobalOperations_Resource( 
  919. $this,  
  920. $this->serviceName,  
  921. 'globalOperations',  
  922. array( 
  923. 'methods' => array( 
  924. 'aggregatedList' => array( 
  925. 'path' => '{project}/aggregated/operations',  
  926. 'httpMethod' => 'GET',  
  927. 'parameters' => array( 
  928. 'project' => array( 
  929. 'location' => 'path',  
  930. 'type' => 'string',  
  931. 'required' => true,  
  932. ),  
  933. 'filter' => array( 
  934. 'location' => 'query',  
  935. 'type' => 'string',  
  936. ),  
  937. 'pageToken' => array( 
  938. 'location' => 'query',  
  939. 'type' => 'string',  
  940. ),  
  941. 'maxResults' => array( 
  942. 'location' => 'query',  
  943. 'type' => 'integer',  
  944. ),  
  945. ),  
  946. ), 'delete' => array( 
  947. 'path' => '{project}/global/operations/{operation}',  
  948. 'httpMethod' => 'DELETE',  
  949. 'parameters' => array( 
  950. 'project' => array( 
  951. 'location' => 'path',  
  952. 'type' => 'string',  
  953. 'required' => true,  
  954. ),  
  955. 'operation' => array( 
  956. 'location' => 'path',  
  957. 'type' => 'string',  
  958. 'required' => true,  
  959. ),  
  960. ),  
  961. ), 'get' => array( 
  962. 'path' => '{project}/global/operations/{operation}',  
  963. 'httpMethod' => 'GET',  
  964. 'parameters' => array( 
  965. 'project' => array( 
  966. 'location' => 'path',  
  967. 'type' => 'string',  
  968. 'required' => true,  
  969. ),  
  970. 'operation' => array( 
  971. 'location' => 'path',  
  972. 'type' => 'string',  
  973. 'required' => true,  
  974. ),  
  975. ),  
  976. ), 'list' => array( 
  977. 'path' => '{project}/global/operations',  
  978. 'httpMethod' => 'GET',  
  979. 'parameters' => array( 
  980. 'project' => array( 
  981. 'location' => 'path',  
  982. 'type' => 'string',  
  983. 'required' => true,  
  984. ),  
  985. 'filter' => array( 
  986. 'location' => 'query',  
  987. 'type' => 'string',  
  988. ),  
  989. 'pageToken' => array( 
  990. 'location' => 'query',  
  991. 'type' => 'string',  
  992. ),  
  993. 'maxResults' => array( 
  994. 'location' => 'query',  
  995. 'type' => 'integer',  
  996. ),  
  997. ),  
  998. ),  
  999. ); 
  1000. $this->httpHealthChecks = new Google_Service_Compute_HttpHealthChecks_Resource( 
  1001. $this,  
  1002. $this->serviceName,  
  1003. 'httpHealthChecks',  
  1004. array( 
  1005. 'methods' => array( 
  1006. 'delete' => array( 
  1007. 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',  
  1008. 'httpMethod' => 'DELETE',  
  1009. 'parameters' => array( 
  1010. 'project' => array( 
  1011. 'location' => 'path',  
  1012. 'type' => 'string',  
  1013. 'required' => true,  
  1014. ),  
  1015. 'httpHealthCheck' => array( 
  1016. 'location' => 'path',  
  1017. 'type' => 'string',  
  1018. 'required' => true,  
  1019. ),  
  1020. ),  
  1021. ), 'get' => array( 
  1022. 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',  
  1023. 'httpMethod' => 'GET',  
  1024. 'parameters' => array( 
  1025. 'project' => array( 
  1026. 'location' => 'path',  
  1027. 'type' => 'string',  
  1028. 'required' => true,  
  1029. ),  
  1030. 'httpHealthCheck' => array( 
  1031. 'location' => 'path',  
  1032. 'type' => 'string',  
  1033. 'required' => true,  
  1034. ),  
  1035. ),  
  1036. ), 'insert' => array( 
  1037. 'path' => '{project}/global/httpHealthChecks',  
  1038. 'httpMethod' => 'POST',  
  1039. 'parameters' => array( 
  1040. 'project' => array( 
  1041. 'location' => 'path',  
  1042. 'type' => 'string',  
  1043. 'required' => true,  
  1044. ),  
  1045. ),  
  1046. ), 'list' => array( 
  1047. 'path' => '{project}/global/httpHealthChecks',  
  1048. 'httpMethod' => 'GET',  
  1049. 'parameters' => array( 
  1050. 'project' => array( 
  1051. 'location' => 'path',  
  1052. 'type' => 'string',  
  1053. 'required' => true,  
  1054. ),  
  1055. 'filter' => array( 
  1056. 'location' => 'query',  
  1057. 'type' => 'string',  
  1058. ),  
  1059. 'pageToken' => array( 
  1060. 'location' => 'query',  
  1061. 'type' => 'string',  
  1062. ),  
  1063. 'maxResults' => array( 
  1064. 'location' => 'query',  
  1065. 'type' => 'integer',  
  1066. ),  
  1067. ),  
  1068. ), 'patch' => array( 
  1069. 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',  
  1070. 'httpMethod' => 'PATCH',  
  1071. 'parameters' => array( 
  1072. 'project' => array( 
  1073. 'location' => 'path',  
  1074. 'type' => 'string',  
  1075. 'required' => true,  
  1076. ),  
  1077. 'httpHealthCheck' => array( 
  1078. 'location' => 'path',  
  1079. 'type' => 'string',  
  1080. 'required' => true,  
  1081. ),  
  1082. ),  
  1083. ), 'update' => array( 
  1084. 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',  
  1085. 'httpMethod' => 'PUT',  
  1086. 'parameters' => array( 
  1087. 'project' => array( 
  1088. 'location' => 'path',  
  1089. 'type' => 'string',  
  1090. 'required' => true,  
  1091. ),  
  1092. 'httpHealthCheck' => array( 
  1093. 'location' => 'path',  
  1094. 'type' => 'string',  
  1095. 'required' => true,  
  1096. ),  
  1097. ),  
  1098. ),  
  1099. ); 
  1100. $this->images = new Google_Service_Compute_Images_Resource( 
  1101. $this,  
  1102. $this->serviceName,  
  1103. 'images',  
  1104. array( 
  1105. 'methods' => array( 
  1106. 'delete' => array( 
  1107. 'path' => '{project}/global/images/{image}',  
  1108. 'httpMethod' => 'DELETE',  
  1109. 'parameters' => array( 
  1110. 'project' => array( 
  1111. 'location' => 'path',  
  1112. 'type' => 'string',  
  1113. 'required' => true,  
  1114. ),  
  1115. 'image' => array( 
  1116. 'location' => 'path',  
  1117. 'type' => 'string',  
  1118. 'required' => true,  
  1119. ),  
  1120. ),  
  1121. ), 'deprecate' => array( 
  1122. 'path' => '{project}/global/images/{image}/deprecate',  
  1123. 'httpMethod' => 'POST',  
  1124. 'parameters' => array( 
  1125. 'project' => array( 
  1126. 'location' => 'path',  
  1127. 'type' => 'string',  
  1128. 'required' => true,  
  1129. ),  
  1130. 'image' => array( 
  1131. 'location' => 'path',  
  1132. 'type' => 'string',  
  1133. 'required' => true,  
  1134. ),  
  1135. ),  
  1136. ), 'get' => array( 
  1137. 'path' => '{project}/global/images/{image}',  
  1138. 'httpMethod' => 'GET',  
  1139. 'parameters' => array( 
  1140. 'project' => array( 
  1141. 'location' => 'path',  
  1142. 'type' => 'string',  
  1143. 'required' => true,  
  1144. ),  
  1145. 'image' => array( 
  1146. 'location' => 'path',  
  1147. 'type' => 'string',  
  1148. 'required' => true,  
  1149. ),  
  1150. ),  
  1151. ), 'insert' => array( 
  1152. 'path' => '{project}/global/images',  
  1153. 'httpMethod' => 'POST',  
  1154. 'parameters' => array( 
  1155. 'project' => array( 
  1156. 'location' => 'path',  
  1157. 'type' => 'string',  
  1158. 'required' => true,  
  1159. ),  
  1160. ),  
  1161. ), 'list' => array( 
  1162. 'path' => '{project}/global/images',  
  1163. 'httpMethod' => 'GET',  
  1164. 'parameters' => array( 
  1165. 'project' => array( 
  1166. 'location' => 'path',  
  1167. 'type' => 'string',  
  1168. 'required' => true,  
  1169. ),  
  1170. 'filter' => array( 
  1171. 'location' => 'query',  
  1172. 'type' => 'string',  
  1173. ),  
  1174. 'pageToken' => array( 
  1175. 'location' => 'query',  
  1176. 'type' => 'string',  
  1177. ),  
  1178. 'maxResults' => array( 
  1179. 'location' => 'query',  
  1180. 'type' => 'integer',  
  1181. ),  
  1182. ),  
  1183. ),  
  1184. ); 
  1185. $this->instanceTemplates = new Google_Service_Compute_InstanceTemplates_Resource( 
  1186. $this,  
  1187. $this->serviceName,  
  1188. 'instanceTemplates',  
  1189. array( 
  1190. 'methods' => array( 
  1191. 'delete' => array( 
  1192. 'path' => '{project}/global/instanceTemplates/{instanceTemplate}',  
  1193. 'httpMethod' => 'DELETE',  
  1194. 'parameters' => array( 
  1195. 'project' => array( 
  1196. 'location' => 'path',  
  1197. 'type' => 'string',  
  1198. 'required' => true,  
  1199. ),  
  1200. 'instanceTemplate' => array( 
  1201. 'location' => 'path',  
  1202. 'type' => 'string',  
  1203. 'required' => true,  
  1204. ),  
  1205. ),  
  1206. ), 'get' => array( 
  1207. 'path' => '{project}/global/instanceTemplates/{instanceTemplate}',  
  1208. 'httpMethod' => 'GET',  
  1209. 'parameters' => array( 
  1210. 'project' => array( 
  1211. 'location' => 'path',  
  1212. 'type' => 'string',  
  1213. 'required' => true,  
  1214. ),  
  1215. 'instanceTemplate' => array( 
  1216. 'location' => 'path',  
  1217. 'type' => 'string',  
  1218. 'required' => true,  
  1219. ),  
  1220. ),  
  1221. ), 'insert' => array( 
  1222. 'path' => '{project}/global/instanceTemplates',  
  1223. 'httpMethod' => 'POST',  
  1224. 'parameters' => array( 
  1225. 'project' => array( 
  1226. 'location' => 'path',  
  1227. 'type' => 'string',  
  1228. 'required' => true,  
  1229. ),  
  1230. ),  
  1231. ), 'list' => array( 
  1232. 'path' => '{project}/global/instanceTemplates',  
  1233. 'httpMethod' => 'GET',  
  1234. 'parameters' => array( 
  1235. 'project' => array( 
  1236. 'location' => 'path',  
  1237. 'type' => 'string',  
  1238. 'required' => true,  
  1239. ),  
  1240. 'filter' => array( 
  1241. 'location' => 'query',  
  1242. 'type' => 'string',  
  1243. ),  
  1244. 'pageToken' => array( 
  1245. 'location' => 'query',  
  1246. 'type' => 'string',  
  1247. ),  
  1248. 'maxResults' => array( 
  1249. 'location' => 'query',  
  1250. 'type' => 'integer',  
  1251. ),  
  1252. ),  
  1253. ),  
  1254. ); 
  1255. $this->instances = new Google_Service_Compute_Instances_Resource( 
  1256. $this,  
  1257. $this->serviceName,  
  1258. 'instances',  
  1259. array( 
  1260. 'methods' => array( 
  1261. 'addAccessConfig' => array( 
  1262. 'path' => '{project}/zones/{zone}/instances/{instance}/addAccessConfig',  
  1263. 'httpMethod' => 'POST',  
  1264. 'parameters' => array( 
  1265. 'project' => array( 
  1266. 'location' => 'path',  
  1267. 'type' => 'string',  
  1268. 'required' => true,  
  1269. ),  
  1270. 'zone' => array( 
  1271. 'location' => 'path',  
  1272. 'type' => 'string',  
  1273. 'required' => true,  
  1274. ),  
  1275. 'instance' => array( 
  1276. 'location' => 'path',  
  1277. 'type' => 'string',  
  1278. 'required' => true,  
  1279. ),  
  1280. 'networkInterface' => array( 
  1281. 'location' => 'query',  
  1282. 'type' => 'string',  
  1283. 'required' => true,  
  1284. ),  
  1285. ),  
  1286. ), 'aggregatedList' => array( 
  1287. 'path' => '{project}/aggregated/instances',  
  1288. 'httpMethod' => 'GET',  
  1289. 'parameters' => array( 
  1290. 'project' => array( 
  1291. 'location' => 'path',  
  1292. 'type' => 'string',  
  1293. 'required' => true,  
  1294. ),  
  1295. 'filter' => array( 
  1296. 'location' => 'query',  
  1297. 'type' => 'string',  
  1298. ),  
  1299. 'pageToken' => array( 
  1300. 'location' => 'query',  
  1301. 'type' => 'string',  
  1302. ),  
  1303. 'maxResults' => array( 
  1304. 'location' => 'query',  
  1305. 'type' => 'integer',  
  1306. ),  
  1307. ),  
  1308. ), 'attachDisk' => array( 
  1309. 'path' => '{project}/zones/{zone}/instances/{instance}/attachDisk',  
  1310. 'httpMethod' => 'POST',  
  1311. 'parameters' => array( 
  1312. 'project' => array( 
  1313. 'location' => 'path',  
  1314. 'type' => 'string',  
  1315. 'required' => true,  
  1316. ),  
  1317. 'zone' => array( 
  1318. 'location' => 'path',  
  1319. 'type' => 'string',  
  1320. 'required' => true,  
  1321. ),  
  1322. 'instance' => array( 
  1323. 'location' => 'path',  
  1324. 'type' => 'string',  
  1325. 'required' => true,  
  1326. ),  
  1327. ),  
  1328. ), 'delete' => array( 
  1329. 'path' => '{project}/zones/{zone}/instances/{instance}',  
  1330. 'httpMethod' => 'DELETE',  
  1331. 'parameters' => array( 
  1332. 'project' => array( 
  1333. 'location' => 'path',  
  1334. 'type' => 'string',  
  1335. 'required' => true,  
  1336. ),  
  1337. 'zone' => array( 
  1338. 'location' => 'path',  
  1339. 'type' => 'string',  
  1340. 'required' => true,  
  1341. ),  
  1342. 'instance' => array( 
  1343. 'location' => 'path',  
  1344. 'type' => 'string',  
  1345. 'required' => true,  
  1346. ),  
  1347. ),  
  1348. ), 'deleteAccessConfig' => array( 
  1349. 'path' => '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig',  
  1350. 'httpMethod' => 'POST',  
  1351. 'parameters' => array( 
  1352. 'project' => array( 
  1353. 'location' => 'path',  
  1354. 'type' => 'string',  
  1355. 'required' => true,  
  1356. ),  
  1357. 'zone' => array( 
  1358. 'location' => 'path',  
  1359. 'type' => 'string',  
  1360. 'required' => true,  
  1361. ),  
  1362. 'instance' => array( 
  1363. 'location' => 'path',  
  1364. 'type' => 'string',  
  1365. 'required' => true,  
  1366. ),  
  1367. 'accessConfig' => array( 
  1368. 'location' => 'query',  
  1369. 'type' => 'string',  
  1370. 'required' => true,  
  1371. ),  
  1372. 'networkInterface' => array( 
  1373. 'location' => 'query',  
  1374. 'type' => 'string',  
  1375. 'required' => true,  
  1376. ),  
  1377. ),  
  1378. ), 'detachDisk' => array( 
  1379. 'path' => '{project}/zones/{zone}/instances/{instance}/detachDisk',  
  1380. 'httpMethod' => 'POST',  
  1381. 'parameters' => array( 
  1382. 'project' => array( 
  1383. 'location' => 'path',  
  1384. 'type' => 'string',  
  1385. 'required' => true,  
  1386. ),  
  1387. 'zone' => array( 
  1388. 'location' => 'path',  
  1389. 'type' => 'string',  
  1390. 'required' => true,  
  1391. ),  
  1392. 'instance' => array( 
  1393. 'location' => 'path',  
  1394. 'type' => 'string',  
  1395. 'required' => true,  
  1396. ),  
  1397. 'deviceName' => array( 
  1398. 'location' => 'query',  
  1399. 'type' => 'string',  
  1400. 'required' => true,  
  1401. ),  
  1402. ),  
  1403. ), 'get' => array( 
  1404. 'path' => '{project}/zones/{zone}/instances/{instance}',  
  1405. 'httpMethod' => 'GET',  
  1406. 'parameters' => array( 
  1407. 'project' => array( 
  1408. 'location' => 'path',  
  1409. 'type' => 'string',  
  1410. 'required' => true,  
  1411. ),  
  1412. 'zone' => array( 
  1413. 'location' => 'path',  
  1414. 'type' => 'string',  
  1415. 'required' => true,  
  1416. ),  
  1417. 'instance' => array( 
  1418. 'location' => 'path',  
  1419. 'type' => 'string',  
  1420. 'required' => true,  
  1421. ),  
  1422. ),  
  1423. ), 'getSerialPortOutput' => array( 
  1424. 'path' => '{project}/zones/{zone}/instances/{instance}/serialPort',  
  1425. 'httpMethod' => 'GET',  
  1426. 'parameters' => array( 
  1427. 'project' => array( 
  1428. 'location' => 'path',  
  1429. 'type' => 'string',  
  1430. 'required' => true,  
  1431. ),  
  1432. 'zone' => array( 
  1433. 'location' => 'path',  
  1434. 'type' => 'string',  
  1435. 'required' => true,  
  1436. ),  
  1437. 'instance' => array( 
  1438. 'location' => 'path',  
  1439. 'type' => 'string',  
  1440. 'required' => true,  
  1441. ),  
  1442. ),  
  1443. ), 'insert' => array( 
  1444. 'path' => '{project}/zones/{zone}/instances',  
  1445. 'httpMethod' => 'POST',  
  1446. 'parameters' => array( 
  1447. 'project' => array( 
  1448. 'location' => 'path',  
  1449. 'type' => 'string',  
  1450. 'required' => true,  
  1451. ),  
  1452. 'zone' => array( 
  1453. 'location' => 'path',  
  1454. 'type' => 'string',  
  1455. 'required' => true,  
  1456. ),  
  1457. ),  
  1458. ), 'list' => array( 
  1459. 'path' => '{project}/zones/{zone}/instances',  
  1460. 'httpMethod' => 'GET',  
  1461. 'parameters' => array( 
  1462. 'project' => array( 
  1463. 'location' => 'path',  
  1464. 'type' => 'string',  
  1465. 'required' => true,  
  1466. ),  
  1467. 'zone' => array( 
  1468. 'location' => 'path',  
  1469. 'type' => 'string',  
  1470. 'required' => true,  
  1471. ),  
  1472. 'filter' => array( 
  1473. 'location' => 'query',  
  1474. 'type' => 'string',  
  1475. ),  
  1476. 'pageToken' => array( 
  1477. 'location' => 'query',  
  1478. 'type' => 'string',  
  1479. ),  
  1480. 'maxResults' => array( 
  1481. 'location' => 'query',  
  1482. 'type' => 'integer',  
  1483. ),  
  1484. ),  
  1485. ), 'reset' => array( 
  1486. 'path' => '{project}/zones/{zone}/instances/{instance}/reset',  
  1487. 'httpMethod' => 'POST',  
  1488. 'parameters' => array( 
  1489. 'project' => array( 
  1490. 'location' => 'path',  
  1491. 'type' => 'string',  
  1492. 'required' => true,  
  1493. ),  
  1494. 'zone' => array( 
  1495. 'location' => 'path',  
  1496. 'type' => 'string',  
  1497. 'required' => true,  
  1498. ),  
  1499. 'instance' => array( 
  1500. 'location' => 'path',  
  1501. 'type' => 'string',  
  1502. 'required' => true,  
  1503. ),  
  1504. ),  
  1505. ), 'setDiskAutoDelete' => array( 
  1506. 'path' => '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete',  
  1507. 'httpMethod' => 'POST',  
  1508. 'parameters' => array( 
  1509. 'project' => array( 
  1510. 'location' => 'path',  
  1511. 'type' => 'string',  
  1512. 'required' => true,  
  1513. ),  
  1514. 'zone' => array( 
  1515. 'location' => 'path',  
  1516. 'type' => 'string',  
  1517. 'required' => true,  
  1518. ),  
  1519. 'instance' => array( 
  1520. 'location' => 'path',  
  1521. 'type' => 'string',  
  1522. 'required' => true,  
  1523. ),  
  1524. 'autoDelete' => array( 
  1525. 'location' => 'query',  
  1526. 'type' => 'boolean',  
  1527. 'required' => true,  
  1528. ),  
  1529. 'deviceName' => array( 
  1530. 'location' => 'query',  
  1531. 'type' => 'string',  
  1532. 'required' => true,  
  1533. ),  
  1534. ),  
  1535. ), 'setMetadata' => array( 
  1536. 'path' => '{project}/zones/{zone}/instances/{instance}/setMetadata',  
  1537. 'httpMethod' => 'POST',  
  1538. 'parameters' => array( 
  1539. 'project' => array( 
  1540. 'location' => 'path',  
  1541. 'type' => 'string',  
  1542. 'required' => true,  
  1543. ),  
  1544. 'zone' => array( 
  1545. 'location' => 'path',  
  1546. 'type' => 'string',  
  1547. 'required' => true,  
  1548. ),  
  1549. 'instance' => array( 
  1550. 'location' => 'path',  
  1551. 'type' => 'string',  
  1552. 'required' => true,  
  1553. ),  
  1554. ),  
  1555. ), 'setScheduling' => array( 
  1556. 'path' => '{project}/zones/{zone}/instances/{instance}/setScheduling',  
  1557. 'httpMethod' => 'POST',  
  1558. 'parameters' => array( 
  1559. 'project' => array( 
  1560. 'location' => 'path',  
  1561. 'type' => 'string',  
  1562. 'required' => true,  
  1563. ),  
  1564. 'zone' => array( 
  1565. 'location' => 'path',  
  1566. 'type' => 'string',  
  1567. 'required' => true,  
  1568. ),  
  1569. 'instance' => array( 
  1570. 'location' => 'path',  
  1571. 'type' => 'string',  
  1572. 'required' => true,  
  1573. ),  
  1574. ),  
  1575. ), 'setTags' => array( 
  1576. 'path' => '{project}/zones/{zone}/instances/{instance}/setTags',  
  1577. 'httpMethod' => 'POST',  
  1578. 'parameters' => array( 
  1579. 'project' => array( 
  1580. 'location' => 'path',  
  1581. 'type' => 'string',  
  1582. 'required' => true,  
  1583. ),  
  1584. 'zone' => array( 
  1585. 'location' => 'path',  
  1586. 'type' => 'string',  
  1587. 'required' => true,  
  1588. ),  
  1589. 'instance' => array( 
  1590. 'location' => 'path',  
  1591. 'type' => 'string',  
  1592. 'required' => true,  
  1593. ),  
  1594. ),  
  1595. ), 'start' => array( 
  1596. 'path' => '{project}/zones/{zone}/instances/{instance}/start',  
  1597. 'httpMethod' => 'POST',  
  1598. 'parameters' => array( 
  1599. 'project' => array( 
  1600. 'location' => 'path',  
  1601. 'type' => 'string',  
  1602. 'required' => true,  
  1603. ),  
  1604. 'zone' => array( 
  1605. 'location' => 'path',  
  1606. 'type' => 'string',  
  1607. 'required' => true,  
  1608. ),  
  1609. 'instance' => array( 
  1610. 'location' => 'path',  
  1611. 'type' => 'string',  
  1612. 'required' => true,  
  1613. ),  
  1614. ),  
  1615. ), 'stop' => array( 
  1616. 'path' => '{project}/zones/{zone}/instances/{instance}/stop',  
  1617. 'httpMethod' => 'POST',  
  1618. 'parameters' => array( 
  1619. 'project' => array( 
  1620. 'location' => 'path',  
  1621. 'type' => 'string',  
  1622. 'required' => true,  
  1623. ),  
  1624. 'zone' => array( 
  1625. 'location' => 'path',  
  1626. 'type' => 'string',  
  1627. 'required' => true,  
  1628. ),  
  1629. 'instance' => array( 
  1630. 'location' => 'path',  
  1631. 'type' => 'string',  
  1632. 'required' => true,  
  1633. ),  
  1634. ),  
  1635. ),  
  1636. ); 
  1637. $this->licenses = new Google_Service_Compute_Licenses_Resource( 
  1638. $this,  
  1639. $this->serviceName,  
  1640. 'licenses',  
  1641. array( 
  1642. 'methods' => array( 
  1643. 'get' => array( 
  1644. 'path' => '{project}/global/licenses/{license}',  
  1645. 'httpMethod' => 'GET',  
  1646. 'parameters' => array( 
  1647. 'project' => array( 
  1648. 'location' => 'path',  
  1649. 'type' => 'string',  
  1650. 'required' => true,  
  1651. ),  
  1652. 'license' => array( 
  1653. 'location' => 'path',  
  1654. 'type' => 'string',  
  1655. 'required' => true,  
  1656. ),  
  1657. ),  
  1658. ),  
  1659. ); 
  1660. $this->machineTypes = new Google_Service_Compute_MachineTypes_Resource( 
  1661. $this,  
  1662. $this->serviceName,  
  1663. 'machineTypes',  
  1664. array( 
  1665. 'methods' => array( 
  1666. 'aggregatedList' => array( 
  1667. 'path' => '{project}/aggregated/machineTypes',  
  1668. 'httpMethod' => 'GET',  
  1669. 'parameters' => array( 
  1670. 'project' => array( 
  1671. 'location' => 'path',  
  1672. 'type' => 'string',  
  1673. 'required' => true,  
  1674. ),  
  1675. 'filter' => array( 
  1676. 'location' => 'query',  
  1677. 'type' => 'string',  
  1678. ),  
  1679. 'pageToken' => array( 
  1680. 'location' => 'query',  
  1681. 'type' => 'string',  
  1682. ),  
  1683. 'maxResults' => array( 
  1684. 'location' => 'query',  
  1685. 'type' => 'integer',  
  1686. ),  
  1687. ),  
  1688. ), 'get' => array( 
  1689. 'path' => '{project}/zones/{zone}/machineTypes/{machineType}',  
  1690. 'httpMethod' => 'GET',  
  1691. 'parameters' => array( 
  1692. 'project' => array( 
  1693. 'location' => 'path',  
  1694. 'type' => 'string',  
  1695. 'required' => true,  
  1696. ),  
  1697. 'zone' => array( 
  1698. 'location' => 'path',  
  1699. 'type' => 'string',  
  1700. 'required' => true,  
  1701. ),  
  1702. 'machineType' => array( 
  1703. 'location' => 'path',  
  1704. 'type' => 'string',  
  1705. 'required' => true,  
  1706. ),  
  1707. ),  
  1708. ), 'list' => array( 
  1709. 'path' => '{project}/zones/{zone}/machineTypes',  
  1710. 'httpMethod' => 'GET',  
  1711. 'parameters' => array( 
  1712. 'project' => array( 
  1713. 'location' => 'path',  
  1714. 'type' => 'string',  
  1715. 'required' => true,  
  1716. ),  
  1717. 'zone' => array( 
  1718. 'location' => 'path',  
  1719. 'type' => 'string',  
  1720. 'required' => true,  
  1721. ),  
  1722. 'filter' => array( 
  1723. 'location' => 'query',  
  1724. 'type' => 'string',  
  1725. ),  
  1726. 'pageToken' => array( 
  1727. 'location' => 'query',  
  1728. 'type' => 'string',  
  1729. ),  
  1730. 'maxResults' => array( 
  1731. 'location' => 'query',  
  1732. 'type' => 'integer',  
  1733. ),  
  1734. ),  
  1735. ),  
  1736. ); 
  1737. $this->networks = new Google_Service_Compute_Networks_Resource( 
  1738. $this,  
  1739. $this->serviceName,  
  1740. 'networks',  
  1741. array( 
  1742. 'methods' => array( 
  1743. 'delete' => array( 
  1744. 'path' => '{project}/global/networks/{network}',  
  1745. 'httpMethod' => 'DELETE',  
  1746. 'parameters' => array( 
  1747. 'project' => array( 
  1748. 'location' => 'path',  
  1749. 'type' => 'string',  
  1750. 'required' => true,  
  1751. ),  
  1752. 'network' => array( 
  1753. 'location' => 'path',  
  1754. 'type' => 'string',  
  1755. 'required' => true,  
  1756. ),  
  1757. ),  
  1758. ), 'get' => array( 
  1759. 'path' => '{project}/global/networks/{network}',  
  1760. 'httpMethod' => 'GET',  
  1761. 'parameters' => array( 
  1762. 'project' => array( 
  1763. 'location' => 'path',  
  1764. 'type' => 'string',  
  1765. 'required' => true,  
  1766. ),  
  1767. 'network' => array( 
  1768. 'location' => 'path',  
  1769. 'type' => 'string',  
  1770. 'required' => true,  
  1771. ),  
  1772. ),  
  1773. ), 'insert' => array( 
  1774. 'path' => '{project}/global/networks',  
  1775. 'httpMethod' => 'POST',  
  1776. 'parameters' => array( 
  1777. 'project' => array( 
  1778. 'location' => 'path',  
  1779. 'type' => 'string',  
  1780. 'required' => true,  
  1781. ),  
  1782. ),  
  1783. ), 'list' => array( 
  1784. 'path' => '{project}/global/networks',  
  1785. 'httpMethod' => 'GET',  
  1786. 'parameters' => array( 
  1787. 'project' => array( 
  1788. 'location' => 'path',  
  1789. 'type' => 'string',  
  1790. 'required' => true,  
  1791. ),  
  1792. 'filter' => array( 
  1793. 'location' => 'query',  
  1794. 'type' => 'string',  
  1795. ),  
  1796. 'pageToken' => array( 
  1797. 'location' => 'query',  
  1798. 'type' => 'string',  
  1799. ),  
  1800. 'maxResults' => array( 
  1801. 'location' => 'query',  
  1802. 'type' => 'integer',  
  1803. ),  
  1804. ),  
  1805. ),  
  1806. ); 
  1807. $this->projects = new Google_Service_Compute_Projects_Resource( 
  1808. $this,  
  1809. $this->serviceName,  
  1810. 'projects',  
  1811. array( 
  1812. 'methods' => array( 
  1813. 'get' => array( 
  1814. 'path' => '{project}',  
  1815. 'httpMethod' => 'GET',  
  1816. 'parameters' => array( 
  1817. 'project' => array( 
  1818. 'location' => 'path',  
  1819. 'type' => 'string',  
  1820. 'required' => true,  
  1821. ),  
  1822. ),  
  1823. ), 'setCommonInstanceMetadata' => array( 
  1824. 'path' => '{project}/setCommonInstanceMetadata',  
  1825. 'httpMethod' => 'POST',  
  1826. 'parameters' => array( 
  1827. 'project' => array( 
  1828. 'location' => 'path',  
  1829. 'type' => 'string',  
  1830. 'required' => true,  
  1831. ),  
  1832. ),  
  1833. ), 'setUsageExportBucket' => array( 
  1834. 'path' => '{project}/setUsageExportBucket',  
  1835. 'httpMethod' => 'POST',  
  1836. 'parameters' => array( 
  1837. 'project' => array( 
  1838. 'location' => 'path',  
  1839. 'type' => 'string',  
  1840. 'required' => true,  
  1841. ),  
  1842. ),  
  1843. ),  
  1844. ); 
  1845. $this->regionOperations = new Google_Service_Compute_RegionOperations_Resource( 
  1846. $this,  
  1847. $this->serviceName,  
  1848. 'regionOperations',  
  1849. array( 
  1850. 'methods' => array( 
  1851. 'delete' => array( 
  1852. 'path' => '{project}/regions/{region}/operations/{operation}',  
  1853. 'httpMethod' => 'DELETE',  
  1854. 'parameters' => array( 
  1855. 'project' => array( 
  1856. 'location' => 'path',  
  1857. 'type' => 'string',  
  1858. 'required' => true,  
  1859. ),  
  1860. 'region' => array( 
  1861. 'location' => 'path',  
  1862. 'type' => 'string',  
  1863. 'required' => true,  
  1864. ),  
  1865. 'operation' => array( 
  1866. 'location' => 'path',  
  1867. 'type' => 'string',  
  1868. 'required' => true,  
  1869. ),  
  1870. ),  
  1871. ), 'get' => array( 
  1872. 'path' => '{project}/regions/{region}/operations/{operation}',  
  1873. 'httpMethod' => 'GET',  
  1874. 'parameters' => array( 
  1875. 'project' => array( 
  1876. 'location' => 'path',  
  1877. 'type' => 'string',  
  1878. 'required' => true,  
  1879. ),  
  1880. 'region' => array( 
  1881. 'location' => 'path',  
  1882. 'type' => 'string',  
  1883. 'required' => true,  
  1884. ),  
  1885. 'operation' => array( 
  1886. 'location' => 'path',  
  1887. 'type' => 'string',  
  1888. 'required' => true,  
  1889. ),  
  1890. ),  
  1891. ), 'list' => array( 
  1892. 'path' => '{project}/regions/{region}/operations',  
  1893. 'httpMethod' => 'GET',  
  1894. 'parameters' => array( 
  1895. 'project' => array( 
  1896. 'location' => 'path',  
  1897. 'type' => 'string',  
  1898. 'required' => true,  
  1899. ),  
  1900. 'region' => array( 
  1901. 'location' => 'path',  
  1902. 'type' => 'string',  
  1903. 'required' => true,  
  1904. ),  
  1905. 'filter' => array( 
  1906. 'location' => 'query',  
  1907. 'type' => 'string',  
  1908. ),  
  1909. 'pageToken' => array( 
  1910. 'location' => 'query',  
  1911. 'type' => 'string',  
  1912. ),  
  1913. 'maxResults' => array( 
  1914. 'location' => 'query',  
  1915. 'type' => 'integer',  
  1916. ),  
  1917. ),  
  1918. ),  
  1919. ); 
  1920. $this->regions = new Google_Service_Compute_Regions_Resource( 
  1921. $this,  
  1922. $this->serviceName,  
  1923. 'regions',  
  1924. array( 
  1925. 'methods' => array( 
  1926. 'get' => array( 
  1927. 'path' => '{project}/regions/{region}',  
  1928. 'httpMethod' => 'GET',  
  1929. 'parameters' => array( 
  1930. 'project' => array( 
  1931. 'location' => 'path',  
  1932. 'type' => 'string',  
  1933. 'required' => true,  
  1934. ),  
  1935. 'region' => array( 
  1936. 'location' => 'path',  
  1937. 'type' => 'string',  
  1938. 'required' => true,  
  1939. ),  
  1940. ),  
  1941. ), 'list' => array( 
  1942. 'path' => '{project}/regions',  
  1943. 'httpMethod' => 'GET',  
  1944. 'parameters' => array( 
  1945. 'project' => array( 
  1946. 'location' => 'path',  
  1947. 'type' => 'string',  
  1948. 'required' => true,  
  1949. ),  
  1950. 'filter' => array( 
  1951. 'location' => 'query',  
  1952. 'type' => 'string',  
  1953. ),  
  1954. 'pageToken' => array( 
  1955. 'location' => 'query',  
  1956. 'type' => 'string',  
  1957. ),  
  1958. 'maxResults' => array( 
  1959. 'location' => 'query',  
  1960. 'type' => 'integer',  
  1961. ),  
  1962. ),  
  1963. ),  
  1964. ); 
  1965. $this->routes = new Google_Service_Compute_Routes_Resource( 
  1966. $this,  
  1967. $this->serviceName,  
  1968. 'routes',  
  1969. array( 
  1970. 'methods' => array( 
  1971. 'delete' => array( 
  1972. 'path' => '{project}/global/routes/{route}',  
  1973. 'httpMethod' => 'DELETE',  
  1974. 'parameters' => array( 
  1975. 'project' => array( 
  1976. 'location' => 'path',  
  1977. 'type' => 'string',  
  1978. 'required' => true,  
  1979. ),  
  1980. 'route' => array( 
  1981. 'location' => 'path',  
  1982. 'type' => 'string',  
  1983. 'required' => true,  
  1984. ),  
  1985. ),  
  1986. ), 'get' => array( 
  1987. 'path' => '{project}/global/routes/{route}',  
  1988. 'httpMethod' => 'GET',  
  1989. 'parameters' => array( 
  1990. 'project' => array( 
  1991. 'location' => 'path',  
  1992. 'type' => 'string',  
  1993. 'required' => true,  
  1994. ),  
  1995. 'route' => array( 
  1996. 'location' => 'path',  
  1997. 'type' => 'string',  
  1998. 'required' => true,  
  1999. ),  
  2000. ),  
  2001. ), 'insert' => array( 
  2002. 'path' => '{project}/global/routes',  
  2003. 'httpMethod' => 'POST',  
  2004. 'parameters' => array( 
  2005. 'project' => array( 
  2006. 'location' => 'path',  
  2007. 'type' => 'string',  
  2008. 'required' => true,  
  2009. ),  
  2010. ),  
  2011. ), 'list' => array( 
  2012. 'path' => '{project}/global/routes',  
  2013. 'httpMethod' => 'GET',  
  2014. 'parameters' => array( 
  2015. 'project' => array( 
  2016. 'location' => 'path',  
  2017. 'type' => 'string',  
  2018. 'required' => true,  
  2019. ),  
  2020. 'filter' => array( 
  2021. 'location' => 'query',  
  2022. 'type' => 'string',  
  2023. ),  
  2024. 'pageToken' => array( 
  2025. 'location' => 'query',  
  2026. 'type' => 'string',  
  2027. ),  
  2028. 'maxResults' => array( 
  2029. 'location' => 'query',  
  2030. 'type' => 'integer',  
  2031. ),  
  2032. ),  
  2033. ),  
  2034. ); 
  2035. $this->snapshots = new Google_Service_Compute_Snapshots_Resource( 
  2036. $this,  
  2037. $this->serviceName,  
  2038. 'snapshots',  
  2039. array( 
  2040. 'methods' => array( 
  2041. 'delete' => array( 
  2042. 'path' => '{project}/global/snapshots/{snapshot}',  
  2043. 'httpMethod' => 'DELETE',  
  2044. 'parameters' => array( 
  2045. 'project' => array( 
  2046. 'location' => 'path',  
  2047. 'type' => 'string',  
  2048. 'required' => true,  
  2049. ),  
  2050. 'snapshot' => array( 
  2051. 'location' => 'path',  
  2052. 'type' => 'string',  
  2053. 'required' => true,  
  2054. ),  
  2055. ),  
  2056. ), 'get' => array( 
  2057. 'path' => '{project}/global/snapshots/{snapshot}',  
  2058. 'httpMethod' => 'GET',  
  2059. 'parameters' => array( 
  2060. 'project' => array( 
  2061. 'location' => 'path',  
  2062. 'type' => 'string',  
  2063. 'required' => true,  
  2064. ),  
  2065. 'snapshot' => array( 
  2066. 'location' => 'path',  
  2067. 'type' => 'string',  
  2068. 'required' => true,  
  2069. ),  
  2070. ),  
  2071. ), 'list' => array( 
  2072. 'path' => '{project}/global/snapshots',  
  2073. 'httpMethod' => 'GET',  
  2074. 'parameters' => array( 
  2075. 'project' => array( 
  2076. 'location' => 'path',  
  2077. 'type' => 'string',  
  2078. 'required' => true,  
  2079. ),  
  2080. 'filter' => array( 
  2081. 'location' => 'query',  
  2082. 'type' => 'string',  
  2083. ),  
  2084. 'pageToken' => array( 
  2085. 'location' => 'query',  
  2086. 'type' => 'string',  
  2087. ),  
  2088. 'maxResults' => array( 
  2089. 'location' => 'query',  
  2090. 'type' => 'integer',  
  2091. ),  
  2092. ),  
  2093. ),  
  2094. ); 
  2095. $this->targetHttpProxies = new Google_Service_Compute_TargetHttpProxies_Resource( 
  2096. $this,  
  2097. $this->serviceName,  
  2098. 'targetHttpProxies',  
  2099. array( 
  2100. 'methods' => array( 
  2101. 'delete' => array( 
  2102. 'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}',  
  2103. 'httpMethod' => 'DELETE',  
  2104. 'parameters' => array( 
  2105. 'project' => array( 
  2106. 'location' => 'path',  
  2107. 'type' => 'string',  
  2108. 'required' => true,  
  2109. ),  
  2110. 'targetHttpProxy' => array( 
  2111. 'location' => 'path',  
  2112. 'type' => 'string',  
  2113. 'required' => true,  
  2114. ),  
  2115. ),  
  2116. ), 'get' => array( 
  2117. 'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}',  
  2118. 'httpMethod' => 'GET',  
  2119. 'parameters' => array( 
  2120. 'project' => array( 
  2121. 'location' => 'path',  
  2122. 'type' => 'string',  
  2123. 'required' => true,  
  2124. ),  
  2125. 'targetHttpProxy' => array( 
  2126. 'location' => 'path',  
  2127. 'type' => 'string',  
  2128. 'required' => true,  
  2129. ),  
  2130. ),  
  2131. ), 'insert' => array( 
  2132. 'path' => '{project}/global/targetHttpProxies',  
  2133. 'httpMethod' => 'POST',  
  2134. 'parameters' => array( 
  2135. 'project' => array( 
  2136. 'location' => 'path',  
  2137. 'type' => 'string',  
  2138. 'required' => true,  
  2139. ),  
  2140. ),  
  2141. ), 'list' => array( 
  2142. 'path' => '{project}/global/targetHttpProxies',  
  2143. 'httpMethod' => 'GET',  
  2144. 'parameters' => array( 
  2145. 'project' => array( 
  2146. 'location' => 'path',  
  2147. 'type' => 'string',  
  2148. 'required' => true,  
  2149. ),  
  2150. 'filter' => array( 
  2151. 'location' => 'query',  
  2152. 'type' => 'string',  
  2153. ),  
  2154. 'pageToken' => array( 
  2155. 'location' => 'query',  
  2156. 'type' => 'string',  
  2157. ),  
  2158. 'maxResults' => array( 
  2159. 'location' => 'query',  
  2160. 'type' => 'integer',  
  2161. ),  
  2162. ),  
  2163. ), 'setUrlMap' => array( 
  2164. 'path' => '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap',  
  2165. 'httpMethod' => 'POST',  
  2166. 'parameters' => array( 
  2167. 'project' => array( 
  2168. 'location' => 'path',  
  2169. 'type' => 'string',  
  2170. 'required' => true,  
  2171. ),  
  2172. 'targetHttpProxy' => array( 
  2173. 'location' => 'path',  
  2174. 'type' => 'string',  
  2175. 'required' => true,  
  2176. ),  
  2177. ),  
  2178. ),  
  2179. ); 
  2180. $this->targetInstances = new Google_Service_Compute_TargetInstances_Resource( 
  2181. $this,  
  2182. $this->serviceName,  
  2183. 'targetInstances',  
  2184. array( 
  2185. 'methods' => array( 
  2186. 'aggregatedList' => array( 
  2187. 'path' => '{project}/aggregated/targetInstances',  
  2188. 'httpMethod' => 'GET',  
  2189. 'parameters' => array( 
  2190. 'project' => array( 
  2191. 'location' => 'path',  
  2192. 'type' => 'string',  
  2193. 'required' => true,  
  2194. ),  
  2195. 'filter' => array( 
  2196. 'location' => 'query',  
  2197. 'type' => 'string',  
  2198. ),  
  2199. 'pageToken' => array( 
  2200. 'location' => 'query',  
  2201. 'type' => 'string',  
  2202. ),  
  2203. 'maxResults' => array( 
  2204. 'location' => 'query',  
  2205. 'type' => 'integer',  
  2206. ),  
  2207. ),  
  2208. ), 'delete' => array( 
  2209. 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}',  
  2210. 'httpMethod' => 'DELETE',  
  2211. 'parameters' => array( 
  2212. 'project' => array( 
  2213. 'location' => 'path',  
  2214. 'type' => 'string',  
  2215. 'required' => true,  
  2216. ),  
  2217. 'zone' => array( 
  2218. 'location' => 'path',  
  2219. 'type' => 'string',  
  2220. 'required' => true,  
  2221. ),  
  2222. 'targetInstance' => array( 
  2223. 'location' => 'path',  
  2224. 'type' => 'string',  
  2225. 'required' => true,  
  2226. ),  
  2227. ),  
  2228. ), 'get' => array( 
  2229. 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}',  
  2230. 'httpMethod' => 'GET',  
  2231. 'parameters' => array( 
  2232. 'project' => array( 
  2233. 'location' => 'path',  
  2234. 'type' => 'string',  
  2235. 'required' => true,  
  2236. ),  
  2237. 'zone' => array( 
  2238. 'location' => 'path',  
  2239. 'type' => 'string',  
  2240. 'required' => true,  
  2241. ),  
  2242. 'targetInstance' => array( 
  2243. 'location' => 'path',  
  2244. 'type' => 'string',  
  2245. 'required' => true,  
  2246. ),  
  2247. ),  
  2248. ), 'insert' => array( 
  2249. 'path' => '{project}/zones/{zone}/targetInstances',  
  2250. 'httpMethod' => 'POST',  
  2251. 'parameters' => array( 
  2252. 'project' => array( 
  2253. 'location' => 'path',  
  2254. 'type' => 'string',  
  2255. 'required' => true,  
  2256. ),  
  2257. 'zone' => array( 
  2258. 'location' => 'path',  
  2259. 'type' => 'string',  
  2260. 'required' => true,  
  2261. ),  
  2262. ),  
  2263. ), 'list' => array( 
  2264. 'path' => '{project}/zones/{zone}/targetInstances',  
  2265. 'httpMethod' => 'GET',  
  2266. 'parameters' => array( 
  2267. 'project' => array( 
  2268. 'location' => 'path',  
  2269. 'type' => 'string',  
  2270. 'required' => true,  
  2271. ),  
  2272. 'zone' => array( 
  2273. 'location' => 'path',  
  2274. 'type' => 'string',  
  2275. 'required' => true,  
  2276. ),  
  2277. 'filter' => array( 
  2278. 'location' => 'query',  
  2279. 'type' => 'string',  
  2280. ),  
  2281. 'pageToken' => array( 
  2282. 'location' => 'query',  
  2283. 'type' => 'string',  
  2284. ),  
  2285. 'maxResults' => array( 
  2286. 'location' => 'query',  
  2287. 'type' => 'integer',  
  2288. ),  
  2289. ),  
  2290. ),  
  2291. ); 
  2292. $this->targetPools = new Google_Service_Compute_TargetPools_Resource( 
  2293. $this,  
  2294. $this->serviceName,  
  2295. 'targetPools',  
  2296. array( 
  2297. 'methods' => array( 
  2298. 'addHealthCheck' => array( 
  2299. 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck',  
  2300. 'httpMethod' => 'POST',  
  2301. 'parameters' => array( 
  2302. 'project' => array( 
  2303. 'location' => 'path',  
  2304. 'type' => 'string',  
  2305. 'required' => true,  
  2306. ),  
  2307. 'region' => array( 
  2308. 'location' => 'path',  
  2309. 'type' => 'string',  
  2310. 'required' => true,  
  2311. ),  
  2312. 'targetPool' => array( 
  2313. 'location' => 'path',  
  2314. 'type' => 'string',  
  2315. 'required' => true,  
  2316. ),  
  2317. ),  
  2318. ), 'addInstance' => array( 
  2319. 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addInstance',  
  2320. 'httpMethod' => 'POST',  
  2321. 'parameters' => array( 
  2322. 'project' => array( 
  2323. 'location' => 'path',  
  2324. 'type' => 'string',  
  2325. 'required' => true,  
  2326. ),  
  2327. 'region' => array( 
  2328. 'location' => 'path',  
  2329. 'type' => 'string',  
  2330. 'required' => true,  
  2331. ),  
  2332. 'targetPool' => array( 
  2333. 'location' => 'path',  
  2334. 'type' => 'string',  
  2335. 'required' => true,  
  2336. ),  
  2337. ),  
  2338. ), 'aggregatedList' => array( 
  2339. 'path' => '{project}/aggregated/targetPools',  
  2340. 'httpMethod' => 'GET',  
  2341. 'parameters' => array( 
  2342. 'project' => array( 
  2343. 'location' => 'path',  
  2344. 'type' => 'string',  
  2345. 'required' => true,  
  2346. ),  
  2347. 'filter' => array( 
  2348. 'location' => 'query',  
  2349. 'type' => 'string',  
  2350. ),  
  2351. 'pageToken' => array( 
  2352. 'location' => 'query',  
  2353. 'type' => 'string',  
  2354. ),  
  2355. 'maxResults' => array( 
  2356. 'location' => 'query',  
  2357. 'type' => 'integer',  
  2358. ),  
  2359. ),  
  2360. ), 'delete' => array( 
  2361. 'path' => '{project}/regions/{region}/targetPools/{targetPool}',  
  2362. 'httpMethod' => 'DELETE',  
  2363. 'parameters' => array( 
  2364. 'project' => array( 
  2365. 'location' => 'path',  
  2366. 'type' => 'string',  
  2367. 'required' => true,  
  2368. ),  
  2369. 'region' => array( 
  2370. 'location' => 'path',  
  2371. 'type' => 'string',  
  2372. 'required' => true,  
  2373. ),  
  2374. 'targetPool' => array( 
  2375. 'location' => 'path',  
  2376. 'type' => 'string',  
  2377. 'required' => true,  
  2378. ),  
  2379. ),  
  2380. ), 'get' => array( 
  2381. 'path' => '{project}/regions/{region}/targetPools/{targetPool}',  
  2382. 'httpMethod' => 'GET',  
  2383. 'parameters' => array( 
  2384. 'project' => array( 
  2385. 'location' => 'path',  
  2386. 'type' => 'string',  
  2387. 'required' => true,  
  2388. ),  
  2389. 'region' => array( 
  2390. 'location' => 'path',  
  2391. 'type' => 'string',  
  2392. 'required' => true,  
  2393. ),  
  2394. 'targetPool' => array( 
  2395. 'location' => 'path',  
  2396. 'type' => 'string',  
  2397. 'required' => true,  
  2398. ),  
  2399. ),  
  2400. ), 'getHealth' => array( 
  2401. 'path' => '{project}/regions/{region}/targetPools/{targetPool}/getHealth',  
  2402. 'httpMethod' => 'POST',  
  2403. 'parameters' => array( 
  2404. 'project' => array( 
  2405. 'location' => 'path',  
  2406. 'type' => 'string',  
  2407. 'required' => true,  
  2408. ),  
  2409. 'region' => array( 
  2410. 'location' => 'path',  
  2411. 'type' => 'string',  
  2412. 'required' => true,  
  2413. ),  
  2414. 'targetPool' => array( 
  2415. 'location' => 'path',  
  2416. 'type' => 'string',  
  2417. 'required' => true,  
  2418. ),  
  2419. ),  
  2420. ), 'insert' => array( 
  2421. 'path' => '{project}/regions/{region}/targetPools',  
  2422. 'httpMethod' => 'POST',  
  2423. 'parameters' => array( 
  2424. 'project' => array( 
  2425. 'location' => 'path',  
  2426. 'type' => 'string',  
  2427. 'required' => true,  
  2428. ),  
  2429. 'region' => array( 
  2430. 'location' => 'path',  
  2431. 'type' => 'string',  
  2432. 'required' => true,  
  2433. ),  
  2434. ),  
  2435. ), 'list' => array( 
  2436. 'path' => '{project}/regions/{region}/targetPools',  
  2437. 'httpMethod' => 'GET',  
  2438. 'parameters' => array( 
  2439. 'project' => array( 
  2440. 'location' => 'path',  
  2441. 'type' => 'string',  
  2442. 'required' => true,  
  2443. ),  
  2444. 'region' => array( 
  2445. 'location' => 'path',  
  2446. 'type' => 'string',  
  2447. 'required' => true,  
  2448. ),  
  2449. 'filter' => array( 
  2450. 'location' => 'query',  
  2451. 'type' => 'string',  
  2452. ),  
  2453. 'pageToken' => array( 
  2454. 'location' => 'query',  
  2455. 'type' => 'string',  
  2456. ),  
  2457. 'maxResults' => array( 
  2458. 'location' => 'query',  
  2459. 'type' => 'integer',  
  2460. ),  
  2461. ),  
  2462. ), 'removeHealthCheck' => array( 
  2463. 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck',  
  2464. 'httpMethod' => 'POST',  
  2465. 'parameters' => array( 
  2466. 'project' => array( 
  2467. 'location' => 'path',  
  2468. 'type' => 'string',  
  2469. 'required' => true,  
  2470. ),  
  2471. 'region' => array( 
  2472. 'location' => 'path',  
  2473. 'type' => 'string',  
  2474. 'required' => true,  
  2475. ),  
  2476. 'targetPool' => array( 
  2477. 'location' => 'path',  
  2478. 'type' => 'string',  
  2479. 'required' => true,  
  2480. ),  
  2481. ),  
  2482. ), 'removeInstance' => array( 
  2483. 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeInstance',  
  2484. 'httpMethod' => 'POST',  
  2485. 'parameters' => array( 
  2486. 'project' => array( 
  2487. 'location' => 'path',  
  2488. 'type' => 'string',  
  2489. 'required' => true,  
  2490. ),  
  2491. 'region' => array( 
  2492. 'location' => 'path',  
  2493. 'type' => 'string',  
  2494. 'required' => true,  
  2495. ),  
  2496. 'targetPool' => array( 
  2497. 'location' => 'path',  
  2498. 'type' => 'string',  
  2499. 'required' => true,  
  2500. ),  
  2501. ),  
  2502. ), 'setBackup' => array( 
  2503. 'path' => '{project}/regions/{region}/targetPools/{targetPool}/setBackup',  
  2504. 'httpMethod' => 'POST',  
  2505. 'parameters' => array( 
  2506. 'project' => array( 
  2507. 'location' => 'path',  
  2508. 'type' => 'string',  
  2509. 'required' => true,  
  2510. ),  
  2511. 'region' => array( 
  2512. 'location' => 'path',  
  2513. 'type' => 'string',  
  2514. 'required' => true,  
  2515. ),  
  2516. 'targetPool' => array( 
  2517. 'location' => 'path',  
  2518. 'type' => 'string',  
  2519. 'required' => true,  
  2520. ),  
  2521. 'failoverRatio' => array( 
  2522. 'location' => 'query',  
  2523. 'type' => 'number',  
  2524. ),  
  2525. ),  
  2526. ),  
  2527. ); 
  2528. $this->urlMaps = new Google_Service_Compute_UrlMaps_Resource( 
  2529. $this,  
  2530. $this->serviceName,  
  2531. 'urlMaps',  
  2532. array( 
  2533. 'methods' => array( 
  2534. 'delete' => array( 
  2535. 'path' => '{project}/global/urlMaps/{urlMap}',  
  2536. 'httpMethod' => 'DELETE',  
  2537. 'parameters' => array( 
  2538. 'project' => array( 
  2539. 'location' => 'path',  
  2540. 'type' => 'string',  
  2541. 'required' => true,  
  2542. ),  
  2543. 'urlMap' => array( 
  2544. 'location' => 'path',  
  2545. 'type' => 'string',  
  2546. 'required' => true,  
  2547. ),  
  2548. ),  
  2549. ), 'get' => array( 
  2550. 'path' => '{project}/global/urlMaps/{urlMap}',  
  2551. 'httpMethod' => 'GET',  
  2552. 'parameters' => array( 
  2553. 'project' => array( 
  2554. 'location' => 'path',  
  2555. 'type' => 'string',  
  2556. 'required' => true,  
  2557. ),  
  2558. 'urlMap' => array( 
  2559. 'location' => 'path',  
  2560. 'type' => 'string',  
  2561. 'required' => true,  
  2562. ),  
  2563. ),  
  2564. ), 'insert' => array( 
  2565. 'path' => '{project}/global/urlMaps',  
  2566. 'httpMethod' => 'POST',  
  2567. 'parameters' => array( 
  2568. 'project' => array( 
  2569. 'location' => 'path',  
  2570. 'type' => 'string',  
  2571. 'required' => true,  
  2572. ),  
  2573. ),  
  2574. ), 'list' => array( 
  2575. 'path' => '{project}/global/urlMaps',  
  2576. 'httpMethod' => 'GET',  
  2577. 'parameters' => array( 
  2578. 'project' => array( 
  2579. 'location' => 'path',  
  2580. 'type' => 'string',  
  2581. 'required' => true,  
  2582. ),  
  2583. 'filter' => array( 
  2584. 'location' => 'query',  
  2585. 'type' => 'string',  
  2586. ),  
  2587. 'pageToken' => array( 
  2588. 'location' => 'query',  
  2589. 'type' => 'string',  
  2590. ),  
  2591. 'maxResults' => array( 
  2592. 'location' => 'query',  
  2593. 'type' => 'integer',  
  2594. ),  
  2595. ),  
  2596. ), 'patch' => array( 
  2597. 'path' => '{project}/global/urlMaps/{urlMap}',  
  2598. 'httpMethod' => 'PATCH',  
  2599. 'parameters' => array( 
  2600. 'project' => array( 
  2601. 'location' => 'path',  
  2602. 'type' => 'string',  
  2603. 'required' => true,  
  2604. ),  
  2605. 'urlMap' => array( 
  2606. 'location' => 'path',  
  2607. 'type' => 'string',  
  2608. 'required' => true,  
  2609. ),  
  2610. ),  
  2611. ), 'update' => array( 
  2612. 'path' => '{project}/global/urlMaps/{urlMap}',  
  2613. 'httpMethod' => 'PUT',  
  2614. 'parameters' => array( 
  2615. 'project' => array( 
  2616. 'location' => 'path',  
  2617. 'type' => 'string',  
  2618. 'required' => true,  
  2619. ),  
  2620. 'urlMap' => array( 
  2621. 'location' => 'path',  
  2622. 'type' => 'string',  
  2623. 'required' => true,  
  2624. ),  
  2625. ),  
  2626. ), 'validate' => array( 
  2627. 'path' => '{project}/global/urlMaps/{urlMap}/validate',  
  2628. 'httpMethod' => 'POST',  
  2629. 'parameters' => array( 
  2630. 'project' => array( 
  2631. 'location' => 'path',  
  2632. 'type' => 'string',  
  2633. 'required' => true,  
  2634. ),  
  2635. 'urlMap' => array( 
  2636. 'location' => 'path',  
  2637. 'type' => 'string',  
  2638. 'required' => true,  
  2639. ),  
  2640. ),  
  2641. ),  
  2642. ); 
  2643. $this->zoneOperations = new Google_Service_Compute_ZoneOperations_Resource( 
  2644. $this,  
  2645. $this->serviceName,  
  2646. 'zoneOperations',  
  2647. array( 
  2648. 'methods' => array( 
  2649. 'delete' => array( 
  2650. 'path' => '{project}/zones/{zone}/operations/{operation}',  
  2651. 'httpMethod' => 'DELETE',  
  2652. 'parameters' => array( 
  2653. 'project' => array( 
  2654. 'location' => 'path',  
  2655. 'type' => 'string',  
  2656. 'required' => true,  
  2657. ),  
  2658. 'zone' => array( 
  2659. 'location' => 'path',  
  2660. 'type' => 'string',  
  2661. 'required' => true,  
  2662. ),  
  2663. 'operation' => array( 
  2664. 'location' => 'path',  
  2665. 'type' => 'string',  
  2666. 'required' => true,  
  2667. ),  
  2668. ),  
  2669. ), 'get' => array( 
  2670. 'path' => '{project}/zones/{zone}/operations/{operation}',  
  2671. 'httpMethod' => 'GET',  
  2672. 'parameters' => array( 
  2673. 'project' => array( 
  2674. 'location' => 'path',  
  2675. 'type' => 'string',  
  2676. 'required' => true,  
  2677. ),  
  2678. 'zone' => array( 
  2679. 'location' => 'path',  
  2680. 'type' => 'string',  
  2681. 'required' => true,  
  2682. ),  
  2683. 'operation' => array( 
  2684. 'location' => 'path',  
  2685. 'type' => 'string',  
  2686. 'required' => true,  
  2687. ),  
  2688. ),  
  2689. ), 'list' => array( 
  2690. 'path' => '{project}/zones/{zone}/operations',  
  2691. 'httpMethod' => 'GET',  
  2692. 'parameters' => array( 
  2693. 'project' => array( 
  2694. 'location' => 'path',  
  2695. 'type' => 'string',  
  2696. 'required' => true,  
  2697. ),  
  2698. 'zone' => array( 
  2699. 'location' => 'path',  
  2700. 'type' => 'string',  
  2701. 'required' => true,  
  2702. ),  
  2703. 'filter' => array( 
  2704. 'location' => 'query',  
  2705. 'type' => 'string',  
  2706. ),  
  2707. 'pageToken' => array( 
  2708. 'location' => 'query',  
  2709. 'type' => 'string',  
  2710. ),  
  2711. 'maxResults' => array( 
  2712. 'location' => 'query',  
  2713. 'type' => 'integer',  
  2714. ),  
  2715. ),  
  2716. ),  
  2717. ); 
  2718. $this->zones = new Google_Service_Compute_Zones_Resource( 
  2719. $this,  
  2720. $this->serviceName,  
  2721. 'zones',  
  2722. array( 
  2723. 'methods' => array( 
  2724. 'get' => array( 
  2725. 'path' => '{project}/zones/{zone}',  
  2726. 'httpMethod' => 'GET',  
  2727. 'parameters' => array( 
  2728. 'project' => array( 
  2729. 'location' => 'path',  
  2730. 'type' => 'string',  
  2731. 'required' => true,  
  2732. ),  
  2733. 'zone' => array( 
  2734. 'location' => 'path',  
  2735. 'type' => 'string',  
  2736. 'required' => true,  
  2737. ),  
  2738. ),  
  2739. ), 'list' => array( 
  2740. 'path' => '{project}/zones',  
  2741. 'httpMethod' => 'GET',  
  2742. 'parameters' => array( 
  2743. 'project' => array( 
  2744. 'location' => 'path',  
  2745. 'type' => 'string',  
  2746. 'required' => true,  
  2747. ),  
  2748. 'filter' => array( 
  2749. 'location' => 'query',  
  2750. 'type' => 'string',  
  2751. ),  
  2752. 'pageToken' => array( 
  2753. 'location' => 'query',  
  2754. 'type' => 'string',  
  2755. ),  
  2756. 'maxResults' => array( 
  2757. 'location' => 'query',  
  2758. 'type' => 'integer',  
  2759. ),  
  2760. ),  
  2761. ),  
  2762. ); 
  2763.  
  2764.  
  2765. /** 
  2766. * The "addresses" collection of methods. 
  2767. * Typical usage is: 
  2768. * <code> 
  2769. * $computeService = new Google_Service_Compute(...); 
  2770. * $addresses = $computeService->addresses; 
  2771. * </code> 
  2772. */ 
  2773. class Google_Service_Compute_Addresses_Resource extends Google_Service_Resource 
  2774.  
  2775. /** 
  2776. * Retrieves the list of addresses grouped by scope. (addresses.aggregatedList) 
  2777. * 
  2778. * @param string $project Name of the project scoping this request. 
  2779. * @param array $optParams Optional parameters. 
  2780. * 
  2781. * @opt_param string filter Optional. Filter expression for filtering listed 
  2782. * resources. 
  2783. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  2784. * truncated by maxResults. Used to continue a previous list request. 
  2785. * @opt_param string maxResults Optional. Maximum count of results to be 
  2786. * returned. Maximum value is 500 and default value is 500. 
  2787. * @return Google_Service_Compute_AddressAggregatedList 
  2788. */ 
  2789. public function aggregatedList($project, $optParams = array()) 
  2790. $params = array('project' => $project); 
  2791. $params = array_merge($params, $optParams); 
  2792. return $this->call('aggregatedList', array($params), "Google_Service_Compute_AddressAggregatedList"); 
  2793.  
  2794. /** 
  2795. * Deletes the specified address resource. (addresses.delete) 
  2796. * 
  2797. * @param string $project Name of the project scoping this request. 
  2798. * @param string $region Name of the region scoping this request. 
  2799. * @param string $address Name of the address resource to delete. 
  2800. * @param array $optParams Optional parameters. 
  2801. * @return Google_Service_Compute_Operation 
  2802. */ 
  2803. public function delete($project, $region, $address, $optParams = array()) 
  2804. $params = array('project' => $project, 'region' => $region, 'address' => $address); 
  2805. $params = array_merge($params, $optParams); 
  2806. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  2807.  
  2808. /** 
  2809. * Returns the specified address resource. (addresses.get) 
  2810. * 
  2811. * @param string $project Name of the project scoping this request. 
  2812. * @param string $region Name of the region scoping this request. 
  2813. * @param string $address Name of the address resource to return. 
  2814. * @param array $optParams Optional parameters. 
  2815. * @return Google_Service_Compute_Address 
  2816. */ 
  2817. public function get($project, $region, $address, $optParams = array()) 
  2818. $params = array('project' => $project, 'region' => $region, 'address' => $address); 
  2819. $params = array_merge($params, $optParams); 
  2820. return $this->call('get', array($params), "Google_Service_Compute_Address"); 
  2821.  
  2822. /** 
  2823. * Creates an address resource in the specified project using the data included 
  2824. * in the request. (addresses.insert) 
  2825. * 
  2826. * @param string $project Name of the project scoping this request. 
  2827. * @param string $region Name of the region scoping this request. 
  2828. * @param Google_Address $postBody 
  2829. * @param array $optParams Optional parameters. 
  2830. * @return Google_Service_Compute_Operation 
  2831. */ 
  2832. public function insert($project, $region, Google_Service_Compute_Address $postBody, $optParams = array()) 
  2833. $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); 
  2834. $params = array_merge($params, $optParams); 
  2835. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  2836.  
  2837. /** 
  2838. * Retrieves the list of address resources contained within the specified 
  2839. * region. (addresses.listAddresses) 
  2840. * 
  2841. * @param string $project Name of the project scoping this request. 
  2842. * @param string $region Name of the region scoping this request. 
  2843. * @param array $optParams Optional parameters. 
  2844. * 
  2845. * @opt_param string filter Optional. Filter expression for filtering listed 
  2846. * resources. 
  2847. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  2848. * truncated by maxResults. Used to continue a previous list request. 
  2849. * @opt_param string maxResults Optional. Maximum count of results to be 
  2850. * returned. Maximum value is 500 and default value is 500. 
  2851. * @return Google_Service_Compute_AddressList 
  2852. */ 
  2853. public function listAddresses($project, $region, $optParams = array()) 
  2854. $params = array('project' => $project, 'region' => $region); 
  2855. $params = array_merge($params, $optParams); 
  2856. return $this->call('list', array($params), "Google_Service_Compute_AddressList"); 
  2857.  
  2858. /** 
  2859. * The "backendServices" collection of methods. 
  2860. * Typical usage is: 
  2861. * <code> 
  2862. * $computeService = new Google_Service_Compute(...); 
  2863. * $backendServices = $computeService->backendServices; 
  2864. * </code> 
  2865. */ 
  2866. class Google_Service_Compute_BackendServices_Resource extends Google_Service_Resource 
  2867.  
  2868. /** 
  2869. * Deletes the specified BackendService resource. (backendServices.delete) 
  2870. * 
  2871. * @param string $project Name of the project scoping this request. 
  2872. * @param string $backendService Name of the BackendService resource to delete. 
  2873. * @param array $optParams Optional parameters. 
  2874. * @return Google_Service_Compute_Operation 
  2875. */ 
  2876. public function delete($project, $backendService, $optParams = array()) 
  2877. $params = array('project' => $project, 'backendService' => $backendService); 
  2878. $params = array_merge($params, $optParams); 
  2879. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  2880.  
  2881. /** 
  2882. * Returns the specified BackendService resource. (backendServices.get) 
  2883. * 
  2884. * @param string $project Name of the project scoping this request. 
  2885. * @param string $backendService Name of the BackendService resource to return. 
  2886. * @param array $optParams Optional parameters. 
  2887. * @return Google_Service_Compute_BackendService 
  2888. */ 
  2889. public function get($project, $backendService, $optParams = array()) 
  2890. $params = array('project' => $project, 'backendService' => $backendService); 
  2891. $params = array_merge($params, $optParams); 
  2892. return $this->call('get', array($params), "Google_Service_Compute_BackendService"); 
  2893.  
  2894. /** 
  2895. * Gets the most recent health check results for this BackendService. 
  2896. * (backendServices.getHealth) 
  2897. * 
  2898. * @param string $project 
  2899. * @param string $backendService Name of the BackendService resource to which 
  2900. * the queried instance belongs. 
  2901. * @param Google_ResourceGroupReference $postBody 
  2902. * @param array $optParams Optional parameters. 
  2903. * @return Google_Service_Compute_BackendServiceGroupHealth 
  2904. */ 
  2905. public function getHealth($project, $backendService, Google_Service_Compute_ResourceGroupReference $postBody, $optParams = array()) 
  2906. $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody); 
  2907. $params = array_merge($params, $optParams); 
  2908. return $this->call('getHealth', array($params), "Google_Service_Compute_BackendServiceGroupHealth"); 
  2909.  
  2910. /** 
  2911. * Creates a BackendService resource in the specified project using the data 
  2912. * included in the request. (backendServices.insert) 
  2913. * 
  2914. * @param string $project Name of the project scoping this request. 
  2915. * @param Google_BackendService $postBody 
  2916. * @param array $optParams Optional parameters. 
  2917. * @return Google_Service_Compute_Operation 
  2918. */ 
  2919. public function insert($project, Google_Service_Compute_BackendService $postBody, $optParams = array()) 
  2920. $params = array('project' => $project, 'postBody' => $postBody); 
  2921. $params = array_merge($params, $optParams); 
  2922. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  2923.  
  2924. /** 
  2925. * Retrieves the list of BackendService resources available to the specified 
  2926. * project. (backendServices.listBackendServices) 
  2927. * 
  2928. * @param string $project Name of the project scoping this request. 
  2929. * @param array $optParams Optional parameters. 
  2930. * 
  2931. * @opt_param string filter Optional. Filter expression for filtering listed 
  2932. * resources. 
  2933. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  2934. * truncated by maxResults. Used to continue a previous list request. 
  2935. * @opt_param string maxResults Optional. Maximum count of results to be 
  2936. * returned. Maximum value is 500 and default value is 500. 
  2937. * @return Google_Service_Compute_BackendServiceList 
  2938. */ 
  2939. public function listBackendServices($project, $optParams = array()) 
  2940. $params = array('project' => $project); 
  2941. $params = array_merge($params, $optParams); 
  2942. return $this->call('list', array($params), "Google_Service_Compute_BackendServiceList"); 
  2943.  
  2944. /** 
  2945. * Update the entire content of the BackendService resource. This method 
  2946. * supports patch semantics. (backendServices.patch) 
  2947. * 
  2948. * @param string $project Name of the project scoping this request. 
  2949. * @param string $backendService Name of the BackendService resource to update. 
  2950. * @param Google_BackendService $postBody 
  2951. * @param array $optParams Optional parameters. 
  2952. * @return Google_Service_Compute_Operation 
  2953. */ 
  2954. public function patch($project, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array()) 
  2955. $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody); 
  2956. $params = array_merge($params, $optParams); 
  2957. return $this->call('patch', array($params), "Google_Service_Compute_Operation"); 
  2958.  
  2959. /** 
  2960. * Update the entire content of the BackendService resource. 
  2961. * (backendServices.update) 
  2962. * 
  2963. * @param string $project Name of the project scoping this request. 
  2964. * @param string $backendService Name of the BackendService resource to update. 
  2965. * @param Google_BackendService $postBody 
  2966. * @param array $optParams Optional parameters. 
  2967. * @return Google_Service_Compute_Operation 
  2968. */ 
  2969. public function update($project, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array()) 
  2970. $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody); 
  2971. $params = array_merge($params, $optParams); 
  2972. return $this->call('update', array($params), "Google_Service_Compute_Operation"); 
  2973.  
  2974. /** 
  2975. * The "diskTypes" collection of methods. 
  2976. * Typical usage is: 
  2977. * <code> 
  2978. * $computeService = new Google_Service_Compute(...); 
  2979. * $diskTypes = $computeService->diskTypes; 
  2980. * </code> 
  2981. */ 
  2982. class Google_Service_Compute_DiskTypes_Resource extends Google_Service_Resource 
  2983.  
  2984. /** 
  2985. * Retrieves the list of disk type resources grouped by scope. 
  2986. * (diskTypes.aggregatedList) 
  2987. * 
  2988. * @param string $project Name of the project scoping this request. 
  2989. * @param array $optParams Optional parameters. 
  2990. * 
  2991. * @opt_param string filter Optional. Filter expression for filtering listed 
  2992. * resources. 
  2993. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  2994. * truncated by maxResults. Used to continue a previous list request. 
  2995. * @opt_param string maxResults Optional. Maximum count of results to be 
  2996. * returned. Maximum value is 500 and default value is 500. 
  2997. * @return Google_Service_Compute_DiskTypeAggregatedList 
  2998. */ 
  2999. public function aggregatedList($project, $optParams = array()) 
  3000. $params = array('project' => $project); 
  3001. $params = array_merge($params, $optParams); 
  3002. return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskTypeAggregatedList"); 
  3003.  
  3004. /** 
  3005. * Returns the specified disk type resource. (diskTypes.get) 
  3006. * 
  3007. * @param string $project Name of the project scoping this request. 
  3008. * @param string $zone Name of the zone scoping this request. 
  3009. * @param string $diskType Name of the disk type resource to return. 
  3010. * @param array $optParams Optional parameters. 
  3011. * @return Google_Service_Compute_DiskType 
  3012. */ 
  3013. public function get($project, $zone, $diskType, $optParams = array()) 
  3014. $params = array('project' => $project, 'zone' => $zone, 'diskType' => $diskType); 
  3015. $params = array_merge($params, $optParams); 
  3016. return $this->call('get', array($params), "Google_Service_Compute_DiskType"); 
  3017.  
  3018. /** 
  3019. * Retrieves the list of disk type resources available to the specified project. 
  3020. * (diskTypes.listDiskTypes) 
  3021. * 
  3022. * @param string $project Name of the project scoping this request. 
  3023. * @param string $zone Name of the zone scoping this request. 
  3024. * @param array $optParams Optional parameters. 
  3025. * 
  3026. * @opt_param string filter Optional. Filter expression for filtering listed 
  3027. * resources. 
  3028. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  3029. * truncated by maxResults. Used to continue a previous list request. 
  3030. * @opt_param string maxResults Optional. Maximum count of results to be 
  3031. * returned. Maximum value is 500 and default value is 500. 
  3032. * @return Google_Service_Compute_DiskTypeList 
  3033. */ 
  3034. public function listDiskTypes($project, $zone, $optParams = array()) 
  3035. $params = array('project' => $project, 'zone' => $zone); 
  3036. $params = array_merge($params, $optParams); 
  3037. return $this->call('list', array($params), "Google_Service_Compute_DiskTypeList"); 
  3038.  
  3039. /** 
  3040. * The "disks" collection of methods. 
  3041. * Typical usage is: 
  3042. * <code> 
  3043. * $computeService = new Google_Service_Compute(...); 
  3044. * $disks = $computeService->disks; 
  3045. * </code> 
  3046. */ 
  3047. class Google_Service_Compute_Disks_Resource extends Google_Service_Resource 
  3048.  
  3049. /** 
  3050. * Retrieves the list of disks grouped by scope. (disks.aggregatedList) 
  3051. * 
  3052. * @param string $project Name of the project scoping this request. 
  3053. * @param array $optParams Optional parameters. 
  3054. * 
  3055. * @opt_param string filter Optional. Filter expression for filtering listed 
  3056. * resources. 
  3057. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  3058. * truncated by maxResults. Used to continue a previous list request. 
  3059. * @opt_param string maxResults Optional. Maximum count of results to be 
  3060. * returned. Maximum value is 500 and default value is 500. 
  3061. * @return Google_Service_Compute_DiskAggregatedList 
  3062. */ 
  3063. public function aggregatedList($project, $optParams = array()) 
  3064. $params = array('project' => $project); 
  3065. $params = array_merge($params, $optParams); 
  3066. return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskAggregatedList"); 
  3067.  
  3068. /** 
  3069. * (disks.createSnapshot) 
  3070. * 
  3071. * @param string $project Name of the project scoping this request. 
  3072. * @param string $zone Name of the zone scoping this request. 
  3073. * @param string $disk Name of the persistent disk resource to snapshot. 
  3074. * @param Google_Snapshot $postBody 
  3075. * @param array $optParams Optional parameters. 
  3076. * @return Google_Service_Compute_Operation 
  3077. */ 
  3078. public function createSnapshot($project, $zone, $disk, Google_Service_Compute_Snapshot $postBody, $optParams = array()) 
  3079. $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk, 'postBody' => $postBody); 
  3080. $params = array_merge($params, $optParams); 
  3081. return $this->call('createSnapshot', array($params), "Google_Service_Compute_Operation"); 
  3082.  
  3083. /** 
  3084. * Deletes the specified persistent disk resource. (disks.delete) 
  3085. * 
  3086. * @param string $project Name of the project scoping this request. 
  3087. * @param string $zone Name of the zone scoping this request. 
  3088. * @param string $disk Name of the persistent disk resource to delete. 
  3089. * @param array $optParams Optional parameters. 
  3090. * @return Google_Service_Compute_Operation 
  3091. */ 
  3092. public function delete($project, $zone, $disk, $optParams = array()) 
  3093. $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk); 
  3094. $params = array_merge($params, $optParams); 
  3095. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  3096.  
  3097. /** 
  3098. * Returns the specified persistent disk resource. (disks.get) 
  3099. * 
  3100. * @param string $project Name of the project scoping this request. 
  3101. * @param string $zone Name of the zone scoping this request. 
  3102. * @param string $disk Name of the persistent disk resource to return. 
  3103. * @param array $optParams Optional parameters. 
  3104. * @return Google_Service_Compute_Disk 
  3105. */ 
  3106. public function get($project, $zone, $disk, $optParams = array()) 
  3107. $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk); 
  3108. $params = array_merge($params, $optParams); 
  3109. return $this->call('get', array($params), "Google_Service_Compute_Disk"); 
  3110.  
  3111. /** 
  3112. * Creates a persistent disk resource in the specified project using the data 
  3113. * included in the request. (disks.insert) 
  3114. * 
  3115. * @param string $project Name of the project scoping this request. 
  3116. * @param string $zone Name of the zone scoping this request. 
  3117. * @param Google_Disk $postBody 
  3118. * @param array $optParams Optional parameters. 
  3119. * 
  3120. * @opt_param string sourceImage Optional. Source image to restore onto a disk. 
  3121. * @return Google_Service_Compute_Operation 
  3122. */ 
  3123. public function insert($project, $zone, Google_Service_Compute_Disk $postBody, $optParams = array()) 
  3124. $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); 
  3125. $params = array_merge($params, $optParams); 
  3126. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  3127.  
  3128. /** 
  3129. * Retrieves the list of persistent disk resources contained within the 
  3130. * specified zone. (disks.listDisks) 
  3131. * 
  3132. * @param string $project Name of the project scoping this request. 
  3133. * @param string $zone Name of the zone scoping this request. 
  3134. * @param array $optParams Optional parameters. 
  3135. * 
  3136. * @opt_param string filter Optional. Filter expression for filtering listed 
  3137. * resources. 
  3138. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  3139. * truncated by maxResults. Used to continue a previous list request. 
  3140. * @opt_param string maxResults Optional. Maximum count of results to be 
  3141. * returned. Maximum value is 500 and default value is 500. 
  3142. * @return Google_Service_Compute_DiskList 
  3143. */ 
  3144. public function listDisks($project, $zone, $optParams = array()) 
  3145. $params = array('project' => $project, 'zone' => $zone); 
  3146. $params = array_merge($params, $optParams); 
  3147. return $this->call('list', array($params), "Google_Service_Compute_DiskList"); 
  3148.  
  3149. /** 
  3150. * The "firewalls" collection of methods. 
  3151. * Typical usage is: 
  3152. * <code> 
  3153. * $computeService = new Google_Service_Compute(...); 
  3154. * $firewalls = $computeService->firewalls; 
  3155. * </code> 
  3156. */ 
  3157. class Google_Service_Compute_Firewalls_Resource extends Google_Service_Resource 
  3158.  
  3159. /** 
  3160. * Deletes the specified firewall resource. (firewalls.delete) 
  3161. * 
  3162. * @param string $project Name of the project scoping this request. 
  3163. * @param string $firewall Name of the firewall resource to delete. 
  3164. * @param array $optParams Optional parameters. 
  3165. * @return Google_Service_Compute_Operation 
  3166. */ 
  3167. public function delete($project, $firewall, $optParams = array()) 
  3168. $params = array('project' => $project, 'firewall' => $firewall); 
  3169. $params = array_merge($params, $optParams); 
  3170. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  3171.  
  3172. /** 
  3173. * Returns the specified firewall resource. (firewalls.get) 
  3174. * 
  3175. * @param string $project Name of the project scoping this request. 
  3176. * @param string $firewall Name of the firewall resource to return. 
  3177. * @param array $optParams Optional parameters. 
  3178. * @return Google_Service_Compute_Firewall 
  3179. */ 
  3180. public function get($project, $firewall, $optParams = array()) 
  3181. $params = array('project' => $project, 'firewall' => $firewall); 
  3182. $params = array_merge($params, $optParams); 
  3183. return $this->call('get', array($params), "Google_Service_Compute_Firewall"); 
  3184.  
  3185. /** 
  3186. * Creates a firewall resource in the specified project using the data included 
  3187. * in the request. (firewalls.insert) 
  3188. * 
  3189. * @param string $project Name of the project scoping this request. 
  3190. * @param Google_Firewall $postBody 
  3191. * @param array $optParams Optional parameters. 
  3192. * @return Google_Service_Compute_Operation 
  3193. */ 
  3194. public function insert($project, Google_Service_Compute_Firewall $postBody, $optParams = array()) 
  3195. $params = array('project' => $project, 'postBody' => $postBody); 
  3196. $params = array_merge($params, $optParams); 
  3197. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  3198.  
  3199. /** 
  3200. * Retrieves the list of firewall resources available to the specified project. 
  3201. * (firewalls.listFirewalls) 
  3202. * 
  3203. * @param string $project Name of the project scoping this request. 
  3204. * @param array $optParams Optional parameters. 
  3205. * 
  3206. * @opt_param string filter Optional. Filter expression for filtering listed 
  3207. * resources. 
  3208. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  3209. * truncated by maxResults. Used to continue a previous list request. 
  3210. * @opt_param string maxResults Optional. Maximum count of results to be 
  3211. * returned. Maximum value is 500 and default value is 500. 
  3212. * @return Google_Service_Compute_FirewallList 
  3213. */ 
  3214. public function listFirewalls($project, $optParams = array()) 
  3215. $params = array('project' => $project); 
  3216. $params = array_merge($params, $optParams); 
  3217. return $this->call('list', array($params), "Google_Service_Compute_FirewallList"); 
  3218.  
  3219. /** 
  3220. * Updates the specified firewall resource with the data included in the 
  3221. * request. This method supports patch semantics. (firewalls.patch) 
  3222. * 
  3223. * @param string $project Name of the project scoping this request. 
  3224. * @param string $firewall Name of the firewall resource to update. 
  3225. * @param Google_Firewall $postBody 
  3226. * @param array $optParams Optional parameters. 
  3227. * @return Google_Service_Compute_Operation 
  3228. */ 
  3229. public function patch($project, $firewall, Google_Service_Compute_Firewall $postBody, $optParams = array()) 
  3230. $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody); 
  3231. $params = array_merge($params, $optParams); 
  3232. return $this->call('patch', array($params), "Google_Service_Compute_Operation"); 
  3233.  
  3234. /** 
  3235. * Updates the specified firewall resource with the data included in the 
  3236. * request. (firewalls.update) 
  3237. * 
  3238. * @param string $project Name of the project scoping this request. 
  3239. * @param string $firewall Name of the firewall resource to update. 
  3240. * @param Google_Firewall $postBody 
  3241. * @param array $optParams Optional parameters. 
  3242. * @return Google_Service_Compute_Operation 
  3243. */ 
  3244. public function update($project, $firewall, Google_Service_Compute_Firewall $postBody, $optParams = array()) 
  3245. $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody); 
  3246. $params = array_merge($params, $optParams); 
  3247. return $this->call('update', array($params), "Google_Service_Compute_Operation"); 
  3248.  
  3249. /** 
  3250. * The "forwardingRules" collection of methods. 
  3251. * Typical usage is: 
  3252. * <code> 
  3253. * $computeService = new Google_Service_Compute(...); 
  3254. * $forwardingRules = $computeService->forwardingRules; 
  3255. * </code> 
  3256. */ 
  3257. class Google_Service_Compute_ForwardingRules_Resource extends Google_Service_Resource 
  3258.  
  3259. /** 
  3260. * Retrieves the list of forwarding rules grouped by scope. 
  3261. * (forwardingRules.aggregatedList) 
  3262. * 
  3263. * @param string $project Name of the project scoping this request. 
  3264. * @param array $optParams Optional parameters. 
  3265. * 
  3266. * @opt_param string filter Optional. Filter expression for filtering listed 
  3267. * resources. 
  3268. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  3269. * truncated by maxResults. Used to continue a previous list request. 
  3270. * @opt_param string maxResults Optional. Maximum count of results to be 
  3271. * returned. Maximum value is 500 and default value is 500. 
  3272. * @return Google_Service_Compute_ForwardingRuleAggregatedList 
  3273. */ 
  3274. public function aggregatedList($project, $optParams = array()) 
  3275. $params = array('project' => $project); 
  3276. $params = array_merge($params, $optParams); 
  3277. return $this->call('aggregatedList', array($params), "Google_Service_Compute_ForwardingRuleAggregatedList"); 
  3278.  
  3279. /** 
  3280. * Deletes the specified ForwardingRule resource. (forwardingRules.delete) 
  3281. * 
  3282. * @param string $project Name of the project scoping this request. 
  3283. * @param string $region Name of the region scoping this request. 
  3284. * @param string $forwardingRule Name of the ForwardingRule resource to delete. 
  3285. * @param array $optParams Optional parameters. 
  3286. * @return Google_Service_Compute_Operation 
  3287. */ 
  3288. public function delete($project, $region, $forwardingRule, $optParams = array()) 
  3289. $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule); 
  3290. $params = array_merge($params, $optParams); 
  3291. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  3292.  
  3293. /** 
  3294. * Returns the specified ForwardingRule resource. (forwardingRules.get) 
  3295. * 
  3296. * @param string $project Name of the project scoping this request. 
  3297. * @param string $region Name of the region scoping this request. 
  3298. * @param string $forwardingRule Name of the ForwardingRule resource to return. 
  3299. * @param array $optParams Optional parameters. 
  3300. * @return Google_Service_Compute_ForwardingRule 
  3301. */ 
  3302. public function get($project, $region, $forwardingRule, $optParams = array()) 
  3303. $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule); 
  3304. $params = array_merge($params, $optParams); 
  3305. return $this->call('get', array($params), "Google_Service_Compute_ForwardingRule"); 
  3306.  
  3307. /** 
  3308. * Creates a ForwardingRule resource in the specified project and region using 
  3309. * the data included in the request. (forwardingRules.insert) 
  3310. * 
  3311. * @param string $project Name of the project scoping this request. 
  3312. * @param string $region Name of the region scoping this request. 
  3313. * @param Google_ForwardingRule $postBody 
  3314. * @param array $optParams Optional parameters. 
  3315. * @return Google_Service_Compute_Operation 
  3316. */ 
  3317. public function insert($project, $region, Google_Service_Compute_ForwardingRule $postBody, $optParams = array()) 
  3318. $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); 
  3319. $params = array_merge($params, $optParams); 
  3320. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  3321.  
  3322. /** 
  3323. * Retrieves the list of ForwardingRule resources available to the specified 
  3324. * project and region. (forwardingRules.listForwardingRules) 
  3325. * 
  3326. * @param string $project Name of the project scoping this request. 
  3327. * @param string $region Name of the region scoping this request. 
  3328. * @param array $optParams Optional parameters. 
  3329. * 
  3330. * @opt_param string filter Optional. Filter expression for filtering listed 
  3331. * resources. 
  3332. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  3333. * truncated by maxResults. Used to continue a previous list request. 
  3334. * @opt_param string maxResults Optional. Maximum count of results to be 
  3335. * returned. Maximum value is 500 and default value is 500. 
  3336. * @return Google_Service_Compute_ForwardingRuleList 
  3337. */ 
  3338. public function listForwardingRules($project, $region, $optParams = array()) 
  3339. $params = array('project' => $project, 'region' => $region); 
  3340. $params = array_merge($params, $optParams); 
  3341. return $this->call('list', array($params), "Google_Service_Compute_ForwardingRuleList"); 
  3342.  
  3343. /** 
  3344. * Changes target url for forwarding rule. (forwardingRules.setTarget) 
  3345. * 
  3346. * @param string $project Name of the project scoping this request. 
  3347. * @param string $region Name of the region scoping this request. 
  3348. * @param string $forwardingRule Name of the ForwardingRule resource in which 
  3349. * target is to be set. 
  3350. * @param Google_TargetReference $postBody 
  3351. * @param array $optParams Optional parameters. 
  3352. * @return Google_Service_Compute_Operation 
  3353. */ 
  3354. public function setTarget($project, $region, $forwardingRule, Google_Service_Compute_TargetReference $postBody, $optParams = array()) 
  3355. $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody); 
  3356. $params = array_merge($params, $optParams); 
  3357. return $this->call('setTarget', array($params), "Google_Service_Compute_Operation"); 
  3358.  
  3359. /** 
  3360. * The "globalAddresses" collection of methods. 
  3361. * Typical usage is: 
  3362. * <code> 
  3363. * $computeService = new Google_Service_Compute(...); 
  3364. * $globalAddresses = $computeService->globalAddresses; 
  3365. * </code> 
  3366. */ 
  3367. class Google_Service_Compute_GlobalAddresses_Resource extends Google_Service_Resource 
  3368.  
  3369. /** 
  3370. * Deletes the specified address resource. (globalAddresses.delete) 
  3371. * 
  3372. * @param string $project Name of the project scoping this request. 
  3373. * @param string $address Name of the address resource to delete. 
  3374. * @param array $optParams Optional parameters. 
  3375. * @return Google_Service_Compute_Operation 
  3376. */ 
  3377. public function delete($project, $address, $optParams = array()) 
  3378. $params = array('project' => $project, 'address' => $address); 
  3379. $params = array_merge($params, $optParams); 
  3380. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  3381.  
  3382. /** 
  3383. * Returns the specified address resource. (globalAddresses.get) 
  3384. * 
  3385. * @param string $project Name of the project scoping this request. 
  3386. * @param string $address Name of the address resource to return. 
  3387. * @param array $optParams Optional parameters. 
  3388. * @return Google_Service_Compute_Address 
  3389. */ 
  3390. public function get($project, $address, $optParams = array()) 
  3391. $params = array('project' => $project, 'address' => $address); 
  3392. $params = array_merge($params, $optParams); 
  3393. return $this->call('get', array($params), "Google_Service_Compute_Address"); 
  3394.  
  3395. /** 
  3396. * Creates an address resource in the specified project using the data included 
  3397. * in the request. (globalAddresses.insert) 
  3398. * 
  3399. * @param string $project Name of the project scoping this request. 
  3400. * @param Google_Address $postBody 
  3401. * @param array $optParams Optional parameters. 
  3402. * @return Google_Service_Compute_Operation 
  3403. */ 
  3404. public function insert($project, Google_Service_Compute_Address $postBody, $optParams = array()) 
  3405. $params = array('project' => $project, 'postBody' => $postBody); 
  3406. $params = array_merge($params, $optParams); 
  3407. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  3408.  
  3409. /** 
  3410. * Retrieves the list of global address resources. 
  3411. * (globalAddresses.listGlobalAddresses) 
  3412. * 
  3413. * @param string $project Name of the project scoping this request. 
  3414. * @param array $optParams Optional parameters. 
  3415. * 
  3416. * @opt_param string filter Optional. Filter expression for filtering listed 
  3417. * resources. 
  3418. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  3419. * truncated by maxResults. Used to continue a previous list request. 
  3420. * @opt_param string maxResults Optional. Maximum count of results to be 
  3421. * returned. Maximum value is 500 and default value is 500. 
  3422. * @return Google_Service_Compute_AddressList 
  3423. */ 
  3424. public function listGlobalAddresses($project, $optParams = array()) 
  3425. $params = array('project' => $project); 
  3426. $params = array_merge($params, $optParams); 
  3427. return $this->call('list', array($params), "Google_Service_Compute_AddressList"); 
  3428.  
  3429. /** 
  3430. * The "globalForwardingRules" collection of methods. 
  3431. * Typical usage is: 
  3432. * <code> 
  3433. * $computeService = new Google_Service_Compute(...); 
  3434. * $globalForwardingRules = $computeService->globalForwardingRules; 
  3435. * </code> 
  3436. */ 
  3437. class Google_Service_Compute_GlobalForwardingRules_Resource extends Google_Service_Resource 
  3438.  
  3439. /** 
  3440. * Deletes the specified ForwardingRule resource. (globalForwardingRules.delete) 
  3441. * 
  3442. * @param string $project Name of the project scoping this request. 
  3443. * @param string $forwardingRule Name of the ForwardingRule resource to delete. 
  3444. * @param array $optParams Optional parameters. 
  3445. * @return Google_Service_Compute_Operation 
  3446. */ 
  3447. public function delete($project, $forwardingRule, $optParams = array()) 
  3448. $params = array('project' => $project, 'forwardingRule' => $forwardingRule); 
  3449. $params = array_merge($params, $optParams); 
  3450. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  3451.  
  3452. /** 
  3453. * Returns the specified ForwardingRule resource. (globalForwardingRules.get) 
  3454. * 
  3455. * @param string $project Name of the project scoping this request. 
  3456. * @param string $forwardingRule Name of the ForwardingRule resource to return. 
  3457. * @param array $optParams Optional parameters. 
  3458. * @return Google_Service_Compute_ForwardingRule 
  3459. */ 
  3460. public function get($project, $forwardingRule, $optParams = array()) 
  3461. $params = array('project' => $project, 'forwardingRule' => $forwardingRule); 
  3462. $params = array_merge($params, $optParams); 
  3463. return $this->call('get', array($params), "Google_Service_Compute_ForwardingRule"); 
  3464.  
  3465. /** 
  3466. * Creates a ForwardingRule resource in the specified project and region using 
  3467. * the data included in the request. (globalForwardingRules.insert) 
  3468. * 
  3469. * @param string $project Name of the project scoping this request. 
  3470. * @param Google_ForwardingRule $postBody 
  3471. * @param array $optParams Optional parameters. 
  3472. * @return Google_Service_Compute_Operation 
  3473. */ 
  3474. public function insert($project, Google_Service_Compute_ForwardingRule $postBody, $optParams = array()) 
  3475. $params = array('project' => $project, 'postBody' => $postBody); 
  3476. $params = array_merge($params, $optParams); 
  3477. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  3478.  
  3479. /** 
  3480. * Retrieves the list of ForwardingRule resources available to the specified 
  3481. * project. (globalForwardingRules.listGlobalForwardingRules) 
  3482. * 
  3483. * @param string $project Name of the project scoping this request. 
  3484. * @param array $optParams Optional parameters. 
  3485. * 
  3486. * @opt_param string filter Optional. Filter expression for filtering listed 
  3487. * resources. 
  3488. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  3489. * truncated by maxResults. Used to continue a previous list request. 
  3490. * @opt_param string maxResults Optional. Maximum count of results to be 
  3491. * returned. Maximum value is 500 and default value is 500. 
  3492. * @return Google_Service_Compute_ForwardingRuleList 
  3493. */ 
  3494. public function listGlobalForwardingRules($project, $optParams = array()) 
  3495. $params = array('project' => $project); 
  3496. $params = array_merge($params, $optParams); 
  3497. return $this->call('list', array($params), "Google_Service_Compute_ForwardingRuleList"); 
  3498.  
  3499. /** 
  3500. * Changes target url for forwarding rule. (globalForwardingRules.setTarget) 
  3501. * 
  3502. * @param string $project Name of the project scoping this request. 
  3503. * @param string $forwardingRule Name of the ForwardingRule resource in which 
  3504. * target is to be set. 
  3505. * @param Google_TargetReference $postBody 
  3506. * @param array $optParams Optional parameters. 
  3507. * @return Google_Service_Compute_Operation 
  3508. */ 
  3509. public function setTarget($project, $forwardingRule, Google_Service_Compute_TargetReference $postBody, $optParams = array()) 
  3510. $params = array('project' => $project, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody); 
  3511. $params = array_merge($params, $optParams); 
  3512. return $this->call('setTarget', array($params), "Google_Service_Compute_Operation"); 
  3513.  
  3514. /** 
  3515. * The "globalOperations" collection of methods. 
  3516. * Typical usage is: 
  3517. * <code> 
  3518. * $computeService = new Google_Service_Compute(...); 
  3519. * $globalOperations = $computeService->globalOperations; 
  3520. * </code> 
  3521. */ 
  3522. class Google_Service_Compute_GlobalOperations_Resource extends Google_Service_Resource 
  3523.  
  3524. /** 
  3525. * Retrieves the list of all operations grouped by scope. 
  3526. * (globalOperations.aggregatedList) 
  3527. * 
  3528. * @param string $project Name of the project scoping this request. 
  3529. * @param array $optParams Optional parameters. 
  3530. * 
  3531. * @opt_param string filter Optional. Filter expression for filtering listed 
  3532. * resources. 
  3533. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  3534. * truncated by maxResults. Used to continue a previous list request. 
  3535. * @opt_param string maxResults Optional. Maximum count of results to be 
  3536. * returned. Maximum value is 500 and default value is 500. 
  3537. * @return Google_Service_Compute_OperationAggregatedList 
  3538. */ 
  3539. public function aggregatedList($project, $optParams = array()) 
  3540. $params = array('project' => $project); 
  3541. $params = array_merge($params, $optParams); 
  3542. return $this->call('aggregatedList', array($params), "Google_Service_Compute_OperationAggregatedList"); 
  3543.  
  3544. /** 
  3545. * Deletes the specified operation resource. (globalOperations.delete) 
  3546. * 
  3547. * @param string $project Name of the project scoping this request. 
  3548. * @param string $operation Name of the operation resource to delete. 
  3549. * @param array $optParams Optional parameters. 
  3550. */ 
  3551. public function delete($project, $operation, $optParams = array()) 
  3552. $params = array('project' => $project, 'operation' => $operation); 
  3553. $params = array_merge($params, $optParams); 
  3554. return $this->call('delete', array($params)); 
  3555.  
  3556. /** 
  3557. * Retrieves the specified operation resource. (globalOperations.get) 
  3558. * 
  3559. * @param string $project Name of the project scoping this request. 
  3560. * @param string $operation Name of the operation resource to return. 
  3561. * @param array $optParams Optional parameters. 
  3562. * @return Google_Service_Compute_Operation 
  3563. */ 
  3564. public function get($project, $operation, $optParams = array()) 
  3565. $params = array('project' => $project, 'operation' => $operation); 
  3566. $params = array_merge($params, $optParams); 
  3567. return $this->call('get', array($params), "Google_Service_Compute_Operation"); 
  3568.  
  3569. /** 
  3570. * Retrieves the list of operation resources contained within the specified 
  3571. * project. (globalOperations.listGlobalOperations) 
  3572. * 
  3573. * @param string $project Name of the project scoping this request. 
  3574. * @param array $optParams Optional parameters. 
  3575. * 
  3576. * @opt_param string filter Optional. Filter expression for filtering listed 
  3577. * resources. 
  3578. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  3579. * truncated by maxResults. Used to continue a previous list request. 
  3580. * @opt_param string maxResults Optional. Maximum count of results to be 
  3581. * returned. Maximum value is 500 and default value is 500. 
  3582. * @return Google_Service_Compute_OperationList 
  3583. */ 
  3584. public function listGlobalOperations($project, $optParams = array()) 
  3585. $params = array('project' => $project); 
  3586. $params = array_merge($params, $optParams); 
  3587. return $this->call('list', array($params), "Google_Service_Compute_OperationList"); 
  3588.  
  3589. /** 
  3590. * The "httpHealthChecks" collection of methods. 
  3591. * Typical usage is: 
  3592. * <code> 
  3593. * $computeService = new Google_Service_Compute(...); 
  3594. * $httpHealthChecks = $computeService->httpHealthChecks; 
  3595. * </code> 
  3596. */ 
  3597. class Google_Service_Compute_HttpHealthChecks_Resource extends Google_Service_Resource 
  3598.  
  3599. /** 
  3600. * Deletes the specified HttpHealthCheck resource. (httpHealthChecks.delete) 
  3601. * 
  3602. * @param string $project Name of the project scoping this request. 
  3603. * @param string $httpHealthCheck Name of the HttpHealthCheck resource to 
  3604. * delete. 
  3605. * @param array $optParams Optional parameters. 
  3606. * @return Google_Service_Compute_Operation 
  3607. */ 
  3608. public function delete($project, $httpHealthCheck, $optParams = array()) 
  3609. $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck); 
  3610. $params = array_merge($params, $optParams); 
  3611. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  3612.  
  3613. /** 
  3614. * Returns the specified HttpHealthCheck resource. (httpHealthChecks.get) 
  3615. * 
  3616. * @param string $project Name of the project scoping this request. 
  3617. * @param string $httpHealthCheck Name of the HttpHealthCheck resource to 
  3618. * return. 
  3619. * @param array $optParams Optional parameters. 
  3620. * @return Google_Service_Compute_HttpHealthCheck 
  3621. */ 
  3622. public function get($project, $httpHealthCheck, $optParams = array()) 
  3623. $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck); 
  3624. $params = array_merge($params, $optParams); 
  3625. return $this->call('get', array($params), "Google_Service_Compute_HttpHealthCheck"); 
  3626.  
  3627. /** 
  3628. * Creates a HttpHealthCheck resource in the specified project using the data 
  3629. * included in the request. (httpHealthChecks.insert) 
  3630. * 
  3631. * @param string $project Name of the project scoping this request. 
  3632. * @param Google_HttpHealthCheck $postBody 
  3633. * @param array $optParams Optional parameters. 
  3634. * @return Google_Service_Compute_Operation 
  3635. */ 
  3636. public function insert($project, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array()) 
  3637. $params = array('project' => $project, 'postBody' => $postBody); 
  3638. $params = array_merge($params, $optParams); 
  3639. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  3640.  
  3641. /** 
  3642. * Retrieves the list of HttpHealthCheck resources available to the specified 
  3643. * project. (httpHealthChecks.listHttpHealthChecks) 
  3644. * 
  3645. * @param string $project Name of the project scoping this request. 
  3646. * @param array $optParams Optional parameters. 
  3647. * 
  3648. * @opt_param string filter Optional. Filter expression for filtering listed 
  3649. * resources. 
  3650. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  3651. * truncated by maxResults. Used to continue a previous list request. 
  3652. * @opt_param string maxResults Optional. Maximum count of results to be 
  3653. * returned. Maximum value is 500 and default value is 500. 
  3654. * @return Google_Service_Compute_HttpHealthCheckList 
  3655. */ 
  3656. public function listHttpHealthChecks($project, $optParams = array()) 
  3657. $params = array('project' => $project); 
  3658. $params = array_merge($params, $optParams); 
  3659. return $this->call('list', array($params), "Google_Service_Compute_HttpHealthCheckList"); 
  3660.  
  3661. /** 
  3662. * Updates a HttpHealthCheck resource in the specified project using the data 
  3663. * included in the request. This method supports patch semantics. 
  3664. * (httpHealthChecks.patch) 
  3665. * 
  3666. * @param string $project Name of the project scoping this request. 
  3667. * @param string $httpHealthCheck Name of the HttpHealthCheck resource to 
  3668. * update. 
  3669. * @param Google_HttpHealthCheck $postBody 
  3670. * @param array $optParams Optional parameters. 
  3671. * @return Google_Service_Compute_Operation 
  3672. */ 
  3673. public function patch($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array()) 
  3674. $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody); 
  3675. $params = array_merge($params, $optParams); 
  3676. return $this->call('patch', array($params), "Google_Service_Compute_Operation"); 
  3677.  
  3678. /** 
  3679. * Updates a HttpHealthCheck resource in the specified project using the data 
  3680. * included in the request. (httpHealthChecks.update) 
  3681. * 
  3682. * @param string $project Name of the project scoping this request. 
  3683. * @param string $httpHealthCheck Name of the HttpHealthCheck resource to 
  3684. * update. 
  3685. * @param Google_HttpHealthCheck $postBody 
  3686. * @param array $optParams Optional parameters. 
  3687. * @return Google_Service_Compute_Operation 
  3688. */ 
  3689. public function update($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array()) 
  3690. $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody); 
  3691. $params = array_merge($params, $optParams); 
  3692. return $this->call('update', array($params), "Google_Service_Compute_Operation"); 
  3693.  
  3694. /** 
  3695. * The "images" collection of methods. 
  3696. * Typical usage is: 
  3697. * <code> 
  3698. * $computeService = new Google_Service_Compute(...); 
  3699. * $images = $computeService->images; 
  3700. * </code> 
  3701. */ 
  3702. class Google_Service_Compute_Images_Resource extends Google_Service_Resource 
  3703.  
  3704. /** 
  3705. * Deletes the specified image resource. (images.delete) 
  3706. * 
  3707. * @param string $project Name of the project scoping this request. 
  3708. * @param string $image Name of the image resource to delete. 
  3709. * @param array $optParams Optional parameters. 
  3710. * @return Google_Service_Compute_Operation 
  3711. */ 
  3712. public function delete($project, $image, $optParams = array()) 
  3713. $params = array('project' => $project, 'image' => $image); 
  3714. $params = array_merge($params, $optParams); 
  3715. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  3716.  
  3717. /** 
  3718. * Sets the deprecation status of an image. If no message body is given, clears 
  3719. * the deprecation status instead. (images.deprecate) 
  3720. * 
  3721. * @param string $project Name of the project scoping this request. 
  3722. * @param string $image Image name. 
  3723. * @param Google_DeprecationStatus $postBody 
  3724. * @param array $optParams Optional parameters. 
  3725. * @return Google_Service_Compute_Operation 
  3726. */ 
  3727. public function deprecate($project, $image, Google_Service_Compute_DeprecationStatus $postBody, $optParams = array()) 
  3728. $params = array('project' => $project, 'image' => $image, 'postBody' => $postBody); 
  3729. $params = array_merge($params, $optParams); 
  3730. return $this->call('deprecate', array($params), "Google_Service_Compute_Operation"); 
  3731.  
  3732. /** 
  3733. * Returns the specified image resource. (images.get) 
  3734. * 
  3735. * @param string $project Name of the project scoping this request. 
  3736. * @param string $image Name of the image resource to return. 
  3737. * @param array $optParams Optional parameters. 
  3738. * @return Google_Service_Compute_Image 
  3739. */ 
  3740. public function get($project, $image, $optParams = array()) 
  3741. $params = array('project' => $project, 'image' => $image); 
  3742. $params = array_merge($params, $optParams); 
  3743. return $this->call('get', array($params), "Google_Service_Compute_Image"); 
  3744.  
  3745. /** 
  3746. * Creates an image resource in the specified project using the data included in 
  3747. * the request. (images.insert) 
  3748. * 
  3749. * @param string $project Name of the project scoping this request. 
  3750. * @param Google_Image $postBody 
  3751. * @param array $optParams Optional parameters. 
  3752. * @return Google_Service_Compute_Operation 
  3753. */ 
  3754. public function insert($project, Google_Service_Compute_Image $postBody, $optParams = array()) 
  3755. $params = array('project' => $project, 'postBody' => $postBody); 
  3756. $params = array_merge($params, $optParams); 
  3757. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  3758.  
  3759. /** 
  3760. * Retrieves the list of image resources available to the specified project. 
  3761. * (images.listImages) 
  3762. * 
  3763. * @param string $project Name of the project scoping this request. 
  3764. * @param array $optParams Optional parameters. 
  3765. * 
  3766. * @opt_param string filter Optional. Filter expression for filtering listed 
  3767. * resources. 
  3768. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  3769. * truncated by maxResults. Used to continue a previous list request. 
  3770. * @opt_param string maxResults Optional. Maximum count of results to be 
  3771. * returned. Maximum value is 500 and default value is 500. 
  3772. * @return Google_Service_Compute_ImageList 
  3773. */ 
  3774. public function listImages($project, $optParams = array()) 
  3775. $params = array('project' => $project); 
  3776. $params = array_merge($params, $optParams); 
  3777. return $this->call('list', array($params), "Google_Service_Compute_ImageList"); 
  3778.  
  3779. /** 
  3780. * The "instanceTemplates" collection of methods. 
  3781. * Typical usage is: 
  3782. * <code> 
  3783. * $computeService = new Google_Service_Compute(...); 
  3784. * $instanceTemplates = $computeService->instanceTemplates; 
  3785. * </code> 
  3786. */ 
  3787. class Google_Service_Compute_InstanceTemplates_Resource extends Google_Service_Resource 
  3788.  
  3789. /** 
  3790. * Deletes the specified instance template resource. (instanceTemplates.delete) 
  3791. * 
  3792. * @param string $project Name of the project scoping this request. 
  3793. * @param string $instanceTemplate Name of the instance template resource to 
  3794. * delete. 
  3795. * @param array $optParams Optional parameters. 
  3796. * @return Google_Service_Compute_Operation 
  3797. */ 
  3798. public function delete($project, $instanceTemplate, $optParams = array()) 
  3799. $params = array('project' => $project, 'instanceTemplate' => $instanceTemplate); 
  3800. $params = array_merge($params, $optParams); 
  3801. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  3802.  
  3803. /** 
  3804. * Returns the specified instance template resource. (instanceTemplates.get) 
  3805. * 
  3806. * @param string $project Name of the project scoping this request. 
  3807. * @param string $instanceTemplate Name of the instance template resource to 
  3808. * return. 
  3809. * @param array $optParams Optional parameters. 
  3810. * @return Google_Service_Compute_InstanceTemplate 
  3811. */ 
  3812. public function get($project, $instanceTemplate, $optParams = array()) 
  3813. $params = array('project' => $project, 'instanceTemplate' => $instanceTemplate); 
  3814. $params = array_merge($params, $optParams); 
  3815. return $this->call('get', array($params), "Google_Service_Compute_InstanceTemplate"); 
  3816.  
  3817. /** 
  3818. * Creates an instance template resource in the specified project using the data 
  3819. * included in the request. (instanceTemplates.insert) 
  3820. * 
  3821. * @param string $project Name of the project scoping this request. 
  3822. * @param Google_InstanceTemplate $postBody 
  3823. * @param array $optParams Optional parameters. 
  3824. * @return Google_Service_Compute_Operation 
  3825. */ 
  3826. public function insert($project, Google_Service_Compute_InstanceTemplate $postBody, $optParams = array()) 
  3827. $params = array('project' => $project, 'postBody' => $postBody); 
  3828. $params = array_merge($params, $optParams); 
  3829. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  3830.  
  3831. /** 
  3832. * Retrieves the list of instance template resources contained within the 
  3833. * specified project. (instanceTemplates.listInstanceTemplates) 
  3834. * 
  3835. * @param string $project Name of the project scoping this request. 
  3836. * @param array $optParams Optional parameters. 
  3837. * 
  3838. * @opt_param string filter Optional. Filter expression for filtering listed 
  3839. * resources. 
  3840. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  3841. * truncated by maxResults. Used to continue a previous list request. 
  3842. * @opt_param string maxResults Optional. Maximum count of results to be 
  3843. * returned. Maximum value is 500 and default value is 500. 
  3844. * @return Google_Service_Compute_InstanceTemplateList 
  3845. */ 
  3846. public function listInstanceTemplates($project, $optParams = array()) 
  3847. $params = array('project' => $project); 
  3848. $params = array_merge($params, $optParams); 
  3849. return $this->call('list', array($params), "Google_Service_Compute_InstanceTemplateList"); 
  3850.  
  3851. /** 
  3852. * The "instances" collection of methods. 
  3853. * Typical usage is: 
  3854. * <code> 
  3855. * $computeService = new Google_Service_Compute(...); 
  3856. * $instances = $computeService->instances; 
  3857. * </code> 
  3858. */ 
  3859. class Google_Service_Compute_Instances_Resource extends Google_Service_Resource 
  3860.  
  3861. /** 
  3862. * Adds an access config to an instance's network interface. 
  3863. * (instances.addAccessConfig) 
  3864. * 
  3865. * @param string $project Project name. 
  3866. * @param string $zone Name of the zone scoping this request. 
  3867. * @param string $instance Instance name. 
  3868. * @param string $networkInterface Network interface name. 
  3869. * @param Google_AccessConfig $postBody 
  3870. * @param array $optParams Optional parameters. 
  3871. * @return Google_Service_Compute_Operation 
  3872. */ 
  3873. public function addAccessConfig($project, $zone, $instance, $networkInterface, Google_Service_Compute_AccessConfig $postBody, $optParams = array()) 
  3874. $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'networkInterface' => $networkInterface, 'postBody' => $postBody); 
  3875. $params = array_merge($params, $optParams); 
  3876. return $this->call('addAccessConfig', array($params), "Google_Service_Compute_Operation"); 
  3877.  
  3878. /** 
  3879. * (instances.aggregatedList) 
  3880. * 
  3881. * @param string $project Name of the project scoping this request. 
  3882. * @param array $optParams Optional parameters. 
  3883. * 
  3884. * @opt_param string filter Optional. Filter expression for filtering listed 
  3885. * resources. 
  3886. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  3887. * truncated by maxResults. Used to continue a previous list request. 
  3888. * @opt_param string maxResults Optional. Maximum count of results to be 
  3889. * returned. Maximum value is 500 and default value is 500. 
  3890. * @return Google_Service_Compute_InstanceAggregatedList 
  3891. */ 
  3892. public function aggregatedList($project, $optParams = array()) 
  3893. $params = array('project' => $project); 
  3894. $params = array_merge($params, $optParams); 
  3895. return $this->call('aggregatedList', array($params), "Google_Service_Compute_InstanceAggregatedList"); 
  3896.  
  3897. /** 
  3898. * Attaches a disk resource to an instance. (instances.attachDisk) 
  3899. * 
  3900. * @param string $project Project name. 
  3901. * @param string $zone Name of the zone scoping this request. 
  3902. * @param string $instance Instance name. 
  3903. * @param Google_AttachedDisk $postBody 
  3904. * @param array $optParams Optional parameters. 
  3905. * @return Google_Service_Compute_Operation 
  3906. */ 
  3907. public function attachDisk($project, $zone, $instance, Google_Service_Compute_AttachedDisk $postBody, $optParams = array()) 
  3908. $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); 
  3909. $params = array_merge($params, $optParams); 
  3910. return $this->call('attachDisk', array($params), "Google_Service_Compute_Operation"); 
  3911.  
  3912. /** 
  3913. * Deletes the specified instance resource. (instances.delete) 
  3914. * 
  3915. * @param string $project Name of the project scoping this request. 
  3916. * @param string $zone Name of the zone scoping this request. 
  3917. * @param string $instance Name of the instance resource to delete. 
  3918. * @param array $optParams Optional parameters. 
  3919. * @return Google_Service_Compute_Operation 
  3920. */ 
  3921. public function delete($project, $zone, $instance, $optParams = array()) 
  3922. $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); 
  3923. $params = array_merge($params, $optParams); 
  3924. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  3925.  
  3926. /** 
  3927. * Deletes an access config from an instance's network interface. 
  3928. * (instances.deleteAccessConfig) 
  3929. * 
  3930. * @param string $project Project name. 
  3931. * @param string $zone Name of the zone scoping this request. 
  3932. * @param string $instance Instance name. 
  3933. * @param string $accessConfig Access config name. 
  3934. * @param string $networkInterface Network interface name. 
  3935. * @param array $optParams Optional parameters. 
  3936. * @return Google_Service_Compute_Operation 
  3937. */ 
  3938. public function deleteAccessConfig($project, $zone, $instance, $accessConfig, $networkInterface, $optParams = array()) 
  3939. $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'accessConfig' => $accessConfig, 'networkInterface' => $networkInterface); 
  3940. $params = array_merge($params, $optParams); 
  3941. return $this->call('deleteAccessConfig', array($params), "Google_Service_Compute_Operation"); 
  3942.  
  3943. /** 
  3944. * Detaches a disk from an instance. (instances.detachDisk) 
  3945. * 
  3946. * @param string $project Project name. 
  3947. * @param string $zone Name of the zone scoping this request. 
  3948. * @param string $instance Instance name. 
  3949. * @param string $deviceName Disk device name to detach. 
  3950. * @param array $optParams Optional parameters. 
  3951. * @return Google_Service_Compute_Operation 
  3952. */ 
  3953. public function detachDisk($project, $zone, $instance, $deviceName, $optParams = array()) 
  3954. $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'deviceName' => $deviceName); 
  3955. $params = array_merge($params, $optParams); 
  3956. return $this->call('detachDisk', array($params), "Google_Service_Compute_Operation"); 
  3957.  
  3958. /** 
  3959. * Returns the specified instance resource. (instances.get) 
  3960. * 
  3961. * @param string $project Name of the project scoping this request. 
  3962. * @param string $zone Name of the zone scoping this request. 
  3963. * @param string $instance Name of the instance resource to return. 
  3964. * @param array $optParams Optional parameters. 
  3965. * @return Google_Service_Compute_Instance 
  3966. */ 
  3967. public function get($project, $zone, $instance, $optParams = array()) 
  3968. $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); 
  3969. $params = array_merge($params, $optParams); 
  3970. return $this->call('get', array($params), "Google_Service_Compute_Instance"); 
  3971.  
  3972. /** 
  3973. * Returns the specified instance's serial port output. 
  3974. * (instances.getSerialPortOutput) 
  3975. * 
  3976. * @param string $project Name of the project scoping this request. 
  3977. * @param string $zone Name of the zone scoping this request. 
  3978. * @param string $instance Name of the instance scoping this request. 
  3979. * @param array $optParams Optional parameters. 
  3980. * @return Google_Service_Compute_SerialPortOutput 
  3981. */ 
  3982. public function getSerialPortOutput($project, $zone, $instance, $optParams = array()) 
  3983. $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); 
  3984. $params = array_merge($params, $optParams); 
  3985. return $this->call('getSerialPortOutput', array($params), "Google_Service_Compute_SerialPortOutput"); 
  3986.  
  3987. /** 
  3988. * Creates an instance resource in the specified project using the data included 
  3989. * in the request. (instances.insert) 
  3990. * 
  3991. * @param string $project Name of the project scoping this request. 
  3992. * @param string $zone Name of the zone scoping this request. 
  3993. * @param Google_Instance $postBody 
  3994. * @param array $optParams Optional parameters. 
  3995. * @return Google_Service_Compute_Operation 
  3996. */ 
  3997. public function insert($project, $zone, Google_Service_Compute_Instance $postBody, $optParams = array()) 
  3998. $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); 
  3999. $params = array_merge($params, $optParams); 
  4000. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  4001.  
  4002. /** 
  4003. * Retrieves the list of instance resources contained within the specified zone. 
  4004. * (instances.listInstances) 
  4005. * 
  4006. * @param string $project Name of the project scoping this request. 
  4007. * @param string $zone Name of the zone scoping this request. 
  4008. * @param array $optParams Optional parameters. 
  4009. * 
  4010. * @opt_param string filter Optional. Filter expression for filtering listed 
  4011. * resources. 
  4012. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  4013. * truncated by maxResults. Used to continue a previous list request. 
  4014. * @opt_param string maxResults Optional. Maximum count of results to be 
  4015. * returned. Maximum value is 500 and default value is 500. 
  4016. * @return Google_Service_Compute_InstanceList 
  4017. */ 
  4018. public function listInstances($project, $zone, $optParams = array()) 
  4019. $params = array('project' => $project, 'zone' => $zone); 
  4020. $params = array_merge($params, $optParams); 
  4021. return $this->call('list', array($params), "Google_Service_Compute_InstanceList"); 
  4022.  
  4023. /** 
  4024. * Performs a hard reset on the instance. (instances.reset) 
  4025. * 
  4026. * @param string $project Name of the project scoping this request. 
  4027. * @param string $zone Name of the zone scoping this request. 
  4028. * @param string $instance Name of the instance scoping this request. 
  4029. * @param array $optParams Optional parameters. 
  4030. * @return Google_Service_Compute_Operation 
  4031. */ 
  4032. public function reset($project, $zone, $instance, $optParams = array()) 
  4033. $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); 
  4034. $params = array_merge($params, $optParams); 
  4035. return $this->call('reset', array($params), "Google_Service_Compute_Operation"); 
  4036.  
  4037. /** 
  4038. * Sets the auto-delete flag for a disk attached to an instance 
  4039. * (instances.setDiskAutoDelete) 
  4040. * 
  4041. * @param string $project Project name. 
  4042. * @param string $zone Name of the zone scoping this request. 
  4043. * @param string $instance Instance name. 
  4044. * @param bool $autoDelete Whether to auto-delete the disk when the instance is 
  4045. * deleted. 
  4046. * @param string $deviceName Disk device name to modify. 
  4047. * @param array $optParams Optional parameters. 
  4048. * @return Google_Service_Compute_Operation 
  4049. */ 
  4050. public function setDiskAutoDelete($project, $zone, $instance, $autoDelete, $deviceName, $optParams = array()) 
  4051. $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'autoDelete' => $autoDelete, 'deviceName' => $deviceName); 
  4052. $params = array_merge($params, $optParams); 
  4053. return $this->call('setDiskAutoDelete', array($params), "Google_Service_Compute_Operation"); 
  4054.  
  4055. /** 
  4056. * Sets metadata for the specified instance to the data included in the request. 
  4057. * (instances.setMetadata) 
  4058. * 
  4059. * @param string $project Name of the project scoping this request. 
  4060. * @param string $zone Name of the zone scoping this request. 
  4061. * @param string $instance Name of the instance scoping this request. 
  4062. * @param Google_Metadata $postBody 
  4063. * @param array $optParams Optional parameters. 
  4064. * @return Google_Service_Compute_Operation 
  4065. */ 
  4066. public function setMetadata($project, $zone, $instance, Google_Service_Compute_Metadata $postBody, $optParams = array()) 
  4067. $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); 
  4068. $params = array_merge($params, $optParams); 
  4069. return $this->call('setMetadata', array($params), "Google_Service_Compute_Operation"); 
  4070.  
  4071. /** 
  4072. * Sets an instance's scheduling options. (instances.setScheduling) 
  4073. * 
  4074. * @param string $project Project name. 
  4075. * @param string $zone Name of the zone scoping this request. 
  4076. * @param string $instance Instance name. 
  4077. * @param Google_Scheduling $postBody 
  4078. * @param array $optParams Optional parameters. 
  4079. * @return Google_Service_Compute_Operation 
  4080. */ 
  4081. public function setScheduling($project, $zone, $instance, Google_Service_Compute_Scheduling $postBody, $optParams = array()) 
  4082. $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); 
  4083. $params = array_merge($params, $optParams); 
  4084. return $this->call('setScheduling', array($params), "Google_Service_Compute_Operation"); 
  4085.  
  4086. /** 
  4087. * Sets tags for the specified instance to the data included in the request. 
  4088. * (instances.setTags) 
  4089. * 
  4090. * @param string $project Name of the project scoping this request. 
  4091. * @param string $zone Name of the zone scoping this request. 
  4092. * @param string $instance Name of the instance scoping this request. 
  4093. * @param Google_Tags $postBody 
  4094. * @param array $optParams Optional parameters. 
  4095. * @return Google_Service_Compute_Operation 
  4096. */ 
  4097. public function setTags($project, $zone, $instance, Google_Service_Compute_Tags $postBody, $optParams = array()) 
  4098. $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); 
  4099. $params = array_merge($params, $optParams); 
  4100. return $this->call('setTags', array($params), "Google_Service_Compute_Operation"); 
  4101.  
  4102. /** 
  4103. * Starts an instance (instances.start) 
  4104. * 
  4105. * @param string $project Name of the project scoping this request. 
  4106. * @param string $zone Name of the zone scoping this request. 
  4107. * @param string $instance Name of the instance resource to start. 
  4108. * @param array $optParams Optional parameters. 
  4109. * @return Google_Service_Compute_Operation 
  4110. */ 
  4111. public function start($project, $zone, $instance, $optParams = array()) 
  4112. $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); 
  4113. $params = array_merge($params, $optParams); 
  4114. return $this->call('start', array($params), "Google_Service_Compute_Operation"); 
  4115.  
  4116. /** 
  4117. * Stops an instance (instances.stop) 
  4118. * 
  4119. * @param string $project Name of the project scoping this request. 
  4120. * @param string $zone Name of the zone scoping this request. 
  4121. * @param string $instance Name of the instance resource to start. 
  4122. * @param array $optParams Optional parameters. 
  4123. * @return Google_Service_Compute_Operation 
  4124. */ 
  4125. public function stop($project, $zone, $instance, $optParams = array()) 
  4126. $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); 
  4127. $params = array_merge($params, $optParams); 
  4128. return $this->call('stop', array($params), "Google_Service_Compute_Operation"); 
  4129.  
  4130. /** 
  4131. * The "licenses" collection of methods. 
  4132. * Typical usage is: 
  4133. * <code> 
  4134. * $computeService = new Google_Service_Compute(...); 
  4135. * $licenses = $computeService->licenses; 
  4136. * </code> 
  4137. */ 
  4138. class Google_Service_Compute_Licenses_Resource extends Google_Service_Resource 
  4139.  
  4140. /** 
  4141. * Returns the specified license resource. (licenses.get) 
  4142. * 
  4143. * @param string $project Name of the project scoping this request. 
  4144. * @param string $license Name of the license resource to return. 
  4145. * @param array $optParams Optional parameters. 
  4146. * @return Google_Service_Compute_License 
  4147. */ 
  4148. public function get($project, $license, $optParams = array()) 
  4149. $params = array('project' => $project, 'license' => $license); 
  4150. $params = array_merge($params, $optParams); 
  4151. return $this->call('get', array($params), "Google_Service_Compute_License"); 
  4152.  
  4153. /** 
  4154. * The "machineTypes" collection of methods. 
  4155. * Typical usage is: 
  4156. * <code> 
  4157. * $computeService = new Google_Service_Compute(...); 
  4158. * $machineTypes = $computeService->machineTypes; 
  4159. * </code> 
  4160. */ 
  4161. class Google_Service_Compute_MachineTypes_Resource extends Google_Service_Resource 
  4162.  
  4163. /** 
  4164. * Retrieves the list of machine type resources grouped by scope. 
  4165. * (machineTypes.aggregatedList) 
  4166. * 
  4167. * @param string $project Project ID for this request. 
  4168. * @param array $optParams Optional parameters. 
  4169. * 
  4170. * @opt_param string filter Optional. Filter expression for filtering listed 
  4171. * resources. 
  4172. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  4173. * truncated by maxResults. Used to continue a previous list request. 
  4174. * @opt_param string maxResults Optional. Maximum count of results to be 
  4175. * returned. Maximum value is 500 and default value is 500. 
  4176. * @return Google_Service_Compute_MachineTypeAggregatedList 
  4177. */ 
  4178. public function aggregatedList($project, $optParams = array()) 
  4179. $params = array('project' => $project); 
  4180. $params = array_merge($params, $optParams); 
  4181. return $this->call('aggregatedList', array($params), "Google_Service_Compute_MachineTypeAggregatedList"); 
  4182.  
  4183. /** 
  4184. * Returns the specified machine type resource. (machineTypes.get) 
  4185. * 
  4186. * @param string $project Project ID for this request. 
  4187. * @param string $zone Name of the zone scoping this request. 
  4188. * @param string $machineType Name of the machine type resource to return. 
  4189. * @param array $optParams Optional parameters. 
  4190. * @return Google_Service_Compute_MachineType 
  4191. */ 
  4192. public function get($project, $zone, $machineType, $optParams = array()) 
  4193. $params = array('project' => $project, 'zone' => $zone, 'machineType' => $machineType); 
  4194. $params = array_merge($params, $optParams); 
  4195. return $this->call('get', array($params), "Google_Service_Compute_MachineType"); 
  4196.  
  4197. /** 
  4198. * Retrieves the list of machine type resources available to the specified 
  4199. * project. (machineTypes.listMachineTypes) 
  4200. * 
  4201. * @param string $project Project ID for this request. 
  4202. * @param string $zone Name of the zone scoping this request. 
  4203. * @param array $optParams Optional parameters. 
  4204. * 
  4205. * @opt_param string filter Optional. Filter expression for filtering listed 
  4206. * resources. 
  4207. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  4208. * truncated by maxResults. Used to continue a previous list request. 
  4209. * @opt_param string maxResults Optional. Maximum count of results to be 
  4210. * returned. Maximum value is 500 and default value is 500. 
  4211. * @return Google_Service_Compute_MachineTypeList 
  4212. */ 
  4213. public function listMachineTypes($project, $zone, $optParams = array()) 
  4214. $params = array('project' => $project, 'zone' => $zone); 
  4215. $params = array_merge($params, $optParams); 
  4216. return $this->call('list', array($params), "Google_Service_Compute_MachineTypeList"); 
  4217.  
  4218. /** 
  4219. * The "networks" collection of methods. 
  4220. * Typical usage is: 
  4221. * <code> 
  4222. * $computeService = new Google_Service_Compute(...); 
  4223. * $networks = $computeService->networks; 
  4224. * </code> 
  4225. */ 
  4226. class Google_Service_Compute_Networks_Resource extends Google_Service_Resource 
  4227.  
  4228. /** 
  4229. * Deletes the specified network resource. (networks.delete) 
  4230. * 
  4231. * @param string $project Name of the project scoping this request. 
  4232. * @param string $network Name of the network resource to delete. 
  4233. * @param array $optParams Optional parameters. 
  4234. * @return Google_Service_Compute_Operation 
  4235. */ 
  4236. public function delete($project, $network, $optParams = array()) 
  4237. $params = array('project' => $project, 'network' => $network); 
  4238. $params = array_merge($params, $optParams); 
  4239. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  4240.  
  4241. /** 
  4242. * Returns the specified network resource. (networks.get) 
  4243. * 
  4244. * @param string $project Name of the project scoping this request. 
  4245. * @param string $network Name of the network resource to return. 
  4246. * @param array $optParams Optional parameters. 
  4247. * @return Google_Service_Compute_Network 
  4248. */ 
  4249. public function get($project, $network, $optParams = array()) 
  4250. $params = array('project' => $project, 'network' => $network); 
  4251. $params = array_merge($params, $optParams); 
  4252. return $this->call('get', array($params), "Google_Service_Compute_Network"); 
  4253.  
  4254. /** 
  4255. * Creates a network resource in the specified project using the data included 
  4256. * in the request. (networks.insert) 
  4257. * 
  4258. * @param string $project Name of the project scoping this request. 
  4259. * @param Google_Network $postBody 
  4260. * @param array $optParams Optional parameters. 
  4261. * @return Google_Service_Compute_Operation 
  4262. */ 
  4263. public function insert($project, Google_Service_Compute_Network $postBody, $optParams = array()) 
  4264. $params = array('project' => $project, 'postBody' => $postBody); 
  4265. $params = array_merge($params, $optParams); 
  4266. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  4267.  
  4268. /** 
  4269. * Retrieves the list of network resources available to the specified project. 
  4270. * (networks.listNetworks) 
  4271. * 
  4272. * @param string $project Name of the project scoping this request. 
  4273. * @param array $optParams Optional parameters. 
  4274. * 
  4275. * @opt_param string filter Optional. Filter expression for filtering listed 
  4276. * resources. 
  4277. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  4278. * truncated by maxResults. Used to continue a previous list request. 
  4279. * @opt_param string maxResults Optional. Maximum count of results to be 
  4280. * returned. Maximum value is 500 and default value is 500. 
  4281. * @return Google_Service_Compute_NetworkList 
  4282. */ 
  4283. public function listNetworks($project, $optParams = array()) 
  4284. $params = array('project' => $project); 
  4285. $params = array_merge($params, $optParams); 
  4286. return $this->call('list', array($params), "Google_Service_Compute_NetworkList"); 
  4287.  
  4288. /** 
  4289. * The "projects" collection of methods. 
  4290. * Typical usage is: 
  4291. * <code> 
  4292. * $computeService = new Google_Service_Compute(...); 
  4293. * $projects = $computeService->projects; 
  4294. * </code> 
  4295. */ 
  4296. class Google_Service_Compute_Projects_Resource extends Google_Service_Resource 
  4297.  
  4298. /** 
  4299. * Returns the specified project resource. (projects.get) 
  4300. * 
  4301. * @param string $project Name of the project resource to retrieve. 
  4302. * @param array $optParams Optional parameters. 
  4303. * @return Google_Service_Compute_Project 
  4304. */ 
  4305. public function get($project, $optParams = array()) 
  4306. $params = array('project' => $project); 
  4307. $params = array_merge($params, $optParams); 
  4308. return $this->call('get', array($params), "Google_Service_Compute_Project"); 
  4309.  
  4310. /** 
  4311. * Sets metadata common to all instances within the specified project using the 
  4312. * data included in the request. (projects.setCommonInstanceMetadata) 
  4313. * 
  4314. * @param string $project Name of the project scoping this request. 
  4315. * @param Google_Metadata $postBody 
  4316. * @param array $optParams Optional parameters. 
  4317. * @return Google_Service_Compute_Operation 
  4318. */ 
  4319. public function setCommonInstanceMetadata($project, Google_Service_Compute_Metadata $postBody, $optParams = array()) 
  4320. $params = array('project' => $project, 'postBody' => $postBody); 
  4321. $params = array_merge($params, $optParams); 
  4322. return $this->call('setCommonInstanceMetadata', array($params), "Google_Service_Compute_Operation"); 
  4323.  
  4324. /** 
  4325. * Sets usage export location (projects.setUsageExportBucket) 
  4326. * 
  4327. * @param string $project Name of the project scoping this request. 
  4328. * @param Google_UsageExportLocation $postBody 
  4329. * @param array $optParams Optional parameters. 
  4330. * @return Google_Service_Compute_Operation 
  4331. */ 
  4332. public function setUsageExportBucket($project, Google_Service_Compute_UsageExportLocation $postBody, $optParams = array()) 
  4333. $params = array('project' => $project, 'postBody' => $postBody); 
  4334. $params = array_merge($params, $optParams); 
  4335. return $this->call('setUsageExportBucket', array($params), "Google_Service_Compute_Operation"); 
  4336.  
  4337. /** 
  4338. * The "regionOperations" collection of methods. 
  4339. * Typical usage is: 
  4340. * <code> 
  4341. * $computeService = new Google_Service_Compute(...); 
  4342. * $regionOperations = $computeService->regionOperations; 
  4343. * </code> 
  4344. */ 
  4345. class Google_Service_Compute_RegionOperations_Resource extends Google_Service_Resource 
  4346.  
  4347. /** 
  4348. * Deletes the specified region-specific operation resource. 
  4349. * (regionOperations.delete) 
  4350. * 
  4351. * @param string $project Name of the project scoping this request. 
  4352. * @param string $region Name of the region scoping this request. 
  4353. * @param string $operation Name of the operation resource to delete. 
  4354. * @param array $optParams Optional parameters. 
  4355. */ 
  4356. public function delete($project, $region, $operation, $optParams = array()) 
  4357. $params = array('project' => $project, 'region' => $region, 'operation' => $operation); 
  4358. $params = array_merge($params, $optParams); 
  4359. return $this->call('delete', array($params)); 
  4360.  
  4361. /** 
  4362. * Retrieves the specified region-specific operation resource. 
  4363. * (regionOperations.get) 
  4364. * 
  4365. * @param string $project Name of the project scoping this request. 
  4366. * @param string $region Name of the zone scoping this request. 
  4367. * @param string $operation Name of the operation resource to return. 
  4368. * @param array $optParams Optional parameters. 
  4369. * @return Google_Service_Compute_Operation 
  4370. */ 
  4371. public function get($project, $region, $operation, $optParams = array()) 
  4372. $params = array('project' => $project, 'region' => $region, 'operation' => $operation); 
  4373. $params = array_merge($params, $optParams); 
  4374. return $this->call('get', array($params), "Google_Service_Compute_Operation"); 
  4375.  
  4376. /** 
  4377. * Retrieves the list of operation resources contained within the specified 
  4378. * region. (regionOperations.listRegionOperations) 
  4379. * 
  4380. * @param string $project Name of the project scoping this request. 
  4381. * @param string $region Name of the region scoping this request. 
  4382. * @param array $optParams Optional parameters. 
  4383. * 
  4384. * @opt_param string filter Optional. Filter expression for filtering listed 
  4385. * resources. 
  4386. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  4387. * truncated by maxResults. Used to continue a previous list request. 
  4388. * @opt_param string maxResults Optional. Maximum count of results to be 
  4389. * returned. Maximum value is 500 and default value is 500. 
  4390. * @return Google_Service_Compute_OperationList 
  4391. */ 
  4392. public function listRegionOperations($project, $region, $optParams = array()) 
  4393. $params = array('project' => $project, 'region' => $region); 
  4394. $params = array_merge($params, $optParams); 
  4395. return $this->call('list', array($params), "Google_Service_Compute_OperationList"); 
  4396.  
  4397. /** 
  4398. * The "regions" collection of methods. 
  4399. * Typical usage is: 
  4400. * <code> 
  4401. * $computeService = new Google_Service_Compute(...); 
  4402. * $regions = $computeService->regions; 
  4403. * </code> 
  4404. */ 
  4405. class Google_Service_Compute_Regions_Resource extends Google_Service_Resource 
  4406.  
  4407. /** 
  4408. * Returns the specified region resource. (regions.get) 
  4409. * 
  4410. * @param string $project Name of the project scoping this request. 
  4411. * @param string $region Name of the region resource to return. 
  4412. * @param array $optParams Optional parameters. 
  4413. * @return Google_Service_Compute_Region 
  4414. */ 
  4415. public function get($project, $region, $optParams = array()) 
  4416. $params = array('project' => $project, 'region' => $region); 
  4417. $params = array_merge($params, $optParams); 
  4418. return $this->call('get', array($params), "Google_Service_Compute_Region"); 
  4419.  
  4420. /** 
  4421. * Retrieves the list of region resources available to the specified project. 
  4422. * (regions.listRegions) 
  4423. * 
  4424. * @param string $project Name of the project scoping this request. 
  4425. * @param array $optParams Optional parameters. 
  4426. * 
  4427. * @opt_param string filter Optional. Filter expression for filtering listed 
  4428. * resources. 
  4429. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  4430. * truncated by maxResults. Used to continue a previous list request. 
  4431. * @opt_param string maxResults Optional. Maximum count of results to be 
  4432. * returned. Maximum value is 500 and default value is 500. 
  4433. * @return Google_Service_Compute_RegionList 
  4434. */ 
  4435. public function listRegions($project, $optParams = array()) 
  4436. $params = array('project' => $project); 
  4437. $params = array_merge($params, $optParams); 
  4438. return $this->call('list', array($params), "Google_Service_Compute_RegionList"); 
  4439.  
  4440. /** 
  4441. * The "routes" collection of methods. 
  4442. * Typical usage is: 
  4443. * <code> 
  4444. * $computeService = new Google_Service_Compute(...); 
  4445. * $routes = $computeService->routes; 
  4446. * </code> 
  4447. */ 
  4448. class Google_Service_Compute_Routes_Resource extends Google_Service_Resource 
  4449.  
  4450. /** 
  4451. * Deletes the specified route resource. (routes.delete) 
  4452. * 
  4453. * @param string $project Name of the project scoping this request. 
  4454. * @param string $route Name of the route resource to delete. 
  4455. * @param array $optParams Optional parameters. 
  4456. * @return Google_Service_Compute_Operation 
  4457. */ 
  4458. public function delete($project, $route, $optParams = array()) 
  4459. $params = array('project' => $project, 'route' => $route); 
  4460. $params = array_merge($params, $optParams); 
  4461. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  4462.  
  4463. /** 
  4464. * Returns the specified route resource. (routes.get) 
  4465. * 
  4466. * @param string $project Name of the project scoping this request. 
  4467. * @param string $route Name of the route resource to return. 
  4468. * @param array $optParams Optional parameters. 
  4469. * @return Google_Service_Compute_Route 
  4470. */ 
  4471. public function get($project, $route, $optParams = array()) 
  4472. $params = array('project' => $project, 'route' => $route); 
  4473. $params = array_merge($params, $optParams); 
  4474. return $this->call('get', array($params), "Google_Service_Compute_Route"); 
  4475.  
  4476. /** 
  4477. * Creates a route resource in the specified project using the data included in 
  4478. * the request. (routes.insert) 
  4479. * 
  4480. * @param string $project Name of the project scoping this request. 
  4481. * @param Google_Route $postBody 
  4482. * @param array $optParams Optional parameters. 
  4483. * @return Google_Service_Compute_Operation 
  4484. */ 
  4485. public function insert($project, Google_Service_Compute_Route $postBody, $optParams = array()) 
  4486. $params = array('project' => $project, 'postBody' => $postBody); 
  4487. $params = array_merge($params, $optParams); 
  4488. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  4489.  
  4490. /** 
  4491. * Retrieves the list of route resources available to the specified project. 
  4492. * (routes.listRoutes) 
  4493. * 
  4494. * @param string $project Name of the project scoping this request. 
  4495. * @param array $optParams Optional parameters. 
  4496. * 
  4497. * @opt_param string filter Optional. Filter expression for filtering listed 
  4498. * resources. 
  4499. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  4500. * truncated by maxResults. Used to continue a previous list request. 
  4501. * @opt_param string maxResults Optional. Maximum count of results to be 
  4502. * returned. Maximum value is 500 and default value is 500. 
  4503. * @return Google_Service_Compute_RouteList 
  4504. */ 
  4505. public function listRoutes($project, $optParams = array()) 
  4506. $params = array('project' => $project); 
  4507. $params = array_merge($params, $optParams); 
  4508. return $this->call('list', array($params), "Google_Service_Compute_RouteList"); 
  4509.  
  4510. /** 
  4511. * The "snapshots" collection of methods. 
  4512. * Typical usage is: 
  4513. * <code> 
  4514. * $computeService = new Google_Service_Compute(...); 
  4515. * $snapshots = $computeService->snapshots; 
  4516. * </code> 
  4517. */ 
  4518. class Google_Service_Compute_Snapshots_Resource extends Google_Service_Resource 
  4519.  
  4520. /** 
  4521. * Deletes the specified persistent disk snapshot resource. (snapshots.delete) 
  4522. * 
  4523. * @param string $project Name of the project scoping this request. 
  4524. * @param string $snapshot Name of the persistent disk snapshot resource to 
  4525. * delete. 
  4526. * @param array $optParams Optional parameters. 
  4527. * @return Google_Service_Compute_Operation 
  4528. */ 
  4529. public function delete($project, $snapshot, $optParams = array()) 
  4530. $params = array('project' => $project, 'snapshot' => $snapshot); 
  4531. $params = array_merge($params, $optParams); 
  4532. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  4533.  
  4534. /** 
  4535. * Returns the specified persistent disk snapshot resource. (snapshots.get) 
  4536. * 
  4537. * @param string $project Name of the project scoping this request. 
  4538. * @param string $snapshot Name of the persistent disk snapshot resource to 
  4539. * return. 
  4540. * @param array $optParams Optional parameters. 
  4541. * @return Google_Service_Compute_Snapshot 
  4542. */ 
  4543. public function get($project, $snapshot, $optParams = array()) 
  4544. $params = array('project' => $project, 'snapshot' => $snapshot); 
  4545. $params = array_merge($params, $optParams); 
  4546. return $this->call('get', array($params), "Google_Service_Compute_Snapshot"); 
  4547.  
  4548. /** 
  4549. * Retrieves the list of persistent disk snapshot resources contained within the 
  4550. * specified project. (snapshots.listSnapshots) 
  4551. * 
  4552. * @param string $project Name of the project scoping this request. 
  4553. * @param array $optParams Optional parameters. 
  4554. * 
  4555. * @opt_param string filter Optional. Filter expression for filtering listed 
  4556. * resources. 
  4557. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  4558. * truncated by maxResults. Used to continue a previous list request. 
  4559. * @opt_param string maxResults Optional. Maximum count of results to be 
  4560. * returned. Maximum value is 500 and default value is 500. 
  4561. * @return Google_Service_Compute_SnapshotList 
  4562. */ 
  4563. public function listSnapshots($project, $optParams = array()) 
  4564. $params = array('project' => $project); 
  4565. $params = array_merge($params, $optParams); 
  4566. return $this->call('list', array($params), "Google_Service_Compute_SnapshotList"); 
  4567.  
  4568. /** 
  4569. * The "targetHttpProxies" collection of methods. 
  4570. * Typical usage is: 
  4571. * <code> 
  4572. * $computeService = new Google_Service_Compute(...); 
  4573. * $targetHttpProxies = $computeService->targetHttpProxies; 
  4574. * </code> 
  4575. */ 
  4576. class Google_Service_Compute_TargetHttpProxies_Resource extends Google_Service_Resource 
  4577.  
  4578. /** 
  4579. * Deletes the specified TargetHttpProxy resource. (targetHttpProxies.delete) 
  4580. * 
  4581. * @param string $project Name of the project scoping this request. 
  4582. * @param string $targetHttpProxy Name of the TargetHttpProxy resource to 
  4583. * delete. 
  4584. * @param array $optParams Optional parameters. 
  4585. * @return Google_Service_Compute_Operation 
  4586. */ 
  4587. public function delete($project, $targetHttpProxy, $optParams = array()) 
  4588. $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy); 
  4589. $params = array_merge($params, $optParams); 
  4590. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  4591.  
  4592. /** 
  4593. * Returns the specified TargetHttpProxy resource. (targetHttpProxies.get) 
  4594. * 
  4595. * @param string $project Name of the project scoping this request. 
  4596. * @param string $targetHttpProxy Name of the TargetHttpProxy resource to 
  4597. * return. 
  4598. * @param array $optParams Optional parameters. 
  4599. * @return Google_Service_Compute_TargetHttpProxy 
  4600. */ 
  4601. public function get($project, $targetHttpProxy, $optParams = array()) 
  4602. $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy); 
  4603. $params = array_merge($params, $optParams); 
  4604. return $this->call('get', array($params), "Google_Service_Compute_TargetHttpProxy"); 
  4605.  
  4606. /** 
  4607. * Creates a TargetHttpProxy resource in the specified project using the data 
  4608. * included in the request. (targetHttpProxies.insert) 
  4609. * 
  4610. * @param string $project Name of the project scoping this request. 
  4611. * @param Google_TargetHttpProxy $postBody 
  4612. * @param array $optParams Optional parameters. 
  4613. * @return Google_Service_Compute_Operation 
  4614. */ 
  4615. public function insert($project, Google_Service_Compute_TargetHttpProxy $postBody, $optParams = array()) 
  4616. $params = array('project' => $project, 'postBody' => $postBody); 
  4617. $params = array_merge($params, $optParams); 
  4618. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  4619.  
  4620. /** 
  4621. * Retrieves the list of TargetHttpProxy resources available to the specified 
  4622. * project. (targetHttpProxies.listTargetHttpProxies) 
  4623. * 
  4624. * @param string $project Name of the project scoping this request. 
  4625. * @param array $optParams Optional parameters. 
  4626. * 
  4627. * @opt_param string filter Optional. Filter expression for filtering listed 
  4628. * resources. 
  4629. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  4630. * truncated by maxResults. Used to continue a previous list request. 
  4631. * @opt_param string maxResults Optional. Maximum count of results to be 
  4632. * returned. Maximum value is 500 and default value is 500. 
  4633. * @return Google_Service_Compute_TargetHttpProxyList 
  4634. */ 
  4635. public function listTargetHttpProxies($project, $optParams = array()) 
  4636. $params = array('project' => $project); 
  4637. $params = array_merge($params, $optParams); 
  4638. return $this->call('list', array($params), "Google_Service_Compute_TargetHttpProxyList"); 
  4639.  
  4640. /** 
  4641. * Changes the URL map for TargetHttpProxy. (targetHttpProxies.setUrlMap) 
  4642. * 
  4643. * @param string $project Name of the project scoping this request. 
  4644. * @param string $targetHttpProxy Name of the TargetHttpProxy resource whose URL 
  4645. * map is to be set. 
  4646. * @param Google_UrlMapReference $postBody 
  4647. * @param array $optParams Optional parameters. 
  4648. * @return Google_Service_Compute_Operation 
  4649. */ 
  4650. public function setUrlMap($project, $targetHttpProxy, Google_Service_Compute_UrlMapReference $postBody, $optParams = array()) 
  4651. $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy, 'postBody' => $postBody); 
  4652. $params = array_merge($params, $optParams); 
  4653. return $this->call('setUrlMap', array($params), "Google_Service_Compute_Operation"); 
  4654.  
  4655. /** 
  4656. * The "targetInstances" collection of methods. 
  4657. * Typical usage is: 
  4658. * <code> 
  4659. * $computeService = new Google_Service_Compute(...); 
  4660. * $targetInstances = $computeService->targetInstances; 
  4661. * </code> 
  4662. */ 
  4663. class Google_Service_Compute_TargetInstances_Resource extends Google_Service_Resource 
  4664.  
  4665. /** 
  4666. * Retrieves the list of target instances grouped by scope. 
  4667. * (targetInstances.aggregatedList) 
  4668. * 
  4669. * @param string $project Name of the project scoping this request. 
  4670. * @param array $optParams Optional parameters. 
  4671. * 
  4672. * @opt_param string filter Optional. Filter expression for filtering listed 
  4673. * resources. 
  4674. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  4675. * truncated by maxResults. Used to continue a previous list request. 
  4676. * @opt_param string maxResults Optional. Maximum count of results to be 
  4677. * returned. Maximum value is 500 and default value is 500. 
  4678. * @return Google_Service_Compute_TargetInstanceAggregatedList 
  4679. */ 
  4680. public function aggregatedList($project, $optParams = array()) 
  4681. $params = array('project' => $project); 
  4682. $params = array_merge($params, $optParams); 
  4683. return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetInstanceAggregatedList"); 
  4684.  
  4685. /** 
  4686. * Deletes the specified TargetInstance resource. (targetInstances.delete) 
  4687. * 
  4688. * @param string $project Name of the project scoping this request. 
  4689. * @param string $zone Name of the zone scoping this request. 
  4690. * @param string $targetInstance Name of the TargetInstance resource to delete. 
  4691. * @param array $optParams Optional parameters. 
  4692. * @return Google_Service_Compute_Operation 
  4693. */ 
  4694. public function delete($project, $zone, $targetInstance, $optParams = array()) 
  4695. $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance); 
  4696. $params = array_merge($params, $optParams); 
  4697. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  4698.  
  4699. /** 
  4700. * Returns the specified TargetInstance resource. (targetInstances.get) 
  4701. * 
  4702. * @param string $project Name of the project scoping this request. 
  4703. * @param string $zone Name of the zone scoping this request. 
  4704. * @param string $targetInstance Name of the TargetInstance resource to return. 
  4705. * @param array $optParams Optional parameters. 
  4706. * @return Google_Service_Compute_TargetInstance 
  4707. */ 
  4708. public function get($project, $zone, $targetInstance, $optParams = array()) 
  4709. $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance); 
  4710. $params = array_merge($params, $optParams); 
  4711. return $this->call('get', array($params), "Google_Service_Compute_TargetInstance"); 
  4712.  
  4713. /** 
  4714. * Creates a TargetInstance resource in the specified project and zone using the 
  4715. * data included in the request. (targetInstances.insert) 
  4716. * 
  4717. * @param string $project Name of the project scoping this request. 
  4718. * @param string $zone Name of the zone scoping this request. 
  4719. * @param Google_TargetInstance $postBody 
  4720. * @param array $optParams Optional parameters. 
  4721. * @return Google_Service_Compute_Operation 
  4722. */ 
  4723. public function insert($project, $zone, Google_Service_Compute_TargetInstance $postBody, $optParams = array()) 
  4724. $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); 
  4725. $params = array_merge($params, $optParams); 
  4726. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  4727.  
  4728. /** 
  4729. * Retrieves the list of TargetInstance resources available to the specified 
  4730. * project and zone. (targetInstances.listTargetInstances) 
  4731. * 
  4732. * @param string $project Name of the project scoping this request. 
  4733. * @param string $zone Name of the zone scoping this request. 
  4734. * @param array $optParams Optional parameters. 
  4735. * 
  4736. * @opt_param string filter Optional. Filter expression for filtering listed 
  4737. * resources. 
  4738. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  4739. * truncated by maxResults. Used to continue a previous list request. 
  4740. * @opt_param string maxResults Optional. Maximum count of results to be 
  4741. * returned. Maximum value is 500 and default value is 500. 
  4742. * @return Google_Service_Compute_TargetInstanceList 
  4743. */ 
  4744. public function listTargetInstances($project, $zone, $optParams = array()) 
  4745. $params = array('project' => $project, 'zone' => $zone); 
  4746. $params = array_merge($params, $optParams); 
  4747. return $this->call('list', array($params), "Google_Service_Compute_TargetInstanceList"); 
  4748.  
  4749. /** 
  4750. * The "targetPools" collection of methods. 
  4751. * Typical usage is: 
  4752. * <code> 
  4753. * $computeService = new Google_Service_Compute(...); 
  4754. * $targetPools = $computeService->targetPools; 
  4755. * </code> 
  4756. */ 
  4757. class Google_Service_Compute_TargetPools_Resource extends Google_Service_Resource 
  4758.  
  4759. /** 
  4760. * Adds health check URL to targetPool. (targetPools.addHealthCheck) 
  4761. * 
  4762. * @param string $project 
  4763. * @param string $region Name of the region scoping this request. 
  4764. * @param string $targetPool Name of the TargetPool resource to which 
  4765. * health_check_url is to be added. 
  4766. * @param Google_TargetPoolsAddHealthCheckRequest $postBody 
  4767. * @param array $optParams Optional parameters. 
  4768. * @return Google_Service_Compute_Operation 
  4769. */ 
  4770. public function addHealthCheck($project, $region, $targetPool, Google_Service_Compute_TargetPoolsAddHealthCheckRequest $postBody, $optParams = array()) 
  4771. $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); 
  4772. $params = array_merge($params, $optParams); 
  4773. return $this->call('addHealthCheck', array($params), "Google_Service_Compute_Operation"); 
  4774.  
  4775. /** 
  4776. * Adds instance url to targetPool. (targetPools.addInstance) 
  4777. * 
  4778. * @param string $project 
  4779. * @param string $region Name of the region scoping this request. 
  4780. * @param string $targetPool Name of the TargetPool resource to which 
  4781. * instance_url is to be added. 
  4782. * @param Google_TargetPoolsAddInstanceRequest $postBody 
  4783. * @param array $optParams Optional parameters. 
  4784. * @return Google_Service_Compute_Operation 
  4785. */ 
  4786. public function addInstance($project, $region, $targetPool, Google_Service_Compute_TargetPoolsAddInstanceRequest $postBody, $optParams = array()) 
  4787. $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); 
  4788. $params = array_merge($params, $optParams); 
  4789. return $this->call('addInstance', array($params), "Google_Service_Compute_Operation"); 
  4790.  
  4791. /** 
  4792. * Retrieves the list of target pools grouped by scope. 
  4793. * (targetPools.aggregatedList) 
  4794. * 
  4795. * @param string $project Name of the project scoping this request. 
  4796. * @param array $optParams Optional parameters. 
  4797. * 
  4798. * @opt_param string filter Optional. Filter expression for filtering listed 
  4799. * resources. 
  4800. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  4801. * truncated by maxResults. Used to continue a previous list request. 
  4802. * @opt_param string maxResults Optional. Maximum count of results to be 
  4803. * returned. Maximum value is 500 and default value is 500. 
  4804. * @return Google_Service_Compute_TargetPoolAggregatedList 
  4805. */ 
  4806. public function aggregatedList($project, $optParams = array()) 
  4807. $params = array('project' => $project); 
  4808. $params = array_merge($params, $optParams); 
  4809. return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetPoolAggregatedList"); 
  4810.  
  4811. /** 
  4812. * Deletes the specified TargetPool resource. (targetPools.delete) 
  4813. * 
  4814. * @param string $project Name of the project scoping this request. 
  4815. * @param string $region Name of the region scoping this request. 
  4816. * @param string $targetPool Name of the TargetPool resource to delete. 
  4817. * @param array $optParams Optional parameters. 
  4818. * @return Google_Service_Compute_Operation 
  4819. */ 
  4820. public function delete($project, $region, $targetPool, $optParams = array()) 
  4821. $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool); 
  4822. $params = array_merge($params, $optParams); 
  4823. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  4824.  
  4825. /** 
  4826. * Returns the specified TargetPool resource. (targetPools.get) 
  4827. * 
  4828. * @param string $project Name of the project scoping this request. 
  4829. * @param string $region Name of the region scoping this request. 
  4830. * @param string $targetPool Name of the TargetPool resource to return. 
  4831. * @param array $optParams Optional parameters. 
  4832. * @return Google_Service_Compute_TargetPool 
  4833. */ 
  4834. public function get($project, $region, $targetPool, $optParams = array()) 
  4835. $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool); 
  4836. $params = array_merge($params, $optParams); 
  4837. return $this->call('get', array($params), "Google_Service_Compute_TargetPool"); 
  4838.  
  4839. /** 
  4840. * Gets the most recent health check results for each IP for the given instance 
  4841. * that is referenced by given TargetPool. (targetPools.getHealth) 
  4842. * 
  4843. * @param string $project 
  4844. * @param string $region Name of the region scoping this request. 
  4845. * @param string $targetPool Name of the TargetPool resource to which the 
  4846. * queried instance belongs. 
  4847. * @param Google_InstanceReference $postBody 
  4848. * @param array $optParams Optional parameters. 
  4849. * @return Google_Service_Compute_TargetPoolInstanceHealth 
  4850. */ 
  4851. public function getHealth($project, $region, $targetPool, Google_Service_Compute_InstanceReference $postBody, $optParams = array()) 
  4852. $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); 
  4853. $params = array_merge($params, $optParams); 
  4854. return $this->call('getHealth', array($params), "Google_Service_Compute_TargetPoolInstanceHealth"); 
  4855.  
  4856. /** 
  4857. * Creates a TargetPool resource in the specified project and region using the 
  4858. * data included in the request. (targetPools.insert) 
  4859. * 
  4860. * @param string $project Name of the project scoping this request. 
  4861. * @param string $region Name of the region scoping this request. 
  4862. * @param Google_TargetPool $postBody 
  4863. * @param array $optParams Optional parameters. 
  4864. * @return Google_Service_Compute_Operation 
  4865. */ 
  4866. public function insert($project, $region, Google_Service_Compute_TargetPool $postBody, $optParams = array()) 
  4867. $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); 
  4868. $params = array_merge($params, $optParams); 
  4869. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  4870.  
  4871. /** 
  4872. * Retrieves the list of TargetPool resources available to the specified project 
  4873. * and region. (targetPools.listTargetPools) 
  4874. * 
  4875. * @param string $project Name of the project scoping this request. 
  4876. * @param string $region Name of the region scoping this request. 
  4877. * @param array $optParams Optional parameters. 
  4878. * 
  4879. * @opt_param string filter Optional. Filter expression for filtering listed 
  4880. * resources. 
  4881. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  4882. * truncated by maxResults. Used to continue a previous list request. 
  4883. * @opt_param string maxResults Optional. Maximum count of results to be 
  4884. * returned. Maximum value is 500 and default value is 500. 
  4885. * @return Google_Service_Compute_TargetPoolList 
  4886. */ 
  4887. public function listTargetPools($project, $region, $optParams = array()) 
  4888. $params = array('project' => $project, 'region' => $region); 
  4889. $params = array_merge($params, $optParams); 
  4890. return $this->call('list', array($params), "Google_Service_Compute_TargetPoolList"); 
  4891.  
  4892. /** 
  4893. * Removes health check URL from targetPool. (targetPools.removeHealthCheck) 
  4894. * 
  4895. * @param string $project 
  4896. * @param string $region Name of the region scoping this request. 
  4897. * @param string $targetPool Name of the TargetPool resource to which 
  4898. * health_check_url is to be removed. 
  4899. * @param Google_TargetPoolsRemoveHealthCheckRequest $postBody 
  4900. * @param array $optParams Optional parameters. 
  4901. * @return Google_Service_Compute_Operation 
  4902. */ 
  4903. public function removeHealthCheck($project, $region, $targetPool, Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest $postBody, $optParams = array()) 
  4904. $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); 
  4905. $params = array_merge($params, $optParams); 
  4906. return $this->call('removeHealthCheck', array($params), "Google_Service_Compute_Operation"); 
  4907.  
  4908. /** 
  4909. * Removes instance URL from targetPool. (targetPools.removeInstance) 
  4910. * 
  4911. * @param string $project 
  4912. * @param string $region Name of the region scoping this request. 
  4913. * @param string $targetPool Name of the TargetPool resource to which 
  4914. * instance_url is to be removed. 
  4915. * @param Google_TargetPoolsRemoveInstanceRequest $postBody 
  4916. * @param array $optParams Optional parameters. 
  4917. * @return Google_Service_Compute_Operation 
  4918. */ 
  4919. public function removeInstance($project, $region, $targetPool, Google_Service_Compute_TargetPoolsRemoveInstanceRequest $postBody, $optParams = array()) 
  4920. $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); 
  4921. $params = array_merge($params, $optParams); 
  4922. return $this->call('removeInstance', array($params), "Google_Service_Compute_Operation"); 
  4923.  
  4924. /** 
  4925. * Changes backup pool configurations. (targetPools.setBackup) 
  4926. * 
  4927. * @param string $project Name of the project scoping this request. 
  4928. * @param string $region Name of the region scoping this request. 
  4929. * @param string $targetPool Name of the TargetPool resource for which the 
  4930. * backup is to be set. 
  4931. * @param Google_TargetReference $postBody 
  4932. * @param array $optParams Optional parameters. 
  4933. * 
  4934. * @opt_param float failoverRatio New failoverRatio value for the containing 
  4935. * target pool. 
  4936. * @return Google_Service_Compute_Operation 
  4937. */ 
  4938. public function setBackup($project, $region, $targetPool, Google_Service_Compute_TargetReference $postBody, $optParams = array()) 
  4939. $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); 
  4940. $params = array_merge($params, $optParams); 
  4941. return $this->call('setBackup', array($params), "Google_Service_Compute_Operation"); 
  4942.  
  4943. /** 
  4944. * The "urlMaps" collection of methods. 
  4945. * Typical usage is: 
  4946. * <code> 
  4947. * $computeService = new Google_Service_Compute(...); 
  4948. * $urlMaps = $computeService->urlMaps; 
  4949. * </code> 
  4950. */ 
  4951. class Google_Service_Compute_UrlMaps_Resource extends Google_Service_Resource 
  4952.  
  4953. /** 
  4954. * Deletes the specified UrlMap resource. (urlMaps.delete) 
  4955. * 
  4956. * @param string $project Name of the project scoping this request. 
  4957. * @param string $urlMap Name of the UrlMap resource to delete. 
  4958. * @param array $optParams Optional parameters. 
  4959. * @return Google_Service_Compute_Operation 
  4960. */ 
  4961. public function delete($project, $urlMap, $optParams = array()) 
  4962. $params = array('project' => $project, 'urlMap' => $urlMap); 
  4963. $params = array_merge($params, $optParams); 
  4964. return $this->call('delete', array($params), "Google_Service_Compute_Operation"); 
  4965.  
  4966. /** 
  4967. * Returns the specified UrlMap resource. (urlMaps.get) 
  4968. * 
  4969. * @param string $project Name of the project scoping this request. 
  4970. * @param string $urlMap Name of the UrlMap resource to return. 
  4971. * @param array $optParams Optional parameters. 
  4972. * @return Google_Service_Compute_UrlMap 
  4973. */ 
  4974. public function get($project, $urlMap, $optParams = array()) 
  4975. $params = array('project' => $project, 'urlMap' => $urlMap); 
  4976. $params = array_merge($params, $optParams); 
  4977. return $this->call('get', array($params), "Google_Service_Compute_UrlMap"); 
  4978.  
  4979. /** 
  4980. * Creates a UrlMap resource in the specified project using the data included in 
  4981. * the request. (urlMaps.insert) 
  4982. * 
  4983. * @param string $project Name of the project scoping this request. 
  4984. * @param Google_UrlMap $postBody 
  4985. * @param array $optParams Optional parameters. 
  4986. * @return Google_Service_Compute_Operation 
  4987. */ 
  4988. public function insert($project, Google_Service_Compute_UrlMap $postBody, $optParams = array()) 
  4989. $params = array('project' => $project, 'postBody' => $postBody); 
  4990. $params = array_merge($params, $optParams); 
  4991. return $this->call('insert', array($params), "Google_Service_Compute_Operation"); 
  4992.  
  4993. /** 
  4994. * Retrieves the list of UrlMap resources available to the specified project. 
  4995. * (urlMaps.listUrlMaps) 
  4996. * 
  4997. * @param string $project Name of the project scoping this request. 
  4998. * @param array $optParams Optional parameters. 
  4999. * 
  5000. * @opt_param string filter Optional. Filter expression for filtering listed 
  5001. * resources. 
  5002. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  5003. * truncated by maxResults. Used to continue a previous list request. 
  5004. * @opt_param string maxResults Optional. Maximum count of results to be 
  5005. * returned. Maximum value is 500 and default value is 500. 
  5006. * @return Google_Service_Compute_UrlMapList 
  5007. */ 
  5008. public function listUrlMaps($project, $optParams = array()) 
  5009. $params = array('project' => $project); 
  5010. $params = array_merge($params, $optParams); 
  5011. return $this->call('list', array($params), "Google_Service_Compute_UrlMapList"); 
  5012.  
  5013. /** 
  5014. * Update the entire content of the UrlMap resource. This method supports patch 
  5015. * semantics. (urlMaps.patch) 
  5016. * 
  5017. * @param string $project Name of the project scoping this request. 
  5018. * @param string $urlMap Name of the UrlMap resource to update. 
  5019. * @param Google_UrlMap $postBody 
  5020. * @param array $optParams Optional parameters. 
  5021. * @return Google_Service_Compute_Operation 
  5022. */ 
  5023. public function patch($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array()) 
  5024. $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody); 
  5025. $params = array_merge($params, $optParams); 
  5026. return $this->call('patch', array($params), "Google_Service_Compute_Operation"); 
  5027.  
  5028. /** 
  5029. * Update the entire content of the UrlMap resource. (urlMaps.update) 
  5030. * 
  5031. * @param string $project Name of the project scoping this request. 
  5032. * @param string $urlMap Name of the UrlMap resource to update. 
  5033. * @param Google_UrlMap $postBody 
  5034. * @param array $optParams Optional parameters. 
  5035. * @return Google_Service_Compute_Operation 
  5036. */ 
  5037. public function update($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array()) 
  5038. $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody); 
  5039. $params = array_merge($params, $optParams); 
  5040. return $this->call('update', array($params), "Google_Service_Compute_Operation"); 
  5041.  
  5042. /** 
  5043. * Run static validation for the UrlMap. In particular, the tests of the 
  5044. * provided UrlMap will be run. Calling this method does NOT create the UrlMap. 
  5045. * (urlMaps.validate) 
  5046. * 
  5047. * @param string $project Name of the project scoping this request. 
  5048. * @param string $urlMap Name of the UrlMap resource to be validated as. 
  5049. * @param Google_UrlMapsValidateRequest $postBody 
  5050. * @param array $optParams Optional parameters. 
  5051. * @return Google_Service_Compute_UrlMapsValidateResponse 
  5052. */ 
  5053. public function validate($project, $urlMap, Google_Service_Compute_UrlMapsValidateRequest $postBody, $optParams = array()) 
  5054. $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody); 
  5055. $params = array_merge($params, $optParams); 
  5056. return $this->call('validate', array($params), "Google_Service_Compute_UrlMapsValidateResponse"); 
  5057.  
  5058. /** 
  5059. * The "zoneOperations" collection of methods. 
  5060. * Typical usage is: 
  5061. * <code> 
  5062. * $computeService = new Google_Service_Compute(...); 
  5063. * $zoneOperations = $computeService->zoneOperations; 
  5064. * </code> 
  5065. */ 
  5066. class Google_Service_Compute_ZoneOperations_Resource extends Google_Service_Resource 
  5067.  
  5068. /** 
  5069. * Deletes the specified zone-specific operation resource. 
  5070. * (zoneOperations.delete) 
  5071. * 
  5072. * @param string $project Name of the project scoping this request. 
  5073. * @param string $zone Name of the zone scoping this request. 
  5074. * @param string $operation Name of the operation resource to delete. 
  5075. * @param array $optParams Optional parameters. 
  5076. */ 
  5077. public function delete($project, $zone, $operation, $optParams = array()) 
  5078. $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); 
  5079. $params = array_merge($params, $optParams); 
  5080. return $this->call('delete', array($params)); 
  5081.  
  5082. /** 
  5083. * Retrieves the specified zone-specific operation resource. 
  5084. * (zoneOperations.get) 
  5085. * 
  5086. * @param string $project Name of the project scoping this request. 
  5087. * @param string $zone Name of the zone scoping this request. 
  5088. * @param string $operation Name of the operation resource to return. 
  5089. * @param array $optParams Optional parameters. 
  5090. * @return Google_Service_Compute_Operation 
  5091. */ 
  5092. public function get($project, $zone, $operation, $optParams = array()) 
  5093. $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); 
  5094. $params = array_merge($params, $optParams); 
  5095. return $this->call('get', array($params), "Google_Service_Compute_Operation"); 
  5096.  
  5097. /** 
  5098. * Retrieves the list of operation resources contained within the specified 
  5099. * zone. (zoneOperations.listZoneOperations) 
  5100. * 
  5101. * @param string $project Name of the project scoping this request. 
  5102. * @param string $zone Name of the zone scoping this request. 
  5103. * @param array $optParams Optional parameters. 
  5104. * 
  5105. * @opt_param string filter Optional. Filter expression for filtering listed 
  5106. * resources. 
  5107. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  5108. * truncated by maxResults. Used to continue a previous list request. 
  5109. * @opt_param string maxResults Optional. Maximum count of results to be 
  5110. * returned. Maximum value is 500 and default value is 500. 
  5111. * @return Google_Service_Compute_OperationList 
  5112. */ 
  5113. public function listZoneOperations($project, $zone, $optParams = array()) 
  5114. $params = array('project' => $project, 'zone' => $zone); 
  5115. $params = array_merge($params, $optParams); 
  5116. return $this->call('list', array($params), "Google_Service_Compute_OperationList"); 
  5117.  
  5118. /** 
  5119. * The "zones" collection of methods. 
  5120. * Typical usage is: 
  5121. * <code> 
  5122. * $computeService = new Google_Service_Compute(...); 
  5123. * $zones = $computeService->zones; 
  5124. * </code> 
  5125. */ 
  5126. class Google_Service_Compute_Zones_Resource extends Google_Service_Resource 
  5127.  
  5128. /** 
  5129. * Returns the specified zone resource. (zones.get) 
  5130. * 
  5131. * @param string $project Name of the project scoping this request. 
  5132. * @param string $zone Name of the zone resource to return. 
  5133. * @param array $optParams Optional parameters. 
  5134. * @return Google_Service_Compute_Zone 
  5135. */ 
  5136. public function get($project, $zone, $optParams = array()) 
  5137. $params = array('project' => $project, 'zone' => $zone); 
  5138. $params = array_merge($params, $optParams); 
  5139. return $this->call('get', array($params), "Google_Service_Compute_Zone"); 
  5140.  
  5141. /** 
  5142. * Retrieves the list of zone resources available to the specified project. 
  5143. * (zones.listZones) 
  5144. * 
  5145. * @param string $project Name of the project scoping this request. 
  5146. * @param array $optParams Optional parameters. 
  5147. * 
  5148. * @opt_param string filter Optional. Filter expression for filtering listed 
  5149. * resources. 
  5150. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  5151. * truncated by maxResults. Used to continue a previous list request. 
  5152. * @opt_param string maxResults Optional. Maximum count of results to be 
  5153. * returned. Maximum value is 500 and default value is 500. 
  5154. * @return Google_Service_Compute_ZoneList 
  5155. */ 
  5156. public function listZones($project, $optParams = array()) 
  5157. $params = array('project' => $project); 
  5158. $params = array_merge($params, $optParams); 
  5159. return $this->call('list', array($params), "Google_Service_Compute_ZoneList"); 
  5160.  
  5161.  
  5162.  
  5163.  
  5164. class Google_Service_Compute_AccessConfig extends Google_Model 
  5165. protected $internal_gapi_mappings = array( 
  5166. ); 
  5167. public $kind; 
  5168. public $name; 
  5169. public $natIP; 
  5170. public $type; 
  5171.  
  5172.  
  5173. public function setKind($kind) 
  5174. $this->kind = $kind; 
  5175. public function getKind() 
  5176. return $this->kind; 
  5177. public function setName($name) 
  5178. $this->name = $name; 
  5179. public function getName() 
  5180. return $this->name; 
  5181. public function setNatIP($natIP) 
  5182. $this->natIP = $natIP; 
  5183. public function getNatIP() 
  5184. return $this->natIP; 
  5185. public function setType($type) 
  5186. $this->type = $type; 
  5187. public function getType() 
  5188. return $this->type; 
  5189.  
  5190. class Google_Service_Compute_Address extends Google_Collection 
  5191. protected $collection_key = 'users'; 
  5192. protected $internal_gapi_mappings = array( 
  5193. ); 
  5194. public $address; 
  5195. public $creationTimestamp; 
  5196. public $description; 
  5197. public $id; 
  5198. public $kind; 
  5199. public $name; 
  5200. public $region; 
  5201. public $selfLink; 
  5202. public $status; 
  5203. public $users; 
  5204.  
  5205.  
  5206. public function setAddress($address) 
  5207. $this->address = $address; 
  5208. public function getAddress() 
  5209. return $this->address; 
  5210. public function setCreationTimestamp($creationTimestamp) 
  5211. $this->creationTimestamp = $creationTimestamp; 
  5212. public function getCreationTimestamp() 
  5213. return $this->creationTimestamp; 
  5214. public function setDescription($description) 
  5215. $this->description = $description; 
  5216. public function getDescription() 
  5217. return $this->description; 
  5218. public function setId($id) 
  5219. $this->id = $id; 
  5220. public function getId() 
  5221. return $this->id; 
  5222. public function setKind($kind) 
  5223. $this->kind = $kind; 
  5224. public function getKind() 
  5225. return $this->kind; 
  5226. public function setName($name) 
  5227. $this->name = $name; 
  5228. public function getName() 
  5229. return $this->name; 
  5230. public function setRegion($region) 
  5231. $this->region = $region; 
  5232. public function getRegion() 
  5233. return $this->region; 
  5234. public function setSelfLink($selfLink) 
  5235. $this->selfLink = $selfLink; 
  5236. public function getSelfLink() 
  5237. return $this->selfLink; 
  5238. public function setStatus($status) 
  5239. $this->status = $status; 
  5240. public function getStatus() 
  5241. return $this->status; 
  5242. public function setUsers($users) 
  5243. $this->users = $users; 
  5244. public function getUsers() 
  5245. return $this->users; 
  5246.  
  5247. class Google_Service_Compute_AddressAggregatedList extends Google_Model 
  5248. protected $internal_gapi_mappings = array( 
  5249. ); 
  5250. public $id; 
  5251. protected $itemsType = 'Google_Service_Compute_AddressesScopedList'; 
  5252. protected $itemsDataType = 'map'; 
  5253. public $kind; 
  5254. public $nextPageToken; 
  5255. public $selfLink; 
  5256.  
  5257.  
  5258. public function setId($id) 
  5259. $this->id = $id; 
  5260. public function getId() 
  5261. return $this->id; 
  5262. public function setItems($items) 
  5263. $this->items = $items; 
  5264. public function getItems() 
  5265. return $this->items; 
  5266. public function setKind($kind) 
  5267. $this->kind = $kind; 
  5268. public function getKind() 
  5269. return $this->kind; 
  5270. public function setNextPageToken($nextPageToken) 
  5271. $this->nextPageToken = $nextPageToken; 
  5272. public function getNextPageToken() 
  5273. return $this->nextPageToken; 
  5274. public function setSelfLink($selfLink) 
  5275. $this->selfLink = $selfLink; 
  5276. public function getSelfLink() 
  5277. return $this->selfLink; 
  5278.  
  5279. class Google_Service_Compute_AddressAggregatedListItems extends Google_Model 
  5280.  
  5281. class Google_Service_Compute_AddressList extends Google_Collection 
  5282. protected $collection_key = 'items'; 
  5283. protected $internal_gapi_mappings = array( 
  5284. ); 
  5285. public $id; 
  5286. protected $itemsType = 'Google_Service_Compute_Address'; 
  5287. protected $itemsDataType = 'array'; 
  5288. public $kind; 
  5289. public $nextPageToken; 
  5290. public $selfLink; 
  5291.  
  5292.  
  5293. public function setId($id) 
  5294. $this->id = $id; 
  5295. public function getId() 
  5296. return $this->id; 
  5297. public function setItems($items) 
  5298. $this->items = $items; 
  5299. public function getItems() 
  5300. return $this->items; 
  5301. public function setKind($kind) 
  5302. $this->kind = $kind; 
  5303. public function getKind() 
  5304. return $this->kind; 
  5305. public function setNextPageToken($nextPageToken) 
  5306. $this->nextPageToken = $nextPageToken; 
  5307. public function getNextPageToken() 
  5308. return $this->nextPageToken; 
  5309. public function setSelfLink($selfLink) 
  5310. $this->selfLink = $selfLink; 
  5311. public function getSelfLink() 
  5312. return $this->selfLink; 
  5313.  
  5314. class Google_Service_Compute_AddressesScopedList extends Google_Collection 
  5315. protected $collection_key = 'addresses'; 
  5316. protected $internal_gapi_mappings = array( 
  5317. ); 
  5318. protected $addressesType = 'Google_Service_Compute_Address'; 
  5319. protected $addressesDataType = 'array'; 
  5320. protected $warningType = 'Google_Service_Compute_AddressesScopedListWarning'; 
  5321. protected $warningDataType = ''; 
  5322.  
  5323.  
  5324. public function setAddresses($addresses) 
  5325. $this->addresses = $addresses; 
  5326. public function getAddresses() 
  5327. return $this->addresses; 
  5328. public function setWarning(Google_Service_Compute_AddressesScopedListWarning $warning) 
  5329. $this->warning = $warning; 
  5330. public function getWarning() 
  5331. return $this->warning; 
  5332.  
  5333. class Google_Service_Compute_AddressesScopedListWarning extends Google_Collection 
  5334. protected $collection_key = 'data'; 
  5335. protected $internal_gapi_mappings = array( 
  5336. ); 
  5337. public $code; 
  5338. protected $dataType = 'Google_Service_Compute_AddressesScopedListWarningData'; 
  5339. protected $dataDataType = 'array'; 
  5340. public $message; 
  5341.  
  5342.  
  5343. public function setCode($code) 
  5344. $this->code = $code; 
  5345. public function getCode() 
  5346. return $this->code; 
  5347. public function setData($data) 
  5348. $this->data = $data; 
  5349. public function getData() 
  5350. return $this->data; 
  5351. public function setMessage($message) 
  5352. $this->message = $message; 
  5353. public function getMessage() 
  5354. return $this->message; 
  5355.  
  5356. class Google_Service_Compute_AddressesScopedListWarningData extends Google_Model 
  5357. protected $internal_gapi_mappings = array( 
  5358. ); 
  5359. public $key; 
  5360. public $value; 
  5361.  
  5362.  
  5363. public function setKey($key) 
  5364. $this->key = $key; 
  5365. public function getKey() 
  5366. return $this->key; 
  5367. public function setValue($value) 
  5368. $this->value = $value; 
  5369. public function getValue() 
  5370. return $this->value; 
  5371.  
  5372. class Google_Service_Compute_AttachedDisk extends Google_Collection 
  5373. protected $collection_key = 'licenses'; 
  5374. protected $internal_gapi_mappings = array( 
  5375. ); 
  5376. public $autoDelete; 
  5377. public $boot; 
  5378. public $deviceName; 
  5379. public $index; 
  5380. protected $initializeParamsType = 'Google_Service_Compute_AttachedDiskInitializeParams'; 
  5381. protected $initializeParamsDataType = ''; 
  5382. public $interface; 
  5383. public $kind; 
  5384. public $licenses; 
  5385. public $mode; 
  5386. public $source; 
  5387. public $type; 
  5388.  
  5389.  
  5390. public function setAutoDelete($autoDelete) 
  5391. $this->autoDelete = $autoDelete; 
  5392. public function getAutoDelete() 
  5393. return $this->autoDelete; 
  5394. public function setBoot($boot) 
  5395. $this->boot = $boot; 
  5396. public function getBoot() 
  5397. return $this->boot; 
  5398. public function setDeviceName($deviceName) 
  5399. $this->deviceName = $deviceName; 
  5400. public function getDeviceName() 
  5401. return $this->deviceName; 
  5402. public function setIndex($index) 
  5403. $this->index = $index; 
  5404. public function getIndex() 
  5405. return $this->index; 
  5406. public function setInitializeParams(Google_Service_Compute_AttachedDiskInitializeParams $initializeParams) 
  5407. $this->initializeParams = $initializeParams; 
  5408. public function getInitializeParams() 
  5409. return $this->initializeParams; 
  5410. public function setInterface($interface) 
  5411. $this->interface = $interface; 
  5412. public function getInterface() 
  5413. return $this->interface; 
  5414. public function setKind($kind) 
  5415. $this->kind = $kind; 
  5416. public function getKind() 
  5417. return $this->kind; 
  5418. public function setLicenses($licenses) 
  5419. $this->licenses = $licenses; 
  5420. public function getLicenses() 
  5421. return $this->licenses; 
  5422. public function setMode($mode) 
  5423. $this->mode = $mode; 
  5424. public function getMode() 
  5425. return $this->mode; 
  5426. public function setSource($source) 
  5427. $this->source = $source; 
  5428. public function getSource() 
  5429. return $this->source; 
  5430. public function setType($type) 
  5431. $this->type = $type; 
  5432. public function getType() 
  5433. return $this->type; 
  5434.  
  5435. class Google_Service_Compute_AttachedDiskInitializeParams extends Google_Model 
  5436. protected $internal_gapi_mappings = array( 
  5437. ); 
  5438. public $diskName; 
  5439. public $diskSizeGb; 
  5440. public $diskType; 
  5441. public $sourceImage; 
  5442.  
  5443.  
  5444. public function setDiskName($diskName) 
  5445. $this->diskName = $diskName; 
  5446. public function getDiskName() 
  5447. return $this->diskName; 
  5448. public function setDiskSizeGb($diskSizeGb) 
  5449. $this->diskSizeGb = $diskSizeGb; 
  5450. public function getDiskSizeGb() 
  5451. return $this->diskSizeGb; 
  5452. public function setDiskType($diskType) 
  5453. $this->diskType = $diskType; 
  5454. public function getDiskType() 
  5455. return $this->diskType; 
  5456. public function setSourceImage($sourceImage) 
  5457. $this->sourceImage = $sourceImage; 
  5458. public function getSourceImage() 
  5459. return $this->sourceImage; 
  5460.  
  5461. class Google_Service_Compute_Backend extends Google_Model 
  5462. protected $internal_gapi_mappings = array( 
  5463. ); 
  5464. public $balancingMode; 
  5465. public $capacityScaler; 
  5466. public $description; 
  5467. public $group; 
  5468. public $maxRate; 
  5469. public $maxRatePerInstance; 
  5470. public $maxUtilization; 
  5471.  
  5472.  
  5473. public function setBalancingMode($balancingMode) 
  5474. $this->balancingMode = $balancingMode; 
  5475. public function getBalancingMode() 
  5476. return $this->balancingMode; 
  5477. public function setCapacityScaler($capacityScaler) 
  5478. $this->capacityScaler = $capacityScaler; 
  5479. public function getCapacityScaler() 
  5480. return $this->capacityScaler; 
  5481. public function setDescription($description) 
  5482. $this->description = $description; 
  5483. public function getDescription() 
  5484. return $this->description; 
  5485. public function setGroup($group) 
  5486. $this->group = $group; 
  5487. public function getGroup() 
  5488. return $this->group; 
  5489. public function setMaxRate($maxRate) 
  5490. $this->maxRate = $maxRate; 
  5491. public function getMaxRate() 
  5492. return $this->maxRate; 
  5493. public function setMaxRatePerInstance($maxRatePerInstance) 
  5494. $this->maxRatePerInstance = $maxRatePerInstance; 
  5495. public function getMaxRatePerInstance() 
  5496. return $this->maxRatePerInstance; 
  5497. public function setMaxUtilization($maxUtilization) 
  5498. $this->maxUtilization = $maxUtilization; 
  5499. public function getMaxUtilization() 
  5500. return $this->maxUtilization; 
  5501.  
  5502. class Google_Service_Compute_BackendService extends Google_Collection 
  5503. protected $collection_key = 'healthChecks'; 
  5504. protected $internal_gapi_mappings = array( 
  5505. ); 
  5506. protected $backendsType = 'Google_Service_Compute_Backend'; 
  5507. protected $backendsDataType = 'array'; 
  5508. public $creationTimestamp; 
  5509. public $description; 
  5510. public $fingerprint; 
  5511. public $healthChecks; 
  5512. public $id; 
  5513. public $kind; 
  5514. public $name; 
  5515. public $port; 
  5516. public $portName; 
  5517. public $protocol; 
  5518. public $selfLink; 
  5519. public $timeoutSec; 
  5520.  
  5521.  
  5522. public function setBackends($backends) 
  5523. $this->backends = $backends; 
  5524. public function getBackends() 
  5525. return $this->backends; 
  5526. public function setCreationTimestamp($creationTimestamp) 
  5527. $this->creationTimestamp = $creationTimestamp; 
  5528. public function getCreationTimestamp() 
  5529. return $this->creationTimestamp; 
  5530. public function setDescription($description) 
  5531. $this->description = $description; 
  5532. public function getDescription() 
  5533. return $this->description; 
  5534. public function setFingerprint($fingerprint) 
  5535. $this->fingerprint = $fingerprint; 
  5536. public function getFingerprint() 
  5537. return $this->fingerprint; 
  5538. public function setHealthChecks($healthChecks) 
  5539. $this->healthChecks = $healthChecks; 
  5540. public function getHealthChecks() 
  5541. return $this->healthChecks; 
  5542. public function setId($id) 
  5543. $this->id = $id; 
  5544. public function getId() 
  5545. return $this->id; 
  5546. public function setKind($kind) 
  5547. $this->kind = $kind; 
  5548. public function getKind() 
  5549. return $this->kind; 
  5550. public function setName($name) 
  5551. $this->name = $name; 
  5552. public function getName() 
  5553. return $this->name; 
  5554. public function setPort($port) 
  5555. $this->port = $port; 
  5556. public function getPort() 
  5557. return $this->port; 
  5558. public function setPortName($portName) 
  5559. $this->portName = $portName; 
  5560. public function getPortName() 
  5561. return $this->portName; 
  5562. public function setProtocol($protocol) 
  5563. $this->protocol = $protocol; 
  5564. public function getProtocol() 
  5565. return $this->protocol; 
  5566. public function setSelfLink($selfLink) 
  5567. $this->selfLink = $selfLink; 
  5568. public function getSelfLink() 
  5569. return $this->selfLink; 
  5570. public function setTimeoutSec($timeoutSec) 
  5571. $this->timeoutSec = $timeoutSec; 
  5572. public function getTimeoutSec() 
  5573. return $this->timeoutSec; 
  5574.  
  5575. class Google_Service_Compute_BackendServiceGroupHealth extends Google_Collection 
  5576. protected $collection_key = 'healthStatus'; 
  5577. protected $internal_gapi_mappings = array( 
  5578. ); 
  5579. protected $healthStatusType = 'Google_Service_Compute_HealthStatus'; 
  5580. protected $healthStatusDataType = 'array'; 
  5581. public $kind; 
  5582.  
  5583.  
  5584. public function setHealthStatus($healthStatus) 
  5585. $this->healthStatus = $healthStatus; 
  5586. public function getHealthStatus() 
  5587. return $this->healthStatus; 
  5588. public function setKind($kind) 
  5589. $this->kind = $kind; 
  5590. public function getKind() 
  5591. return $this->kind; 
  5592.  
  5593. class Google_Service_Compute_BackendServiceList extends Google_Collection 
  5594. protected $collection_key = 'items'; 
  5595. protected $internal_gapi_mappings = array( 
  5596. ); 
  5597. public $id; 
  5598. protected $itemsType = 'Google_Service_Compute_BackendService'; 
  5599. protected $itemsDataType = 'array'; 
  5600. public $kind; 
  5601. public $nextPageToken; 
  5602. public $selfLink; 
  5603.  
  5604.  
  5605. public function setId($id) 
  5606. $this->id = $id; 
  5607. public function getId() 
  5608. return $this->id; 
  5609. public function setItems($items) 
  5610. $this->items = $items; 
  5611. public function getItems() 
  5612. return $this->items; 
  5613. public function setKind($kind) 
  5614. $this->kind = $kind; 
  5615. public function getKind() 
  5616. return $this->kind; 
  5617. public function setNextPageToken($nextPageToken) 
  5618. $this->nextPageToken = $nextPageToken; 
  5619. public function getNextPageToken() 
  5620. return $this->nextPageToken; 
  5621. public function setSelfLink($selfLink) 
  5622. $this->selfLink = $selfLink; 
  5623. public function getSelfLink() 
  5624. return $this->selfLink; 
  5625.  
  5626. class Google_Service_Compute_DeprecationStatus extends Google_Model 
  5627. protected $internal_gapi_mappings = array( 
  5628. ); 
  5629. public $deleted; 
  5630. public $deprecated; 
  5631. public $obsolete; 
  5632. public $replacement; 
  5633. public $state; 
  5634.  
  5635.  
  5636. public function setDeleted($deleted) 
  5637. $this->deleted = $deleted; 
  5638. public function getDeleted() 
  5639. return $this->deleted; 
  5640. public function setDeprecated($deprecated) 
  5641. $this->deprecated = $deprecated; 
  5642. public function getDeprecated() 
  5643. return $this->deprecated; 
  5644. public function setObsolete($obsolete) 
  5645. $this->obsolete = $obsolete; 
  5646. public function getObsolete() 
  5647. return $this->obsolete; 
  5648. public function setReplacement($replacement) 
  5649. $this->replacement = $replacement; 
  5650. public function getReplacement() 
  5651. return $this->replacement; 
  5652. public function setState($state) 
  5653. $this->state = $state; 
  5654. public function getState() 
  5655. return $this->state; 
  5656.  
  5657. class Google_Service_Compute_Disk extends Google_Collection 
  5658. protected $collection_key = 'licenses'; 
  5659. protected $internal_gapi_mappings = array( 
  5660. ); 
  5661. public $creationTimestamp; 
  5662. public $description; 
  5663. public $id; 
  5664. public $kind; 
  5665. public $licenses; 
  5666. public $name; 
  5667. public $options; 
  5668. public $selfLink; 
  5669. public $sizeGb; 
  5670. public $sourceImage; 
  5671. public $sourceImageId; 
  5672. public $sourceSnapshot; 
  5673. public $sourceSnapshotId; 
  5674. public $status; 
  5675. public $type; 
  5676. public $zone; 
  5677.  
  5678.  
  5679. public function setCreationTimestamp($creationTimestamp) 
  5680. $this->creationTimestamp = $creationTimestamp; 
  5681. public function getCreationTimestamp() 
  5682. return $this->creationTimestamp; 
  5683. public function setDescription($description) 
  5684. $this->description = $description; 
  5685. public function getDescription() 
  5686. return $this->description; 
  5687. public function setId($id) 
  5688. $this->id = $id; 
  5689. public function getId() 
  5690. return $this->id; 
  5691. public function setKind($kind) 
  5692. $this->kind = $kind; 
  5693. public function getKind() 
  5694. return $this->kind; 
  5695. public function setLicenses($licenses) 
  5696. $this->licenses = $licenses; 
  5697. public function getLicenses() 
  5698. return $this->licenses; 
  5699. public function setName($name) 
  5700. $this->name = $name; 
  5701. public function getName() 
  5702. return $this->name; 
  5703. public function setOptions($options) 
  5704. $this->options = $options; 
  5705. public function getOptions() 
  5706. return $this->options; 
  5707. public function setSelfLink($selfLink) 
  5708. $this->selfLink = $selfLink; 
  5709. public function getSelfLink() 
  5710. return $this->selfLink; 
  5711. public function setSizeGb($sizeGb) 
  5712. $this->sizeGb = $sizeGb; 
  5713. public function getSizeGb() 
  5714. return $this->sizeGb; 
  5715. public function setSourceImage($sourceImage) 
  5716. $this->sourceImage = $sourceImage; 
  5717. public function getSourceImage() 
  5718. return $this->sourceImage; 
  5719. public function setSourceImageId($sourceImageId) 
  5720. $this->sourceImageId = $sourceImageId; 
  5721. public function getSourceImageId() 
  5722. return $this->sourceImageId; 
  5723. public function setSourceSnapshot($sourceSnapshot) 
  5724. $this->sourceSnapshot = $sourceSnapshot; 
  5725. public function getSourceSnapshot() 
  5726. return $this->sourceSnapshot; 
  5727. public function setSourceSnapshotId($sourceSnapshotId) 
  5728. $this->sourceSnapshotId = $sourceSnapshotId; 
  5729. public function getSourceSnapshotId() 
  5730. return $this->sourceSnapshotId; 
  5731. public function setStatus($status) 
  5732. $this->status = $status; 
  5733. public function getStatus() 
  5734. return $this->status; 
  5735. public function setType($type) 
  5736. $this->type = $type; 
  5737. public function getType() 
  5738. return $this->type; 
  5739. public function setZone($zone) 
  5740. $this->zone = $zone; 
  5741. public function getZone() 
  5742. return $this->zone; 
  5743.  
  5744. class Google_Service_Compute_DiskAggregatedList extends Google_Model 
  5745. protected $internal_gapi_mappings = array( 
  5746. ); 
  5747. public $id; 
  5748. protected $itemsType = 'Google_Service_Compute_DisksScopedList'; 
  5749. protected $itemsDataType = 'map'; 
  5750. public $kind; 
  5751. public $nextPageToken; 
  5752. public $selfLink; 
  5753.  
  5754.  
  5755. public function setId($id) 
  5756. $this->id = $id; 
  5757. public function getId() 
  5758. return $this->id; 
  5759. public function setItems($items) 
  5760. $this->items = $items; 
  5761. public function getItems() 
  5762. return $this->items; 
  5763. public function setKind($kind) 
  5764. $this->kind = $kind; 
  5765. public function getKind() 
  5766. return $this->kind; 
  5767. public function setNextPageToken($nextPageToken) 
  5768. $this->nextPageToken = $nextPageToken; 
  5769. public function getNextPageToken() 
  5770. return $this->nextPageToken; 
  5771. public function setSelfLink($selfLink) 
  5772. $this->selfLink = $selfLink; 
  5773. public function getSelfLink() 
  5774. return $this->selfLink; 
  5775.  
  5776. class Google_Service_Compute_DiskAggregatedListItems extends Google_Model 
  5777.  
  5778. class Google_Service_Compute_DiskList extends Google_Collection 
  5779. protected $collection_key = 'items'; 
  5780. protected $internal_gapi_mappings = array( 
  5781. ); 
  5782. public $id; 
  5783. protected $itemsType = 'Google_Service_Compute_Disk'; 
  5784. protected $itemsDataType = 'array'; 
  5785. public $kind; 
  5786. public $nextPageToken; 
  5787. public $selfLink; 
  5788.  
  5789.  
  5790. public function setId($id) 
  5791. $this->id = $id; 
  5792. public function getId() 
  5793. return $this->id; 
  5794. public function setItems($items) 
  5795. $this->items = $items; 
  5796. public function getItems() 
  5797. return $this->items; 
  5798. public function setKind($kind) 
  5799. $this->kind = $kind; 
  5800. public function getKind() 
  5801. return $this->kind; 
  5802. public function setNextPageToken($nextPageToken) 
  5803. $this->nextPageToken = $nextPageToken; 
  5804. public function getNextPageToken() 
  5805. return $this->nextPageToken; 
  5806. public function setSelfLink($selfLink) 
  5807. $this->selfLink = $selfLink; 
  5808. public function getSelfLink() 
  5809. return $this->selfLink; 
  5810.  
  5811. class Google_Service_Compute_DiskType extends Google_Model 
  5812. protected $internal_gapi_mappings = array( 
  5813. ); 
  5814. public $creationTimestamp; 
  5815. public $defaultDiskSizeGb; 
  5816. protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; 
  5817. protected $deprecatedDataType = ''; 
  5818. public $description; 
  5819. public $id; 
  5820. public $kind; 
  5821. public $name; 
  5822. public $selfLink; 
  5823. public $validDiskSize; 
  5824. public $zone; 
  5825.  
  5826.  
  5827. public function setCreationTimestamp($creationTimestamp) 
  5828. $this->creationTimestamp = $creationTimestamp; 
  5829. public function getCreationTimestamp() 
  5830. return $this->creationTimestamp; 
  5831. public function setDefaultDiskSizeGb($defaultDiskSizeGb) 
  5832. $this->defaultDiskSizeGb = $defaultDiskSizeGb; 
  5833. public function getDefaultDiskSizeGb() 
  5834. return $this->defaultDiskSizeGb; 
  5835. public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) 
  5836. $this->deprecated = $deprecated; 
  5837. public function getDeprecated() 
  5838. return $this->deprecated; 
  5839. public function setDescription($description) 
  5840. $this->description = $description; 
  5841. public function getDescription() 
  5842. return $this->description; 
  5843. public function setId($id) 
  5844. $this->id = $id; 
  5845. public function getId() 
  5846. return $this->id; 
  5847. public function setKind($kind) 
  5848. $this->kind = $kind; 
  5849. public function getKind() 
  5850. return $this->kind; 
  5851. public function setName($name) 
  5852. $this->name = $name; 
  5853. public function getName() 
  5854. return $this->name; 
  5855. public function setSelfLink($selfLink) 
  5856. $this->selfLink = $selfLink; 
  5857. public function getSelfLink() 
  5858. return $this->selfLink; 
  5859. public function setValidDiskSize($validDiskSize) 
  5860. $this->validDiskSize = $validDiskSize; 
  5861. public function getValidDiskSize() 
  5862. return $this->validDiskSize; 
  5863. public function setZone($zone) 
  5864. $this->zone = $zone; 
  5865. public function getZone() 
  5866. return $this->zone; 
  5867.  
  5868. class Google_Service_Compute_DiskTypeAggregatedList extends Google_Model 
  5869. protected $internal_gapi_mappings = array( 
  5870. ); 
  5871. public $id; 
  5872. protected $itemsType = 'Google_Service_Compute_DiskTypesScopedList'; 
  5873. protected $itemsDataType = 'map'; 
  5874. public $kind; 
  5875. public $nextPageToken; 
  5876. public $selfLink; 
  5877.  
  5878.  
  5879. public function setId($id) 
  5880. $this->id = $id; 
  5881. public function getId() 
  5882. return $this->id; 
  5883. public function setItems($items) 
  5884. $this->items = $items; 
  5885. public function getItems() 
  5886. return $this->items; 
  5887. public function setKind($kind) 
  5888. $this->kind = $kind; 
  5889. public function getKind() 
  5890. return $this->kind; 
  5891. public function setNextPageToken($nextPageToken) 
  5892. $this->nextPageToken = $nextPageToken; 
  5893. public function getNextPageToken() 
  5894. return $this->nextPageToken; 
  5895. public function setSelfLink($selfLink) 
  5896. $this->selfLink = $selfLink; 
  5897. public function getSelfLink() 
  5898. return $this->selfLink; 
  5899.  
  5900. class Google_Service_Compute_DiskTypeAggregatedListItems extends Google_Model 
  5901.  
  5902. class Google_Service_Compute_DiskTypeList extends Google_Collection 
  5903. protected $collection_key = 'items'; 
  5904. protected $internal_gapi_mappings = array( 
  5905. ); 
  5906. public $id; 
  5907. protected $itemsType = 'Google_Service_Compute_DiskType'; 
  5908. protected $itemsDataType = 'array'; 
  5909. public $kind; 
  5910. public $nextPageToken; 
  5911. public $selfLink; 
  5912.  
  5913.  
  5914. public function setId($id) 
  5915. $this->id = $id; 
  5916. public function getId() 
  5917. return $this->id; 
  5918. public function setItems($items) 
  5919. $this->items = $items; 
  5920. public function getItems() 
  5921. return $this->items; 
  5922. public function setKind($kind) 
  5923. $this->kind = $kind; 
  5924. public function getKind() 
  5925. return $this->kind; 
  5926. public function setNextPageToken($nextPageToken) 
  5927. $this->nextPageToken = $nextPageToken; 
  5928. public function getNextPageToken() 
  5929. return $this->nextPageToken; 
  5930. public function setSelfLink($selfLink) 
  5931. $this->selfLink = $selfLink; 
  5932. public function getSelfLink() 
  5933. return $this->selfLink; 
  5934.  
  5935. class Google_Service_Compute_DiskTypesScopedList extends Google_Collection 
  5936. protected $collection_key = 'diskTypes'; 
  5937. protected $internal_gapi_mappings = array( 
  5938. ); 
  5939. protected $diskTypesType = 'Google_Service_Compute_DiskType'; 
  5940. protected $diskTypesDataType = 'array'; 
  5941. protected $warningType = 'Google_Service_Compute_DiskTypesScopedListWarning'; 
  5942. protected $warningDataType = ''; 
  5943.  
  5944.  
  5945. public function setDiskTypes($diskTypes) 
  5946. $this->diskTypes = $diskTypes; 
  5947. public function getDiskTypes() 
  5948. return $this->diskTypes; 
  5949. public function setWarning(Google_Service_Compute_DiskTypesScopedListWarning $warning) 
  5950. $this->warning = $warning; 
  5951. public function getWarning() 
  5952. return $this->warning; 
  5953.  
  5954. class Google_Service_Compute_DiskTypesScopedListWarning extends Google_Collection 
  5955. protected $collection_key = 'data'; 
  5956. protected $internal_gapi_mappings = array( 
  5957. ); 
  5958. public $code; 
  5959. protected $dataType = 'Google_Service_Compute_DiskTypesScopedListWarningData'; 
  5960. protected $dataDataType = 'array'; 
  5961. public $message; 
  5962.  
  5963.  
  5964. public function setCode($code) 
  5965. $this->code = $code; 
  5966. public function getCode() 
  5967. return $this->code; 
  5968. public function setData($data) 
  5969. $this->data = $data; 
  5970. public function getData() 
  5971. return $this->data; 
  5972. public function setMessage($message) 
  5973. $this->message = $message; 
  5974. public function getMessage() 
  5975. return $this->message; 
  5976.  
  5977. class Google_Service_Compute_DiskTypesScopedListWarningData extends Google_Model 
  5978. protected $internal_gapi_mappings = array( 
  5979. ); 
  5980. public $key; 
  5981. public $value; 
  5982.  
  5983.  
  5984. public function setKey($key) 
  5985. $this->key = $key; 
  5986. public function getKey() 
  5987. return $this->key; 
  5988. public function setValue($value) 
  5989. $this->value = $value; 
  5990. public function getValue() 
  5991. return $this->value; 
  5992.  
  5993. class Google_Service_Compute_DisksScopedList extends Google_Collection 
  5994. protected $collection_key = 'disks'; 
  5995. protected $internal_gapi_mappings = array( 
  5996. ); 
  5997. protected $disksType = 'Google_Service_Compute_Disk'; 
  5998. protected $disksDataType = 'array'; 
  5999. protected $warningType = 'Google_Service_Compute_DisksScopedListWarning'; 
  6000. protected $warningDataType = ''; 
  6001.  
  6002.  
  6003. public function setDisks($disks) 
  6004. $this->disks = $disks; 
  6005. public function getDisks() 
  6006. return $this->disks; 
  6007. public function setWarning(Google_Service_Compute_DisksScopedListWarning $warning) 
  6008. $this->warning = $warning; 
  6009. public function getWarning() 
  6010. return $this->warning; 
  6011.  
  6012. class Google_Service_Compute_DisksScopedListWarning extends Google_Collection 
  6013. protected $collection_key = 'data'; 
  6014. protected $internal_gapi_mappings = array( 
  6015. ); 
  6016. public $code; 
  6017. protected $dataType = 'Google_Service_Compute_DisksScopedListWarningData'; 
  6018. protected $dataDataType = 'array'; 
  6019. public $message; 
  6020.  
  6021.  
  6022. public function setCode($code) 
  6023. $this->code = $code; 
  6024. public function getCode() 
  6025. return $this->code; 
  6026. public function setData($data) 
  6027. $this->data = $data; 
  6028. public function getData() 
  6029. return $this->data; 
  6030. public function setMessage($message) 
  6031. $this->message = $message; 
  6032. public function getMessage() 
  6033. return $this->message; 
  6034.  
  6035. class Google_Service_Compute_DisksScopedListWarningData extends Google_Model 
  6036. protected $internal_gapi_mappings = array( 
  6037. ); 
  6038. public $key; 
  6039. public $value; 
  6040.  
  6041.  
  6042. public function setKey($key) 
  6043. $this->key = $key; 
  6044. public function getKey() 
  6045. return $this->key; 
  6046. public function setValue($value) 
  6047. $this->value = $value; 
  6048. public function getValue() 
  6049. return $this->value; 
  6050.  
  6051. class Google_Service_Compute_Firewall extends Google_Collection 
  6052. protected $collection_key = 'targetTags'; 
  6053. protected $internal_gapi_mappings = array( 
  6054. ); 
  6055. protected $allowedType = 'Google_Service_Compute_FirewallAllowed'; 
  6056. protected $allowedDataType = 'array'; 
  6057. public $creationTimestamp; 
  6058. public $description; 
  6059. public $id; 
  6060. public $kind; 
  6061. public $name; 
  6062. public $network; 
  6063. public $selfLink; 
  6064. public $sourceRanges; 
  6065. public $sourceTags; 
  6066. public $targetTags; 
  6067.  
  6068.  
  6069. public function setAllowed($allowed) 
  6070. $this->allowed = $allowed; 
  6071. public function getAllowed() 
  6072. return $this->allowed; 
  6073. public function setCreationTimestamp($creationTimestamp) 
  6074. $this->creationTimestamp = $creationTimestamp; 
  6075. public function getCreationTimestamp() 
  6076. return $this->creationTimestamp; 
  6077. public function setDescription($description) 
  6078. $this->description = $description; 
  6079. public function getDescription() 
  6080. return $this->description; 
  6081. public function setId($id) 
  6082. $this->id = $id; 
  6083. public function getId() 
  6084. return $this->id; 
  6085. public function setKind($kind) 
  6086. $this->kind = $kind; 
  6087. public function getKind() 
  6088. return $this->kind; 
  6089. public function setName($name) 
  6090. $this->name = $name; 
  6091. public function getName() 
  6092. return $this->name; 
  6093. public function setNetwork($network) 
  6094. $this->network = $network; 
  6095. public function getNetwork() 
  6096. return $this->network; 
  6097. public function setSelfLink($selfLink) 
  6098. $this->selfLink = $selfLink; 
  6099. public function getSelfLink() 
  6100. return $this->selfLink; 
  6101. public function setSourceRanges($sourceRanges) 
  6102. $this->sourceRanges = $sourceRanges; 
  6103. public function getSourceRanges() 
  6104. return $this->sourceRanges; 
  6105. public function setSourceTags($sourceTags) 
  6106. $this->sourceTags = $sourceTags; 
  6107. public function getSourceTags() 
  6108. return $this->sourceTags; 
  6109. public function setTargetTags($targetTags) 
  6110. $this->targetTags = $targetTags; 
  6111. public function getTargetTags() 
  6112. return $this->targetTags; 
  6113.  
  6114. class Google_Service_Compute_FirewallAllowed extends Google_Collection 
  6115. protected $collection_key = 'ports'; 
  6116. protected $internal_gapi_mappings = array( 
  6117. "iPProtocol" => "IPProtocol",  
  6118. ); 
  6119. public $iPProtocol; 
  6120. public $ports; 
  6121.  
  6122.  
  6123. public function setIPProtocol($iPProtocol) 
  6124. $this->iPProtocol = $iPProtocol; 
  6125. public function getIPProtocol() 
  6126. return $this->iPProtocol; 
  6127. public function setPorts($ports) 
  6128. $this->ports = $ports; 
  6129. public function getPorts() 
  6130. return $this->ports; 
  6131.  
  6132. class Google_Service_Compute_FirewallList extends Google_Collection 
  6133. protected $collection_key = 'items'; 
  6134. protected $internal_gapi_mappings = array( 
  6135. ); 
  6136. public $id; 
  6137. protected $itemsType = 'Google_Service_Compute_Firewall'; 
  6138. protected $itemsDataType = 'array'; 
  6139. public $kind; 
  6140. public $nextPageToken; 
  6141. public $selfLink; 
  6142.  
  6143.  
  6144. public function setId($id) 
  6145. $this->id = $id; 
  6146. public function getId() 
  6147. return $this->id; 
  6148. public function setItems($items) 
  6149. $this->items = $items; 
  6150. public function getItems() 
  6151. return $this->items; 
  6152. public function setKind($kind) 
  6153. $this->kind = $kind; 
  6154. public function getKind() 
  6155. return $this->kind; 
  6156. public function setNextPageToken($nextPageToken) 
  6157. $this->nextPageToken = $nextPageToken; 
  6158. public function getNextPageToken() 
  6159. return $this->nextPageToken; 
  6160. public function setSelfLink($selfLink) 
  6161. $this->selfLink = $selfLink; 
  6162. public function getSelfLink() 
  6163. return $this->selfLink; 
  6164.  
  6165. class Google_Service_Compute_ForwardingRule extends Google_Model 
  6166. protected $internal_gapi_mappings = array( 
  6167. "iPAddress" => "IPAddress",  
  6168. "iPProtocol" => "IPProtocol",  
  6169. ); 
  6170. public $iPAddress; 
  6171. public $iPProtocol; 
  6172. public $creationTimestamp; 
  6173. public $description; 
  6174. public $id; 
  6175. public $kind; 
  6176. public $name; 
  6177. public $portRange; 
  6178. public $region; 
  6179. public $selfLink; 
  6180. public $target; 
  6181.  
  6182.  
  6183. public function setIPAddress($iPAddress) 
  6184. $this->iPAddress = $iPAddress; 
  6185. public function getIPAddress() 
  6186. return $this->iPAddress; 
  6187. public function setIPProtocol($iPProtocol) 
  6188. $this->iPProtocol = $iPProtocol; 
  6189. public function getIPProtocol() 
  6190. return $this->iPProtocol; 
  6191. public function setCreationTimestamp($creationTimestamp) 
  6192. $this->creationTimestamp = $creationTimestamp; 
  6193. public function getCreationTimestamp() 
  6194. return $this->creationTimestamp; 
  6195. public function setDescription($description) 
  6196. $this->description = $description; 
  6197. public function getDescription() 
  6198. return $this->description; 
  6199. public function setId($id) 
  6200. $this->id = $id; 
  6201. public function getId() 
  6202. return $this->id; 
  6203. public function setKind($kind) 
  6204. $this->kind = $kind; 
  6205. public function getKind() 
  6206. return $this->kind; 
  6207. public function setName($name) 
  6208. $this->name = $name; 
  6209. public function getName() 
  6210. return $this->name; 
  6211. public function setPortRange($portRange) 
  6212. $this->portRange = $portRange; 
  6213. public function getPortRange() 
  6214. return $this->portRange; 
  6215. public function setRegion($region) 
  6216. $this->region = $region; 
  6217. public function getRegion() 
  6218. return $this->region; 
  6219. public function setSelfLink($selfLink) 
  6220. $this->selfLink = $selfLink; 
  6221. public function getSelfLink() 
  6222. return $this->selfLink; 
  6223. public function setTarget($target) 
  6224. $this->target = $target; 
  6225. public function getTarget() 
  6226. return $this->target; 
  6227.  
  6228. class Google_Service_Compute_ForwardingRuleAggregatedList extends Google_Model 
  6229. protected $internal_gapi_mappings = array( 
  6230. ); 
  6231. public $id; 
  6232. protected $itemsType = 'Google_Service_Compute_ForwardingRulesScopedList'; 
  6233. protected $itemsDataType = 'map'; 
  6234. public $kind; 
  6235. public $nextPageToken; 
  6236. public $selfLink; 
  6237.  
  6238.  
  6239. public function setId($id) 
  6240. $this->id = $id; 
  6241. public function getId() 
  6242. return $this->id; 
  6243. public function setItems($items) 
  6244. $this->items = $items; 
  6245. public function getItems() 
  6246. return $this->items; 
  6247. public function setKind($kind) 
  6248. $this->kind = $kind; 
  6249. public function getKind() 
  6250. return $this->kind; 
  6251. public function setNextPageToken($nextPageToken) 
  6252. $this->nextPageToken = $nextPageToken; 
  6253. public function getNextPageToken() 
  6254. return $this->nextPageToken; 
  6255. public function setSelfLink($selfLink) 
  6256. $this->selfLink = $selfLink; 
  6257. public function getSelfLink() 
  6258. return $this->selfLink; 
  6259.  
  6260. class Google_Service_Compute_ForwardingRuleAggregatedListItems extends Google_Model 
  6261.  
  6262. class Google_Service_Compute_ForwardingRuleList extends Google_Collection 
  6263. protected $collection_key = 'items'; 
  6264. protected $internal_gapi_mappings = array( 
  6265. ); 
  6266. public $id; 
  6267. protected $itemsType = 'Google_Service_Compute_ForwardingRule'; 
  6268. protected $itemsDataType = 'array'; 
  6269. public $kind; 
  6270. public $nextPageToken; 
  6271. public $selfLink; 
  6272.  
  6273.  
  6274. public function setId($id) 
  6275. $this->id = $id; 
  6276. public function getId() 
  6277. return $this->id; 
  6278. public function setItems($items) 
  6279. $this->items = $items; 
  6280. public function getItems() 
  6281. return $this->items; 
  6282. public function setKind($kind) 
  6283. $this->kind = $kind; 
  6284. public function getKind() 
  6285. return $this->kind; 
  6286. public function setNextPageToken($nextPageToken) 
  6287. $this->nextPageToken = $nextPageToken; 
  6288. public function getNextPageToken() 
  6289. return $this->nextPageToken; 
  6290. public function setSelfLink($selfLink) 
  6291. $this->selfLink = $selfLink; 
  6292. public function getSelfLink() 
  6293. return $this->selfLink; 
  6294.  
  6295. class Google_Service_Compute_ForwardingRulesScopedList extends Google_Collection 
  6296. protected $collection_key = 'forwardingRules'; 
  6297. protected $internal_gapi_mappings = array( 
  6298. ); 
  6299. protected $forwardingRulesType = 'Google_Service_Compute_ForwardingRule'; 
  6300. protected $forwardingRulesDataType = 'array'; 
  6301. protected $warningType = 'Google_Service_Compute_ForwardingRulesScopedListWarning'; 
  6302. protected $warningDataType = ''; 
  6303.  
  6304.  
  6305. public function setForwardingRules($forwardingRules) 
  6306. $this->forwardingRules = $forwardingRules; 
  6307. public function getForwardingRules() 
  6308. return $this->forwardingRules; 
  6309. public function setWarning(Google_Service_Compute_ForwardingRulesScopedListWarning $warning) 
  6310. $this->warning = $warning; 
  6311. public function getWarning() 
  6312. return $this->warning; 
  6313.  
  6314. class Google_Service_Compute_ForwardingRulesScopedListWarning extends Google_Collection 
  6315. protected $collection_key = 'data'; 
  6316. protected $internal_gapi_mappings = array( 
  6317. ); 
  6318. public $code; 
  6319. protected $dataType = 'Google_Service_Compute_ForwardingRulesScopedListWarningData'; 
  6320. protected $dataDataType = 'array'; 
  6321. public $message; 
  6322.  
  6323.  
  6324. public function setCode($code) 
  6325. $this->code = $code; 
  6326. public function getCode() 
  6327. return $this->code; 
  6328. public function setData($data) 
  6329. $this->data = $data; 
  6330. public function getData() 
  6331. return $this->data; 
  6332. public function setMessage($message) 
  6333. $this->message = $message; 
  6334. public function getMessage() 
  6335. return $this->message; 
  6336.  
  6337. class Google_Service_Compute_ForwardingRulesScopedListWarningData extends Google_Model 
  6338. protected $internal_gapi_mappings = array( 
  6339. ); 
  6340. public $key; 
  6341. public $value; 
  6342.  
  6343.  
  6344. public function setKey($key) 
  6345. $this->key = $key; 
  6346. public function getKey() 
  6347. return $this->key; 
  6348. public function setValue($value) 
  6349. $this->value = $value; 
  6350. public function getValue() 
  6351. return $this->value; 
  6352.  
  6353. class Google_Service_Compute_HealthCheckReference extends Google_Model 
  6354. protected $internal_gapi_mappings = array( 
  6355. ); 
  6356. public $healthCheck; 
  6357.  
  6358.  
  6359. public function setHealthCheck($healthCheck) 
  6360. $this->healthCheck = $healthCheck; 
  6361. public function getHealthCheck() 
  6362. return $this->healthCheck; 
  6363.  
  6364. class Google_Service_Compute_HealthStatus extends Google_Model 
  6365. protected $internal_gapi_mappings = array( 
  6366. ); 
  6367. public $healthState; 
  6368. public $instance; 
  6369. public $ipAddress; 
  6370. public $port; 
  6371.  
  6372.  
  6373. public function setHealthState($healthState) 
  6374. $this->healthState = $healthState; 
  6375. public function getHealthState() 
  6376. return $this->healthState; 
  6377. public function setInstance($instance) 
  6378. $this->instance = $instance; 
  6379. public function getInstance() 
  6380. return $this->instance; 
  6381. public function setIpAddress($ipAddress) 
  6382. $this->ipAddress = $ipAddress; 
  6383. public function getIpAddress() 
  6384. return $this->ipAddress; 
  6385. public function setPort($port) 
  6386. $this->port = $port; 
  6387. public function getPort() 
  6388. return $this->port; 
  6389.  
  6390. class Google_Service_Compute_HostRule extends Google_Collection 
  6391. protected $collection_key = 'hosts'; 
  6392. protected $internal_gapi_mappings = array( 
  6393. ); 
  6394. public $description; 
  6395. public $hosts; 
  6396. public $pathMatcher; 
  6397.  
  6398.  
  6399. public function setDescription($description) 
  6400. $this->description = $description; 
  6401. public function getDescription() 
  6402. return $this->description; 
  6403. public function setHosts($hosts) 
  6404. $this->hosts = $hosts; 
  6405. public function getHosts() 
  6406. return $this->hosts; 
  6407. public function setPathMatcher($pathMatcher) 
  6408. $this->pathMatcher = $pathMatcher; 
  6409. public function getPathMatcher() 
  6410. return $this->pathMatcher; 
  6411.  
  6412. class Google_Service_Compute_HttpHealthCheck extends Google_Model 
  6413. protected $internal_gapi_mappings = array( 
  6414. ); 
  6415. public $checkIntervalSec; 
  6416. public $creationTimestamp; 
  6417. public $description; 
  6418. public $healthyThreshold; 
  6419. public $host; 
  6420. public $id; 
  6421. public $kind; 
  6422. public $name; 
  6423. public $port; 
  6424. public $requestPath; 
  6425. public $selfLink; 
  6426. public $timeoutSec; 
  6427. public $unhealthyThreshold; 
  6428.  
  6429.  
  6430. public function setCheckIntervalSec($checkIntervalSec) 
  6431. $this->checkIntervalSec = $checkIntervalSec; 
  6432. public function getCheckIntervalSec() 
  6433. return $this->checkIntervalSec; 
  6434. public function setCreationTimestamp($creationTimestamp) 
  6435. $this->creationTimestamp = $creationTimestamp; 
  6436. public function getCreationTimestamp() 
  6437. return $this->creationTimestamp; 
  6438. public function setDescription($description) 
  6439. $this->description = $description; 
  6440. public function getDescription() 
  6441. return $this->description; 
  6442. public function setHealthyThreshold($healthyThreshold) 
  6443. $this->healthyThreshold = $healthyThreshold; 
  6444. public function getHealthyThreshold() 
  6445. return $this->healthyThreshold; 
  6446. public function setHost($host) 
  6447. $this->host = $host; 
  6448. public function getHost() 
  6449. return $this->host; 
  6450. public function setId($id) 
  6451. $this->id = $id; 
  6452. public function getId() 
  6453. return $this->id; 
  6454. public function setKind($kind) 
  6455. $this->kind = $kind; 
  6456. public function getKind() 
  6457. return $this->kind; 
  6458. public function setName($name) 
  6459. $this->name = $name; 
  6460. public function getName() 
  6461. return $this->name; 
  6462. public function setPort($port) 
  6463. $this->port = $port; 
  6464. public function getPort() 
  6465. return $this->port; 
  6466. public function setRequestPath($requestPath) 
  6467. $this->requestPath = $requestPath; 
  6468. public function getRequestPath() 
  6469. return $this->requestPath; 
  6470. public function setSelfLink($selfLink) 
  6471. $this->selfLink = $selfLink; 
  6472. public function getSelfLink() 
  6473. return $this->selfLink; 
  6474. public function setTimeoutSec($timeoutSec) 
  6475. $this->timeoutSec = $timeoutSec; 
  6476. public function getTimeoutSec() 
  6477. return $this->timeoutSec; 
  6478. public function setUnhealthyThreshold($unhealthyThreshold) 
  6479. $this->unhealthyThreshold = $unhealthyThreshold; 
  6480. public function getUnhealthyThreshold() 
  6481. return $this->unhealthyThreshold; 
  6482.  
  6483. class Google_Service_Compute_HttpHealthCheckList extends Google_Collection 
  6484. protected $collection_key = 'items'; 
  6485. protected $internal_gapi_mappings = array( 
  6486. ); 
  6487. public $id; 
  6488. protected $itemsType = 'Google_Service_Compute_HttpHealthCheck'; 
  6489. protected $itemsDataType = 'array'; 
  6490. public $kind; 
  6491. public $nextPageToken; 
  6492. public $selfLink; 
  6493.  
  6494.  
  6495. public function setId($id) 
  6496. $this->id = $id; 
  6497. public function getId() 
  6498. return $this->id; 
  6499. public function setItems($items) 
  6500. $this->items = $items; 
  6501. public function getItems() 
  6502. return $this->items; 
  6503. public function setKind($kind) 
  6504. $this->kind = $kind; 
  6505. public function getKind() 
  6506. return $this->kind; 
  6507. public function setNextPageToken($nextPageToken) 
  6508. $this->nextPageToken = $nextPageToken; 
  6509. public function getNextPageToken() 
  6510. return $this->nextPageToken; 
  6511. public function setSelfLink($selfLink) 
  6512. $this->selfLink = $selfLink; 
  6513. public function getSelfLink() 
  6514. return $this->selfLink; 
  6515.  
  6516. class Google_Service_Compute_Image extends Google_Collection 
  6517. protected $collection_key = 'licenses'; 
  6518. protected $internal_gapi_mappings = array( 
  6519. ); 
  6520. public $archiveSizeBytes; 
  6521. public $creationTimestamp; 
  6522. protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; 
  6523. protected $deprecatedDataType = ''; 
  6524. public $description; 
  6525. public $diskSizeGb; 
  6526. public $id; 
  6527. public $kind; 
  6528. public $licenses; 
  6529. public $name; 
  6530. protected $rawDiskType = 'Google_Service_Compute_ImageRawDisk'; 
  6531. protected $rawDiskDataType = ''; 
  6532. public $selfLink; 
  6533. public $sourceDisk; 
  6534. public $sourceDiskId; 
  6535. public $sourceType; 
  6536. public $status; 
  6537.  
  6538.  
  6539. public function setArchiveSizeBytes($archiveSizeBytes) 
  6540. $this->archiveSizeBytes = $archiveSizeBytes; 
  6541. public function getArchiveSizeBytes() 
  6542. return $this->archiveSizeBytes; 
  6543. public function setCreationTimestamp($creationTimestamp) 
  6544. $this->creationTimestamp = $creationTimestamp; 
  6545. public function getCreationTimestamp() 
  6546. return $this->creationTimestamp; 
  6547. public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) 
  6548. $this->deprecated = $deprecated; 
  6549. public function getDeprecated() 
  6550. return $this->deprecated; 
  6551. public function setDescription($description) 
  6552. $this->description = $description; 
  6553. public function getDescription() 
  6554. return $this->description; 
  6555. public function setDiskSizeGb($diskSizeGb) 
  6556. $this->diskSizeGb = $diskSizeGb; 
  6557. public function getDiskSizeGb() 
  6558. return $this->diskSizeGb; 
  6559. public function setId($id) 
  6560. $this->id = $id; 
  6561. public function getId() 
  6562. return $this->id; 
  6563. public function setKind($kind) 
  6564. $this->kind = $kind; 
  6565. public function getKind() 
  6566. return $this->kind; 
  6567. public function setLicenses($licenses) 
  6568. $this->licenses = $licenses; 
  6569. public function getLicenses() 
  6570. return $this->licenses; 
  6571. public function setName($name) 
  6572. $this->name = $name; 
  6573. public function getName() 
  6574. return $this->name; 
  6575. public function setRawDisk(Google_Service_Compute_ImageRawDisk $rawDisk) 
  6576. $this->rawDisk = $rawDisk; 
  6577. public function getRawDisk() 
  6578. return $this->rawDisk; 
  6579. public function setSelfLink($selfLink) 
  6580. $this->selfLink = $selfLink; 
  6581. public function getSelfLink() 
  6582. return $this->selfLink; 
  6583. public function setSourceDisk($sourceDisk) 
  6584. $this->sourceDisk = $sourceDisk; 
  6585. public function getSourceDisk() 
  6586. return $this->sourceDisk; 
  6587. public function setSourceDiskId($sourceDiskId) 
  6588. $this->sourceDiskId = $sourceDiskId; 
  6589. public function getSourceDiskId() 
  6590. return $this->sourceDiskId; 
  6591. public function setSourceType($sourceType) 
  6592. $this->sourceType = $sourceType; 
  6593. public function getSourceType() 
  6594. return $this->sourceType; 
  6595. public function setStatus($status) 
  6596. $this->status = $status; 
  6597. public function getStatus() 
  6598. return $this->status; 
  6599.  
  6600. class Google_Service_Compute_ImageList extends Google_Collection 
  6601. protected $collection_key = 'items'; 
  6602. protected $internal_gapi_mappings = array( 
  6603. ); 
  6604. public $id; 
  6605. protected $itemsType = 'Google_Service_Compute_Image'; 
  6606. protected $itemsDataType = 'array'; 
  6607. public $kind; 
  6608. public $nextPageToken; 
  6609. public $selfLink; 
  6610.  
  6611.  
  6612. public function setId($id) 
  6613. $this->id = $id; 
  6614. public function getId() 
  6615. return $this->id; 
  6616. public function setItems($items) 
  6617. $this->items = $items; 
  6618. public function getItems() 
  6619. return $this->items; 
  6620. public function setKind($kind) 
  6621. $this->kind = $kind; 
  6622. public function getKind() 
  6623. return $this->kind; 
  6624. public function setNextPageToken($nextPageToken) 
  6625. $this->nextPageToken = $nextPageToken; 
  6626. public function getNextPageToken() 
  6627. return $this->nextPageToken; 
  6628. public function setSelfLink($selfLink) 
  6629. $this->selfLink = $selfLink; 
  6630. public function getSelfLink() 
  6631. return $this->selfLink; 
  6632.  
  6633. class Google_Service_Compute_ImageRawDisk extends Google_Model 
  6634. protected $internal_gapi_mappings = array( 
  6635. ); 
  6636. public $containerType; 
  6637. public $sha1Checksum; 
  6638. public $source; 
  6639.  
  6640.  
  6641. public function setContainerType($containerType) 
  6642. $this->containerType = $containerType; 
  6643. public function getContainerType() 
  6644. return $this->containerType; 
  6645. public function setSha1Checksum($sha1Checksum) 
  6646. $this->sha1Checksum = $sha1Checksum; 
  6647. public function getSha1Checksum() 
  6648. return $this->sha1Checksum; 
  6649. public function setSource($source) 
  6650. $this->source = $source; 
  6651. public function getSource() 
  6652. return $this->source; 
  6653.  
  6654. class Google_Service_Compute_Instance extends Google_Collection 
  6655. protected $collection_key = 'serviceAccounts'; 
  6656. protected $internal_gapi_mappings = array( 
  6657. ); 
  6658. public $canIpForward; 
  6659. public $creationTimestamp; 
  6660. public $description; 
  6661. protected $disksType = 'Google_Service_Compute_AttachedDisk'; 
  6662. protected $disksDataType = 'array'; 
  6663. public $id; 
  6664. public $kind; 
  6665. public $machineType; 
  6666. protected $metadataType = 'Google_Service_Compute_Metadata'; 
  6667. protected $metadataDataType = ''; 
  6668. public $name; 
  6669. protected $networkInterfacesType = 'Google_Service_Compute_NetworkInterface'; 
  6670. protected $networkInterfacesDataType = 'array'; 
  6671. protected $schedulingType = 'Google_Service_Compute_Scheduling'; 
  6672. protected $schedulingDataType = ''; 
  6673. public $selfLink; 
  6674. protected $serviceAccountsType = 'Google_Service_Compute_ServiceAccount'; 
  6675. protected $serviceAccountsDataType = 'array'; 
  6676. public $status; 
  6677. public $statusMessage; 
  6678. protected $tagsType = 'Google_Service_Compute_Tags'; 
  6679. protected $tagsDataType = ''; 
  6680. public $zone; 
  6681.  
  6682.  
  6683. public function setCanIpForward($canIpForward) 
  6684. $this->canIpForward = $canIpForward; 
  6685. public function getCanIpForward() 
  6686. return $this->canIpForward; 
  6687. public function setCreationTimestamp($creationTimestamp) 
  6688. $this->creationTimestamp = $creationTimestamp; 
  6689. public function getCreationTimestamp() 
  6690. return $this->creationTimestamp; 
  6691. public function setDescription($description) 
  6692. $this->description = $description; 
  6693. public function getDescription() 
  6694. return $this->description; 
  6695. public function setDisks($disks) 
  6696. $this->disks = $disks; 
  6697. public function getDisks() 
  6698. return $this->disks; 
  6699. public function setId($id) 
  6700. $this->id = $id; 
  6701. public function getId() 
  6702. return $this->id; 
  6703. public function setKind($kind) 
  6704. $this->kind = $kind; 
  6705. public function getKind() 
  6706. return $this->kind; 
  6707. public function setMachineType($machineType) 
  6708. $this->machineType = $machineType; 
  6709. public function getMachineType() 
  6710. return $this->machineType; 
  6711. public function setMetadata(Google_Service_Compute_Metadata $metadata) 
  6712. $this->metadata = $metadata; 
  6713. public function getMetadata() 
  6714. return $this->metadata; 
  6715. public function setName($name) 
  6716. $this->name = $name; 
  6717. public function getName() 
  6718. return $this->name; 
  6719. public function setNetworkInterfaces($networkInterfaces) 
  6720. $this->networkInterfaces = $networkInterfaces; 
  6721. public function getNetworkInterfaces() 
  6722. return $this->networkInterfaces; 
  6723. public function setScheduling(Google_Service_Compute_Scheduling $scheduling) 
  6724. $this->scheduling = $scheduling; 
  6725. public function getScheduling() 
  6726. return $this->scheduling; 
  6727. public function setSelfLink($selfLink) 
  6728. $this->selfLink = $selfLink; 
  6729. public function getSelfLink() 
  6730. return $this->selfLink; 
  6731. public function setServiceAccounts($serviceAccounts) 
  6732. $this->serviceAccounts = $serviceAccounts; 
  6733. public function getServiceAccounts() 
  6734. return $this->serviceAccounts; 
  6735. public function setStatus($status) 
  6736. $this->status = $status; 
  6737. public function getStatus() 
  6738. return $this->status; 
  6739. public function setStatusMessage($statusMessage) 
  6740. $this->statusMessage = $statusMessage; 
  6741. public function getStatusMessage() 
  6742. return $this->statusMessage; 
  6743. public function setTags(Google_Service_Compute_Tags $tags) 
  6744. $this->tags = $tags; 
  6745. public function getTags() 
  6746. return $this->tags; 
  6747. public function setZone($zone) 
  6748. $this->zone = $zone; 
  6749. public function getZone() 
  6750. return $this->zone; 
  6751.  
  6752. class Google_Service_Compute_InstanceAggregatedList extends Google_Model 
  6753. protected $internal_gapi_mappings = array( 
  6754. ); 
  6755. public $id; 
  6756. protected $itemsType = 'Google_Service_Compute_InstancesScopedList'; 
  6757. protected $itemsDataType = 'map'; 
  6758. public $kind; 
  6759. public $nextPageToken; 
  6760. public $selfLink; 
  6761.  
  6762.  
  6763. public function setId($id) 
  6764. $this->id = $id; 
  6765. public function getId() 
  6766. return $this->id; 
  6767. public function setItems($items) 
  6768. $this->items = $items; 
  6769. public function getItems() 
  6770. return $this->items; 
  6771. public function setKind($kind) 
  6772. $this->kind = $kind; 
  6773. public function getKind() 
  6774. return $this->kind; 
  6775. public function setNextPageToken($nextPageToken) 
  6776. $this->nextPageToken = $nextPageToken; 
  6777. public function getNextPageToken() 
  6778. return $this->nextPageToken; 
  6779. public function setSelfLink($selfLink) 
  6780. $this->selfLink = $selfLink; 
  6781. public function getSelfLink() 
  6782. return $this->selfLink; 
  6783.  
  6784. class Google_Service_Compute_InstanceAggregatedListItems extends Google_Model 
  6785.  
  6786. class Google_Service_Compute_InstanceList extends Google_Collection 
  6787. protected $collection_key = 'items'; 
  6788. protected $internal_gapi_mappings = array( 
  6789. ); 
  6790. public $id; 
  6791. protected $itemsType = 'Google_Service_Compute_Instance'; 
  6792. protected $itemsDataType = 'array'; 
  6793. public $kind; 
  6794. public $nextPageToken; 
  6795. public $selfLink; 
  6796.  
  6797.  
  6798. public function setId($id) 
  6799. $this->id = $id; 
  6800. public function getId() 
  6801. return $this->id; 
  6802. public function setItems($items) 
  6803. $this->items = $items; 
  6804. public function getItems() 
  6805. return $this->items; 
  6806. public function setKind($kind) 
  6807. $this->kind = $kind; 
  6808. public function getKind() 
  6809. return $this->kind; 
  6810. public function setNextPageToken($nextPageToken) 
  6811. $this->nextPageToken = $nextPageToken; 
  6812. public function getNextPageToken() 
  6813. return $this->nextPageToken; 
  6814. public function setSelfLink($selfLink) 
  6815. $this->selfLink = $selfLink; 
  6816. public function getSelfLink() 
  6817. return $this->selfLink; 
  6818.  
  6819. class Google_Service_Compute_InstanceProperties extends Google_Collection 
  6820. protected $collection_key = 'serviceAccounts'; 
  6821. protected $internal_gapi_mappings = array( 
  6822. ); 
  6823. public $canIpForward; 
  6824. public $description; 
  6825. protected $disksType = 'Google_Service_Compute_AttachedDisk'; 
  6826. protected $disksDataType = 'array'; 
  6827. public $machineType; 
  6828. protected $metadataType = 'Google_Service_Compute_Metadata'; 
  6829. protected $metadataDataType = ''; 
  6830. protected $networkInterfacesType = 'Google_Service_Compute_NetworkInterface'; 
  6831. protected $networkInterfacesDataType = 'array'; 
  6832. protected $schedulingType = 'Google_Service_Compute_Scheduling'; 
  6833. protected $schedulingDataType = ''; 
  6834. protected $serviceAccountsType = 'Google_Service_Compute_ServiceAccount'; 
  6835. protected $serviceAccountsDataType = 'array'; 
  6836. protected $tagsType = 'Google_Service_Compute_Tags'; 
  6837. protected $tagsDataType = ''; 
  6838.  
  6839.  
  6840. public function setCanIpForward($canIpForward) 
  6841. $this->canIpForward = $canIpForward; 
  6842. public function getCanIpForward() 
  6843. return $this->canIpForward; 
  6844. public function setDescription($description) 
  6845. $this->description = $description; 
  6846. public function getDescription() 
  6847. return $this->description; 
  6848. public function setDisks($disks) 
  6849. $this->disks = $disks; 
  6850. public function getDisks() 
  6851. return $this->disks; 
  6852. public function setMachineType($machineType) 
  6853. $this->machineType = $machineType; 
  6854. public function getMachineType() 
  6855. return $this->machineType; 
  6856. public function setMetadata(Google_Service_Compute_Metadata $metadata) 
  6857. $this->metadata = $metadata; 
  6858. public function getMetadata() 
  6859. return $this->metadata; 
  6860. public function setNetworkInterfaces($networkInterfaces) 
  6861. $this->networkInterfaces = $networkInterfaces; 
  6862. public function getNetworkInterfaces() 
  6863. return $this->networkInterfaces; 
  6864. public function setScheduling(Google_Service_Compute_Scheduling $scheduling) 
  6865. $this->scheduling = $scheduling; 
  6866. public function getScheduling() 
  6867. return $this->scheduling; 
  6868. public function setServiceAccounts($serviceAccounts) 
  6869. $this->serviceAccounts = $serviceAccounts; 
  6870. public function getServiceAccounts() 
  6871. return $this->serviceAccounts; 
  6872. public function setTags(Google_Service_Compute_Tags $tags) 
  6873. $this->tags = $tags; 
  6874. public function getTags() 
  6875. return $this->tags; 
  6876.  
  6877. class Google_Service_Compute_InstanceReference extends Google_Model 
  6878. protected $internal_gapi_mappings = array( 
  6879. ); 
  6880. public $instance; 
  6881.  
  6882.  
  6883. public function setInstance($instance) 
  6884. $this->instance = $instance; 
  6885. public function getInstance() 
  6886. return $this->instance; 
  6887.  
  6888. class Google_Service_Compute_InstanceTemplate extends Google_Model 
  6889. protected $internal_gapi_mappings = array( 
  6890. ); 
  6891. public $creationTimestamp; 
  6892. public $description; 
  6893. public $id; 
  6894. public $kind; 
  6895. public $name; 
  6896. protected $propertiesType = 'Google_Service_Compute_InstanceProperties'; 
  6897. protected $propertiesDataType = ''; 
  6898. public $selfLink; 
  6899.  
  6900.  
  6901. public function setCreationTimestamp($creationTimestamp) 
  6902. $this->creationTimestamp = $creationTimestamp; 
  6903. public function getCreationTimestamp() 
  6904. return $this->creationTimestamp; 
  6905. public function setDescription($description) 
  6906. $this->description = $description; 
  6907. public function getDescription() 
  6908. return $this->description; 
  6909. public function setId($id) 
  6910. $this->id = $id; 
  6911. public function getId() 
  6912. return $this->id; 
  6913. public function setKind($kind) 
  6914. $this->kind = $kind; 
  6915. public function getKind() 
  6916. return $this->kind; 
  6917. public function setName($name) 
  6918. $this->name = $name; 
  6919. public function getName() 
  6920. return $this->name; 
  6921. public function setProperties(Google_Service_Compute_InstanceProperties $properties) 
  6922. $this->properties = $properties; 
  6923. public function getProperties() 
  6924. return $this->properties; 
  6925. public function setSelfLink($selfLink) 
  6926. $this->selfLink = $selfLink; 
  6927. public function getSelfLink() 
  6928. return $this->selfLink; 
  6929.  
  6930. class Google_Service_Compute_InstanceTemplateList extends Google_Collection 
  6931. protected $collection_key = 'items'; 
  6932. protected $internal_gapi_mappings = array( 
  6933. ); 
  6934. public $id; 
  6935. protected $itemsType = 'Google_Service_Compute_InstanceTemplate'; 
  6936. protected $itemsDataType = 'array'; 
  6937. public $kind; 
  6938. public $nextPageToken; 
  6939. public $selfLink; 
  6940.  
  6941.  
  6942. public function setId($id) 
  6943. $this->id = $id; 
  6944. public function getId() 
  6945. return $this->id; 
  6946. public function setItems($items) 
  6947. $this->items = $items; 
  6948. public function getItems() 
  6949. return $this->items; 
  6950. public function setKind($kind) 
  6951. $this->kind = $kind; 
  6952. public function getKind() 
  6953. return $this->kind; 
  6954. public function setNextPageToken($nextPageToken) 
  6955. $this->nextPageToken = $nextPageToken; 
  6956. public function getNextPageToken() 
  6957. return $this->nextPageToken; 
  6958. public function setSelfLink($selfLink) 
  6959. $this->selfLink = $selfLink; 
  6960. public function getSelfLink() 
  6961. return $this->selfLink; 
  6962.  
  6963. class Google_Service_Compute_InstancesScopedList extends Google_Collection 
  6964. protected $collection_key = 'instances'; 
  6965. protected $internal_gapi_mappings = array( 
  6966. ); 
  6967. protected $instancesType = 'Google_Service_Compute_Instance'; 
  6968. protected $instancesDataType = 'array'; 
  6969. protected $warningType = 'Google_Service_Compute_InstancesScopedListWarning'; 
  6970. protected $warningDataType = ''; 
  6971.  
  6972.  
  6973. public function setInstances($instances) 
  6974. $this->instances = $instances; 
  6975. public function getInstances() 
  6976. return $this->instances; 
  6977. public function setWarning(Google_Service_Compute_InstancesScopedListWarning $warning) 
  6978. $this->warning = $warning; 
  6979. public function getWarning() 
  6980. return $this->warning; 
  6981.  
  6982. class Google_Service_Compute_InstancesScopedListWarning extends Google_Collection 
  6983. protected $collection_key = 'data'; 
  6984. protected $internal_gapi_mappings = array( 
  6985. ); 
  6986. public $code; 
  6987. protected $dataType = 'Google_Service_Compute_InstancesScopedListWarningData'; 
  6988. protected $dataDataType = 'array'; 
  6989. public $message; 
  6990.  
  6991.  
  6992. public function setCode($code) 
  6993. $this->code = $code; 
  6994. public function getCode() 
  6995. return $this->code; 
  6996. public function setData($data) 
  6997. $this->data = $data; 
  6998. public function getData() 
  6999. return $this->data; 
  7000. public function setMessage($message) 
  7001. $this->message = $message; 
  7002. public function getMessage() 
  7003. return $this->message; 
  7004.  
  7005. class Google_Service_Compute_InstancesScopedListWarningData extends Google_Model 
  7006. protected $internal_gapi_mappings = array( 
  7007. ); 
  7008. public $key; 
  7009. public $value; 
  7010.  
  7011.  
  7012. public function setKey($key) 
  7013. $this->key = $key; 
  7014. public function getKey() 
  7015. return $this->key; 
  7016. public function setValue($value) 
  7017. $this->value = $value; 
  7018. public function getValue() 
  7019. return $this->value; 
  7020.  
  7021. class Google_Service_Compute_License extends Google_Model 
  7022. protected $internal_gapi_mappings = array( 
  7023. ); 
  7024. public $chargesUseFee; 
  7025. public $kind; 
  7026. public $name; 
  7027. public $selfLink; 
  7028.  
  7029.  
  7030. public function setChargesUseFee($chargesUseFee) 
  7031. $this->chargesUseFee = $chargesUseFee; 
  7032. public function getChargesUseFee() 
  7033. return $this->chargesUseFee; 
  7034. public function setKind($kind) 
  7035. $this->kind = $kind; 
  7036. public function getKind() 
  7037. return $this->kind; 
  7038. public function setName($name) 
  7039. $this->name = $name; 
  7040. public function getName() 
  7041. return $this->name; 
  7042. public function setSelfLink($selfLink) 
  7043. $this->selfLink = $selfLink; 
  7044. public function getSelfLink() 
  7045. return $this->selfLink; 
  7046.  
  7047. class Google_Service_Compute_MachineType extends Google_Collection 
  7048. protected $collection_key = 'scratchDisks'; 
  7049. protected $internal_gapi_mappings = array( 
  7050. ); 
  7051. public $creationTimestamp; 
  7052. protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; 
  7053. protected $deprecatedDataType = ''; 
  7054. public $description; 
  7055. public $guestCpus; 
  7056. public $id; 
  7057. public $imageSpaceGb; 
  7058. public $kind; 
  7059. public $maximumPersistentDisks; 
  7060. public $maximumPersistentDisksSizeGb; 
  7061. public $memoryMb; 
  7062. public $name; 
  7063. protected $scratchDisksType = 'Google_Service_Compute_MachineTypeScratchDisks'; 
  7064. protected $scratchDisksDataType = 'array'; 
  7065. public $selfLink; 
  7066. public $zone; 
  7067.  
  7068.  
  7069. public function setCreationTimestamp($creationTimestamp) 
  7070. $this->creationTimestamp = $creationTimestamp; 
  7071. public function getCreationTimestamp() 
  7072. return $this->creationTimestamp; 
  7073. public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) 
  7074. $this->deprecated = $deprecated; 
  7075. public function getDeprecated() 
  7076. return $this->deprecated; 
  7077. public function setDescription($description) 
  7078. $this->description = $description; 
  7079. public function getDescription() 
  7080. return $this->description; 
  7081. public function setGuestCpus($guestCpus) 
  7082. $this->guestCpus = $guestCpus; 
  7083. public function getGuestCpus() 
  7084. return $this->guestCpus; 
  7085. public function setId($id) 
  7086. $this->id = $id; 
  7087. public function getId() 
  7088. return $this->id; 
  7089. public function setImageSpaceGb($imageSpaceGb) 
  7090. $this->imageSpaceGb = $imageSpaceGb; 
  7091. public function getImageSpaceGb() 
  7092. return $this->imageSpaceGb; 
  7093. public function setKind($kind) 
  7094. $this->kind = $kind; 
  7095. public function getKind() 
  7096. return $this->kind; 
  7097. public function setMaximumPersistentDisks($maximumPersistentDisks) 
  7098. $this->maximumPersistentDisks = $maximumPersistentDisks; 
  7099. public function getMaximumPersistentDisks() 
  7100. return $this->maximumPersistentDisks; 
  7101. public function setMaximumPersistentDisksSizeGb($maximumPersistentDisksSizeGb) 
  7102. $this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb; 
  7103. public function getMaximumPersistentDisksSizeGb() 
  7104. return $this->maximumPersistentDisksSizeGb; 
  7105. public function setMemoryMb($memoryMb) 
  7106. $this->memoryMb = $memoryMb; 
  7107. public function getMemoryMb() 
  7108. return $this->memoryMb; 
  7109. public function setName($name) 
  7110. $this->name = $name; 
  7111. public function getName() 
  7112. return $this->name; 
  7113. public function setScratchDisks($scratchDisks) 
  7114. $this->scratchDisks = $scratchDisks; 
  7115. public function getScratchDisks() 
  7116. return $this->scratchDisks; 
  7117. public function setSelfLink($selfLink) 
  7118. $this->selfLink = $selfLink; 
  7119. public function getSelfLink() 
  7120. return $this->selfLink; 
  7121. public function setZone($zone) 
  7122. $this->zone = $zone; 
  7123. public function getZone() 
  7124. return $this->zone; 
  7125.  
  7126. class Google_Service_Compute_MachineTypeAggregatedList extends Google_Model 
  7127. protected $internal_gapi_mappings = array( 
  7128. ); 
  7129. public $id; 
  7130. protected $itemsType = 'Google_Service_Compute_MachineTypesScopedList'; 
  7131. protected $itemsDataType = 'map'; 
  7132. public $kind; 
  7133. public $nextPageToken; 
  7134. public $selfLink; 
  7135.  
  7136.  
  7137. public function setId($id) 
  7138. $this->id = $id; 
  7139. public function getId() 
  7140. return $this->id; 
  7141. public function setItems($items) 
  7142. $this->items = $items; 
  7143. public function getItems() 
  7144. return $this->items; 
  7145. public function setKind($kind) 
  7146. $this->kind = $kind; 
  7147. public function getKind() 
  7148. return $this->kind; 
  7149. public function setNextPageToken($nextPageToken) 
  7150. $this->nextPageToken = $nextPageToken; 
  7151. public function getNextPageToken() 
  7152. return $this->nextPageToken; 
  7153. public function setSelfLink($selfLink) 
  7154. $this->selfLink = $selfLink; 
  7155. public function getSelfLink() 
  7156. return $this->selfLink; 
  7157.  
  7158. class Google_Service_Compute_MachineTypeAggregatedListItems extends Google_Model 
  7159.  
  7160. class Google_Service_Compute_MachineTypeList extends Google_Collection 
  7161. protected $collection_key = 'items'; 
  7162. protected $internal_gapi_mappings = array( 
  7163. ); 
  7164. public $id; 
  7165. protected $itemsType = 'Google_Service_Compute_MachineType'; 
  7166. protected $itemsDataType = 'array'; 
  7167. public $kind; 
  7168. public $nextPageToken; 
  7169. public $selfLink; 
  7170.  
  7171.  
  7172. public function setId($id) 
  7173. $this->id = $id; 
  7174. public function getId() 
  7175. return $this->id; 
  7176. public function setItems($items) 
  7177. $this->items = $items; 
  7178. public function getItems() 
  7179. return $this->items; 
  7180. public function setKind($kind) 
  7181. $this->kind = $kind; 
  7182. public function getKind() 
  7183. return $this->kind; 
  7184. public function setNextPageToken($nextPageToken) 
  7185. $this->nextPageToken = $nextPageToken; 
  7186. public function getNextPageToken() 
  7187. return $this->nextPageToken; 
  7188. public function setSelfLink($selfLink) 
  7189. $this->selfLink = $selfLink; 
  7190. public function getSelfLink() 
  7191. return $this->selfLink; 
  7192.  
  7193. class Google_Service_Compute_MachineTypeScratchDisks extends Google_Model 
  7194. protected $internal_gapi_mappings = array( 
  7195. ); 
  7196. public $diskGb; 
  7197.  
  7198.  
  7199. public function setDiskGb($diskGb) 
  7200. $this->diskGb = $diskGb; 
  7201. public function getDiskGb() 
  7202. return $this->diskGb; 
  7203.  
  7204. class Google_Service_Compute_MachineTypesScopedList extends Google_Collection 
  7205. protected $collection_key = 'machineTypes'; 
  7206. protected $internal_gapi_mappings = array( 
  7207. ); 
  7208. protected $machineTypesType = 'Google_Service_Compute_MachineType'; 
  7209. protected $machineTypesDataType = 'array'; 
  7210. protected $warningType = 'Google_Service_Compute_MachineTypesScopedListWarning'; 
  7211. protected $warningDataType = ''; 
  7212.  
  7213.  
  7214. public function setMachineTypes($machineTypes) 
  7215. $this->machineTypes = $machineTypes; 
  7216. public function getMachineTypes() 
  7217. return $this->machineTypes; 
  7218. public function setWarning(Google_Service_Compute_MachineTypesScopedListWarning $warning) 
  7219. $this->warning = $warning; 
  7220. public function getWarning() 
  7221. return $this->warning; 
  7222.  
  7223. class Google_Service_Compute_MachineTypesScopedListWarning extends Google_Collection 
  7224. protected $collection_key = 'data'; 
  7225. protected $internal_gapi_mappings = array( 
  7226. ); 
  7227. public $code; 
  7228. protected $dataType = 'Google_Service_Compute_MachineTypesScopedListWarningData'; 
  7229. protected $dataDataType = 'array'; 
  7230. public $message; 
  7231.  
  7232.  
  7233. public function setCode($code) 
  7234. $this->code = $code; 
  7235. public function getCode() 
  7236. return $this->code; 
  7237. public function setData($data) 
  7238. $this->data = $data; 
  7239. public function getData() 
  7240. return $this->data; 
  7241. public function setMessage($message) 
  7242. $this->message = $message; 
  7243. public function getMessage() 
  7244. return $this->message; 
  7245.  
  7246. class Google_Service_Compute_MachineTypesScopedListWarningData extends Google_Model 
  7247. protected $internal_gapi_mappings = array( 
  7248. ); 
  7249. public $key; 
  7250. public $value; 
  7251.  
  7252.  
  7253. public function setKey($key) 
  7254. $this->key = $key; 
  7255. public function getKey() 
  7256. return $this->key; 
  7257. public function setValue($value) 
  7258. $this->value = $value; 
  7259. public function getValue() 
  7260. return $this->value; 
  7261.  
  7262. class Google_Service_Compute_Metadata extends Google_Collection 
  7263. protected $collection_key = 'items'; 
  7264. protected $internal_gapi_mappings = array( 
  7265. ); 
  7266. public $fingerprint; 
  7267. protected $itemsType = 'Google_Service_Compute_MetadataItems'; 
  7268. protected $itemsDataType = 'array'; 
  7269. public $kind; 
  7270.  
  7271.  
  7272. public function setFingerprint($fingerprint) 
  7273. $this->fingerprint = $fingerprint; 
  7274. public function getFingerprint() 
  7275. return $this->fingerprint; 
  7276. public function setItems($items) 
  7277. $this->items = $items; 
  7278. public function getItems() 
  7279. return $this->items; 
  7280. public function setKind($kind) 
  7281. $this->kind = $kind; 
  7282. public function getKind() 
  7283. return $this->kind; 
  7284.  
  7285. class Google_Service_Compute_MetadataItems extends Google_Model 
  7286. protected $internal_gapi_mappings = array( 
  7287. ); 
  7288. public $key; 
  7289. public $value; 
  7290.  
  7291.  
  7292. public function setKey($key) 
  7293. $this->key = $key; 
  7294. public function getKey() 
  7295. return $this->key; 
  7296. public function setValue($value) 
  7297. $this->value = $value; 
  7298. public function getValue() 
  7299. return $this->value; 
  7300.  
  7301. class Google_Service_Compute_Network extends Google_Model 
  7302. protected $internal_gapi_mappings = array( 
  7303. "iPv4Range" => "IPv4Range",  
  7304. ); 
  7305. public $iPv4Range; 
  7306. public $creationTimestamp; 
  7307. public $description; 
  7308. public $gatewayIPv4; 
  7309. public $id; 
  7310. public $kind; 
  7311. public $name; 
  7312. public $selfLink; 
  7313.  
  7314.  
  7315. public function setIPv4Range($iPv4Range) 
  7316. $this->iPv4Range = $iPv4Range; 
  7317. public function getIPv4Range() 
  7318. return $this->iPv4Range; 
  7319. public function setCreationTimestamp($creationTimestamp) 
  7320. $this->creationTimestamp = $creationTimestamp; 
  7321. public function getCreationTimestamp() 
  7322. return $this->creationTimestamp; 
  7323. public function setDescription($description) 
  7324. $this->description = $description; 
  7325. public function getDescription() 
  7326. return $this->description; 
  7327. public function setGatewayIPv4($gatewayIPv4) 
  7328. $this->gatewayIPv4 = $gatewayIPv4; 
  7329. public function getGatewayIPv4() 
  7330. return $this->gatewayIPv4; 
  7331. public function setId($id) 
  7332. $this->id = $id; 
  7333. public function getId() 
  7334. return $this->id; 
  7335. public function setKind($kind) 
  7336. $this->kind = $kind; 
  7337. public function getKind() 
  7338. return $this->kind; 
  7339. public function setName($name) 
  7340. $this->name = $name; 
  7341. public function getName() 
  7342. return $this->name; 
  7343. public function setSelfLink($selfLink) 
  7344. $this->selfLink = $selfLink; 
  7345. public function getSelfLink() 
  7346. return $this->selfLink; 
  7347.  
  7348. class Google_Service_Compute_NetworkInterface extends Google_Collection 
  7349. protected $collection_key = 'accessConfigs'; 
  7350. protected $internal_gapi_mappings = array( 
  7351. ); 
  7352. protected $accessConfigsType = 'Google_Service_Compute_AccessConfig'; 
  7353. protected $accessConfigsDataType = 'array'; 
  7354. public $name; 
  7355. public $network; 
  7356. public $networkIP; 
  7357.  
  7358.  
  7359. public function setAccessConfigs($accessConfigs) 
  7360. $this->accessConfigs = $accessConfigs; 
  7361. public function getAccessConfigs() 
  7362. return $this->accessConfigs; 
  7363. public function setName($name) 
  7364. $this->name = $name; 
  7365. public function getName() 
  7366. return $this->name; 
  7367. public function setNetwork($network) 
  7368. $this->network = $network; 
  7369. public function getNetwork() 
  7370. return $this->network; 
  7371. public function setNetworkIP($networkIP) 
  7372. $this->networkIP = $networkIP; 
  7373. public function getNetworkIP() 
  7374. return $this->networkIP; 
  7375.  
  7376. class Google_Service_Compute_NetworkList extends Google_Collection 
  7377. protected $collection_key = 'items'; 
  7378. protected $internal_gapi_mappings = array( 
  7379. ); 
  7380. public $id; 
  7381. protected $itemsType = 'Google_Service_Compute_Network'; 
  7382. protected $itemsDataType = 'array'; 
  7383. public $kind; 
  7384. public $nextPageToken; 
  7385. public $selfLink; 
  7386.  
  7387.  
  7388. public function setId($id) 
  7389. $this->id = $id; 
  7390. public function getId() 
  7391. return $this->id; 
  7392. public function setItems($items) 
  7393. $this->items = $items; 
  7394. public function getItems() 
  7395. return $this->items; 
  7396. public function setKind($kind) 
  7397. $this->kind = $kind; 
  7398. public function getKind() 
  7399. return $this->kind; 
  7400. public function setNextPageToken($nextPageToken) 
  7401. $this->nextPageToken = $nextPageToken; 
  7402. public function getNextPageToken() 
  7403. return $this->nextPageToken; 
  7404. public function setSelfLink($selfLink) 
  7405. $this->selfLink = $selfLink; 
  7406. public function getSelfLink() 
  7407. return $this->selfLink; 
  7408.  
  7409. class Google_Service_Compute_Operation extends Google_Collection 
  7410. protected $collection_key = 'warnings'; 
  7411. protected $internal_gapi_mappings = array( 
  7412. ); 
  7413. public $clientOperationId; 
  7414. public $creationTimestamp; 
  7415. public $endTime; 
  7416. protected $errorType = 'Google_Service_Compute_OperationError'; 
  7417. protected $errorDataType = ''; 
  7418. public $httpErrorMessage; 
  7419. public $httpErrorStatusCode; 
  7420. public $id; 
  7421. public $insertTime; 
  7422. public $kind; 
  7423. public $name; 
  7424. public $operationType; 
  7425. public $progress; 
  7426. public $region; 
  7427. public $selfLink; 
  7428. public $startTime; 
  7429. public $status; 
  7430. public $statusMessage; 
  7431. public $targetId; 
  7432. public $targetLink; 
  7433. public $user; 
  7434. protected $warningsType = 'Google_Service_Compute_OperationWarnings'; 
  7435. protected $warningsDataType = 'array'; 
  7436. public $zone; 
  7437.  
  7438.  
  7439. public function setClientOperationId($clientOperationId) 
  7440. $this->clientOperationId = $clientOperationId; 
  7441. public function getClientOperationId() 
  7442. return $this->clientOperationId; 
  7443. public function setCreationTimestamp($creationTimestamp) 
  7444. $this->creationTimestamp = $creationTimestamp; 
  7445. public function getCreationTimestamp() 
  7446. return $this->creationTimestamp; 
  7447. public function setEndTime($endTime) 
  7448. $this->endTime = $endTime; 
  7449. public function getEndTime() 
  7450. return $this->endTime; 
  7451. public function setError(Google_Service_Compute_OperationError $error) 
  7452. $this->error = $error; 
  7453. public function getError() 
  7454. return $this->error; 
  7455. public function setHttpErrorMessage($httpErrorMessage) 
  7456. $this->httpErrorMessage = $httpErrorMessage; 
  7457. public function getHttpErrorMessage() 
  7458. return $this->httpErrorMessage; 
  7459. public function setHttpErrorStatusCode($httpErrorStatusCode) 
  7460. $this->httpErrorStatusCode = $httpErrorStatusCode; 
  7461. public function getHttpErrorStatusCode() 
  7462. return $this->httpErrorStatusCode; 
  7463. public function setId($id) 
  7464. $this->id = $id; 
  7465. public function getId() 
  7466. return $this->id; 
  7467. public function setInsertTime($insertTime) 
  7468. $this->insertTime = $insertTime; 
  7469. public function getInsertTime() 
  7470. return $this->insertTime; 
  7471. public function setKind($kind) 
  7472. $this->kind = $kind; 
  7473. public function getKind() 
  7474. return $this->kind; 
  7475. public function setName($name) 
  7476. $this->name = $name; 
  7477. public function getName() 
  7478. return $this->name; 
  7479. public function setOperationType($operationType) 
  7480. $this->operationType = $operationType; 
  7481. public function getOperationType() 
  7482. return $this->operationType; 
  7483. public function setProgress($progress) 
  7484. $this->progress = $progress; 
  7485. public function getProgress() 
  7486. return $this->progress; 
  7487. public function setRegion($region) 
  7488. $this->region = $region; 
  7489. public function getRegion() 
  7490. return $this->region; 
  7491. public function setSelfLink($selfLink) 
  7492. $this->selfLink = $selfLink; 
  7493. public function getSelfLink() 
  7494. return $this->selfLink; 
  7495. public function setStartTime($startTime) 
  7496. $this->startTime = $startTime; 
  7497. public function getStartTime() 
  7498. return $this->startTime; 
  7499. public function setStatus($status) 
  7500. $this->status = $status; 
  7501. public function getStatus() 
  7502. return $this->status; 
  7503. public function setStatusMessage($statusMessage) 
  7504. $this->statusMessage = $statusMessage; 
  7505. public function getStatusMessage() 
  7506. return $this->statusMessage; 
  7507. public function setTargetId($targetId) 
  7508. $this->targetId = $targetId; 
  7509. public function getTargetId() 
  7510. return $this->targetId; 
  7511. public function setTargetLink($targetLink) 
  7512. $this->targetLink = $targetLink; 
  7513. public function getTargetLink() 
  7514. return $this->targetLink; 
  7515. public function setUser($user) 
  7516. $this->user = $user; 
  7517. public function getUser() 
  7518. return $this->user; 
  7519. public function setWarnings($warnings) 
  7520. $this->warnings = $warnings; 
  7521. public function getWarnings() 
  7522. return $this->warnings; 
  7523. public function setZone($zone) 
  7524. $this->zone = $zone; 
  7525. public function getZone() 
  7526. return $this->zone; 
  7527.  
  7528. class Google_Service_Compute_OperationAggregatedList extends Google_Model 
  7529. protected $internal_gapi_mappings = array( 
  7530. ); 
  7531. public $id; 
  7532. protected $itemsType = 'Google_Service_Compute_OperationsScopedList'; 
  7533. protected $itemsDataType = 'map'; 
  7534. public $kind; 
  7535. public $nextPageToken; 
  7536. public $selfLink; 
  7537.  
  7538.  
  7539. public function setId($id) 
  7540. $this->id = $id; 
  7541. public function getId() 
  7542. return $this->id; 
  7543. public function setItems($items) 
  7544. $this->items = $items; 
  7545. public function getItems() 
  7546. return $this->items; 
  7547. public function setKind($kind) 
  7548. $this->kind = $kind; 
  7549. public function getKind() 
  7550. return $this->kind; 
  7551. public function setNextPageToken($nextPageToken) 
  7552. $this->nextPageToken = $nextPageToken; 
  7553. public function getNextPageToken() 
  7554. return $this->nextPageToken; 
  7555. public function setSelfLink($selfLink) 
  7556. $this->selfLink = $selfLink; 
  7557. public function getSelfLink() 
  7558. return $this->selfLink; 
  7559.  
  7560. class Google_Service_Compute_OperationAggregatedListItems extends Google_Model 
  7561.  
  7562. class Google_Service_Compute_OperationError extends Google_Collection 
  7563. protected $collection_key = 'errors'; 
  7564. protected $internal_gapi_mappings = array( 
  7565. ); 
  7566. protected $errorsType = 'Google_Service_Compute_OperationErrorErrors'; 
  7567. protected $errorsDataType = 'array'; 
  7568.  
  7569.  
  7570. public function setErrors($errors) 
  7571. $this->errors = $errors; 
  7572. public function getErrors() 
  7573. return $this->errors; 
  7574.  
  7575. class Google_Service_Compute_OperationErrorErrors extends Google_Model 
  7576. protected $internal_gapi_mappings = array( 
  7577. ); 
  7578. public $code; 
  7579. public $location; 
  7580. public $message; 
  7581.  
  7582.  
  7583. public function setCode($code) 
  7584. $this->code = $code; 
  7585. public function getCode() 
  7586. return $this->code; 
  7587. public function setLocation($location) 
  7588. $this->location = $location; 
  7589. public function getLocation() 
  7590. return $this->location; 
  7591. public function setMessage($message) 
  7592. $this->message = $message; 
  7593. public function getMessage() 
  7594. return $this->message; 
  7595.  
  7596. class Google_Service_Compute_OperationList extends Google_Collection 
  7597. protected $collection_key = 'items'; 
  7598. protected $internal_gapi_mappings = array( 
  7599. ); 
  7600. public $id; 
  7601. protected $itemsType = 'Google_Service_Compute_Operation'; 
  7602. protected $itemsDataType = 'array'; 
  7603. public $kind; 
  7604. public $nextPageToken; 
  7605. public $selfLink; 
  7606.  
  7607.  
  7608. public function setId($id) 
  7609. $this->id = $id; 
  7610. public function getId() 
  7611. return $this->id; 
  7612. public function setItems($items) 
  7613. $this->items = $items; 
  7614. public function getItems() 
  7615. return $this->items; 
  7616. public function setKind($kind) 
  7617. $this->kind = $kind; 
  7618. public function getKind() 
  7619. return $this->kind; 
  7620. public function setNextPageToken($nextPageToken) 
  7621. $this->nextPageToken = $nextPageToken; 
  7622. public function getNextPageToken() 
  7623. return $this->nextPageToken; 
  7624. public function setSelfLink($selfLink) 
  7625. $this->selfLink = $selfLink; 
  7626. public function getSelfLink() 
  7627. return $this->selfLink; 
  7628.  
  7629. class Google_Service_Compute_OperationWarnings extends Google_Collection 
  7630. protected $collection_key = 'data'; 
  7631. protected $internal_gapi_mappings = array( 
  7632. ); 
  7633. public $code; 
  7634. protected $dataType = 'Google_Service_Compute_OperationWarningsData'; 
  7635. protected $dataDataType = 'array'; 
  7636. public $message; 
  7637.  
  7638.  
  7639. public function setCode($code) 
  7640. $this->code = $code; 
  7641. public function getCode() 
  7642. return $this->code; 
  7643. public function setData($data) 
  7644. $this->data = $data; 
  7645. public function getData() 
  7646. return $this->data; 
  7647. public function setMessage($message) 
  7648. $this->message = $message; 
  7649. public function getMessage() 
  7650. return $this->message; 
  7651.  
  7652. class Google_Service_Compute_OperationWarningsData extends Google_Model 
  7653. protected $internal_gapi_mappings = array( 
  7654. ); 
  7655. public $key; 
  7656. public $value; 
  7657.  
  7658.  
  7659. public function setKey($key) 
  7660. $this->key = $key; 
  7661. public function getKey() 
  7662. return $this->key; 
  7663. public function setValue($value) 
  7664. $this->value = $value; 
  7665. public function getValue() 
  7666. return $this->value; 
  7667.  
  7668. class Google_Service_Compute_OperationsScopedList extends Google_Collection 
  7669. protected $collection_key = 'operations'; 
  7670. protected $internal_gapi_mappings = array( 
  7671. ); 
  7672. protected $operationsType = 'Google_Service_Compute_Operation'; 
  7673. protected $operationsDataType = 'array'; 
  7674. protected $warningType = 'Google_Service_Compute_OperationsScopedListWarning'; 
  7675. protected $warningDataType = ''; 
  7676.  
  7677.  
  7678. public function setOperations($operations) 
  7679. $this->operations = $operations; 
  7680. public function getOperations() 
  7681. return $this->operations; 
  7682. public function setWarning(Google_Service_Compute_OperationsScopedListWarning $warning) 
  7683. $this->warning = $warning; 
  7684. public function getWarning() 
  7685. return $this->warning; 
  7686.  
  7687. class Google_Service_Compute_OperationsScopedListWarning extends Google_Collection 
  7688. protected $collection_key = 'data'; 
  7689. protected $internal_gapi_mappings = array( 
  7690. ); 
  7691. public $code; 
  7692. protected $dataType = 'Google_Service_Compute_OperationsScopedListWarningData'; 
  7693. protected $dataDataType = 'array'; 
  7694. public $message; 
  7695.  
  7696.  
  7697. public function setCode($code) 
  7698. $this->code = $code; 
  7699. public function getCode() 
  7700. return $this->code; 
  7701. public function setData($data) 
  7702. $this->data = $data; 
  7703. public function getData() 
  7704. return $this->data; 
  7705. public function setMessage($message) 
  7706. $this->message = $message; 
  7707. public function getMessage() 
  7708. return $this->message; 
  7709.  
  7710. class Google_Service_Compute_OperationsScopedListWarningData extends Google_Model 
  7711. protected $internal_gapi_mappings = array( 
  7712. ); 
  7713. public $key; 
  7714. public $value; 
  7715.  
  7716.  
  7717. public function setKey($key) 
  7718. $this->key = $key; 
  7719. public function getKey() 
  7720. return $this->key; 
  7721. public function setValue($value) 
  7722. $this->value = $value; 
  7723. public function getValue() 
  7724. return $this->value; 
  7725.  
  7726. class Google_Service_Compute_PathMatcher extends Google_Collection 
  7727. protected $collection_key = 'pathRules'; 
  7728. protected $internal_gapi_mappings = array( 
  7729. ); 
  7730. public $defaultService; 
  7731. public $description; 
  7732. public $name; 
  7733. protected $pathRulesType = 'Google_Service_Compute_PathRule'; 
  7734. protected $pathRulesDataType = 'array'; 
  7735.  
  7736.  
  7737. public function setDefaultService($defaultService) 
  7738. $this->defaultService = $defaultService; 
  7739. public function getDefaultService() 
  7740. return $this->defaultService; 
  7741. public function setDescription($description) 
  7742. $this->description = $description; 
  7743. public function getDescription() 
  7744. return $this->description; 
  7745. public function setName($name) 
  7746. $this->name = $name; 
  7747. public function getName() 
  7748. return $this->name; 
  7749. public function setPathRules($pathRules) 
  7750. $this->pathRules = $pathRules; 
  7751. public function getPathRules() 
  7752. return $this->pathRules; 
  7753.  
  7754. class Google_Service_Compute_PathRule extends Google_Collection 
  7755. protected $collection_key = 'paths'; 
  7756. protected $internal_gapi_mappings = array( 
  7757. ); 
  7758. public $paths; 
  7759. public $service; 
  7760.  
  7761.  
  7762. public function setPaths($paths) 
  7763. $this->paths = $paths; 
  7764. public function getPaths() 
  7765. return $this->paths; 
  7766. public function setService($service) 
  7767. $this->service = $service; 
  7768. public function getService() 
  7769. return $this->service; 
  7770.  
  7771. class Google_Service_Compute_Project extends Google_Collection 
  7772. protected $collection_key = 'quotas'; 
  7773. protected $internal_gapi_mappings = array( 
  7774. ); 
  7775. protected $commonInstanceMetadataType = 'Google_Service_Compute_Metadata'; 
  7776. protected $commonInstanceMetadataDataType = ''; 
  7777. public $creationTimestamp; 
  7778. public $description; 
  7779. public $id; 
  7780. public $kind; 
  7781. public $name; 
  7782. protected $quotasType = 'Google_Service_Compute_Quota'; 
  7783. protected $quotasDataType = 'array'; 
  7784. public $selfLink; 
  7785. protected $usageExportLocationType = 'Google_Service_Compute_UsageExportLocation'; 
  7786. protected $usageExportLocationDataType = ''; 
  7787.  
  7788.  
  7789. public function setCommonInstanceMetadata(Google_Service_Compute_Metadata $commonInstanceMetadata) 
  7790. $this->commonInstanceMetadata = $commonInstanceMetadata; 
  7791. public function getCommonInstanceMetadata() 
  7792. return $this->commonInstanceMetadata; 
  7793. public function setCreationTimestamp($creationTimestamp) 
  7794. $this->creationTimestamp = $creationTimestamp; 
  7795. public function getCreationTimestamp() 
  7796. return $this->creationTimestamp; 
  7797. public function setDescription($description) 
  7798. $this->description = $description; 
  7799. public function getDescription() 
  7800. return $this->description; 
  7801. public function setId($id) 
  7802. $this->id = $id; 
  7803. public function getId() 
  7804. return $this->id; 
  7805. public function setKind($kind) 
  7806. $this->kind = $kind; 
  7807. public function getKind() 
  7808. return $this->kind; 
  7809. public function setName($name) 
  7810. $this->name = $name; 
  7811. public function getName() 
  7812. return $this->name; 
  7813. public function setQuotas($quotas) 
  7814. $this->quotas = $quotas; 
  7815. public function getQuotas() 
  7816. return $this->quotas; 
  7817. public function setSelfLink($selfLink) 
  7818. $this->selfLink = $selfLink; 
  7819. public function getSelfLink() 
  7820. return $this->selfLink; 
  7821. public function setUsageExportLocation(Google_Service_Compute_UsageExportLocation $usageExportLocation) 
  7822. $this->usageExportLocation = $usageExportLocation; 
  7823. public function getUsageExportLocation() 
  7824. return $this->usageExportLocation; 
  7825.  
  7826. class Google_Service_Compute_Quota extends Google_Model 
  7827. protected $internal_gapi_mappings = array( 
  7828. ); 
  7829. public $limit; 
  7830. public $metric; 
  7831. public $usage; 
  7832.  
  7833.  
  7834. public function setLimit($limit) 
  7835. $this->limit = $limit; 
  7836. public function getLimit() 
  7837. return $this->limit; 
  7838. public function setMetric($metric) 
  7839. $this->metric = $metric; 
  7840. public function getMetric() 
  7841. return $this->metric; 
  7842. public function setUsage($usage) 
  7843. $this->usage = $usage; 
  7844. public function getUsage() 
  7845. return $this->usage; 
  7846.  
  7847. class Google_Service_Compute_Region extends Google_Collection 
  7848. protected $collection_key = 'zones'; 
  7849. protected $internal_gapi_mappings = array( 
  7850. ); 
  7851. public $creationTimestamp; 
  7852. protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; 
  7853. protected $deprecatedDataType = ''; 
  7854. public $description; 
  7855. public $id; 
  7856. public $kind; 
  7857. public $name; 
  7858. protected $quotasType = 'Google_Service_Compute_Quota'; 
  7859. protected $quotasDataType = 'array'; 
  7860. public $selfLink; 
  7861. public $status; 
  7862. public $zones; 
  7863.  
  7864.  
  7865. public function setCreationTimestamp($creationTimestamp) 
  7866. $this->creationTimestamp = $creationTimestamp; 
  7867. public function getCreationTimestamp() 
  7868. return $this->creationTimestamp; 
  7869. public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) 
  7870. $this->deprecated = $deprecated; 
  7871. public function getDeprecated() 
  7872. return $this->deprecated; 
  7873. public function setDescription($description) 
  7874. $this->description = $description; 
  7875. public function getDescription() 
  7876. return $this->description; 
  7877. public function setId($id) 
  7878. $this->id = $id; 
  7879. public function getId() 
  7880. return $this->id; 
  7881. public function setKind($kind) 
  7882. $this->kind = $kind; 
  7883. public function getKind() 
  7884. return $this->kind; 
  7885. public function setName($name) 
  7886. $this->name = $name; 
  7887. public function getName() 
  7888. return $this->name; 
  7889. public function setQuotas($quotas) 
  7890. $this->quotas = $quotas; 
  7891. public function getQuotas() 
  7892. return $this->quotas; 
  7893. public function setSelfLink($selfLink) 
  7894. $this->selfLink = $selfLink; 
  7895. public function getSelfLink() 
  7896. return $this->selfLink; 
  7897. public function setStatus($status) 
  7898. $this->status = $status; 
  7899. public function getStatus() 
  7900. return $this->status; 
  7901. public function setZones($zones) 
  7902. $this->zones = $zones; 
  7903. public function getZones() 
  7904. return $this->zones; 
  7905.  
  7906. class Google_Service_Compute_RegionList extends Google_Collection 
  7907. protected $collection_key = 'items'; 
  7908. protected $internal_gapi_mappings = array( 
  7909. ); 
  7910. public $id; 
  7911. protected $itemsType = 'Google_Service_Compute_Region'; 
  7912. protected $itemsDataType = 'array'; 
  7913. public $kind; 
  7914. public $nextPageToken; 
  7915. public $selfLink; 
  7916.  
  7917.  
  7918. public function setId($id) 
  7919. $this->id = $id; 
  7920. public function getId() 
  7921. return $this->id; 
  7922. public function setItems($items) 
  7923. $this->items = $items; 
  7924. public function getItems() 
  7925. return $this->items; 
  7926. public function setKind($kind) 
  7927. $this->kind = $kind; 
  7928. public function getKind() 
  7929. return $this->kind; 
  7930. public function setNextPageToken($nextPageToken) 
  7931. $this->nextPageToken = $nextPageToken; 
  7932. public function getNextPageToken() 
  7933. return $this->nextPageToken; 
  7934. public function setSelfLink($selfLink) 
  7935. $this->selfLink = $selfLink; 
  7936. public function getSelfLink() 
  7937. return $this->selfLink; 
  7938.  
  7939. class Google_Service_Compute_ResourceGroupReference extends Google_Model 
  7940. protected $internal_gapi_mappings = array( 
  7941. ); 
  7942. public $group; 
  7943.  
  7944.  
  7945. public function setGroup($group) 
  7946. $this->group = $group; 
  7947. public function getGroup() 
  7948. return $this->group; 
  7949.  
  7950. class Google_Service_Compute_Route extends Google_Collection 
  7951. protected $collection_key = 'warnings'; 
  7952. protected $internal_gapi_mappings = array( 
  7953. ); 
  7954. public $creationTimestamp; 
  7955. public $description; 
  7956. public $destRange; 
  7957. public $id; 
  7958. public $kind; 
  7959. public $name; 
  7960. public $network; 
  7961. public $nextHopGateway; 
  7962. public $nextHopInstance; 
  7963. public $nextHopIp; 
  7964. public $nextHopNetwork; 
  7965. public $priority; 
  7966. public $selfLink; 
  7967. public $tags; 
  7968. protected $warningsType = 'Google_Service_Compute_RouteWarnings'; 
  7969. protected $warningsDataType = 'array'; 
  7970.  
  7971.  
  7972. public function setCreationTimestamp($creationTimestamp) 
  7973. $this->creationTimestamp = $creationTimestamp; 
  7974. public function getCreationTimestamp() 
  7975. return $this->creationTimestamp; 
  7976. public function setDescription($description) 
  7977. $this->description = $description; 
  7978. public function getDescription() 
  7979. return $this->description; 
  7980. public function setDestRange($destRange) 
  7981. $this->destRange = $destRange; 
  7982. public function getDestRange() 
  7983. return $this->destRange; 
  7984. public function setId($id) 
  7985. $this->id = $id; 
  7986. public function getId() 
  7987. return $this->id; 
  7988. public function setKind($kind) 
  7989. $this->kind = $kind; 
  7990. public function getKind() 
  7991. return $this->kind; 
  7992. public function setName($name) 
  7993. $this->name = $name; 
  7994. public function getName() 
  7995. return $this->name; 
  7996. public function setNetwork($network) 
  7997. $this->network = $network; 
  7998. public function getNetwork() 
  7999. return $this->network; 
  8000. public function setNextHopGateway($nextHopGateway) 
  8001. $this->nextHopGateway = $nextHopGateway; 
  8002. public function getNextHopGateway() 
  8003. return $this->nextHopGateway; 
  8004. public function setNextHopInstance($nextHopInstance) 
  8005. $this->nextHopInstance = $nextHopInstance; 
  8006. public function getNextHopInstance() 
  8007. return $this->nextHopInstance; 
  8008. public function setNextHopIp($nextHopIp) 
  8009. $this->nextHopIp = $nextHopIp; 
  8010. public function getNextHopIp() 
  8011. return $this->nextHopIp; 
  8012. public function setNextHopNetwork($nextHopNetwork) 
  8013. $this->nextHopNetwork = $nextHopNetwork; 
  8014. public function getNextHopNetwork() 
  8015. return $this->nextHopNetwork; 
  8016. public function setPriority($priority) 
  8017. $this->priority = $priority; 
  8018. public function getPriority() 
  8019. return $this->priority; 
  8020. public function setSelfLink($selfLink) 
  8021. $this->selfLink = $selfLink; 
  8022. public function getSelfLink() 
  8023. return $this->selfLink; 
  8024. public function setTags($tags) 
  8025. $this->tags = $tags; 
  8026. public function getTags() 
  8027. return $this->tags; 
  8028. public function setWarnings($warnings) 
  8029. $this->warnings = $warnings; 
  8030. public function getWarnings() 
  8031. return $this->warnings; 
  8032.  
  8033. class Google_Service_Compute_RouteList extends Google_Collection 
  8034. protected $collection_key = 'items'; 
  8035. protected $internal_gapi_mappings = array( 
  8036. ); 
  8037. public $id; 
  8038. protected $itemsType = 'Google_Service_Compute_Route'; 
  8039. protected $itemsDataType = 'array'; 
  8040. public $kind; 
  8041. public $nextPageToken; 
  8042. public $selfLink; 
  8043.  
  8044.  
  8045. public function setId($id) 
  8046. $this->id = $id; 
  8047. public function getId() 
  8048. return $this->id; 
  8049. public function setItems($items) 
  8050. $this->items = $items; 
  8051. public function getItems() 
  8052. return $this->items; 
  8053. public function setKind($kind) 
  8054. $this->kind = $kind; 
  8055. public function getKind() 
  8056. return $this->kind; 
  8057. public function setNextPageToken($nextPageToken) 
  8058. $this->nextPageToken = $nextPageToken; 
  8059. public function getNextPageToken() 
  8060. return $this->nextPageToken; 
  8061. public function setSelfLink($selfLink) 
  8062. $this->selfLink = $selfLink; 
  8063. public function getSelfLink() 
  8064. return $this->selfLink; 
  8065.  
  8066. class Google_Service_Compute_RouteWarnings extends Google_Collection 
  8067. protected $collection_key = 'data'; 
  8068. protected $internal_gapi_mappings = array( 
  8069. ); 
  8070. public $code; 
  8071. protected $dataType = 'Google_Service_Compute_RouteWarningsData'; 
  8072. protected $dataDataType = 'array'; 
  8073. public $message; 
  8074.  
  8075.  
  8076. public function setCode($code) 
  8077. $this->code = $code; 
  8078. public function getCode() 
  8079. return $this->code; 
  8080. public function setData($data) 
  8081. $this->data = $data; 
  8082. public function getData() 
  8083. return $this->data; 
  8084. public function setMessage($message) 
  8085. $this->message = $message; 
  8086. public function getMessage() 
  8087. return $this->message; 
  8088.  
  8089. class Google_Service_Compute_RouteWarningsData extends Google_Model 
  8090. protected $internal_gapi_mappings = array( 
  8091. ); 
  8092. public $key; 
  8093. public $value; 
  8094.  
  8095.  
  8096. public function setKey($key) 
  8097. $this->key = $key; 
  8098. public function getKey() 
  8099. return $this->key; 
  8100. public function setValue($value) 
  8101. $this->value = $value; 
  8102. public function getValue() 
  8103. return $this->value; 
  8104.  
  8105. class Google_Service_Compute_Scheduling extends Google_Model 
  8106. protected $internal_gapi_mappings = array( 
  8107. ); 
  8108. public $automaticRestart; 
  8109. public $onHostMaintenance; 
  8110.  
  8111.  
  8112. public function setAutomaticRestart($automaticRestart) 
  8113. $this->automaticRestart = $automaticRestart; 
  8114. public function getAutomaticRestart() 
  8115. return $this->automaticRestart; 
  8116. public function setOnHostMaintenance($onHostMaintenance) 
  8117. $this->onHostMaintenance = $onHostMaintenance; 
  8118. public function getOnHostMaintenance() 
  8119. return $this->onHostMaintenance; 
  8120.  
  8121. class Google_Service_Compute_SerialPortOutput extends Google_Model 
  8122. protected $internal_gapi_mappings = array( 
  8123. ); 
  8124. public $contents; 
  8125. public $kind; 
  8126. public $selfLink; 
  8127.  
  8128.  
  8129. public function setContents($contents) 
  8130. $this->contents = $contents; 
  8131. public function getContents() 
  8132. return $this->contents; 
  8133. public function setKind($kind) 
  8134. $this->kind = $kind; 
  8135. public function getKind() 
  8136. return $this->kind; 
  8137. public function setSelfLink($selfLink) 
  8138. $this->selfLink = $selfLink; 
  8139. public function getSelfLink() 
  8140. return $this->selfLink; 
  8141.  
  8142. class Google_Service_Compute_ServiceAccount extends Google_Collection 
  8143. protected $collection_key = 'scopes'; 
  8144. protected $internal_gapi_mappings = array( 
  8145. ); 
  8146. public $email; 
  8147. public $scopes; 
  8148.  
  8149.  
  8150. public function setEmail($email) 
  8151. $this->email = $email; 
  8152. public function getEmail() 
  8153. return $this->email; 
  8154. public function setScopes($scopes) 
  8155. $this->scopes = $scopes; 
  8156. public function getScopes() 
  8157. return $this->scopes; 
  8158.  
  8159. class Google_Service_Compute_Snapshot extends Google_Collection 
  8160. protected $collection_key = 'licenses'; 
  8161. protected $internal_gapi_mappings = array( 
  8162. ); 
  8163. public $creationTimestamp; 
  8164. public $description; 
  8165. public $diskSizeGb; 
  8166. public $id; 
  8167. public $kind; 
  8168. public $licenses; 
  8169. public $name; 
  8170. public $selfLink; 
  8171. public $sourceDisk; 
  8172. public $sourceDiskId; 
  8173. public $status; 
  8174. public $storageBytes; 
  8175. public $storageBytesStatus; 
  8176.  
  8177.  
  8178. public function setCreationTimestamp($creationTimestamp) 
  8179. $this->creationTimestamp = $creationTimestamp; 
  8180. public function getCreationTimestamp() 
  8181. return $this->creationTimestamp; 
  8182. public function setDescription($description) 
  8183. $this->description = $description; 
  8184. public function getDescription() 
  8185. return $this->description; 
  8186. public function setDiskSizeGb($diskSizeGb) 
  8187. $this->diskSizeGb = $diskSizeGb; 
  8188. public function getDiskSizeGb() 
  8189. return $this->diskSizeGb; 
  8190. public function setId($id) 
  8191. $this->id = $id; 
  8192. public function getId() 
  8193. return $this->id; 
  8194. public function setKind($kind) 
  8195. $this->kind = $kind; 
  8196. public function getKind() 
  8197. return $this->kind; 
  8198. public function setLicenses($licenses) 
  8199. $this->licenses = $licenses; 
  8200. public function getLicenses() 
  8201. return $this->licenses; 
  8202. public function setName($name) 
  8203. $this->name = $name; 
  8204. public function getName() 
  8205. return $this->name; 
  8206. public function setSelfLink($selfLink) 
  8207. $this->selfLink = $selfLink; 
  8208. public function getSelfLink() 
  8209. return $this->selfLink; 
  8210. public function setSourceDisk($sourceDisk) 
  8211. $this->sourceDisk = $sourceDisk; 
  8212. public function getSourceDisk() 
  8213. return $this->sourceDisk; 
  8214. public function setSourceDiskId($sourceDiskId) 
  8215. $this->sourceDiskId = $sourceDiskId; 
  8216. public function getSourceDiskId() 
  8217. return $this->sourceDiskId; 
  8218. public function setStatus($status) 
  8219. $this->status = $status; 
  8220. public function getStatus() 
  8221. return $this->status; 
  8222. public function setStorageBytes($storageBytes) 
  8223. $this->storageBytes = $storageBytes; 
  8224. public function getStorageBytes() 
  8225. return $this->storageBytes; 
  8226. public function setStorageBytesStatus($storageBytesStatus) 
  8227. $this->storageBytesStatus = $storageBytesStatus; 
  8228. public function getStorageBytesStatus() 
  8229. return $this->storageBytesStatus; 
  8230.  
  8231. class Google_Service_Compute_SnapshotList extends Google_Collection 
  8232. protected $collection_key = 'items'; 
  8233. protected $internal_gapi_mappings = array( 
  8234. ); 
  8235. public $id; 
  8236. protected $itemsType = 'Google_Service_Compute_Snapshot'; 
  8237. protected $itemsDataType = 'array'; 
  8238. public $kind; 
  8239. public $nextPageToken; 
  8240. public $selfLink; 
  8241.  
  8242.  
  8243. public function setId($id) 
  8244. $this->id = $id; 
  8245. public function getId() 
  8246. return $this->id; 
  8247. public function setItems($items) 
  8248. $this->items = $items; 
  8249. public function getItems() 
  8250. return $this->items; 
  8251. public function setKind($kind) 
  8252. $this->kind = $kind; 
  8253. public function getKind() 
  8254. return $this->kind; 
  8255. public function setNextPageToken($nextPageToken) 
  8256. $this->nextPageToken = $nextPageToken; 
  8257. public function getNextPageToken() 
  8258. return $this->nextPageToken; 
  8259. public function setSelfLink($selfLink) 
  8260. $this->selfLink = $selfLink; 
  8261. public function getSelfLink() 
  8262. return $this->selfLink; 
  8263.  
  8264. class Google_Service_Compute_Tags extends Google_Collection 
  8265. protected $collection_key = 'items'; 
  8266. protected $internal_gapi_mappings = array( 
  8267. ); 
  8268. public $fingerprint; 
  8269. public $items; 
  8270.  
  8271.  
  8272. public function setFingerprint($fingerprint) 
  8273. $this->fingerprint = $fingerprint; 
  8274. public function getFingerprint() 
  8275. return $this->fingerprint; 
  8276. public function setItems($items) 
  8277. $this->items = $items; 
  8278. public function getItems() 
  8279. return $this->items; 
  8280.  
  8281. class Google_Service_Compute_TargetHttpProxy extends Google_Model 
  8282. protected $internal_gapi_mappings = array( 
  8283. ); 
  8284. public $creationTimestamp; 
  8285. public $description; 
  8286. public $id; 
  8287. public $kind; 
  8288. public $name; 
  8289. public $selfLink; 
  8290. public $urlMap; 
  8291.  
  8292.  
  8293. public function setCreationTimestamp($creationTimestamp) 
  8294. $this->creationTimestamp = $creationTimestamp; 
  8295. public function getCreationTimestamp() 
  8296. return $this->creationTimestamp; 
  8297. public function setDescription($description) 
  8298. $this->description = $description; 
  8299. public function getDescription() 
  8300. return $this->description; 
  8301. public function setId($id) 
  8302. $this->id = $id; 
  8303. public function getId() 
  8304. return $this->id; 
  8305. public function setKind($kind) 
  8306. $this->kind = $kind; 
  8307. public function getKind() 
  8308. return $this->kind; 
  8309. public function setName($name) 
  8310. $this->name = $name; 
  8311. public function getName() 
  8312. return $this->name; 
  8313. public function setSelfLink($selfLink) 
  8314. $this->selfLink = $selfLink; 
  8315. public function getSelfLink() 
  8316. return $this->selfLink; 
  8317. public function setUrlMap($urlMap) 
  8318. $this->urlMap = $urlMap; 
  8319. public function getUrlMap() 
  8320. return $this->urlMap; 
  8321.  
  8322. class Google_Service_Compute_TargetHttpProxyList extends Google_Collection 
  8323. protected $collection_key = 'items'; 
  8324. protected $internal_gapi_mappings = array( 
  8325. ); 
  8326. public $id; 
  8327. protected $itemsType = 'Google_Service_Compute_TargetHttpProxy'; 
  8328. protected $itemsDataType = 'array'; 
  8329. public $kind; 
  8330. public $nextPageToken; 
  8331. public $selfLink; 
  8332.  
  8333.  
  8334. public function setId($id) 
  8335. $this->id = $id; 
  8336. public function getId() 
  8337. return $this->id; 
  8338. public function setItems($items) 
  8339. $this->items = $items; 
  8340. public function getItems() 
  8341. return $this->items; 
  8342. public function setKind($kind) 
  8343. $this->kind = $kind; 
  8344. public function getKind() 
  8345. return $this->kind; 
  8346. public function setNextPageToken($nextPageToken) 
  8347. $this->nextPageToken = $nextPageToken; 
  8348. public function getNextPageToken() 
  8349. return $this->nextPageToken; 
  8350. public function setSelfLink($selfLink) 
  8351. $this->selfLink = $selfLink; 
  8352. public function getSelfLink() 
  8353. return $this->selfLink; 
  8354.  
  8355. class Google_Service_Compute_TargetInstance extends Google_Model 
  8356. protected $internal_gapi_mappings = array( 
  8357. ); 
  8358. public $creationTimestamp; 
  8359. public $description; 
  8360. public $id; 
  8361. public $instance; 
  8362. public $kind; 
  8363. public $name; 
  8364. public $natPolicy; 
  8365. public $selfLink; 
  8366. public $zone; 
  8367.  
  8368.  
  8369. public function setCreationTimestamp($creationTimestamp) 
  8370. $this->creationTimestamp = $creationTimestamp; 
  8371. public function getCreationTimestamp() 
  8372. return $this->creationTimestamp; 
  8373. public function setDescription($description) 
  8374. $this->description = $description; 
  8375. public function getDescription() 
  8376. return $this->description; 
  8377. public function setId($id) 
  8378. $this->id = $id; 
  8379. public function getId() 
  8380. return $this->id; 
  8381. public function setInstance($instance) 
  8382. $this->instance = $instance; 
  8383. public function getInstance() 
  8384. return $this->instance; 
  8385. public function setKind($kind) 
  8386. $this->kind = $kind; 
  8387. public function getKind() 
  8388. return $this->kind; 
  8389. public function setName($name) 
  8390. $this->name = $name; 
  8391. public function getName() 
  8392. return $this->name; 
  8393. public function setNatPolicy($natPolicy) 
  8394. $this->natPolicy = $natPolicy; 
  8395. public function getNatPolicy() 
  8396. return $this->natPolicy; 
  8397. public function setSelfLink($selfLink) 
  8398. $this->selfLink = $selfLink; 
  8399. public function getSelfLink() 
  8400. return $this->selfLink; 
  8401. public function setZone($zone) 
  8402. $this->zone = $zone; 
  8403. public function getZone() 
  8404. return $this->zone; 
  8405.  
  8406. class Google_Service_Compute_TargetInstanceAggregatedList extends Google_Model 
  8407. protected $internal_gapi_mappings = array( 
  8408. ); 
  8409. public $id; 
  8410. protected $itemsType = 'Google_Service_Compute_TargetInstancesScopedList'; 
  8411. protected $itemsDataType = 'map'; 
  8412. public $kind; 
  8413. public $nextPageToken; 
  8414. public $selfLink; 
  8415.  
  8416.  
  8417. public function setId($id) 
  8418. $this->id = $id; 
  8419. public function getId() 
  8420. return $this->id; 
  8421. public function setItems($items) 
  8422. $this->items = $items; 
  8423. public function getItems() 
  8424. return $this->items; 
  8425. public function setKind($kind) 
  8426. $this->kind = $kind; 
  8427. public function getKind() 
  8428. return $this->kind; 
  8429. public function setNextPageToken($nextPageToken) 
  8430. $this->nextPageToken = $nextPageToken; 
  8431. public function getNextPageToken() 
  8432. return $this->nextPageToken; 
  8433. public function setSelfLink($selfLink) 
  8434. $this->selfLink = $selfLink; 
  8435. public function getSelfLink() 
  8436. return $this->selfLink; 
  8437.  
  8438. class Google_Service_Compute_TargetInstanceAggregatedListItems extends Google_Model 
  8439.  
  8440. class Google_Service_Compute_TargetInstanceList extends Google_Collection 
  8441. protected $collection_key = 'items'; 
  8442. protected $internal_gapi_mappings = array( 
  8443. ); 
  8444. public $id; 
  8445. protected $itemsType = 'Google_Service_Compute_TargetInstance'; 
  8446. protected $itemsDataType = 'array'; 
  8447. public $kind; 
  8448. public $nextPageToken; 
  8449. public $selfLink; 
  8450.  
  8451.  
  8452. public function setId($id) 
  8453. $this->id = $id; 
  8454. public function getId() 
  8455. return $this->id; 
  8456. public function setItems($items) 
  8457. $this->items = $items; 
  8458. public function getItems() 
  8459. return $this->items; 
  8460. public function setKind($kind) 
  8461. $this->kind = $kind; 
  8462. public function getKind() 
  8463. return $this->kind; 
  8464. public function setNextPageToken($nextPageToken) 
  8465. $this->nextPageToken = $nextPageToken; 
  8466. public function getNextPageToken() 
  8467. return $this->nextPageToken; 
  8468. public function setSelfLink($selfLink) 
  8469. $this->selfLink = $selfLink; 
  8470. public function getSelfLink() 
  8471. return $this->selfLink; 
  8472.  
  8473. class Google_Service_Compute_TargetInstancesScopedList extends Google_Collection 
  8474. protected $collection_key = 'targetInstances'; 
  8475. protected $internal_gapi_mappings = array( 
  8476. ); 
  8477. protected $targetInstancesType = 'Google_Service_Compute_TargetInstance'; 
  8478. protected $targetInstancesDataType = 'array'; 
  8479. protected $warningType = 'Google_Service_Compute_TargetInstancesScopedListWarning'; 
  8480. protected $warningDataType = ''; 
  8481.  
  8482.  
  8483. public function setTargetInstances($targetInstances) 
  8484. $this->targetInstances = $targetInstances; 
  8485. public function getTargetInstances() 
  8486. return $this->targetInstances; 
  8487. public function setWarning(Google_Service_Compute_TargetInstancesScopedListWarning $warning) 
  8488. $this->warning = $warning; 
  8489. public function getWarning() 
  8490. return $this->warning; 
  8491.  
  8492. class Google_Service_Compute_TargetInstancesScopedListWarning extends Google_Collection 
  8493. protected $collection_key = 'data'; 
  8494. protected $internal_gapi_mappings = array( 
  8495. ); 
  8496. public $code; 
  8497. protected $dataType = 'Google_Service_Compute_TargetInstancesScopedListWarningData'; 
  8498. protected $dataDataType = 'array'; 
  8499. public $message; 
  8500.  
  8501.  
  8502. public function setCode($code) 
  8503. $this->code = $code; 
  8504. public function getCode() 
  8505. return $this->code; 
  8506. public function setData($data) 
  8507. $this->data = $data; 
  8508. public function getData() 
  8509. return $this->data; 
  8510. public function setMessage($message) 
  8511. $this->message = $message; 
  8512. public function getMessage() 
  8513. return $this->message; 
  8514.  
  8515. class Google_Service_Compute_TargetInstancesScopedListWarningData extends Google_Model 
  8516. protected $internal_gapi_mappings = array( 
  8517. ); 
  8518. public $key; 
  8519. public $value; 
  8520.  
  8521.  
  8522. public function setKey($key) 
  8523. $this->key = $key; 
  8524. public function getKey() 
  8525. return $this->key; 
  8526. public function setValue($value) 
  8527. $this->value = $value; 
  8528. public function getValue() 
  8529. return $this->value; 
  8530.  
  8531. class Google_Service_Compute_TargetPool extends Google_Collection 
  8532. protected $collection_key = 'instances'; 
  8533. protected $internal_gapi_mappings = array( 
  8534. ); 
  8535. public $backupPool; 
  8536. public $creationTimestamp; 
  8537. public $description; 
  8538. public $failoverRatio; 
  8539. public $healthChecks; 
  8540. public $id; 
  8541. public $instances; 
  8542. public $kind; 
  8543. public $name; 
  8544. public $region; 
  8545. public $selfLink; 
  8546. public $sessionAffinity; 
  8547.  
  8548.  
  8549. public function setBackupPool($backupPool) 
  8550. $this->backupPool = $backupPool; 
  8551. public function getBackupPool() 
  8552. return $this->backupPool; 
  8553. public function setCreationTimestamp($creationTimestamp) 
  8554. $this->creationTimestamp = $creationTimestamp; 
  8555. public function getCreationTimestamp() 
  8556. return $this->creationTimestamp; 
  8557. public function setDescription($description) 
  8558. $this->description = $description; 
  8559. public function getDescription() 
  8560. return $this->description; 
  8561. public function setFailoverRatio($failoverRatio) 
  8562. $this->failoverRatio = $failoverRatio; 
  8563. public function getFailoverRatio() 
  8564. return $this->failoverRatio; 
  8565. public function setHealthChecks($healthChecks) 
  8566. $this->healthChecks = $healthChecks; 
  8567. public function getHealthChecks() 
  8568. return $this->healthChecks; 
  8569. public function setId($id) 
  8570. $this->id = $id; 
  8571. public function getId() 
  8572. return $this->id; 
  8573. public function setInstances($instances) 
  8574. $this->instances = $instances; 
  8575. public function getInstances() 
  8576. return $this->instances; 
  8577. public function setKind($kind) 
  8578. $this->kind = $kind; 
  8579. public function getKind() 
  8580. return $this->kind; 
  8581. public function setName($name) 
  8582. $this->name = $name; 
  8583. public function getName() 
  8584. return $this->name; 
  8585. public function setRegion($region) 
  8586. $this->region = $region; 
  8587. public function getRegion() 
  8588. return $this->region; 
  8589. public function setSelfLink($selfLink) 
  8590. $this->selfLink = $selfLink; 
  8591. public function getSelfLink() 
  8592. return $this->selfLink; 
  8593. public function setSessionAffinity($sessionAffinity) 
  8594. $this->sessionAffinity = $sessionAffinity; 
  8595. public function getSessionAffinity() 
  8596. return $this->sessionAffinity; 
  8597.  
  8598. class Google_Service_Compute_TargetPoolAggregatedList extends Google_Model 
  8599. protected $internal_gapi_mappings = array( 
  8600. ); 
  8601. public $id; 
  8602. protected $itemsType = 'Google_Service_Compute_TargetPoolsScopedList'; 
  8603. protected $itemsDataType = 'map'; 
  8604. public $kind; 
  8605. public $nextPageToken; 
  8606. public $selfLink; 
  8607.  
  8608.  
  8609. public function setId($id) 
  8610. $this->id = $id; 
  8611. public function getId() 
  8612. return $this->id; 
  8613. public function setItems($items) 
  8614. $this->items = $items; 
  8615. public function getItems() 
  8616. return $this->items; 
  8617. public function setKind($kind) 
  8618. $this->kind = $kind; 
  8619. public function getKind() 
  8620. return $this->kind; 
  8621. public function setNextPageToken($nextPageToken) 
  8622. $this->nextPageToken = $nextPageToken; 
  8623. public function getNextPageToken() 
  8624. return $this->nextPageToken; 
  8625. public function setSelfLink($selfLink) 
  8626. $this->selfLink = $selfLink; 
  8627. public function getSelfLink() 
  8628. return $this->selfLink; 
  8629.  
  8630. class Google_Service_Compute_TargetPoolAggregatedListItems extends Google_Model 
  8631.  
  8632. class Google_Service_Compute_TargetPoolInstanceHealth extends Google_Collection 
  8633. protected $collection_key = 'healthStatus'; 
  8634. protected $internal_gapi_mappings = array( 
  8635. ); 
  8636. protected $healthStatusType = 'Google_Service_Compute_HealthStatus'; 
  8637. protected $healthStatusDataType = 'array'; 
  8638. public $kind; 
  8639.  
  8640.  
  8641. public function setHealthStatus($healthStatus) 
  8642. $this->healthStatus = $healthStatus; 
  8643. public function getHealthStatus() 
  8644. return $this->healthStatus; 
  8645. public function setKind($kind) 
  8646. $this->kind = $kind; 
  8647. public function getKind() 
  8648. return $this->kind; 
  8649.  
  8650. class Google_Service_Compute_TargetPoolList extends Google_Collection 
  8651. protected $collection_key = 'items'; 
  8652. protected $internal_gapi_mappings = array( 
  8653. ); 
  8654. public $id; 
  8655. protected $itemsType = 'Google_Service_Compute_TargetPool'; 
  8656. protected $itemsDataType = 'array'; 
  8657. public $kind; 
  8658. public $nextPageToken; 
  8659. public $selfLink; 
  8660.  
  8661.  
  8662. public function setId($id) 
  8663. $this->id = $id; 
  8664. public function getId() 
  8665. return $this->id; 
  8666. public function setItems($items) 
  8667. $this->items = $items; 
  8668. public function getItems() 
  8669. return $this->items; 
  8670. public function setKind($kind) 
  8671. $this->kind = $kind; 
  8672. public function getKind() 
  8673. return $this->kind; 
  8674. public function setNextPageToken($nextPageToken) 
  8675. $this->nextPageToken = $nextPageToken; 
  8676. public function getNextPageToken() 
  8677. return $this->nextPageToken; 
  8678. public function setSelfLink($selfLink) 
  8679. $this->selfLink = $selfLink; 
  8680. public function getSelfLink() 
  8681. return $this->selfLink; 
  8682.  
  8683. class Google_Service_Compute_TargetPoolsAddHealthCheckRequest extends Google_Collection 
  8684. protected $collection_key = 'healthChecks'; 
  8685. protected $internal_gapi_mappings = array( 
  8686. ); 
  8687. protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference'; 
  8688. protected $healthChecksDataType = 'array'; 
  8689.  
  8690.  
  8691. public function setHealthChecks($healthChecks) 
  8692. $this->healthChecks = $healthChecks; 
  8693. public function getHealthChecks() 
  8694. return $this->healthChecks; 
  8695.  
  8696. class Google_Service_Compute_TargetPoolsAddInstanceRequest extends Google_Collection 
  8697. protected $collection_key = 'instances'; 
  8698. protected $internal_gapi_mappings = array( 
  8699. ); 
  8700. protected $instancesType = 'Google_Service_Compute_InstanceReference'; 
  8701. protected $instancesDataType = 'array'; 
  8702.  
  8703.  
  8704. public function setInstances($instances) 
  8705. $this->instances = $instances; 
  8706. public function getInstances() 
  8707. return $this->instances; 
  8708.  
  8709. class Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest extends Google_Collection 
  8710. protected $collection_key = 'healthChecks'; 
  8711. protected $internal_gapi_mappings = array( 
  8712. ); 
  8713. protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference'; 
  8714. protected $healthChecksDataType = 'array'; 
  8715.  
  8716.  
  8717. public function setHealthChecks($healthChecks) 
  8718. $this->healthChecks = $healthChecks; 
  8719. public function getHealthChecks() 
  8720. return $this->healthChecks; 
  8721.  
  8722. class Google_Service_Compute_TargetPoolsRemoveInstanceRequest extends Google_Collection 
  8723. protected $collection_key = 'instances'; 
  8724. protected $internal_gapi_mappings = array( 
  8725. ); 
  8726. protected $instancesType = 'Google_Service_Compute_InstanceReference'; 
  8727. protected $instancesDataType = 'array'; 
  8728.  
  8729.  
  8730. public function setInstances($instances) 
  8731. $this->instances = $instances; 
  8732. public function getInstances() 
  8733. return $this->instances; 
  8734.  
  8735. class Google_Service_Compute_TargetPoolsScopedList extends Google_Collection 
  8736. protected $collection_key = 'targetPools'; 
  8737. protected $internal_gapi_mappings = array( 
  8738. ); 
  8739. protected $targetPoolsType = 'Google_Service_Compute_TargetPool'; 
  8740. protected $targetPoolsDataType = 'array'; 
  8741. protected $warningType = 'Google_Service_Compute_TargetPoolsScopedListWarning'; 
  8742. protected $warningDataType = ''; 
  8743.  
  8744.  
  8745. public function setTargetPools($targetPools) 
  8746. $this->targetPools = $targetPools; 
  8747. public function getTargetPools() 
  8748. return $this->targetPools; 
  8749. public function setWarning(Google_Service_Compute_TargetPoolsScopedListWarning $warning) 
  8750. $this->warning = $warning; 
  8751. public function getWarning() 
  8752. return $this->warning; 
  8753.  
  8754. class Google_Service_Compute_TargetPoolsScopedListWarning extends Google_Collection 
  8755. protected $collection_key = 'data'; 
  8756. protected $internal_gapi_mappings = array( 
  8757. ); 
  8758. public $code; 
  8759. protected $dataType = 'Google_Service_Compute_TargetPoolsScopedListWarningData'; 
  8760. protected $dataDataType = 'array'; 
  8761. public $message; 
  8762.  
  8763.  
  8764. public function setCode($code) 
  8765. $this->code = $code; 
  8766. public function getCode() 
  8767. return $this->code; 
  8768. public function setData($data) 
  8769. $this->data = $data; 
  8770. public function getData() 
  8771. return $this->data; 
  8772. public function setMessage($message) 
  8773. $this->message = $message; 
  8774. public function getMessage() 
  8775. return $this->message; 
  8776.  
  8777. class Google_Service_Compute_TargetPoolsScopedListWarningData extends Google_Model 
  8778. protected $internal_gapi_mappings = array( 
  8779. ); 
  8780. public $key; 
  8781. public $value; 
  8782.  
  8783.  
  8784. public function setKey($key) 
  8785. $this->key = $key; 
  8786. public function getKey() 
  8787. return $this->key; 
  8788. public function setValue($value) 
  8789. $this->value = $value; 
  8790. public function getValue() 
  8791. return $this->value; 
  8792.  
  8793. class Google_Service_Compute_TargetReference extends Google_Model 
  8794. protected $internal_gapi_mappings = array( 
  8795. ); 
  8796. public $target; 
  8797.  
  8798.  
  8799. public function setTarget($target) 
  8800. $this->target = $target; 
  8801. public function getTarget() 
  8802. return $this->target; 
  8803.  
  8804. class Google_Service_Compute_TestFailure extends Google_Model 
  8805. protected $internal_gapi_mappings = array( 
  8806. ); 
  8807. public $actualService; 
  8808. public $expectedService; 
  8809. public $host; 
  8810. public $path; 
  8811.  
  8812.  
  8813. public function setActualService($actualService) 
  8814. $this->actualService = $actualService; 
  8815. public function getActualService() 
  8816. return $this->actualService; 
  8817. public function setExpectedService($expectedService) 
  8818. $this->expectedService = $expectedService; 
  8819. public function getExpectedService() 
  8820. return $this->expectedService; 
  8821. public function setHost($host) 
  8822. $this->host = $host; 
  8823. public function getHost() 
  8824. return $this->host; 
  8825. public function setPath($path) 
  8826. $this->path = $path; 
  8827. public function getPath() 
  8828. return $this->path; 
  8829.  
  8830. class Google_Service_Compute_UrlMap extends Google_Collection 
  8831. protected $collection_key = 'tests'; 
  8832. protected $internal_gapi_mappings = array( 
  8833. ); 
  8834. public $creationTimestamp; 
  8835. public $defaultService; 
  8836. public $description; 
  8837. public $fingerprint; 
  8838. protected $hostRulesType = 'Google_Service_Compute_HostRule'; 
  8839. protected $hostRulesDataType = 'array'; 
  8840. public $id; 
  8841. public $kind; 
  8842. public $name; 
  8843. protected $pathMatchersType = 'Google_Service_Compute_PathMatcher'; 
  8844. protected $pathMatchersDataType = 'array'; 
  8845. public $selfLink; 
  8846. protected $testsType = 'Google_Service_Compute_UrlMapTest'; 
  8847. protected $testsDataType = 'array'; 
  8848.  
  8849.  
  8850. public function setCreationTimestamp($creationTimestamp) 
  8851. $this->creationTimestamp = $creationTimestamp; 
  8852. public function getCreationTimestamp() 
  8853. return $this->creationTimestamp; 
  8854. public function setDefaultService($defaultService) 
  8855. $this->defaultService = $defaultService; 
  8856. public function getDefaultService() 
  8857. return $this->defaultService; 
  8858. public function setDescription($description) 
  8859. $this->description = $description; 
  8860. public function getDescription() 
  8861. return $this->description; 
  8862. public function setFingerprint($fingerprint) 
  8863. $this->fingerprint = $fingerprint; 
  8864. public function getFingerprint() 
  8865. return $this->fingerprint; 
  8866. public function setHostRules($hostRules) 
  8867. $this->hostRules = $hostRules; 
  8868. public function getHostRules() 
  8869. return $this->hostRules; 
  8870. public function setId($id) 
  8871. $this->id = $id; 
  8872. public function getId() 
  8873. return $this->id; 
  8874. public function setKind($kind) 
  8875. $this->kind = $kind; 
  8876. public function getKind() 
  8877. return $this->kind; 
  8878. public function setName($name) 
  8879. $this->name = $name; 
  8880. public function getName() 
  8881. return $this->name; 
  8882. public function setPathMatchers($pathMatchers) 
  8883. $this->pathMatchers = $pathMatchers; 
  8884. public function getPathMatchers() 
  8885. return $this->pathMatchers; 
  8886. public function setSelfLink($selfLink) 
  8887. $this->selfLink = $selfLink; 
  8888. public function getSelfLink() 
  8889. return $this->selfLink; 
  8890. public function setTests($tests) 
  8891. $this->tests = $tests; 
  8892. public function getTests() 
  8893. return $this->tests; 
  8894.  
  8895. class Google_Service_Compute_UrlMapList extends Google_Collection 
  8896. protected $collection_key = 'items'; 
  8897. protected $internal_gapi_mappings = array( 
  8898. ); 
  8899. public $id; 
  8900. protected $itemsType = 'Google_Service_Compute_UrlMap'; 
  8901. protected $itemsDataType = 'array'; 
  8902. public $kind; 
  8903. public $nextPageToken; 
  8904. public $selfLink; 
  8905.  
  8906.  
  8907. public function setId($id) 
  8908. $this->id = $id; 
  8909. public function getId() 
  8910. return $this->id; 
  8911. public function setItems($items) 
  8912. $this->items = $items; 
  8913. public function getItems() 
  8914. return $this->items; 
  8915. public function setKind($kind) 
  8916. $this->kind = $kind; 
  8917. public function getKind() 
  8918. return $this->kind; 
  8919. public function setNextPageToken($nextPageToken) 
  8920. $this->nextPageToken = $nextPageToken; 
  8921. public function getNextPageToken() 
  8922. return $this->nextPageToken; 
  8923. public function setSelfLink($selfLink) 
  8924. $this->selfLink = $selfLink; 
  8925. public function getSelfLink() 
  8926. return $this->selfLink; 
  8927.  
  8928. class Google_Service_Compute_UrlMapReference extends Google_Model 
  8929. protected $internal_gapi_mappings = array( 
  8930. ); 
  8931. public $urlMap; 
  8932.  
  8933.  
  8934. public function setUrlMap($urlMap) 
  8935. $this->urlMap = $urlMap; 
  8936. public function getUrlMap() 
  8937. return $this->urlMap; 
  8938.  
  8939. class Google_Service_Compute_UrlMapTest extends Google_Model 
  8940. protected $internal_gapi_mappings = array( 
  8941. ); 
  8942. public $description; 
  8943. public $host; 
  8944. public $path; 
  8945. public $service; 
  8946.  
  8947.  
  8948. public function setDescription($description) 
  8949. $this->description = $description; 
  8950. public function getDescription() 
  8951. return $this->description; 
  8952. public function setHost($host) 
  8953. $this->host = $host; 
  8954. public function getHost() 
  8955. return $this->host; 
  8956. public function setPath($path) 
  8957. $this->path = $path; 
  8958. public function getPath() 
  8959. return $this->path; 
  8960. public function setService($service) 
  8961. $this->service = $service; 
  8962. public function getService() 
  8963. return $this->service; 
  8964.  
  8965. class Google_Service_Compute_UrlMapValidationResult extends Google_Collection 
  8966. protected $collection_key = 'testFailures'; 
  8967. protected $internal_gapi_mappings = array( 
  8968. ); 
  8969. public $loadErrors; 
  8970. public $loadSucceeded; 
  8971. protected $testFailuresType = 'Google_Service_Compute_TestFailure'; 
  8972. protected $testFailuresDataType = 'array'; 
  8973. public $testPassed; 
  8974.  
  8975.  
  8976. public function setLoadErrors($loadErrors) 
  8977. $this->loadErrors = $loadErrors; 
  8978. public function getLoadErrors() 
  8979. return $this->loadErrors; 
  8980. public function setLoadSucceeded($loadSucceeded) 
  8981. $this->loadSucceeded = $loadSucceeded; 
  8982. public function getLoadSucceeded() 
  8983. return $this->loadSucceeded; 
  8984. public function setTestFailures($testFailures) 
  8985. $this->testFailures = $testFailures; 
  8986. public function getTestFailures() 
  8987. return $this->testFailures; 
  8988. public function setTestPassed($testPassed) 
  8989. $this->testPassed = $testPassed; 
  8990. public function getTestPassed() 
  8991. return $this->testPassed; 
  8992.  
  8993. class Google_Service_Compute_UrlMapsValidateRequest extends Google_Model 
  8994. protected $internal_gapi_mappings = array( 
  8995. ); 
  8996. protected $resourceType = 'Google_Service_Compute_UrlMap'; 
  8997. protected $resourceDataType = ''; 
  8998.  
  8999.  
  9000. public function setResource(Google_Service_Compute_UrlMap $resource) 
  9001. $this->resource = $resource; 
  9002. public function getResource() 
  9003. return $this->resource; 
  9004.  
  9005. class Google_Service_Compute_UrlMapsValidateResponse extends Google_Model 
  9006. protected $internal_gapi_mappings = array( 
  9007. ); 
  9008. protected $resultType = 'Google_Service_Compute_UrlMapValidationResult'; 
  9009. protected $resultDataType = ''; 
  9010.  
  9011.  
  9012. public function setResult(Google_Service_Compute_UrlMapValidationResult $result) 
  9013. $this->result = $result; 
  9014. public function getResult() 
  9015. return $this->result; 
  9016.  
  9017. class Google_Service_Compute_UsageExportLocation extends Google_Model 
  9018. protected $internal_gapi_mappings = array( 
  9019. ); 
  9020. public $bucketName; 
  9021. public $reportNamePrefix; 
  9022.  
  9023.  
  9024. public function setBucketName($bucketName) 
  9025. $this->bucketName = $bucketName; 
  9026. public function getBucketName() 
  9027. return $this->bucketName; 
  9028. public function setReportNamePrefix($reportNamePrefix) 
  9029. $this->reportNamePrefix = $reportNamePrefix; 
  9030. public function getReportNamePrefix() 
  9031. return $this->reportNamePrefix; 
  9032.  
  9033. class Google_Service_Compute_Zone extends Google_Collection 
  9034. protected $collection_key = 'maintenanceWindows'; 
  9035. protected $internal_gapi_mappings = array( 
  9036. ); 
  9037. public $creationTimestamp; 
  9038. protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; 
  9039. protected $deprecatedDataType = ''; 
  9040. public $description; 
  9041. public $id; 
  9042. public $kind; 
  9043. protected $maintenanceWindowsType = 'Google_Service_Compute_ZoneMaintenanceWindows'; 
  9044. protected $maintenanceWindowsDataType = 'array'; 
  9045. public $name; 
  9046. public $region; 
  9047. public $selfLink; 
  9048. public $status; 
  9049.  
  9050.  
  9051. public function setCreationTimestamp($creationTimestamp) 
  9052. $this->creationTimestamp = $creationTimestamp; 
  9053. public function getCreationTimestamp() 
  9054. return $this->creationTimestamp; 
  9055. public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) 
  9056. $this->deprecated = $deprecated; 
  9057. public function getDeprecated() 
  9058. return $this->deprecated; 
  9059. public function setDescription($description) 
  9060. $this->description = $description; 
  9061. public function getDescription() 
  9062. return $this->description; 
  9063. public function setId($id) 
  9064. $this->id = $id; 
  9065. public function getId() 
  9066. return $this->id; 
  9067. public function setKind($kind) 
  9068. $this->kind = $kind; 
  9069. public function getKind() 
  9070. return $this->kind; 
  9071. public function setMaintenanceWindows($maintenanceWindows) 
  9072. $this->maintenanceWindows = $maintenanceWindows; 
  9073. public function getMaintenanceWindows() 
  9074. return $this->maintenanceWindows; 
  9075. public function setName($name) 
  9076. $this->name = $name; 
  9077. public function getName() 
  9078. return $this->name; 
  9079. public function setRegion($region) 
  9080. $this->region = $region; 
  9081. public function getRegion() 
  9082. return $this->region; 
  9083. public function setSelfLink($selfLink) 
  9084. $this->selfLink = $selfLink; 
  9085. public function getSelfLink() 
  9086. return $this->selfLink; 
  9087. public function setStatus($status) 
  9088. $this->status = $status; 
  9089. public function getStatus() 
  9090. return $this->status; 
  9091.  
  9092. class Google_Service_Compute_ZoneList extends Google_Collection 
  9093. protected $collection_key = 'items'; 
  9094. protected $internal_gapi_mappings = array( 
  9095. ); 
  9096. public $id; 
  9097. protected $itemsType = 'Google_Service_Compute_Zone'; 
  9098. protected $itemsDataType = 'array'; 
  9099. public $kind; 
  9100. public $nextPageToken; 
  9101. public $selfLink; 
  9102.  
  9103.  
  9104. public function setId($id) 
  9105. $this->id = $id; 
  9106. public function getId() 
  9107. return $this->id; 
  9108. public function setItems($items) 
  9109. $this->items = $items; 
  9110. public function getItems() 
  9111. return $this->items; 
  9112. public function setKind($kind) 
  9113. $this->kind = $kind; 
  9114. public function getKind() 
  9115. return $this->kind; 
  9116. public function setNextPageToken($nextPageToken) 
  9117. $this->nextPageToken = $nextPageToken; 
  9118. public function getNextPageToken() 
  9119. return $this->nextPageToken; 
  9120. public function setSelfLink($selfLink) 
  9121. $this->selfLink = $selfLink; 
  9122. public function getSelfLink() 
  9123. return $this->selfLink; 
  9124.  
  9125. class Google_Service_Compute_ZoneMaintenanceWindows extends Google_Model 
  9126. protected $internal_gapi_mappings = array( 
  9127. ); 
  9128. public $beginTime; 
  9129. public $description; 
  9130. public $endTime; 
  9131. public $name; 
  9132.  
  9133.  
  9134. public function setBeginTime($beginTime) 
  9135. $this->beginTime = $beginTime; 
  9136. public function getBeginTime() 
  9137. return $this->beginTime; 
  9138. public function setDescription($description) 
  9139. $this->description = $description; 
  9140. public function getDescription() 
  9141. return $this->description; 
  9142. public function setEndTime($endTime) 
  9143. $this->endTime = $endTime; 
  9144. public function getEndTime() 
  9145. return $this->endTime; 
  9146. public function setName($name) 
  9147. $this->name = $name; 
  9148. public function getName() 
  9149. return $this->name; 
.