[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> Fusiontables.php (source)

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


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1