PluginProbe
Authorizer / 2.2
Authorizer v2.2
3.16.0 3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 All 127 releases
authorizer / inc / google-api-php-client / src / Google / Service / Fusiontables.php

Fusiontables.php in Authorizer 2.2, at inc/google-api-php-client/src/Google/Service/Fusiontables.php

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