Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

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