Google_Service_Fusiontables

Service definition for Fusiontables (v2).

Defined (1)

The class is defined in the following location(s).

/includes/api-libs/Google/Service/Fusiontables.php  
  1. class Google_Service_Fusiontables extends Google_Service 
  2. /** Manage your Fusion Tables. */ 
  3. const FUSIONTABLES = 
  4. "https://www.googleapis.com/auth/fusiontables"; 
  5. /** View your Fusion Tables. */ 
  6. const FUSIONTABLES_READONLY = 
  7. "https://www.googleapis.com/auth/fusiontables.readonly"; 
  8.  
  9. public $column; 
  10. public $query; 
  11. public $style; 
  12. public $table; 
  13. public $task; 
  14. public $template; 
  15.  
  16.  
  17. /** 
  18. * Constructs the internal representation of the Fusiontables service. 
  19. * @param Google_Client $client 
  20. */ 
  21. public function __construct(Google_Client $client) 
  22. parent::__construct($client); 
  23. $this->servicePath = 'fusiontables/v2/'; 
  24. $this->version = 'v2'; 
  25. $this->serviceName = 'fusiontables'; 
  26.  
  27. $this->column = new Google_Service_Fusiontables_Column_Resource( 
  28. $this,  
  29. $this->serviceName,  
  30. 'column',  
  31. array( 
  32. 'methods' => array( 
  33. 'delete' => array( 
  34. 'path' => 'tables/{tableId}/columns/{columnId}',  
  35. 'httpMethod' => 'DELETE',  
  36. 'parameters' => array( 
  37. 'tableId' => array( 
  38. 'location' => 'path',  
  39. 'type' => 'string',  
  40. 'required' => true,  
  41. ),  
  42. 'columnId' => array( 
  43. 'location' => 'path',  
  44. 'type' => 'string',  
  45. 'required' => true,  
  46. ),  
  47. ),  
  48. ), 'get' => array( 
  49. 'path' => 'tables/{tableId}/columns/{columnId}',  
  50. 'httpMethod' => 'GET',  
  51. 'parameters' => array( 
  52. 'tableId' => array( 
  53. 'location' => 'path',  
  54. 'type' => 'string',  
  55. 'required' => true,  
  56. ),  
  57. 'columnId' => array( 
  58. 'location' => 'path',  
  59. 'type' => 'string',  
  60. 'required' => true,  
  61. ),  
  62. ),  
  63. ), 'insert' => array( 
  64. 'path' => 'tables/{tableId}/columns',  
  65. 'httpMethod' => 'POST',  
  66. 'parameters' => array( 
  67. 'tableId' => array( 
  68. 'location' => 'path',  
  69. 'type' => 'string',  
  70. 'required' => true,  
  71. ),  
  72. ),  
  73. ), 'list' => array( 
  74. 'path' => 'tables/{tableId}/columns',  
  75. 'httpMethod' => 'GET',  
  76. 'parameters' => array( 
  77. 'tableId' => array( 
  78. 'location' => 'path',  
  79. 'type' => 'string',  
  80. 'required' => true,  
  81. ),  
  82. 'pageToken' => array( 
  83. 'location' => 'query',  
  84. 'type' => 'string',  
  85. ),  
  86. 'maxResults' => array( 
  87. 'location' => 'query',  
  88. 'type' => 'integer',  
  89. ),  
  90. ),  
  91. ), 'patch' => array( 
  92. 'path' => 'tables/{tableId}/columns/{columnId}',  
  93. 'httpMethod' => 'PATCH',  
  94. 'parameters' => array( 
  95. 'tableId' => array( 
  96. 'location' => 'path',  
  97. 'type' => 'string',  
  98. 'required' => true,  
  99. ),  
  100. 'columnId' => array( 
  101. 'location' => 'path',  
  102. 'type' => 'string',  
  103. 'required' => true,  
  104. ),  
  105. ),  
  106. ), 'update' => array( 
  107. 'path' => 'tables/{tableId}/columns/{columnId}',  
  108. 'httpMethod' => 'PUT',  
  109. 'parameters' => array( 
  110. 'tableId' => array( 
  111. 'location' => 'path',  
  112. 'type' => 'string',  
  113. 'required' => true,  
  114. ),  
  115. 'columnId' => array( 
  116. 'location' => 'path',  
  117. 'type' => 'string',  
  118. 'required' => true,  
  119. ),  
  120. ),  
  121. ),  
  122. ); 
  123. $this->query = new Google_Service_Fusiontables_Query_Resource( 
  124. $this,  
  125. $this->serviceName,  
  126. 'query',  
  127. array( 
  128. 'methods' => array( 
  129. 'sql' => array( 
  130. 'path' => 'query',  
  131. 'httpMethod' => 'POST',  
  132. 'parameters' => array( 
  133. 'sql' => array( 
  134. 'location' => 'query',  
  135. 'type' => 'string',  
  136. 'required' => true,  
  137. ),  
  138. 'typed' => array( 
  139. 'location' => 'query',  
  140. 'type' => 'boolean',  
  141. ),  
  142. 'hdrs' => array( 
  143. 'location' => 'query',  
  144. 'type' => 'boolean',  
  145. ),  
  146. ),  
  147. ), 'sqlGet' => array( 
  148. 'path' => 'query',  
  149. 'httpMethod' => 'GET',  
  150. 'parameters' => array( 
  151. 'sql' => array( 
  152. 'location' => 'query',  
  153. 'type' => 'string',  
  154. 'required' => true,  
  155. ),  
  156. 'typed' => array( 
  157. 'location' => 'query',  
  158. 'type' => 'boolean',  
  159. ),  
  160. 'hdrs' => array( 
  161. 'location' => 'query',  
  162. 'type' => 'boolean',  
  163. ),  
  164. ),  
  165. ),  
  166. ); 
  167. $this->style = new Google_Service_Fusiontables_Style_Resource( 
  168. $this,  
  169. $this->serviceName,  
  170. 'style',  
  171. array( 
  172. 'methods' => array( 
  173. 'delete' => array( 
  174. 'path' => 'tables/{tableId}/styles/{styleId}',  
  175. 'httpMethod' => 'DELETE',  
  176. 'parameters' => array( 
  177. 'tableId' => array( 
  178. 'location' => 'path',  
  179. 'type' => 'string',  
  180. 'required' => true,  
  181. ),  
  182. 'styleId' => array( 
  183. 'location' => 'path',  
  184. 'type' => 'integer',  
  185. 'required' => true,  
  186. ),  
  187. ),  
  188. ), 'get' => array( 
  189. 'path' => 'tables/{tableId}/styles/{styleId}',  
  190. 'httpMethod' => 'GET',  
  191. 'parameters' => array( 
  192. 'tableId' => array( 
  193. 'location' => 'path',  
  194. 'type' => 'string',  
  195. 'required' => true,  
  196. ),  
  197. 'styleId' => array( 
  198. 'location' => 'path',  
  199. 'type' => 'integer',  
  200. 'required' => true,  
  201. ),  
  202. ),  
  203. ), 'insert' => array( 
  204. 'path' => 'tables/{tableId}/styles',  
  205. 'httpMethod' => 'POST',  
  206. 'parameters' => array( 
  207. 'tableId' => array( 
  208. 'location' => 'path',  
  209. 'type' => 'string',  
  210. 'required' => true,  
  211. ),  
  212. ),  
  213. ), 'list' => array( 
  214. 'path' => 'tables/{tableId}/styles',  
  215. 'httpMethod' => 'GET',  
  216. 'parameters' => array( 
  217. 'tableId' => array( 
  218. 'location' => 'path',  
  219. 'type' => 'string',  
  220. 'required' => true,  
  221. ),  
  222. 'pageToken' => array( 
  223. 'location' => 'query',  
  224. 'type' => 'string',  
  225. ),  
  226. 'maxResults' => array( 
  227. 'location' => 'query',  
  228. 'type' => 'integer',  
  229. ),  
  230. ),  
  231. ), 'patch' => array( 
  232. 'path' => 'tables/{tableId}/styles/{styleId}',  
  233. 'httpMethod' => 'PATCH',  
  234. 'parameters' => array( 
  235. 'tableId' => array( 
  236. 'location' => 'path',  
  237. 'type' => 'string',  
  238. 'required' => true,  
  239. ),  
  240. 'styleId' => array( 
  241. 'location' => 'path',  
  242. 'type' => 'integer',  
  243. 'required' => true,  
  244. ),  
  245. ),  
  246. ), 'update' => array( 
  247. 'path' => 'tables/{tableId}/styles/{styleId}',  
  248. 'httpMethod' => 'PUT',  
  249. 'parameters' => array( 
  250. 'tableId' => array( 
  251. 'location' => 'path',  
  252. 'type' => 'string',  
  253. 'required' => true,  
  254. ),  
  255. 'styleId' => array( 
  256. 'location' => 'path',  
  257. 'type' => 'integer',  
  258. 'required' => true,  
  259. ),  
  260. ),  
  261. ),  
  262. ); 
  263. $this->table = new Google_Service_Fusiontables_Table_Resource( 
  264. $this,  
  265. $this->serviceName,  
  266. 'table',  
  267. array( 
  268. 'methods' => array( 
  269. 'copy' => array( 
  270. 'path' => 'tables/{tableId}/copy',  
  271. 'httpMethod' => 'POST',  
  272. 'parameters' => array( 
  273. 'tableId' => array( 
  274. 'location' => 'path',  
  275. 'type' => 'string',  
  276. 'required' => true,  
  277. ),  
  278. 'copyPresentation' => array( 
  279. 'location' => 'query',  
  280. 'type' => 'boolean',  
  281. ),  
  282. ),  
  283. ), 'delete' => array( 
  284. 'path' => 'tables/{tableId}',  
  285. 'httpMethod' => 'DELETE',  
  286. 'parameters' => array( 
  287. 'tableId' => array( 
  288. 'location' => 'path',  
  289. 'type' => 'string',  
  290. 'required' => true,  
  291. ),  
  292. ),  
  293. ), 'get' => array( 
  294. 'path' => 'tables/{tableId}',  
  295. 'httpMethod' => 'GET',  
  296. 'parameters' => array( 
  297. 'tableId' => array( 
  298. 'location' => 'path',  
  299. 'type' => 'string',  
  300. 'required' => true,  
  301. ),  
  302. ),  
  303. ), 'importRows' => array( 
  304. 'path' => 'tables/{tableId}/import',  
  305. 'httpMethod' => 'POST',  
  306. 'parameters' => array( 
  307. 'tableId' => array( 
  308. 'location' => 'path',  
  309. 'type' => 'string',  
  310. 'required' => true,  
  311. ),  
  312. 'startLine' => array( 
  313. 'location' => 'query',  
  314. 'type' => 'integer',  
  315. ),  
  316. 'isStrict' => array( 
  317. 'location' => 'query',  
  318. 'type' => 'boolean',  
  319. ),  
  320. 'encoding' => array( 
  321. 'location' => 'query',  
  322. 'type' => 'string',  
  323. ),  
  324. 'delimiter' => array( 
  325. 'location' => 'query',  
  326. 'type' => 'string',  
  327. ),  
  328. 'endLine' => array( 
  329. 'location' => 'query',  
  330. 'type' => 'integer',  
  331. ),  
  332. ),  
  333. ), 'importTable' => array( 
  334. 'path' => 'tables/import',  
  335. 'httpMethod' => 'POST',  
  336. 'parameters' => array( 
  337. 'name' => array( 
  338. 'location' => 'query',  
  339. 'type' => 'string',  
  340. 'required' => true,  
  341. ),  
  342. 'delimiter' => array( 
  343. 'location' => 'query',  
  344. 'type' => 'string',  
  345. ),  
  346. 'encoding' => array( 
  347. 'location' => 'query',  
  348. 'type' => 'string',  
  349. ),  
  350. ),  
  351. ), 'insert' => array( 
  352. 'path' => 'tables',  
  353. 'httpMethod' => 'POST',  
  354. 'parameters' => array(),  
  355. ), 'list' => array( 
  356. 'path' => 'tables',  
  357. 'httpMethod' => 'GET',  
  358. 'parameters' => array( 
  359. 'pageToken' => array( 
  360. 'location' => 'query',  
  361. 'type' => 'string',  
  362. ),  
  363. 'maxResults' => array( 
  364. 'location' => 'query',  
  365. 'type' => 'integer',  
  366. ),  
  367. ),  
  368. ), 'patch' => array( 
  369. 'path' => 'tables/{tableId}',  
  370. 'httpMethod' => 'PATCH',  
  371. 'parameters' => array( 
  372. 'tableId' => array( 
  373. 'location' => 'path',  
  374. 'type' => 'string',  
  375. 'required' => true,  
  376. ),  
  377. 'replaceViewDefinition' => array( 
  378. 'location' => 'query',  
  379. 'type' => 'boolean',  
  380. ),  
  381. ),  
  382. ), 'replaceRows' => array( 
  383. 'path' => 'tables/{tableId}/replace',  
  384. 'httpMethod' => 'POST',  
  385. 'parameters' => array( 
  386. 'tableId' => array( 
  387. 'location' => 'path',  
  388. 'type' => 'string',  
  389. 'required' => true,  
  390. ),  
  391. 'startLine' => array( 
  392. 'location' => 'query',  
  393. 'type' => 'integer',  
  394. ),  
  395. 'isStrict' => array( 
  396. 'location' => 'query',  
  397. 'type' => 'boolean',  
  398. ),  
  399. 'encoding' => array( 
  400. 'location' => 'query',  
  401. 'type' => 'string',  
  402. ),  
  403. 'delimiter' => array( 
  404. 'location' => 'query',  
  405. 'type' => 'string',  
  406. ),  
  407. 'endLine' => array( 
  408. 'location' => 'query',  
  409. 'type' => 'integer',  
  410. ),  
  411. ),  
  412. ), 'update' => array( 
  413. 'path' => 'tables/{tableId}',  
  414. 'httpMethod' => 'PUT',  
  415. 'parameters' => array( 
  416. 'tableId' => array( 
  417. 'location' => 'path',  
  418. 'type' => 'string',  
  419. 'required' => true,  
  420. ),  
  421. 'replaceViewDefinition' => array( 
  422. 'location' => 'query',  
  423. 'type' => 'boolean',  
  424. ),  
  425. ),  
  426. ),  
  427. ); 
  428. $this->task = new Google_Service_Fusiontables_Task_Resource( 
  429. $this,  
  430. $this->serviceName,  
  431. 'task',  
  432. array( 
  433. 'methods' => array( 
  434. 'delete' => array( 
  435. 'path' => 'tables/{tableId}/tasks/{taskId}',  
  436. 'httpMethod' => 'DELETE',  
  437. 'parameters' => array( 
  438. 'tableId' => array( 
  439. 'location' => 'path',  
  440. 'type' => 'string',  
  441. 'required' => true,  
  442. ),  
  443. 'taskId' => array( 
  444. 'location' => 'path',  
  445. 'type' => 'string',  
  446. 'required' => true,  
  447. ),  
  448. ),  
  449. ), 'get' => array( 
  450. 'path' => 'tables/{tableId}/tasks/{taskId}',  
  451. 'httpMethod' => 'GET',  
  452. 'parameters' => array( 
  453. 'tableId' => array( 
  454. 'location' => 'path',  
  455. 'type' => 'string',  
  456. 'required' => true,  
  457. ),  
  458. 'taskId' => array( 
  459. 'location' => 'path',  
  460. 'type' => 'string',  
  461. 'required' => true,  
  462. ),  
  463. ),  
  464. ), 'list' => array( 
  465. 'path' => 'tables/{tableId}/tasks',  
  466. 'httpMethod' => 'GET',  
  467. 'parameters' => array( 
  468. 'tableId' => array( 
  469. 'location' => 'path',  
  470. 'type' => 'string',  
  471. 'required' => true,  
  472. ),  
  473. 'pageToken' => array( 
  474. 'location' => 'query',  
  475. 'type' => 'string',  
  476. ),  
  477. 'startIndex' => array( 
  478. 'location' => 'query',  
  479. 'type' => 'integer',  
  480. ),  
  481. 'maxResults' => array( 
  482. 'location' => 'query',  
  483. 'type' => 'integer',  
  484. ),  
  485. ),  
  486. ),  
  487. ); 
  488. $this->template = new Google_Service_Fusiontables_Template_Resource( 
  489. $this,  
  490. $this->serviceName,  
  491. 'template',  
  492. array( 
  493. 'methods' => array( 
  494. 'delete' => array( 
  495. 'path' => 'tables/{tableId}/templates/{templateId}',  
  496. 'httpMethod' => 'DELETE',  
  497. 'parameters' => array( 
  498. 'tableId' => array( 
  499. 'location' => 'path',  
  500. 'type' => 'string',  
  501. 'required' => true,  
  502. ),  
  503. 'templateId' => array( 
  504. 'location' => 'path',  
  505. 'type' => 'integer',  
  506. 'required' => true,  
  507. ),  
  508. ),  
  509. ), 'get' => array( 
  510. 'path' => 'tables/{tableId}/templates/{templateId}',  
  511. 'httpMethod' => 'GET',  
  512. 'parameters' => array( 
  513. 'tableId' => array( 
  514. 'location' => 'path',  
  515. 'type' => 'string',  
  516. 'required' => true,  
  517. ),  
  518. 'templateId' => array( 
  519. 'location' => 'path',  
  520. 'type' => 'integer',  
  521. 'required' => true,  
  522. ),  
  523. ),  
  524. ), 'insert' => array( 
  525. 'path' => 'tables/{tableId}/templates',  
  526. 'httpMethod' => 'POST',  
  527. 'parameters' => array( 
  528. 'tableId' => array( 
  529. 'location' => 'path',  
  530. 'type' => 'string',  
  531. 'required' => true,  
  532. ),  
  533. ),  
  534. ), 'list' => array( 
  535. 'path' => 'tables/{tableId}/templates',  
  536. 'httpMethod' => 'GET',  
  537. 'parameters' => array( 
  538. 'tableId' => array( 
  539. 'location' => 'path',  
  540. 'type' => 'string',  
  541. 'required' => true,  
  542. ),  
  543. 'pageToken' => array( 
  544. 'location' => 'query',  
  545. 'type' => 'string',  
  546. ),  
  547. 'maxResults' => array( 
  548. 'location' => 'query',  
  549. 'type' => 'integer',  
  550. ),  
  551. ),  
  552. ), 'patch' => array( 
  553. 'path' => 'tables/{tableId}/templates/{templateId}',  
  554. 'httpMethod' => 'PATCH',  
  555. 'parameters' => array( 
  556. 'tableId' => array( 
  557. 'location' => 'path',  
  558. 'type' => 'string',  
  559. 'required' => true,  
  560. ),  
  561. 'templateId' => array( 
  562. 'location' => 'path',  
  563. 'type' => 'integer',  
  564. 'required' => true,  
  565. ),  
  566. ),  
  567. ), 'update' => array( 
  568. 'path' => 'tables/{tableId}/templates/{templateId}',  
  569. 'httpMethod' => 'PUT',  
  570. 'parameters' => array( 
  571. 'tableId' => array( 
  572. 'location' => 'path',  
  573. 'type' => 'string',  
  574. 'required' => true,  
  575. ),  
  576. 'templateId' => array( 
  577. 'location' => 'path',  
  578. 'type' => 'integer',  
  579. 'required' => true,  
  580. ),  
  581. ),  
  582. ),  
  583. );