PluginProbe
Authorizer / 2.8.2
Authorizer v2.8.2
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / vendor / google-api-php-client / src / Google / Service / Bigquery.php

Bigquery.php in Authorizer 2.8.2, at vendor/google-api-php-client/src/Google/Service/Bigquery.php

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