PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.0.3
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.0.3
9.1.2 9.1.1 9.1.0 9.0.2 9.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 All 153 releases
wp-analytify / lib / Google / Service / Fusiontables.php

Fusiontables.php in Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) 1.0.3, at lib/Google/Service/Fusiontables.php

2,223 lines 61.4 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 Analytify_Google_Service_Fusiontables extends Analytify_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 Analytify_Google_Client $client
50 */
51 public function __construct(Analytify_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 Analytify_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 Analytify_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 Analytify_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 Analytify_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 Analytify_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 Analytify_Google_Service_Fusiontables(...);
544 * $column = $fusiontablesService->column;
545 * </code>
546 */
547 class Analytify_Google_Service_Fusiontables_Column_Resource extends Analytify_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 Analytify_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), "Analytify_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 Analytify_Google_Column $postBody
587 * @param array $optParams Optional parameters.
588 * @return Analytify_Google_Service_Fusiontables_Column
589 */
590 public function insert($tableId, Analytify_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), "Analytify_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 Analytify_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), "Analytify_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 Analytify_Google_Column $postBody
624 * @param array $optParams Optional parameters.
625 * @return Analytify_Google_Service_Fusiontables_Column
626 */
627 public function patch($tableId, $columnId, Analytify_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), "Analytify_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 Analytify_Google_Column $postBody
641 * @param array $optParams Optional parameters.
642 * @return Analytify_Google_Service_Fusiontables_Column
643 */
644 public function update($tableId, $columnId, Analytify_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), "Analytify_Google_Service_Fusiontables_Column");
649 }
650 }
651
652 /**
653 * The "query" collection of methods.
654 * Typical usage is:
655 * <code>
656 * $fusiontablesService = new Analytify_Google_Service_Fusiontables(...);
657 * $query = $fusiontablesService->query;
658 * </code>
659 */
660 class Analytify_Google_Service_Fusiontables_Query_Resource extends Analytify_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 Analytify_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), "Analytify_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 Analytify_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), "Analytify_Google_Service_Fusiontables_Sqlresponse");
703 }
704 }
705
706 /**
707 * The "style" collection of methods.
708 * Typical usage is:
709 * <code>
710 * $fusiontablesService = new Analytify_Google_Service_Fusiontables(...);
711 * $style = $fusiontablesService->style;
712 * </code>
713 */
714 class Analytify_Google_Service_Fusiontables_Style_Resource extends Analytify_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 Analytify_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), "Analytify_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 Analytify_Google_StyleSetting $postBody
754 * @param array $optParams Optional parameters.
755 * @return Analytify_Google_Service_Fusiontables_StyleSetting
756 */
757 public function insert($tableId, Analytify_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), "Analytify_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 Analytify_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), "Analytify_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 Analytify_Google_StyleSetting $postBody
791 * @param array $optParams Optional parameters.
792 * @return Analytify_Google_Service_Fusiontables_StyleSetting
793 */
794 public function patch($tableId, $styleId, Analytify_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), "Analytify_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 Analytify_Google_StyleSetting $postBody
808 * @param array $optParams Optional parameters.
809 * @return Analytify_Google_Service_Fusiontables_StyleSetting
810 */
811 public function update($tableId, $styleId, Analytify_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), "Analytify_Google_Service_Fusiontables_StyleSetting");
816 }
817 }
818
819 /**
820 * The "table" collection of methods.
821 * Typical usage is:
822 * <code>
823 * $fusiontablesService = new Analytify_Google_Service_Fusiontables(...);
824 * $table = $fusiontablesService->table;
825 * </code>
826 */
827 class Analytify_Google_Service_Fusiontables_Table_Resource extends Analytify_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 Analytify_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), "Analytify_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 Analytify_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), "Analytify_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 Analytify_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), "Analytify_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 Analytify_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), "Analytify_Google_Service_Fusiontables_Table");
927 }
928 /**
929 * Creates a new table. (table.insert)
930 *
931 * @param Analytify_Google_Table $postBody
932 * @param array $optParams Optional parameters.
933 * @return Analytify_Google_Service_Fusiontables_Table
934 */
935 public function insert(Analytify_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), "Analytify_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 Analytify_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), "Analytify_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 Analytify_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 Analytify_Google_Service_Fusiontables_Table
972 */
973 public function patch($tableId, Analytify_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), "Analytify_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 Analytify_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 Analytify_Google_Service_Fusiontables_Table
992 */
993 public function update($tableId, Analytify_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), "Analytify_Google_Service_Fusiontables_Table");
998 }
999 }
1000
1001 /**
1002 * The "template" collection of methods.
1003 * Typical usage is:
1004 * <code>
1005 * $fusiontablesService = new Analytify_Google_Service_Fusiontables(...);
1006 * $template = $fusiontablesService->template;
1007 * </code>
1008 */
1009 class Analytify_Google_Service_Fusiontables_Template_Resource extends Analytify_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 Analytify_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), "Analytify_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 Analytify_Google_Template $postBody
1049 * @param array $optParams Optional parameters.
1050 * @return Analytify_Google_Service_Fusiontables_Template
1051 */
1052 public function insert($tableId, Analytify_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), "Analytify_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 Analytify_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), "Analytify_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 Analytify_Google_Template $postBody
1086 * @param array $optParams Optional parameters.
1087 * @return Analytify_Google_Service_Fusiontables_Template
1088 */
1089 public function patch($tableId, $templateId, Analytify_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), "Analytify_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 Analytify_Google_Template $postBody
1103 * @param array $optParams Optional parameters.
1104 * @return Analytify_Google_Service_Fusiontables_Template
1105 */
1106 public function update($tableId, $templateId, Analytify_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), "Analytify_Google_Service_Fusiontables_Template");
1111 }
1112 }
1113
1114
1115
1116
1117 class Analytify_Google_Service_Fusiontables_Bucket extends Analytify_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 Analytify_Google_Service_Fusiontables_Column extends Analytify_Google_Model
1188 {
1189 protected $baseColumnType = 'Analytify_Google_Service_Fusiontables_ColumnBaseColumn';
1190 protected $baseColumnDataType = '';
1191 public $columnId;
1192 public $description;
1193 public $graphPredicate;
1194 public $kind;
1195 public $name;
1196 public $type;
1197
1198 public function setBaseColumn(Analytify_Google_Service_Fusiontables_ColumnBaseColumn $baseColumn)
1199 {
1200 $this->baseColumn = $baseColumn;
1201 }
1202
1203 public function getBaseColumn()
1204 {
1205 return $this->baseColumn;
1206 }
1207
1208 public function setColumnId($columnId)
1209 {
1210 $this->columnId = $columnId;
1211 }
1212
1213 public function getColumnId()
1214 {
1215 return $this->columnId;
1216 }
1217
1218 public function setDescription($description)
1219 {
1220 $this->description = $description;
1221 }
1222
1223 public function getDescription()
1224 {
1225 return $this->description;
1226 }
1227
1228 public function setGraphPredicate($graphPredicate)
1229 {
1230 $this->graphPredicate = $graphPredicate;
1231 }
1232
1233 public function getGraphPredicate()
1234 {
1235 return $this->graphPredicate;
1236 }
1237
1238 public function setKind($kind)
1239 {
1240 $this->kind = $kind;
1241 }
1242
1243 public function getKind()
1244 {
1245 return $this->kind;
1246 }
1247
1248 public function setName($name)
1249 {
1250 $this->name = $name;
1251 }
1252
1253 public function getName()
1254 {
1255 return $this->name;
1256 }
1257
1258 public function setType($type)
1259 {
1260 $this->type = $type;
1261 }
1262
1263 public function getType()
1264 {
1265 return $this->type;
1266 }
1267 }
1268
1269 class Analytify_Google_Service_Fusiontables_ColumnBaseColumn extends Analytify_Google_Model
1270 {
1271 public $columnId;
1272 public $tableIndex;
1273
1274 public function setColumnId($columnId)
1275 {
1276 $this->columnId = $columnId;
1277 }
1278
1279 public function getColumnId()
1280 {
1281 return $this->columnId;
1282 }
1283
1284 public function setTableIndex($tableIndex)
1285 {
1286 $this->tableIndex = $tableIndex;
1287 }
1288
1289 public function getTableIndex()
1290 {
1291 return $this->tableIndex;
1292 }
1293 }
1294
1295 class Analytify_Google_Service_Fusiontables_ColumnList extends Analytify_Google_Collection
1296 {
1297 protected $itemsType = 'Analytify_Google_Service_Fusiontables_Column';
1298 protected $itemsDataType = 'array';
1299 public $kind;
1300 public $nextPageToken;
1301 public $totalItems;
1302
1303 public function setItems($items)
1304 {
1305 $this->items = $items;
1306 }
1307
1308 public function getItems()
1309 {
1310 return $this->items;
1311 }
1312
1313 public function setKind($kind)
1314 {
1315 $this->kind = $kind;
1316 }
1317
1318 public function getKind()
1319 {
1320 return $this->kind;
1321 }
1322
1323 public function setNextPageToken($nextPageToken)
1324 {
1325 $this->nextPageToken = $nextPageToken;
1326 }
1327
1328 public function getNextPageToken()
1329 {
1330 return $this->nextPageToken;
1331 }
1332
1333 public function setTotalItems($totalItems)
1334 {
1335 $this->totalItems = $totalItems;
1336 }
1337
1338 public function getTotalItems()
1339 {
1340 return $this->totalItems;
1341 }
1342 }
1343
1344 class Analytify_Google_Service_Fusiontables_Geometry extends Analytify_Google_Collection
1345 {
1346 public $geometries;
1347 public $geometry;
1348 public $type;
1349
1350 public function setGeometries($geometries)
1351 {
1352 $this->geometries = $geometries;
1353 }
1354
1355 public function getGeometries()
1356 {
1357 return $this->geometries;
1358 }
1359
1360 public function setGeometry($geometry)
1361 {
1362 $this->geometry = $geometry;
1363 }
1364
1365 public function getGeometry()
1366 {
1367 return $this->geometry;
1368 }
1369
1370 public function setType($type)
1371 {
1372 $this->type = $type;
1373 }
1374
1375 public function getType()
1376 {
1377 return $this->type;
1378 }
1379 }
1380
1381 class Analytify_Google_Service_Fusiontables_Import extends Analytify_Google_Model
1382 {
1383 public $kind;
1384 public $numRowsReceived;
1385
1386 public function setKind($kind)
1387 {
1388 $this->kind = $kind;
1389 }
1390
1391 public function getKind()
1392 {
1393 return $this->kind;
1394 }
1395
1396 public function setNumRowsReceived($numRowsReceived)
1397 {
1398 $this->numRowsReceived = $numRowsReceived;
1399 }
1400
1401 public function getNumRowsReceived()
1402 {
1403 return $this->numRowsReceived;
1404 }
1405 }
1406
1407 class Analytify_Google_Service_Fusiontables_Line extends Analytify_Google_Collection
1408 {
1409 public $coordinates;
1410 public $type;
1411
1412 public function setCoordinates($coordinates)
1413 {
1414 $this->coordinates = $coordinates;
1415 }
1416
1417 public function getCoordinates()
1418 {
1419 return $this->coordinates;
1420 }
1421
1422 public function setType($type)
1423 {
1424 $this->type = $type;
1425 }
1426
1427 public function getType()
1428 {
1429 return $this->type;
1430 }
1431 }
1432
1433 class Analytify_Google_Service_Fusiontables_LineStyle extends Analytify_Google_Model
1434 {
1435 public $strokeColor;
1436 protected $strokeColorStylerType = 'Analytify_Google_Service_Fusiontables_StyleFunction';
1437 protected $strokeColorStylerDataType = '';
1438 public $strokeOpacity;
1439 public $strokeWeight;
1440 protected $strokeWeightStylerType = 'Analytify_Google_Service_Fusiontables_StyleFunction';
1441 protected $strokeWeightStylerDataType = '';
1442
1443 public function setStrokeColor($strokeColor)
1444 {
1445 $this->strokeColor = $strokeColor;
1446 }
1447
1448 public function getStrokeColor()
1449 {
1450 return $this->strokeColor;
1451 }
1452
1453 public function setStrokeColorStyler(Analytify_Google_Service_Fusiontables_StyleFunction $strokeColorStyler)
1454 {
1455 $this->strokeColorStyler = $strokeColorStyler;
1456 }
1457
1458 public function getStrokeColorStyler()
1459 {
1460 return $this->strokeColorStyler;
1461 }
1462
1463 public function setStrokeOpacity($strokeOpacity)
1464 {
1465 $this->strokeOpacity = $strokeOpacity;
1466 }
1467
1468 public function getStrokeOpacity()
1469 {
1470 return $this->strokeOpacity;
1471 }
1472
1473 public function setStrokeWeight($strokeWeight)
1474 {
1475 $this->strokeWeight = $strokeWeight;
1476 }
1477
1478 public function getStrokeWeight()
1479 {
1480 return $this->strokeWeight;
1481 }
1482
1483 public function setStrokeWeightStyler(Analytify_Google_Service_Fusiontables_StyleFunction $strokeWeightStyler)
1484 {
1485 $this->strokeWeightStyler = $strokeWeightStyler;
1486 }
1487
1488 public function getStrokeWeightStyler()
1489 {
1490 return $this->strokeWeightStyler;
1491 }
1492 }
1493
1494 class Analytify_Google_Service_Fusiontables_Point extends Analytify_Google_Collection
1495 {
1496 public $coordinates;
1497 public $type;
1498
1499 public function setCoordinates($coordinates)
1500 {
1501 $this->coordinates = $coordinates;
1502 }
1503
1504 public function getCoordinates()
1505 {
1506 return $this->coordinates;
1507 }
1508
1509 public function setType($type)
1510 {
1511 $this->type = $type;
1512 }
1513
1514 public function getType()
1515 {
1516 return $this->type;
1517 }
1518 }
1519
1520 class Analytify_Google_Service_Fusiontables_PointStyle extends Analytify_Google_Model
1521 {
1522 public $iconName;
1523 protected $iconStylerType = 'Analytify_Google_Service_Fusiontables_StyleFunction';
1524 protected $iconStylerDataType = '';
1525
1526 public function setIconName($iconName)
1527 {
1528 $this->iconName = $iconName;
1529 }
1530
1531 public function getIconName()
1532 {
1533 return $this->iconName;
1534 }
1535
1536 public function setIconStyler(Analytify_Google_Service_Fusiontables_StyleFunction $iconStyler)
1537 {
1538 $this->iconStyler = $iconStyler;
1539 }
1540
1541 public function getIconStyler()
1542 {
1543 return $this->iconStyler;
1544 }
1545 }
1546
1547 class Analytify_Google_Service_Fusiontables_Polygon extends Analytify_Google_Collection
1548 {
1549 public $coordinates;
1550 public $type;
1551
1552 public function setCoordinates($coordinates)
1553 {
1554 $this->coordinates = $coordinates;
1555 }
1556
1557 public function getCoordinates()
1558 {
1559 return $this->coordinates;
1560 }
1561
1562 public function setType($type)
1563 {
1564 $this->type = $type;
1565 }
1566
1567 public function getType()
1568 {
1569 return $this->type;
1570 }
1571 }
1572
1573 class Analytify_Google_Service_Fusiontables_PolygonStyle extends Analytify_Google_Model
1574 {
1575 public $fillColor;
1576 protected $fillColorStylerType = 'Analytify_Google_Service_Fusiontables_StyleFunction';
1577 protected $fillColorStylerDataType = '';
1578 public $fillOpacity;
1579 public $strokeColor;
1580 protected $strokeColorStylerType = 'Analytify_Google_Service_Fusiontables_StyleFunction';
1581 protected $strokeColorStylerDataType = '';
1582 public $strokeOpacity;
1583 public $strokeWeight;
1584 protected $strokeWeightStylerType = 'Analytify_Google_Service_Fusiontables_StyleFunction';
1585 protected $strokeWeightStylerDataType = '';
1586
1587 public function setFillColor($fillColor)
1588 {
1589 $this->fillColor = $fillColor;
1590 }
1591
1592 public function getFillColor()
1593 {
1594 return $this->fillColor;
1595 }
1596
1597 public function setFillColorStyler(Analytify_Google_Service_Fusiontables_StyleFunction $fillColorStyler)
1598 {
1599 $this->fillColorStyler = $fillColorStyler;
1600 }
1601
1602 public function getFillColorStyler()
1603 {
1604 return $this->fillColorStyler;
1605 }
1606
1607 public function setFillOpacity($fillOpacity)
1608 {
1609 $this->fillOpacity = $fillOpacity;
1610 }
1611
1612 public function getFillOpacity()
1613 {
1614 return $this->fillOpacity;
1615 }
1616
1617 public function setStrokeColor($strokeColor)
1618 {
1619 $this->strokeColor = $strokeColor;
1620 }
1621
1622 public function getStrokeColor()
1623 {
1624 return $this->strokeColor;
1625 }
1626
1627 public function setStrokeColorStyler(Analytify_Google_Service_Fusiontables_StyleFunction $strokeColorStyler)
1628 {
1629 $this->strokeColorStyler = $strokeColorStyler;
1630 }
1631
1632 public function getStrokeColorStyler()
1633 {
1634 return $this->strokeColorStyler;
1635 }
1636
1637 public function setStrokeOpacity($strokeOpacity)
1638 {
1639 $this->strokeOpacity = $strokeOpacity;
1640 }
1641
1642 public function getStrokeOpacity()
1643 {
1644 return $this->strokeOpacity;
1645 }
1646
1647 public function setStrokeWeight($strokeWeight)
1648 {
1649 $this->strokeWeight = $strokeWeight;
1650 }
1651
1652 public function getStrokeWeight()
1653 {
1654 return $this->strokeWeight;
1655 }
1656
1657 public function setStrokeWeightStyler(Analytify_Google_Service_Fusiontables_StyleFunction $strokeWeightStyler)
1658 {
1659 $this->strokeWeightStyler = $strokeWeightStyler;
1660 }
1661
1662 public function getStrokeWeightStyler()
1663 {
1664 return $this->strokeWeightStyler;
1665 }
1666 }
1667
1668 class Analytify_Google_Service_Fusiontables_Sqlresponse extends Analytify_Google_Collection
1669 {
1670 public $columns;
1671 public $kind;
1672 public $rows;
1673
1674 public function setColumns($columns)
1675 {
1676 $this->columns = $columns;
1677 }
1678
1679 public function getColumns()
1680 {
1681 return $this->columns;
1682 }
1683
1684 public function setKind($kind)
1685 {
1686 $this->kind = $kind;
1687 }
1688
1689 public function getKind()
1690 {
1691 return $this->kind;
1692 }
1693
1694 public function setRows($rows)
1695 {
1696 $this->rows = $rows;
1697 }
1698
1699 public function getRows()
1700 {
1701 return $this->rows;
1702 }
1703 }
1704
1705 class Analytify_Google_Service_Fusiontables_StyleFunction extends Analytify_Google_Collection
1706 {
1707 protected $bucketsType = 'Analytify_Google_Service_Fusiontables_Bucket';
1708 protected $bucketsDataType = 'array';
1709 public $columnName;
1710 protected $gradientType = 'Analytify_Google_Service_Fusiontables_StyleFunctionGradient';
1711 protected $gradientDataType = '';
1712 public $kind;
1713
1714 public function setBuckets($buckets)
1715 {
1716 $this->buckets = $buckets;
1717 }
1718
1719 public function getBuckets()
1720 {
1721 return $this->buckets;
1722 }
1723
1724 public function setColumnName($columnName)
1725 {
1726 $this->columnName = $columnName;
1727 }
1728
1729 public function getColumnName()
1730 {
1731 return $this->columnName;
1732 }
1733
1734 public function setGradient(Analytify_Google_Service_Fusiontables_StyleFunctionGradient $gradient)
1735 {
1736 $this->gradient = $gradient;
1737 }
1738
1739 public function getGradient()
1740 {
1741 return $this->gradient;
1742 }
1743
1744 public function setKind($kind)
1745 {
1746 $this->kind = $kind;
1747 }
1748
1749 public function getKind()
1750 {
1751 return $this->kind;
1752 }
1753 }
1754
1755 class Analytify_Google_Service_Fusiontables_StyleFunctionGradient extends Analytify_Google_Collection
1756 {
1757 protected $colorsType = 'Analytify_Google_Service_Fusiontables_StyleFunctionGradientColors';
1758 protected $colorsDataType = 'array';
1759 public $max;
1760 public $min;
1761
1762 public function setColors($colors)
1763 {
1764 $this->colors = $colors;
1765 }
1766
1767 public function getColors()
1768 {
1769 return $this->colors;
1770 }
1771
1772 public function setMax($max)
1773 {
1774 $this->max = $max;
1775 }
1776
1777 public function getMax()
1778 {
1779 return $this->max;
1780 }
1781
1782 public function setMin($min)
1783 {
1784 $this->min = $min;
1785 }
1786
1787 public function getMin()
1788 {
1789 return $this->min;
1790 }
1791 }
1792
1793 class Analytify_Google_Service_Fusiontables_StyleFunctionGradientColors extends Analytify_Google_Model
1794 {
1795 public $color;
1796 public $opacity;
1797
1798 public function setColor($color)
1799 {
1800 $this->color = $color;
1801 }
1802
1803 public function getColor()
1804 {
1805 return $this->color;
1806 }
1807
1808 public function setOpacity($opacity)
1809 {
1810 $this->opacity = $opacity;
1811 }
1812
1813 public function getOpacity()
1814 {
1815 return $this->opacity;
1816 }
1817 }
1818
1819 class Analytify_Google_Service_Fusiontables_StyleSetting extends Analytify_Google_Model
1820 {
1821 public $kind;
1822 protected $markerOptionsType = 'Analytify_Google_Service_Fusiontables_PointStyle';
1823 protected $markerOptionsDataType = '';
1824 public $name;
1825 protected $polygonOptionsType = 'Analytify_Google_Service_Fusiontables_PolygonStyle';
1826 protected $polygonOptionsDataType = '';
1827 protected $polylineOptionsType = 'Analytify_Google_Service_Fusiontables_LineStyle';
1828 protected $polylineOptionsDataType = '';
1829 public $styleId;
1830 public $tableId;
1831
1832 public function setKind($kind)
1833 {
1834 $this->kind = $kind;
1835 }
1836
1837 public function getKind()
1838 {
1839 return $this->kind;
1840 }
1841
1842 public function setMarkerOptions(Analytify_Google_Service_Fusiontables_PointStyle $markerOptions)
1843 {
1844 $this->markerOptions = $markerOptions;
1845 }
1846
1847 public function getMarkerOptions()
1848 {
1849 return $this->markerOptions;
1850 }
1851
1852 public function setName($name)
1853 {
1854 $this->name = $name;
1855 }
1856
1857 public function getName()
1858 {
1859 return $this->name;
1860 }
1861
1862 public function setPolygonOptions(Analytify_Google_Service_Fusiontables_PolygonStyle $polygonOptions)
1863 {
1864 $this->polygonOptions = $polygonOptions;
1865 }
1866
1867 public function getPolygonOptions()
1868 {
1869 return $this->polygonOptions;
1870 }
1871
1872 public function setPolylineOptions(Analytify_Google_Service_Fusiontables_LineStyle $polylineOptions)
1873 {
1874 $this->polylineOptions = $polylineOptions;
1875 }
1876
1877 public function getPolylineOptions()
1878 {
1879 return $this->polylineOptions;
1880 }
1881
1882 public function setStyleId($styleId)
1883 {
1884 $this->styleId = $styleId;
1885 }
1886
1887 public function getStyleId()
1888 {
1889 return $this->styleId;
1890 }
1891
1892 public function setTableId($tableId)
1893 {
1894 $this->tableId = $tableId;
1895 }
1896
1897 public function getTableId()
1898 {
1899 return $this->tableId;
1900 }
1901 }
1902
1903 class Analytify_Google_Service_Fusiontables_StyleSettingList extends Analytify_Google_Collection
1904 {
1905 protected $itemsType = 'Analytify_Google_Service_Fusiontables_StyleSetting';
1906 protected $itemsDataType = 'array';
1907 public $kind;
1908 public $nextPageToken;
1909 public $totalItems;
1910
1911 public function setItems($items)
1912 {
1913 $this->items = $items;
1914 }
1915
1916 public function getItems()
1917 {
1918 return $this->items;
1919 }
1920
1921 public function setKind($kind)
1922 {
1923 $this->kind = $kind;
1924 }
1925
1926 public function getKind()
1927 {
1928 return $this->kind;
1929 }
1930
1931 public function setNextPageToken($nextPageToken)
1932 {
1933 $this->nextPageToken = $nextPageToken;
1934 }
1935
1936 public function getNextPageToken()
1937 {
1938 return $this->nextPageToken;
1939 }
1940
1941 public function setTotalItems($totalItems)
1942 {
1943 $this->totalItems = $totalItems;
1944 }
1945
1946 public function getTotalItems()
1947 {
1948 return $this->totalItems;
1949 }
1950 }
1951
1952 class Analytify_Google_Service_Fusiontables_Table extends Analytify_Google_Collection
1953 {
1954 public $attribution;
1955 public $attributionLink;
1956 public $baseTableIds;
1957 protected $columnsType = 'Analytify_Google_Service_Fusiontables_Column';
1958 protected $columnsDataType = 'array';
1959 public $description;
1960 public $isExportable;
1961 public $kind;
1962 public $name;
1963 public $sql;
1964 public $tableId;
1965
1966 public function setAttribution($attribution)
1967 {
1968 $this->attribution = $attribution;
1969 }
1970
1971 public function getAttribution()
1972 {
1973 return $this->attribution;
1974 }
1975
1976 public function setAttributionLink($attributionLink)
1977 {
1978 $this->attributionLink = $attributionLink;
1979 }
1980
1981 public function getAttributionLink()
1982 {
1983 return $this->attributionLink;
1984 }
1985
1986 public function setBaseTableIds($baseTableIds)
1987 {
1988 $this->baseTableIds = $baseTableIds;
1989 }
1990
1991 public function getBaseTableIds()
1992 {
1993 return $this->baseTableIds;
1994 }
1995
1996 public function setColumns($columns)
1997 {
1998 $this->columns = $columns;
1999 }
2000
2001 public function getColumns()
2002 {
2003 return $this->columns;
2004 }
2005
2006 public function setDescription($description)
2007 {
2008 $this->description = $description;
2009 }
2010
2011 public function getDescription()
2012 {
2013 return $this->description;
2014 }
2015
2016 public function setIsExportable($isExportable)
2017 {
2018 $this->isExportable = $isExportable;
2019 }
2020
2021 public function getIsExportable()
2022 {
2023 return $this->isExportable;
2024 }
2025
2026 public function setKind($kind)
2027 {
2028 $this->kind = $kind;
2029 }
2030
2031 public function getKind()
2032 {
2033 return $this->kind;
2034 }
2035
2036 public function setName($name)
2037 {
2038 $this->name = $name;
2039 }
2040
2041 public function getName()
2042 {
2043 return $this->name;
2044 }
2045
2046 public function setSql($sql)
2047 {
2048 $this->sql = $sql;
2049 }
2050
2051 public function getSql()
2052 {
2053 return $this->sql;
2054 }
2055
2056 public function setTableId($tableId)
2057 {
2058 $this->tableId = $tableId;
2059 }
2060
2061 public function getTableId()
2062 {
2063 return $this->tableId;
2064 }
2065 }
2066
2067 class Analytify_Google_Service_Fusiontables_TableList extends Analytify_Google_Collection
2068 {
2069 protected $itemsType = 'Analytify_Google_Service_Fusiontables_Table';
2070 protected $itemsDataType = 'array';
2071 public $kind;
2072 public $nextPageToken;
2073
2074 public function setItems($items)
2075 {
2076 $this->items = $items;
2077 }
2078
2079 public function getItems()
2080 {
2081 return $this->items;
2082 }
2083
2084 public function setKind($kind)
2085 {
2086 $this->kind = $kind;
2087 }
2088
2089 public function getKind()
2090 {
2091 return $this->kind;
2092 }
2093
2094 public function setNextPageToken($nextPageToken)
2095 {
2096 $this->nextPageToken = $nextPageToken;
2097 }
2098
2099 public function getNextPageToken()
2100 {
2101 return $this->nextPageToken;
2102 }
2103 }
2104
2105 class Analytify_Google_Service_Fusiontables_Template extends Analytify_Google_Collection
2106 {
2107 public $automaticColumnNames;
2108 public $body;
2109 public $kind;
2110 public $name;
2111 public $tableId;
2112 public $templateId;
2113
2114 public function setAutomaticColumnNames($automaticColumnNames)
2115 {
2116 $this->automaticColumnNames = $automaticColumnNames;
2117 }
2118
2119 public function getAutomaticColumnNames()
2120 {
2121 return $this->automaticColumnNames;
2122 }
2123
2124 public function setBody($body)
2125 {
2126 $this->body = $body;
2127 }
2128
2129 public function getBody()
2130 {
2131 return $this->body;
2132 }
2133
2134 public function setKind($kind)
2135 {
2136 $this->kind = $kind;
2137 }
2138
2139 public function getKind()
2140 {
2141 return $this->kind;
2142 }
2143
2144 public function setName($name)
2145 {
2146 $this->name = $name;
2147 }
2148
2149 public function getName()
2150 {
2151 return $this->name;
2152 }
2153
2154 public function setTableId($tableId)
2155 {
2156 $this->tableId = $tableId;
2157 }
2158
2159 public function getTableId()
2160 {
2161 return $this->tableId;
2162 }
2163
2164 public function setTemplateId($templateId)
2165 {
2166 $this->templateId = $templateId;
2167 }
2168
2169 public function getTemplateId()
2170 {
2171 return $this->templateId;
2172 }
2173 }
2174
2175 class Analytify_Google_Service_Fusiontables_TemplateList extends Analytify_Google_Collection
2176 {
2177 protected $itemsType = 'Analytify_Google_Service_Fusiontables_Template';
2178 protected $itemsDataType = 'array';
2179 public $kind;
2180 public $nextPageToken;
2181 public $totalItems;
2182
2183 public function setItems($items)
2184 {
2185 $this->items = $items;
2186 }
2187
2188 public function getItems()
2189 {
2190 return $this->items;
2191 }
2192
2193 public function setKind($kind)
2194 {
2195 $this->kind = $kind;
2196 }
2197
2198 public function getKind()
2199 {
2200 return $this->kind;
2201 }
2202
2203 public function setNextPageToken($nextPageToken)
2204 {
2205 $this->nextPageToken = $nextPageToken;
2206 }
2207
2208 public function getNextPageToken()
2209 {
2210 return $this->nextPageToken;
2211 }
2212
2213 public function setTotalItems($totalItems)
2214 {
2215 $this->totalItems = $totalItems;
2216 }
2217
2218 public function getTotalItems()
2219 {
2220 return $this->totalItems;
2221 }
2222 }
2223