/includes/api-libs/Google/Service/Fusiontables.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 Fusiontables (v2). 
  20. * 
  21. * <p> 
  22. * API for working with Fusion Tables data.</p> 
  23. * 
  24. * <p> 
  25. * For more information about this service, see the API 
  26. * <a href="https://developers.google.com/fusiontables" target="_blank">Documentation</a> 
  27. * </p> 
  28. * 
  29. * @author Google, Inc. 
  30. */ 
  31. class Google_Service_Fusiontables extends Google_Service 
  32. /** Manage your Fusion Tables. */ 
  33. const FUSIONTABLES = 
  34. "https://www.googleapis.com/auth/fusiontables"; 
  35. /** View your Fusion Tables. */ 
  36. const FUSIONTABLES_READONLY = 
  37. "https://www.googleapis.com/auth/fusiontables.readonly"; 
  38.  
  39. public $column; 
  40. public $query; 
  41. public $style; 
  42. public $table; 
  43. public $task; 
  44. public $template; 
  45.  
  46.  
  47. /** 
  48. * Constructs the internal representation of the Fusiontables service. 
  49. * 
  50. * @param Google_Client $client 
  51. */ 
  52. public function __construct(Google_Client $client) 
  53. parent::__construct($client); 
  54. $this->servicePath = 'fusiontables/v2/'; 
  55. $this->version = 'v2'; 
  56. $this->serviceName = 'fusiontables'; 
  57.  
  58. $this->column = new Google_Service_Fusiontables_Column_Resource( 
  59. $this,  
  60. $this->serviceName,  
  61. 'column',  
  62. array( 
  63. 'methods' => array( 
  64. 'delete' => array( 
  65. 'path' => 'tables/{tableId}/columns/{columnId}',  
  66. 'httpMethod' => 'DELETE',  
  67. 'parameters' => array( 
  68. 'tableId' => array( 
  69. 'location' => 'path',  
  70. 'type' => 'string',  
  71. 'required' => true,  
  72. ),  
  73. 'columnId' => array( 
  74. 'location' => 'path',  
  75. 'type' => 'string',  
  76. 'required' => true,  
  77. ),  
  78. ),  
  79. ), 'get' => array( 
  80. 'path' => 'tables/{tableId}/columns/{columnId}',  
  81. 'httpMethod' => 'GET',  
  82. 'parameters' => array( 
  83. 'tableId' => array( 
  84. 'location' => 'path',  
  85. 'type' => 'string',  
  86. 'required' => true,  
  87. ),  
  88. 'columnId' => array( 
  89. 'location' => 'path',  
  90. 'type' => 'string',  
  91. 'required' => true,  
  92. ),  
  93. ),  
  94. ), 'insert' => array( 
  95. 'path' => 'tables/{tableId}/columns',  
  96. 'httpMethod' => 'POST',  
  97. 'parameters' => array( 
  98. 'tableId' => array( 
  99. 'location' => 'path',  
  100. 'type' => 'string',  
  101. 'required' => true,  
  102. ),  
  103. ),  
  104. ), 'list' => array( 
  105. 'path' => 'tables/{tableId}/columns',  
  106. 'httpMethod' => 'GET',  
  107. 'parameters' => array( 
  108. 'tableId' => array( 
  109. 'location' => 'path',  
  110. 'type' => 'string',  
  111. 'required' => true,  
  112. ),  
  113. 'pageToken' => array( 
  114. 'location' => 'query',  
  115. 'type' => 'string',  
  116. ),  
  117. 'maxResults' => array( 
  118. 'location' => 'query',  
  119. 'type' => 'integer',  
  120. ),  
  121. ),  
  122. ), 'patch' => array( 
  123. 'path' => 'tables/{tableId}/columns/{columnId}',  
  124. 'httpMethod' => 'PATCH',  
  125. 'parameters' => array( 
  126. 'tableId' => array( 
  127. 'location' => 'path',  
  128. 'type' => 'string',  
  129. 'required' => true,  
  130. ),  
  131. 'columnId' => array( 
  132. 'location' => 'path',  
  133. 'type' => 'string',  
  134. 'required' => true,  
  135. ),  
  136. ),  
  137. ), 'update' => array( 
  138. 'path' => 'tables/{tableId}/columns/{columnId}',  
  139. 'httpMethod' => 'PUT',  
  140. 'parameters' => array( 
  141. 'tableId' => array( 
  142. 'location' => 'path',  
  143. 'type' => 'string',  
  144. 'required' => true,  
  145. ),  
  146. 'columnId' => array( 
  147. 'location' => 'path',  
  148. 'type' => 'string',  
  149. 'required' => true,  
  150. ),  
  151. ),  
  152. ),  
  153. ); 
  154. $this->query = new Google_Service_Fusiontables_Query_Resource( 
  155. $this,  
  156. $this->serviceName,  
  157. 'query',  
  158. array( 
  159. 'methods' => array( 
  160. 'sql' => array( 
  161. 'path' => 'query',  
  162. 'httpMethod' => 'POST',  
  163. 'parameters' => array( 
  164. 'sql' => array( 
  165. 'location' => 'query',  
  166. 'type' => 'string',  
  167. 'required' => true,  
  168. ),  
  169. 'typed' => array( 
  170. 'location' => 'query',  
  171. 'type' => 'boolean',  
  172. ),  
  173. 'hdrs' => array( 
  174. 'location' => 'query',  
  175. 'type' => 'boolean',  
  176. ),  
  177. ),  
  178. ), 'sqlGet' => array( 
  179. 'path' => 'query',  
  180. 'httpMethod' => 'GET',  
  181. 'parameters' => array( 
  182. 'sql' => array( 
  183. 'location' => 'query',  
  184. 'type' => 'string',  
  185. 'required' => true,  
  186. ),  
  187. 'typed' => array( 
  188. 'location' => 'query',  
  189. 'type' => 'boolean',  
  190. ),  
  191. 'hdrs' => array( 
  192. 'location' => 'query',  
  193. 'type' => 'boolean',  
  194. ),  
  195. ),  
  196. ),  
  197. ); 
  198. $this->style = new Google_Service_Fusiontables_Style_Resource( 
  199. $this,  
  200. $this->serviceName,  
  201. 'style',  
  202. array( 
  203. 'methods' => array( 
  204. 'delete' => array( 
  205. 'path' => 'tables/{tableId}/styles/{styleId}',  
  206. 'httpMethod' => 'DELETE',  
  207. 'parameters' => array( 
  208. 'tableId' => array( 
  209. 'location' => 'path',  
  210. 'type' => 'string',  
  211. 'required' => true,  
  212. ),  
  213. 'styleId' => array( 
  214. 'location' => 'path',  
  215. 'type' => 'integer',  
  216. 'required' => true,  
  217. ),  
  218. ),  
  219. ), 'get' => array( 
  220. 'path' => 'tables/{tableId}/styles/{styleId}',  
  221. 'httpMethod' => 'GET',  
  222. 'parameters' => array( 
  223. 'tableId' => array( 
  224. 'location' => 'path',  
  225. 'type' => 'string',  
  226. 'required' => true,  
  227. ),  
  228. 'styleId' => array( 
  229. 'location' => 'path',  
  230. 'type' => 'integer',  
  231. 'required' => true,  
  232. ),  
  233. ),  
  234. ), 'insert' => array( 
  235. 'path' => 'tables/{tableId}/styles',  
  236. 'httpMethod' => 'POST',  
  237. 'parameters' => array( 
  238. 'tableId' => array( 
  239. 'location' => 'path',  
  240. 'type' => 'string',  
  241. 'required' => true,  
  242. ),  
  243. ),  
  244. ), 'list' => array( 
  245. 'path' => 'tables/{tableId}/styles',  
  246. 'httpMethod' => 'GET',  
  247. 'parameters' => array( 
  248. 'tableId' => array( 
  249. 'location' => 'path',  
  250. 'type' => 'string',  
  251. 'required' => true,  
  252. ),  
  253. 'pageToken' => array( 
  254. 'location' => 'query',  
  255. 'type' => 'string',  
  256. ),  
  257. 'maxResults' => array( 
  258. 'location' => 'query',  
  259. 'type' => 'integer',  
  260. ),  
  261. ),  
  262. ), 'patch' => array( 
  263. 'path' => 'tables/{tableId}/styles/{styleId}',  
  264. 'httpMethod' => 'PATCH',  
  265. 'parameters' => array( 
  266. 'tableId' => array( 
  267. 'location' => 'path',  
  268. 'type' => 'string',  
  269. 'required' => true,  
  270. ),  
  271. 'styleId' => array( 
  272. 'location' => 'path',  
  273. 'type' => 'integer',  
  274. 'required' => true,  
  275. ),  
  276. ),  
  277. ), 'update' => array( 
  278. 'path' => 'tables/{tableId}/styles/{styleId}',  
  279. 'httpMethod' => 'PUT',  
  280. 'parameters' => array( 
  281. 'tableId' => array( 
  282. 'location' => 'path',  
  283. 'type' => 'string',  
  284. 'required' => true,  
  285. ),  
  286. 'styleId' => array( 
  287. 'location' => 'path',  
  288. 'type' => 'integer',  
  289. 'required' => true,  
  290. ),  
  291. ),  
  292. ),  
  293. ); 
  294. $this->table = new Google_Service_Fusiontables_Table_Resource( 
  295. $this,  
  296. $this->serviceName,  
  297. 'table',  
  298. array( 
  299. 'methods' => array( 
  300. 'copy' => array( 
  301. 'path' => 'tables/{tableId}/copy',  
  302. 'httpMethod' => 'POST',  
  303. 'parameters' => array( 
  304. 'tableId' => array( 
  305. 'location' => 'path',  
  306. 'type' => 'string',  
  307. 'required' => true,  
  308. ),  
  309. 'copyPresentation' => array( 
  310. 'location' => 'query',  
  311. 'type' => 'boolean',  
  312. ),  
  313. ),  
  314. ), 'delete' => array( 
  315. 'path' => 'tables/{tableId}',  
  316. 'httpMethod' => 'DELETE',  
  317. 'parameters' => array( 
  318. 'tableId' => array( 
  319. 'location' => 'path',  
  320. 'type' => 'string',  
  321. 'required' => true,  
  322. ),  
  323. ),  
  324. ), 'get' => array( 
  325. 'path' => 'tables/{tableId}',  
  326. 'httpMethod' => 'GET',  
  327. 'parameters' => array( 
  328. 'tableId' => array( 
  329. 'location' => 'path',  
  330. 'type' => 'string',  
  331. 'required' => true,  
  332. ),  
  333. ),  
  334. ), 'importRows' => array( 
  335. 'path' => 'tables/{tableId}/import',  
  336. 'httpMethod' => 'POST',  
  337. 'parameters' => array( 
  338. 'tableId' => array( 
  339. 'location' => 'path',  
  340. 'type' => 'string',  
  341. 'required' => true,  
  342. ),  
  343. 'startLine' => array( 
  344. 'location' => 'query',  
  345. 'type' => 'integer',  
  346. ),  
  347. 'isStrict' => array( 
  348. 'location' => 'query',  
  349. 'type' => 'boolean',  
  350. ),  
  351. 'encoding' => array( 
  352. 'location' => 'query',  
  353. 'type' => 'string',  
  354. ),  
  355. 'delimiter' => array( 
  356. 'location' => 'query',  
  357. 'type' => 'string',  
  358. ),  
  359. 'endLine' => array( 
  360. 'location' => 'query',  
  361. 'type' => 'integer',  
  362. ),  
  363. ),  
  364. ), 'importTable' => array( 
  365. 'path' => 'tables/import',  
  366. 'httpMethod' => 'POST',  
  367. 'parameters' => array( 
  368. 'name' => array( 
  369. 'location' => 'query',  
  370. 'type' => 'string',  
  371. 'required' => true,  
  372. ),  
  373. 'delimiter' => array( 
  374. 'location' => 'query',  
  375. 'type' => 'string',  
  376. ),  
  377. 'encoding' => array( 
  378. 'location' => 'query',  
  379. 'type' => 'string',  
  380. ),  
  381. ),  
  382. ), 'insert' => array( 
  383. 'path' => 'tables',  
  384. 'httpMethod' => 'POST',  
  385. 'parameters' => array(),  
  386. ), 'list' => array( 
  387. 'path' => 'tables',  
  388. 'httpMethod' => 'GET',  
  389. 'parameters' => array( 
  390. 'pageToken' => array( 
  391. 'location' => 'query',  
  392. 'type' => 'string',  
  393. ),  
  394. 'maxResults' => array( 
  395. 'location' => 'query',  
  396. 'type' => 'integer',  
  397. ),  
  398. ),  
  399. ), 'patch' => array( 
  400. 'path' => 'tables/{tableId}',  
  401. 'httpMethod' => 'PATCH',  
  402. 'parameters' => array( 
  403. 'tableId' => array( 
  404. 'location' => 'path',  
  405. 'type' => 'string',  
  406. 'required' => true,  
  407. ),  
  408. 'replaceViewDefinition' => array( 
  409. 'location' => 'query',  
  410. 'type' => 'boolean',  
  411. ),  
  412. ),  
  413. ), 'replaceRows' => array( 
  414. 'path' => 'tables/{tableId}/replace',  
  415. 'httpMethod' => 'POST',  
  416. 'parameters' => array( 
  417. 'tableId' => array( 
  418. 'location' => 'path',  
  419. 'type' => 'string',  
  420. 'required' => true,  
  421. ),  
  422. 'startLine' => array( 
  423. 'location' => 'query',  
  424. 'type' => 'integer',  
  425. ),  
  426. 'isStrict' => array( 
  427. 'location' => 'query',  
  428. 'type' => 'boolean',  
  429. ),  
  430. 'encoding' => array( 
  431. 'location' => 'query',  
  432. 'type' => 'string',  
  433. ),  
  434. 'delimiter' => array( 
  435. 'location' => 'query',  
  436. 'type' => 'string',  
  437. ),  
  438. 'endLine' => array( 
  439. 'location' => 'query',  
  440. 'type' => 'integer',  
  441. ),  
  442. ),  
  443. ), 'update' => array( 
  444. 'path' => 'tables/{tableId}',  
  445. 'httpMethod' => 'PUT',  
  446. 'parameters' => array( 
  447. 'tableId' => array( 
  448. 'location' => 'path',  
  449. 'type' => 'string',  
  450. 'required' => true,  
  451. ),  
  452. 'replaceViewDefinition' => array( 
  453. 'location' => 'query',  
  454. 'type' => 'boolean',  
  455. ),  
  456. ),  
  457. ),  
  458. ); 
  459. $this->task = new Google_Service_Fusiontables_Task_Resource( 
  460. $this,  
  461. $this->serviceName,  
  462. 'task',  
  463. array( 
  464. 'methods' => array( 
  465. 'delete' => array( 
  466. 'path' => 'tables/{tableId}/tasks/{taskId}',  
  467. 'httpMethod' => 'DELETE',  
  468. 'parameters' => array( 
  469. 'tableId' => array( 
  470. 'location' => 'path',  
  471. 'type' => 'string',  
  472. 'required' => true,  
  473. ),  
  474. 'taskId' => array( 
  475. 'location' => 'path',  
  476. 'type' => 'string',  
  477. 'required' => true,  
  478. ),  
  479. ),  
  480. ), 'get' => array( 
  481. 'path' => 'tables/{tableId}/tasks/{taskId}',  
  482. 'httpMethod' => 'GET',  
  483. 'parameters' => array( 
  484. 'tableId' => array( 
  485. 'location' => 'path',  
  486. 'type' => 'string',  
  487. 'required' => true,  
  488. ),  
  489. 'taskId' => array( 
  490. 'location' => 'path',  
  491. 'type' => 'string',  
  492. 'required' => true,  
  493. ),  
  494. ),  
  495. ), 'list' => array( 
  496. 'path' => 'tables/{tableId}/tasks',  
  497. 'httpMethod' => 'GET',  
  498. 'parameters' => array( 
  499. 'tableId' => array( 
  500. 'location' => 'path',  
  501. 'type' => 'string',  
  502. 'required' => true,  
  503. ),  
  504. 'pageToken' => array( 
  505. 'location' => 'query',  
  506. 'type' => 'string',  
  507. ),  
  508. 'startIndex' => array( 
  509. 'location' => 'query',  
  510. 'type' => 'integer',  
  511. ),  
  512. 'maxResults' => array( 
  513. 'location' => 'query',  
  514. 'type' => 'integer',  
  515. ),  
  516. ),  
  517. ),  
  518. ); 
  519. $this->template = new Google_Service_Fusiontables_Template_Resource( 
  520. $this,  
  521. $this->serviceName,  
  522. 'template',  
  523. array( 
  524. 'methods' => array( 
  525. 'delete' => array( 
  526. 'path' => 'tables/{tableId}/templates/{templateId}',  
  527. 'httpMethod' => 'DELETE',  
  528. 'parameters' => array( 
  529. 'tableId' => array( 
  530. 'location' => 'path',  
  531. 'type' => 'string',  
  532. 'required' => true,  
  533. ),  
  534. 'templateId' => array( 
  535. 'location' => 'path',  
  536. 'type' => 'integer',  
  537. 'required' => true,  
  538. ),  
  539. ),  
  540. ), 'get' => array( 
  541. 'path' => 'tables/{tableId}/templates/{templateId}',  
  542. 'httpMethod' => 'GET',  
  543. 'parameters' => array( 
  544. 'tableId' => array( 
  545. 'location' => 'path',  
  546. 'type' => 'string',  
  547. 'required' => true,  
  548. ),  
  549. 'templateId' => array( 
  550. 'location' => 'path',  
  551. 'type' => 'integer',  
  552. 'required' => true,  
  553. ),  
  554. ),  
  555. ), 'insert' => array( 
  556. 'path' => 'tables/{tableId}/templates',  
  557. 'httpMethod' => 'POST',  
  558. 'parameters' => array( 
  559. 'tableId' => array( 
  560. 'location' => 'path',  
  561. 'type' => 'string',  
  562. 'required' => true,  
  563. ),  
  564. ),  
  565. ), 'list' => array( 
  566. 'path' => 'tables/{tableId}/templates',  
  567. 'httpMethod' => 'GET',  
  568. 'parameters' => array( 
  569. 'tableId' => array( 
  570. 'location' => 'path',  
  571. 'type' => 'string',  
  572. 'required' => true,  
  573. ),  
  574. 'pageToken' => array( 
  575. 'location' => 'query',  
  576. 'type' => 'string',  
  577. ),  
  578. 'maxResults' => array( 
  579. 'location' => 'query',  
  580. 'type' => 'integer',  
  581. ),  
  582. ),  
  583. ), 'patch' => array( 
  584. 'path' => 'tables/{tableId}/templates/{templateId}',  
  585. 'httpMethod' => 'PATCH',  
  586. 'parameters' => array( 
  587. 'tableId' => array( 
  588. 'location' => 'path',  
  589. 'type' => 'string',  
  590. 'required' => true,  
  591. ),  
  592. 'templateId' => array( 
  593. 'location' => 'path',  
  594. 'type' => 'integer',  
  595. 'required' => true,  
  596. ),  
  597. ),  
  598. ), 'update' => array( 
  599. 'path' => 'tables/{tableId}/templates/{templateId}',  
  600. 'httpMethod' => 'PUT',  
  601. 'parameters' => array( 
  602. 'tableId' => array( 
  603. 'location' => 'path',  
  604. 'type' => 'string',  
  605. 'required' => true,  
  606. ),  
  607. 'templateId' => array( 
  608. 'location' => 'path',  
  609. 'type' => 'integer',  
  610. 'required' => true,  
  611. ),  
  612. ),  
  613. ),  
  614. ); 
  615.  
  616.  
  617. /** 
  618. * The "column" collection of methods. 
  619. * Typical usage is: 
  620. * <code> 
  621. * $fusiontablesService = new Google_Service_Fusiontables(...); 
  622. * $column = $fusiontablesService->column; 
  623. * </code> 
  624. */ 
  625. class Google_Service_Fusiontables_Column_Resource extends Google_Service_Resource 
  626.  
  627. /** 
  628. * Deletes the column. (column.delete) 
  629. * 
  630. * @param string $tableId Table from which the column is being deleted. 
  631. * @param string $columnId Name or identifier for the column being deleted. 
  632. * @param array $optParams Optional parameters. 
  633. */ 
  634. public function delete($tableId, $columnId, $optParams = array()) 
  635. $params = array('tableId' => $tableId, 'columnId' => $columnId); 
  636. $params = array_merge($params, $optParams); 
  637. return $this->call('delete', array($params)); 
  638.  
  639. /** 
  640. * Retrieves a specific column by its id. (column.get) 
  641. * 
  642. * @param string $tableId Table to which the column belongs. 
  643. * @param string $columnId Name or identifier for the column that is being 
  644. * requested. 
  645. * @param array $optParams Optional parameters. 
  646. * @return Google_Service_Fusiontables_Column 
  647. */ 
  648. public function get($tableId, $columnId, $optParams = array()) 
  649. $params = array('tableId' => $tableId, 'columnId' => $columnId); 
  650. $params = array_merge($params, $optParams); 
  651. return $this->call('get', array($params), "Google_Service_Fusiontables_Column"); 
  652.  
  653. /** 
  654. * Adds a new column to the table. (column.insert) 
  655. * 
  656. * @param string $tableId Table for which a new column is being added. 
  657. * @param Google_Column $postBody 
  658. * @param array $optParams Optional parameters. 
  659. * @return Google_Service_Fusiontables_Column 
  660. */ 
  661. public function insert($tableId, Google_Service_Fusiontables_Column $postBody, $optParams = array()) 
  662. $params = array('tableId' => $tableId, 'postBody' => $postBody); 
  663. $params = array_merge($params, $optParams); 
  664. return $this->call('insert', array($params), "Google_Service_Fusiontables_Column"); 
  665.  
  666. /** 
  667. * Retrieves a list of columns. (column.listColumn) 
  668. * 
  669. * @param string $tableId Table whose columns are being listed. 
  670. * @param array $optParams Optional parameters. 
  671. * 
  672. * @opt_param string pageToken Continuation token specifying which result page 
  673. * to return. 
  674. * @opt_param string maxResults Maximum number of columns to return. Default is 
  675. * 5. 
  676. * @return Google_Service_Fusiontables_ColumnList 
  677. */ 
  678. public function listColumn($tableId, $optParams = array()) 
  679. $params = array('tableId' => $tableId); 
  680. $params = array_merge($params, $optParams); 
  681. return $this->call('list', array($params), "Google_Service_Fusiontables_ColumnList"); 
  682.  
  683. /** 
  684. * Updates the name or type of an existing column. This method supports patch 
  685. * semantics. (column.patch) 
  686. * 
  687. * @param string $tableId Table for which the column is being updated. 
  688. * @param string $columnId Name or identifier for the column that is being 
  689. * updated. 
  690. * @param Google_Column $postBody 
  691. * @param array $optParams Optional parameters. 
  692. * @return Google_Service_Fusiontables_Column 
  693. */ 
  694. public function patch($tableId, $columnId, Google_Service_Fusiontables_Column $postBody, $optParams = array()) 
  695. $params = array('tableId' => $tableId, 'columnId' => $columnId, 'postBody' => $postBody); 
  696. $params = array_merge($params, $optParams); 
  697. return $this->call('patch', array($params), "Google_Service_Fusiontables_Column"); 
  698.  
  699. /** 
  700. * Updates the name or type of an existing column. (column.update) 
  701. * 
  702. * @param string $tableId Table for which the column is being updated. 
  703. * @param string $columnId Name or identifier for the column that is being 
  704. * updated. 
  705. * @param Google_Column $postBody 
  706. * @param array $optParams Optional parameters. 
  707. * @return Google_Service_Fusiontables_Column 
  708. */ 
  709. public function update($tableId, $columnId, Google_Service_Fusiontables_Column $postBody, $optParams = array()) 
  710. $params = array('tableId' => $tableId, 'columnId' => $columnId, 'postBody' => $postBody); 
  711. $params = array_merge($params, $optParams); 
  712. return $this->call('update', array($params), "Google_Service_Fusiontables_Column"); 
  713.  
  714. /** 
  715. * The "query" collection of methods. 
  716. * Typical usage is: 
  717. * <code> 
  718. * $fusiontablesService = new Google_Service_Fusiontables(...); 
  719. * $query = $fusiontablesService->query; 
  720. * </code> 
  721. */ 
  722. class Google_Service_Fusiontables_Query_Resource extends Google_Service_Resource 
  723.  
  724. /** 
  725. * Executes an SQL SELECT/INSERT/UPDATE/DELETE/SHOW/DESCRIBE/CREATE statement. 
  726. * (query.sql) 
  727. * 
  728. * @param string $sql An SQL SELECT/SHOW/DESCRIBE/INSERT/UPDATE/DELETE/CREATE 
  729. * statement. 
  730. * @param array $optParams Optional parameters. 
  731. * 
  732. * @opt_param bool typed Should typed values be returned in the (JSON) response 
  733. * -- numbers for numeric values and parsed geometries for KML values? Default 
  734. * is true. 
  735. * @opt_param bool hdrs Should column names be included (in the first row)?. 
  736. * Default is true. 
  737. * @return Google_Service_Fusiontables_Sqlresponse 
  738. */ 
  739. public function sql($sql, $optParams = array()) 
  740. $params = array('sql' => $sql); 
  741. $params = array_merge($params, $optParams); 
  742. return $this->call('sql', array($params), "Google_Service_Fusiontables_Sqlresponse"); 
  743.  
  744. /** 
  745. * Executes an SQL SELECT/SHOW/DESCRIBE statement. (query.sqlGet) 
  746. * 
  747. * @param string $sql An SQL SELECT/SHOW/DESCRIBE statement. 
  748. * @param array $optParams Optional parameters. 
  749. * 
  750. * @opt_param bool typed Should typed values be returned in the (JSON) response 
  751. * -- numbers for numeric values and parsed geometries for KML values? Default 
  752. * is true. 
  753. * @opt_param bool hdrs Should column names be included (in the first row)?. 
  754. * Default is true. 
  755. * @return Google_Service_Fusiontables_Sqlresponse 
  756. */ 
  757. public function sqlGet($sql, $optParams = array()) 
  758. $params = array('sql' => $sql); 
  759. $params = array_merge($params, $optParams); 
  760. return $this->call('sqlGet', array($params), "Google_Service_Fusiontables_Sqlresponse"); 
  761.  
  762. /** 
  763. * The "style" collection of methods. 
  764. * Typical usage is: 
  765. * <code> 
  766. * $fusiontablesService = new Google_Service_Fusiontables(...); 
  767. * $style = $fusiontablesService->style; 
  768. * </code> 
  769. */ 
  770. class Google_Service_Fusiontables_Style_Resource extends Google_Service_Resource 
  771.  
  772. /** 
  773. * Deletes a style. (style.delete) 
  774. * 
  775. * @param string $tableId Table from which the style is being deleted 
  776. * @param int $styleId Identifier (within a table) for the style being deleted 
  777. * @param array $optParams Optional parameters. 
  778. */ 
  779. public function delete($tableId, $styleId, $optParams = array()) 
  780. $params = array('tableId' => $tableId, 'styleId' => $styleId); 
  781. $params = array_merge($params, $optParams); 
  782. return $this->call('delete', array($params)); 
  783.  
  784. /** 
  785. * Gets a specific style. (style.get) 
  786. * 
  787. * @param string $tableId Table to which the requested style belongs 
  788. * @param int $styleId Identifier (integer) for a specific style in a table 
  789. * @param array $optParams Optional parameters. 
  790. * @return Google_Service_Fusiontables_StyleSetting 
  791. */ 
  792. public function get($tableId, $styleId, $optParams = array()) 
  793. $params = array('tableId' => $tableId, 'styleId' => $styleId); 
  794. $params = array_merge($params, $optParams); 
  795. return $this->call('get', array($params), "Google_Service_Fusiontables_StyleSetting"); 
  796.  
  797. /** 
  798. * Adds a new style for the table. (style.insert) 
  799. * 
  800. * @param string $tableId Table for which a new style is being added 
  801. * @param Google_StyleSetting $postBody 
  802. * @param array $optParams Optional parameters. 
  803. * @return Google_Service_Fusiontables_StyleSetting 
  804. */ 
  805. public function insert($tableId, Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array()) 
  806. $params = array('tableId' => $tableId, 'postBody' => $postBody); 
  807. $params = array_merge($params, $optParams); 
  808. return $this->call('insert', array($params), "Google_Service_Fusiontables_StyleSetting"); 
  809.  
  810. /** 
  811. * Retrieves a list of styles. (style.listStyle) 
  812. * 
  813. * @param string $tableId Table whose styles are being listed 
  814. * @param array $optParams Optional parameters. 
  815. * 
  816. * @opt_param string pageToken Continuation token specifying which result page 
  817. * to return. Optional. 
  818. * @opt_param string maxResults Maximum number of styles to return. Optional. 
  819. * Default is 5. 
  820. * @return Google_Service_Fusiontables_StyleSettingList 
  821. */ 
  822. public function listStyle($tableId, $optParams = array()) 
  823. $params = array('tableId' => $tableId); 
  824. $params = array_merge($params, $optParams); 
  825. return $this->call('list', array($params), "Google_Service_Fusiontables_StyleSettingList"); 
  826.  
  827. /** 
  828. * Updates an existing style. This method supports patch semantics. 
  829. * (style.patch) 
  830. * 
  831. * @param string $tableId Table whose style is being updated. 
  832. * @param int $styleId Identifier (within a table) for the style being updated. 
  833. * @param Google_StyleSetting $postBody 
  834. * @param array $optParams Optional parameters. 
  835. * @return Google_Service_Fusiontables_StyleSetting 
  836. */ 
  837. public function patch($tableId, $styleId, Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array()) 
  838. $params = array('tableId' => $tableId, 'styleId' => $styleId, 'postBody' => $postBody); 
  839. $params = array_merge($params, $optParams); 
  840. return $this->call('patch', array($params), "Google_Service_Fusiontables_StyleSetting"); 
  841.  
  842. /** 
  843. * Updates an existing style. (style.update) 
  844. * 
  845. * @param string $tableId Table whose style is being updated. 
  846. * @param int $styleId Identifier (within a table) for the style being updated. 
  847. * @param Google_StyleSetting $postBody 
  848. * @param array $optParams Optional parameters. 
  849. * @return Google_Service_Fusiontables_StyleSetting 
  850. */ 
  851. public function update($tableId, $styleId, Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array()) 
  852. $params = array('tableId' => $tableId, 'styleId' => $styleId, 'postBody' => $postBody); 
  853. $params = array_merge($params, $optParams); 
  854. return $this->call('update', array($params), "Google_Service_Fusiontables_StyleSetting"); 
  855.  
  856. /** 
  857. * The "table" collection of methods. 
  858. * Typical usage is: 
  859. * <code> 
  860. * $fusiontablesService = new Google_Service_Fusiontables(...); 
  861. * $table = $fusiontablesService->table; 
  862. * </code> 
  863. */ 
  864. class Google_Service_Fusiontables_Table_Resource extends Google_Service_Resource 
  865.  
  866. /** 
  867. * Copies a table. (table.copy) 
  868. * 
  869. * @param string $tableId ID of the table that is being copied. 
  870. * @param array $optParams Optional parameters. 
  871. * 
  872. * @opt_param bool copyPresentation Whether to also copy tabs, styles, and 
  873. * templates. Default is false. 
  874. * @return Google_Service_Fusiontables_Table 
  875. */ 
  876. public function copy($tableId, $optParams = array()) 
  877. $params = array('tableId' => $tableId); 
  878. $params = array_merge($params, $optParams); 
  879. return $this->call('copy', array($params), "Google_Service_Fusiontables_Table"); 
  880.  
  881. /** 
  882. * Deletes a table. (table.delete) 
  883. * 
  884. * @param string $tableId ID of the table that is being deleted. 
  885. * @param array $optParams Optional parameters. 
  886. */ 
  887. public function delete($tableId, $optParams = array()) 
  888. $params = array('tableId' => $tableId); 
  889. $params = array_merge($params, $optParams); 
  890. return $this->call('delete', array($params)); 
  891.  
  892. /** 
  893. * Retrieves a specific table by its id. (table.get) 
  894. * 
  895. * @param string $tableId Identifier(ID) for the table being requested. 
  896. * @param array $optParams Optional parameters. 
  897. * @return Google_Service_Fusiontables_Table 
  898. */ 
  899. public function get($tableId, $optParams = array()) 
  900. $params = array('tableId' => $tableId); 
  901. $params = array_merge($params, $optParams); 
  902. return $this->call('get', array($params), "Google_Service_Fusiontables_Table"); 
  903.  
  904. /** 
  905. * Import more rows into a table. (table.importRows) 
  906. * 
  907. * @param string $tableId The table into which new rows are being imported. 
  908. * @param array $optParams Optional parameters. 
  909. * 
  910. * @opt_param int startLine The index of the first line from which to start 
  911. * importing, inclusive. Default is 0. 
  912. * @opt_param bool isStrict Whether the CSV must have the same number of values 
  913. * for each row. If false, rows with fewer values will be padded with empty 
  914. * values. Default is true. 
  915. * @opt_param string encoding The encoding of the content. Default is UTF-8. Use 
  916. * 'auto-detect' if you are unsure of the encoding. 
  917. * @opt_param string delimiter The delimiter used to separate cell values. This 
  918. * can only consist of a single character. Default is ', '. 
  919. * @opt_param int endLine The index of the last line from which to start 
  920. * importing, exclusive. Thus, the number of imported lines is endLine - 
  921. * startLine. If this parameter is not provided, the file will be imported until 
  922. * the last line of the file. If endLine is negative, then the imported content 
  923. * will exclude the last endLine lines. That is, if endline is negative, no line 
  924. * will be imported whose index is greater than N + endLine where N is the 
  925. * number of lines in the file, and the number of imported lines will be N + 
  926. * endLine - startLine. 
  927. * @return Google_Service_Fusiontables_Import 
  928. */ 
  929. public function importRows($tableId, $optParams = array()) 
  930. $params = array('tableId' => $tableId); 
  931. $params = array_merge($params, $optParams); 
  932. return $this->call('importRows', array($params), "Google_Service_Fusiontables_Import"); 
  933.  
  934. /** 
  935. * Import a new table. (table.importTable) 
  936. * 
  937. * @param string $name The name to be assigned to the new table. 
  938. * @param array $optParams Optional parameters. 
  939. * 
  940. * @opt_param string delimiter The delimiter used to separate cell values. This 
  941. * can only consist of a single character. Default is ', '. 
  942. * @opt_param string encoding The encoding of the content. Default is UTF-8. Use 
  943. * 'auto-detect' if you are unsure of the encoding. 
  944. * @return Google_Service_Fusiontables_Table 
  945. */ 
  946. public function importTable($name, $optParams = array()) 
  947. $params = array('name' => $name); 
  948. $params = array_merge($params, $optParams); 
  949. return $this->call('importTable', array($params), "Google_Service_Fusiontables_Table"); 
  950.  
  951. /** 
  952. * Creates a new table. (table.insert) 
  953. * 
  954. * @param Google_Table $postBody 
  955. * @param array $optParams Optional parameters. 
  956. * @return Google_Service_Fusiontables_Table 
  957. */ 
  958. public function insert(Google_Service_Fusiontables_Table $postBody, $optParams = array()) 
  959. $params = array('postBody' => $postBody); 
  960. $params = array_merge($params, $optParams); 
  961. return $this->call('insert', array($params), "Google_Service_Fusiontables_Table"); 
  962.  
  963. /** 
  964. * Retrieves a list of tables a user owns. (table.listTable) 
  965. * 
  966. * @param array $optParams Optional parameters. 
  967. * 
  968. * @opt_param string pageToken Continuation token specifying which result page 
  969. * to return. Optional. 
  970. * @opt_param string maxResults Maximum number of styles to return. Optional. 
  971. * Default is 5. 
  972. * @return Google_Service_Fusiontables_TableList 
  973. */ 
  974. public function listTable($optParams = array()) 
  975. $params = array(); 
  976. $params = array_merge($params, $optParams); 
  977. return $this->call('list', array($params), "Google_Service_Fusiontables_TableList"); 
  978.  
  979. /** 
  980. * Updates an existing table. Unless explicitly requested, only the name,  
  981. * description, and attribution will be updated. This method supports patch 
  982. * semantics. (table.patch) 
  983. * 
  984. * @param string $tableId ID of the table that is being updated. 
  985. * @param Google_Table $postBody 
  986. * @param array $optParams Optional parameters. 
  987. * 
  988. * @opt_param bool replaceViewDefinition Should the view definition also be 
  989. * updated? The specified view definition replaces the existing one. Only a view 
  990. * can be updated with a new definition. 
  991. * @return Google_Service_Fusiontables_Table 
  992. */ 
  993. public function patch($tableId, Google_Service_Fusiontables_Table $postBody, $optParams = array()) 
  994. $params = array('tableId' => $tableId, 'postBody' => $postBody); 
  995. $params = array_merge($params, $optParams); 
  996. return $this->call('patch', array($params), "Google_Service_Fusiontables_Table"); 
  997.  
  998. /** 
  999. * Replaces rows of an existing table. Current rows remain visible until all 
  1000. * replacement rows are ready. (table.replaceRows) 
  1001. * 
  1002. * @param string $tableId Table whose rows will be replaced. 
  1003. * @param array $optParams Optional parameters. 
  1004. * 
  1005. * @opt_param int startLine The index of the first line from which to start 
  1006. * importing, inclusive. Default is 0. 
  1007. * @opt_param bool isStrict Whether the CSV must have the same number of column 
  1008. * values for each row. If true, throws an exception if the CSV does not not 
  1009. * have the same number of columns. If false, rows with fewer column values will 
  1010. * be padded with empty values. Default is true. 
  1011. * @opt_param string encoding The encoding of the content. Default is UTF-8. Use 
  1012. * 'auto-detect' if you are unsure of the encoding. 
  1013. * @opt_param string delimiter The delimiter used to separate cell values. This 
  1014. * can only consist of a single character. Default is ', '. 
  1015. * @opt_param int endLine The index of the last line to import, exclusive. 
  1016. * 'endLine - startLine' rows will be imported. Default is to import through the 
  1017. * end of the file. If endLine is negative, it is an offset from the end of the 
  1018. * file; the imported content will exclude the last endLine lines. 
  1019. * @return Google_Service_Fusiontables_Task 
  1020. */ 
  1021. public function replaceRows($tableId, $optParams = array()) 
  1022. $params = array('tableId' => $tableId); 
  1023. $params = array_merge($params, $optParams); 
  1024. return $this->call('replaceRows', array($params), "Google_Service_Fusiontables_Task"); 
  1025.  
  1026. /** 
  1027. * Updates an existing table. Unless explicitly requested, only the name,  
  1028. * description, and attribution will be updated. (table.update) 
  1029. * 
  1030. * @param string $tableId ID of the table that is being updated. 
  1031. * @param Google_Table $postBody 
  1032. * @param array $optParams Optional parameters. 
  1033. * 
  1034. * @opt_param bool replaceViewDefinition Should the view definition also be 
  1035. * updated? The specified view definition replaces the existing one. Only a view 
  1036. * can be updated with a new definition. 
  1037. * @return Google_Service_Fusiontables_Table 
  1038. */ 
  1039. public function update($tableId, Google_Service_Fusiontables_Table $postBody, $optParams = array()) 
  1040. $params = array('tableId' => $tableId, 'postBody' => $postBody); 
  1041. $params = array_merge($params, $optParams); 
  1042. return $this->call('update', array($params), "Google_Service_Fusiontables_Table"); 
  1043.  
  1044. /** 
  1045. * The "task" collection of methods. 
  1046. * Typical usage is: 
  1047. * <code> 
  1048. * $fusiontablesService = new Google_Service_Fusiontables(...); 
  1049. * $task = $fusiontablesService->task; 
  1050. * </code> 
  1051. */ 
  1052. class Google_Service_Fusiontables_Task_Resource extends Google_Service_Resource 
  1053.  
  1054. /** 
  1055. * Deletes the task, unless already started. (task.delete) 
  1056. * 
  1057. * @param string $tableId Table from which the task is being deleted. 
  1058. * @param string $taskId 
  1059. * @param array $optParams Optional parameters. 
  1060. */ 
  1061. public function delete($tableId, $taskId, $optParams = array()) 
  1062. $params = array('tableId' => $tableId, 'taskId' => $taskId); 
  1063. $params = array_merge($params, $optParams); 
  1064. return $this->call('delete', array($params)); 
  1065.  
  1066. /** 
  1067. * Retrieves a specific task by its id. (task.get) 
  1068. * 
  1069. * @param string $tableId Table to which the task belongs. 
  1070. * @param string $taskId 
  1071. * @param array $optParams Optional parameters. 
  1072. * @return Google_Service_Fusiontables_Task 
  1073. */ 
  1074. public function get($tableId, $taskId, $optParams = array()) 
  1075. $params = array('tableId' => $tableId, 'taskId' => $taskId); 
  1076. $params = array_merge($params, $optParams); 
  1077. return $this->call('get', array($params), "Google_Service_Fusiontables_Task"); 
  1078.  
  1079. /** 
  1080. * Retrieves a list of tasks. (task.listTask) 
  1081. * 
  1082. * @param string $tableId Table whose tasks are being listed. 
  1083. * @param array $optParams Optional parameters. 
  1084. * 
  1085. * @opt_param string pageToken Continuation token specifying which result page 
  1086. * to return. 
  1087. * @opt_param string startIndex Index of the first result returned in the 
  1088. * current page. 
  1089. * @opt_param string maxResults Maximum number of tasks to return. Default is 5. 
  1090. * @return Google_Service_Fusiontables_TaskList 
  1091. */ 
  1092. public function listTask($tableId, $optParams = array()) 
  1093. $params = array('tableId' => $tableId); 
  1094. $params = array_merge($params, $optParams); 
  1095. return $this->call('list', array($params), "Google_Service_Fusiontables_TaskList"); 
  1096.  
  1097. /** 
  1098. * The "template" collection of methods. 
  1099. * Typical usage is: 
  1100. * <code> 
  1101. * $fusiontablesService = new Google_Service_Fusiontables(...); 
  1102. * $template = $fusiontablesService->template; 
  1103. * </code> 
  1104. */ 
  1105. class Google_Service_Fusiontables_Template_Resource extends Google_Service_Resource 
  1106.  
  1107. /** 
  1108. * Deletes a template (template.delete) 
  1109. * 
  1110. * @param string $tableId Table from which the template is being deleted 
  1111. * @param int $templateId Identifier for the template which is being deleted 
  1112. * @param array $optParams Optional parameters. 
  1113. */ 
  1114. public function delete($tableId, $templateId, $optParams = array()) 
  1115. $params = array('tableId' => $tableId, 'templateId' => $templateId); 
  1116. $params = array_merge($params, $optParams); 
  1117. return $this->call('delete', array($params)); 
  1118.  
  1119. /** 
  1120. * Retrieves a specific template by its id (template.get) 
  1121. * 
  1122. * @param string $tableId Table to which the template belongs 
  1123. * @param int $templateId Identifier for the template that is being requested 
  1124. * @param array $optParams Optional parameters. 
  1125. * @return Google_Service_Fusiontables_Template 
  1126. */ 
  1127. public function get($tableId, $templateId, $optParams = array()) 
  1128. $params = array('tableId' => $tableId, 'templateId' => $templateId); 
  1129. $params = array_merge($params, $optParams); 
  1130. return $this->call('get', array($params), "Google_Service_Fusiontables_Template"); 
  1131.  
  1132. /** 
  1133. * Creates a new template for the table. (template.insert) 
  1134. * 
  1135. * @param string $tableId Table for which a new template is being created 
  1136. * @param Google_Template $postBody 
  1137. * @param array $optParams Optional parameters. 
  1138. * @return Google_Service_Fusiontables_Template 
  1139. */ 
  1140. public function insert($tableId, Google_Service_Fusiontables_Template $postBody, $optParams = array()) 
  1141. $params = array('tableId' => $tableId, 'postBody' => $postBody); 
  1142. $params = array_merge($params, $optParams); 
  1143. return $this->call('insert', array($params), "Google_Service_Fusiontables_Template"); 
  1144.  
  1145. /** 
  1146. * Retrieves a list of templates. (template.listTemplate) 
  1147. * 
  1148. * @param string $tableId Identifier for the table whose templates are being 
  1149. * requested 
  1150. * @param array $optParams Optional parameters. 
  1151. * 
  1152. * @opt_param string pageToken Continuation token specifying which results page 
  1153. * to return. Optional. 
  1154. * @opt_param string maxResults Maximum number of templates to return. Optional. 
  1155. * Default is 5. 
  1156. * @return Google_Service_Fusiontables_TemplateList 
  1157. */ 
  1158. public function listTemplate($tableId, $optParams = array()) 
  1159. $params = array('tableId' => $tableId); 
  1160. $params = array_merge($params, $optParams); 
  1161. return $this->call('list', array($params), "Google_Service_Fusiontables_TemplateList"); 
  1162.  
  1163. /** 
  1164. * Updates an existing template. This method supports patch semantics. 
  1165. * (template.patch) 
  1166. * 
  1167. * @param string $tableId Table to which the updated template belongs 
  1168. * @param int $templateId Identifier for the template that is being updated 
  1169. * @param Google_Template $postBody 
  1170. * @param array $optParams Optional parameters. 
  1171. * @return Google_Service_Fusiontables_Template 
  1172. */ 
  1173. public function patch($tableId, $templateId, Google_Service_Fusiontables_Template $postBody, $optParams = array()) 
  1174. $params = array('tableId' => $tableId, 'templateId' => $templateId, 'postBody' => $postBody); 
  1175. $params = array_merge($params, $optParams); 
  1176. return $this->call('patch', array($params), "Google_Service_Fusiontables_Template"); 
  1177.  
  1178. /** 
  1179. * Updates an existing template (template.update) 
  1180. * 
  1181. * @param string $tableId Table to which the updated template belongs 
  1182. * @param int $templateId Identifier for the template that is being updated 
  1183. * @param Google_Template $postBody 
  1184. * @param array $optParams Optional parameters. 
  1185. * @return Google_Service_Fusiontables_Template 
  1186. */ 
  1187. public function update($tableId, $templateId, Google_Service_Fusiontables_Template $postBody, $optParams = array()) 
  1188. $params = array('tableId' => $tableId, 'templateId' => $templateId, 'postBody' => $postBody); 
  1189. $params = array_merge($params, $optParams); 
  1190. return $this->call('update', array($params), "Google_Service_Fusiontables_Template"); 
  1191.  
  1192.  
  1193.  
  1194.  
  1195. class Google_Service_Fusiontables_Bucket extends Google_Model 
  1196. protected $internal_gapi_mappings = array( 
  1197. ); 
  1198. public $color; 
  1199. public $icon; 
  1200. public $max; 
  1201. public $min; 
  1202. public $opacity; 
  1203. public $weight; 
  1204.  
  1205.  
  1206. public function setColor($color) 
  1207. $this->color = $color; 
  1208. public function getColor() 
  1209. return $this->color; 
  1210. public function setIcon($icon) 
  1211. $this->icon = $icon; 
  1212. public function getIcon() 
  1213. return $this->icon; 
  1214. public function setMax($max) 
  1215. $this->max = $max; 
  1216. public function getMax() 
  1217. return $this->max; 
  1218. public function setMin($min) 
  1219. $this->min = $min; 
  1220. public function getMin() 
  1221. return $this->min; 
  1222. public function setOpacity($opacity) 
  1223. $this->opacity = $opacity; 
  1224. public function getOpacity() 
  1225. return $this->opacity; 
  1226. public function setWeight($weight) 
  1227. $this->weight = $weight; 
  1228. public function getWeight() 
  1229. return $this->weight; 
  1230.  
  1231. class Google_Service_Fusiontables_Column extends Google_Collection 
  1232. protected $collection_key = 'validValues'; 
  1233. protected $internal_gapi_mappings = array( 
  1234. ); 
  1235. protected $baseColumnType = 'Google_Service_Fusiontables_ColumnBaseColumn'; 
  1236. protected $baseColumnDataType = ''; 
  1237. public $columnId; 
  1238. public $columnJsonSchema; 
  1239. public $columnPropertiesJson; 
  1240. public $description; 
  1241. public $formatPattern; 
  1242. public $graphPredicate; 
  1243. public $kind; 
  1244. public $name; 
  1245. public $type; 
  1246. public $validValues; 
  1247. public $validateData; 
  1248.  
  1249.  
  1250. public function setBaseColumn(Google_Service_Fusiontables_ColumnBaseColumn $baseColumn) 
  1251. $this->baseColumn = $baseColumn; 
  1252. public function getBaseColumn() 
  1253. return $this->baseColumn; 
  1254. public function setColumnId($columnId) 
  1255. $this->columnId = $columnId; 
  1256. public function getColumnId() 
  1257. return $this->columnId; 
  1258. public function setColumnJsonSchema($columnJsonSchema) 
  1259. $this->columnJsonSchema = $columnJsonSchema; 
  1260. public function getColumnJsonSchema() 
  1261. return $this->columnJsonSchema; 
  1262. public function setColumnPropertiesJson($columnPropertiesJson) 
  1263. $this->columnPropertiesJson = $columnPropertiesJson; 
  1264. public function getColumnPropertiesJson() 
  1265. return $this->columnPropertiesJson; 
  1266. public function setDescription($description) 
  1267. $this->description = $description; 
  1268. public function getDescription() 
  1269. return $this->description; 
  1270. public function setFormatPattern($formatPattern) 
  1271. $this->formatPattern = $formatPattern; 
  1272. public function getFormatPattern() 
  1273. return $this->formatPattern; 
  1274. public function setGraphPredicate($graphPredicate) 
  1275. $this->graphPredicate = $graphPredicate; 
  1276. public function getGraphPredicate() 
  1277. return $this->graphPredicate; 
  1278. public function setKind($kind) 
  1279. $this->kind = $kind; 
  1280. public function getKind() 
  1281. return $this->kind; 
  1282. public function setName($name) 
  1283. $this->name = $name; 
  1284. public function getName() 
  1285. return $this->name; 
  1286. public function setType($type) 
  1287. $this->type = $type; 
  1288. public function getType() 
  1289. return $this->type; 
  1290. public function setValidValues($validValues) 
  1291. $this->validValues = $validValues; 
  1292. public function getValidValues() 
  1293. return $this->validValues; 
  1294. public function setValidateData($validateData) 
  1295. $this->validateData = $validateData; 
  1296. public function getValidateData() 
  1297. return $this->validateData; 
  1298.  
  1299. class Google_Service_Fusiontables_ColumnBaseColumn extends Google_Model 
  1300. protected $internal_gapi_mappings = array( 
  1301. ); 
  1302. public $columnId; 
  1303. public $tableIndex; 
  1304.  
  1305.  
  1306. public function setColumnId($columnId) 
  1307. $this->columnId = $columnId; 
  1308. public function getColumnId() 
  1309. return $this->columnId; 
  1310. public function setTableIndex($tableIndex) 
  1311. $this->tableIndex = $tableIndex; 
  1312. public function getTableIndex() 
  1313. return $this->tableIndex; 
  1314.  
  1315. class Google_Service_Fusiontables_ColumnList extends Google_Collection 
  1316. protected $collection_key = 'items'; 
  1317. protected $internal_gapi_mappings = array( 
  1318. ); 
  1319. protected $itemsType = 'Google_Service_Fusiontables_Column'; 
  1320. protected $itemsDataType = 'array'; 
  1321. public $kind; 
  1322. public $nextPageToken; 
  1323. public $totalItems; 
  1324.  
  1325.  
  1326. public function setItems($items) 
  1327. $this->items = $items; 
  1328. public function getItems() 
  1329. return $this->items; 
  1330. public function setKind($kind) 
  1331. $this->kind = $kind; 
  1332. public function getKind() 
  1333. return $this->kind; 
  1334. public function setNextPageToken($nextPageToken) 
  1335. $this->nextPageToken = $nextPageToken; 
  1336. public function getNextPageToken() 
  1337. return $this->nextPageToken; 
  1338. public function setTotalItems($totalItems) 
  1339. $this->totalItems = $totalItems; 
  1340. public function getTotalItems() 
  1341. return $this->totalItems; 
  1342.  
  1343. class Google_Service_Fusiontables_Geometry extends Google_Collection 
  1344. protected $collection_key = 'geometries'; 
  1345. protected $internal_gapi_mappings = array( 
  1346. ); 
  1347. public $geometries; 
  1348. public $geometry; 
  1349. public $type; 
  1350.  
  1351.  
  1352. public function setGeometries($geometries) 
  1353. $this->geometries = $geometries; 
  1354. public function getGeometries() 
  1355. return $this->geometries; 
  1356. public function setGeometry($geometry) 
  1357. $this->geometry = $geometry; 
  1358. public function getGeometry() 
  1359. return $this->geometry; 
  1360. public function setType($type) 
  1361. $this->type = $type; 
  1362. public function getType() 
  1363. return $this->type; 
  1364.  
  1365. class Google_Service_Fusiontables_Import extends Google_Model 
  1366. protected $internal_gapi_mappings = array( 
  1367. ); 
  1368. public $kind; 
  1369. public $numRowsReceived; 
  1370.  
  1371.  
  1372. public function setKind($kind) 
  1373. $this->kind = $kind; 
  1374. public function getKind() 
  1375. return $this->kind; 
  1376. public function setNumRowsReceived($numRowsReceived) 
  1377. $this->numRowsReceived = $numRowsReceived; 
  1378. public function getNumRowsReceived() 
  1379. return $this->numRowsReceived; 
  1380.  
  1381. class Google_Service_Fusiontables_Line extends Google_Collection 
  1382. protected $collection_key = 'coordinates'; 
  1383. protected $internal_gapi_mappings = array( 
  1384. ); 
  1385. public $coordinates; 
  1386. public $type; 
  1387.  
  1388.  
  1389. public function setCoordinates($coordinates) 
  1390. $this->coordinates = $coordinates; 
  1391. public function getCoordinates() 
  1392. return $this->coordinates; 
  1393. public function setType($type) 
  1394. $this->type = $type; 
  1395. public function getType() 
  1396. return $this->type; 
  1397.  
  1398. class Google_Service_Fusiontables_LineStyle extends Google_Model 
  1399. protected $internal_gapi_mappings = array( 
  1400. ); 
  1401. public $strokeColor; 
  1402. protected $strokeColorStylerType = 'Google_Service_Fusiontables_StyleFunction'; 
  1403. protected $strokeColorStylerDataType = ''; 
  1404. public $strokeOpacity; 
  1405. public $strokeWeight; 
  1406. protected $strokeWeightStylerType = 'Google_Service_Fusiontables_StyleFunction'; 
  1407. protected $strokeWeightStylerDataType = ''; 
  1408.  
  1409.  
  1410. public function setStrokeColor($strokeColor) 
  1411. $this->strokeColor = $strokeColor; 
  1412. public function getStrokeColor() 
  1413. return $this->strokeColor; 
  1414. public function setStrokeColorStyler(Google_Service_Fusiontables_StyleFunction $strokeColorStyler) 
  1415. $this->strokeColorStyler = $strokeColorStyler; 
  1416. public function getStrokeColorStyler() 
  1417. return $this->strokeColorStyler; 
  1418. public function setStrokeOpacity($strokeOpacity) 
  1419. $this->strokeOpacity = $strokeOpacity; 
  1420. public function getStrokeOpacity() 
  1421. return $this->strokeOpacity; 
  1422. public function setStrokeWeight($strokeWeight) 
  1423. $this->strokeWeight = $strokeWeight; 
  1424. public function getStrokeWeight() 
  1425. return $this->strokeWeight; 
  1426. public function setStrokeWeightStyler(Google_Service_Fusiontables_StyleFunction $strokeWeightStyler) 
  1427. $this->strokeWeightStyler = $strokeWeightStyler; 
  1428. public function getStrokeWeightStyler() 
  1429. return $this->strokeWeightStyler; 
  1430.  
  1431. class Google_Service_Fusiontables_Point extends Google_Collection 
  1432. protected $collection_key = 'coordinates'; 
  1433. protected $internal_gapi_mappings = array( 
  1434. ); 
  1435. public $coordinates; 
  1436. public $type; 
  1437.  
  1438.  
  1439. public function setCoordinates($coordinates) 
  1440. $this->coordinates = $coordinates; 
  1441. public function getCoordinates() 
  1442. return $this->coordinates; 
  1443. public function setType($type) 
  1444. $this->type = $type; 
  1445. public function getType() 
  1446. return $this->type; 
  1447.  
  1448. class Google_Service_Fusiontables_PointStyle extends Google_Model 
  1449. protected $internal_gapi_mappings = array( 
  1450. ); 
  1451. public $iconName; 
  1452. protected $iconStylerType = 'Google_Service_Fusiontables_StyleFunction'; 
  1453. protected $iconStylerDataType = ''; 
  1454.  
  1455.  
  1456. public function setIconName($iconName) 
  1457. $this->iconName = $iconName; 
  1458. public function getIconName() 
  1459. return $this->iconName; 
  1460. public function setIconStyler(Google_Service_Fusiontables_StyleFunction $iconStyler) 
  1461. $this->iconStyler = $iconStyler; 
  1462. public function getIconStyler() 
  1463. return $this->iconStyler; 
  1464.  
  1465. class Google_Service_Fusiontables_Polygon extends Google_Collection 
  1466. protected $collection_key = 'coordinates'; 
  1467. protected $internal_gapi_mappings = array( 
  1468. ); 
  1469. public $coordinates; 
  1470. public $type; 
  1471.  
  1472.  
  1473. public function setCoordinates($coordinates) 
  1474. $this->coordinates = $coordinates; 
  1475. public function getCoordinates() 
  1476. return $this->coordinates; 
  1477. public function setType($type) 
  1478. $this->type = $type; 
  1479. public function getType() 
  1480. return $this->type; 
  1481.  
  1482. class Google_Service_Fusiontables_PolygonStyle extends Google_Model 
  1483. protected $internal_gapi_mappings = array( 
  1484. ); 
  1485. public $fillColor; 
  1486. protected $fillColorStylerType = 'Google_Service_Fusiontables_StyleFunction'; 
  1487. protected $fillColorStylerDataType = ''; 
  1488. public $fillOpacity; 
  1489. public $strokeColor; 
  1490. protected $strokeColorStylerType = 'Google_Service_Fusiontables_StyleFunction'; 
  1491. protected $strokeColorStylerDataType = ''; 
  1492. public $strokeOpacity; 
  1493. public $strokeWeight; 
  1494. protected $strokeWeightStylerType = 'Google_Service_Fusiontables_StyleFunction'; 
  1495. protected $strokeWeightStylerDataType = ''; 
  1496.  
  1497.  
  1498. public function setFillColor($fillColor) 
  1499. $this->fillColor = $fillColor; 
  1500. public function getFillColor() 
  1501. return $this->fillColor; 
  1502. public function setFillColorStyler(Google_Service_Fusiontables_StyleFunction $fillColorStyler) 
  1503. $this->fillColorStyler = $fillColorStyler; 
  1504. public function getFillColorStyler() 
  1505. return $this->fillColorStyler; 
  1506. public function setFillOpacity($fillOpacity) 
  1507. $this->fillOpacity = $fillOpacity; 
  1508. public function getFillOpacity() 
  1509. return $this->fillOpacity; 
  1510. public function setStrokeColor($strokeColor) 
  1511. $this->strokeColor = $strokeColor; 
  1512. public function getStrokeColor() 
  1513. return $this->strokeColor; 
  1514. public function setStrokeColorStyler(Google_Service_Fusiontables_StyleFunction $strokeColorStyler) 
  1515. $this->strokeColorStyler = $strokeColorStyler; 
  1516. public function getStrokeColorStyler() 
  1517. return $this->strokeColorStyler; 
  1518. public function setStrokeOpacity($strokeOpacity) 
  1519. $this->strokeOpacity = $strokeOpacity; 
  1520. public function getStrokeOpacity() 
  1521. return $this->strokeOpacity; 
  1522. public function setStrokeWeight($strokeWeight) 
  1523. $this->strokeWeight = $strokeWeight; 
  1524. public function getStrokeWeight() 
  1525. return $this->strokeWeight; 
  1526. public function setStrokeWeightStyler(Google_Service_Fusiontables_StyleFunction $strokeWeightStyler) 
  1527. $this->strokeWeightStyler = $strokeWeightStyler; 
  1528. public function getStrokeWeightStyler() 
  1529. return $this->strokeWeightStyler; 
  1530.  
  1531. class Google_Service_Fusiontables_Sqlresponse extends Google_Collection 
  1532. protected $collection_key = 'rows'; 
  1533. protected $internal_gapi_mappings = array( 
  1534. ); 
  1535. public $columns; 
  1536. public $kind; 
  1537. public $rows; 
  1538.  
  1539.  
  1540. public function setColumns($columns) 
  1541. $this->columns = $columns; 
  1542. public function getColumns() 
  1543. return $this->columns; 
  1544. public function setKind($kind) 
  1545. $this->kind = $kind; 
  1546. public function getKind() 
  1547. return $this->kind; 
  1548. public function setRows($rows) 
  1549. $this->rows = $rows; 
  1550. public function getRows() 
  1551. return $this->rows; 
  1552.  
  1553. class Google_Service_Fusiontables_StyleFunction extends Google_Collection 
  1554. protected $collection_key = 'buckets'; 
  1555. protected $internal_gapi_mappings = array( 
  1556. ); 
  1557. protected $bucketsType = 'Google_Service_Fusiontables_Bucket'; 
  1558. protected $bucketsDataType = 'array'; 
  1559. public $columnName; 
  1560. protected $gradientType = 'Google_Service_Fusiontables_StyleFunctionGradient'; 
  1561. protected $gradientDataType = ''; 
  1562. public $kind; 
  1563.  
  1564.  
  1565. public function setBuckets($buckets) 
  1566. $this->buckets = $buckets; 
  1567. public function getBuckets() 
  1568. return $this->buckets; 
  1569. public function setColumnName($columnName) 
  1570. $this->columnName = $columnName; 
  1571. public function getColumnName() 
  1572. return $this->columnName; 
  1573. public function setGradient(Google_Service_Fusiontables_StyleFunctionGradient $gradient) 
  1574. $this->gradient = $gradient; 
  1575. public function getGradient() 
  1576. return $this->gradient; 
  1577. public function setKind($kind) 
  1578. $this->kind = $kind; 
  1579. public function getKind() 
  1580. return $this->kind; 
  1581.  
  1582. class Google_Service_Fusiontables_StyleFunctionGradient extends Google_Collection 
  1583. protected $collection_key = 'colors'; 
  1584. protected $internal_gapi_mappings = array( 
  1585. ); 
  1586. protected $colorsType = 'Google_Service_Fusiontables_StyleFunctionGradientColors'; 
  1587. protected $colorsDataType = 'array'; 
  1588. public $max; 
  1589. public $min; 
  1590.  
  1591.  
  1592. public function setColors($colors) 
  1593. $this->colors = $colors; 
  1594. public function getColors() 
  1595. return $this->colors; 
  1596. public function setMax($max) 
  1597. $this->max = $max; 
  1598. public function getMax() 
  1599. return $this->max; 
  1600. public function setMin($min) 
  1601. $this->min = $min; 
  1602. public function getMin() 
  1603. return $this->min; 
  1604.  
  1605. class Google_Service_Fusiontables_StyleFunctionGradientColors extends Google_Model 
  1606. protected $internal_gapi_mappings = array( 
  1607. ); 
  1608. public $color; 
  1609. public $opacity; 
  1610.  
  1611.  
  1612. public function setColor($color) 
  1613. $this->color = $color; 
  1614. public function getColor() 
  1615. return $this->color; 
  1616. public function setOpacity($opacity) 
  1617. $this->opacity = $opacity; 
  1618. public function getOpacity() 
  1619. return $this->opacity; 
  1620.  
  1621. class Google_Service_Fusiontables_StyleSetting extends Google_Model 
  1622. protected $internal_gapi_mappings = array( 
  1623. ); 
  1624. public $kind; 
  1625. protected $markerOptionsType = 'Google_Service_Fusiontables_PointStyle'; 
  1626. protected $markerOptionsDataType = ''; 
  1627. public $name; 
  1628. protected $polygonOptionsType = 'Google_Service_Fusiontables_PolygonStyle'; 
  1629. protected $polygonOptionsDataType = ''; 
  1630. protected $polylineOptionsType = 'Google_Service_Fusiontables_LineStyle'; 
  1631. protected $polylineOptionsDataType = ''; 
  1632. public $styleId; 
  1633. public $tableId; 
  1634.  
  1635.  
  1636. public function setKind($kind) 
  1637. $this->kind = $kind; 
  1638. public function getKind() 
  1639. return $this->kind; 
  1640. public function setMarkerOptions(Google_Service_Fusiontables_PointStyle $markerOptions) 
  1641. $this->markerOptions = $markerOptions; 
  1642. public function getMarkerOptions() 
  1643. return $this->markerOptions; 
  1644. public function setName($name) 
  1645. $this->name = $name; 
  1646. public function getName() 
  1647. return $this->name; 
  1648. public function setPolygonOptions(Google_Service_Fusiontables_PolygonStyle $polygonOptions) 
  1649. $this->polygonOptions = $polygonOptions; 
  1650. public function getPolygonOptions() 
  1651. return $this->polygonOptions; 
  1652. public function setPolylineOptions(Google_Service_Fusiontables_LineStyle $polylineOptions) 
  1653. $this->polylineOptions = $polylineOptions; 
  1654. public function getPolylineOptions() 
  1655. return $this->polylineOptions; 
  1656. public function setStyleId($styleId) 
  1657. $this->styleId = $styleId; 
  1658. public function getStyleId() 
  1659. return $this->styleId; 
  1660. public function setTableId($tableId) 
  1661. $this->tableId = $tableId; 
  1662. public function getTableId() 
  1663. return $this->tableId; 
  1664.  
  1665. class Google_Service_Fusiontables_StyleSettingList extends Google_Collection 
  1666. protected $collection_key = 'items'; 
  1667. protected $internal_gapi_mappings = array( 
  1668. ); 
  1669. protected $itemsType = 'Google_Service_Fusiontables_StyleSetting'; 
  1670. protected $itemsDataType = 'array'; 
  1671. public $kind; 
  1672. public $nextPageToken; 
  1673. public $totalItems; 
  1674.  
  1675.  
  1676. public function setItems($items) 
  1677. $this->items = $items; 
  1678. public function getItems() 
  1679. return $this->items; 
  1680. public function setKind($kind) 
  1681. $this->kind = $kind; 
  1682. public function getKind() 
  1683. return $this->kind; 
  1684. public function setNextPageToken($nextPageToken) 
  1685. $this->nextPageToken = $nextPageToken; 
  1686. public function getNextPageToken() 
  1687. return $this->nextPageToken; 
  1688. public function setTotalItems($totalItems) 
  1689. $this->totalItems = $totalItems; 
  1690. public function getTotalItems() 
  1691. return $this->totalItems; 
  1692.  
  1693. class Google_Service_Fusiontables_Table extends Google_Collection 
  1694. protected $collection_key = 'columns'; 
  1695. protected $internal_gapi_mappings = array( 
  1696. ); 
  1697. public $attribution; 
  1698. public $attributionLink; 
  1699. public $baseTableIds; 
  1700. public $columnPropertiesJsonSchema; 
  1701. protected $columnsType = 'Google_Service_Fusiontables_Column'; 
  1702. protected $columnsDataType = 'array'; 
  1703. public $description; 
  1704. public $isExportable; 
  1705. public $kind; 
  1706. public $name; 
  1707. public $sql; 
  1708. public $tableId; 
  1709. public $tablePropertiesJson; 
  1710. public $tablePropertiesJsonSchema; 
  1711.  
  1712.  
  1713. public function setAttribution($attribution) 
  1714. $this->attribution = $attribution; 
  1715. public function getAttribution() 
  1716. return $this->attribution; 
  1717. public function setAttributionLink($attributionLink) 
  1718. $this->attributionLink = $attributionLink; 
  1719. public function getAttributionLink() 
  1720. return $this->attributionLink; 
  1721. public function setBaseTableIds($baseTableIds) 
  1722. $this->baseTableIds = $baseTableIds; 
  1723. public function getBaseTableIds() 
  1724. return $this->baseTableIds; 
  1725. public function setColumnPropertiesJsonSchema($columnPropertiesJsonSchema) 
  1726. $this->columnPropertiesJsonSchema = $columnPropertiesJsonSchema; 
  1727. public function getColumnPropertiesJsonSchema() 
  1728. return $this->columnPropertiesJsonSchema; 
  1729. public function setColumns($columns) 
  1730. $this->columns = $columns; 
  1731. public function getColumns() 
  1732. return $this->columns; 
  1733. public function setDescription($description) 
  1734. $this->description = $description; 
  1735. public function getDescription() 
  1736. return $this->description; 
  1737. public function setIsExportable($isExportable) 
  1738. $this->isExportable = $isExportable; 
  1739. public function getIsExportable() 
  1740. return $this->isExportable; 
  1741. public function setKind($kind) 
  1742. $this->kind = $kind; 
  1743. public function getKind() 
  1744. return $this->kind; 
  1745. public function setName($name) 
  1746. $this->name = $name; 
  1747. public function getName() 
  1748. return $this->name; 
  1749. public function setSql($sql) 
  1750. $this->sql = $sql; 
  1751. public function getSql() 
  1752. return $this->sql; 
  1753. public function setTableId($tableId) 
  1754. $this->tableId = $tableId; 
  1755. public function getTableId() 
  1756. return $this->tableId; 
  1757. public function setTablePropertiesJson($tablePropertiesJson) 
  1758. $this->tablePropertiesJson = $tablePropertiesJson; 
  1759. public function getTablePropertiesJson() 
  1760. return $this->tablePropertiesJson; 
  1761. public function setTablePropertiesJsonSchema($tablePropertiesJsonSchema) 
  1762. $this->tablePropertiesJsonSchema = $tablePropertiesJsonSchema; 
  1763. public function getTablePropertiesJsonSchema() 
  1764. return $this->tablePropertiesJsonSchema; 
  1765.  
  1766. class Google_Service_Fusiontables_TableList extends Google_Collection 
  1767. protected $collection_key = 'items'; 
  1768. protected $internal_gapi_mappings = array( 
  1769. ); 
  1770. protected $itemsType = 'Google_Service_Fusiontables_Table'; 
  1771. protected $itemsDataType = 'array'; 
  1772. public $kind; 
  1773. public $nextPageToken; 
  1774.  
  1775.  
  1776. public function setItems($items) 
  1777. $this->items = $items; 
  1778. public function getItems() 
  1779. return $this->items; 
  1780. public function setKind($kind) 
  1781. $this->kind = $kind; 
  1782. public function getKind() 
  1783. return $this->kind; 
  1784. public function setNextPageToken($nextPageToken) 
  1785. $this->nextPageToken = $nextPageToken; 
  1786. public function getNextPageToken() 
  1787. return $this->nextPageToken; 
  1788.  
  1789. class Google_Service_Fusiontables_Task extends Google_Model 
  1790. protected $internal_gapi_mappings = array( 
  1791. ); 
  1792. public $kind; 
  1793. public $progress; 
  1794. public $started; 
  1795. public $taskId; 
  1796. public $type; 
  1797.  
  1798.  
  1799. public function setKind($kind) 
  1800. $this->kind = $kind; 
  1801. public function getKind() 
  1802. return $this->kind; 
  1803. public function setProgress($progress) 
  1804. $this->progress = $progress; 
  1805. public function getProgress() 
  1806. return $this->progress; 
  1807. public function setStarted($started) 
  1808. $this->started = $started; 
  1809. public function getStarted() 
  1810. return $this->started; 
  1811. public function setTaskId($taskId) 
  1812. $this->taskId = $taskId; 
  1813. public function getTaskId() 
  1814. return $this->taskId; 
  1815. public function setType($type) 
  1816. $this->type = $type; 
  1817. public function getType() 
  1818. return $this->type; 
  1819.  
  1820. class Google_Service_Fusiontables_TaskList extends Google_Collection 
  1821. protected $collection_key = 'items'; 
  1822. protected $internal_gapi_mappings = array( 
  1823. ); 
  1824. protected $itemsType = 'Google_Service_Fusiontables_Task'; 
  1825. protected $itemsDataType = 'array'; 
  1826. public $kind; 
  1827. public $nextPageToken; 
  1828. public $totalItems; 
  1829.  
  1830.  
  1831. public function setItems($items) 
  1832. $this->items = $items; 
  1833. public function getItems() 
  1834. return $this->items; 
  1835. public function setKind($kind) 
  1836. $this->kind = $kind; 
  1837. public function getKind() 
  1838. return $this->kind; 
  1839. public function setNextPageToken($nextPageToken) 
  1840. $this->nextPageToken = $nextPageToken; 
  1841. public function getNextPageToken() 
  1842. return $this->nextPageToken; 
  1843. public function setTotalItems($totalItems) 
  1844. $this->totalItems = $totalItems; 
  1845. public function getTotalItems() 
  1846. return $this->totalItems; 
  1847.  
  1848. class Google_Service_Fusiontables_Template extends Google_Collection 
  1849. protected $collection_key = 'automaticColumnNames'; 
  1850. protected $internal_gapi_mappings = array( 
  1851. ); 
  1852. public $automaticColumnNames; 
  1853. public $body; 
  1854. public $kind; 
  1855. public $name; 
  1856. public $tableId; 
  1857. public $templateId; 
  1858.  
  1859.  
  1860. public function setAutomaticColumnNames($automaticColumnNames) 
  1861. $this->automaticColumnNames = $automaticColumnNames; 
  1862. public function getAutomaticColumnNames() 
  1863. return $this->automaticColumnNames; 
  1864. public function setBody($body) 
  1865. $this->body = $body; 
  1866. public function getBody() 
  1867. return $this->body; 
  1868. public function setKind($kind) 
  1869. $this->kind = $kind; 
  1870. public function getKind() 
  1871. return $this->kind; 
  1872. public function setName($name) 
  1873. $this->name = $name; 
  1874. public function getName() 
  1875. return $this->name; 
  1876. public function setTableId($tableId) 
  1877. $this->tableId = $tableId; 
  1878. public function getTableId() 
  1879. return $this->tableId; 
  1880. public function setTemplateId($templateId) 
  1881. $this->templateId = $templateId; 
  1882. public function getTemplateId() 
  1883. return $this->templateId; 
  1884.  
  1885. class Google_Service_Fusiontables_TemplateList extends Google_Collection 
  1886. protected $collection_key = 'items'; 
  1887. protected $internal_gapi_mappings = array( 
  1888. ); 
  1889. protected $itemsType = 'Google_Service_Fusiontables_Template'; 
  1890. protected $itemsDataType = 'array'; 
  1891. public $kind; 
  1892. public $nextPageToken; 
  1893. public $totalItems; 
  1894.  
  1895.  
  1896. public function setItems($items) 
  1897. $this->items = $items; 
  1898. public function getItems() 
  1899. return $this->items; 
  1900. public function setKind($kind) 
  1901. $this->kind = $kind; 
  1902. public function getKind() 
  1903. return $this->kind; 
  1904. public function setNextPageToken($nextPageToken) 
  1905. $this->nextPageToken = $nextPageToken; 
  1906. public function getNextPageToken() 
  1907. return $this->nextPageToken; 
  1908. public function setTotalItems($totalItems) 
  1909. $this->totalItems = $totalItems; 
  1910. public function getTotalItems() 
  1911. return $this->totalItems; 
.