[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> Bigquery.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 Bigquery (v2).
  20   *
  21   * <p>
  22   * A data platform for customers to create, manage, share and query data.
  23   * </p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://developers.google.com/bigquery/docs/overview" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  class Google_Service_Bigquery extends Google_Service
  33  {
  34    /** View and manage your data in Google BigQuery. */
  35    const BIGQUERY = "https://www.googleapis.com/auth/bigquery";
  36    /** Insert data into Google BigQuery. */
  37    const BIGQUERY_INSERTDATA = "https://www.googleapis.com/auth/bigquery.insertdata";
  38    /** View and manage your data across Google Cloud Platform services. */
  39    const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform";
  40    /** Manage your data and permissions in Google Cloud Storage. */
  41    const DEVSTORAGE_FULL_CONTROL = "https://www.googleapis.com/auth/devstorage.full_control";
  42    /** View your data in Google Cloud Storage. */
  43    const DEVSTORAGE_READ_ONLY = "https://www.googleapis.com/auth/devstorage.read_only";
  44    /** Manage your data in Google Cloud Storage. */
  45    const DEVSTORAGE_READ_WRITE = "https://www.googleapis.com/auth/devstorage.read_write";
  46  
  47    public $datasets;
  48    public $jobs;
  49    public $projects;
  50    public $tabledata;
  51    public $tables;
  52    
  53  
  54    /**
  55     * Constructs the internal representation of the Bigquery service.
  56     *
  57     * @param Google_Client $client
  58     */
  59    public function __construct(Google_Client $client)
  60    {
  61      parent::__construct($client);
  62      $this->servicePath = 'bigquery/v2/';
  63      $this->version = 'v2';
  64      $this->serviceName = 'bigquery';
  65  
  66      $this->datasets = new Google_Service_Bigquery_Datasets_Resource(
  67          $this,
  68          $this->serviceName,
  69          'datasets',
  70          array(
  71            'methods' => array(
  72              'delete' => array(
  73                'path' => 'projects/{projectId}/datasets/{datasetId}',
  74                'httpMethod' => 'DELETE',
  75                'parameters' => array(
  76                  'projectId' => array(
  77                    'location' => 'path',
  78                    'type' => 'string',
  79                    'required' => true,
  80                  ),
  81                  'datasetId' => array(
  82                    'location' => 'path',
  83                    'type' => 'string',
  84                    'required' => true,
  85                  ),
  86                  'deleteContents' => array(
  87                    'location' => 'query',
  88                    'type' => 'boolean',
  89                  ),
  90                ),
  91              ),'get' => array(
  92                'path' => 'projects/{projectId}/datasets/{datasetId}',
  93                'httpMethod' => 'GET',
  94                'parameters' => array(
  95                  'projectId' => array(
  96                    'location' => 'path',
  97                    'type' => 'string',
  98                    'required' => true,
  99                  ),
 100                  'datasetId' => array(
 101                    'location' => 'path',
 102                    'type' => 'string',
 103                    'required' => true,
 104                  ),
 105                ),
 106              ),'insert' => array(
 107                'path' => 'projects/{projectId}/datasets',
 108                'httpMethod' => 'POST',
 109                'parameters' => array(
 110                  'projectId' => array(
 111                    'location' => 'path',
 112                    'type' => 'string',
 113                    'required' => true,
 114                  ),
 115                ),
 116              ),'list' => array(
 117                'path' => 'projects/{projectId}/datasets',
 118                'httpMethod' => 'GET',
 119                'parameters' => array(
 120                  'projectId' => array(
 121                    'location' => 'path',
 122                    'type' => 'string',
 123                    'required' => true,
 124                  ),
 125                  'pageToken' => array(
 126                    'location' => 'query',
 127                    'type' => 'string',
 128                  ),
 129                  'all' => array(
 130                    'location' => 'query',
 131                    'type' => 'boolean',
 132                  ),
 133                  'maxResults' => array(
 134                    'location' => 'query',
 135                    'type' => 'integer',
 136                  ),
 137                ),
 138              ),'patch' => array(
 139                'path' => 'projects/{projectId}/datasets/{datasetId}',
 140                'httpMethod' => 'PATCH',
 141                'parameters' => array(
 142                  'projectId' => array(
 143                    'location' => 'path',
 144                    'type' => 'string',
 145                    'required' => true,
 146                  ),
 147                  'datasetId' => array(
 148                    'location' => 'path',
 149                    'type' => 'string',
 150                    'required' => true,
 151                  ),
 152                ),
 153              ),'update' => array(
 154                'path' => 'projects/{projectId}/datasets/{datasetId}',
 155                'httpMethod' => 'PUT',
 156                'parameters' => array(
 157                  'projectId' => array(
 158                    'location' => 'path',
 159                    'type' => 'string',
 160                    'required' => true,
 161                  ),
 162                  'datasetId' => array(
 163                    'location' => 'path',
 164                    'type' => 'string',
 165                    'required' => true,
 166                  ),
 167                ),
 168              ),
 169            )
 170          )
 171      );
 172      $this->jobs = new Google_Service_Bigquery_Jobs_Resource(
 173          $this,
 174          $this->serviceName,
 175          'jobs',
 176          array(
 177            'methods' => array(
 178              'get' => array(
 179                'path' => 'projects/{projectId}/jobs/{jobId}',
 180                'httpMethod' => 'GET',
 181                'parameters' => array(
 182                  'projectId' => array(
 183                    'location' => 'path',
 184                    'type' => 'string',
 185                    'required' => true,
 186                  ),
 187                  'jobId' => array(
 188                    'location' => 'path',
 189                    'type' => 'string',
 190                    'required' => true,
 191                  ),
 192                ),
 193              ),'getQueryResults' => array(
 194                'path' => 'projects/{projectId}/queries/{jobId}',
 195                'httpMethod' => 'GET',
 196                'parameters' => array(
 197                  'projectId' => array(
 198                    'location' => 'path',
 199                    'type' => 'string',
 200                    'required' => true,
 201                  ),
 202                  'jobId' => array(
 203                    'location' => 'path',
 204                    'type' => 'string',
 205                    'required' => true,
 206                  ),
 207                  'timeoutMs' => array(
 208                    'location' => 'query',
 209                    'type' => 'integer',
 210                  ),
 211                  'maxResults' => array(
 212                    'location' => 'query',
 213                    'type' => 'integer',
 214                  ),
 215                  'pageToken' => array(
 216                    'location' => 'query',
 217                    'type' => 'string',
 218                  ),
 219                  'startIndex' => array(
 220                    'location' => 'query',
 221                    'type' => 'string',
 222                  ),
 223                ),
 224              ),'insert' => array(
 225                'path' => 'projects/{projectId}/jobs',
 226                'httpMethod' => 'POST',
 227                'parameters' => array(
 228                  'projectId' => array(
 229                    'location' => 'path',
 230                    'type' => 'string',
 231                    'required' => true,
 232                  ),
 233                ),
 234              ),'list' => array(
 235                'path' => 'projects/{projectId}/jobs',
 236                'httpMethod' => 'GET',
 237                'parameters' => array(
 238                  'projectId' => array(
 239                    'location' => 'path',
 240                    'type' => 'string',
 241                    'required' => true,
 242                  ),
 243                  'projection' => array(
 244                    'location' => 'query',
 245                    'type' => 'string',
 246                  ),
 247                  'stateFilter' => array(
 248                    'location' => 'query',
 249                    'type' => 'string',
 250                    'repeated' => true,
 251                  ),
 252                  'allUsers' => array(
 253                    'location' => 'query',
 254                    'type' => 'boolean',
 255                  ),
 256                  'maxResults' => array(
 257                    'location' => 'query',
 258                    'type' => 'integer',
 259                  ),
 260                  'pageToken' => array(
 261                    'location' => 'query',
 262                    'type' => 'string',
 263                  ),
 264                ),
 265              ),'query' => array(
 266                'path' => 'projects/{projectId}/queries',
 267                'httpMethod' => 'POST',
 268                'parameters' => array(
 269                  'projectId' => array(
 270                    'location' => 'path',
 271                    'type' => 'string',
 272                    'required' => true,
 273                  ),
 274                ),
 275              ),
 276            )
 277          )
 278      );
 279      $this->projects = new Google_Service_Bigquery_Projects_Resource(
 280          $this,
 281          $this->serviceName,
 282          'projects',
 283          array(
 284            'methods' => array(
 285              'list' => array(
 286                'path' => 'projects',
 287                'httpMethod' => 'GET',
 288                'parameters' => array(
 289                  'pageToken' => array(
 290                    'location' => 'query',
 291                    'type' => 'string',
 292                  ),
 293                  'maxResults' => array(
 294                    'location' => 'query',
 295                    'type' => 'integer',
 296                  ),
 297                ),
 298              ),
 299            )
 300          )
 301      );
 302      $this->tabledata = new Google_Service_Bigquery_Tabledata_Resource(
 303          $this,
 304          $this->serviceName,
 305          'tabledata',
 306          array(
 307            'methods' => array(
 308              'insertAll' => array(
 309                'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAll',
 310                'httpMethod' => 'POST',
 311                'parameters' => array(
 312                  'projectId' => array(
 313                    'location' => 'path',
 314                    'type' => 'string',
 315                    'required' => true,
 316                  ),
 317                  'datasetId' => array(
 318                    'location' => 'path',
 319                    'type' => 'string',
 320                    'required' => true,
 321                  ),
 322                  'tableId' => array(
 323                    'location' => 'path',
 324                    'type' => 'string',
 325                    'required' => true,
 326                  ),
 327                ),
 328              ),'list' => array(
 329                'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data',
 330                'httpMethod' => 'GET',
 331                'parameters' => array(
 332                  'projectId' => array(
 333                    'location' => 'path',
 334                    'type' => 'string',
 335                    'required' => true,
 336                  ),
 337                  'datasetId' => array(
 338                    'location' => 'path',
 339                    'type' => 'string',
 340                    'required' => true,
 341                  ),
 342                  'tableId' => array(
 343                    'location' => 'path',
 344                    'type' => 'string',
 345                    'required' => true,
 346                  ),
 347                  'maxResults' => array(
 348                    'location' => 'query',
 349                    'type' => 'integer',
 350                  ),
 351                  'pageToken' => array(
 352                    'location' => 'query',
 353                    'type' => 'string',
 354                  ),
 355                  'startIndex' => array(
 356                    'location' => 'query',
 357                    'type' => 'string',
 358                  ),
 359                ),
 360              ),
 361            )
 362          )
 363      );
 364      $this->tables = new Google_Service_Bigquery_Tables_Resource(
 365          $this,
 366          $this->serviceName,
 367          'tables',
 368          array(
 369            'methods' => array(
 370              'delete' => array(
 371                'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}',
 372                'httpMethod' => 'DELETE',
 373                'parameters' => array(
 374                  'projectId' => array(
 375                    'location' => 'path',
 376                    'type' => 'string',
 377                    'required' => true,
 378                  ),
 379                  'datasetId' => array(
 380                    'location' => 'path',
 381                    'type' => 'string',
 382                    'required' => true,
 383                  ),
 384                  'tableId' => array(
 385                    'location' => 'path',
 386                    'type' => 'string',
 387                    'required' => true,
 388                  ),
 389                ),
 390              ),'get' => array(
 391                'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}',
 392                'httpMethod' => 'GET',
 393                'parameters' => array(
 394                  'projectId' => array(
 395                    'location' => 'path',
 396                    'type' => 'string',
 397                    'required' => true,
 398                  ),
 399                  'datasetId' => array(
 400                    'location' => 'path',
 401                    'type' => 'string',
 402                    'required' => true,
 403                  ),
 404                  'tableId' => array(
 405                    'location' => 'path',
 406                    'type' => 'string',
 407                    'required' => true,
 408                  ),
 409                ),
 410              ),'insert' => array(
 411                'path' => 'projects/{projectId}/datasets/{datasetId}/tables',
 412                'httpMethod' => 'POST',
 413                'parameters' => array(
 414                  'projectId' => array(
 415                    'location' => 'path',
 416                    'type' => 'string',
 417                    'required' => true,
 418                  ),
 419                  'datasetId' => array(
 420                    'location' => 'path',
 421                    'type' => 'string',
 422                    'required' => true,
 423                  ),
 424                ),
 425              ),'list' => array(
 426                'path' => 'projects/{projectId}/datasets/{datasetId}/tables',
 427                'httpMethod' => 'GET',
 428                'parameters' => array(
 429                  'projectId' => array(
 430                    'location' => 'path',
 431                    'type' => 'string',
 432                    'required' => true,
 433                  ),
 434                  'datasetId' => array(
 435                    'location' => 'path',
 436                    'type' => 'string',
 437                    'required' => true,
 438                  ),
 439                  'pageToken' => array(
 440                    'location' => 'query',
 441                    'type' => 'string',
 442                  ),
 443                  'maxResults' => array(
 444                    'location' => 'query',
 445                    'type' => 'integer',
 446                  ),
 447                ),
 448              ),'patch' => array(
 449                'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}',
 450                'httpMethod' => 'PATCH',
 451                'parameters' => array(
 452                  'projectId' => array(
 453                    'location' => 'path',
 454                    'type' => 'string',
 455                    'required' => true,
 456                  ),
 457                  'datasetId' => array(
 458                    'location' => 'path',
 459                    'type' => 'string',
 460                    'required' => true,
 461                  ),
 462                  'tableId' => array(
 463                    'location' => 'path',
 464                    'type' => 'string',
 465                    'required' => true,
 466                  ),
 467                ),
 468              ),'update' => array(
 469                'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}',
 470                'httpMethod' => 'PUT',
 471                'parameters' => array(
 472                  'projectId' => array(
 473                    'location' => 'path',
 474                    'type' => 'string',
 475                    'required' => true,
 476                  ),
 477                  'datasetId' => array(
 478                    'location' => 'path',
 479                    'type' => 'string',
 480                    'required' => true,
 481                  ),
 482                  'tableId' => array(
 483                    'location' => 'path',
 484                    'type' => 'string',
 485                    'required' => true,
 486                  ),
 487                ),
 488              ),
 489            )
 490          )
 491      );
 492    }
 493  }
 494  
 495  
 496  /**
 497   * The "datasets" collection of methods.
 498   * Typical usage is:
 499   *  <code>
 500   *   $bigqueryService = new Google_Service_Bigquery(...);
 501   *   $datasets = $bigqueryService->datasets;
 502   *  </code>
 503   */
 504  class Google_Service_Bigquery_Datasets_Resource extends Google_Service_Resource
 505  {
 506  
 507    /**
 508     * Deletes the dataset specified by the datasetId value. Before you can delete a
 509     * dataset, you must delete all its tables, either manually or by specifying
 510     * deleteContents. Immediately after deletion, you can create another dataset
 511     * with the same name. (datasets.delete)
 512     *
 513     * @param string $projectId
 514     * Project ID of the dataset being deleted
 515     * @param string $datasetId
 516     * Dataset ID of dataset being deleted
 517     * @param array $optParams Optional parameters.
 518     *
 519     * @opt_param bool deleteContents
 520     * If True, delete all the tables in the dataset. If False and the dataset contains tables, the
 521      * request will fail. Default is False
 522     */
 523    public function delete($projectId, $datasetId, $optParams = array())
 524    {
 525      $params = array('projectId' => $projectId, 'datasetId' => $datasetId);
 526      $params = array_merge($params, $optParams);
 527      return $this->call('delete', array($params));
 528    }
 529    /**
 530     * Returns the dataset specified by datasetID. (datasets.get)
 531     *
 532     * @param string $projectId
 533     * Project ID of the requested dataset
 534     * @param string $datasetId
 535     * Dataset ID of the requested dataset
 536     * @param array $optParams Optional parameters.
 537     * @return Google_Service_Bigquery_Dataset
 538     */
 539    public function get($projectId, $datasetId, $optParams = array())
 540    {
 541      $params = array('projectId' => $projectId, 'datasetId' => $datasetId);
 542      $params = array_merge($params, $optParams);
 543      return $this->call('get', array($params), "Google_Service_Bigquery_Dataset");
 544    }
 545    /**
 546     * Creates a new empty dataset. (datasets.insert)
 547     *
 548     * @param string $projectId
 549     * Project ID of the new dataset
 550     * @param Google_Dataset $postBody
 551     * @param array $optParams Optional parameters.
 552     * @return Google_Service_Bigquery_Dataset
 553     */
 554    public function insert($projectId, Google_Service_Bigquery_Dataset $postBody, $optParams = array())
 555    {
 556      $params = array('projectId' => $projectId, 'postBody' => $postBody);
 557      $params = array_merge($params, $optParams);
 558      return $this->call('insert', array($params), "Google_Service_Bigquery_Dataset");
 559    }
 560    /**
 561     * Lists all the datasets in the specified project to which the caller has read
 562     * access; however, a project owner can list (but not necessarily get) all
 563     * datasets in his project. (datasets.listDatasets)
 564     *
 565     * @param string $projectId
 566     * Project ID of the datasets to be listed
 567     * @param array $optParams Optional parameters.
 568     *
 569     * @opt_param string pageToken
 570     * Page token, returned by a previous call, to request the next page of results
 571     * @opt_param bool all
 572     * Whether to list all datasets, including hidden ones
 573     * @opt_param string maxResults
 574     * The maximum number of results to return
 575     * @return Google_Service_Bigquery_DatasetList
 576     */
 577    public function listDatasets($projectId, $optParams = array())
 578    {
 579      $params = array('projectId' => $projectId);
 580      $params = array_merge($params, $optParams);
 581      return $this->call('list', array($params), "Google_Service_Bigquery_DatasetList");
 582    }
 583    /**
 584     * Updates information in an existing dataset. The update method replaces the
 585     * entire dataset resource, whereas the patch method only replaces fields that
 586     * are provided in the submitted dataset resource. This method supports patch
 587     * semantics. (datasets.patch)
 588     *
 589     * @param string $projectId
 590     * Project ID of the dataset being updated
 591     * @param string $datasetId
 592     * Dataset ID of the dataset being updated
 593     * @param Google_Dataset $postBody
 594     * @param array $optParams Optional parameters.
 595     * @return Google_Service_Bigquery_Dataset
 596     */
 597    public function patch($projectId, $datasetId, Google_Service_Bigquery_Dataset $postBody, $optParams = array())
 598    {
 599      $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody);
 600      $params = array_merge($params, $optParams);
 601      return $this->call('patch', array($params), "Google_Service_Bigquery_Dataset");
 602    }
 603    /**
 604     * Updates information in an existing dataset. The update method replaces the
 605     * entire dataset resource, whereas the patch method only replaces fields that
 606     * are provided in the submitted dataset resource. (datasets.update)
 607     *
 608     * @param string $projectId
 609     * Project ID of the dataset being updated
 610     * @param string $datasetId
 611     * Dataset ID of the dataset being updated
 612     * @param Google_Dataset $postBody
 613     * @param array $optParams Optional parameters.
 614     * @return Google_Service_Bigquery_Dataset
 615     */
 616    public function update($projectId, $datasetId, Google_Service_Bigquery_Dataset $postBody, $optParams = array())
 617    {
 618      $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody);
 619      $params = array_merge($params, $optParams);
 620      return $this->call('update', array($params), "Google_Service_Bigquery_Dataset");
 621    }
 622  }
 623  
 624  /**
 625   * The "jobs" collection of methods.
 626   * Typical usage is:
 627   *  <code>
 628   *   $bigqueryService = new Google_Service_Bigquery(...);
 629   *   $jobs = $bigqueryService->jobs;
 630   *  </code>
 631   */
 632  class Google_Service_Bigquery_Jobs_Resource extends Google_Service_Resource
 633  {
 634  
 635    /**
 636     * Retrieves the specified job by ID. (jobs.get)
 637     *
 638     * @param string $projectId
 639     * Project ID of the requested job
 640     * @param string $jobId
 641     * Job ID of the requested job
 642     * @param array $optParams Optional parameters.
 643     * @return Google_Service_Bigquery_Job
 644     */
 645    public function get($projectId, $jobId, $optParams = array())
 646    {
 647      $params = array('projectId' => $projectId, 'jobId' => $jobId);
 648      $params = array_merge($params, $optParams);
 649      return $this->call('get', array($params), "Google_Service_Bigquery_Job");
 650    }
 651    /**
 652     * Retrieves the results of a query job. (jobs.getQueryResults)
 653     *
 654     * @param string $projectId
 655     * Project ID of the query job
 656     * @param string $jobId
 657     * Job ID of the query job
 658     * @param array $optParams Optional parameters.
 659     *
 660     * @opt_param string timeoutMs
 661     * How long to wait for the query to complete, in milliseconds, before returning. Default is to
 662      * return immediately. If the timeout passes before the job completes, the request will fail with a
 663      * TIMEOUT error
 664     * @opt_param string maxResults
 665     * Maximum number of results to read
 666     * @opt_param string pageToken
 667     * Page token, returned by a previous call, to request the next page of results
 668     * @opt_param string startIndex
 669     * Zero-based index of the starting row
 670     * @return Google_Service_Bigquery_GetQueryResultsResponse
 671     */
 672    public function getQueryResults($projectId, $jobId, $optParams = array())
 673    {
 674      $params = array('projectId' => $projectId, 'jobId' => $jobId);
 675      $params = array_merge($params, $optParams);
 676      return $this->call('getQueryResults', array($params), "Google_Service_Bigquery_GetQueryResultsResponse");
 677    }
 678    /**
 679     * Starts a new asynchronous job. (jobs.insert)
 680     *
 681     * @param string $projectId
 682     * Project ID of the project that will be billed for the job
 683     * @param Google_Job $postBody
 684     * @param array $optParams Optional parameters.
 685     * @return Google_Service_Bigquery_Job
 686     */
 687    public function insert($projectId, Google_Service_Bigquery_Job $postBody, $optParams = array())
 688    {
 689      $params = array('projectId' => $projectId, 'postBody' => $postBody);
 690      $params = array_merge($params, $optParams);
 691      return $this->call('insert', array($params), "Google_Service_Bigquery_Job");
 692    }
 693    /**
 694     * Lists all the Jobs in the specified project that were started by the user.
 695     * The job list returns in reverse chronological order of when the jobs were
 696     * created, starting with the most recent job created. (jobs.listJobs)
 697     *
 698     * @param string $projectId
 699     * Project ID of the jobs to list
 700     * @param array $optParams Optional parameters.
 701     *
 702     * @opt_param string projection
 703     * Restrict information returned to a set of selected fields
 704     * @opt_param string stateFilter
 705     * Filter for job state
 706     * @opt_param bool allUsers
 707     * Whether to display jobs owned by all users in the project. Default false
 708     * @opt_param string maxResults
 709     * Maximum number of results to return
 710     * @opt_param string pageToken
 711     * Page token, returned by a previous call, to request the next page of results
 712     * @return Google_Service_Bigquery_JobList
 713     */
 714    public function listJobs($projectId, $optParams = array())
 715    {
 716      $params = array('projectId' => $projectId);
 717      $params = array_merge($params, $optParams);
 718      return $this->call('list', array($params), "Google_Service_Bigquery_JobList");
 719    }
 720    /**
 721     * Runs a BigQuery SQL query synchronously and returns query results if the
 722     * query completes within a specified timeout. (jobs.query)
 723     *
 724     * @param string $projectId
 725     * Project ID of the project billed for the query
 726     * @param Google_QueryRequest $postBody
 727     * @param array $optParams Optional parameters.
 728     * @return Google_Service_Bigquery_QueryResponse
 729     */
 730    public function query($projectId, Google_Service_Bigquery_QueryRequest $postBody, $optParams = array())
 731    {
 732      $params = array('projectId' => $projectId, 'postBody' => $postBody);
 733      $params = array_merge($params, $optParams);
 734      return $this->call('query', array($params), "Google_Service_Bigquery_QueryResponse");
 735    }
 736  }
 737  
 738  /**
 739   * The "projects" collection of methods.
 740   * Typical usage is:
 741   *  <code>
 742   *   $bigqueryService = new Google_Service_Bigquery(...);
 743   *   $projects = $bigqueryService->projects;
 744   *  </code>
 745   */
 746  class Google_Service_Bigquery_Projects_Resource extends Google_Service_Resource
 747  {
 748  
 749    /**
 750     * Lists the projects to which you have at least read access.
 751     * (projects.listProjects)
 752     *
 753     * @param array $optParams Optional parameters.
 754     *
 755     * @opt_param string pageToken
 756     * Page token, returned by a previous call, to request the next page of results
 757     * @opt_param string maxResults
 758     * Maximum number of results to return
 759     * @return Google_Service_Bigquery_ProjectList
 760     */
 761    public function listProjects($optParams = array())
 762    {
 763      $params = array();
 764      $params = array_merge($params, $optParams);
 765      return $this->call('list', array($params), "Google_Service_Bigquery_ProjectList");
 766    }
 767  }
 768  
 769  /**
 770   * The "tabledata" collection of methods.
 771   * Typical usage is:
 772   *  <code>
 773   *   $bigqueryService = new Google_Service_Bigquery(...);
 774   *   $tabledata = $bigqueryService->tabledata;
 775   *  </code>
 776   */
 777  class Google_Service_Bigquery_Tabledata_Resource extends Google_Service_Resource
 778  {
 779  
 780    /**
 781     * Streams data into BigQuery one record at a time without needing to run a load
 782     * job. (tabledata.insertAll)
 783     *
 784     * @param string $projectId
 785     * Project ID of the destination table.
 786     * @param string $datasetId
 787     * Dataset ID of the destination table.
 788     * @param string $tableId
 789     * Table ID of the destination table.
 790     * @param Google_TableDataInsertAllRequest $postBody
 791     * @param array $optParams Optional parameters.
 792     * @return Google_Service_Bigquery_TableDataInsertAllResponse
 793     */
 794    public function insertAll($projectId, $datasetId, $tableId, Google_Service_Bigquery_TableDataInsertAllRequest $postBody, $optParams = array())
 795    {
 796      $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
 797      $params = array_merge($params, $optParams);
 798      return $this->call('insertAll', array($params), "Google_Service_Bigquery_TableDataInsertAllResponse");
 799    }
 800    /**
 801     * Retrieves table data from a specified set of rows. (tabledata.listTabledata)
 802     *
 803     * @param string $projectId
 804     * Project ID of the table to read
 805     * @param string $datasetId
 806     * Dataset ID of the table to read
 807     * @param string $tableId
 808     * Table ID of the table to read
 809     * @param array $optParams Optional parameters.
 810     *
 811     * @opt_param string maxResults
 812     * Maximum number of results to return
 813     * @opt_param string pageToken
 814     * Page token, returned by a previous call, identifying the result set
 815     * @opt_param string startIndex
 816     * Zero-based index of the starting row to read
 817     * @return Google_Service_Bigquery_TableDataList
 818     */
 819    public function listTabledata($projectId, $datasetId, $tableId, $optParams = array())
 820    {
 821      $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId);
 822      $params = array_merge($params, $optParams);
 823      return $this->call('list', array($params), "Google_Service_Bigquery_TableDataList");
 824    }
 825  }
 826  
 827  /**
 828   * The "tables" collection of methods.
 829   * Typical usage is:
 830   *  <code>
 831   *   $bigqueryService = new Google_Service_Bigquery(...);
 832   *   $tables = $bigqueryService->tables;
 833   *  </code>
 834   */
 835  class Google_Service_Bigquery_Tables_Resource extends Google_Service_Resource
 836  {
 837  
 838    /**
 839     * Deletes the table specified by tableId from the dataset. If the table
 840     * contains data, all the data will be deleted. (tables.delete)
 841     *
 842     * @param string $projectId
 843     * Project ID of the table to delete
 844     * @param string $datasetId
 845     * Dataset ID of the table to delete
 846     * @param string $tableId
 847     * Table ID of the table to delete
 848     * @param array $optParams Optional parameters.
 849     */
 850    public function delete($projectId, $datasetId, $tableId, $optParams = array())
 851    {
 852      $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId);
 853      $params = array_merge($params, $optParams);
 854      return $this->call('delete', array($params));
 855    }
 856    /**
 857     * Gets the specified table resource by table ID. This method does not return
 858     * the data in the table, it only returns the table resource, which describes
 859     * the structure of this table. (tables.get)
 860     *
 861     * @param string $projectId
 862     * Project ID of the requested table
 863     * @param string $datasetId
 864     * Dataset ID of the requested table
 865     * @param string $tableId
 866     * Table ID of the requested table
 867     * @param array $optParams Optional parameters.
 868     * @return Google_Service_Bigquery_Table
 869     */
 870    public function get($projectId, $datasetId, $tableId, $optParams = array())
 871    {
 872      $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId);
 873      $params = array_merge($params, $optParams);
 874      return $this->call('get', array($params), "Google_Service_Bigquery_Table");
 875    }
 876    /**
 877     * Creates a new, empty table in the dataset. (tables.insert)
 878     *
 879     * @param string $projectId
 880     * Project ID of the new table
 881     * @param string $datasetId
 882     * Dataset ID of the new table
 883     * @param Google_Table $postBody
 884     * @param array $optParams Optional parameters.
 885     * @return Google_Service_Bigquery_Table
 886     */
 887    public function insert($projectId, $datasetId, Google_Service_Bigquery_Table $postBody, $optParams = array())
 888    {
 889      $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody);
 890      $params = array_merge($params, $optParams);
 891      return $this->call('insert', array($params), "Google_Service_Bigquery_Table");
 892    }
 893    /**
 894     * Lists all tables in the specified dataset. (tables.listTables)
 895     *
 896     * @param string $projectId
 897     * Project ID of the tables to list
 898     * @param string $datasetId
 899     * Dataset ID of the tables to list
 900     * @param array $optParams Optional parameters.
 901     *
 902     * @opt_param string pageToken
 903     * Page token, returned by a previous call, to request the next page of results
 904     * @opt_param string maxResults
 905     * Maximum number of results to return
 906     * @return Google_Service_Bigquery_TableList
 907     */
 908    public function listTables($projectId, $datasetId, $optParams = array())
 909    {
 910      $params = array('projectId' => $projectId, 'datasetId' => $datasetId);
 911      $params = array_merge($params, $optParams);
 912      return $this->call('list', array($params), "Google_Service_Bigquery_TableList");
 913    }
 914    /**
 915     * Updates information in an existing table. The update method replaces the
 916     * entire table resource, whereas the patch method only replaces fields that are
 917     * provided in the submitted table resource. This method supports patch
 918     * semantics. (tables.patch)
 919     *
 920     * @param string $projectId
 921     * Project ID of the table to update
 922     * @param string $datasetId
 923     * Dataset ID of the table to update
 924     * @param string $tableId
 925     * Table ID of the table to update
 926     * @param Google_Table $postBody
 927     * @param array $optParams Optional parameters.
 928     * @return Google_Service_Bigquery_Table
 929     */
 930    public function patch($projectId, $datasetId, $tableId, Google_Service_Bigquery_Table $postBody, $optParams = array())
 931    {
 932      $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
 933      $params = array_merge($params, $optParams);
 934      return $this->call('patch', array($params), "Google_Service_Bigquery_Table");
 935    }
 936    /**
 937     * Updates information in an existing table. The update method replaces the
 938     * entire table resource, whereas the patch method only replaces fields that are
 939     * provided in the submitted table resource. (tables.update)
 940     *
 941     * @param string $projectId
 942     * Project ID of the table to update
 943     * @param string $datasetId
 944     * Dataset ID of the table to update
 945     * @param string $tableId
 946     * Table ID of the table to update
 947     * @param Google_Table $postBody
 948     * @param array $optParams Optional parameters.
 949     * @return Google_Service_Bigquery_Table
 950     */
 951    public function update($projectId, $datasetId, $tableId, Google_Service_Bigquery_Table $postBody, $optParams = array())
 952    {
 953      $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
 954      $params = array_merge($params, $optParams);
 955      return $this->call('update', array($params), "Google_Service_Bigquery_Table");
 956    }
 957  }
 958  
 959  
 960  
 961  
 962  class Google_Service_Bigquery_Dataset extends Google_Collection
 963  {
 964    protected $collection_key = 'access';
 965    protected $accessType = 'Google_Service_Bigquery_DatasetAccess';
 966    protected $accessDataType = 'array';
 967    public $creationTime;
 968    protected $datasetReferenceType = 'Google_Service_Bigquery_DatasetReference';
 969    protected $datasetReferenceDataType = '';
 970    public $description;
 971    public $etag;
 972    public $friendlyName;
 973    public $id;
 974    public $kind;
 975    public $lastModifiedTime;
 976    public $selfLink;
 977  
 978    public function setAccess($access)
 979    {
 980      $this->access = $access;
 981    }
 982  
 983    public function getAccess()
 984    {
 985      return $this->access;
 986    }
 987  
 988    public function setCreationTime($creationTime)
 989    {
 990      $this->creationTime = $creationTime;
 991    }
 992  
 993    public function getCreationTime()
 994    {
 995      return $this->creationTime;
 996    }
 997  
 998    public function setDatasetReference(Google_Service_Bigquery_DatasetReference $datasetReference)
 999    {
1000      $this->datasetReference = $datasetReference;
1001    }
1002  
1003    public function getDatasetReference()
1004    {
1005      return $this->datasetReference;
1006    }
1007  
1008    public function setDescription($description)
1009    {
1010      $this->description = $description;
1011    }
1012  
1013    public function getDescription()
1014    {
1015      return $this->description;
1016    }
1017  
1018    public function setEtag($etag)
1019    {
1020      $this->etag = $etag;
1021    }
1022  
1023    public function getEtag()
1024    {
1025      return $this->etag;
1026    }
1027  
1028    public function setFriendlyName($friendlyName)
1029    {
1030      $this->friendlyName = $friendlyName;
1031    }
1032  
1033    public function getFriendlyName()
1034    {
1035      return $this->friendlyName;
1036    }
1037  
1038    public function setId($id)
1039    {
1040      $this->id = $id;
1041    }
1042  
1043    public function getId()
1044    {
1045      return $this->id;
1046    }
1047  
1048    public function setKind($kind)
1049    {
1050      $this->kind = $kind;
1051    }
1052  
1053    public function getKind()
1054    {
1055      return $this->kind;
1056    }
1057  
1058    public function setLastModifiedTime($lastModifiedTime)
1059    {
1060      $this->lastModifiedTime = $lastModifiedTime;
1061    }
1062  
1063    public function getLastModifiedTime()
1064    {
1065      return $this->lastModifiedTime;
1066    }
1067  
1068    public function setSelfLink($selfLink)
1069    {
1070      $this->selfLink = $selfLink;
1071    }
1072  
1073    public function getSelfLink()
1074    {
1075      return $this->selfLink;
1076    }
1077  }
1078  
1079  class Google_Service_Bigquery_DatasetAccess extends Google_Model
1080  {
1081    public $domain;
1082    public $groupByEmail;
1083    public $role;
1084    public $specialGroup;
1085    public $userByEmail;
1086  
1087    public function setDomain($domain)
1088    {
1089      $this->domain = $domain;
1090    }
1091  
1092    public function getDomain()
1093    {
1094      return $this->domain;
1095    }
1096  
1097    public function setGroupByEmail($groupByEmail)
1098    {
1099      $this->groupByEmail = $groupByEmail;
1100    }
1101  
1102    public function getGroupByEmail()
1103    {
1104      return $this->groupByEmail;
1105    }
1106  
1107    public function setRole($role)
1108    {
1109      $this->role = $role;
1110    }
1111  
1112    public function getRole()
1113    {
1114      return $this->role;
1115    }
1116  
1117    public function setSpecialGroup($specialGroup)
1118    {
1119      $this->specialGroup = $specialGroup;
1120    }
1121  
1122    public function getSpecialGroup()
1123    {
1124      return $this->specialGroup;
1125    }
1126  
1127    public function setUserByEmail($userByEmail)
1128    {
1129      $this->userByEmail = $userByEmail;
1130    }
1131  
1132    public function getUserByEmail()
1133    {
1134      return $this->userByEmail;
1135    }
1136  }
1137  
1138  class Google_Service_Bigquery_DatasetList extends Google_Collection
1139  {
1140    protected $collection_key = 'datasets';
1141    protected $datasetsType = 'Google_Service_Bigquery_DatasetListDatasets';
1142    protected $datasetsDataType = 'array';
1143    public $etag;
1144    public $kind;
1145    public $nextPageToken;
1146  
1147    public function setDatasets($datasets)
1148    {
1149      $this->datasets = $datasets;
1150    }
1151  
1152    public function getDatasets()
1153    {
1154      return $this->datasets;
1155    }
1156  
1157    public function setEtag($etag)
1158    {
1159      $this->etag = $etag;
1160    }
1161  
1162    public function getEtag()
1163    {
1164      return $this->etag;
1165    }
1166  
1167    public function setKind($kind)
1168    {
1169      $this->kind = $kind;
1170    }
1171  
1172    public function getKind()
1173    {
1174      return $this->kind;
1175    }
1176  
1177    public function setNextPageToken($nextPageToken)
1178    {
1179      $this->nextPageToken = $nextPageToken;
1180    }
1181  
1182    public function getNextPageToken()
1183    {
1184      return $this->nextPageToken;
1185    }
1186  }
1187  
1188  class Google_Service_Bigquery_DatasetListDatasets extends Google_Model
1189  {
1190    protected $datasetReferenceType = 'Google_Service_Bigquery_DatasetReference';
1191    protected $datasetReferenceDataType = '';
1192    public $friendlyName;
1193    public $id;
1194    public $kind;
1195  
1196    public function setDatasetReference(Google_Service_Bigquery_DatasetReference $datasetReference)
1197    {
1198      $this->datasetReference = $datasetReference;
1199    }
1200  
1201    public function getDatasetReference()
1202    {
1203      return $this->datasetReference;
1204    }
1205  
1206    public function setFriendlyName($friendlyName)
1207    {
1208      $this->friendlyName = $friendlyName;
1209    }
1210  
1211    public function getFriendlyName()
1212    {
1213      return $this->friendlyName;
1214    }
1215  
1216    public function setId($id)
1217    {
1218      $this->id = $id;
1219    }
1220  
1221    public function getId()
1222    {
1223      return $this->id;
1224    }
1225  
1226    public function setKind($kind)
1227    {
1228      $this->kind = $kind;
1229    }
1230  
1231    public function getKind()
1232    {
1233      return $this->kind;
1234    }
1235  }
1236  
1237  class Google_Service_Bigquery_DatasetReference extends Google_Model
1238  {
1239    public $datasetId;
1240    public $projectId;
1241  
1242    public function setDatasetId($datasetId)
1243    {
1244      $this->datasetId = $datasetId;
1245    }
1246  
1247    public function getDatasetId()
1248    {
1249      return $this->datasetId;
1250    }
1251  
1252    public function setProjectId($projectId)
1253    {
1254      $this->projectId = $projectId;
1255    }
1256  
1257    public function getProjectId()
1258    {
1259      return $this->projectId;
1260    }
1261  }
1262  
1263  class Google_Service_Bigquery_ErrorProto extends Google_Model
1264  {
1265    public $debugInfo;
1266    public $location;
1267    public $message;
1268    public $reason;
1269  
1270    public function setDebugInfo($debugInfo)
1271    {
1272      $this->debugInfo = $debugInfo;
1273    }
1274  
1275    public function getDebugInfo()
1276    {
1277      return $this->debugInfo;
1278    }
1279  
1280    public function setLocation($location)
1281    {
1282      $this->location = $location;
1283    }
1284  
1285    public function getLocation()
1286    {
1287      return $this->location;
1288    }
1289  
1290    public function setMessage($message)
1291    {
1292      $this->message = $message;
1293    }
1294  
1295    public function getMessage()
1296    {
1297      return $this->message;
1298    }
1299  
1300    public function setReason($reason)
1301    {
1302      $this->reason = $reason;
1303    }
1304  
1305    public function getReason()
1306    {
1307      return $this->reason;
1308    }
1309  }
1310  
1311  class Google_Service_Bigquery_GetQueryResultsResponse extends Google_Collection
1312  {
1313    protected $collection_key = 'rows';
1314    public $cacheHit;
1315    public $etag;
1316    public $jobComplete;
1317    protected $jobReferenceType = 'Google_Service_Bigquery_JobReference';
1318    protected $jobReferenceDataType = '';
1319    public $kind;
1320    public $pageToken;
1321    protected $rowsType = 'Google_Service_Bigquery_TableRow';
1322    protected $rowsDataType = 'array';
1323    protected $schemaType = 'Google_Service_Bigquery_TableSchema';
1324    protected $schemaDataType = '';
1325    public $totalRows;
1326  
1327    public function setCacheHit($cacheHit)
1328    {
1329      $this->cacheHit = $cacheHit;
1330    }
1331  
1332    public function getCacheHit()
1333    {
1334      return $this->cacheHit;
1335    }
1336  
1337    public function setEtag($etag)
1338    {
1339      $this->etag = $etag;
1340    }
1341  
1342    public function getEtag()
1343    {
1344      return $this->etag;
1345    }
1346  
1347    public function setJobComplete($jobComplete)
1348    {
1349      $this->jobComplete = $jobComplete;
1350    }
1351  
1352    public function getJobComplete()
1353    {
1354      return $this->jobComplete;
1355    }
1356  
1357    public function setJobReference(Google_Service_Bigquery_JobReference $jobReference)
1358    {
1359      $this->jobReference = $jobReference;
1360    }
1361  
1362    public function getJobReference()
1363    {
1364      return $this->jobReference;
1365    }
1366  
1367    public function setKind($kind)
1368    {
1369      $this->kind = $kind;
1370    }
1371  
1372    public function getKind()
1373    {
1374      return $this->kind;
1375    }
1376  
1377    public function setPageToken($pageToken)
1378    {
1379      $this->pageToken = $pageToken;
1380    }
1381  
1382    public function getPageToken()
1383    {
1384      return $this->pageToken;
1385    }
1386  
1387    public function setRows($rows)
1388    {
1389      $this->rows = $rows;
1390    }
1391  
1392    public function getRows()
1393    {
1394      return $this->rows;
1395    }
1396  
1397    public function setSchema(Google_Service_Bigquery_TableSchema $schema)
1398    {
1399      $this->schema = $schema;
1400    }
1401  
1402    public function getSchema()
1403    {
1404      return $this->schema;
1405    }
1406  
1407    public function setTotalRows($totalRows)
1408    {
1409      $this->totalRows = $totalRows;
1410    }
1411  
1412    public function getTotalRows()
1413    {
1414      return $this->totalRows;
1415    }
1416  }
1417  
1418  class Google_Service_Bigquery_Job extends Google_Model
1419  {
1420    protected $configurationType = 'Google_Service_Bigquery_JobConfiguration';
1421    protected $configurationDataType = '';
1422    public $etag;
1423    public $id;
1424    protected $jobReferenceType = 'Google_Service_Bigquery_JobReference';
1425    protected $jobReferenceDataType = '';
1426    public $kind;
1427    public $selfLink;
1428    protected $statisticsType = 'Google_Service_Bigquery_JobStatistics';
1429    protected $statisticsDataType = '';
1430    protected $statusType = 'Google_Service_Bigquery_JobStatus';
1431    protected $statusDataType = '';
1432  
1433    public function setConfiguration(Google_Service_Bigquery_JobConfiguration $configuration)
1434    {
1435      $this->configuration = $configuration;
1436    }
1437  
1438    public function getConfiguration()
1439    {
1440      return $this->configuration;
1441    }
1442  
1443    public function setEtag($etag)
1444    {
1445      $this->etag = $etag;
1446    }
1447  
1448    public function getEtag()
1449    {
1450      return $this->etag;
1451    }
1452  
1453    public function setId($id)
1454    {
1455      $this->id = $id;
1456    }
1457  
1458    public function getId()
1459    {
1460      return $this->id;
1461    }
1462  
1463    public function setJobReference(Google_Service_Bigquery_JobReference $jobReference)
1464    {
1465      $this->jobReference = $jobReference;
1466    }
1467  
1468    public function getJobReference()
1469    {
1470      return $this->jobReference;
1471    }
1472  
1473    public function setKind($kind)
1474    {
1475      $this->kind = $kind;
1476    }
1477  
1478    public function getKind()
1479    {
1480      return $this->kind;
1481    }
1482  
1483    public function setSelfLink($selfLink)
1484    {
1485      $this->selfLink = $selfLink;
1486    }
1487  
1488    public function getSelfLink()
1489    {
1490      return $this->selfLink;
1491    }
1492  
1493    public function setStatistics(Google_Service_Bigquery_JobStatistics $statistics)
1494    {
1495      $this->statistics = $statistics;
1496    }
1497  
1498    public function getStatistics()
1499    {
1500      return $this->statistics;
1501    }
1502  
1503    public function setStatus(Google_Service_Bigquery_JobStatus $status)
1504    {
1505      $this->status = $status;
1506    }
1507  
1508    public function getStatus()
1509    {
1510      return $this->status;
1511    }
1512  }
1513  
1514  class Google_Service_Bigquery_JobConfiguration extends Google_Model
1515  {
1516    protected $copyType = 'Google_Service_Bigquery_JobConfigurationTableCopy';
1517    protected $copyDataType = '';
1518    public $dryRun;
1519    protected $extractType = 'Google_Service_Bigquery_JobConfigurationExtract';
1520    protected $extractDataType = '';
1521    protected $linkType = 'Google_Service_Bigquery_JobConfigurationLink';
1522    protected $linkDataType = '';
1523    protected $loadType = 'Google_Service_Bigquery_JobConfigurationLoad';
1524    protected $loadDataType = '';
1525    protected $queryType = 'Google_Service_Bigquery_JobConfigurationQuery';
1526    protected $queryDataType = '';
1527  
1528    public function setCopy(Google_Service_Bigquery_JobConfigurationTableCopy $copy)
1529    {
1530      $this->copy = $copy;
1531    }
1532  
1533    public function getCopy()
1534    {
1535      return $this->copy;
1536    }
1537  
1538    public function setDryRun($dryRun)
1539    {
1540      $this->dryRun = $dryRun;
1541    }
1542  
1543    public function getDryRun()
1544    {
1545      return $this->dryRun;
1546    }
1547  
1548    public function setExtract(Google_Service_Bigquery_JobConfigurationExtract $extract)
1549    {
1550      $this->extract = $extract;
1551    }
1552  
1553    public function getExtract()
1554    {
1555      return $this->extract;
1556    }
1557  
1558    public function setLink(Google_Service_Bigquery_JobConfigurationLink $link)
1559    {
1560      $this->link = $link;
1561    }
1562  
1563    public function getLink()
1564    {
1565      return $this->link;
1566    }
1567  
1568    public function setLoad(Google_Service_Bigquery_JobConfigurationLoad $load)
1569    {
1570      $this->load = $load;
1571    }
1572  
1573    public function getLoad()
1574    {
1575      return $this->load;
1576    }
1577  
1578    public function setQuery(Google_Service_Bigquery_JobConfigurationQuery $query)
1579    {
1580      $this->query = $query;
1581    }
1582  
1583    public function getQuery()
1584    {
1585      return $this->query;
1586    }
1587  }
1588  
1589  class Google_Service_Bigquery_JobConfigurationExtract extends Google_Collection
1590  {
1591    protected $collection_key = 'destinationUris';
1592    public $compression;
1593    public $destinationFormat;
1594    public $destinationUri;
1595    public $destinationUris;
1596    public $fieldDelimiter;
1597    public $printHeader;
1598    protected $sourceTableType = 'Google_Service_Bigquery_TableReference';
1599    protected $sourceTableDataType = '';
1600  
1601    public function setCompression($compression)
1602    {
1603      $this->compression = $compression;
1604    }
1605  
1606    public function getCompression()
1607    {
1608      return $this->compression;
1609    }
1610  
1611    public function setDestinationFormat($destinationFormat)
1612    {
1613      $this->destinationFormat = $destinationFormat;
1614    }
1615  
1616    public function getDestinationFormat()
1617    {
1618      return $this->destinationFormat;
1619    }
1620  
1621    public function setDestinationUri($destinationUri)
1622    {
1623      $this->destinationUri = $destinationUri;
1624    }
1625  
1626    public function getDestinationUri()
1627    {
1628      return $this->destinationUri;
1629    }
1630  
1631    public function setDestinationUris($destinationUris)
1632    {
1633      $this->destinationUris = $destinationUris;
1634    }
1635  
1636    public function getDestinationUris()
1637    {
1638      return $this->destinationUris;
1639    }
1640  
1641    public function setFieldDelimiter($fieldDelimiter)
1642    {
1643      $this->fieldDelimiter = $fieldDelimiter;
1644    }
1645  
1646    public function getFieldDelimiter()
1647    {
1648      return $this->fieldDelimiter;
1649    }
1650  
1651    public function setPrintHeader($printHeader)
1652    {
1653      $this->printHeader = $printHeader;
1654    }
1655  
1656    public function getPrintHeader()
1657    {
1658      return $this->printHeader;
1659    }
1660  
1661    public function setSourceTable(Google_Service_Bigquery_TableReference $sourceTable)
1662    {
1663      $this->sourceTable = $sourceTable;
1664    }
1665  
1666    public function getSourceTable()
1667    {
1668      return $this->sourceTable;
1669    }
1670  }
1671  
1672  class Google_Service_Bigquery_JobConfigurationLink extends Google_Collection
1673  {
1674    protected $collection_key = 'sourceUri';
1675    public $createDisposition;
1676    protected $destinationTableType = 'Google_Service_Bigquery_TableReference';
1677    protected $destinationTableDataType = '';
1678    public $sourceUri;
1679    public $writeDisposition;
1680  
1681    public function setCreateDisposition($createDisposition)
1682    {
1683      $this->createDisposition = $createDisposition;
1684    }
1685  
1686    public function getCreateDisposition()
1687    {
1688      return $this->createDisposition;
1689    }
1690  
1691    public function setDestinationTable(Google_Service_Bigquery_TableReference $destinationTable)
1692    {
1693      $this->destinationTable = $destinationTable;
1694    }
1695  
1696    public function getDestinationTable()
1697    {
1698      return $this->destinationTable;
1699    }
1700  
1701    public function setSourceUri($sourceUri)
1702    {
1703      $this->sourceUri = $sourceUri;
1704    }
1705  
1706    public function getSourceUri()
1707    {
1708      return $this->sourceUri;
1709    }
1710  
1711    public function setWriteDisposition($writeDisposition)
1712    {
1713      $this->writeDisposition = $writeDisposition;
1714    }
1715  
1716    public function getWriteDisposition()
1717    {
1718      return $this->writeDisposition;
1719    }
1720  }
1721  
1722  class Google_Service_Bigquery_JobConfigurationLoad extends Google_Collection
1723  {
1724    protected $collection_key = 'sourceUris';
1725    public $allowJaggedRows;
1726    public $allowQuotedNewlines;
1727    public $createDisposition;
1728    protected $destinationTableType = 'Google_Service_Bigquery_TableReference';
1729    protected $destinationTableDataType = '';
1730    public $encoding;
1731    public $fieldDelimiter;
1732    public $ignoreUnknownValues;
1733    public $maxBadRecords;
1734    public $quote;
1735    protected $schemaType = 'Google_Service_Bigquery_TableSchema';
1736    protected $schemaDataType = '';
1737    public $schemaInline;
1738    public $schemaInlineFormat;
1739    public $skipLeadingRows;
1740    public $sourceFormat;
1741    public $sourceUris;
1742    public $writeDisposition;
1743  
1744    public function setAllowJaggedRows($allowJaggedRows)
1745    {
1746      $this->allowJaggedRows = $allowJaggedRows;
1747    }
1748  
1749    public function getAllowJaggedRows()
1750    {
1751      return $this->allowJaggedRows;
1752    }
1753  
1754    public function setAllowQuotedNewlines($allowQuotedNewlines)
1755    {
1756      $this->allowQuotedNewlines = $allowQuotedNewlines;
1757    }
1758  
1759    public function getAllowQuotedNewlines()
1760    {
1761      return $this->allowQuotedNewlines;
1762    }
1763  
1764    public function setCreateDisposition($createDisposition)
1765    {
1766      $this->createDisposition = $createDisposition;
1767    }
1768  
1769    public function getCreateDisposition()
1770    {
1771      return $this->createDisposition;
1772    }
1773  
1774    public function setDestinationTable(Google_Service_Bigquery_TableReference $destinationTable)
1775    {
1776      $this->destinationTable = $destinationTable;
1777    }
1778  
1779    public function getDestinationTable()
1780    {
1781      return $this->destinationTable;
1782    }
1783  
1784    public function setEncoding($encoding)
1785    {
1786      $this->encoding = $encoding;
1787    }
1788  
1789    public function getEncoding()
1790    {
1791      return $this->encoding;
1792    }
1793  
1794    public function setFieldDelimiter($fieldDelimiter)
1795    {
1796      $this->fieldDelimiter = $fieldDelimiter;
1797    }
1798  
1799    public function getFieldDelimiter()
1800    {
1801      return $this->fieldDelimiter;
1802    }
1803  
1804    public function setIgnoreUnknownValues($ignoreUnknownValues)
1805    {
1806      $this->ignoreUnknownValues = $ignoreUnknownValues;
1807    }
1808  
1809    public function getIgnoreUnknownValues()
1810    {
1811      return $this->ignoreUnknownValues;
1812    }
1813  
1814    public function setMaxBadRecords($maxBadRecords)
1815    {
1816      $this->maxBadRecords = $maxBadRecords;
1817    }
1818  
1819    public function getMaxBadRecords()
1820    {
1821      return $this->maxBadRecords;
1822    }
1823  
1824    public function setQuote($quote)
1825    {
1826      $this->quote = $quote;
1827    }
1828  
1829    public function getQuote()
1830    {
1831      return $this->quote;
1832    }
1833  
1834    public function setSchema(Google_Service_Bigquery_TableSchema $schema)
1835    {
1836      $this->schema = $schema;
1837    }
1838  
1839    public function getSchema()
1840    {
1841      return $this->schema;
1842    }
1843  
1844    public function setSchemaInline($schemaInline)
1845    {
1846      $this->schemaInline = $schemaInline;
1847    }
1848  
1849    public function getSchemaInline()
1850    {
1851      return $this->schemaInline;
1852    }
1853  
1854    public function setSchemaInlineFormat($schemaInlineFormat)
1855    {
1856      $this->schemaInlineFormat = $schemaInlineFormat;
1857    }
1858  
1859    public function getSchemaInlineFormat()
1860    {
1861      return $this->schemaInlineFormat;
1862    }
1863  
1864    public function setSkipLeadingRows($skipLeadingRows)
1865    {
1866      $this->skipLeadingRows = $skipLeadingRows;
1867    }
1868  
1869    public function getSkipLeadingRows()
1870    {
1871      return $this->skipLeadingRows;
1872    }
1873  
1874    public function setSourceFormat($sourceFormat)
1875    {
1876      $this->sourceFormat = $sourceFormat;
1877    }
1878  
1879    public function getSourceFormat()
1880    {
1881      return $this->sourceFormat;
1882    }
1883  
1884    public function setSourceUris($sourceUris)
1885    {
1886      $this->sourceUris = $sourceUris;
1887    }
1888  
1889    public function getSourceUris()
1890    {
1891      return $this->sourceUris;
1892    }
1893  
1894    public function setWriteDisposition($writeDisposition)
1895    {
1896      $this->writeDisposition = $writeDisposition;
1897    }
1898  
1899    public function getWriteDisposition()
1900    {
1901      return $this->writeDisposition;
1902    }
1903  }
1904  
1905  class Google_Service_Bigquery_JobConfigurationQuery extends Google_Model
1906  {
1907    public $allowLargeResults;
1908    public $createDisposition;
1909    protected $defaultDatasetType = 'Google_Service_Bigquery_DatasetReference';
1910    protected $defaultDatasetDataType = '';
1911    protected $destinationTableType = 'Google_Service_Bigquery_TableReference';
1912    protected $destinationTableDataType = '';
1913    public $flattenResults;
1914    public $preserveNulls;
1915    public $priority;
1916    public $query;
1917    public $useQueryCache;
1918    public $writeDisposition;
1919  
1920    public function setAllowLargeResults($allowLargeResults)
1921    {
1922      $this->allowLargeResults = $allowLargeResults;
1923    }
1924  
1925    public function getAllowLargeResults()
1926    {
1927      return $this->allowLargeResults;
1928    }
1929  
1930    public function setCreateDisposition($createDisposition)
1931    {
1932      $this->createDisposition = $createDisposition;
1933    }
1934  
1935    public function getCreateDisposition()
1936    {
1937      return $this->createDisposition;
1938    }
1939  
1940    public function setDefaultDataset(Google_Service_Bigquery_DatasetReference $defaultDataset)
1941    {
1942      $this->defaultDataset = $defaultDataset;
1943    }
1944  
1945    public function getDefaultDataset()
1946    {
1947      return $this->defaultDataset;
1948    }
1949  
1950    public function setDestinationTable(Google_Service_Bigquery_TableReference $destinationTable)
1951    {
1952      $this->destinationTable = $destinationTable;
1953    }
1954  
1955    public function getDestinationTable()
1956    {
1957      return $this->destinationTable;
1958    }
1959  
1960    public function setFlattenResults($flattenResults)
1961    {
1962      $this->flattenResults = $flattenResults;
1963    }
1964  
1965    public function getFlattenResults()
1966    {
1967      return $this->flattenResults;
1968    }
1969  
1970    public function setPreserveNulls($preserveNulls)
1971    {
1972      $this->preserveNulls = $preserveNulls;
1973    }
1974  
1975    public function getPreserveNulls()
1976    {
1977      return $this->preserveNulls;
1978    }
1979  
1980    public function setPriority($priority)
1981    {
1982      $this->priority = $priority;
1983    }
1984  
1985    public function getPriority()
1986    {
1987      return $this->priority;
1988    }
1989  
1990    public function setQuery($query)
1991    {
1992      $this->query = $query;
1993    }
1994  
1995    public function getQuery()
1996    {
1997      return $this->query;
1998    }
1999  
2000    public function setUseQueryCache($useQueryCache)
2001    {
2002      $this->useQueryCache = $useQueryCache;
2003    }
2004  
2005    public function getUseQueryCache()
2006    {
2007      return $this->useQueryCache;
2008    }
2009  
2010    public function setWriteDisposition($writeDisposition)
2011    {
2012      $this->writeDisposition = $writeDisposition;
2013    }
2014  
2015    public function getWriteDisposition()
2016    {
2017      return $this->writeDisposition;
2018    }
2019  }
2020  
2021  class Google_Service_Bigquery_JobConfigurationTableCopy extends Google_Collection
2022  {
2023    protected $collection_key = 'sourceTables';
2024    public $createDisposition;
2025    protected $destinationTableType = 'Google_Service_Bigquery_TableReference';
2026    protected $destinationTableDataType = '';
2027    protected $sourceTableType = 'Google_Service_Bigquery_TableReference';
2028    protected $sourceTableDataType = '';
2029    protected $sourceTablesType = 'Google_Service_Bigquery_TableReference';
2030    protected $sourceTablesDataType = 'array';
2031    public $writeDisposition;
2032  
2033    public function setCreateDisposition($createDisposition)
2034    {
2035      $this->createDisposition = $createDisposition;
2036    }
2037  
2038    public function getCreateDisposition()
2039    {
2040      return $this->createDisposition;
2041    }
2042  
2043    public function setDestinationTable(Google_Service_Bigquery_TableReference $destinationTable)
2044    {
2045      $this->destinationTable = $destinationTable;
2046    }
2047  
2048    public function getDestinationTable()
2049    {
2050      return $this->destinationTable;
2051    }
2052  
2053    public function setSourceTable(Google_Service_Bigquery_TableReference $sourceTable)
2054    {
2055      $this->sourceTable = $sourceTable;
2056    }
2057  
2058    public function getSourceTable()
2059    {
2060      return $this->sourceTable;
2061    }
2062  
2063    public function setSourceTables($sourceTables)
2064    {
2065      $this->sourceTables = $sourceTables;
2066    }
2067  
2068    public function getSourceTables()
2069    {
2070      return $this->sourceTables;
2071    }
2072  
2073    public function setWriteDisposition($writeDisposition)
2074    {
2075      $this->writeDisposition = $writeDisposition;
2076    }
2077  
2078    public function getWriteDisposition()
2079    {
2080      return $this->writeDisposition;
2081    }
2082  }
2083  
2084  class Google_Service_Bigquery_JobList extends Google_Collection
2085  {
2086    protected $collection_key = 'jobs';
2087    public $etag;
2088    protected $jobsType = 'Google_Service_Bigquery_JobListJobs';
2089    protected $jobsDataType = 'array';
2090    public $kind;
2091    public $nextPageToken;
2092    public $totalItems;
2093  
2094    public function setEtag($etag)
2095    {
2096      $this->etag = $etag;
2097    }
2098  
2099    public function getEtag()
2100    {
2101      return $this->etag;
2102    }
2103  
2104    public function setJobs($jobs)
2105    {
2106      $this->jobs = $jobs;
2107    }
2108  
2109    public function getJobs()
2110    {
2111      return $this->jobs;
2112    }
2113  
2114    public function setKind($kind)
2115    {
2116      $this->kind = $kind;
2117    }
2118  
2119    public function getKind()
2120    {
2121      return $this->kind;
2122    }
2123  
2124    public function setNextPageToken($nextPageToken)
2125    {
2126      $this->nextPageToken = $nextPageToken;
2127    }
2128  
2129    public function getNextPageToken()
2130    {
2131      return $this->nextPageToken;
2132    }
2133  
2134    public function setTotalItems($totalItems)
2135    {
2136      $this->totalItems = $totalItems;
2137    }
2138  
2139    public function getTotalItems()
2140    {
2141      return $this->totalItems;
2142    }
2143  }
2144  
2145  class Google_Service_Bigquery_JobListJobs extends Google_Model
2146  {
2147    protected $configurationType = 'Google_Service_Bigquery_JobConfiguration';
2148    protected $configurationDataType = '';
2149    protected $errorResultType = 'Google_Service_Bigquery_ErrorProto';
2150    protected $errorResultDataType = '';
2151    public $id;
2152    protected $jobReferenceType = 'Google_Service_Bigquery_JobReference';
2153    protected $jobReferenceDataType = '';
2154    public $kind;
2155    public $state;
2156    protected $statisticsType = 'Google_Service_Bigquery_JobStatistics';
2157    protected $statisticsDataType = '';
2158    protected $statusType = 'Google_Service_Bigquery_JobStatus';
2159    protected $statusDataType = '';
2160    public $userEmail;
2161  
2162    public function setConfiguration(Google_Service_Bigquery_JobConfiguration $configuration)
2163    {
2164      $this->configuration = $configuration;
2165    }
2166  
2167    public function getConfiguration()
2168    {
2169      return $this->configuration;
2170    }
2171  
2172    public function setErrorResult(Google_Service_Bigquery_ErrorProto $errorResult)
2173    {
2174      $this->errorResult = $errorResult;
2175    }
2176  
2177    public function getErrorResult()
2178    {
2179      return $this->errorResult;
2180    }
2181  
2182    public function setId($id)
2183    {
2184      $this->id = $id;
2185    }
2186  
2187    public function getId()
2188    {
2189      return $this->id;
2190    }
2191  
2192    public function setJobReference(Google_Service_Bigquery_JobReference $jobReference)
2193    {
2194      $this->jobReference = $jobReference;
2195    }
2196  
2197    public function getJobReference()
2198    {
2199      return $this->jobReference;
2200    }
2201  
2202    public function setKind($kind)
2203    {
2204      $this->kind = $kind;
2205    }
2206  
2207    public function getKind()
2208    {
2209      return $this->kind;
2210    }
2211  
2212    public function setState($state)
2213    {
2214      $this->state = $state;
2215    }
2216  
2217    public function getState()
2218    {
2219      return $this->state;
2220    }
2221  
2222    public function setStatistics(Google_Service_Bigquery_JobStatistics $statistics)
2223    {
2224      $this->statistics = $statistics;
2225    }
2226  
2227    public function getStatistics()
2228    {
2229      return $this->statistics;
2230    }
2231  
2232    public function setStatus(Google_Service_Bigquery_JobStatus $status)
2233    {
2234      $this->status = $status;
2235    }
2236  
2237    public function getStatus()
2238    {
2239      return $this->status;
2240    }
2241  
2242    public function setUserEmail($userEmail)
2243    {
2244      $this->userEmail = $userEmail;
2245    }
2246  
2247    public function getUserEmail()
2248    {
2249      return $this->userEmail;
2250    }
2251  }
2252  
2253  class Google_Service_Bigquery_JobReference extends Google_Model
2254  {
2255    public $jobId;
2256    public $projectId;
2257  
2258    public function setJobId($jobId)
2259    {
2260      $this->jobId = $jobId;
2261    }
2262  
2263    public function getJobId()
2264    {
2265      return $this->jobId;
2266    }
2267  
2268    public function setProjectId($projectId)
2269    {
2270      $this->projectId = $projectId;
2271    }
2272  
2273    public function getProjectId()
2274    {
2275      return $this->projectId;
2276    }
2277  }
2278  
2279  class Google_Service_Bigquery_JobStatistics extends Google_Model
2280  {
2281    public $creationTime;
2282    public $endTime;
2283    protected $loadType = 'Google_Service_Bigquery_JobStatistics3';
2284    protected $loadDataType = '';
2285    protected $queryType = 'Google_Service_Bigquery_JobStatistics2';
2286    protected $queryDataType = '';
2287    public $startTime;
2288    public $totalBytesProcessed;
2289  
2290    public function setCreationTime($creationTime)
2291    {
2292      $this->creationTime = $creationTime;
2293    }
2294  
2295    public function getCreationTime()
2296    {
2297      return $this->creationTime;
2298    }
2299  
2300    public function setEndTime($endTime)
2301    {
2302      $this->endTime = $endTime;
2303    }
2304  
2305    public function getEndTime()
2306    {
2307      return $this->endTime;
2308    }
2309  
2310    public function setLoad(Google_Service_Bigquery_JobStatistics3 $load)
2311    {
2312      $this->load = $load;
2313    }
2314  
2315    public function getLoad()
2316    {
2317      return $this->load;
2318    }
2319  
2320    public function setQuery(Google_Service_Bigquery_JobStatistics2 $query)
2321    {
2322      $this->query = $query;
2323    }
2324  
2325    public function getQuery()
2326    {
2327      return $this->query;
2328    }
2329  
2330    public function setStartTime($startTime)
2331    {
2332      $this->startTime = $startTime;
2333    }
2334  
2335    public function getStartTime()
2336    {
2337      return $this->startTime;
2338    }
2339  
2340    public function setTotalBytesProcessed($totalBytesProcessed)
2341    {
2342      $this->totalBytesProcessed = $totalBytesProcessed;
2343    }
2344  
2345    public function getTotalBytesProcessed()
2346    {
2347      return $this->totalBytesProcessed;
2348    }
2349  }
2350  
2351  class Google_Service_Bigquery_JobStatistics2 extends Google_Model
2352  {
2353    public $cacheHit;
2354    public $totalBytesProcessed;
2355  
2356    public function setCacheHit($cacheHit)
2357    {
2358      $this->cacheHit = $cacheHit;
2359    }
2360  
2361    public function getCacheHit()
2362    {
2363      return $this->cacheHit;
2364    }
2365  
2366    public function setTotalBytesProcessed($totalBytesProcessed)
2367    {
2368      $this->totalBytesProcessed = $totalBytesProcessed;
2369    }
2370  
2371    public function getTotalBytesProcessed()
2372    {
2373      return $this->totalBytesProcessed;
2374    }
2375  }
2376  
2377  class Google_Service_Bigquery_JobStatistics3 extends Google_Model
2378  {
2379    public $inputFileBytes;
2380    public $inputFiles;
2381    public $outputBytes;
2382    public $outputRows;
2383  
2384    public function setInputFileBytes($inputFileBytes)
2385    {
2386      $this->inputFileBytes = $inputFileBytes;
2387    }
2388  
2389    public function getInputFileBytes()
2390    {
2391      return $this->inputFileBytes;
2392    }
2393  
2394    public function setInputFiles($inputFiles)
2395    {
2396      $this->inputFiles = $inputFiles;
2397    }
2398  
2399    public function getInputFiles()
2400    {
2401      return $this->inputFiles;
2402    }
2403  
2404    public function setOutputBytes($outputBytes)
2405    {
2406      $this->outputBytes = $outputBytes;
2407    }
2408  
2409    public function getOutputBytes()
2410    {
2411      return $this->outputBytes;
2412    }
2413  
2414    public function setOutputRows($outputRows)
2415    {
2416      $this->outputRows = $outputRows;
2417    }
2418  
2419    public function getOutputRows()
2420    {
2421      return $this->outputRows;
2422    }
2423  }
2424  
2425  class Google_Service_Bigquery_JobStatus extends Google_Collection
2426  {
2427    protected $collection_key = 'errors';
2428    protected $errorResultType = 'Google_Service_Bigquery_ErrorProto';
2429    protected $errorResultDataType = '';
2430    protected $errorsType = 'Google_Service_Bigquery_ErrorProto';
2431    protected $errorsDataType = 'array';
2432    public $state;
2433  
2434    public function setErrorResult(Google_Service_Bigquery_ErrorProto $errorResult)
2435    {
2436      $this->errorResult = $errorResult;
2437    }
2438  
2439    public function getErrorResult()
2440    {
2441      return $this->errorResult;
2442    }
2443  
2444    public function setErrors($errors)
2445    {
2446      $this->errors = $errors;
2447    }
2448  
2449    public function getErrors()
2450    {
2451      return $this->errors;
2452    }
2453  
2454    public function setState($state)
2455    {
2456      $this->state = $state;
2457    }
2458  
2459    public function getState()
2460    {
2461      return $this->state;
2462    }
2463  }
2464  
2465  class Google_Service_Bigquery_JsonObject extends Google_Model
2466  {
2467  
2468  }
2469  
2470  class Google_Service_Bigquery_ProjectList extends Google_Collection
2471  {
2472    protected $collection_key = 'projects';
2473    public $etag;
2474    public $kind;
2475    public $nextPageToken;
2476    protected $projectsType = 'Google_Service_Bigquery_ProjectListProjects';
2477    protected $projectsDataType = 'array';
2478    public $totalItems;
2479  
2480    public function setEtag($etag)
2481    {
2482      $this->etag = $etag;
2483    }
2484  
2485    public function getEtag()
2486    {
2487      return $this->etag;
2488    }
2489  
2490    public function setKind($kind)
2491    {
2492      $this->kind = $kind;
2493    }
2494  
2495    public function getKind()
2496    {
2497      return $this->kind;
2498    }
2499  
2500    public function setNextPageToken($nextPageToken)
2501    {
2502      $this->nextPageToken = $nextPageToken;
2503    }
2504  
2505    public function getNextPageToken()
2506    {
2507      return $this->nextPageToken;
2508    }
2509  
2510    public function setProjects($projects)
2511    {
2512      $this->projects = $projects;
2513    }
2514  
2515    public function getProjects()
2516    {
2517      return $this->projects;
2518    }
2519  
2520    public function setTotalItems($totalItems)
2521    {
2522      $this->totalItems = $totalItems;
2523    }
2524  
2525    public function getTotalItems()
2526    {
2527      return $this->totalItems;
2528    }
2529  }
2530  
2531  class Google_Service_Bigquery_ProjectListProjects extends Google_Model
2532  {
2533    public $friendlyName;
2534    public $id;
2535    public $kind;
2536    public $numericId;
2537    protected $projectReferenceType = 'Google_Service_Bigquery_ProjectReference';
2538    protected $projectReferenceDataType = '';
2539  
2540    public function setFriendlyName($friendlyName)
2541    {
2542      $this->friendlyName = $friendlyName;
2543    }
2544  
2545    public function getFriendlyName()
2546    {
2547      return $this->friendlyName;
2548    }
2549  
2550    public function setId($id)
2551    {
2552      $this->id = $id;
2553    }
2554  
2555    public function getId()
2556    {
2557      return $this->id;
2558    }
2559  
2560    public function setKind($kind)
2561    {
2562      $this->kind = $kind;
2563    }
2564  
2565    public function getKind()
2566    {
2567      return $this->kind;
2568    }
2569  
2570    public function setNumericId($numericId)
2571    {
2572      $this->numericId = $numericId;
2573    }
2574  
2575    public function getNumericId()
2576    {
2577      return $this->numericId;
2578    }
2579  
2580    public function setProjectReference(Google_Service_Bigquery_ProjectReference $projectReference)
2581    {
2582      $this->projectReference = $projectReference;
2583    }
2584  
2585    public function getProjectReference()
2586    {
2587      return $this->projectReference;
2588    }
2589  }
2590  
2591  class Google_Service_Bigquery_ProjectReference extends Google_Model
2592  {
2593    public $projectId;
2594  
2595    public function setProjectId($projectId)
2596    {
2597      $this->projectId = $projectId;
2598    }
2599  
2600    public function getProjectId()
2601    {
2602      return $this->projectId;
2603    }
2604  }
2605  
2606  class Google_Service_Bigquery_QueryRequest extends Google_Model
2607  {
2608    protected $defaultDatasetType = 'Google_Service_Bigquery_DatasetReference';
2609    protected $defaultDatasetDataType = '';
2610    public $dryRun;
2611    public $kind;
2612    public $maxResults;
2613    public $preserveNulls;
2614    public $query;
2615    public $timeoutMs;
2616    public $useQueryCache;
2617  
2618    public function setDefaultDataset(Google_Service_Bigquery_DatasetReference $defaultDataset)
2619    {
2620      $this->defaultDataset = $defaultDataset;
2621    }
2622  
2623    public function getDefaultDataset()
2624    {
2625      return $this->defaultDataset;
2626    }
2627  
2628    public function setDryRun($dryRun)
2629    {
2630      $this->dryRun = $dryRun;
2631    }
2632  
2633    public function getDryRun()
2634    {
2635      return $this->dryRun;
2636    }
2637  
2638    public function setKind($kind)
2639    {
2640      $this->kind = $kind;
2641    }
2642  
2643    public function getKind()
2644    {
2645      return $this->kind;
2646    }
2647  
2648    public function setMaxResults($maxResults)
2649    {
2650      $this->maxResults = $maxResults;
2651    }
2652  
2653    public function getMaxResults()
2654    {
2655      return $this->maxResults;
2656    }
2657  
2658    public function setPreserveNulls($preserveNulls)
2659    {
2660      $this->preserveNulls = $preserveNulls;
2661    }
2662  
2663    public function getPreserveNulls()
2664    {
2665      return $this->preserveNulls;
2666    }
2667  
2668    public function setQuery($query)
2669    {
2670      $this->query = $query;
2671    }
2672  
2673    public function getQuery()
2674    {
2675      return $this->query;
2676    }
2677  
2678    public function setTimeoutMs($timeoutMs)
2679    {
2680      $this->timeoutMs = $timeoutMs;
2681    }
2682  
2683    public function getTimeoutMs()
2684    {
2685      return $this->timeoutMs;
2686    }
2687  
2688    public function setUseQueryCache($useQueryCache)
2689    {
2690      $this->useQueryCache = $useQueryCache;
2691    }
2692  
2693    public function getUseQueryCache()
2694    {
2695      return $this->useQueryCache;
2696    }
2697  }
2698  
2699  class Google_Service_Bigquery_QueryResponse extends Google_Collection
2700  {
2701    protected $collection_key = 'rows';
2702    public $cacheHit;
2703    public $jobComplete;
2704    protected $jobReferenceType = 'Google_Service_Bigquery_JobReference';
2705    protected $jobReferenceDataType = '';
2706    public $kind;
2707    public $pageToken;
2708    protected $rowsType = 'Google_Service_Bigquery_TableRow';
2709    protected $rowsDataType = 'array';
2710    protected $schemaType = 'Google_Service_Bigquery_TableSchema';
2711    protected $schemaDataType = '';
2712    public $totalBytesProcessed;
2713    public $totalRows;
2714  
2715    public function setCacheHit($cacheHit)
2716    {
2717      $this->cacheHit = $cacheHit;
2718    }
2719  
2720    public function getCacheHit()
2721    {
2722      return $this->cacheHit;
2723    }
2724  
2725    public function setJobComplete($jobComplete)
2726    {
2727      $this->jobComplete = $jobComplete;
2728    }
2729  
2730    public function getJobComplete()
2731    {
2732      return $this->jobComplete;
2733    }
2734  
2735    public function setJobReference(Google_Service_Bigquery_JobReference $jobReference)
2736    {
2737      $this->jobReference = $jobReference;
2738    }
2739  
2740    public function getJobReference()
2741    {
2742      return $this->jobReference;
2743    }
2744  
2745    public function setKind($kind)
2746    {
2747      $this->kind = $kind;
2748    }
2749  
2750    public function getKind()
2751    {
2752      return $this->kind;
2753    }
2754  
2755    public function setPageToken($pageToken)
2756    {
2757      $this->pageToken = $pageToken;
2758    }
2759  
2760    public function getPageToken()
2761    {
2762      return $this->pageToken;
2763    }
2764  
2765    public function setRows($rows)
2766    {
2767      $this->rows = $rows;
2768    }
2769  
2770    public function getRows()
2771    {
2772      return $this->rows;
2773    }
2774  
2775    public function setSchema(Google_Service_Bigquery_TableSchema $schema)
2776    {
2777      $this->schema = $schema;
2778    }
2779  
2780    public function getSchema()
2781    {
2782      return $this->schema;
2783    }
2784  
2785    public function setTotalBytesProcessed($totalBytesProcessed)
2786    {
2787      $this->totalBytesProcessed = $totalBytesProcessed;
2788    }
2789  
2790    public function getTotalBytesProcessed()
2791    {
2792      return $this->totalBytesProcessed;
2793    }
2794  
2795    public function setTotalRows($totalRows)
2796    {
2797      $this->totalRows = $totalRows;
2798    }
2799  
2800    public function getTotalRows()
2801    {
2802      return $this->totalRows;
2803    }
2804  }
2805  
2806  class Google_Service_Bigquery_Table extends Google_Model
2807  {
2808    public $creationTime;
2809    public $description;
2810    public $etag;
2811    public $expirationTime;
2812    public $friendlyName;
2813    public $id;
2814    public $kind;
2815    public $lastModifiedTime;
2816    public $numBytes;
2817    public $numRows;
2818    protected $schemaType = 'Google_Service_Bigquery_TableSchema';
2819    protected $schemaDataType = '';
2820    public $selfLink;
2821    protected $tableReferenceType = 'Google_Service_Bigquery_TableReference';
2822    protected $tableReferenceDataType = '';
2823    public $type;
2824    protected $viewType = 'Google_Service_Bigquery_ViewDefinition';
2825    protected $viewDataType = '';
2826  
2827    public function setCreationTime($creationTime)
2828    {
2829      $this->creationTime = $creationTime;
2830    }
2831  
2832    public function getCreationTime()
2833    {
2834      return $this->creationTime;
2835    }
2836  
2837    public function setDescription($description)
2838    {
2839      $this->description = $description;
2840    }
2841  
2842    public function getDescription()
2843    {
2844      return $this->description;
2845    }
2846  
2847    public function setEtag($etag)
2848    {
2849      $this->etag = $etag;
2850    }
2851  
2852    public function getEtag()
2853    {
2854      return $this->etag;
2855    }
2856  
2857    public function setExpirationTime($expirationTime)
2858    {
2859      $this->expirationTime = $expirationTime;
2860    }
2861  
2862    public function getExpirationTime()
2863    {
2864      return $this->expirationTime;
2865    }
2866  
2867    public function setFriendlyName($friendlyName)
2868    {
2869      $this->friendlyName = $friendlyName;
2870    }
2871  
2872    public function getFriendlyName()
2873    {
2874      return $this->friendlyName;
2875    }
2876  
2877    public function setId($id)
2878    {
2879      $this->id = $id;
2880    }
2881  
2882    public function getId()
2883    {
2884      return $this->id;
2885    }
2886  
2887    public function setKind($kind)
2888    {
2889      $this->kind = $kind;
2890    }
2891  
2892    public function getKind()
2893    {
2894      return $this->kind;
2895    }
2896  
2897    public function setLastModifiedTime($lastModifiedTime)
2898    {
2899      $this->lastModifiedTime = $lastModifiedTime;
2900    }
2901  
2902    public function getLastModifiedTime()
2903    {
2904      return $this->lastModifiedTime;
2905    }
2906  
2907    public function setNumBytes($numBytes)
2908    {
2909      $this->numBytes = $numBytes;
2910    }
2911  
2912    public function getNumBytes()
2913    {
2914      return $this->numBytes;
2915    }
2916  
2917    public function setNumRows($numRows)
2918    {
2919      $this->numRows = $numRows;
2920    }
2921  
2922    public function getNumRows()
2923    {
2924      return $this->numRows;
2925    }
2926  
2927    public function setSchema(Google_Service_Bigquery_TableSchema $schema)
2928    {
2929      $this->schema = $schema;
2930    }
2931  
2932    public function getSchema()
2933    {
2934      return $this->schema;
2935    }
2936  
2937    public function setSelfLink($selfLink)
2938    {
2939      $this->selfLink = $selfLink;
2940    }
2941  
2942    public function getSelfLink()
2943    {
2944      return $this->selfLink;
2945    }
2946  
2947    public function setTableReference(Google_Service_Bigquery_TableReference $tableReference)
2948    {
2949      $this->tableReference = $tableReference;
2950    }
2951  
2952    public function getTableReference()
2953    {
2954      return $this->tableReference;
2955    }
2956  
2957    public function setType($type)
2958    {
2959      $this->type = $type;
2960    }
2961  
2962    public function getType()
2963    {
2964      return $this->type;
2965    }
2966  
2967    public function setView(Google_Service_Bigquery_ViewDefinition $view)
2968    {
2969      $this->view = $view;
2970    }
2971  
2972    public function getView()
2973    {
2974      return $this->view;
2975    }
2976  }
2977  
2978  class Google_Service_Bigquery_TableCell extends Google_Model
2979  {
2980    public $v;
2981  
2982    public function setV($v)
2983    {
2984      $this->v = $v;
2985    }
2986  
2987    public function getV()
2988    {
2989      return $this->v;
2990    }
2991  }
2992  
2993  class Google_Service_Bigquery_TableDataInsertAllRequest extends Google_Collection
2994  {
2995    protected $collection_key = 'rows';
2996    public $kind;
2997    protected $rowsType = 'Google_Service_Bigquery_TableDataInsertAllRequestRows';
2998    protected $rowsDataType = 'array';
2999  
3000    public function setKind($kind)
3001    {
3002      $this->kind = $kind;
3003    }
3004  
3005    public function getKind()
3006    {
3007      return $this->kind;
3008    }
3009  
3010    public function setRows($rows)
3011    {
3012      $this->rows = $rows;
3013    }
3014  
3015    public function getRows()
3016    {
3017      return $this->rows;
3018    }
3019  }
3020  
3021  class Google_Service_Bigquery_TableDataInsertAllRequestRows extends Google_Model
3022  {
3023    public $insertId;
3024    public $json;
3025  
3026    public function setInsertId($insertId)
3027    {
3028      $this->insertId = $insertId;
3029    }
3030  
3031    public function getInsertId()
3032    {
3033      return $this->insertId;
3034    }
3035  
3036    public function setJson($json)
3037    {
3038      $this->json = $json;
3039    }
3040  
3041    public function getJson()
3042    {
3043      return $this->json;
3044    }
3045  }
3046  
3047  class Google_Service_Bigquery_TableDataInsertAllResponse extends Google_Collection
3048  {
3049    protected $collection_key = 'insertErrors';
3050    protected $insertErrorsType = 'Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors';
3051    protected $insertErrorsDataType = 'array';
3052    public $kind;
3053  
3054    public function setInsertErrors($insertErrors)
3055    {
3056      $this->insertErrors = $insertErrors;
3057    }
3058  
3059    public function getInsertErrors()
3060    {
3061      return $this->insertErrors;
3062    }
3063  
3064    public function setKind($kind)
3065    {
3066      $this->kind = $kind;
3067    }
3068  
3069    public function getKind()
3070    {
3071      return $this->kind;
3072    }
3073  }
3074  
3075  class Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors extends Google_Collection
3076  {
3077    protected $collection_key = 'errors';
3078    protected $errorsType = 'Google_Service_Bigquery_ErrorProto';
3079    protected $errorsDataType = 'array';
3080    public $index;
3081  
3082    public function setErrors($errors)
3083    {
3084      $this->errors = $errors;
3085    }
3086  
3087    public function getErrors()
3088    {
3089      return $this->errors;
3090    }
3091  
3092    public function setIndex($index)
3093    {
3094      $this->index = $index;
3095    }
3096  
3097    public function getIndex()
3098    {
3099      return $this->index;
3100    }
3101  }
3102  
3103  class Google_Service_Bigquery_TableDataList extends Google_Collection
3104  {
3105    protected $collection_key = 'rows';
3106    public $etag;
3107    public $kind;
3108    public $pageToken;
3109    protected $rowsType = 'Google_Service_Bigquery_TableRow';
3110    protected $rowsDataType = 'array';
3111    public $totalRows;
3112  
3113    public function setEtag($etag)
3114    {
3115      $this->etag = $etag;
3116    }
3117  
3118    public function getEtag()
3119    {
3120      return $this->etag;
3121    }
3122  
3123    public function setKind($kind)
3124    {
3125      $this->kind = $kind;
3126    }
3127  
3128    public function getKind()
3129    {
3130      return $this->kind;
3131    }
3132  
3133    public function setPageToken($pageToken)
3134    {
3135      $this->pageToken = $pageToken;
3136    }
3137  
3138    public function getPageToken()
3139    {
3140      return $this->pageToken;
3141    }
3142  
3143    public function setRows($rows)
3144    {
3145      $this->rows = $rows;
3146    }
3147  
3148    public function getRows()
3149    {
3150      return $this->rows;
3151    }
3152  
3153    public function setTotalRows($totalRows)
3154    {
3155      $this->totalRows = $totalRows;
3156    }
3157  
3158    public function getTotalRows()
3159    {
3160      return $this->totalRows;
3161    }
3162  }
3163  
3164  class Google_Service_Bigquery_TableFieldSchema extends Google_Collection
3165  {
3166    protected $collection_key = 'fields';
3167    public $description;
3168    protected $fieldsType = 'Google_Service_Bigquery_TableFieldSchema';
3169    protected $fieldsDataType = 'array';
3170    public $mode;
3171    public $name;
3172    public $type;
3173  
3174    public function setDescription($description)
3175    {
3176      $this->description = $description;
3177    }
3178  
3179    public function getDescription()
3180    {
3181      return $this->description;
3182    }
3183  
3184    public function setFields($fields)
3185    {
3186      $this->fields = $fields;
3187    }
3188  
3189    public function getFields()
3190    {
3191      return $this->fields;
3192    }
3193  
3194    public function setMode($mode)
3195    {
3196      $this->mode = $mode;
3197    }
3198  
3199    public function getMode()
3200    {
3201      return $this->mode;
3202    }
3203  
3204    public function setName($name)
3205    {
3206      $this->name = $name;
3207    }
3208  
3209    public function getName()
3210    {
3211      return $this->name;
3212    }
3213  
3214    public function setType($type)
3215    {
3216      $this->type = $type;
3217    }
3218  
3219    public function getType()
3220    {
3221      return $this->type;
3222    }
3223  }
3224  
3225  class Google_Service_Bigquery_TableList extends Google_Collection
3226  {
3227    protected $collection_key = 'tables';
3228    public $etag;
3229    public $kind;
3230    public $nextPageToken;
3231    protected $tablesType = 'Google_Service_Bigquery_TableListTables';
3232    protected $tablesDataType = 'array';
3233    public $totalItems;
3234  
3235    public function setEtag($etag)
3236    {
3237      $this->etag = $etag;
3238    }
3239  
3240    public function getEtag()
3241    {
3242      return $this->etag;
3243    }
3244  
3245    public function setKind($kind)
3246    {
3247      $this->kind = $kind;
3248    }
3249  
3250    public function getKind()
3251    {
3252      return $this->kind;
3253    }
3254  
3255    public function setNextPageToken($nextPageToken)
3256    {
3257      $this->nextPageToken = $nextPageToken;
3258    }
3259  
3260    public function getNextPageToken()
3261    {
3262      return $this->nextPageToken;
3263    }
3264  
3265    public function setTables($tables)
3266    {
3267      $this->tables = $tables;
3268    }
3269  
3270    public function getTables()
3271    {
3272      return $this->tables;
3273    }
3274  
3275    public function setTotalItems($totalItems)
3276    {
3277      $this->totalItems = $totalItems;
3278    }
3279  
3280    public function getTotalItems()
3281    {
3282      return $this->totalItems;
3283    }
3284  }
3285  
3286  class Google_Service_Bigquery_TableListTables extends Google_Model
3287  {
3288    public $friendlyName;
3289    public $id;
3290    public $kind;
3291    protected $tableReferenceType = 'Google_Service_Bigquery_TableReference';
3292    protected $tableReferenceDataType = '';
3293    public $type;
3294  
3295    public function setFriendlyName($friendlyName)
3296    {
3297      $this->friendlyName = $friendlyName;
3298    }
3299  
3300    public function getFriendlyName()
3301    {
3302      return $this->friendlyName;
3303    }
3304  
3305    public function setId($id)
3306    {
3307      $this->id = $id;
3308    }
3309  
3310    public function getId()
3311    {
3312      return $this->id;
3313    }
3314  
3315    public function setKind($kind)
3316    {
3317      $this->kind = $kind;
3318    }
3319  
3320    public function getKind()
3321    {
3322      return $this->kind;
3323    }
3324  
3325    public function setTableReference(Google_Service_Bigquery_TableReference $tableReference)
3326    {
3327      $this->tableReference = $tableReference;
3328    }
3329  
3330    public function getTableReference()
3331    {
3332      return $this->tableReference;
3333    }
3334  
3335    public function setType($type)
3336    {
3337      $this->type = $type;
3338    }
3339  
3340    public function getType()
3341    {
3342      return $this->type;
3343    }
3344  }
3345  
3346  class Google_Service_Bigquery_TableReference extends Google_Model
3347  {
3348    public $datasetId;
3349    public $projectId;
3350    public $tableId;
3351  
3352    public function setDatasetId($datasetId)
3353    {
3354      $this->datasetId = $datasetId;
3355    }
3356  
3357    public function getDatasetId()
3358    {
3359      return $this->datasetId;
3360    }
3361  
3362    public function setProjectId($projectId)
3363    {
3364      $this->projectId = $projectId;
3365    }
3366  
3367    public function getProjectId()
3368    {
3369      return $this->projectId;
3370    }
3371  
3372    public function setTableId($tableId)
3373    {
3374      $this->tableId = $tableId;
3375    }
3376  
3377    public function getTableId()
3378    {
3379      return $this->tableId;
3380    }
3381  }
3382  
3383  class Google_Service_Bigquery_TableRow extends Google_Collection
3384  {
3385    protected $collection_key = 'f';
3386    protected $fType = 'Google_Service_Bigquery_TableCell';
3387    protected $fDataType = 'array';
3388  
3389    public function setF($f)
3390    {
3391      $this->f = $f;
3392    }
3393  
3394    public function getF()
3395    {
3396      return $this->f;
3397    }
3398  }
3399  
3400  class Google_Service_Bigquery_TableSchema extends Google_Collection
3401  {
3402    protected $collection_key = 'fields';
3403    protected $fieldsType = 'Google_Service_Bigquery_TableFieldSchema';
3404    protected $fieldsDataType = 'array';
3405  
3406    public function setFields($fields)
3407    {
3408      $this->fields = $fields;
3409    }
3410  
3411    public function getFields()
3412    {
3413      return $this->fields;
3414    }
3415  }
3416  
3417  class Google_Service_Bigquery_ViewDefinition extends Google_Model
3418  {
3419    public $query;
3420  
3421    public function setQuery($query)
3422    {
3423      $this->query = $query;
3424    }
3425  
3426    public function getQuery()
3427    {
3428      return $this->query;
3429    }
3430  }


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