PageRenderTime 73ms CodeModel.GetById 27ms RepoModel.GetById 0ms app.codeStats 0ms

/src/Google/Service/Fusiontables.php

https://github.com/leogaggl/pluspress
PHP | 2200 lines | 1569 code | 219 blank | 412 comment | 0 complexity | 2122b9c878da9460053e655561f4d86b MD5 | raw file

Large files files are truncated, but you can click here to view the full file

  1. <?php
  2. /*
  3. * Copyright 2010 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. /**
  18. * Service definition for Fusiontables (v1).
  19. *
  20. * <p>
  21. * API for working with Fusion Tables data.
  22. * </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. {
  33. /** Manage your Fusion Tables. */
  34. const FUSIONTABLES = "https://www.googleapis.com/auth/fusiontables";
  35. /** View your Fusion Tables. */
  36. const FUSIONTABLES_READONLY = "https://www.googleapis.com/auth/fusiontables.readonly";
  37. public $column;
  38. public $query;
  39. public $style;
  40. public $table;
  41. public $template;
  42. /**
  43. * Constructs the internal representation of the Fusiontables service.
  44. *
  45. * @param Google_Client $client
  46. */
  47. public function __construct(Google_Client $client)
  48. {
  49. parent::__construct($client);
  50. $this->servicePath = 'fusiontables/v1/';
  51. $this->version = 'v1';
  52. $this->serviceName = 'fusiontables';
  53. $this->column = new Google_Service_Fusiontables_Column_Resource(
  54. $this,
  55. $this->serviceName,
  56. 'column',
  57. array(
  58. 'methods' => array(
  59. 'delete' => array(
  60. 'path' => 'tables/{tableId}/columns/{columnId}',
  61. 'httpMethod' => 'DELETE',
  62. 'parameters' => array(
  63. 'tableId' => array(
  64. 'location' => 'path',
  65. 'type' => 'string',
  66. 'required' => true,
  67. ),
  68. 'columnId' => array(
  69. 'location' => 'path',
  70. 'type' => 'string',
  71. 'required' => true,
  72. ),
  73. ),
  74. ),'get' => array(
  75. 'path' => 'tables/{tableId}/columns/{columnId}',
  76. 'httpMethod' => 'GET',
  77. 'parameters' => array(
  78. 'tableId' => array(
  79. 'location' => 'path',
  80. 'type' => 'string',
  81. 'required' => true,
  82. ),
  83. 'columnId' => array(
  84. 'location' => 'path',
  85. 'type' => 'string',
  86. 'required' => true,
  87. ),
  88. ),
  89. ),'insert' => array(
  90. 'path' => 'tables/{tableId}/columns',
  91. 'httpMethod' => 'POST',
  92. 'parameters' => array(
  93. 'tableId' => array(
  94. 'location' => 'path',
  95. 'type' => 'string',
  96. 'required' => true,
  97. ),
  98. ),
  99. ),'list' => array(
  100. 'path' => 'tables/{tableId}/columns',
  101. 'httpMethod' => 'GET',
  102. 'parameters' => array(
  103. 'tableId' => array(
  104. 'location' => 'path',
  105. 'type' => 'string',
  106. 'required' => true,
  107. ),
  108. 'pageToken' => array(
  109. 'location' => 'query',
  110. 'type' => 'string',
  111. ),
  112. 'maxResults' => array(
  113. 'location' => 'query',
  114. 'type' => 'integer',
  115. ),
  116. ),
  117. ),'patch' => array(
  118. 'path' => 'tables/{tableId}/columns/{columnId}',
  119. 'httpMethod' => 'PATCH',
  120. 'parameters' => array(
  121. 'tableId' => array(
  122. 'location' => 'path',
  123. 'type' => 'string',
  124. 'required' => true,
  125. ),
  126. 'columnId' => array(
  127. 'location' => 'path',
  128. 'type' => 'string',
  129. 'required' => true,
  130. ),
  131. ),
  132. ),'update' => array(
  133. 'path' => 'tables/{tableId}/columns/{columnId}',
  134. 'httpMethod' => 'PUT',
  135. 'parameters' => array(
  136. 'tableId' => array(
  137. 'location' => 'path',
  138. 'type' => 'string',
  139. 'required' => true,
  140. ),
  141. 'columnId' => array(
  142. 'location' => 'path',
  143. 'type' => 'string',
  144. 'required' => true,
  145. ),
  146. ),
  147. ),
  148. )
  149. )
  150. );
  151. $this->query = new Google_Service_Fusiontables_Query_Resource(
  152. $this,
  153. $this->serviceName,
  154. 'query',
  155. array(
  156. 'methods' => array(
  157. 'sql' => array(
  158. 'path' => 'query',
  159. 'httpMethod' => 'POST',
  160. 'parameters' => array(
  161. 'sql' => array(
  162. 'location' => 'query',
  163. 'type' => 'string',
  164. 'required' => true,
  165. ),
  166. 'typed' => array(
  167. 'location' => 'query',
  168. 'type' => 'boolean',
  169. ),
  170. 'hdrs' => array(
  171. 'location' => 'query',
  172. 'type' => 'boolean',
  173. ),
  174. ),
  175. ),'sqlGet' => array(
  176. 'path' => 'query',
  177. 'httpMethod' => 'GET',
  178. 'parameters' => array(
  179. 'sql' => array(
  180. 'location' => 'query',
  181. 'type' => 'string',
  182. 'required' => true,
  183. ),
  184. 'typed' => array(
  185. 'location' => 'query',
  186. 'type' => 'boolean',
  187. ),
  188. 'hdrs' => array(
  189. 'location' => 'query',
  190. 'type' => 'boolean',
  191. ),
  192. ),
  193. ),
  194. )
  195. )
  196. );
  197. $this->style = new Google_Service_Fusiontables_Style_Resource(
  198. $this,
  199. $this->serviceName,
  200. 'style',
  201. array(
  202. 'methods' => array(
  203. 'delete' => array(
  204. 'path' => 'tables/{tableId}/styles/{styleId}',
  205. 'httpMethod' => 'DELETE',
  206. 'parameters' => array(
  207. 'tableId' => array(
  208. 'location' => 'path',
  209. 'type' => 'string',
  210. 'required' => true,
  211. ),
  212. 'styleId' => array(
  213. 'location' => 'path',
  214. 'type' => 'integer',
  215. 'required' => true,
  216. ),
  217. ),
  218. ),'get' => array(
  219. 'path' => 'tables/{tableId}/styles/{styleId}',
  220. 'httpMethod' => 'GET',
  221. 'parameters' => array(
  222. 'tableId' => array(
  223. 'location' => 'path',
  224. 'type' => 'string',
  225. 'required' => true,
  226. ),
  227. 'styleId' => array(
  228. 'location' => 'path',
  229. 'type' => 'integer',
  230. 'required' => true,
  231. ),
  232. ),
  233. ),'insert' => array(
  234. 'path' => 'tables/{tableId}/styles',
  235. 'httpMethod' => 'POST',
  236. 'parameters' => array(
  237. 'tableId' => array(
  238. 'location' => 'path',
  239. 'type' => 'string',
  240. 'required' => true,
  241. ),
  242. ),
  243. ),'list' => array(
  244. 'path' => 'tables/{tableId}/styles',
  245. 'httpMethod' => 'GET',
  246. 'parameters' => array(
  247. 'tableId' => array(
  248. 'location' => 'path',
  249. 'type' => 'string',
  250. 'required' => true,
  251. ),
  252. 'pageToken' => array(
  253. 'location' => 'query',
  254. 'type' => 'string',
  255. ),
  256. 'maxResults' => array(
  257. 'location' => 'query',
  258. 'type' => 'integer',
  259. ),
  260. ),
  261. ),'patch' => array(
  262. 'path' => 'tables/{tableId}/styles/{styleId}',
  263. 'httpMethod' => 'PATCH',
  264. 'parameters' => array(
  265. 'tableId' => array(
  266. 'location' => 'path',
  267. 'type' => 'string',
  268. 'required' => true,
  269. ),
  270. 'styleId' => array(
  271. 'location' => 'path',
  272. 'type' => 'integer',
  273. 'required' => true,
  274. ),
  275. ),
  276. ),'update' => array(
  277. 'path' => 'tables/{tableId}/styles/{styleId}',
  278. 'httpMethod' => 'PUT',
  279. 'parameters' => array(
  280. 'tableId' => array(
  281. 'location' => 'path',
  282. 'type' => 'string',
  283. 'required' => true,
  284. ),
  285. 'styleId' => array(
  286. 'location' => 'path',
  287. 'type' => 'integer',
  288. 'required' => true,
  289. ),
  290. ),
  291. ),
  292. )
  293. )
  294. );
  295. $this->table = new Google_Service_Fusiontables_Table_Resource(
  296. $this,
  297. $this->serviceName,
  298. 'table',
  299. array(
  300. 'methods' => array(
  301. 'copy' => array(
  302. 'path' => 'tables/{tableId}/copy',
  303. 'httpMethod' => 'POST',
  304. 'parameters' => array(
  305. 'tableId' => array(
  306. 'location' => 'path',
  307. 'type' => 'string',
  308. 'required' => true,
  309. ),
  310. 'copyPresentation' => array(
  311. 'location' => 'query',
  312. 'type' => 'boolean',
  313. ),
  314. ),
  315. ),'delete' => array(
  316. 'path' => 'tables/{tableId}',
  317. 'httpMethod' => 'DELETE',
  318. 'parameters' => array(
  319. 'tableId' => array(
  320. 'location' => 'path',
  321. 'type' => 'string',
  322. 'required' => true,
  323. ),
  324. ),
  325. ),'get' => array(
  326. 'path' => 'tables/{tableId}',
  327. 'httpMethod' => 'GET',
  328. 'parameters' => array(
  329. 'tableId' => array(
  330. 'location' => 'path',
  331. 'type' => 'string',
  332. 'required' => true,
  333. ),
  334. ),
  335. ),'importRows' => array(
  336. 'path' => 'tables/{tableId}/import',
  337. 'httpMethod' => 'POST',
  338. 'parameters' => array(
  339. 'tableId' => array(
  340. 'location' => 'path',
  341. 'type' => 'string',
  342. 'required' => true,
  343. ),
  344. 'startLine' => array(
  345. 'location' => 'query',
  346. 'type' => 'integer',
  347. ),
  348. 'isStrict' => array(
  349. 'location' => 'query',
  350. 'type' => 'boolean',
  351. ),
  352. 'encoding' => array(
  353. 'location' => 'query',
  354. 'type' => 'string',
  355. ),
  356. 'delimiter' => array(
  357. 'location' => 'query',
  358. 'type' => 'string',
  359. ),
  360. 'endLine' => array(
  361. 'location' => 'query',
  362. 'type' => 'integer',
  363. ),
  364. ),
  365. ),'importTable' => array(
  366. 'path' => 'tables/import',
  367. 'httpMethod' => 'POST',
  368. 'parameters' => array(
  369. 'name' => array(
  370. 'location' => 'query',
  371. 'type' => 'string',
  372. 'required' => true,
  373. ),
  374. 'delimiter' => array(
  375. 'location' => 'query',
  376. 'type' => 'string',
  377. ),
  378. 'encoding' => array(
  379. 'location' => 'query',
  380. 'type' => 'string',
  381. ),
  382. ),
  383. ),'insert' => array(
  384. 'path' => 'tables',
  385. 'httpMethod' => 'POST',
  386. 'parameters' => array(),
  387. ),'list' => array(
  388. 'path' => 'tables',
  389. 'httpMethod' => 'GET',
  390. 'parameters' => array(
  391. 'pageToken' => array(
  392. 'location' => 'query',
  393. 'type' => 'string',
  394. ),
  395. 'maxResults' => array(
  396. 'location' => 'query',
  397. 'type' => 'integer',
  398. ),
  399. ),
  400. ),'patch' => array(
  401. 'path' => 'tables/{tableId}',
  402. 'httpMethod' => 'PATCH',
  403. 'parameters' => array(
  404. 'tableId' => array(
  405. 'location' => 'path',
  406. 'type' => 'string',
  407. 'required' => true,
  408. ),
  409. 'replaceViewDefinition' => array(
  410. 'location' => 'query',
  411. 'type' => 'boolean',
  412. ),
  413. ),
  414. ),'update' => array(
  415. 'path' => 'tables/{tableId}',
  416. 'httpMethod' => 'PUT',
  417. 'parameters' => array(
  418. 'tableId' => array(
  419. 'location' => 'path',
  420. 'type' => 'string',
  421. 'required' => true,
  422. ),
  423. 'replaceViewDefinition' => array(
  424. 'location' => 'query',
  425. 'type' => 'boolean',
  426. ),
  427. ),
  428. ),
  429. )
  430. )
  431. );
  432. $this->template = new Google_Service_Fusiontables_Template_Resource(
  433. $this,
  434. $this->serviceName,
  435. 'template',
  436. array(
  437. 'methods' => array(
  438. 'delete' => array(
  439. 'path' => 'tables/{tableId}/templates/{templateId}',
  440. 'httpMethod' => 'DELETE',
  441. 'parameters' => array(
  442. 'tableId' => array(
  443. 'location' => 'path',
  444. 'type' => 'string',
  445. 'required' => true,
  446. ),
  447. 'templateId' => array(
  448. 'location' => 'path',
  449. 'type' => 'integer',
  450. 'required' => true,
  451. ),
  452. ),
  453. ),'get' => array(
  454. 'path' => 'tables/{tableId}/templates/{templateId}',
  455. 'httpMethod' => 'GET',
  456. 'parameters' => array(
  457. 'tableId' => array(
  458. 'location' => 'path',
  459. 'type' => 'string',
  460. 'required' => true,
  461. ),
  462. 'templateId' => array(
  463. 'location' => 'path',
  464. 'type' => 'integer',
  465. 'required' => true,
  466. ),
  467. ),
  468. ),'insert' => array(
  469. 'path' => 'tables/{tableId}/templates',
  470. 'httpMethod' => 'POST',
  471. 'parameters' => array(
  472. 'tableId' => array(
  473. 'location' => 'path',
  474. 'type' => 'string',
  475. 'required' => true,
  476. ),
  477. ),
  478. ),'list' => array(
  479. 'path' => 'tables/{tableId}/templates',
  480. 'httpMethod' => 'GET',
  481. 'parameters' => array(
  482. 'tableId' => array(
  483. 'location' => 'path',
  484. 'type' => 'string',
  485. 'required' => true,
  486. ),
  487. 'pageToken' => array(
  488. 'location' => 'query',
  489. 'type' => 'string',
  490. ),
  491. 'maxResults' => array(
  492. 'location' => 'query',
  493. 'type' => 'integer',
  494. ),
  495. ),
  496. ),'patch' => array(
  497. 'path' => 'tables/{tableId}/templates/{templateId}',
  498. 'httpMethod' => 'PATCH',
  499. 'parameters' => array(
  500. 'tableId' => array(
  501. 'location' => 'path',
  502. 'type' => 'string',
  503. 'required' => true,
  504. ),
  505. 'templateId' => array(
  506. 'location' => 'path',
  507. 'type' => 'integer',
  508. 'required' => true,
  509. ),
  510. ),
  511. ),'update' => array(
  512. 'path' => 'tables/{tableId}/templates/{templateId}',
  513. 'httpMethod' => 'PUT',
  514. 'parameters' => array(
  515. 'tableId' => array(
  516. 'location' => 'path',
  517. 'type' => 'string',
  518. 'required' => true,
  519. ),
  520. 'templateId' => array(
  521. 'location' => 'path',
  522. 'type' => 'integer',
  523. 'required' => true,
  524. ),
  525. ),
  526. ),
  527. )
  528. )
  529. );
  530. }
  531. }
  532. /**
  533. * The "column" collection of methods.
  534. * Typical usage is:
  535. * <code>
  536. * $fusiontablesService = new Google_Service_Fusiontables(...);
  537. * $column = $fusiontablesService->column;
  538. * </code>
  539. */
  540. class Google_Service_Fusiontables_Column_Resource extends Google_Service_Resource
  541. {
  542. /**
  543. * Deletes the column. (column.delete)
  544. *
  545. * @param string $tableId
  546. * Table from which the column is being deleted.
  547. * @param string $columnId
  548. * Name or identifier for the column being deleted.
  549. * @param array $optParams Optional parameters.
  550. */
  551. public function delete($tableId, $columnId, $optParams = array())
  552. {
  553. $params = array('tableId' => $tableId, 'columnId' => $columnId);
  554. $params = array_merge($params, $optParams);
  555. return $this->call('delete', array($params));
  556. }
  557. /**
  558. * Retrieves a specific column by its id. (column.get)
  559. *
  560. * @param string $tableId
  561. * Table to which the column belongs.
  562. * @param string $columnId
  563. * Name or identifier for the column that is being requested.
  564. * @param array $optParams Optional parameters.
  565. * @return Google_Service_Fusiontables_Column
  566. */
  567. public function get($tableId, $columnId, $optParams = array())
  568. {
  569. $params = array('tableId' => $tableId, 'columnId' => $columnId);
  570. $params = array_merge($params, $optParams);
  571. return $this->call('get', array($params), "Google_Service_Fusiontables_Column");
  572. }
  573. /**
  574. * Adds a new column to the table. (column.insert)
  575. *
  576. * @param string $tableId
  577. * Table for which a new column is being added.
  578. * @param Google_Column $postBody
  579. * @param array $optParams Optional parameters.
  580. * @return Google_Service_Fusiontables_Column
  581. */
  582. public function insert($tableId, Google_Service_Fusiontables_Column $postBody, $optParams = array())
  583. {
  584. $params = array('tableId' => $tableId, 'postBody' => $postBody);
  585. $params = array_merge($params, $optParams);
  586. return $this->call('insert', array($params), "Google_Service_Fusiontables_Column");
  587. }
  588. /**
  589. * Retrieves a list of columns. (column.listColumn)
  590. *
  591. * @param string $tableId
  592. * Table whose columns are being listed.
  593. * @param array $optParams Optional parameters.
  594. *
  595. * @opt_param string pageToken
  596. * Continuation token specifying which result page to return. Optional.
  597. * @opt_param string maxResults
  598. * Maximum number of columns to return. Optional. Default is 5.
  599. * @return Google_Service_Fusiontables_ColumnList
  600. */
  601. public function listColumn($tableId, $optParams = array())
  602. {
  603. $params = array('tableId' => $tableId);
  604. $params = array_merge($params, $optParams);
  605. return $this->call('list', array($params), "Google_Service_Fusiontables_ColumnList");
  606. }
  607. /**
  608. * Updates the name or type of an existing column. This method supports patch
  609. * semantics. (column.patch)
  610. *
  611. * @param string $tableId
  612. * Table for which the column is being updated.
  613. * @param string $columnId
  614. * Name or identifier for the column that is being updated.
  615. * @param Google_Column $postBody
  616. * @param array $optParams Optional parameters.
  617. * @return Google_Service_Fusiontables_Column
  618. */
  619. public function patch($tableId, $columnId, Google_Service_Fusiontables_Column $postBody, $optParams = array())
  620. {
  621. $params = array('tableId' => $tableId, 'columnId' => $columnId, 'postBody' => $postBody);
  622. $params = array_merge($params, $optParams);
  623. return $this->call('patch', array($params), "Google_Service_Fusiontables_Column");
  624. }
  625. /**
  626. * Updates the name or type of an existing column. (column.update)
  627. *
  628. * @param string $tableId
  629. * Table for which the column is being updated.
  630. * @param string $columnId
  631. * Name or identifier for the column that is being updated.
  632. * @param Google_Column $postBody
  633. * @param array $optParams Optional parameters.
  634. * @return Google_Service_Fusiontables_Column
  635. */
  636. public function update($tableId, $columnId, Google_Service_Fusiontables_Column $postBody, $optParams = array())
  637. {
  638. $params = array('tableId' => $tableId, 'columnId' => $columnId, 'postBody' => $postBody);
  639. $params = array_merge($params, $optParams);
  640. return $this->call('update', array($params), "Google_Service_Fusiontables_Column");
  641. }
  642. }
  643. /**
  644. * The "query" collection of methods.
  645. * Typical usage is:
  646. * <code>
  647. * $fusiontablesService = new Google_Service_Fusiontables(...);
  648. * $query = $fusiontablesService->query;
  649. * </code>
  650. */
  651. class Google_Service_Fusiontables_Query_Resource extends Google_Service_Resource
  652. {
  653. /**
  654. * Executes an SQL SELECT/INSERT/UPDATE/DELETE/SHOW/DESCRIBE/CREATE statement.
  655. * (query.sql)
  656. *
  657. * @param string $sql
  658. * An SQL SELECT/SHOW/DESCRIBE/INSERT/UPDATE/DELETE/CREATE statement.
  659. * @param array $optParams Optional parameters.
  660. *
  661. * @opt_param bool typed
  662. * Should typed values be returned in the (JSON) response -- numbers for numeric values and parsed
  663. * geometries for KML values? Default is true.
  664. * @opt_param bool hdrs
  665. * Should column names be included (in the first row)?. Default is true.
  666. * @return Google_Service_Fusiontables_Sqlresponse
  667. */
  668. public function sql($sql, $optParams = array())
  669. {
  670. $params = array('sql' => $sql);
  671. $params = array_merge($params, $optParams);
  672. return $this->call('sql', array($params), "Google_Service_Fusiontables_Sqlresponse");
  673. }
  674. /**
  675. * Executes an SQL SELECT/SHOW/DESCRIBE statement. (query.sqlGet)
  676. *
  677. * @param string $sql
  678. * An SQL SELECT/SHOW/DESCRIBE statement.
  679. * @param array $optParams Optional parameters.
  680. *
  681. * @opt_param bool typed
  682. * Should typed values be returned in the (JSON) response -- numbers for numeric values and parsed
  683. * geometries for KML values? Default is true.
  684. * @opt_param bool hdrs
  685. * Should column names be included (in the first row)?. Default is true.
  686. * @return Google_Service_Fusiontables_Sqlresponse
  687. */
  688. public function sqlGet($sql, $optParams = array())
  689. {
  690. $params = array('sql' => $sql);
  691. $params = array_merge($params, $optParams);
  692. return $this->call('sqlGet', array($params), "Google_Service_Fusiontables_Sqlresponse");
  693. }
  694. }
  695. /**
  696. * The "style" collection of methods.
  697. * Typical usage is:
  698. * <code>
  699. * $fusiontablesService = new Google_Service_Fusiontables(...);
  700. * $style = $fusiontablesService->style;
  701. * </code>
  702. */
  703. class Google_Service_Fusiontables_Style_Resource extends Google_Service_Resource
  704. {
  705. /**
  706. * Deletes a style. (style.delete)
  707. *
  708. * @param string $tableId
  709. * Table from which the style is being deleted
  710. * @param int $styleId
  711. * Identifier (within a table) for the style being deleted
  712. * @param array $optParams Optional parameters.
  713. */
  714. public function delete($tableId, $styleId, $optParams = array())
  715. {
  716. $params = array('tableId' => $tableId, 'styleId' => $styleId);
  717. $params = array_merge($params, $optParams);
  718. return $this->call('delete', array($params));
  719. }
  720. /**
  721. * Gets a specific style. (style.get)
  722. *
  723. * @param string $tableId
  724. * Table to which the requested style belongs
  725. * @param int $styleId
  726. * Identifier (integer) for a specific style in a table
  727. * @param array $optParams Optional parameters.
  728. * @return Google_Service_Fusiontables_StyleSetting
  729. */
  730. public function get($tableId, $styleId, $optParams = array())
  731. {
  732. $params = array('tableId' => $tableId, 'styleId' => $styleId);
  733. $params = array_merge($params, $optParams);
  734. return $this->call('get', array($params), "Google_Service_Fusiontables_StyleSetting");
  735. }
  736. /**
  737. * Adds a new style for the table. (style.insert)
  738. *
  739. * @param string $tableId
  740. * Table for which a new style is being added
  741. * @param Google_StyleSetting $postBody
  742. * @param array $optParams Optional parameters.
  743. * @return Google_Service_Fusiontables_StyleSetting
  744. */
  745. public function insert($tableId, Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array())
  746. {
  747. $params = array('tableId' => $tableId, 'postBody' => $postBody);
  748. $params = array_merge($params, $optParams);
  749. return $this->call('insert', array($params), "Google_Service_Fusiontables_StyleSetting");
  750. }
  751. /**
  752. * Retrieves a list of styles. (style.listStyle)
  753. *
  754. * @param string $tableId
  755. * Table whose styles are being listed
  756. * @param array $optParams Optional parameters.
  757. *
  758. * @opt_param string pageToken
  759. * Continuation token specifying which result page to return. Optional.
  760. * @opt_param string maxResults
  761. * Maximum number of styles to return. Optional. Default is 5.
  762. * @return Google_Service_Fusiontables_StyleSettingList
  763. */
  764. public function listStyle($tableId, $optParams = array())
  765. {
  766. $params = array('tableId' => $tableId);
  767. $params = array_merge($params, $optParams);
  768. return $this->call('list', array($params), "Google_Service_Fusiontables_StyleSettingList");
  769. }
  770. /**
  771. * Updates an existing style. This method supports patch semantics.
  772. * (style.patch)
  773. *
  774. * @param string $tableId
  775. * Table whose style is being updated.
  776. * @param int $styleId
  777. * Identifier (within a table) for the style being updated.
  778. * @param Google_StyleSetting $postBody
  779. * @param array $optParams Optional parameters.
  780. * @return Google_Service_Fusiontables_StyleSetting
  781. */
  782. public function patch($tableId, $styleId, Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array())
  783. {
  784. $params = array('tableId' => $tableId, 'styleId' => $styleId, 'postBody' => $postBody);
  785. $params = array_merge($params, $optParams);
  786. return $this->call('patch', array($params), "Google_Service_Fusiontables_StyleSetting");
  787. }
  788. /**
  789. * Updates an existing style. (style.update)
  790. *
  791. * @param string $tableId
  792. * Table whose style is being updated.
  793. * @param int $styleId
  794. * Identifier (within a table) for the style being updated.
  795. * @param Google_StyleSetting $postBody
  796. * @param array $optParams Optional parameters.
  797. * @return Google_Service_Fusiontables_StyleSetting
  798. */
  799. public function update($tableId, $styleId, Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array())
  800. {
  801. $params = array('tableId' => $tableId, 'styleId' => $styleId, 'postBody' => $postBody);
  802. $params = array_merge($params, $optParams);
  803. return $this->call('update', array($params), "Google_Service_Fusiontables_StyleSetting");
  804. }
  805. }
  806. /**
  807. * The "table" collection of methods.
  808. * Typical usage is:
  809. * <code>
  810. * $fusiontablesService = new Google_Service_Fusiontables(...);
  811. * $table = $fusiontablesService->table;
  812. * </code>
  813. */
  814. class Google_Service_Fusiontables_Table_Resource extends Google_Service_Resource
  815. {
  816. /**
  817. * Copies a table. (table.copy)
  818. *
  819. * @param string $tableId
  820. * ID of the table that is being copied.
  821. * @param array $optParams Optional parameters.
  822. *
  823. * @opt_param bool copyPresentation
  824. * Whether to also copy tabs, styles, and templates. Default is false.
  825. * @return Google_Service_Fusiontables_Table
  826. */
  827. public function copy($tableId, $optParams = array())
  828. {
  829. $params = array('tableId' => $tableId);
  830. $params = array_merge($params, $optParams);
  831. return $this->call('copy', array($params), "Google_Service_Fusiontables_Table");
  832. }
  833. /**
  834. * Deletes a table. (table.delete)
  835. *
  836. * @param string $tableId
  837. * ID of the table that is being deleted.
  838. * @param array $optParams Optional parameters.
  839. */
  840. public function delete($tableId, $optParams = array())
  841. {
  842. $params = array('tableId' => $tableId);
  843. $params = array_merge($params, $optParams);
  844. return $this->call('delete', array($params));
  845. }
  846. /**
  847. * Retrieves a specific table by its id. (table.get)
  848. *
  849. * @param string $tableId
  850. * Identifier(ID) for the table being requested.
  851. * @param array $optParams Optional parameters.
  852. * @return Google_Service_Fusiontables_Table
  853. */
  854. public function get($tableId, $optParams = array())
  855. {
  856. $params = array('tableId' => $tableId);
  857. $params = array_merge($params, $optParams);
  858. return $this->call('get', array($params), "Google_Service_Fusiontables_Table");
  859. }
  860. /**
  861. * Import more rows into a table. (table.importRows)
  862. *
  863. * @param string $tableId
  864. * The table into which new rows are being imported.
  865. * @param array $optParams Optional parameters.
  866. *
  867. * @opt_param int startLine
  868. * The index of the first line from which to start importing, inclusive. Default is 0.
  869. * @opt_param bool isStrict
  870. * Whether the CSV must have the same number of values for each row. If false, rows with fewer
  871. * values will be padded with empty values. Default is true.
  872. * @opt_param string encoding
  873. * The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the
  874. * encoding.
  875. * @opt_param string delimiter
  876. * The delimiter used to separate cell values. This can only consist of a single character. Default
  877. * is ','.
  878. * @opt_param int endLine
  879. * The index of the last line from which to start importing, exclusive. Thus, the number of
  880. * imported lines is endLine - startLine. If this parameter is not provided, the file will be
  881. * imported until the last line of the file. If endLine is negative, then the imported content will
  882. * exclude the last endLine lines. That is, if endline is negative, no line will be imported whose
  883. * index is greater than N + endLine where N is the number of lines in the file, and the number of
  884. * imported lines will be N + endLine - startLine.
  885. * @return Google_Service_Fusiontables_Import
  886. */
  887. public function importRows($tableId, $optParams = array())
  888. {
  889. $params = array('tableId' => $tableId);
  890. $params = array_merge($params, $optParams);
  891. return $this->call('importRows', array($params), "Google_Service_Fusiontables_Import");
  892. }
  893. /**
  894. * Import a new table. (table.importTable)
  895. *
  896. * @param string $name
  897. * The name to be assigned to the new table.
  898. * @param array $optParams Optional parameters.
  899. *
  900. * @opt_param string delimiter
  901. * The delimiter used to separate cell values. This can only consist of a single character. Default
  902. * is ','.
  903. * @opt_param string encoding
  904. * The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the
  905. * encoding.
  906. * @return Google_Service_Fusiontables_Table
  907. */
  908. public function importTable($name, $optParams = array())
  909. {
  910. $params = array('name' => $name);
  911. $params = array_merge($params, $optParams);
  912. return $this->call('importTable', array($params), "Google_Service_Fusiontables_Table");
  913. }
  914. /**
  915. * Creates a new table. (table.insert)
  916. *
  917. * @param Google_Table $postBody
  918. * @param array $optParams Optional parameters.
  919. * @return Google_Service_Fusiontables_Table
  920. */
  921. public function insert(Google_Service_Fusiontables_Table $postBody, $optParams = array())
  922. {
  923. $params = array('postBody' => $postBody);
  924. $params = array_merge($params, $optParams);
  925. return $this->call('insert', array($params), "Google_Service_Fusiontables_Table");
  926. }
  927. /**
  928. * Retrieves a list of tables a user owns. (table.listTable)
  929. *
  930. * @param array $optParams Optional parameters.
  931. *
  932. * @opt_param string pageToken
  933. * Continuation token specifying which result page to return. Optional.
  934. * @opt_param string maxResults
  935. * Maximum number of styles to return. Optional. Default is 5.
  936. * @return Google_Service_Fusiontables_TableList
  937. */
  938. public function listTable($optParams = array())
  939. {
  940. $params = array();
  941. $params = array_merge($params, $optParams);
  942. return $this->call('list', array($params), "Google_Service_Fusiontables_TableList");
  943. }
  944. /**
  945. * Updates an existing table. Unless explicitly requested, only the name,
  946. * description, and attribution will be updated. This method supports patch
  947. * semantics. (table.patch)
  948. *
  949. * @param string $tableId
  950. * ID of the table that is being updated.
  951. * @param Google_Table $postBody
  952. * @param array $optParams Optional parameters.
  953. *
  954. * @opt_param bool replaceViewDefinition
  955. * Should the view definition also be updated? The specified view definition replaces the existing
  956. * one. Only a view can be updated with a new definition.
  957. * @return Google_Service_Fusiontables_Table
  958. */
  959. public function patch($tableId, Google_Service_Fusiontables_Table $postBody, $optParams = array())
  960. {
  961. $params = array('tableId' => $tableId, 'postBody' => $postBody);
  962. $params = array_merge($params, $optParams);
  963. return $this->call('patch', array($params), "Google_Service_Fusiontables_Table");
  964. }
  965. /**
  966. * Updates an existing table. Unless explicitly requested, only the name,
  967. * description, and attribution will be updated. (table.update)
  968. *
  969. * @param string $tableId
  970. * ID of the table that is being updated.
  971. * @param Google_Table $postBody
  972. * @param array $optParams Optional parameters.
  973. *
  974. * @opt_param bool replaceViewDefinition
  975. * Should the view definition also be updated? The specified view definition replaces the existing
  976. * one. Only a view can be updated with a new definition.
  977. * @return Google_Service_Fusiontables_Table
  978. */
  979. public function update($tableId, Google_Service_Fusiontables_Table $postBody, $optParams = array())
  980. {
  981. $params = array('tableId' => $tableId, 'postBody' => $postBody);
  982. $params = array_merge($params, $optParams);
  983. return $this->call('update', array($params), "Google_Service_Fusiontables_Table");
  984. }
  985. }
  986. /**
  987. * The "template" collection of methods.
  988. * Typical usage is:
  989. * <code>
  990. * $fusiontablesService = new Google_Service_Fusiontables(...);
  991. * $template = $fusiontablesService->template;
  992. * </code>
  993. */
  994. class Google_Service_Fusiontables_Template_Resource extends Google_Service_Resource
  995. {
  996. /**
  997. * Deletes a template (template.delete)
  998. *
  999. * @param string $tableId
  1000. * Table from which the template is being deleted
  1001. * @param int $templateId
  1002. * Identifier for the template which is being deleted
  1003. * @param array $optParams Optional parameters.
  1004. */
  1005. public function delete($tableId, $templateId, $optParams = array())
  1006. {
  1007. $params = array('tableId' => $tableId, 'templateId' => $templateId);
  1008. $params = array_merge($params, $optParams);
  1009. return $this->call('delete', array($params));
  1010. }
  1011. /**
  1012. * Retrieves a specific template by its id (template.get)
  1013. *
  1014. * @param string $tableId
  1015. * Table to which the template belongs
  1016. * @param int $templateId
  1017. * Identifier for the template that is being requested
  1018. * @param array $optParams Optional parameters.
  1019. * @return Google_Service_Fusiontables_Template
  1020. */
  1021. public function get($tableId, $templateId, $optParams = array())
  1022. {
  1023. $params = array('tableId' => $tableId, 'templateId' => $templateId);
  1024. $params = array_merge($params, $optParams);
  1025. return $this->call('get', array($params), "Google_Service_Fusiontables_Template");
  1026. }
  1027. /**
  1028. * Creates a new template for the table. (template.insert)
  1029. *
  1030. * @param string $tableId
  1031. * Table for which a new template is being created
  1032. * @param Google_Template $postBody
  1033. * @param array $optParams Optional parameters.
  1034. * @return Google_Service_Fusiontables_Template
  1035. */
  1036. public function insert($tableId, Google_Service_Fusiontables_Template $postBody, $optParams = array())
  1037. {
  1038. $params = array('tableId' => $tableId, 'postBody' => $postBody);
  1039. $params = array_merge($params, $optParams);
  1040. return $this->call('insert', array($params), "Google_Service_Fusiontables_Template");
  1041. }
  1042. /**
  1043. * Retrieves a list of templates. (template.listTemplate)
  1044. *
  1045. * @param string $tableId
  1046. * Identifier for the table whose templates are being requested
  1047. * @param array $optParams Optional parameters.
  1048. *
  1049. * @opt_param string pageToken
  1050. * Continuation token specifying which results page to return. Optional.
  1051. * @opt_param string maxResults
  1052. * Maximum number of templates to return. Optional. Default is 5.
  1053. * @return Google_Service_Fusiontables_TemplateList
  1054. */
  1055. public function listTemplate($tableId, $optParams = array())
  1056. {
  1057. $params = array('tableId' => $tableId);
  1058. $params = array_merge($params, $optParams);
  1059. return $this->call('list', array($params), "Google_Service_Fusiontables_TemplateList");
  1060. }
  1061. /**
  1062. * Updates an existing template. This method supports patch semantics.
  1063. * (template.patch)
  1064. *
  1065. * @param string $tableId
  1066. * Table to which the updated template belongs
  1067. * @param int $templateId
  1068. * Identifier for the template that is being updated
  1069. * @param Google_Template $postBody
  1070. * @param array $optParams Optional parameters.
  1071. * @return Google_Service_Fusiontables_Template
  1072. */
  1073. public function patch($tableId, $templateId, Google_Service_Fusiontables_Template $postBody, $optParams = array())
  1074. {
  1075. $params = array('tableId' => $tableId, 'templateId' => $templateId, 'postBody' => $postBody);
  1076. $params = array_merge($params, $optParams);
  1077. return $this->call('patch', array($params), "Google_Service_Fusiontables_Template");
  1078. }
  1079. /**
  1080. * Updates an existing template (template.update)
  1081. *
  1082. * @param string $tableId
  1083. * Table to which the updated template belongs
  1084. * @param int $templateId
  1085. * Identifier for the template that is being updated
  1086. * @param Google_Template $postBody
  1087. * @param array $optParams Optional parameters.
  1088. * @return Google_Service_Fusiontables_Template
  1089. */
  1090. public function update($tableId, $templateId, Google_Service_Fusiontables_Template $postBody, $optParams = array())
  1091. {
  1092. $params = array('tableId' => $tableId, 'templateId' => $templateId, 'postBody' => $postBody);
  1093. $params = array_merge($params, $optParams);
  1094. return $this->call('update', array($params), "Google_Service_Fusiontables_Template");
  1095. }
  1096. }
  1097. class Google_Service_Fusiontables_Bucket extends Google_Model
  1098. {
  1099. public $color;
  1100. public $icon;
  1101. public $max;
  1102. public $min;
  1103. public $opacity;
  1104. public $weight;
  1105. public function setColor($color)
  1106. {
  1107. $this->color = $color;
  1108. }
  1109. public function getColor()
  1110. {
  1111. return $this->color;
  1112. }
  1113. public function setIcon($icon)
  1114. {
  1115. $this->icon = $icon;
  1116. }
  1117. public function getIcon()
  1118. {
  1119. return $this->icon;
  1120. }
  1121. public function setMax($max)
  1122. {
  1123. $this->max = $max;
  1124. }
  1125. public function getMax()
  1126. {
  1127. return $this->max;
  1128. }
  1129. public function setMin($min)
  1130. {
  1131. $this->min = $min;
  1132. }
  1133. public function getMin()
  1134. {
  1135. return $this->min;
  1136. }
  1137. public function setOpacity($opacity)
  1138. {
  1139. $this->opacity = $opacity;
  1140. }
  1141. public function getOpacity()
  1142. {
  1143. return $this->opacity;
  1144. }
  1145. public function setWeight($weight)
  1146. {
  1147. $this->weight = $weight;
  1148. }
  1149. public function getWeight()
  1150. {
  1151. return $this->weight;
  1152. }
  1153. }
  1154. class Google_Service_Fusiontables_Column extends Google_Model
  1155. {
  1156. protected $baseColumnType = 'Google_Service_Fusiontables_ColumnBaseColumn';
  1157. protected $baseColumnDataType = '';
  1158. public $columnId;
  1159. public $kind;
  1160. public $name;
  1161. public $type;
  1162. public function setBaseColumn(Google_Service_Fusiontables_ColumnBaseColumn $baseColumn)
  1163. {
  1164. $this->baseColumn = $baseColumn;
  1165. }
  1166. public function getBaseColumn()
  1167. {
  1168. return $this->baseColumn;
  1169. }
  1170. public function setColumnId($columnId)
  1171. {
  1172. $this->columnId = $columnId;
  1173. }
  1174. public function getColumnId()
  1175. {
  1176. return $this->columnId;
  1177. }
  1178. public function setKind($kind)
  1179. {
  1180. $this->kind = $kind;
  1181. }
  1182. public function getKind()
  1183. {
  1184. return $this->kind;
  1185. }
  1186. public function setName($name)
  1187. {
  1188. $this->name = $name;
  1189. }
  1190. public function getName()
  1191. {
  1192. return $this->name;
  1193. }
  1194. public function setType($type)
  1195. {
  1196. $this->type = $type;
  1197. }
  1198. public function getType()
  1199. {
  1200. return $this->type;
  1201. }
  1202. }
  1203. class Google_Service_Fusiontables_ColumnBaseColumn extends Google_Model
  1204. {
  1205. public $columnId;
  1206. public $tableIndex;
  1207. public function setColumnId($columnId)
  1208. {
  1209. $this->columnId = $columnId;
  1210. }
  1211. public function getColumnId()
  1212. {
  1213. return $this->columnId;
  1214. }
  1215. public function setTableIndex($tableIndex)
  1216. {
  1217. $this->tableIndex = $tableIndex;
  1218. }
  1219. public function getTableIndex()
  1220. {
  1221. return $this->tableIndex;
  1222. }
  1223. }
  1224. class Google_Service_Fusiontables_ColumnList extends Google_Collection
  1225. {
  1226. protected $itemsType = 'Google_Service_Fusiontables_Column';
  1227. protected $itemsDataType = 'array';
  1228. public $kind;
  1229. public $nextPageToken;
  1230. public $totalItems;
  1231. public function setItems($items)
  1232. {
  1233. $this->items = $items;
  1234. }
  1235. public function getItems()
  1236. {
  1237. return $this->items;
  1238. }
  1239. public function setKind($kind)
  1240. {
  1241. $this->kind = $kind;
  1242. }
  1243. public function getKind()
  1244. {
  1245. return $this->kind;
  1246. }
  1247. public function setNextPageToken($nextPageToken)
  1248. {
  1249. $this->nextPageToken = $nextPageToken;
  1250. }
  1251. public function getNextPageToken()
  1252. {
  1253. return $this->nextPageToken;
  1254. }
  1255. public function setTotalItems($totalItems)
  1256. {
  1257. $this->totalItems = $totalItems;
  1258. }
  1259. public function getTotalItems()
  1260. {
  1261. return $this->totalItems;
  1262. }
  1263. }
  1264. class Google_Service_Fusiontables_Geometry extends Google_Collection
  1265. {
  1266. public $geometries;
  1267. public $geometry;
  1268. public $type;
  1269. public function setGeometries($geometries)
  1270. {
  1271. $this->geometries = $geometries;
  1272. }
  1273. public function getGeometries()
  1274. {
  1275. return $this->geometries;
  1276. }
  1277. public function setGeometry($geometry)
  1278. {
  1279. $this->geometry = $geometry;
  1280. }
  1281. public function getGeometry()
  1282. {
  1283. return $this->geometry;
  1284. }
  1285. public function setType($type)
  1286. {
  1287. $this->type = $type;
  1288. }
  1289. public function getType()
  1290. {
  1291. return $this->type;
  1292. }
  1293. }
  1294. class Google_Service_Fusiontables_Import extends Google_Model
  1295. {
  1296. public $kind;
  1297. public $numRowsReceived;
  1298. public function setKind($kind)
  1299. {
  1300. $this->kind = $kind;
  1301. }
  1302. public function getKind()
  1303. {
  1304. return $this->kind;
  1305. }
  1306. public function setNumRowsReceived($numRowsReceived)
  1307. {
  1308. $this->numRowsReceived = $numRowsReceived;
  1309. }
  1310. public function getNumRowsReceived()
  1311. {
  1312. return $this->numRowsReceived;
  1313. }
  1314. }
  1315. class Google_Service_Fusiontables_Line extends Google_Collection
  1316. {
  1317. public $coordinates;
  1318. public $type;
  1319. public function setCoordinates($coordinates)
  1320. {
  1321. $this->coordinates = $coordinates;
  1322. }
  1323. public function getCoordinates()
  1324. {
  1325. return $this->coordinates;
  1326. }
  1327. public function setType($type)
  1328. {
  1329. $this->type = $type;
  1330. }
  1331. public function getType()
  1332. {
  1333. return $this->type;
  1334. }
  1335. }
  1336. class Google_Service_Fusiontables_LineStyle extends Google_Model
  1337. {
  1338. public $strokeColor;
  1339. protected $strokeColorStylerType = 'Google_Service_Fusiontables_StyleFunction';
  1340. protected $strokeColorStylerDataType = '';
  1341. public $strokeOpacity;
  1342. public $strokeWeight;
  1343. protected $strokeWeightStylerType = 'Google_Service_Fusiontables_StyleFunction';
  1344. protected $strokeWeightStylerDataType = '';
  1345. public function setStrokeColor($strokeColor)
  1346. {
  1347. $this->strokeColor = $strokeColor;
  1348. }
  1349. public function getStrokeColor()
  1350. {
  1351. return $this->strokeColor;
  1352. }
  1353. public function setStrokeColorStyler(Google_Service_Fusiontables_StyleFunction $strokeColorStyler)
  1354. {
  1355. $this->strokeColorStyler = $strokeColorStyler;
  1356. }
  1357. public function getStrokeColorStyler()
  1358. {
  1359. return $this->strokeColorStyler;
  1360. }
  1361. public function setStrokeOpacity($strokeOpacity)
  1362. {
  1363. $this->strokeOpacity = $strokeOpacity;
  1364. }
  1365. public function getStrokeOpacity()
  1366. {
  1367. return $this->strokeOpacity;
  1368. }
  1369. public function setStrokeWeight($strokeWeight)
  1370. {
  1371. $this->strokeWeight = $strokeWeight;
  1372. }
  1373. public function getStrokeWeight()
  1374. {
  1375. return $this->strokeWeight;
  1376. }
  1377. public function setStrokeWeightStyler(Google_Service_Fusiontables_StyleFunction $strokeWeightStyler)
  1378. {
  1379. $this->strokeWeightStyler = $strokeWeightStyler;
  1380. }
  1381. public function getStrokeWeightStyler()
  1382. {
  1383. return $this->strokeWeightStyler;
  1384. }
  1385. }
  1386. class Google_Service_Fusiontables_Point extends Google_Collection
  1387. {
  1388. public $coordinates;
  1389. public $type;
  1390. public function setCoordinates($coordinates)
  1391. {
  1392. $this->coordinates = $coordinates;
  1393. }
  1394. public function getCoordinates()
  1395. {
  1396. return $this->coordinates;
  1397. }
  1398. public function setType($type)
  1399. {
  1400. $this->type = $type;
  1401. }
  1402. public function getType()
  1403. {
  1404. return $this->type;
  1405. }
  1406. }
  1407. class Google_Service_Fusiontables_PointStyle extends Google_Model
  1408. {
  1409. public $iconName;
  1410. protected $iconStylerType = 'Google_Service_Fusiontables_StyleFunction';
  1411. protected $iconStylerDataType = '';
  1412. public function setIconName($iconName)
  1413. {
  1414. $this->iconName = $iconName;
  1415. }
  1416. public function getIconName()
  1417. {
  1418. return $this->iconName;
  1419. }
  1420. public function setIconStyler(Google_Service_Fusiontables_StyleFunction $iconStyler)
  1421. {
  1422. $this->iconStyler = $iconStyler;
  1423. }
  1424. public function getIconStyler()
  1425. {
  1426. return $this->iconStyler;
  1427. }
  1428. }
  1429. class Google_Service_Fusiontables_Polygon extends Google_Collection
  1430. {
  1431. public $coordinates;
  1432. public $type;
  1433. public function setCoordinates($coordinates)
  1434. {
  1435. $this->coordinates = $coordinates;
  1436. }
  1437. public function getCoordinates()
  1438. {
  1439. return $this->coordinates;
  1440. }
  1441. public function setType($type)
  1442. {
  1443. $this->type = $type;
  1444. }
  1445. public function getType()
  1446. {
  1447. return $this->type;
  1448. }
  1449. }
  1450. class Google_Service_Fusiontables_PolygonStyle extends Google_Model
  1451. {
  1452. public $fillColor;
  1453. protected $fillColorStylerType = 'Google_Service_Fusiontables_StyleFunction';
  1454. protected $fillColorStylerDataType = '';
  1455. public $fillOpacity;
  1456. public $strokeColor;
  1457. protected $strokeColorStylerType = 'Google_Service_Fusiontables_StyleFunction';
  1458. protected $strokeColorStylerDataType = '';
  1459. public $strokeOpacity;
  1460. public $strokeWeight;
  1461. protected $strokeWeightStylerType = 'Google_Service_Fusiontables_StyleFunction';
  1462. protected $strokeWeightStylerDataType = '';
  1463. public function setFillColor($fillColor)
  1464. {
  1465. $this->fillColor = $fillColor;
  1466. }
  1467. public function getFillColor()
  1468. {
  1469. return $this->fillColor;
  1470. }
  1471. public function setFillColorStyler(Google_Service_Fusiontables_StyleFunction $fillColorStyler)
  1472. {
  1473. $this->fillColorStyler = $fillColorStyler;
  1474. }
  1475. public function getFillColorStyler()
  1476. {
  1477. return $this->fillColorStyler;
  1478. }
  1479. public function setFillOpacity($fillOpacity)
  1480. {
  1481. $this->fillOpacity = $fillOpacity;
  1482. }
  1483. public function getFillOpacity()
  1484. {
  1485. return $this->fillOpacity;
  1486. }
  1487. public function setStrokeColor($strokeColor)
  1488. {
  1489. $this->strokeColor = $strokeColor;
  1490. }
  1491. public function getStrokeColor()
  1492. {
  1493. return $this->strokeColor;
  1494. }
  1495. public function setStrokeColorStyler(Google_Service_Fusiontables_StyleFunction $strokeColorStyler)
  1496. {
  1497. $this->strokeColorStyler = $strokeColorStyler;
  1498. }
  1499. public function getStrokeColorStyler()
  1500. {
  1501. return $this->strokeColorStyler;
  1502. }
  1503. public function setStrokeOpacity($strokeOpacity)
  1504. {
  1505. $this->strokeOpacity = $strokeOpacity;
  1506. }
  1507. public function getStrokeOpacity()
  1508. {
  1509. return $this->strokeOpacity;
  1510. }
  1511. public function setStrokeWeight($strokeWeight)
  1512. {
  1513. $this->strokeWeight = $strokeWeight;
  1514. }
  1515. public function getStrokeWeight()
  1516. {
  1517. return $this->strokeWeight;
  1518. }
  1519. public function setStrokeWeightStyler(Google_Service_Fusiontables_StyleFunction $strokeWeightStyler)
  1520. {
  1521. $this->strokeWeightStyler = $strokeWeightStyler;
  1522. }
  1523. public function getStrokeWeightStyler()
  1524. {
  1525. return $this->strokeWeightStyler;
  1526. }
  1527. }
  1528. class Google_Service_Fusiontables_Sqlresponse extends Google_Collection
  1529. {
  1530. public $columns;
  1531. public $kind;
  1532. public $rows;
  1533. public function setColumns($columns)
  1534. {
  1535. $this->columns = $columns;
  1536. }
  1537. public function getColumns()
  1538. {
  1539. return $this->columns;
  1540. }
  1541. public function setKind($kind)
  1542. {
  1543. $this->kind = $kind;
  1544. }
  1545. public function getKind()
  1546. {
  1547. return $this->kind;
  1548. }
  1549. public function setRows($rows)
  1550. {
  1551. $this->rows = $rows;
  1552. }
  1553. public function getRows()
  1554. {
  1555. return $this->rows;
  1556. }
  1557. }
  1558. class Google_Service_Fusiontables_StyleFunction extends Google_Collection
  1559. {
  1560. protected $bucketsType = 'Google_Service_Fusiontables_Bucket';
  1561. protected $bucketsDataType = 'array';
  1562. public $columnName;
  1563. protected $gradientType = 'Google_Service_Fusiontables_StyleFunctionGradient';
  1564. protected $gradientDataType = '';
  1565. public $kind;
  1566. public function setBuckets($buckets)
  1567. {
  1568. $this->buckets = $buckets;
  1569. }
  1570. public function getBuckets()
  1571. {
  1572. return $this->buckets;
  1573. }
  1574. public function setColumnName($columnName)
  1575. {
  1576. $this->columnName = $columnName;
  1577. }
  1578. public

Large files files are truncated, but you can click here to view the full file