[f9c482b] | 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 Dataset extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'tags';
|
---|
| 23 | protected $accessType = DatasetAccess::class;
|
---|
| 24 | protected $accessDataType = 'array';
|
---|
| 25 | /**
|
---|
| 26 | * @var string
|
---|
| 27 | */
|
---|
| 28 | public $creationTime;
|
---|
| 29 | protected $datasetReferenceType = DatasetReference::class;
|
---|
| 30 | protected $datasetReferenceDataType = '';
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $defaultCollation;
|
---|
| 35 | protected $defaultEncryptionConfigurationType = EncryptionConfiguration::class;
|
---|
| 36 | protected $defaultEncryptionConfigurationDataType = '';
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $defaultPartitionExpirationMs;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $defaultRoundingMode;
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $defaultTableExpirationMs;
|
---|
| 49 | /**
|
---|
| 50 | * @var string
|
---|
| 51 | */
|
---|
| 52 | public $description;
|
---|
| 53 | /**
|
---|
| 54 | * @var string
|
---|
| 55 | */
|
---|
| 56 | public $etag;
|
---|
| 57 | protected $externalCatalogDatasetOptionsType = ExternalCatalogDatasetOptions::class;
|
---|
| 58 | protected $externalCatalogDatasetOptionsDataType = '';
|
---|
| 59 | protected $externalDatasetReferenceType = ExternalDatasetReference::class;
|
---|
| 60 | protected $externalDatasetReferenceDataType = '';
|
---|
| 61 | /**
|
---|
| 62 | * @var string
|
---|
| 63 | */
|
---|
| 64 | public $friendlyName;
|
---|
| 65 | /**
|
---|
| 66 | * @var string
|
---|
| 67 | */
|
---|
| 68 | public $id;
|
---|
| 69 | /**
|
---|
| 70 | * @var bool
|
---|
| 71 | */
|
---|
| 72 | public $isCaseInsensitive;
|
---|
| 73 | /**
|
---|
| 74 | * @var string
|
---|
| 75 | */
|
---|
| 76 | public $kind;
|
---|
| 77 | /**
|
---|
| 78 | * @var string[]
|
---|
| 79 | */
|
---|
| 80 | public $labels;
|
---|
| 81 | /**
|
---|
| 82 | * @var string
|
---|
| 83 | */
|
---|
| 84 | public $lastModifiedTime;
|
---|
| 85 | protected $linkedDatasetMetadataType = LinkedDatasetMetadata::class;
|
---|
| 86 | protected $linkedDatasetMetadataDataType = '';
|
---|
| 87 | protected $linkedDatasetSourceType = LinkedDatasetSource::class;
|
---|
| 88 | protected $linkedDatasetSourceDataType = '';
|
---|
| 89 | /**
|
---|
| 90 | * @var string
|
---|
| 91 | */
|
---|
| 92 | public $location;
|
---|
| 93 | /**
|
---|
| 94 | * @var string
|
---|
| 95 | */
|
---|
| 96 | public $maxTimeTravelHours;
|
---|
| 97 | /**
|
---|
| 98 | * @var string[]
|
---|
| 99 | */
|
---|
| 100 | public $resourceTags;
|
---|
| 101 | protected $restrictionsType = RestrictionConfig::class;
|
---|
| 102 | protected $restrictionsDataType = '';
|
---|
| 103 | /**
|
---|
| 104 | * @var bool
|
---|
| 105 | */
|
---|
| 106 | public $satisfiesPzi;
|
---|
| 107 | /**
|
---|
| 108 | * @var bool
|
---|
| 109 | */
|
---|
| 110 | public $satisfiesPzs;
|
---|
| 111 | /**
|
---|
| 112 | * @var string
|
---|
| 113 | */
|
---|
| 114 | public $selfLink;
|
---|
| 115 | /**
|
---|
| 116 | * @var string
|
---|
| 117 | */
|
---|
| 118 | public $storageBillingModel;
|
---|
| 119 | protected $tagsType = DatasetTags::class;
|
---|
| 120 | protected $tagsDataType = 'array';
|
---|
| 121 | /**
|
---|
| 122 | * @var string
|
---|
| 123 | */
|
---|
| 124 | public $type;
|
---|
| 125 |
|
---|
| 126 | /**
|
---|
| 127 | * @param DatasetAccess[]
|
---|
| 128 | */
|
---|
| 129 | public function setAccess($access)
|
---|
| 130 | {
|
---|
| 131 | $this->access = $access;
|
---|
| 132 | }
|
---|
| 133 | /**
|
---|
| 134 | * @return DatasetAccess[]
|
---|
| 135 | */
|
---|
| 136 | public function getAccess()
|
---|
| 137 | {
|
---|
| 138 | return $this->access;
|
---|
| 139 | }
|
---|
| 140 | /**
|
---|
| 141 | * @param string
|
---|
| 142 | */
|
---|
| 143 | public function setCreationTime($creationTime)
|
---|
| 144 | {
|
---|
| 145 | $this->creationTime = $creationTime;
|
---|
| 146 | }
|
---|
| 147 | /**
|
---|
| 148 | * @return string
|
---|
| 149 | */
|
---|
| 150 | public function getCreationTime()
|
---|
| 151 | {
|
---|
| 152 | return $this->creationTime;
|
---|
| 153 | }
|
---|
| 154 | /**
|
---|
| 155 | * @param DatasetReference
|
---|
| 156 | */
|
---|
| 157 | public function setDatasetReference(DatasetReference $datasetReference)
|
---|
| 158 | {
|
---|
| 159 | $this->datasetReference = $datasetReference;
|
---|
| 160 | }
|
---|
| 161 | /**
|
---|
| 162 | * @return DatasetReference
|
---|
| 163 | */
|
---|
| 164 | public function getDatasetReference()
|
---|
| 165 | {
|
---|
| 166 | return $this->datasetReference;
|
---|
| 167 | }
|
---|
| 168 | /**
|
---|
| 169 | * @param string
|
---|
| 170 | */
|
---|
| 171 | public function setDefaultCollation($defaultCollation)
|
---|
| 172 | {
|
---|
| 173 | $this->defaultCollation = $defaultCollation;
|
---|
| 174 | }
|
---|
| 175 | /**
|
---|
| 176 | * @return string
|
---|
| 177 | */
|
---|
| 178 | public function getDefaultCollation()
|
---|
| 179 | {
|
---|
| 180 | return $this->defaultCollation;
|
---|
| 181 | }
|
---|
| 182 | /**
|
---|
| 183 | * @param EncryptionConfiguration
|
---|
| 184 | */
|
---|
| 185 | public function setDefaultEncryptionConfiguration(EncryptionConfiguration $defaultEncryptionConfiguration)
|
---|
| 186 | {
|
---|
| 187 | $this->defaultEncryptionConfiguration = $defaultEncryptionConfiguration;
|
---|
| 188 | }
|
---|
| 189 | /**
|
---|
| 190 | * @return EncryptionConfiguration
|
---|
| 191 | */
|
---|
| 192 | public function getDefaultEncryptionConfiguration()
|
---|
| 193 | {
|
---|
| 194 | return $this->defaultEncryptionConfiguration;
|
---|
| 195 | }
|
---|
| 196 | /**
|
---|
| 197 | * @param string
|
---|
| 198 | */
|
---|
| 199 | public function setDefaultPartitionExpirationMs($defaultPartitionExpirationMs)
|
---|
| 200 | {
|
---|
| 201 | $this->defaultPartitionExpirationMs = $defaultPartitionExpirationMs;
|
---|
| 202 | }
|
---|
| 203 | /**
|
---|
| 204 | * @return string
|
---|
| 205 | */
|
---|
| 206 | public function getDefaultPartitionExpirationMs()
|
---|
| 207 | {
|
---|
| 208 | return $this->defaultPartitionExpirationMs;
|
---|
| 209 | }
|
---|
| 210 | /**
|
---|
| 211 | * @param string
|
---|
| 212 | */
|
---|
| 213 | public function setDefaultRoundingMode($defaultRoundingMode)
|
---|
| 214 | {
|
---|
| 215 | $this->defaultRoundingMode = $defaultRoundingMode;
|
---|
| 216 | }
|
---|
| 217 | /**
|
---|
| 218 | * @return string
|
---|
| 219 | */
|
---|
| 220 | public function getDefaultRoundingMode()
|
---|
| 221 | {
|
---|
| 222 | return $this->defaultRoundingMode;
|
---|
| 223 | }
|
---|
| 224 | /**
|
---|
| 225 | * @param string
|
---|
| 226 | */
|
---|
| 227 | public function setDefaultTableExpirationMs($defaultTableExpirationMs)
|
---|
| 228 | {
|
---|
| 229 | $this->defaultTableExpirationMs = $defaultTableExpirationMs;
|
---|
| 230 | }
|
---|
| 231 | /**
|
---|
| 232 | * @return string
|
---|
| 233 | */
|
---|
| 234 | public function getDefaultTableExpirationMs()
|
---|
| 235 | {
|
---|
| 236 | return $this->defaultTableExpirationMs;
|
---|
| 237 | }
|
---|
| 238 | /**
|
---|
| 239 | * @param string
|
---|
| 240 | */
|
---|
| 241 | public function setDescription($description)
|
---|
| 242 | {
|
---|
| 243 | $this->description = $description;
|
---|
| 244 | }
|
---|
| 245 | /**
|
---|
| 246 | * @return string
|
---|
| 247 | */
|
---|
| 248 | public function getDescription()
|
---|
| 249 | {
|
---|
| 250 | return $this->description;
|
---|
| 251 | }
|
---|
| 252 | /**
|
---|
| 253 | * @param string
|
---|
| 254 | */
|
---|
| 255 | public function setEtag($etag)
|
---|
| 256 | {
|
---|
| 257 | $this->etag = $etag;
|
---|
| 258 | }
|
---|
| 259 | /**
|
---|
| 260 | * @return string
|
---|
| 261 | */
|
---|
| 262 | public function getEtag()
|
---|
| 263 | {
|
---|
| 264 | return $this->etag;
|
---|
| 265 | }
|
---|
| 266 | /**
|
---|
| 267 | * @param ExternalCatalogDatasetOptions
|
---|
| 268 | */
|
---|
| 269 | public function setExternalCatalogDatasetOptions(ExternalCatalogDatasetOptions $externalCatalogDatasetOptions)
|
---|
| 270 | {
|
---|
| 271 | $this->externalCatalogDatasetOptions = $externalCatalogDatasetOptions;
|
---|
| 272 | }
|
---|
| 273 | /**
|
---|
| 274 | * @return ExternalCatalogDatasetOptions
|
---|
| 275 | */
|
---|
| 276 | public function getExternalCatalogDatasetOptions()
|
---|
| 277 | {
|
---|
| 278 | return $this->externalCatalogDatasetOptions;
|
---|
| 279 | }
|
---|
| 280 | /**
|
---|
| 281 | * @param ExternalDatasetReference
|
---|
| 282 | */
|
---|
| 283 | public function setExternalDatasetReference(ExternalDatasetReference $externalDatasetReference)
|
---|
| 284 | {
|
---|
| 285 | $this->externalDatasetReference = $externalDatasetReference;
|
---|
| 286 | }
|
---|
| 287 | /**
|
---|
| 288 | * @return ExternalDatasetReference
|
---|
| 289 | */
|
---|
| 290 | public function getExternalDatasetReference()
|
---|
| 291 | {
|
---|
| 292 | return $this->externalDatasetReference;
|
---|
| 293 | }
|
---|
| 294 | /**
|
---|
| 295 | * @param string
|
---|
| 296 | */
|
---|
| 297 | public function setFriendlyName($friendlyName)
|
---|
| 298 | {
|
---|
| 299 | $this->friendlyName = $friendlyName;
|
---|
| 300 | }
|
---|
| 301 | /**
|
---|
| 302 | * @return string
|
---|
| 303 | */
|
---|
| 304 | public function getFriendlyName()
|
---|
| 305 | {
|
---|
| 306 | return $this->friendlyName;
|
---|
| 307 | }
|
---|
| 308 | /**
|
---|
| 309 | * @param string
|
---|
| 310 | */
|
---|
| 311 | public function setId($id)
|
---|
| 312 | {
|
---|
| 313 | $this->id = $id;
|
---|
| 314 | }
|
---|
| 315 | /**
|
---|
| 316 | * @return string
|
---|
| 317 | */
|
---|
| 318 | public function getId()
|
---|
| 319 | {
|
---|
| 320 | return $this->id;
|
---|
| 321 | }
|
---|
| 322 | /**
|
---|
| 323 | * @param bool
|
---|
| 324 | */
|
---|
| 325 | public function setIsCaseInsensitive($isCaseInsensitive)
|
---|
| 326 | {
|
---|
| 327 | $this->isCaseInsensitive = $isCaseInsensitive;
|
---|
| 328 | }
|
---|
| 329 | /**
|
---|
| 330 | * @return bool
|
---|
| 331 | */
|
---|
| 332 | public function getIsCaseInsensitive()
|
---|
| 333 | {
|
---|
| 334 | return $this->isCaseInsensitive;
|
---|
| 335 | }
|
---|
| 336 | /**
|
---|
| 337 | * @param string
|
---|
| 338 | */
|
---|
| 339 | public function setKind($kind)
|
---|
| 340 | {
|
---|
| 341 | $this->kind = $kind;
|
---|
| 342 | }
|
---|
| 343 | /**
|
---|
| 344 | * @return string
|
---|
| 345 | */
|
---|
| 346 | public function getKind()
|
---|
| 347 | {
|
---|
| 348 | return $this->kind;
|
---|
| 349 | }
|
---|
| 350 | /**
|
---|
| 351 | * @param string[]
|
---|
| 352 | */
|
---|
| 353 | public function setLabels($labels)
|
---|
| 354 | {
|
---|
| 355 | $this->labels = $labels;
|
---|
| 356 | }
|
---|
| 357 | /**
|
---|
| 358 | * @return string[]
|
---|
| 359 | */
|
---|
| 360 | public function getLabels()
|
---|
| 361 | {
|
---|
| 362 | return $this->labels;
|
---|
| 363 | }
|
---|
| 364 | /**
|
---|
| 365 | * @param string
|
---|
| 366 | */
|
---|
| 367 | public function setLastModifiedTime($lastModifiedTime)
|
---|
| 368 | {
|
---|
| 369 | $this->lastModifiedTime = $lastModifiedTime;
|
---|
| 370 | }
|
---|
| 371 | /**
|
---|
| 372 | * @return string
|
---|
| 373 | */
|
---|
| 374 | public function getLastModifiedTime()
|
---|
| 375 | {
|
---|
| 376 | return $this->lastModifiedTime;
|
---|
| 377 | }
|
---|
| 378 | /**
|
---|
| 379 | * @param LinkedDatasetMetadata
|
---|
| 380 | */
|
---|
| 381 | public function setLinkedDatasetMetadata(LinkedDatasetMetadata $linkedDatasetMetadata)
|
---|
| 382 | {
|
---|
| 383 | $this->linkedDatasetMetadata = $linkedDatasetMetadata;
|
---|
| 384 | }
|
---|
| 385 | /**
|
---|
| 386 | * @return LinkedDatasetMetadata
|
---|
| 387 | */
|
---|
| 388 | public function getLinkedDatasetMetadata()
|
---|
| 389 | {
|
---|
| 390 | return $this->linkedDatasetMetadata;
|
---|
| 391 | }
|
---|
| 392 | /**
|
---|
| 393 | * @param LinkedDatasetSource
|
---|
| 394 | */
|
---|
| 395 | public function setLinkedDatasetSource(LinkedDatasetSource $linkedDatasetSource)
|
---|
| 396 | {
|
---|
| 397 | $this->linkedDatasetSource = $linkedDatasetSource;
|
---|
| 398 | }
|
---|
| 399 | /**
|
---|
| 400 | * @return LinkedDatasetSource
|
---|
| 401 | */
|
---|
| 402 | public function getLinkedDatasetSource()
|
---|
| 403 | {
|
---|
| 404 | return $this->linkedDatasetSource;
|
---|
| 405 | }
|
---|
| 406 | /**
|
---|
| 407 | * @param string
|
---|
| 408 | */
|
---|
| 409 | public function setLocation($location)
|
---|
| 410 | {
|
---|
| 411 | $this->location = $location;
|
---|
| 412 | }
|
---|
| 413 | /**
|
---|
| 414 | * @return string
|
---|
| 415 | */
|
---|
| 416 | public function getLocation()
|
---|
| 417 | {
|
---|
| 418 | return $this->location;
|
---|
| 419 | }
|
---|
| 420 | /**
|
---|
| 421 | * @param string
|
---|
| 422 | */
|
---|
| 423 | public function setMaxTimeTravelHours($maxTimeTravelHours)
|
---|
| 424 | {
|
---|
| 425 | $this->maxTimeTravelHours = $maxTimeTravelHours;
|
---|
| 426 | }
|
---|
| 427 | /**
|
---|
| 428 | * @return string
|
---|
| 429 | */
|
---|
| 430 | public function getMaxTimeTravelHours()
|
---|
| 431 | {
|
---|
| 432 | return $this->maxTimeTravelHours;
|
---|
| 433 | }
|
---|
| 434 | /**
|
---|
| 435 | * @param string[]
|
---|
| 436 | */
|
---|
| 437 | public function setResourceTags($resourceTags)
|
---|
| 438 | {
|
---|
| 439 | $this->resourceTags = $resourceTags;
|
---|
| 440 | }
|
---|
| 441 | /**
|
---|
| 442 | * @return string[]
|
---|
| 443 | */
|
---|
| 444 | public function getResourceTags()
|
---|
| 445 | {
|
---|
| 446 | return $this->resourceTags;
|
---|
| 447 | }
|
---|
| 448 | /**
|
---|
| 449 | * @param RestrictionConfig
|
---|
| 450 | */
|
---|
| 451 | public function setRestrictions(RestrictionConfig $restrictions)
|
---|
| 452 | {
|
---|
| 453 | $this->restrictions = $restrictions;
|
---|
| 454 | }
|
---|
| 455 | /**
|
---|
| 456 | * @return RestrictionConfig
|
---|
| 457 | */
|
---|
| 458 | public function getRestrictions()
|
---|
| 459 | {
|
---|
| 460 | return $this->restrictions;
|
---|
| 461 | }
|
---|
| 462 | /**
|
---|
| 463 | * @param bool
|
---|
| 464 | */
|
---|
| 465 | public function setSatisfiesPzi($satisfiesPzi)
|
---|
| 466 | {
|
---|
| 467 | $this->satisfiesPzi = $satisfiesPzi;
|
---|
| 468 | }
|
---|
| 469 | /**
|
---|
| 470 | * @return bool
|
---|
| 471 | */
|
---|
| 472 | public function getSatisfiesPzi()
|
---|
| 473 | {
|
---|
| 474 | return $this->satisfiesPzi;
|
---|
| 475 | }
|
---|
| 476 | /**
|
---|
| 477 | * @param bool
|
---|
| 478 | */
|
---|
| 479 | public function setSatisfiesPzs($satisfiesPzs)
|
---|
| 480 | {
|
---|
| 481 | $this->satisfiesPzs = $satisfiesPzs;
|
---|
| 482 | }
|
---|
| 483 | /**
|
---|
| 484 | * @return bool
|
---|
| 485 | */
|
---|
| 486 | public function getSatisfiesPzs()
|
---|
| 487 | {
|
---|
| 488 | return $this->satisfiesPzs;
|
---|
| 489 | }
|
---|
| 490 | /**
|
---|
| 491 | * @param string
|
---|
| 492 | */
|
---|
| 493 | public function setSelfLink($selfLink)
|
---|
| 494 | {
|
---|
| 495 | $this->selfLink = $selfLink;
|
---|
| 496 | }
|
---|
| 497 | /**
|
---|
| 498 | * @return string
|
---|
| 499 | */
|
---|
| 500 | public function getSelfLink()
|
---|
| 501 | {
|
---|
| 502 | return $this->selfLink;
|
---|
| 503 | }
|
---|
| 504 | /**
|
---|
| 505 | * @param string
|
---|
| 506 | */
|
---|
| 507 | public function setStorageBillingModel($storageBillingModel)
|
---|
| 508 | {
|
---|
| 509 | $this->storageBillingModel = $storageBillingModel;
|
---|
| 510 | }
|
---|
| 511 | /**
|
---|
| 512 | * @return string
|
---|
| 513 | */
|
---|
| 514 | public function getStorageBillingModel()
|
---|
| 515 | {
|
---|
| 516 | return $this->storageBillingModel;
|
---|
| 517 | }
|
---|
| 518 | /**
|
---|
| 519 | * @param DatasetTags[]
|
---|
| 520 | */
|
---|
| 521 | public function setTags($tags)
|
---|
| 522 | {
|
---|
| 523 | $this->tags = $tags;
|
---|
| 524 | }
|
---|
| 525 | /**
|
---|
| 526 | * @return DatasetTags[]
|
---|
| 527 | */
|
---|
| 528 | public function getTags()
|
---|
| 529 | {
|
---|
| 530 | return $this->tags;
|
---|
| 531 | }
|
---|
| 532 | /**
|
---|
| 533 | * @param string
|
---|
| 534 | */
|
---|
| 535 | public function setType($type)
|
---|
| 536 | {
|
---|
| 537 | $this->type = $type;
|
---|
| 538 | }
|
---|
| 539 | /**
|
---|
| 540 | * @return string
|
---|
| 541 | */
|
---|
| 542 | public function getType()
|
---|
| 543 | {
|
---|
| 544 | return $this->type;
|
---|
| 545 | }
|
---|
| 546 | }
|
---|
| 547 |
|
---|
| 548 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 549 | class_alias(Dataset::class, 'Google_Service_Bigquery_Dataset');
|
---|