PluginProbe
Authorizer / 2.2
Authorizer v2.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 / inc / google-api-php-client / src / Google / Service / Bigquery.php

Bigquery.php in Authorizer 2.2, at inc/google-api-php-client/src/Google/Service/Bigquery.php

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