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