1<?php
2/*
3 * Copyright 2014 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
18namespace Google\Service\Bigquery;
19
20class JobConfigurationQuery extends \Google\Collection
21{
22  protected $collection_key = 'userDefinedFunctionResources';
23  /**
24   * @var bool
25   */
26  public $allowLargeResults;
27  protected $clusteringType = Clustering::class;
28  protected $clusteringDataType = '';
29  protected $connectionPropertiesType = ConnectionProperty::class;
30  protected $connectionPropertiesDataType = 'array';
31  /**
32   * @var string
33   */
34  public $createDisposition;
35  /**
36   * @var bool
37   */
38  public $createSession;
39  protected $defaultDatasetType = DatasetReference::class;
40  protected $defaultDatasetDataType = '';
41  protected $destinationEncryptionConfigurationType = EncryptionConfiguration::class;
42  protected $destinationEncryptionConfigurationDataType = '';
43  protected $destinationTableType = TableReference::class;
44  protected $destinationTableDataType = '';
45  /**
46   * @var bool
47   */
48  public $flattenResults;
49  /**
50   * @var int
51   */
52  public $maximumBillingTier;
53  /**
54   * @var string
55   */
56  public $maximumBytesBilled;
57  /**
58   * @var string
59   */
60  public $parameterMode;
61  /**
62   * @var bool
63   */
64  public $preserveNulls;
65  /**
66   * @var string
67   */
68  public $priority;
69  /**
70   * @var string
71   */
72  public $query;
73  protected $queryParametersType = QueryParameter::class;
74  protected $queryParametersDataType = 'array';
75  protected $rangePartitioningType = RangePartitioning::class;
76  protected $rangePartitioningDataType = '';
77  /**
78   * @var string[]
79   */
80  public $schemaUpdateOptions;
81  protected $tableDefinitionsType = ExternalDataConfiguration::class;
82  protected $tableDefinitionsDataType = 'map';
83  protected $timePartitioningType = TimePartitioning::class;
84  protected $timePartitioningDataType = '';
85  /**
86   * @var bool
87   */
88  public $useLegacySql;
89  /**
90   * @var bool
91   */
92  public $useQueryCache;
93  protected $userDefinedFunctionResourcesType = UserDefinedFunctionResource::class;
94  protected $userDefinedFunctionResourcesDataType = 'array';
95  /**
96   * @var string
97   */
98  public $writeDisposition;
99
100  /**
101   * @param bool
102   */
103  public function setAllowLargeResults($allowLargeResults)
104  {
105    $this->allowLargeResults = $allowLargeResults;
106  }
107  /**
108   * @return bool
109   */
110  public function getAllowLargeResults()
111  {
112    return $this->allowLargeResults;
113  }
114  /**
115   * @param Clustering
116   */
117  public function setClustering(Clustering $clustering)
118  {
119    $this->clustering = $clustering;
120  }
121  /**
122   * @return Clustering
123   */
124  public function getClustering()
125  {
126    return $this->clustering;
127  }
128  /**
129   * @param ConnectionProperty[]
130   */
131  public function setConnectionProperties($connectionProperties)
132  {
133    $this->connectionProperties = $connectionProperties;
134  }
135  /**
136   * @return ConnectionProperty[]
137   */
138  public function getConnectionProperties()
139  {
140    return $this->connectionProperties;
141  }
142  /**
143   * @param string
144   */
145  public function setCreateDisposition($createDisposition)
146  {
147    $this->createDisposition = $createDisposition;
148  }
149  /**
150   * @return string
151   */
152  public function getCreateDisposition()
153  {
154    return $this->createDisposition;
155  }
156  /**
157   * @param bool
158   */
159  public function setCreateSession($createSession)
160  {
161    $this->createSession = $createSession;
162  }
163  /**
164   * @return bool
165   */
166  public function getCreateSession()
167  {
168    return $this->createSession;
169  }
170  /**
171   * @param DatasetReference
172   */
173  public function setDefaultDataset(DatasetReference $defaultDataset)
174  {
175    $this->defaultDataset = $defaultDataset;
176  }
177  /**
178   * @return DatasetReference
179   */
180  public function getDefaultDataset()
181  {
182    return $this->defaultDataset;
183  }
184  /**
185   * @param EncryptionConfiguration
186   */
187  public function setDestinationEncryptionConfiguration(EncryptionConfiguration $destinationEncryptionConfiguration)
188  {
189    $this->destinationEncryptionConfiguration = $destinationEncryptionConfiguration;
190  }
191  /**
192   * @return EncryptionConfiguration
193   */
194  public function getDestinationEncryptionConfiguration()
195  {
196    return $this->destinationEncryptionConfiguration;
197  }
198  /**
199   * @param TableReference
200   */
201  public function setDestinationTable(TableReference $destinationTable)
202  {
203    $this->destinationTable = $destinationTable;
204  }
205  /**
206   * @return TableReference
207   */
208  public function getDestinationTable()
209  {
210    return $this->destinationTable;
211  }
212  /**
213   * @param bool
214   */
215  public function setFlattenResults($flattenResults)
216  {
217    $this->flattenResults = $flattenResults;
218  }
219  /**
220   * @return bool
221   */
222  public function getFlattenResults()
223  {
224    return $this->flattenResults;
225  }
226  /**
227   * @param int
228   */
229  public function setMaximumBillingTier($maximumBillingTier)
230  {
231    $this->maximumBillingTier = $maximumBillingTier;
232  }
233  /**
234   * @return int
235   */
236  public function getMaximumBillingTier()
237  {
238    return $this->maximumBillingTier;
239  }
240  /**
241   * @param string
242   */
243  public function setMaximumBytesBilled($maximumBytesBilled)
244  {
245    $this->maximumBytesBilled = $maximumBytesBilled;
246  }
247  /**
248   * @return string
249   */
250  public function getMaximumBytesBilled()
251  {
252    return $this->maximumBytesBilled;
253  }
254  /**
255   * @param string
256   */
257  public function setParameterMode($parameterMode)
258  {
259    $this->parameterMode = $parameterMode;
260  }
261  /**
262   * @return string
263   */
264  public function getParameterMode()
265  {
266    return $this->parameterMode;
267  }
268  /**
269   * @param bool
270   */
271  public function setPreserveNulls($preserveNulls)
272  {
273    $this->preserveNulls = $preserveNulls;
274  }
275  /**
276   * @return bool
277   */
278  public function getPreserveNulls()
279  {
280    return $this->preserveNulls;
281  }
282  /**
283   * @param string
284   */
285  public function setPriority($priority)
286  {
287    $this->priority = $priority;
288  }
289  /**
290   * @return string
291   */
292  public function getPriority()
293  {
294    return $this->priority;
295  }
296  /**
297   * @param string
298   */
299  public function setQuery($query)
300  {
301    $this->query = $query;
302  }
303  /**
304   * @return string
305   */
306  public function getQuery()
307  {
308    return $this->query;
309  }
310  /**
311   * @param QueryParameter[]
312   */
313  public function setQueryParameters($queryParameters)
314  {
315    $this->queryParameters = $queryParameters;
316  }
317  /**
318   * @return QueryParameter[]
319   */
320  public function getQueryParameters()
321  {
322    return $this->queryParameters;
323  }
324  /**
325   * @param RangePartitioning
326   */
327  public function setRangePartitioning(RangePartitioning $rangePartitioning)
328  {
329    $this->rangePartitioning = $rangePartitioning;
330  }
331  /**
332   * @return RangePartitioning
333   */
334  public function getRangePartitioning()
335  {
336    return $this->rangePartitioning;
337  }
338  /**
339   * @param string[]
340   */
341  public function setSchemaUpdateOptions($schemaUpdateOptions)
342  {
343    $this->schemaUpdateOptions = $schemaUpdateOptions;
344  }
345  /**
346   * @return string[]
347   */
348  public function getSchemaUpdateOptions()
349  {
350    return $this->schemaUpdateOptions;
351  }
352  /**
353   * @param ExternalDataConfiguration[]
354   */
355  public function setTableDefinitions($tableDefinitions)
356  {
357    $this->tableDefinitions = $tableDefinitions;
358  }
359  /**
360   * @return ExternalDataConfiguration[]
361   */
362  public function getTableDefinitions()
363  {
364    return $this->tableDefinitions;
365  }
366  /**
367   * @param TimePartitioning
368   */
369  public function setTimePartitioning(TimePartitioning $timePartitioning)
370  {
371    $this->timePartitioning = $timePartitioning;
372  }
373  /**
374   * @return TimePartitioning
375   */
376  public function getTimePartitioning()
377  {
378    return $this->timePartitioning;
379  }
380  /**
381   * @param bool
382   */
383  public function setUseLegacySql($useLegacySql)
384  {
385    $this->useLegacySql = $useLegacySql;
386  }
387  /**
388   * @return bool
389   */
390  public function getUseLegacySql()
391  {
392    return $this->useLegacySql;
393  }
394  /**
395   * @param bool
396   */
397  public function setUseQueryCache($useQueryCache)
398  {
399    $this->useQueryCache = $useQueryCache;
400  }
401  /**
402   * @return bool
403   */
404  public function getUseQueryCache()
405  {
406    return $this->useQueryCache;
407  }
408  /**
409   * @param UserDefinedFunctionResource[]
410   */
411  public function setUserDefinedFunctionResources($userDefinedFunctionResources)
412  {
413    $this->userDefinedFunctionResources = $userDefinedFunctionResources;
414  }
415  /**
416   * @return UserDefinedFunctionResource[]
417   */
418  public function getUserDefinedFunctionResources()
419  {
420    return $this->userDefinedFunctionResources;
421  }
422  /**
423   * @param string
424   */
425  public function setWriteDisposition($writeDisposition)
426  {
427    $this->writeDisposition = $writeDisposition;
428  }
429  /**
430   * @return string
431   */
432  public function getWriteDisposition()
433  {
434    return $this->writeDisposition;
435  }
436}
437
438// Adding a class alias for backwards compatibility with the previous class name.
439class_alias(JobConfigurationQuery::class, 'Google_Service_Bigquery_JobConfigurationQuery');
440