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