PageRenderTime 50ms CodeModel.GetById 14ms RepoModel.GetById 1ms app.codeStats 0ms

/Lib/google-api-php-client/contrib/Google_FusiontablesService.php

https://bitbucket.org/addictionworldwide/google-bundle-for-symfony2
PHP | 1326 lines | 989 code | 40 blank | 297 comment | 44 complexity | 2e484e55d79e219246a7ef8f56dfd5ee MD5 | raw file
Possible License(s): Apache-2.0

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

  1. <?php
  2. /*
  3. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  4. * use this file except in compliance with the License. You may obtain a copy of
  5. * the License at
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Unless required by applicable law or agreed to in writing, software
  10. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  11. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  12. * License for the specific language governing permissions and limitations under
  13. * the License.
  14. */
  15. /**
  16. * The "column" collection of methods.
  17. * Typical usage is:
  18. * <code>
  19. * $fusiontablesService = new Google_FusiontablesService(...);
  20. * $column = $fusiontablesService->column;
  21. * </code>
  22. */
  23. class Google_ColumnServiceResource extends Google_ServiceResource {
  24. /**
  25. * Adds a new column to the table. (column.insert)
  26. *
  27. * @param string $tableId Table for which a new column is being added.
  28. * @param Google_Column $postBody
  29. * @param array $optParams Optional parameters.
  30. * @return Google_Column
  31. */
  32. public function insert($tableId, Google_Column $postBody, $optParams = array()) {
  33. $params = array('tableId' => $tableId, 'postBody' => $postBody);
  34. $params = array_merge($params, $optParams);
  35. $data = $this->__call('insert', array($params));
  36. if ($this->useObjects()) {
  37. return new Google_Column($data);
  38. } else {
  39. return $data;
  40. }
  41. }
  42. /**
  43. * Retrieves a specific column by its id. (column.get)
  44. *
  45. * @param string $tableId Table to which the column belongs.
  46. * @param string $columnId Name or identifier for the column that is being requested.
  47. * @param array $optParams Optional parameters.
  48. * @return Google_Column
  49. */
  50. public function get($tableId, $columnId, $optParams = array()) {
  51. $params = array('tableId' => $tableId, 'columnId' => $columnId);
  52. $params = array_merge($params, $optParams);
  53. $data = $this->__call('get', array($params));
  54. if ($this->useObjects()) {
  55. return new Google_Column($data);
  56. } else {
  57. return $data;
  58. }
  59. }
  60. /**
  61. * Retrieves a list of columns. (column.list)
  62. *
  63. * @param string $tableId Table whose columns are being listed.
  64. * @param array $optParams Optional parameters.
  65. *
  66. * @opt_param string pageToken Continuation token specifying which result page to return. Optional.
  67. * @opt_param string maxResults Maximum number of columns to return. Optional. Default is 5.
  68. * @return Google_ColumnList
  69. */
  70. public function listColumn($tableId, $optParams = array()) {
  71. $params = array('tableId' => $tableId);
  72. $params = array_merge($params, $optParams);
  73. $data = $this->__call('list', array($params));
  74. if ($this->useObjects()) {
  75. return new Google_ColumnList($data);
  76. } else {
  77. return $data;
  78. }
  79. }
  80. /**
  81. * Updates the name or type of an existing column. (column.update)
  82. *
  83. * @param string $tableId Table for which the column is being updated.
  84. * @param string $columnId Name or identifier for the column that is being updated.
  85. * @param Google_Column $postBody
  86. * @param array $optParams Optional parameters.
  87. * @return Google_Column
  88. */
  89. public function update($tableId, $columnId, Google_Column $postBody, $optParams = array()) {
  90. $params = array('tableId' => $tableId, 'columnId' => $columnId, 'postBody' => $postBody);
  91. $params = array_merge($params, $optParams);
  92. $data = $this->__call('update', array($params));
  93. if ($this->useObjects()) {
  94. return new Google_Column($data);
  95. } else {
  96. return $data;
  97. }
  98. }
  99. /**
  100. * Updates the name or type of an existing column. This method supports patch semantics.
  101. * (column.patch)
  102. *
  103. * @param string $tableId Table for which the column is being updated.
  104. * @param string $columnId Name or identifier for the column that is being updated.
  105. * @param Google_Column $postBody
  106. * @param array $optParams Optional parameters.
  107. * @return Google_Column
  108. */
  109. public function patch($tableId, $columnId, Google_Column $postBody, $optParams = array()) {
  110. $params = array('tableId' => $tableId, 'columnId' => $columnId, 'postBody' => $postBody);
  111. $params = array_merge($params, $optParams);
  112. $data = $this->__call('patch', array($params));
  113. if ($this->useObjects()) {
  114. return new Google_Column($data);
  115. } else {
  116. return $data;
  117. }
  118. }
  119. /**
  120. * Deletes the column. (column.delete)
  121. *
  122. * @param string $tableId Table from which the column is being deleted.
  123. * @param string $columnId Name or identifier for the column being deleted.
  124. * @param array $optParams Optional parameters.
  125. */
  126. public function delete($tableId, $columnId, $optParams = array()) {
  127. $params = array('tableId' => $tableId, 'columnId' => $columnId);
  128. $params = array_merge($params, $optParams);
  129. $data = $this->__call('delete', array($params));
  130. return $data;
  131. }
  132. }
  133. /**
  134. * The "query" collection of methods.
  135. * Typical usage is:
  136. * <code>
  137. * $fusiontablesService = new Google_FusiontablesService(...);
  138. * $query = $fusiontablesService->query;
  139. * </code>
  140. */
  141. class Google_QueryServiceResource extends Google_ServiceResource {
  142. /**
  143. * Executes an SQL SELECT/SHOW/DESCRIBE statement. (query.sqlGet)
  144. *
  145. * @param string $sql An SQL SELECT/SHOW/DESCRIBE statement.
  146. * @param array $optParams Optional parameters.
  147. *
  148. * @opt_param bool typed Should typed values be returned in the (JSON) response -- numbers for numeric values and parsed geometries for KML values? Default is true.
  149. * @opt_param bool hdrs Should column names be included (in the first row)?. Default is true.
  150. * @return Google_Sqlresponse
  151. */
  152. public function sqlGet($sql, $optParams = array()) {
  153. $params = array('sql' => $sql);
  154. $params = array_merge($params, $optParams);
  155. $data = $this->__call('sqlGet', array($params));
  156. if ($this->useObjects()) {
  157. return new Google_Sqlresponse($data);
  158. } else {
  159. return $data;
  160. }
  161. }
  162. /**
  163. * Executes an SQL SELECT/INSERT/UPDATE/DELETE/SHOW/DESCRIBE statement. (query.sql)
  164. *
  165. * @param string $sql An SQL SELECT/SHOW/DESCRIBE/INSERT/UPDATE/DELETE statement.
  166. * @param array $optParams Optional parameters.
  167. *
  168. * @opt_param bool typed Should typed values be returned in the (JSON) response -- numbers for numeric values and parsed geometries for KML values? Default is true.
  169. * @opt_param bool hdrs Should column names be included (in the first row)?. Default is true.
  170. * @return Google_Sqlresponse
  171. */
  172. public function sql($sql, $optParams = array()) {
  173. $params = array('sql' => $sql);
  174. $params = array_merge($params, $optParams);
  175. $data = $this->__call('sql', array($params));
  176. if ($this->useObjects()) {
  177. return new Google_Sqlresponse($data);
  178. } else {
  179. return $data;
  180. }
  181. }
  182. }
  183. /**
  184. * The "style" collection of methods.
  185. * Typical usage is:
  186. * <code>
  187. * $fusiontablesService = new Google_FusiontablesService(...);
  188. * $style = $fusiontablesService->style;
  189. * </code>
  190. */
  191. class Google_StyleServiceResource extends Google_ServiceResource {
  192. /**
  193. * Adds a new style for the table. (style.insert)
  194. *
  195. * @param string $tableId Table for which a new style is being added
  196. * @param Google_StyleSetting $postBody
  197. * @param array $optParams Optional parameters.
  198. * @return Google_StyleSetting
  199. */
  200. public function insert($tableId, Google_StyleSetting $postBody, $optParams = array()) {
  201. $params = array('tableId' => $tableId, 'postBody' => $postBody);
  202. $params = array_merge($params, $optParams);
  203. $data = $this->__call('insert', array($params));
  204. if ($this->useObjects()) {
  205. return new Google_StyleSetting($data);
  206. } else {
  207. return $data;
  208. }
  209. }
  210. /**
  211. * Gets a specific style. (style.get)
  212. *
  213. * @param string $tableId Table to which the requested style belongs
  214. * @param int $styleId Identifier (integer) for a specific style in a table
  215. * @param array $optParams Optional parameters.
  216. * @return Google_StyleSetting
  217. */
  218. public function get($tableId, $styleId, $optParams = array()) {
  219. $params = array('tableId' => $tableId, 'styleId' => $styleId);
  220. $params = array_merge($params, $optParams);
  221. $data = $this->__call('get', array($params));
  222. if ($this->useObjects()) {
  223. return new Google_StyleSetting($data);
  224. } else {
  225. return $data;
  226. }
  227. }
  228. /**
  229. * Retrieves a list of styles. (style.list)
  230. *
  231. * @param string $tableId Table whose styles are being listed
  232. * @param array $optParams Optional parameters.
  233. *
  234. * @opt_param string pageToken Continuation token specifying which result page to return. Optional.
  235. * @opt_param string maxResults Maximum number of styles to return. Optional. Default is 5.
  236. * @return Google_StyleSettingList
  237. */
  238. public function listStyle($tableId, $optParams = array()) {
  239. $params = array('tableId' => $tableId);
  240. $params = array_merge($params, $optParams);
  241. $data = $this->__call('list', array($params));
  242. if ($this->useObjects()) {
  243. return new Google_StyleSettingList($data);
  244. } else {
  245. return $data;
  246. }
  247. }
  248. /**
  249. * Updates an existing style. (style.update)
  250. *
  251. * @param string $tableId Table whose style is being updated.
  252. * @param int $styleId Identifier (within a table) for the style being updated.
  253. * @param Google_StyleSetting $postBody
  254. * @param array $optParams Optional parameters.
  255. * @return Google_StyleSetting
  256. */
  257. public function update($tableId, $styleId, Google_StyleSetting $postBody, $optParams = array()) {
  258. $params = array('tableId' => $tableId, 'styleId' => $styleId, 'postBody' => $postBody);
  259. $params = array_merge($params, $optParams);
  260. $data = $this->__call('update', array($params));
  261. if ($this->useObjects()) {
  262. return new Google_StyleSetting($data);
  263. } else {
  264. return $data;
  265. }
  266. }
  267. /**
  268. * Updates an existing style. This method supports patch semantics. (style.patch)
  269. *
  270. * @param string $tableId Table whose style is being updated.
  271. * @param int $styleId Identifier (within a table) for the style being updated.
  272. * @param Google_StyleSetting $postBody
  273. * @param array $optParams Optional parameters.
  274. * @return Google_StyleSetting
  275. */
  276. public function patch($tableId, $styleId, Google_StyleSetting $postBody, $optParams = array()) {
  277. $params = array('tableId' => $tableId, 'styleId' => $styleId, 'postBody' => $postBody);
  278. $params = array_merge($params, $optParams);
  279. $data = $this->__call('patch', array($params));
  280. if ($this->useObjects()) {
  281. return new Google_StyleSetting($data);
  282. } else {
  283. return $data;
  284. }
  285. }
  286. /**
  287. * Deletes a style. (style.delete)
  288. *
  289. * @param string $tableId Table from which the style is being deleted
  290. * @param int $styleId Identifier (within a table) for the style being deleted
  291. * @param array $optParams Optional parameters.
  292. */
  293. public function delete($tableId, $styleId, $optParams = array()) {
  294. $params = array('tableId' => $tableId, 'styleId' => $styleId);
  295. $params = array_merge($params, $optParams);
  296. $data = $this->__call('delete', array($params));
  297. return $data;
  298. }
  299. }
  300. /**
  301. * The "template" collection of methods.
  302. * Typical usage is:
  303. * <code>
  304. * $fusiontablesService = new Google_FusiontablesService(...);
  305. * $template = $fusiontablesService->template;
  306. * </code>
  307. */
  308. class Google_TemplateServiceResource extends Google_ServiceResource {
  309. /**
  310. * Creates a new template for the table. (template.insert)
  311. *
  312. * @param string $tableId Table for which a new template is being created
  313. * @param Google_Template $postBody
  314. * @param array $optParams Optional parameters.
  315. * @return Google_Template
  316. */
  317. public function insert($tableId, Google_Template $postBody, $optParams = array()) {
  318. $params = array('tableId' => $tableId, 'postBody' => $postBody);
  319. $params = array_merge($params, $optParams);
  320. $data = $this->__call('insert', array($params));
  321. if ($this->useObjects()) {
  322. return new Google_Template($data);
  323. } else {
  324. return $data;
  325. }
  326. }
  327. /**
  328. * Retrieves a specific template by its id (template.get)
  329. *
  330. * @param string $tableId Table to which the template belongs
  331. * @param int $templateId Identifier for the template that is being requested
  332. * @param array $optParams Optional parameters.
  333. * @return Google_Template
  334. */
  335. public function get($tableId, $templateId, $optParams = array()) {
  336. $params = array('tableId' => $tableId, 'templateId' => $templateId);
  337. $params = array_merge($params, $optParams);
  338. $data = $this->__call('get', array($params));
  339. if ($this->useObjects()) {
  340. return new Google_Template($data);
  341. } else {
  342. return $data;
  343. }
  344. }
  345. /**
  346. * Retrieves a list of templates. (template.list)
  347. *
  348. * @param string $tableId Identifier for the table whose templates are being requested
  349. * @param array $optParams Optional parameters.
  350. *
  351. * @opt_param string pageToken Continuation token specifying which results page to return. Optional.
  352. * @opt_param string maxResults Maximum number of templates to return. Optional. Default is 5.
  353. * @return Google_TemplateList
  354. */
  355. public function listTemplate($tableId, $optParams = array()) {
  356. $params = array('tableId' => $tableId);
  357. $params = array_merge($params, $optParams);
  358. $data = $this->__call('list', array($params));
  359. if ($this->useObjects()) {
  360. return new Google_TemplateList($data);
  361. } else {
  362. return $data;
  363. }
  364. }
  365. /**
  366. * Updates an existing template (template.update)
  367. *
  368. * @param string $tableId Table to which the updated template belongs
  369. * @param int $templateId Identifier for the template that is being updated
  370. * @param Google_Template $postBody
  371. * @param array $optParams Optional parameters.
  372. * @return Google_Template
  373. */
  374. public function update($tableId, $templateId, Google_Template $postBody, $optParams = array()) {
  375. $params = array('tableId' => $tableId, 'templateId' => $templateId, 'postBody' => $postBody);
  376. $params = array_merge($params, $optParams);
  377. $data = $this->__call('update', array($params));
  378. if ($this->useObjects()) {
  379. return new Google_Template($data);
  380. } else {
  381. return $data;
  382. }
  383. }
  384. /**
  385. * Updates an existing template. This method supports patch semantics. (template.patch)
  386. *
  387. * @param string $tableId Table to which the updated template belongs
  388. * @param int $templateId Identifier for the template that is being updated
  389. * @param Google_Template $postBody
  390. * @param array $optParams Optional parameters.
  391. * @return Google_Template
  392. */
  393. public function patch($tableId, $templateId, Google_Template $postBody, $optParams = array()) {
  394. $params = array('tableId' => $tableId, 'templateId' => $templateId, 'postBody' => $postBody);
  395. $params = array_merge($params, $optParams);
  396. $data = $this->__call('patch', array($params));
  397. if ($this->useObjects()) {
  398. return new Google_Template($data);
  399. } else {
  400. return $data;
  401. }
  402. }
  403. /**
  404. * Deletes a template (template.delete)
  405. *
  406. * @param string $tableId Table from which the template is being deleted
  407. * @param int $templateId Identifier for the template which is being deleted
  408. * @param array $optParams Optional parameters.
  409. */
  410. public function delete($tableId, $templateId, $optParams = array()) {
  411. $params = array('tableId' => $tableId, 'templateId' => $templateId);
  412. $params = array_merge($params, $optParams);
  413. $data = $this->__call('delete', array($params));
  414. return $data;
  415. }
  416. }
  417. /**
  418. * The "table" collection of methods.
  419. * Typical usage is:
  420. * <code>
  421. * $fusiontablesService = new Google_FusiontablesService(...);
  422. * $table = $fusiontablesService->table;
  423. * </code>
  424. */
  425. class Google_TableServiceResource extends Google_ServiceResource {
  426. /**
  427. * Creates a new table. (table.insert)
  428. *
  429. * @param Google_Table $postBody
  430. * @param array $optParams Optional parameters.
  431. * @return Google_Table
  432. */
  433. public function insert(Google_Table $postBody, $optParams = array()) {
  434. $params = array('postBody' => $postBody);
  435. $params = array_merge($params, $optParams);
  436. $data = $this->__call('insert', array($params));
  437. if ($this->useObjects()) {
  438. return new Google_Table($data);
  439. } else {
  440. return $data;
  441. }
  442. }
  443. /**
  444. * Retrieves a specific table by its id. (table.get)
  445. *
  446. * @param string $tableId Identifier(ID) for the table being requested.
  447. * @param array $optParams Optional parameters.
  448. * @return Google_Table
  449. */
  450. public function get($tableId, $optParams = array()) {
  451. $params = array('tableId' => $tableId);
  452. $params = array_merge($params, $optParams);
  453. $data = $this->__call('get', array($params));
  454. if ($this->useObjects()) {
  455. return new Google_Table($data);
  456. } else {
  457. return $data;
  458. }
  459. }
  460. /**
  461. * Retrieves a list of tables a user owns. (table.list)
  462. *
  463. * @param array $optParams Optional parameters.
  464. *
  465. * @opt_param string pageToken Continuation token specifying which result page to return. Optional.
  466. * @opt_param string maxResults Maximum number of styles to return. Optional. Default is 5.
  467. * @return Google_TableList
  468. */
  469. public function listTable($optParams = array()) {
  470. $params = array();
  471. $params = array_merge($params, $optParams);
  472. $data = $this->__call('list', array($params));
  473. if ($this->useObjects()) {
  474. return new Google_TableList($data);
  475. } else {
  476. return $data;
  477. }
  478. }
  479. /**
  480. * Updates an existing table. Unless explicitly requested, only the name, description, and
  481. * attribution will be updated. (table.update)
  482. *
  483. * @param string $tableId Id of the table that is being updated.
  484. * @param Google_Table $postBody
  485. * @param array $optParams Optional parameters.
  486. *
  487. * @opt_param bool replaceViewDefinition Should the view definition also be updated? The specified view definition replaces the existing one. Only a view can be updated with a new definition.
  488. * @return Google_Table
  489. */
  490. public function update($tableId, Google_Table $postBody, $optParams = array()) {
  491. $params = array('tableId' => $tableId, 'postBody' => $postBody);
  492. $params = array_merge($params, $optParams);
  493. $data = $this->__call('update', array($params));
  494. if ($this->useObjects()) {
  495. return new Google_Table($data);
  496. } else {
  497. return $data;
  498. }
  499. }
  500. /**
  501. * Updates an existing table. Unless explicitly requested, only the name, description, and
  502. * attribution will be updated. This method supports patch semantics. (table.patch)
  503. *
  504. * @param string $tableId Id of the table that is being updated.
  505. * @param Google_Table $postBody
  506. * @param array $optParams Optional parameters.
  507. *
  508. * @opt_param bool replaceViewDefinition Should the view definition also be updated? The specified view definition replaces the existing one. Only a view can be updated with a new definition.
  509. * @return Google_Table
  510. */
  511. public function patch($tableId, Google_Table $postBody, $optParams = array()) {
  512. $params = array('tableId' => $tableId, 'postBody' => $postBody);
  513. $params = array_merge($params, $optParams);
  514. $data = $this->__call('patch', array($params));
  515. if ($this->useObjects()) {
  516. return new Google_Table($data);
  517. } else {
  518. return $data;
  519. }
  520. }
  521. /**
  522. * Deletes a table. (table.delete)
  523. *
  524. * @param string $tableId Id of the table that is being deleted.
  525. * @param array $optParams Optional parameters.
  526. */
  527. public function delete($tableId, $optParams = array()) {
  528. $params = array('tableId' => $tableId);
  529. $params = array_merge($params, $optParams);
  530. $data = $this->__call('delete', array($params));
  531. return $data;
  532. }
  533. }
  534. /**
  535. * Service definition for Google_Fusiontables (v1).
  536. *
  537. * <p>
  538. * API for working with Fusion Tables data.
  539. * </p>
  540. *
  541. * <p>
  542. * For more information about this service, see the
  543. * <a href="https://developers.google.com/fusiontables" target="_blank">API Documentation</a>
  544. * </p>
  545. *
  546. * @author Google, Inc.
  547. */
  548. class Google_FusiontablesService extends Google_Service {
  549. public $column;
  550. public $query;
  551. public $style;
  552. public $template;
  553. public $table;
  554. /**
  555. * Constructs the internal representation of the Fusiontables service.
  556. *
  557. * @param Google_Client $client
  558. */
  559. public function __construct(Google_Client $client) {
  560. $this->servicePath = 'fusiontables/v1/';
  561. $this->version = 'v1';
  562. $this->serviceName = 'fusiontables';
  563. $client->addService($this->serviceName, $this->version);
  564. $this->column = new Google_ColumnServiceResource($this, $this->serviceName, 'column', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Column"}, "response": {"$ref": "Column"}, "httpMethod": "POST", "path": "tables/{tableId}/columns", "id": "fusiontables.column.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "columnId": {"required": true, "type": "string", "location": "path"}}, "id": "fusiontables.column.get", "httpMethod": "GET", "path": "tables/{tableId}/columns/{columnId}", "response": {"$ref": "Column"}}, "list": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "tableId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"minimum": "0", "type": "integer", "location": "query", "format": "uint32"}}, "id": "fusiontables.column.list", "httpMethod": "GET", "path": "tables/{tableId}/columns", "response": {"$ref": "ColumnList"}}, "update": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "columnId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Column"}, "response": {"$ref": "Column"}, "httpMethod": "PUT", "path": "tables/{tableId}/columns/{columnId}", "id": "fusiontables.column.update"}, "patch": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "columnId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Column"}, "response": {"$ref": "Column"}, "httpMethod": "PATCH", "path": "tables/{tableId}/columns/{columnId}", "id": "fusiontables.column.patch"}, "delete": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "path": "tables/{tableId}/columns/{columnId}", "id": "fusiontables.column.delete", "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "columnId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));
  565. $this->query = new Google_QueryServiceResource($this, $this->serviceName, 'query', json_decode('{"methods": {"sqlGet": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"typed": {"type": "boolean", "location": "query"}, "hdrs": {"type": "boolean", "location": "query"}, "sql": {"required": true, "type": "string", "location": "query"}}, "id": "fusiontables.query.sqlGet", "httpMethod": "GET", "path": "query", "response": {"$ref": "Sqlresponse"}}, "sql": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"typed": {"type": "boolean", "location": "query"}, "hdrs": {"type": "boolean", "location": "query"}, "sql": {"required": true, "type": "string", "location": "query"}}, "id": "fusiontables.query.sql", "httpMethod": "POST", "path": "query", "response": {"$ref": "Sqlresponse"}}}}', true));
  566. $this->style = new Google_StyleServiceResource($this, $this->serviceName, 'style', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "StyleSetting"}, "response": {"$ref": "StyleSetting"}, "httpMethod": "POST", "path": "tables/{tableId}/styles", "id": "fusiontables.style.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "styleId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "id": "fusiontables.style.get", "httpMethod": "GET", "path": "tables/{tableId}/styles/{styleId}", "response": {"$ref": "StyleSetting"}}, "list": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "tableId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"minimum": "0", "type": "integer", "location": "query", "format": "uint32"}}, "id": "fusiontables.style.list", "httpMethod": "GET", "path": "tables/{tableId}/styles", "response": {"$ref": "StyleSettingList"}}, "update": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "styleId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "request": {"$ref": "StyleSetting"}, "response": {"$ref": "StyleSetting"}, "httpMethod": "PUT", "path": "tables/{tableId}/styles/{styleId}", "id": "fusiontables.style.update"}, "patch": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "styleId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "request": {"$ref": "StyleSetting"}, "response": {"$ref": "StyleSetting"}, "httpMethod": "PATCH", "path": "tables/{tableId}/styles/{styleId}", "id": "fusiontables.style.patch"}, "delete": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "path": "tables/{tableId}/styles/{styleId}", "id": "fusiontables.style.delete", "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "styleId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "httpMethod": "DELETE"}}}', true));
  567. $this->template = new Google_TemplateServiceResource($this, $this->serviceName, 'template', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Template"}, "response": {"$ref": "Template"}, "httpMethod": "POST", "path": "tables/{tableId}/templates", "id": "fusiontables.template.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "templateId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "id": "fusiontables.template.get", "httpMethod": "GET", "path": "tables/{tableId}/templates/{templateId}", "response": {"$ref": "Template"}}, "list": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "tableId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"minimum": "0", "type": "integer", "location": "query", "format": "uint32"}}, "id": "fusiontables.template.list", "httpMethod": "GET", "path": "tables/{tableId}/templates", "response": {"$ref": "TemplateList"}}, "update": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "templateId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "request": {"$ref": "Template"}, "response": {"$ref": "Template"}, "httpMethod": "PUT", "path": "tables/{tableId}/templates/{templateId}", "id": "fusiontables.template.update"}, "patch": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "templateId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "request": {"$ref": "Template"}, "response": {"$ref": "Template"}, "httpMethod": "PATCH", "path": "tables/{tableId}/templates/{templateId}", "id": "fusiontables.template.patch"}, "delete": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "path": "tables/{tableId}/templates/{templateId}", "id": "fusiontables.template.delete", "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "templateId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "httpMethod": "DELETE"}}}', true));
  568. $this->table = new Google_TableServiceResource($this, $this->serviceName, 'table', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "request": {"$ref": "Table"}, "response": {"$ref": "Table"}, "httpMethod": "POST", "path": "tables", "id": "fusiontables.table.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}}, "id": "fusiontables.table.get", "httpMethod": "GET", "path": "tables/{tableId}", "response": {"$ref": "Table"}}, "list": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "maxResults": {"minimum": "0", "type": "integer", "location": "query", "format": "uint32"}}, "response": {"$ref": "TableList"}, "httpMethod": "GET", "path": "tables", "id": "fusiontables.table.list"}, "update": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"replaceViewDefinition": {"type": "boolean", "location": "query"}, "tableId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Table"}, "response": {"$ref": "Table"}, "httpMethod": "PUT", "path": "tables/{tableId}", "id": "fusiontables.table.update"}, "patch": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"replaceViewDefinition": {"type": "boolean", "location": "query"}, "tableId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Table"}, "response": {"$ref": "Table"}, "httpMethod": "PATCH", "path": "tables/{tableId}", "id": "fusiontables.table.patch"}, "delete": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "path": "tables/{tableId}", "id": "fusiontables.table.delete", "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));
  569. }
  570. }
  571. class Google_Bucket extends Google_Model {
  572. public $opacity;
  573. public $weight;
  574. public $min;
  575. public $color;
  576. public $max;
  577. public $icon;
  578. public function setOpacity($opacity) {
  579. $this->opacity = $opacity;
  580. }
  581. public function getOpacity() {
  582. return $this->opacity;
  583. }
  584. public function setWeight($weight) {
  585. $this->weight = $weight;
  586. }
  587. public function getWeight() {
  588. return $this->weight;
  589. }
  590. public function setMin($min) {
  591. $this->min = $min;
  592. }
  593. public function getMin() {
  594. return $this->min;
  595. }
  596. public function setColor($color) {
  597. $this->color = $color;
  598. }
  599. public function getColor() {
  600. return $this->color;
  601. }
  602. public function setMax($max) {
  603. $this->max = $max;
  604. }
  605. public function getMax() {
  606. return $this->max;
  607. }
  608. public function setIcon($icon) {
  609. $this->icon = $icon;
  610. }
  611. public function getIcon() {
  612. return $this->icon;
  613. }
  614. }
  615. class Google_Column extends Google_Model {
  616. public $kind;
  617. public $type;
  618. public $columnId;
  619. public $name;
  620. protected $__baseColumnType = 'Google_ColumnBaseColumn';
  621. protected $__baseColumnDataType = '';
  622. public $baseColumn;
  623. public function setKind($kind) {
  624. $this->kind = $kind;
  625. }
  626. public function getKind() {
  627. return $this->kind;
  628. }
  629. public function setType($type) {
  630. $this->type = $type;
  631. }
  632. public function getType() {
  633. return $this->type;
  634. }
  635. public function setColumnId($columnId) {
  636. $this->columnId = $columnId;
  637. }
  638. public function getColumnId() {
  639. return $this->columnId;
  640. }
  641. public function setName($name) {
  642. $this->name = $name;
  643. }
  644. public function getName() {
  645. return $this->name;
  646. }
  647. public function setBaseColumn(Google_ColumnBaseColumn $baseColumn) {
  648. $this->baseColumn = $baseColumn;
  649. }
  650. public function getBaseColumn() {
  651. return $this->baseColumn;
  652. }
  653. }
  654. class Google_ColumnBaseColumn extends Google_Model {
  655. public $tableIndex;
  656. public $columnId;
  657. public function setTableIndex($tableIndex) {
  658. $this->tableIndex = $tableIndex;
  659. }
  660. public function getTableIndex() {
  661. return $this->tableIndex;
  662. }
  663. public function setColumnId($columnId) {
  664. $this->columnId = $columnId;
  665. }
  666. public function getColumnId() {
  667. return $this->columnId;
  668. }
  669. }
  670. class Google_ColumnList extends Google_Model {
  671. public $nextPageToken;
  672. protected $__itemsType = 'Google_Column';
  673. protected $__itemsDataType = 'array';
  674. public $items;
  675. public $kind;
  676. public $totalItems;
  677. public function setNextPageToken($nextPageToken) {
  678. $this->nextPageToken = $nextPageToken;
  679. }
  680. public function getNextPageToken() {
  681. return $this->nextPageToken;
  682. }
  683. public function setItems(/* array(Google_Column) */ $items) {
  684. $this->assertIsArray($items, 'Google_Column', __METHOD__);
  685. $this->items = $items;
  686. }
  687. public function getItems() {
  688. return $this->items;
  689. }
  690. public function setKind($kind) {
  691. $this->kind = $kind;
  692. }
  693. public function getKind() {
  694. return $this->kind;
  695. }
  696. public function setTotalItems($totalItems) {
  697. $this->totalItems = $totalItems;
  698. }
  699. public function getTotalItems() {
  700. return $this->totalItems;
  701. }
  702. }
  703. class Google_Geometry extends Google_Model {
  704. public $geometry;
  705. public $type;
  706. public $geometries;
  707. public function setGeometry($geometry) {
  708. $this->geometry = $geometry;
  709. }
  710. public function getGeometry() {
  711. return $this->geometry;
  712. }
  713. public function setType($type) {
  714. $this->type = $type;
  715. }
  716. public function getType() {
  717. return $this->type;
  718. }
  719. public function setGeometries(/* array(Google_object) */ $geometries) {
  720. $this->assertIsArray($geometries, 'Google_object', __METHOD__);
  721. $this->geometries = $geometries;
  722. }
  723. public function getGeometries() {
  724. return $this->geometries;
  725. }
  726. }
  727. class Google_Line extends Google_Model {
  728. public $type;
  729. public $coordinates;
  730. public function setType($type) {
  731. $this->type = $type;
  732. }
  733. public function getType() {
  734. return $this->type;
  735. }
  736. public function setCoordinates(/* array(Google_double) */ $coordinates) {
  737. $this->assertIsArray($coordinates, 'Google_double', __METHOD__);
  738. $this->coordinates = $coordinates;
  739. }
  740. public function getCoordinates() {
  741. return $this->coordinates;
  742. }
  743. }
  744. class Google_LineStyle extends Google_Model {
  745. public $strokeWeight;
  746. protected $__strokeWeightStylerType = 'Google_StyleFunction';
  747. protected $__strokeWeightStylerDataType = '';
  748. public $strokeWeightStyler;
  749. public $strokeColor;
  750. public $strokeOpacity;
  751. protected $__strokeColorStylerType = 'Google_StyleFunction';
  752. protected $__strokeColorStylerDataType = '';
  753. public $strokeColorStyler;
  754. public function setStrokeWeight($strokeWeight) {
  755. $this->strokeWeight = $strokeWeight;
  756. }
  757. public function getStrokeWeight() {
  758. return $this->strokeWeight;
  759. }
  760. public function setStrokeWeightStyler(Google_StyleFunction $strokeWeightStyler) {
  761. $this->strokeWeightStyler = $strokeWeightStyler;
  762. }
  763. public function getStrokeWeightStyler() {
  764. return $this->strokeWeightStyler;
  765. }
  766. public function setStrokeColor($strokeColor) {
  767. $this->strokeColor = $strokeColor;
  768. }
  769. public function getStrokeColor() {
  770. return $this->strokeColor;
  771. }
  772. public function setStrokeOpacity($strokeOpacity) {
  773. $this->strokeOpacity = $strokeOpacity;
  774. }
  775. public function getStrokeOpacity() {
  776. return $this->strokeOpacity;
  777. }
  778. public function setStrokeColorStyler(Google_StyleFunction $strokeColorStyler) {
  779. $this->strokeColorStyler = $strokeColorStyler;
  780. }
  781. public function getStrokeColorStyler() {
  782. return $this->strokeColorStyler;
  783. }
  784. }
  785. class Google_Point extends Google_Model {
  786. public $type;
  787. public $coordinates;
  788. public function setType($type) {
  789. $this->type = $type;
  790. }
  791. public function getType() {
  792. return $this->type;
  793. }
  794. public function setCoordinates(/* array(Google_double) */ $coordinates) {
  795. $this->assertIsArray($coordinates, 'Google_double', __METHOD__);
  796. $this->coordinates = $coordinates;
  797. }
  798. public function getCoordinates() {
  799. return $this->coordinates;
  800. }
  801. }
  802. class Google_PointStyle extends Google_Model {
  803. protected $__iconStylerType = 'Google_StyleFunction';
  804. protected $__iconStylerDataType = '';
  805. public $iconStyler;
  806. public $iconName;
  807. public function setIconStyler(Google_StyleFunction $iconStyler) {
  808. $this->iconStyler = $iconStyler;
  809. }
  810. public function getIconStyler() {
  811. return $this->iconStyler;
  812. }
  813. public function setIconName($iconName) {
  814. $this->iconName = $iconName;
  815. }
  816. public function getIconName() {
  817. return $this->iconName;
  818. }
  819. }
  820. class Google_Polygon extends Google_Model {
  821. public $type;
  822. public $coordinates;
  823. public function setType($type) {
  824. $this->type = $type;
  825. }
  826. public function getType() {
  827. return $this->type;
  828. }
  829. public function setCoordinates(/* array(Google_double) */ $coordinates) {
  830. $this->assertIsArray($coordinates, 'Google_double', __METHOD__);
  831. $this->coordinates = $coordinates;
  832. }
  833. public function getCoordinates() {
  834. return $this->coordinates;
  835. }
  836. }
  837. class Google_PolygonStyle extends Google_Model {
  838. protected $__strokeColorStylerType = 'Google_StyleFunction';
  839. protected $__strokeColorStylerDataType = '';
  840. public $strokeColorStyler;
  841. public $strokeWeight;
  842. public $strokeOpacity;
  843. protected $__strokeWeightStylerType = 'Google_StyleFunction';
  844. protected $__strokeWeightStylerDataType = '';
  845. public $strokeWeightStyler;
  846. protected $__fillColorStylerType = 'Google_StyleFunction';
  847. protected $__fillColorStylerDataType = '';
  848. public $fillColorStyler;
  849. public $fillColor;
  850. public $strokeColor;
  851. public $fillOpacity;
  852. public function setStrokeColorStyler(Google_StyleFunction $strokeColorStyler) {
  853. $this->strokeColorStyler = $strokeColorStyler;
  854. }
  855. public function getStrokeColorStyler() {
  856. return $this->strokeColorStyler;
  857. }
  858. public function setStrokeWeight($strokeWeight) {
  859. $this->strokeWeight = $strokeWeight;
  860. }
  861. public function getStrokeWeight() {
  862. return $this->strokeWeight;
  863. }
  864. public function setStrokeOpacity($strokeOpacity) {
  865. $this->strokeOpacity = $strokeOpacity;
  866. }
  867. public function getStrokeOpacity() {
  868. return $this->strokeOpacity;
  869. }
  870. public function setStrokeWeightStyler(Google_StyleFunction $strokeWeightStyler) {
  871. $this->strokeWeightStyler = $strokeWeightStyler;
  872. }
  873. public function getStrokeWeightStyler() {
  874. return $this->strokeWeightStyler;
  875. }
  876. public function setFillColorStyler(Google_StyleFunction $fillColorStyler) {
  877. $this->fillColorStyler = $fillColorStyler;
  878. }
  879. public function getFillColorStyler() {
  880. return $this->fillColorStyler;
  881. }
  882. public function setFillColor($fillColor) {
  883. $this->fillColor = $fillColor;
  884. }
  885. public function getFillColor() {
  886. return $this->fillColor;
  887. }
  888. public function setStrokeColor($strokeColor) {
  889. $this->strokeColor = $strokeColor;
  890. }
  891. public function getStrokeColor() {
  892. return $this->strokeColor;
  893. }
  894. public function setFillOpacity($fillOpacity) {
  895. $this->fillOpacity = $fillOpacity;
  896. }
  897. public function getFillOpacity() {
  898. return $this->fillOpacity;
  899. }
  900. }
  901. class Google_Sqlresponse extends Google_Model {
  902. public $kind;
  903. public $rows;
  904. public $columns;
  905. public function setKind($kind) {
  906. $this->kind = $kind;
  907. }
  908. public function getKind() {
  909. return $this->kind;
  910. }
  911. public function setRows(/* array(Google_object) */ $rows) {
  912. $this->assertIsArray($rows, 'Google_object', __METHOD__);
  913. $this->rows = $rows;
  914. }
  915. public function getRows() {
  916. return $this->rows;
  917. }
  918. public function setColumns(/* array(Google_string) */ $columns) {
  919. $this->assertIsArray($columns, 'Google_string', __METHOD__);
  920. $this->columns = $columns;
  921. }
  922. public function getColumns() {
  923. return $this->columns;
  924. }
  925. }
  926. class Google_StyleFunction extends Google_Model {
  927. protected $__gradientType = 'Google_StyleFunctionGradient';
  928. protected $__gradientDataType = '';
  929. public $gradient;
  930. public $columnName;
  931. protected $__bucketsType = 'Google_Bucket';
  932. protected $__bucketsDataType = 'array';
  933. public $buckets;
  934. public $kind;
  935. public function setGradient(Google_StyleFunctionGradient $gradient) {
  936. $this->gradient = $gradient;
  937. }
  938. public function getGradient() {
  939. return $this->gradient;
  940. }
  941. public function setColumnName($columnName) {
  942. $this->columnName = $columnName;
  943. }
  944. public function getColumnName() {
  945. return $this->columnName;
  946. }
  947. public function setBuckets(/* array(Google_Bucket) */ $buckets) {
  948. $this->assertIsArray($buckets, 'Google_Bucket', __METHOD__);
  949. $this->buckets = $buckets;
  950. }
  951. public function getBuckets() {
  952. return $this->buckets;
  953. }
  954. public function setKind($kind) {
  955. $this->kind = $kind;
  956. }
  957. public function getKind() {
  958. return $this->kind;
  959. }
  960. }
  961. class Google_StyleFunctionGradient extends Google_Model {
  962. public $max;
  963. protected $__colorsType = 'Google_StyleFunctionGradientColors';
  964. protected $__colorsDataType = 'array';
  965. public $colors;
  966. public $min;
  967. public function setMax($max) {
  968. $this->max = $max;
  969. }
  970. public function getMax() {
  971. return $this->max;
  972. }
  973. public function setColors(/* array(Google_StyleFunctionGradientColors) */ $colors) {
  974. $this->assertIsArray($colors, 'Google_StyleFunctionGradientColors', __METHOD__);
  975. $this->colors = $colors;
  976. }
  977. public function getColors() {
  978. return $this->colors;
  979. }
  980. public function setMin($min) {
  981. $this->min = $min;
  982. }
  983. public function getMin() {
  984. return $this->min;
  985. }
  986. }
  987. class Google_StyleFunctionGradientColors extends Google_Model {
  988. public $color;
  989. public $opacity;
  990. public function setColor($color) {
  991. $this->color = $color;
  992. }
  993. public function getColor() {
  994. return $this->color;
  995. }
  996. public function setOpacity($opacity) {
  997. $this->opacity = $opacity;
  998. }
  999. public function getOpacity() {
  1000. return $this->opacity;
  1001. }
  1002. }
  1003. class Google_StyleSetting extends Google_Model {
  1004. protected $__markerOptionsType = 'Google_PointStyle';
  1005. protected $__markerOptionsDataType = '';
  1006. public $markerOptions;
  1007. public $kind;
  1008. public $name;
  1009. protected $__polygonOptionsType = 'Google_PolygonStyle';
  1010. protected $__polygonOptionsDataType = '';
  1011. public $polygonOptions;
  1012. public $isDefaultForTable;
  1013. protected $__polylineOptionsType = 'Google_LineStyle';
  1014. protected $__polylineOptionsDataType = '';
  1015. public $polylineOptions;
  1016. public $tableId;
  1017. public $styleId;
  1018. public function setMarkerOptions(Google_PointStyle $markerOptions) {
  1019. $this->markerOptions = $markerOptions;
  1020. }
  1021. public function getMarkerOptions() {
  1022. return $this->markerOptions;
  1023. }
  1024. public function setKind($kind) {
  1025. $this->kind = $kind;
  1026. }
  1027. public function getKind() {
  1028. return $this->kind;
  1029. }
  1030. public function setName($name) {
  1031. $this->name = $name;
  1032. }
  1033. public function getName() {
  1034. return $this->name;
  1035. }
  1036. public function setPolygonOptions(Google_PolygonStyle $polygonOptions) {
  1037. $this->polygonOptions = $polygonOptions;
  1038. }
  1039. public function getPolygonOptions() {
  1040. return $this->polygonOptions;
  1041. }
  1042. public function setIsDefaultForTable($isDefaultForTable) {
  1043. $this->isDefaultForTable = $isDefaultForTable;
  1044. }
  1045. public function getIsDefaultForTable() {
  1046. return $this->isDefaultForTable;
  1047. }
  1048. public function setPolylineOptions(Google_LineStyle $polylineOptions) {
  1049. $this->polylineOptions = $polylineOptions;
  1050. }
  1051. public function getPolylineOptions() {
  1052. return $this->polylineOptions;
  1053. }
  1054. public function setTableId($tableId) {
  1055. $this->tableId = $tableId;
  1056. }
  1057. public function getTableId() {
  1058. return $this->tableId;
  1059. }
  1060. public function setStyleId($styleId) {
  1061. $this->styleId = $styleId;
  1062. }
  1063. public function getStyleId() {
  1064. return $this->styleId;
  1065. }
  1066. }
  1067. class Google_StyleSettingList extends Google_Model {
  1068. public $nextPageToken;
  1069. protected $__itemsType = 'Google_StyleSetting';
  1070. protected $__itemsDataType = 'array';
  1071. public $items;
  1072. public $kind;
  1073. public $totalItems;
  1074. public function setNextPageToken($nextPageToken) {
  1075. $this->nextPageToken = $nextPageToken;
  1076. }
  1077. public function getNextPageToken() {
  1078. return $this->nextPageToken;
  1079. }
  1080. public function setItems(/* array(Google_StyleSetting) */ $items) {
  1081. $this->assertIsArray($items, 'Google_StyleSetting', __METHOD__);
  1082. $this->items = $items;
  1083. }
  1084. public function getItems() {
  1085. return $this->items;
  1086. }
  1087. public function setKind($kind) {
  1088. $this->kind = $kind;
  1089. }
  1090. public function getKind() {
  1091. return $this->kind;
  1092. }
  1093. public function setTotalItems($totalItems) {
  1094. $this->totalItems = $totalItems;
  1095. }
  1096. public function getTotalItems() {
  1097. return $this->totalItems;
  1098. }
  1099. }
  1100. class Google_Table extends Google_Model {
  1101. public $kind;
  1102. public $attribution;
  1103. public $description;
  1104. public $isExportable;
  1105. public $baseTableIds;
  1106. public $attributionLink;
  1107. public $sql;
  1108. public $tableId;
  1109. protected $__columnsType = 'Google_Column';
  1110. protected $__columnsDataType = 'array';
  1111. public $columns;
  1112. public $name;
  1113. public function setKind($kind) {
  1114. $this->kind = $kind;
  1115. }
  1116. public function getKind() {
  1117. return $this->kind;
  1118. }
  1119. public function setAttribution($attribution) {
  1120. $this->attribution = $attribution;
  1121. }
  1122. public function getAttribution() {
  1123. return $this->attribution;
  1124. }
  1125. public function setDescription($description) {
  1126. $this->description = $description;
  1127. }
  1128. public function getDescription() {
  1129. return $this->description;
  1130. }
  1131. public function setIsExportable($isExportable) {
  1132. $this->isExportable = $isExportable;
  1133. }
  1134. public function getIsExportable() {
  1135. return $this->isExportable;
  1136. }
  1137. public function setBaseTableIds(/* array(Google_string) */ $baseTableIds) {
  1138. $this->assertIsArray($baseTableIds, 'Google_string', __METHOD__);
  1139. $this->baseTableIds = $baseTableIds;
  1140. }
  1141. public function getBaseTableIds() {
  1142. return $this->baseTableIds;
  1143. }
  1144. public function setAttributionLink($attributionLink) {
  1145. $this->attributionLink = $attributionLink;
  1146. }
  1147. public function getAttributionLink() {
  1148. return $this->attributionLink;
  1149. }
  1150. public function setSql($sql) {
  1151. $this->sql = $sql;
  1152. }
  1153. public function getSql() {
  1154. return $this->sql;
  1155. }
  1156. public function setTableId($tableId) {
  1157. $this->tableId = $tableId;
  1158. }
  1159. public function getTableId() {
  1160. return $this->tableId;
  1161. }
  1162. public function setColumns(/* array(Google_Column) */ $columns) {
  1163. $this->assertIsArray($columns, 'Google_Column', __METHOD__);
  1164. $this->columns = $columns;
  1165. }
  1166. public function getColumns() {
  1167. return $this->columns;
  1168. }
  1169. public function setName($name) {
  1170. $this->name = $name;
  1171. }
  1172. public function getName() {
  1173. return $this->name;
  1174. }
  1175. }
  1176. class Google_TableList extends Google_Model {
  1177. public $nextPageToken;
  1178. protected $__itemsType = 'Google_Table';
  1179. protected $__itemsDataType = 'array';
  1180. public $items;
  1181. public $kind;
  1182. public function setNextPageToken($nextPageToken) {
  1183. $this->nextPageToken = $nextPageToken;
  1184. }
  1185. public function getNextPageToken() {
  1186. return $this->nextPageToken;
  1187. }
  1188. public function setItems(/* array(Google_Table) */ $items) {
  1189. $this->assertIsArray($items, 'Google_Table', __METHOD__);
  1190. $this->items = $items;
  1191. }
  1192. public function getItems() {
  1193. return $this->items;
  1194. }
  1195. public function setKind($kind) {
  1196. $this->kind = $kind;
  1197. }
  1198. public function getKind() {
  1199. return $this->kind;
  1200. }
  1201. }
  1202. class Google_Template extends Google_Model {
  1203. public $body;
  1204. public $kind;
  1205. public $name;
  1206. public $automaticColumnNames;
  1207. public $isDefaultForTable;
  1208. public $tableId;
  1209. public $templateId;
  1210. public function setBody($body) {
  1211. $this->body = $body;
  1212. }
  1213. public function getBody() {
  1214. return $this->body;
  1215. }
  1216. public function setKind($kind) {
  1217. $this->kind = $kind;

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