PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.2.2
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.2.2
9.1.2 9.1.1 9.1.0 9.0.2 9.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 All 153 releases
wp-analytify / lib / Google / Service / Bigquery.php

Bigquery.php in Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) 1.2.2, at lib/Google/Service/Bigquery.php

3,411 lines 80.7 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 Analytify_Google_Service_Bigquery extends Analytify_Google_Service
33 {
34 /** View and manage your data in Google BigQuery. */
35 const BIGQUERY = "https://www.googleapis.com/auth/bigquery";
36 /** Insert data into Google BigQuery. */
37 const BIGQUERY_INSERTDATA = "https://www.googleapis.com/auth/bigquery.insertdata";
38 /** View and manage your data across Google Cloud Platform services. */
39 const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform";
40 /** Manage your data and permissions in Google Cloud Storage. */
41 const DEVSTORAGE_FULL_CONTROL = "https://www.googleapis.com/auth/devstorage.full_control";
42 /** View your data in Google Cloud Storage. */
43 const DEVSTORAGE_READ_ONLY = "https://www.googleapis.com/auth/devstorage.read_only";
44 /** Manage your data in Google Cloud Storage. */
45 const DEVSTORAGE_READ_WRITE = "https://www.googleapis.com/auth/devstorage.read_write";
46
47 public $datasets;
48 public $jobs;
49 public $projects;
50 public $tabledata;
51 public $tables;
52
53
54 /**
55 * Constructs the internal representation of the Bigquery service.
56 *
57 * @param Analytify_Google_Client $client
58 */
59 public function __construct(Analytify_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 Analytify_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 Analytify_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 Analytify_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 Analytify_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 Analytify_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 Analytify_Google_Service_Bigquery(...);
501 * $datasets = $bigqueryService->datasets;
502 * </code>
503 */
504 class Analytify_Google_Service_Bigquery_Datasets_Resource extends Analytify_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 Analytify_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), "Analytify_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 Analytify_Google_Dataset $postBody
551 * @param array $optParams Optional parameters.
552 * @return Analytify_Google_Service_Bigquery_Dataset
553 */
554 public function insert($projectId, Analytify_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), "Analytify_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 Analytify_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), "Analytify_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 Analytify_Google_Dataset $postBody
594 * @param array $optParams Optional parameters.
595 * @return Analytify_Google_Service_Bigquery_Dataset
596 */
597 public function patch($projectId, $datasetId, Analytify_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), "Analytify_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 Analytify_Google_Dataset $postBody
613 * @param array $optParams Optional parameters.
614 * @return Analytify_Google_Service_Bigquery_Dataset
615 */
616 public function update($projectId, $datasetId, Analytify_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), "Analytify_Google_Service_Bigquery_Dataset");
621 }
622 }
623
624 /**
625 * The "jobs" collection of methods.
626 * Typical usage is:
627 * <code>
628 * $bigqueryService = new Analytify_Google_Service_Bigquery(...);
629 * $jobs = $bigqueryService->jobs;
630 * </code>
631 */
632 class Analytify_Google_Service_Bigquery_Jobs_Resource extends Analytify_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 Analytify_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), "Analytify_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 Analytify_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), "Analytify_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 Analytify_Google_Job $postBody
684 * @param array $optParams Optional parameters.
685 * @return Analytify_Google_Service_Bigquery_Job
686 */
687 public function insert($projectId, Analytify_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), "Analytify_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 Analytify_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), "Analytify_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 Analytify_Google_QueryRequest $postBody
726 * @param array $optParams Optional parameters.
727 * @return Analytify_Google_Service_Bigquery_QueryResponse
728 */
729 public function query($projectId, Analytify_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), "Analytify_Google_Service_Bigquery_QueryResponse");
734 }
735 }
736
737 /**
738 * The "projects" collection of methods.
739 * Typical usage is:
740 * <code>
741 * $bigqueryService = new Analytify_Google_Service_Bigquery(...);
742 * $projects = $bigqueryService->projects;
743 * </code>
744 */
745 class Analytify_Google_Service_Bigquery_Projects_Resource extends Analytify_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 Analytify_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), "Analytify_Google_Service_Bigquery_ProjectList");
765 }
766 }
767
768 /**
769 * The "tabledata" collection of methods.
770 * Typical usage is:
771 * <code>
772 * $bigqueryService = new Analytify_Google_Service_Bigquery(...);
773 * $tabledata = $bigqueryService->tabledata;
774 * </code>
775 */
776 class Analytify_Google_Service_Bigquery_Tabledata_Resource extends Analytify_Google_Service_Resource
777 {
778
779 /**
780 * Streams data into BigQuery one record at a time without needing to run a load
781 * job. (tabledata.insertAll)
782 *
783 * @param string $projectId
784 * Project ID of the destination table.
785 * @param string $datasetId
786 * Dataset ID of the destination table.
787 * @param string $tableId
788 * Table ID of the destination table.
789 * @param Analytify_Google_TableDataInsertAllRequest $postBody
790 * @param array $optParams Optional parameters.
791 * @return Analytify_Google_Service_Bigquery_TableDataInsertAllResponse
792 */
793 public function insertAll($projectId, $datasetId, $tableId, Analytify_Google_Service_Bigquery_TableDataInsertAllRequest $postBody, $optParams = array())
794 {
795 $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
796 $params = array_merge($params, $optParams);
797 return $this->call('insertAll', array($params), "Analytify_Google_Service_Bigquery_TableDataInsertAllResponse");
798 }
799 /**
800 * Retrieves table data from a specified set of rows. (tabledata.listTabledata)
801 *
802 * @param string $projectId
803 * Project ID of the table to read
804 * @param string $datasetId
805 * Dataset ID of the table to read
806 * @param string $tableId
807 * Table ID of the table to read
808 * @param array $optParams Optional parameters.
809 *
810 * @opt_param string maxResults
811 * Maximum number of results to return
812 * @opt_param string pageToken
813 * Page token, returned by a previous call, identifying the result set
814 * @opt_param string startIndex
815 * Zero-based index of the starting row to read
816 * @return Analytify_Google_Service_Bigquery_TableDataList
817 */
818 public function listTabledata($projectId, $datasetId, $tableId, $optParams = array())
819 {
820 $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId);
821 $params = array_merge($params, $optParams);
822 return $this->call('list', array($params), "Analytify_Google_Service_Bigquery_TableDataList");
823 }
824 }
825
826 /**
827 * The "tables" collection of methods.
828 * Typical usage is:
829 * <code>
830 * $bigqueryService = new Analytify_Google_Service_Bigquery(...);
831 * $tables = $bigqueryService->tables;
832 * </code>
833 */
834 class Analytify_Google_Service_Bigquery_Tables_Resource extends Analytify_Google_Service_Resource
835 {
836
837 /**
838 * Deletes the table specified by tableId from the dataset. If the table
839 * contains data, all the data will be deleted. (tables.delete)
840 *
841 * @param string $projectId
842 * Project ID of the table to delete
843 * @param string $datasetId
844 * Dataset ID of the table to delete
845 * @param string $tableId
846 * Table ID of the table to delete
847 * @param array $optParams Optional parameters.
848 */
849 public function delete($projectId, $datasetId, $tableId, $optParams = array())
850 {
851 $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId);
852 $params = array_merge($params, $optParams);
853 return $this->call('delete', array($params));
854 }
855 /**
856 * Gets the specified table resource by table ID. This method does not return
857 * the data in the table, it only returns the table resource, which describes
858 * the structure of this table. (tables.get)
859 *
860 * @param string $projectId
861 * Project ID of the requested table
862 * @param string $datasetId
863 * Dataset ID of the requested table
864 * @param string $tableId
865 * Table ID of the requested table
866 * @param array $optParams Optional parameters.
867 * @return Analytify_Google_Service_Bigquery_Table
868 */
869 public function get($projectId, $datasetId, $tableId, $optParams = array())
870 {
871 $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId);
872 $params = array_merge($params, $optParams);
873 return $this->call('get', array($params), "Analytify_Google_Service_Bigquery_Table");
874 }
875 /**
876 * Creates a new, empty table in the dataset. (tables.insert)
877 *
878 * @param string $projectId
879 * Project ID of the new table
880 * @param string $datasetId
881 * Dataset ID of the new table
882 * @param Analytify_Google_Table $postBody
883 * @param array $optParams Optional parameters.
884 * @return Analytify_Google_Service_Bigquery_Table
885 */
886 public function insert($projectId, $datasetId, Analytify_Google_Service_Bigquery_Table $postBody, $optParams = array())
887 {
888 $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody);
889 $params = array_merge($params, $optParams);
890 return $this->call('insert', array($params), "Analytify_Google_Service_Bigquery_Table");
891 }
892 /**
893 * Lists all tables in the specified dataset. (tables.listTables)
894 *
895 * @param string $projectId
896 * Project ID of the tables to list
897 * @param string $datasetId
898 * Dataset ID of the tables to list
899 * @param array $optParams Optional parameters.
900 *
901 * @opt_param string pageToken
902 * Page token, returned by a previous call, to request the next page of results
903 * @opt_param string maxResults
904 * Maximum number of results to return
905 * @return Analytify_Google_Service_Bigquery_TableList
906 */
907 public function listTables($projectId, $datasetId, $optParams = array())
908 {
909 $params = array('projectId' => $projectId, 'datasetId' => $datasetId);
910 $params = array_merge($params, $optParams);
911 return $this->call('list', array($params), "Analytify_Google_Service_Bigquery_TableList");
912 }
913 /**
914 * Updates information in an existing table. The update method replaces the
915 * entire table resource, whereas the patch method only replaces fields that are
916 * provided in the submitted table resource. This method supports patch
917 * semantics. (tables.patch)
918 *
919 * @param string $projectId
920 * Project ID of the table to update
921 * @param string $datasetId
922 * Dataset ID of the table to update
923 * @param string $tableId
924 * Table ID of the table to update
925 * @param Analytify_Google_Table $postBody
926 * @param array $optParams Optional parameters.
927 * @return Analytify_Google_Service_Bigquery_Table
928 */
929 public function patch($projectId, $datasetId, $tableId, Analytify_Google_Service_Bigquery_Table $postBody, $optParams = array())
930 {
931 $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
932 $params = array_merge($params, $optParams);
933 return $this->call('patch', array($params), "Analytify_Google_Service_Bigquery_Table");
934 }
935 /**
936 * Updates information in an existing table. The update method replaces the
937 * entire table resource, whereas the patch method only replaces fields that are
938 * provided in the submitted table resource. (tables.update)
939 *
940 * @param string $projectId
941 * Project ID of the table to update
942 * @param string $datasetId
943 * Dataset ID of the table to update
944 * @param string $tableId
945 * Table ID of the table to update
946 * @param Analytify_Google_Table $postBody
947 * @param array $optParams Optional parameters.
948 * @return Analytify_Google_Service_Bigquery_Table
949 */
950 public function update($projectId, $datasetId, $tableId, Analytify_Google_Service_Bigquery_Table $postBody, $optParams = array())
951 {
952 $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
953 $params = array_merge($params, $optParams);
954 return $this->call('update', array($params), "Analytify_Google_Service_Bigquery_Table");
955 }
956 }
957
958
959
960
961 class Analytify_Google_Service_Bigquery_Dataset extends Analytify_Google_Collection
962 {
963 protected $accessType = 'Analytify_Google_Service_Bigquery_DatasetAccess';
964 protected $accessDataType = 'array';
965 public $creationTime;
966 protected $datasetReferenceType = 'Analytify_Google_Service_Bigquery_DatasetReference';
967 protected $datasetReferenceDataType = '';
968 public $description;
969 public $etag;
970 public $friendlyName;
971 public $id;
972 public $kind;
973 public $lastModifiedTime;
974 public $selfLink;
975
976 public function setAccess($access)
977 {
978 $this->access = $access;
979 }
980
981 public function getAccess()
982 {
983 return $this->access;
984 }
985
986 public function setCreationTime($creationTime)
987 {
988 $this->creationTime = $creationTime;
989 }
990
991 public function getCreationTime()
992 {
993 return $this->creationTime;
994 }
995
996 public function setDatasetReference(Analytify_Google_Service_Bigquery_DatasetReference $datasetReference)
997 {
998 $this->datasetReference = $datasetReference;
999 }
1000
1001 public function getDatasetReference()
1002 {
1003 return $this->datasetReference;
1004 }
1005
1006 public function setDescription($description)
1007 {
1008 $this->description = $description;
1009 }
1010
1011 public function getDescription()
1012 {
1013 return $this->description;
1014 }
1015
1016 public function setEtag($etag)
1017 {
1018 $this->etag = $etag;
1019 }
1020
1021 public function getEtag()
1022 {
1023 return $this->etag;
1024 }
1025
1026 public function setFriendlyName($friendlyName)
1027 {
1028 $this->friendlyName = $friendlyName;
1029 }
1030
1031 public function getFriendlyName()
1032 {
1033 return $this->friendlyName;
1034 }
1035
1036 public function setId($id)
1037 {
1038 $this->id = $id;
1039 }
1040
1041 public function getId()
1042 {
1043 return $this->id;
1044 }
1045
1046 public function setKind($kind)
1047 {
1048 $this->kind = $kind;
1049 }
1050
1051 public function getKind()
1052 {
1053 return $this->kind;
1054 }
1055
1056 public function setLastModifiedTime($lastModifiedTime)
1057 {
1058 $this->lastModifiedTime = $lastModifiedTime;
1059 }
1060
1061 public function getLastModifiedTime()
1062 {
1063 return $this->lastModifiedTime;
1064 }
1065
1066 public function setSelfLink($selfLink)
1067 {
1068 $this->selfLink = $selfLink;
1069 }
1070
1071 public function getSelfLink()
1072 {
1073 return $this->selfLink;
1074 }
1075 }
1076
1077 class Analytify_Google_Service_Bigquery_DatasetAccess extends Analytify_Google_Model
1078 {
1079 public $domain;
1080 public $groupByEmail;
1081 public $role;
1082 public $specialGroup;
1083 public $userByEmail;
1084
1085 public function setDomain($domain)
1086 {
1087 $this->domain = $domain;
1088 }
1089
1090 public function getDomain()
1091 {
1092 return $this->domain;
1093 }
1094
1095 public function setGroupByEmail($groupByEmail)
1096 {
1097 $this->groupByEmail = $groupByEmail;
1098 }
1099
1100 public function getGroupByEmail()
1101 {
1102 return $this->groupByEmail;
1103 }
1104
1105 public function setRole($role)
1106 {
1107 $this->role = $role;
1108 }
1109
1110 public function getRole()
1111 {
1112 return $this->role;
1113 }
1114
1115 public function setSpecialGroup($specialGroup)
1116 {
1117 $this->specialGroup = $specialGroup;
1118 }
1119
1120 public function getSpecialGroup()
1121 {
1122 return $this->specialGroup;
1123 }
1124
1125 public function setUserByEmail($userByEmail)
1126 {
1127 $this->userByEmail = $userByEmail;
1128 }
1129
1130 public function getUserByEmail()
1131 {
1132 return $this->userByEmail;
1133 }
1134 }
1135
1136 class Analytify_Google_Service_Bigquery_DatasetList extends Analytify_Google_Collection
1137 {
1138 protected $datasetsType = 'Analytify_Google_Service_Bigquery_DatasetListDatasets';
1139 protected $datasetsDataType = 'array';
1140 public $etag;
1141 public $kind;
1142 public $nextPageToken;
1143
1144 public function setDatasets($datasets)
1145 {
1146 $this->datasets = $datasets;
1147 }
1148
1149 public function getDatasets()
1150 {
1151 return $this->datasets;
1152 }
1153
1154 public function setEtag($etag)
1155 {
1156 $this->etag = $etag;
1157 }
1158
1159 public function getEtag()
1160 {
1161 return $this->etag;
1162 }
1163
1164 public function setKind($kind)
1165 {
1166 $this->kind = $kind;
1167 }
1168
1169 public function getKind()
1170 {
1171 return $this->kind;
1172 }
1173
1174 public function setNextPageToken($nextPageToken)
1175 {
1176 $this->nextPageToken = $nextPageToken;
1177 }
1178
1179 public function getNextPageToken()
1180 {
1181 return $this->nextPageToken;
1182 }
1183 }
1184
1185 class Analytify_Google_Service_Bigquery_DatasetListDatasets extends Analytify_Google_Model
1186 {
1187 protected $datasetReferenceType = 'Analytify_Google_Service_Bigquery_DatasetReference';
1188 protected $datasetReferenceDataType = '';
1189 public $friendlyName;
1190 public $id;
1191 public $kind;
1192
1193 public function setDatasetReference(Analytify_Google_Service_Bigquery_DatasetReference $datasetReference)
1194 {
1195 $this->datasetReference = $datasetReference;
1196 }
1197
1198 public function getDatasetReference()
1199 {
1200 return $this->datasetReference;
1201 }
1202
1203 public function setFriendlyName($friendlyName)
1204 {
1205 $this->friendlyName = $friendlyName;
1206 }
1207
1208 public function getFriendlyName()
1209 {
1210 return $this->friendlyName;
1211 }
1212
1213 public function setId($id)
1214 {
1215 $this->id = $id;
1216 }
1217
1218 public function getId()
1219 {
1220 return $this->id;
1221 }
1222
1223 public function setKind($kind)
1224 {
1225 $this->kind = $kind;
1226 }
1227
1228 public function getKind()
1229 {
1230 return $this->kind;
1231 }
1232 }
1233
1234 class Analytify_Google_Service_Bigquery_DatasetReference extends Analytify_Google_Model
1235 {
1236 public $datasetId;
1237 public $projectId;
1238
1239 public function setDatasetId($datasetId)
1240 {
1241 $this->datasetId = $datasetId;
1242 }
1243
1244 public function getDatasetId()
1245 {
1246 return $this->datasetId;
1247 }
1248
1249 public function setProjectId($projectId)
1250 {
1251 $this->projectId = $projectId;
1252 }
1253
1254 public function getProjectId()
1255 {
1256 return $this->projectId;
1257 }
1258 }
1259
1260 class Analytify_Google_Service_Bigquery_ErrorProto extends Analytify_Google_Model
1261 {
1262 public $debugInfo;
1263 public $location;
1264 public $message;
1265 public $reason;
1266
1267 public function setDebugInfo($debugInfo)
1268 {
1269 $this->debugInfo = $debugInfo;
1270 }
1271
1272 public function getDebugInfo()
1273 {
1274 return $this->debugInfo;
1275 }
1276
1277 public function setLocation($location)
1278 {
1279 $this->location = $location;
1280 }
1281
1282 public function getLocation()
1283 {
1284 return $this->location;
1285 }
1286
1287 public function setMessage($message)
1288 {
1289 $this->message = $message;
1290 }
1291
1292 public function getMessage()
1293 {
1294 return $this->message;
1295 }
1296
1297 public function setReason($reason)
1298 {
1299 $this->reason = $reason;
1300 }
1301
1302 public function getReason()
1303 {
1304 return $this->reason;
1305 }
1306 }
1307
1308 class Analytify_Google_Service_Bigquery_GetQueryResultsResponse extends Analytify_Google_Collection
1309 {
1310 public $cacheHit;
1311 public $etag;
1312 public $jobComplete;
1313 protected $jobReferenceType = 'Analytify_Google_Service_Bigquery_JobReference';
1314 protected $jobReferenceDataType = '';
1315 public $kind;
1316 public $pageToken;
1317 protected $rowsType = 'Analytify_Google_Service_Bigquery_TableRow';
1318 protected $rowsDataType = 'array';
1319 protected $schemaType = 'Analytify_Google_Service_Bigquery_TableSchema';
1320 protected $schemaDataType = '';
1321 public $totalRows;
1322
1323 public function setCacheHit($cacheHit)
1324 {
1325 $this->cacheHit = $cacheHit;
1326 }
1327
1328 public function getCacheHit()
1329 {
1330 return $this->cacheHit;
1331 }
1332
1333 public function setEtag($etag)
1334 {
1335 $this->etag = $etag;
1336 }
1337
1338 public function getEtag()
1339 {
1340 return $this->etag;
1341 }
1342
1343 public function setJobComplete($jobComplete)
1344 {
1345 $this->jobComplete = $jobComplete;
1346 }
1347
1348 public function getJobComplete()
1349 {
1350 return $this->jobComplete;
1351 }
1352
1353 public function setJobReference(Analytify_Google_Service_Bigquery_JobReference $jobReference)
1354 {
1355 $this->jobReference = $jobReference;
1356 }
1357
1358 public function getJobReference()
1359 {
1360 return $this->jobReference;
1361 }
1362
1363 public function setKind($kind)
1364 {
1365 $this->kind = $kind;
1366 }
1367
1368 public function getKind()
1369 {
1370 return $this->kind;
1371 }
1372
1373 public function setPageToken($pageToken)
1374 {
1375 $this->pageToken = $pageToken;
1376 }
1377
1378 public function getPageToken()
1379 {
1380 return $this->pageToken;
1381 }
1382
1383 public function setRows($rows)
1384 {
1385 $this->rows = $rows;
1386 }
1387
1388 public function getRows()
1389 {
1390 return $this->rows;
1391 }
1392
1393 public function setSchema(Analytify_Google_Service_Bigquery_TableSchema $schema)
1394 {
1395 $this->schema = $schema;
1396 }
1397
1398 public function getSchema()
1399 {
1400 return $this->schema;
1401 }
1402
1403 public function setTotalRows($totalRows)
1404 {
1405 $this->totalRows = $totalRows;
1406 }
1407
1408 public function getTotalRows()
1409 {
1410 return $this->totalRows;
1411 }
1412 }
1413
1414 class Analytify_Google_Service_Bigquery_Job extends Analytify_Google_Model
1415 {
1416 protected $configurationType = 'Analytify_Google_Service_Bigquery_JobConfiguration';
1417 protected $configurationDataType = '';
1418 public $etag;
1419 public $id;
1420 protected $jobReferenceType = 'Analytify_Google_Service_Bigquery_JobReference';
1421 protected $jobReferenceDataType = '';
1422 public $kind;
1423 public $selfLink;
1424 protected $statisticsType = 'Analytify_Google_Service_Bigquery_JobStatistics';
1425 protected $statisticsDataType = '';
1426 protected $statusType = 'Analytify_Google_Service_Bigquery_JobStatus';
1427 protected $statusDataType = '';
1428
1429 public function setConfiguration(Analytify_Google_Service_Bigquery_JobConfiguration $configuration)
1430 {
1431 $this->configuration = $configuration;
1432 }
1433
1434 public function getConfiguration()
1435 {
1436 return $this->configuration;
1437 }
1438
1439 public function setEtag($etag)
1440 {
1441 $this->etag = $etag;
1442 }
1443
1444 public function getEtag()
1445 {
1446 return $this->etag;
1447 }
1448
1449 public function setId($id)
1450 {
1451 $this->id = $id;
1452 }
1453
1454 public function getId()
1455 {
1456 return $this->id;
1457 }
1458
1459 public function setJobReference(Analytify_Google_Service_Bigquery_JobReference $jobReference)
1460 {
1461 $this->jobReference = $jobReference;
1462 }
1463
1464 public function getJobReference()
1465 {
1466 return $this->jobReference;
1467 }
1468
1469 public function setKind($kind)
1470 {
1471 $this->kind = $kind;
1472 }
1473
1474 public function getKind()
1475 {
1476 return $this->kind;
1477 }
1478
1479 public function setSelfLink($selfLink)
1480 {
1481 $this->selfLink = $selfLink;
1482 }
1483
1484 public function getSelfLink()
1485 {
1486 return $this->selfLink;
1487 }
1488
1489 public function setStatistics(Analytify_Google_Service_Bigquery_JobStatistics $statistics)
1490 {
1491 $this->statistics = $statistics;
1492 }
1493
1494 public function getStatistics()
1495 {
1496 return $this->statistics;
1497 }
1498
1499 public function setStatus(Analytify_Google_Service_Bigquery_JobStatus $status)
1500 {
1501 $this->status = $status;
1502 }
1503
1504 public function getStatus()
1505 {
1506 return $this->status;
1507 }
1508 }
1509
1510 class Analytify_Google_Service_Bigquery_JobConfiguration extends Analytify_Google_Model
1511 {
1512 protected $copyType = 'Analytify_Google_Service_Bigquery_JobConfigurationTableCopy';
1513 protected $copyDataType = '';
1514 public $dryRun;
1515 protected $extractType = 'Analytify_Google_Service_Bigquery_JobConfigurationExtract';
1516 protected $extractDataType = '';
1517 protected $linkType = 'Analytify_Google_Service_Bigquery_JobConfigurationLink';
1518 protected $linkDataType = '';
1519 protected $loadType = 'Analytify_Google_Service_Bigquery_JobConfigurationLoad';
1520 protected $loadDataType = '';
1521 protected $queryType = 'Analytify_Google_Service_Bigquery_JobConfigurationQuery';
1522 protected $queryDataType = '';
1523
1524 public function setCopy(Analytify_Google_Service_Bigquery_JobConfigurationTableCopy $copy)
1525 {
1526 $this->copy = $copy;
1527 }
1528
1529 public function getCopy()
1530 {
1531 return $this->copy;
1532 }
1533
1534 public function setDryRun($dryRun)
1535 {
1536 $this->dryRun = $dryRun;
1537 }
1538
1539 public function getDryRun()
1540 {
1541 return $this->dryRun;
1542 }
1543
1544 public function setExtract(Analytify_Google_Service_Bigquery_JobConfigurationExtract $extract)
1545 {
1546 $this->extract = $extract;
1547 }
1548
1549 public function getExtract()
1550 {
1551 return $this->extract;
1552 }
1553
1554 public function setLink(Analytify_Google_Service_Bigquery_JobConfigurationLink $link)
1555 {
1556 $this->link = $link;
1557 }
1558
1559 public function getLink()
1560 {
1561 return $this->link;
1562 }
1563
1564 public function setLoad(Analytify_Google_Service_Bigquery_JobConfigurationLoad $load)
1565 {
1566 $this->load = $load;
1567 }
1568
1569 public function getLoad()
1570 {
1571 return $this->load;
1572 }
1573
1574 public function setQuery(Analytify_Google_Service_Bigquery_JobConfigurationQuery $query)
1575 {
1576 $this->query = $query;
1577 }
1578
1579 public function getQuery()
1580 {
1581 return $this->query;
1582 }
1583 }
1584
1585 class Analytify_Google_Service_Bigquery_JobConfigurationExtract extends Analytify_Google_Collection
1586 {
1587 public $compression;
1588 public $destinationFormat;
1589 public $destinationUri;
1590 public $destinationUris;
1591 public $fieldDelimiter;
1592 public $printHeader;
1593 protected $sourceTableType = 'Analytify_Google_Service_Bigquery_TableReference';
1594 protected $sourceTableDataType = '';
1595
1596 public function setCompression($compression)
1597 {
1598 $this->compression = $compression;
1599 }
1600
1601 public function getCompression()
1602 {
1603 return $this->compression;
1604 }
1605
1606 public function setDestinationFormat($destinationFormat)
1607 {
1608 $this->destinationFormat = $destinationFormat;
1609 }
1610
1611 public function getDestinationFormat()
1612 {
1613 return $this->destinationFormat;
1614 }
1615
1616 public function setDestinationUri($destinationUri)
1617 {
1618 $this->destinationUri = $destinationUri;
1619 }
1620
1621 public function getDestinationUri()
1622 {
1623 return $this->destinationUri;
1624 }
1625
1626 public function setDestinationUris($destinationUris)
1627 {
1628 $this->destinationUris = $destinationUris;
1629 }
1630
1631 public function getDestinationUris()
1632 {
1633 return $this->destinationUris;
1634 }
1635
1636 public function setFieldDelimiter($fieldDelimiter)
1637 {
1638 $this->fieldDelimiter = $fieldDelimiter;
1639 }
1640
1641 public function getFieldDelimiter()
1642 {
1643 return $this->fieldDelimiter;
1644 }
1645
1646 public function setPrintHeader($printHeader)
1647 {
1648 $this->printHeader = $printHeader;
1649 }
1650
1651 public function getPrintHeader()
1652 {
1653 return $this->printHeader;
1654 }
1655
1656 public function setSourceTable(Analytify_Google_Service_Bigquery_TableReference $sourceTable)
1657 {
1658 $this->sourceTable = $sourceTable;
1659 }
1660
1661 public function getSourceTable()
1662 {
1663 return $this->sourceTable;
1664 }
1665 }
1666
1667 class Analytify_Google_Service_Bigquery_JobConfigurationLink extends Analytify_Google_Collection
1668 {
1669 public $createDisposition;
1670 protected $destinationTableType = 'Analytify_Google_Service_Bigquery_TableReference';
1671 protected $destinationTableDataType = '';
1672 public $sourceUri;
1673 public $writeDisposition;
1674
1675 public function setCreateDisposition($createDisposition)
1676 {
1677 $this->createDisposition = $createDisposition;
1678 }
1679
1680 public function getCreateDisposition()
1681 {
1682 return $this->createDisposition;
1683 }
1684
1685 public function setDestinationTable(Analytify_Google_Service_Bigquery_TableReference $destinationTable)
1686 {
1687 $this->destinationTable = $destinationTable;
1688 }
1689
1690 public function getDestinationTable()
1691 {
1692 return $this->destinationTable;
1693 }
1694
1695 public function setSourceUri($sourceUri)
1696 {
1697 $this->sourceUri = $sourceUri;
1698 }
1699
1700 public function getSourceUri()
1701 {
1702 return $this->sourceUri;
1703 }
1704
1705 public function setWriteDisposition($writeDisposition)
1706 {
1707 $this->writeDisposition = $writeDisposition;
1708 }
1709
1710 public function getWriteDisposition()
1711 {
1712 return $this->writeDisposition;
1713 }
1714 }
1715
1716 class Analytify_Google_Service_Bigquery_JobConfigurationLoad extends Analytify_Google_Collection
1717 {
1718 public $allowJaggedRows;
1719 public $allowQuotedNewlines;
1720 public $createDisposition;
1721 protected $destinationTableType = 'Analytify_Google_Service_Bigquery_TableReference';
1722 protected $destinationTableDataType = '';
1723 public $encoding;
1724 public $fieldDelimiter;
1725 public $ignoreUnknownValues;
1726 public $maxBadRecords;
1727 public $quote;
1728 protected $schemaType = 'Analytify_Google_Service_Bigquery_TableSchema';
1729 protected $schemaDataType = '';
1730 public $schemaInline;
1731 public $schemaInlineFormat;
1732 public $skipLeadingRows;
1733 public $sourceFormat;
1734 public $sourceUris;
1735 public $writeDisposition;
1736
1737 public function setAllowJaggedRows($allowJaggedRows)
1738 {
1739 $this->allowJaggedRows = $allowJaggedRows;
1740 }
1741
1742 public function getAllowJaggedRows()
1743 {
1744 return $this->allowJaggedRows;
1745 }
1746
1747 public function setAllowQuotedNewlines($allowQuotedNewlines)
1748 {
1749 $this->allowQuotedNewlines = $allowQuotedNewlines;
1750 }
1751
1752 public function getAllowQuotedNewlines()
1753 {
1754 return $this->allowQuotedNewlines;
1755 }
1756
1757 public function setCreateDisposition($createDisposition)
1758 {
1759 $this->createDisposition = $createDisposition;
1760 }
1761
1762 public function getCreateDisposition()
1763 {
1764 return $this->createDisposition;
1765 }
1766
1767 public function setDestinationTable(Analytify_Google_Service_Bigquery_TableReference $destinationTable)
1768 {
1769 $this->destinationTable = $destinationTable;
1770 }
1771
1772 public function getDestinationTable()
1773 {
1774 return $this->destinationTable;
1775 }
1776
1777 public function setEncoding($encoding)
1778 {
1779 $this->encoding = $encoding;
1780 }
1781
1782 public function getEncoding()
1783 {
1784 return $this->encoding;
1785 }
1786
1787 public function setFieldDelimiter($fieldDelimiter)
1788 {
1789 $this->fieldDelimiter = $fieldDelimiter;
1790 }
1791
1792 public function getFieldDelimiter()
1793 {
1794 return $this->fieldDelimiter;
1795 }
1796
1797 public function setIgnoreUnknownValues($ignoreUnknownValues)
1798 {
1799 $this->ignoreUnknownValues = $ignoreUnknownValues;
1800 }
1801
1802 public function getIgnoreUnknownValues()
1803 {
1804 return $this->ignoreUnknownValues;
1805 }
1806
1807 public function setMaxBadRecords($maxBadRecords)
1808 {
1809 $this->maxBadRecords = $maxBadRecords;
1810 }
1811
1812 public function getMaxBadRecords()
1813 {
1814 return $this->maxBadRecords;
1815 }
1816
1817 public function setQuote($quote)
1818 {
1819 $this->quote = $quote;
1820 }
1821
1822 public function getQuote()
1823 {
1824 return $this->quote;
1825 }
1826
1827 public function setSchema(Analytify_Google_Service_Bigquery_TableSchema $schema)
1828 {
1829 $this->schema = $schema;
1830 }
1831
1832 public function getSchema()
1833 {
1834 return $this->schema;
1835 }
1836
1837 public function setSchemaInline($schemaInline)
1838 {
1839 $this->schemaInline = $schemaInline;
1840 }
1841
1842 public function getSchemaInline()
1843 {
1844 return $this->schemaInline;
1845 }
1846
1847 public function setSchemaInlineFormat($schemaInlineFormat)
1848 {
1849 $this->schemaInlineFormat = $schemaInlineFormat;
1850 }
1851
1852 public function getSchemaInlineFormat()
1853 {
1854 return $this->schemaInlineFormat;
1855 }
1856
1857 public function setSkipLeadingRows($skipLeadingRows)
1858 {
1859 $this->skipLeadingRows = $skipLeadingRows;
1860 }
1861
1862 public function getSkipLeadingRows()
1863 {
1864 return $this->skipLeadingRows;
1865 }
1866
1867 public function setSourceFormat($sourceFormat)
1868 {
1869 $this->sourceFormat = $sourceFormat;
1870 }
1871
1872 public function getSourceFormat()
1873 {
1874 return $this->sourceFormat;
1875 }
1876
1877 public function setSourceUris($sourceUris)
1878 {
1879 $this->sourceUris = $sourceUris;
1880 }
1881
1882 public function getSourceUris()
1883 {
1884 return $this->sourceUris;
1885 }
1886
1887 public function setWriteDisposition($writeDisposition)
1888 {
1889 $this->writeDisposition = $writeDisposition;
1890 }
1891
1892 public function getWriteDisposition()
1893 {
1894 return $this->writeDisposition;
1895 }
1896 }
1897
1898 class Analytify_Google_Service_Bigquery_JobConfigurationQuery extends Analytify_Google_Model
1899 {
1900 public $allowLargeResults;
1901 public $createDisposition;
1902 protected $defaultDatasetType = 'Analytify_Google_Service_Bigquery_DatasetReference';
1903 protected $defaultDatasetDataType = '';
1904 protected $destinationTableType = 'Analytify_Google_Service_Bigquery_TableReference';
1905 protected $destinationTableDataType = '';
1906 public $flattenResults;
1907 public $preserveNulls;
1908 public $priority;
1909 public $query;
1910 public $useQueryCache;
1911 public $writeDisposition;
1912
1913 public function setAllowLargeResults($allowLargeResults)
1914 {
1915 $this->allowLargeResults = $allowLargeResults;
1916 }
1917
1918 public function getAllowLargeResults()
1919 {
1920 return $this->allowLargeResults;
1921 }
1922
1923 public function setCreateDisposition($createDisposition)
1924 {
1925 $this->createDisposition = $createDisposition;
1926 }
1927
1928 public function getCreateDisposition()
1929 {
1930 return $this->createDisposition;
1931 }
1932
1933 public function setDefaultDataset(Analytify_Google_Service_Bigquery_DatasetReference $defaultDataset)
1934 {
1935 $this->defaultDataset = $defaultDataset;
1936 }
1937
1938 public function getDefaultDataset()
1939 {
1940 return $this->defaultDataset;
1941 }
1942
1943 public function setDestinationTable(Analytify_Google_Service_Bigquery_TableReference $destinationTable)
1944 {
1945 $this->destinationTable = $destinationTable;
1946 }
1947
1948 public function getDestinationTable()
1949 {
1950 return $this->destinationTable;
1951 }
1952
1953 public function setFlattenResults($flattenResults)
1954 {
1955 $this->flattenResults = $flattenResults;
1956 }
1957
1958 public function getFlattenResults()
1959 {
1960 return $this->flattenResults;
1961 }
1962
1963 public function setPreserveNulls($preserveNulls)
1964 {
1965 $this->preserveNulls = $preserveNulls;
1966 }
1967
1968 public function getPreserveNulls()
1969 {
1970 return $this->preserveNulls;
1971 }
1972
1973 public function setPriority($priority)
1974 {
1975 $this->priority = $priority;
1976 }
1977
1978 public function getPriority()
1979 {
1980 return $this->priority;
1981 }
1982
1983 public function setQuery($query)
1984 {
1985 $this->query = $query;
1986 }
1987
1988 public function getQuery()
1989 {
1990 return $this->query;
1991 }
1992
1993 public function setUseQueryCache($useQueryCache)
1994 {
1995 $this->useQueryCache = $useQueryCache;
1996 }
1997
1998 public function getUseQueryCache()
1999 {
2000 return $this->useQueryCache;
2001 }
2002
2003 public function setWriteDisposition($writeDisposition)
2004 {
2005 $this->writeDisposition = $writeDisposition;
2006 }
2007
2008 public function getWriteDisposition()
2009 {
2010 return $this->writeDisposition;
2011 }
2012 }
2013
2014 class Analytify_Google_Service_Bigquery_JobConfigurationTableCopy extends Analytify_Google_Collection
2015 {
2016 public $createDisposition;
2017 protected $destinationTableType = 'Analytify_Google_Service_Bigquery_TableReference';
2018 protected $destinationTableDataType = '';
2019 protected $sourceTableType = 'Analytify_Google_Service_Bigquery_TableReference';
2020 protected $sourceTableDataType = '';
2021 protected $sourceTablesType = 'Analytify_Google_Service_Bigquery_TableReference';
2022 protected $sourceTablesDataType = 'array';
2023 public $writeDisposition;
2024
2025 public function setCreateDisposition($createDisposition)
2026 {
2027 $this->createDisposition = $createDisposition;
2028 }
2029
2030 public function getCreateDisposition()
2031 {
2032 return $this->createDisposition;
2033 }
2034
2035 public function setDestinationTable(Analytify_Google_Service_Bigquery_TableReference $destinationTable)
2036 {
2037 $this->destinationTable = $destinationTable;
2038 }
2039
2040 public function getDestinationTable()
2041 {
2042 return $this->destinationTable;
2043 }
2044
2045 public function setSourceTable(Analytify_Google_Service_Bigquery_TableReference $sourceTable)
2046 {
2047 $this->sourceTable = $sourceTable;
2048 }
2049
2050 public function getSourceTable()
2051 {
2052 return $this->sourceTable;
2053 }
2054
2055 public function setSourceTables($sourceTables)
2056 {
2057 $this->sourceTables = $sourceTables;
2058 }
2059
2060 public function getSourceTables()
2061 {
2062 return $this->sourceTables;
2063 }
2064
2065 public function setWriteDisposition($writeDisposition)
2066 {
2067 $this->writeDisposition = $writeDisposition;
2068 }
2069
2070 public function getWriteDisposition()
2071 {
2072 return $this->writeDisposition;
2073 }
2074 }
2075
2076 class Analytify_Google_Service_Bigquery_JobList extends Analytify_Google_Collection
2077 {
2078 public $etag;
2079 protected $jobsType = 'Analytify_Google_Service_Bigquery_JobListJobs';
2080 protected $jobsDataType = 'array';
2081 public $kind;
2082 public $nextPageToken;
2083 public $totalItems;
2084
2085 public function setEtag($etag)
2086 {
2087 $this->etag = $etag;
2088 }
2089
2090 public function getEtag()
2091 {
2092 return $this->etag;
2093 }
2094
2095 public function setJobs($jobs)
2096 {
2097 $this->jobs = $jobs;
2098 }
2099
2100 public function getJobs()
2101 {
2102 return $this->jobs;
2103 }
2104
2105 public function setKind($kind)
2106 {
2107 $this->kind = $kind;
2108 }
2109
2110 public function getKind()
2111 {
2112 return $this->kind;
2113 }
2114
2115 public function setNextPageToken($nextPageToken)
2116 {
2117 $this->nextPageToken = $nextPageToken;
2118 }
2119
2120 public function getNextPageToken()
2121 {
2122 return $this->nextPageToken;
2123 }
2124
2125 public function setTotalItems($totalItems)
2126 {
2127 $this->totalItems = $totalItems;
2128 }
2129
2130 public function getTotalItems()
2131 {
2132 return $this->totalItems;
2133 }
2134 }
2135
2136 class Analytify_Google_Service_Bigquery_JobListJobs extends Analytify_Google_Model
2137 {
2138 protected $configurationType = 'Analytify_Google_Service_Bigquery_JobConfiguration';
2139 protected $configurationDataType = '';
2140 protected $errorResultType = 'Analytify_Google_Service_Bigquery_ErrorProto';
2141 protected $errorResultDataType = '';
2142 public $id;
2143 protected $jobReferenceType = 'Analytify_Google_Service_Bigquery_JobReference';
2144 protected $jobReferenceDataType = '';
2145 public $kind;
2146 public $state;
2147 protected $statisticsType = 'Analytify_Google_Service_Bigquery_JobStatistics';
2148 protected $statisticsDataType = '';
2149 protected $statusType = 'Analytify_Google_Service_Bigquery_JobStatus';
2150 protected $statusDataType = '';
2151 public $userEmail;
2152
2153 public function setConfiguration(Analytify_Google_Service_Bigquery_JobConfiguration $configuration)
2154 {
2155 $this->configuration = $configuration;
2156 }
2157
2158 public function getConfiguration()
2159 {
2160 return $this->configuration;
2161 }
2162
2163 public function setErrorResult(Analytify_Google_Service_Bigquery_ErrorProto $errorResult)
2164 {
2165 $this->errorResult = $errorResult;
2166 }
2167
2168 public function getErrorResult()
2169 {
2170 return $this->errorResult;
2171 }
2172
2173 public function setId($id)
2174 {
2175 $this->id = $id;
2176 }
2177
2178 public function getId()
2179 {
2180 return $this->id;
2181 }
2182
2183 public function setJobReference(Analytify_Google_Service_Bigquery_JobReference $jobReference)
2184 {
2185 $this->jobReference = $jobReference;
2186 }
2187
2188 public function getJobReference()
2189 {
2190 return $this->jobReference;
2191 }
2192
2193 public function setKind($kind)
2194 {
2195 $this->kind = $kind;
2196 }
2197
2198 public function getKind()
2199 {
2200 return $this->kind;
2201 }
2202
2203 public function setState($state)
2204 {
2205 $this->state = $state;
2206 }
2207
2208 public function getState()
2209 {
2210 return $this->state;
2211 }
2212
2213 public function setStatistics(Analytify_Google_Service_Bigquery_JobStatistics $statistics)
2214 {
2215 $this->statistics = $statistics;
2216 }
2217
2218 public function getStatistics()
2219 {
2220 return $this->statistics;
2221 }
2222
2223 public function setStatus(Analytify_Google_Service_Bigquery_JobStatus $status)
2224 {
2225 $this->status = $status;
2226 }
2227
2228 public function getStatus()
2229 {
2230 return $this->status;
2231 }
2232
2233 public function setUserEmail($userEmail)
2234 {
2235 $this->userEmail = $userEmail;
2236 }
2237
2238 public function getUserEmail()
2239 {
2240 return $this->userEmail;
2241 }
2242 }
2243
2244 class Analytify_Google_Service_Bigquery_JobReference extends Analytify_Google_Model
2245 {
2246 public $jobId;
2247 public $projectId;
2248
2249 public function setJobId($jobId)
2250 {
2251 $this->jobId = $jobId;
2252 }
2253
2254 public function getJobId()
2255 {
2256 return $this->jobId;
2257 }
2258
2259 public function setProjectId($projectId)
2260 {
2261 $this->projectId = $projectId;
2262 }
2263
2264 public function getProjectId()
2265 {
2266 return $this->projectId;
2267 }
2268 }
2269
2270 class Analytify_Google_Service_Bigquery_JobStatistics extends Analytify_Google_Model
2271 {
2272 public $creationTime;
2273 public $endTime;
2274 protected $loadType = 'Analytify_Google_Service_Bigquery_JobStatistics3';
2275 protected $loadDataType = '';
2276 protected $queryType = 'Analytify_Google_Service_Bigquery_JobStatistics2';
2277 protected $queryDataType = '';
2278 public $startTime;
2279 public $totalBytesProcessed;
2280
2281 public function setCreationTime($creationTime)
2282 {
2283 $this->creationTime = $creationTime;
2284 }
2285
2286 public function getCreationTime()
2287 {
2288 return $this->creationTime;
2289 }
2290
2291 public function setEndTime($endTime)
2292 {
2293 $this->endTime = $endTime;
2294 }
2295
2296 public function getEndTime()
2297 {
2298 return $this->endTime;
2299 }
2300
2301 public function setLoad(Analytify_Google_Service_Bigquery_JobStatistics3 $load)
2302 {
2303 $this->load = $load;
2304 }
2305
2306 public function getLoad()
2307 {
2308 return $this->load;
2309 }
2310
2311 public function setQuery(Analytify_Google_Service_Bigquery_JobStatistics2 $query)
2312 {
2313 $this->query = $query;
2314 }
2315
2316 public function getQuery()
2317 {
2318 return $this->query;
2319 }
2320
2321 public function setStartTime($startTime)
2322 {
2323 $this->startTime = $startTime;
2324 }
2325
2326 public function getStartTime()
2327 {
2328 return $this->startTime;
2329 }
2330
2331 public function setTotalBytesProcessed($totalBytesProcessed)
2332 {
2333 $this->totalBytesProcessed = $totalBytesProcessed;
2334 }
2335
2336 public function getTotalBytesProcessed()
2337 {
2338 return $this->totalBytesProcessed;
2339 }
2340 }
2341
2342 class Analytify_Google_Service_Bigquery_JobStatistics2 extends Analytify_Google_Model
2343 {
2344 public $cacheHit;
2345 public $totalBytesProcessed;
2346
2347 public function setCacheHit($cacheHit)
2348 {
2349 $this->cacheHit = $cacheHit;
2350 }
2351
2352 public function getCacheHit()
2353 {
2354 return $this->cacheHit;
2355 }
2356
2357 public function setTotalBytesProcessed($totalBytesProcessed)
2358 {
2359 $this->totalBytesProcessed = $totalBytesProcessed;
2360 }
2361
2362 public function getTotalBytesProcessed()
2363 {
2364 return $this->totalBytesProcessed;
2365 }
2366 }
2367
2368 class Analytify_Google_Service_Bigquery_JobStatistics3 extends Analytify_Google_Model
2369 {
2370 public $inputFileBytes;
2371 public $inputFiles;
2372 public $outputBytes;
2373 public $outputRows;
2374
2375 public function setInputFileBytes($inputFileBytes)
2376 {
2377 $this->inputFileBytes = $inputFileBytes;
2378 }
2379
2380 public function getInputFileBytes()
2381 {
2382 return $this->inputFileBytes;
2383 }
2384
2385 public function setInputFiles($inputFiles)
2386 {
2387 $this->inputFiles = $inputFiles;
2388 }
2389
2390 public function getInputFiles()
2391 {
2392 return $this->inputFiles;
2393 }
2394
2395 public function setOutputBytes($outputBytes)
2396 {
2397 $this->outputBytes = $outputBytes;
2398 }
2399
2400 public function getOutputBytes()
2401 {
2402 return $this->outputBytes;
2403 }
2404
2405 public function setOutputRows($outputRows)
2406 {
2407 $this->outputRows = $outputRows;
2408 }
2409
2410 public function getOutputRows()
2411 {
2412 return $this->outputRows;
2413 }
2414 }
2415
2416 class Analytify_Google_Service_Bigquery_JobStatus extends Analytify_Google_Collection
2417 {
2418 protected $errorResultType = 'Analytify_Google_Service_Bigquery_ErrorProto';
2419 protected $errorResultDataType = '';
2420 protected $errorsType = 'Analytify_Google_Service_Bigquery_ErrorProto';
2421 protected $errorsDataType = 'array';
2422 public $state;
2423
2424 public function setErrorResult(Analytify_Google_Service_Bigquery_ErrorProto $errorResult)
2425 {
2426 $this->errorResult = $errorResult;
2427 }
2428
2429 public function getErrorResult()
2430 {
2431 return $this->errorResult;
2432 }
2433
2434 public function setErrors($errors)
2435 {
2436 $this->errors = $errors;
2437 }
2438
2439 public function getErrors()
2440 {
2441 return $this->errors;
2442 }
2443
2444 public function setState($state)
2445 {
2446 $this->state = $state;
2447 }
2448
2449 public function getState()
2450 {
2451 return $this->state;
2452 }
2453 }
2454
2455 class Analytify_Google_Service_Bigquery_JsonObject extends Analytify_Google_Model
2456 {
2457
2458 }
2459
2460 class Analytify_Google_Service_Bigquery_ProjectList extends Analytify_Google_Collection
2461 {
2462 public $etag;
2463 public $kind;
2464 public $nextPageToken;
2465 protected $projectsType = 'Analytify_Google_Service_Bigquery_ProjectListProjects';
2466 protected $projectsDataType = 'array';
2467 public $totalItems;
2468
2469 public function setEtag($etag)
2470 {
2471 $this->etag = $etag;
2472 }
2473
2474 public function getEtag()
2475 {
2476 return $this->etag;
2477 }
2478
2479 public function setKind($kind)
2480 {
2481 $this->kind = $kind;
2482 }
2483
2484 public function getKind()
2485 {
2486 return $this->kind;
2487 }
2488
2489 public function setNextPageToken($nextPageToken)
2490 {
2491 $this->nextPageToken = $nextPageToken;
2492 }
2493
2494 public function getNextPageToken()
2495 {
2496 return $this->nextPageToken;
2497 }
2498
2499 public function setProjects($projects)
2500 {
2501 $this->projects = $projects;
2502 }
2503
2504 public function getProjects()
2505 {
2506 return $this->projects;
2507 }
2508
2509 public function setTotalItems($totalItems)
2510 {
2511 $this->totalItems = $totalItems;
2512 }
2513
2514 public function getTotalItems()
2515 {
2516 return $this->totalItems;
2517 }
2518 }
2519
2520 class Analytify_Google_Service_Bigquery_ProjectListProjects extends Analytify_Google_Model
2521 {
2522 public $friendlyName;
2523 public $id;
2524 public $kind;
2525 public $numericId;
2526 protected $projectReferenceType = 'Analytify_Google_Service_Bigquery_ProjectReference';
2527 protected $projectReferenceDataType = '';
2528
2529 public function setFriendlyName($friendlyName)
2530 {
2531 $this->friendlyName = $friendlyName;
2532 }
2533
2534 public function getFriendlyName()
2535 {
2536 return $this->friendlyName;
2537 }
2538
2539 public function setId($id)
2540 {
2541 $this->id = $id;
2542 }
2543
2544 public function getId()
2545 {
2546 return $this->id;
2547 }
2548
2549 public function setKind($kind)
2550 {
2551 $this->kind = $kind;
2552 }
2553
2554 public function getKind()
2555 {
2556 return $this->kind;
2557 }
2558
2559 public function setNumericId($numericId)
2560 {
2561 $this->numericId = $numericId;
2562 }
2563
2564 public function getNumericId()
2565 {
2566 return $this->numericId;
2567 }
2568
2569 public function setProjectReference(Analytify_Google_Service_Bigquery_ProjectReference $projectReference)
2570 {
2571 $this->projectReference = $projectReference;
2572 }
2573
2574 public function getProjectReference()
2575 {
2576 return $this->projectReference;
2577 }
2578 }
2579
2580 class Analytify_Google_Service_Bigquery_ProjectReference extends Analytify_Google_Model
2581 {
2582 public $projectId;
2583
2584 public function setProjectId($projectId)
2585 {
2586 $this->projectId = $projectId;
2587 }
2588
2589 public function getProjectId()
2590 {
2591 return $this->projectId;
2592 }
2593 }
2594
2595 class Analytify_Google_Service_Bigquery_QueryRequest extends Analytify_Google_Model
2596 {
2597 protected $defaultDatasetType = 'Analytify_Google_Service_Bigquery_DatasetReference';
2598 protected $defaultDatasetDataType = '';
2599 public $dryRun;
2600 public $kind;
2601 public $maxResults;
2602 public $preserveNulls;
2603 public $query;
2604 public $timeoutMs;
2605 public $useQueryCache;
2606
2607 public function setDefaultDataset(Analytify_Google_Service_Bigquery_DatasetReference $defaultDataset)
2608 {
2609 $this->defaultDataset = $defaultDataset;
2610 }
2611
2612 public function getDefaultDataset()
2613 {
2614 return $this->defaultDataset;
2615 }
2616
2617 public function setDryRun($dryRun)
2618 {
2619 $this->dryRun = $dryRun;
2620 }
2621
2622 public function getDryRun()
2623 {
2624 return $this->dryRun;
2625 }
2626
2627 public function setKind($kind)
2628 {
2629 $this->kind = $kind;
2630 }
2631
2632 public function getKind()
2633 {
2634 return $this->kind;
2635 }
2636
2637 public function setMaxResults($maxResults)
2638 {
2639 $this->maxResults = $maxResults;
2640 }
2641
2642 public function getMaxResults()
2643 {
2644 return $this->maxResults;
2645 }
2646
2647 public function setPreserveNulls($preserveNulls)
2648 {
2649 $this->preserveNulls = $preserveNulls;
2650 }
2651
2652 public function getPreserveNulls()
2653 {
2654 return $this->preserveNulls;
2655 }
2656
2657 public function setQuery($query)
2658 {
2659 $this->query = $query;
2660 }
2661
2662 public function getQuery()
2663 {
2664 return $this->query;
2665 }
2666
2667 public function setTimeoutMs($timeoutMs)
2668 {
2669 $this->timeoutMs = $timeoutMs;
2670 }
2671
2672 public function getTimeoutMs()
2673 {
2674 return $this->timeoutMs;
2675 }
2676
2677 public function setUseQueryCache($useQueryCache)
2678 {
2679 $this->useQueryCache = $useQueryCache;
2680 }
2681
2682 public function getUseQueryCache()
2683 {
2684 return $this->useQueryCache;
2685 }
2686 }
2687
2688 class Analytify_Google_Service_Bigquery_QueryResponse extends Analytify_Google_Collection
2689 {
2690 public $cacheHit;
2691 public $jobComplete;
2692 protected $jobReferenceType = 'Analytify_Google_Service_Bigquery_JobReference';
2693 protected $jobReferenceDataType = '';
2694 public $kind;
2695 public $pageToken;
2696 protected $rowsType = 'Analytify_Google_Service_Bigquery_TableRow';
2697 protected $rowsDataType = 'array';
2698 protected $schemaType = 'Analytify_Google_Service_Bigquery_TableSchema';
2699 protected $schemaDataType = '';
2700 public $totalBytesProcessed;
2701 public $totalRows;
2702
2703 public function setCacheHit($cacheHit)
2704 {
2705 $this->cacheHit = $cacheHit;
2706 }
2707
2708 public function getCacheHit()
2709 {
2710 return $this->cacheHit;
2711 }
2712
2713 public function setJobComplete($jobComplete)
2714 {
2715 $this->jobComplete = $jobComplete;
2716 }
2717
2718 public function getJobComplete()
2719 {
2720 return $this->jobComplete;
2721 }
2722
2723 public function setJobReference(Analytify_Google_Service_Bigquery_JobReference $jobReference)
2724 {
2725 $this->jobReference = $jobReference;
2726 }
2727
2728 public function getJobReference()
2729 {
2730 return $this->jobReference;
2731 }
2732
2733 public function setKind($kind)
2734 {
2735 $this->kind = $kind;
2736 }
2737
2738 public function getKind()
2739 {
2740 return $this->kind;
2741 }
2742
2743 public function setPageToken($pageToken)
2744 {
2745 $this->pageToken = $pageToken;
2746 }
2747
2748 public function getPageToken()
2749 {
2750 return $this->pageToken;
2751 }
2752
2753 public function setRows($rows)
2754 {
2755 $this->rows = $rows;
2756 }
2757
2758 public function getRows()
2759 {
2760 return $this->rows;
2761 }
2762
2763 public function setSchema(Analytify_Google_Service_Bigquery_TableSchema $schema)
2764 {
2765 $this->schema = $schema;
2766 }
2767
2768 public function getSchema()
2769 {
2770 return $this->schema;
2771 }
2772
2773 public function setTotalBytesProcessed($totalBytesProcessed)
2774 {
2775 $this->totalBytesProcessed = $totalBytesProcessed;
2776 }
2777
2778 public function getTotalBytesProcessed()
2779 {
2780 return $this->totalBytesProcessed;
2781 }
2782
2783 public function setTotalRows($totalRows)
2784 {
2785 $this->totalRows = $totalRows;
2786 }
2787
2788 public function getTotalRows()
2789 {
2790 return $this->totalRows;
2791 }
2792 }
2793
2794 class Analytify_Google_Service_Bigquery_Table extends Analytify_Google_Model
2795 {
2796 public $creationTime;
2797 public $description;
2798 public $etag;
2799 public $expirationTime;
2800 public $friendlyName;
2801 public $id;
2802 public $kind;
2803 public $lastModifiedTime;
2804 public $numBytes;
2805 public $numRows;
2806 protected $schemaType = 'Analytify_Google_Service_Bigquery_TableSchema';
2807 protected $schemaDataType = '';
2808 public $selfLink;
2809 protected $tableReferenceType = 'Analytify_Google_Service_Bigquery_TableReference';
2810 protected $tableReferenceDataType = '';
2811 public $type;
2812 protected $viewType = 'Analytify_Google_Service_Bigquery_ViewDefinition';
2813 protected $viewDataType = '';
2814
2815 public function setCreationTime($creationTime)
2816 {
2817 $this->creationTime = $creationTime;
2818 }
2819
2820 public function getCreationTime()
2821 {
2822 return $this->creationTime;
2823 }
2824
2825 public function setDescription($description)
2826 {
2827 $this->description = $description;
2828 }
2829
2830 public function getDescription()
2831 {
2832 return $this->description;
2833 }
2834
2835 public function setEtag($etag)
2836 {
2837 $this->etag = $etag;
2838 }
2839
2840 public function getEtag()
2841 {
2842 return $this->etag;
2843 }
2844
2845 public function setExpirationTime($expirationTime)
2846 {
2847 $this->expirationTime = $expirationTime;
2848 }
2849
2850 public function getExpirationTime()
2851 {
2852 return $this->expirationTime;
2853 }
2854
2855 public function setFriendlyName($friendlyName)
2856 {
2857 $this->friendlyName = $friendlyName;
2858 }
2859
2860 public function getFriendlyName()
2861 {
2862 return $this->friendlyName;
2863 }
2864
2865 public function setId($id)
2866 {
2867 $this->id = $id;
2868 }
2869
2870 public function getId()
2871 {
2872 return $this->id;
2873 }
2874
2875 public function setKind($kind)
2876 {
2877 $this->kind = $kind;
2878 }
2879
2880 public function getKind()
2881 {
2882 return $this->kind;
2883 }
2884
2885 public function setLastModifiedTime($lastModifiedTime)
2886 {
2887 $this->lastModifiedTime = $lastModifiedTime;
2888 }
2889
2890 public function getLastModifiedTime()
2891 {
2892 return $this->lastModifiedTime;
2893 }
2894
2895 public function setNumBytes($numBytes)
2896 {
2897 $this->numBytes = $numBytes;
2898 }
2899
2900 public function getNumBytes()
2901 {
2902 return $this->numBytes;
2903 }
2904
2905 public function setNumRows($numRows)
2906 {
2907 $this->numRows = $numRows;
2908 }
2909
2910 public function getNumRows()
2911 {
2912 return $this->numRows;
2913 }
2914
2915 public function setSchema(Analytify_Google_Service_Bigquery_TableSchema $schema)
2916 {
2917 $this->schema = $schema;
2918 }
2919
2920 public function getSchema()
2921 {
2922 return $this->schema;
2923 }
2924
2925 public function setSelfLink($selfLink)
2926 {
2927 $this->selfLink = $selfLink;
2928 }
2929
2930 public function getSelfLink()
2931 {
2932 return $this->selfLink;
2933 }
2934
2935 public function setTableReference(Analytify_Google_Service_Bigquery_TableReference $tableReference)
2936 {
2937 $this->tableReference = $tableReference;
2938 }
2939
2940 public function getTableReference()
2941 {
2942 return $this->tableReference;
2943 }
2944
2945 public function setType($type)
2946 {
2947 $this->type = $type;
2948 }
2949
2950 public function getType()
2951 {
2952 return $this->type;
2953 }
2954
2955 public function setView(Analytify_Google_Service_Bigquery_ViewDefinition $view)
2956 {
2957 $this->view = $view;
2958 }
2959
2960 public function getView()
2961 {
2962 return $this->view;
2963 }
2964 }
2965
2966 class Analytify_Google_Service_Bigquery_TableCell extends Analytify_Google_Model
2967 {
2968 public $v;
2969
2970 public function setV($v)
2971 {
2972 $this->v = $v;
2973 }
2974
2975 public function getV()
2976 {
2977 return $this->v;
2978 }
2979 }
2980
2981 class Analytify_Google_Service_Bigquery_TableDataInsertAllRequest extends Analytify_Google_Collection
2982 {
2983 public $kind;
2984 protected $rowsType = 'Analytify_Google_Service_Bigquery_TableDataInsertAllRequestRows';
2985 protected $rowsDataType = 'array';
2986
2987 public function setKind($kind)
2988 {
2989 $this->kind = $kind;
2990 }
2991
2992 public function getKind()
2993 {
2994 return $this->kind;
2995 }
2996
2997 public function setRows($rows)
2998 {
2999 $this->rows = $rows;
3000 }
3001
3002 public function getRows()
3003 {
3004 return $this->rows;
3005 }
3006 }
3007
3008 class Analytify_Google_Service_Bigquery_TableDataInsertAllRequestRows extends Analytify_Google_Model
3009 {
3010 public $insertId;
3011 public $json;
3012
3013 public function setInsertId($insertId)
3014 {
3015 $this->insertId = $insertId;
3016 }
3017
3018 public function getInsertId()
3019 {
3020 return $this->insertId;
3021 }
3022
3023 public function setJson($json)
3024 {
3025 $this->json = $json;
3026 }
3027
3028 public function getJson()
3029 {
3030 return $this->json;
3031 }
3032 }
3033
3034 class Analytify_Google_Service_Bigquery_TableDataInsertAllResponse extends Analytify_Google_Collection
3035 {
3036 protected $insertErrorsType = 'Analytify_Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors';
3037 protected $insertErrorsDataType = 'array';
3038 public $kind;
3039
3040 public function setInsertErrors($insertErrors)
3041 {
3042 $this->insertErrors = $insertErrors;
3043 }
3044
3045 public function getInsertErrors()
3046 {
3047 return $this->insertErrors;
3048 }
3049
3050 public function setKind($kind)
3051 {
3052 $this->kind = $kind;
3053 }
3054
3055 public function getKind()
3056 {
3057 return $this->kind;
3058 }
3059 }
3060
3061 class Analytify_Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors extends Analytify_Google_Collection
3062 {
3063 protected $errorsType = 'Analytify_Google_Service_Bigquery_ErrorProto';
3064 protected $errorsDataType = 'array';
3065 public $index;
3066
3067 public function setErrors($errors)
3068 {
3069 $this->errors = $errors;
3070 }
3071
3072 public function getErrors()
3073 {
3074 return $this->errors;
3075 }
3076
3077 public function setIndex($index)
3078 {
3079 $this->index = $index;
3080 }
3081
3082 public function getIndex()
3083 {
3084 return $this->index;
3085 }
3086 }
3087
3088 class Analytify_Google_Service_Bigquery_TableDataList extends Analytify_Google_Collection
3089 {
3090 public $etag;
3091 public $kind;
3092 public $pageToken;
3093 protected $rowsType = 'Analytify_Google_Service_Bigquery_TableRow';
3094 protected $rowsDataType = 'array';
3095 public $totalRows;
3096
3097 public function setEtag($etag)
3098 {
3099 $this->etag = $etag;
3100 }
3101
3102 public function getEtag()
3103 {
3104 return $this->etag;
3105 }
3106
3107 public function setKind($kind)
3108 {
3109 $this->kind = $kind;
3110 }
3111
3112 public function getKind()
3113 {
3114 return $this->kind;
3115 }
3116
3117 public function setPageToken($pageToken)
3118 {
3119 $this->pageToken = $pageToken;
3120 }
3121
3122 public function getPageToken()
3123 {
3124 return $this->pageToken;
3125 }
3126
3127 public function setRows($rows)
3128 {
3129 $this->rows = $rows;
3130 }
3131
3132 public function getRows()
3133 {
3134 return $this->rows;
3135 }
3136
3137 public function setTotalRows($totalRows)
3138 {
3139 $this->totalRows = $totalRows;
3140 }
3141
3142 public function getTotalRows()
3143 {
3144 return $this->totalRows;
3145 }
3146 }
3147
3148 class Analytify_Google_Service_Bigquery_TableFieldSchema extends Analytify_Google_Collection
3149 {
3150 public $description;
3151 protected $fieldsType = 'Analytify_Google_Service_Bigquery_TableFieldSchema';
3152 protected $fieldsDataType = 'array';
3153 public $mode;
3154 public $name;
3155 public $type;
3156
3157 public function setDescription($description)
3158 {
3159 $this->description = $description;
3160 }
3161
3162 public function getDescription()
3163 {
3164 return $this->description;
3165 }
3166
3167 public function setFields($fields)
3168 {
3169 $this->fields = $fields;
3170 }
3171
3172 public function getFields()
3173 {
3174 return $this->fields;
3175 }
3176
3177 public function setMode($mode)
3178 {
3179 $this->mode = $mode;
3180 }
3181
3182 public function getMode()
3183 {
3184 return $this->mode;
3185 }
3186
3187 public function setName($name)
3188 {
3189 $this->name = $name;
3190 }
3191
3192 public function getName()
3193 {
3194 return $this->name;
3195 }
3196
3197 public function setType($type)
3198 {
3199 $this->type = $type;
3200 }
3201
3202 public function getType()
3203 {
3204 return $this->type;
3205 }
3206 }
3207
3208 class Analytify_Google_Service_Bigquery_TableList extends Analytify_Google_Collection
3209 {
3210 public $etag;
3211 public $kind;
3212 public $nextPageToken;
3213 protected $tablesType = 'Analytify_Google_Service_Bigquery_TableListTables';
3214 protected $tablesDataType = 'array';
3215 public $totalItems;
3216
3217 public function setEtag($etag)
3218 {
3219 $this->etag = $etag;
3220 }
3221
3222 public function getEtag()
3223 {
3224 return $this->etag;
3225 }
3226
3227 public function setKind($kind)
3228 {
3229 $this->kind = $kind;
3230 }
3231
3232 public function getKind()
3233 {
3234 return $this->kind;
3235 }
3236
3237 public function setNextPageToken($nextPageToken)
3238 {
3239 $this->nextPageToken = $nextPageToken;
3240 }
3241
3242 public function getNextPageToken()
3243 {
3244 return $this->nextPageToken;
3245 }
3246
3247 public function setTables($tables)
3248 {
3249 $this->tables = $tables;
3250 }
3251
3252 public function getTables()
3253 {
3254 return $this->tables;
3255 }
3256
3257 public function setTotalItems($totalItems)
3258 {
3259 $this->totalItems = $totalItems;
3260 }
3261
3262 public function getTotalItems()
3263 {
3264 return $this->totalItems;
3265 }
3266 }
3267
3268 class Analytify_Google_Service_Bigquery_TableListTables extends Analytify_Google_Model
3269 {
3270 public $friendlyName;
3271 public $id;
3272 public $kind;
3273 protected $tableReferenceType = 'Analytify_Google_Service_Bigquery_TableReference';
3274 protected $tableReferenceDataType = '';
3275 public $type;
3276
3277 public function setFriendlyName($friendlyName)
3278 {
3279 $this->friendlyName = $friendlyName;
3280 }
3281
3282 public function getFriendlyName()
3283 {
3284 return $this->friendlyName;
3285 }
3286
3287 public function setId($id)
3288 {
3289 $this->id = $id;
3290 }
3291
3292 public function getId()
3293 {
3294 return $this->id;
3295 }
3296
3297 public function setKind($kind)
3298 {
3299 $this->kind = $kind;
3300 }
3301
3302 public function getKind()
3303 {
3304 return $this->kind;
3305 }
3306
3307 public function setTableReference(Analytify_Google_Service_Bigquery_TableReference $tableReference)
3308 {
3309 $this->tableReference = $tableReference;
3310 }
3311
3312 public function getTableReference()
3313 {
3314 return $this->tableReference;
3315 }
3316
3317 public function setType($type)
3318 {
3319 $this->type = $type;
3320 }
3321
3322 public function getType()
3323 {
3324 return $this->type;
3325 }
3326 }
3327
3328 class Analytify_Google_Service_Bigquery_TableReference extends Analytify_Google_Model
3329 {
3330 public $datasetId;
3331 public $projectId;
3332 public $tableId;
3333
3334 public function setDatasetId($datasetId)
3335 {
3336 $this->datasetId = $datasetId;
3337 }
3338
3339 public function getDatasetId()
3340 {
3341 return $this->datasetId;
3342 }
3343
3344 public function setProjectId($projectId)
3345 {
3346 $this->projectId = $projectId;
3347 }
3348
3349 public function getProjectId()
3350 {
3351 return $this->projectId;
3352 }
3353
3354 public function setTableId($tableId)
3355 {
3356 $this->tableId = $tableId;
3357 }
3358
3359 public function getTableId()
3360 {
3361 return $this->tableId;
3362 }
3363 }
3364
3365 class Analytify_Google_Service_Bigquery_TableRow extends Analytify_Google_Collection
3366 {
3367 protected $fType = 'Analytify_Google_Service_Bigquery_TableCell';
3368 protected $fDataType = 'array';
3369
3370 public function setF($f)
3371 {
3372 $this->f = $f;
3373 }
3374
3375 public function getF()
3376 {
3377 return $this->f;
3378 }
3379 }
3380
3381 class Analytify_Google_Service_Bigquery_TableSchema extends Analytify_Google_Collection
3382 {
3383 protected $fieldsType = 'Analytify_Google_Service_Bigquery_TableFieldSchema';
3384 protected $fieldsDataType = 'array';
3385
3386 public function setFields($fields)
3387 {
3388 $this->fields = $fields;
3389 }
3390
3391 public function getFields()
3392 {
3393 return $this->fields;
3394 }
3395 }
3396
3397 class Analytify_Google_Service_Bigquery_ViewDefinition extends Analytify_Google_Model
3398 {
3399 public $query;
3400
3401 public function setQuery($query)
3402 {
3403 $this->query = $query;
3404 }
3405
3406 public function getQuery()
3407 {
3408 return $this->query;
3409 }
3410 }
3411