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