source: vendor/google/apiclient-services/src/Bigquery/Table.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 18.4 KB
Line 
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 Table extends \Google\Collection
21{
22 protected $collection_key = 'replicas';
23 protected $biglakeConfigurationType = BigLakeConfiguration::class;
24 protected $biglakeConfigurationDataType = '';
25 protected $cloneDefinitionType = CloneDefinition::class;
26 protected $cloneDefinitionDataType = '';
27 protected $clusteringType = Clustering::class;
28 protected $clusteringDataType = '';
29 /**
30 * @var string
31 */
32 public $creationTime;
33 /**
34 * @var string
35 */
36 public $defaultCollation;
37 /**
38 * @var string
39 */
40 public $defaultRoundingMode;
41 /**
42 * @var string
43 */
44 public $description;
45 protected $encryptionConfigurationType = EncryptionConfiguration::class;
46 protected $encryptionConfigurationDataType = '';
47 /**
48 * @var string
49 */
50 public $etag;
51 /**
52 * @var string
53 */
54 public $expirationTime;
55 protected $externalCatalogTableOptionsType = ExternalCatalogTableOptions::class;
56 protected $externalCatalogTableOptionsDataType = '';
57 protected $externalDataConfigurationType = ExternalDataConfiguration::class;
58 protected $externalDataConfigurationDataType = '';
59 /**
60 * @var string
61 */
62 public $friendlyName;
63 /**
64 * @var string
65 */
66 public $id;
67 /**
68 * @var string
69 */
70 public $kind;
71 /**
72 * @var string[]
73 */
74 public $labels;
75 /**
76 * @var string
77 */
78 public $lastModifiedTime;
79 /**
80 * @var string
81 */
82 public $location;
83 /**
84 * @var string
85 */
86 public $managedTableType;
87 protected $materializedViewType = MaterializedViewDefinition::class;
88 protected $materializedViewDataType = '';
89 protected $materializedViewStatusType = MaterializedViewStatus::class;
90 protected $materializedViewStatusDataType = '';
91 /**
92 * @var string
93 */
94 public $maxStaleness;
95 protected $modelType = ModelDefinition::class;
96 protected $modelDataType = '';
97 /**
98 * @var string
99 */
100 public $numActiveLogicalBytes;
101 /**
102 * @var string
103 */
104 public $numActivePhysicalBytes;
105 /**
106 * @var string
107 */
108 public $numBytes;
109 /**
110 * @var string
111 */
112 public $numCurrentPhysicalBytes;
113 /**
114 * @var string
115 */
116 public $numLongTermBytes;
117 /**
118 * @var string
119 */
120 public $numLongTermLogicalBytes;
121 /**
122 * @var string
123 */
124 public $numLongTermPhysicalBytes;
125 /**
126 * @var string
127 */
128 public $numPartitions;
129 /**
130 * @var string
131 */
132 public $numPhysicalBytes;
133 /**
134 * @var string
135 */
136 public $numRows;
137 /**
138 * @var string
139 */
140 public $numTimeTravelPhysicalBytes;
141 /**
142 * @var string
143 */
144 public $numTotalLogicalBytes;
145 /**
146 * @var string
147 */
148 public $numTotalPhysicalBytes;
149 protected $partitionDefinitionType = PartitioningDefinition::class;
150 protected $partitionDefinitionDataType = '';
151 protected $rangePartitioningType = RangePartitioning::class;
152 protected $rangePartitioningDataType = '';
153 protected $replicasType = TableReference::class;
154 protected $replicasDataType = 'array';
155 /**
156 * @var bool
157 */
158 public $requirePartitionFilter;
159 /**
160 * @var string[]
161 */
162 public $resourceTags;
163 protected $restrictionsType = RestrictionConfig::class;
164 protected $restrictionsDataType = '';
165 protected $schemaType = TableSchema::class;
166 protected $schemaDataType = '';
167 /**
168 * @var string
169 */
170 public $selfLink;
171 protected $snapshotDefinitionType = SnapshotDefinition::class;
172 protected $snapshotDefinitionDataType = '';
173 protected $streamingBufferType = Streamingbuffer::class;
174 protected $streamingBufferDataType = '';
175 protected $tableConstraintsType = TableConstraints::class;
176 protected $tableConstraintsDataType = '';
177 protected $tableReferenceType = TableReference::class;
178 protected $tableReferenceDataType = '';
179 protected $tableReplicationInfoType = TableReplicationInfo::class;
180 protected $tableReplicationInfoDataType = '';
181 protected $timePartitioningType = TimePartitioning::class;
182 protected $timePartitioningDataType = '';
183 /**
184 * @var string
185 */
186 public $type;
187 protected $viewType = ViewDefinition::class;
188 protected $viewDataType = '';
189
190 /**
191 * @param BigLakeConfiguration
192 */
193 public function setBiglakeConfiguration(BigLakeConfiguration $biglakeConfiguration)
194 {
195 $this->biglakeConfiguration = $biglakeConfiguration;
196 }
197 /**
198 * @return BigLakeConfiguration
199 */
200 public function getBiglakeConfiguration()
201 {
202 return $this->biglakeConfiguration;
203 }
204 /**
205 * @param CloneDefinition
206 */
207 public function setCloneDefinition(CloneDefinition $cloneDefinition)
208 {
209 $this->cloneDefinition = $cloneDefinition;
210 }
211 /**
212 * @return CloneDefinition
213 */
214 public function getCloneDefinition()
215 {
216 return $this->cloneDefinition;
217 }
218 /**
219 * @param Clustering
220 */
221 public function setClustering(Clustering $clustering)
222 {
223 $this->clustering = $clustering;
224 }
225 /**
226 * @return Clustering
227 */
228 public function getClustering()
229 {
230 return $this->clustering;
231 }
232 /**
233 * @param string
234 */
235 public function setCreationTime($creationTime)
236 {
237 $this->creationTime = $creationTime;
238 }
239 /**
240 * @return string
241 */
242 public function getCreationTime()
243 {
244 return $this->creationTime;
245 }
246 /**
247 * @param string
248 */
249 public function setDefaultCollation($defaultCollation)
250 {
251 $this->defaultCollation = $defaultCollation;
252 }
253 /**
254 * @return string
255 */
256 public function getDefaultCollation()
257 {
258 return $this->defaultCollation;
259 }
260 /**
261 * @param string
262 */
263 public function setDefaultRoundingMode($defaultRoundingMode)
264 {
265 $this->defaultRoundingMode = $defaultRoundingMode;
266 }
267 /**
268 * @return string
269 */
270 public function getDefaultRoundingMode()
271 {
272 return $this->defaultRoundingMode;
273 }
274 /**
275 * @param string
276 */
277 public function setDescription($description)
278 {
279 $this->description = $description;
280 }
281 /**
282 * @return string
283 */
284 public function getDescription()
285 {
286 return $this->description;
287 }
288 /**
289 * @param EncryptionConfiguration
290 */
291 public function setEncryptionConfiguration(EncryptionConfiguration $encryptionConfiguration)
292 {
293 $this->encryptionConfiguration = $encryptionConfiguration;
294 }
295 /**
296 * @return EncryptionConfiguration
297 */
298 public function getEncryptionConfiguration()
299 {
300 return $this->encryptionConfiguration;
301 }
302 /**
303 * @param string
304 */
305 public function setEtag($etag)
306 {
307 $this->etag = $etag;
308 }
309 /**
310 * @return string
311 */
312 public function getEtag()
313 {
314 return $this->etag;
315 }
316 /**
317 * @param string
318 */
319 public function setExpirationTime($expirationTime)
320 {
321 $this->expirationTime = $expirationTime;
322 }
323 /**
324 * @return string
325 */
326 public function getExpirationTime()
327 {
328 return $this->expirationTime;
329 }
330 /**
331 * @param ExternalCatalogTableOptions
332 */
333 public function setExternalCatalogTableOptions(ExternalCatalogTableOptions $externalCatalogTableOptions)
334 {
335 $this->externalCatalogTableOptions = $externalCatalogTableOptions;
336 }
337 /**
338 * @return ExternalCatalogTableOptions
339 */
340 public function getExternalCatalogTableOptions()
341 {
342 return $this->externalCatalogTableOptions;
343 }
344 /**
345 * @param ExternalDataConfiguration
346 */
347 public function setExternalDataConfiguration(ExternalDataConfiguration $externalDataConfiguration)
348 {
349 $this->externalDataConfiguration = $externalDataConfiguration;
350 }
351 /**
352 * @return ExternalDataConfiguration
353 */
354 public function getExternalDataConfiguration()
355 {
356 return $this->externalDataConfiguration;
357 }
358 /**
359 * @param string
360 */
361 public function setFriendlyName($friendlyName)
362 {
363 $this->friendlyName = $friendlyName;
364 }
365 /**
366 * @return string
367 */
368 public function getFriendlyName()
369 {
370 return $this->friendlyName;
371 }
372 /**
373 * @param string
374 */
375 public function setId($id)
376 {
377 $this->id = $id;
378 }
379 /**
380 * @return string
381 */
382 public function getId()
383 {
384 return $this->id;
385 }
386 /**
387 * @param string
388 */
389 public function setKind($kind)
390 {
391 $this->kind = $kind;
392 }
393 /**
394 * @return string
395 */
396 public function getKind()
397 {
398 return $this->kind;
399 }
400 /**
401 * @param string[]
402 */
403 public function setLabels($labels)
404 {
405 $this->labels = $labels;
406 }
407 /**
408 * @return string[]
409 */
410 public function getLabels()
411 {
412 return $this->labels;
413 }
414 /**
415 * @param string
416 */
417 public function setLastModifiedTime($lastModifiedTime)
418 {
419 $this->lastModifiedTime = $lastModifiedTime;
420 }
421 /**
422 * @return string
423 */
424 public function getLastModifiedTime()
425 {
426 return $this->lastModifiedTime;
427 }
428 /**
429 * @param string
430 */
431 public function setLocation($location)
432 {
433 $this->location = $location;
434 }
435 /**
436 * @return string
437 */
438 public function getLocation()
439 {
440 return $this->location;
441 }
442 /**
443 * @param string
444 */
445 public function setManagedTableType($managedTableType)
446 {
447 $this->managedTableType = $managedTableType;
448 }
449 /**
450 * @return string
451 */
452 public function getManagedTableType()
453 {
454 return $this->managedTableType;
455 }
456 /**
457 * @param MaterializedViewDefinition
458 */
459 public function setMaterializedView(MaterializedViewDefinition $materializedView)
460 {
461 $this->materializedView = $materializedView;
462 }
463 /**
464 * @return MaterializedViewDefinition
465 */
466 public function getMaterializedView()
467 {
468 return $this->materializedView;
469 }
470 /**
471 * @param MaterializedViewStatus
472 */
473 public function setMaterializedViewStatus(MaterializedViewStatus $materializedViewStatus)
474 {
475 $this->materializedViewStatus = $materializedViewStatus;
476 }
477 /**
478 * @return MaterializedViewStatus
479 */
480 public function getMaterializedViewStatus()
481 {
482 return $this->materializedViewStatus;
483 }
484 /**
485 * @param string
486 */
487 public function setMaxStaleness($maxStaleness)
488 {
489 $this->maxStaleness = $maxStaleness;
490 }
491 /**
492 * @return string
493 */
494 public function getMaxStaleness()
495 {
496 return $this->maxStaleness;
497 }
498 /**
499 * @param ModelDefinition
500 */
501 public function setModel(ModelDefinition $model)
502 {
503 $this->model = $model;
504 }
505 /**
506 * @return ModelDefinition
507 */
508 public function getModel()
509 {
510 return $this->model;
511 }
512 /**
513 * @param string
514 */
515 public function setNumActiveLogicalBytes($numActiveLogicalBytes)
516 {
517 $this->numActiveLogicalBytes = $numActiveLogicalBytes;
518 }
519 /**
520 * @return string
521 */
522 public function getNumActiveLogicalBytes()
523 {
524 return $this->numActiveLogicalBytes;
525 }
526 /**
527 * @param string
528 */
529 public function setNumActivePhysicalBytes($numActivePhysicalBytes)
530 {
531 $this->numActivePhysicalBytes = $numActivePhysicalBytes;
532 }
533 /**
534 * @return string
535 */
536 public function getNumActivePhysicalBytes()
537 {
538 return $this->numActivePhysicalBytes;
539 }
540 /**
541 * @param string
542 */
543 public function setNumBytes($numBytes)
544 {
545 $this->numBytes = $numBytes;
546 }
547 /**
548 * @return string
549 */
550 public function getNumBytes()
551 {
552 return $this->numBytes;
553 }
554 /**
555 * @param string
556 */
557 public function setNumCurrentPhysicalBytes($numCurrentPhysicalBytes)
558 {
559 $this->numCurrentPhysicalBytes = $numCurrentPhysicalBytes;
560 }
561 /**
562 * @return string
563 */
564 public function getNumCurrentPhysicalBytes()
565 {
566 return $this->numCurrentPhysicalBytes;
567 }
568 /**
569 * @param string
570 */
571 public function setNumLongTermBytes($numLongTermBytes)
572 {
573 $this->numLongTermBytes = $numLongTermBytes;
574 }
575 /**
576 * @return string
577 */
578 public function getNumLongTermBytes()
579 {
580 return $this->numLongTermBytes;
581 }
582 /**
583 * @param string
584 */
585 public function setNumLongTermLogicalBytes($numLongTermLogicalBytes)
586 {
587 $this->numLongTermLogicalBytes = $numLongTermLogicalBytes;
588 }
589 /**
590 * @return string
591 */
592 public function getNumLongTermLogicalBytes()
593 {
594 return $this->numLongTermLogicalBytes;
595 }
596 /**
597 * @param string
598 */
599 public function setNumLongTermPhysicalBytes($numLongTermPhysicalBytes)
600 {
601 $this->numLongTermPhysicalBytes = $numLongTermPhysicalBytes;
602 }
603 /**
604 * @return string
605 */
606 public function getNumLongTermPhysicalBytes()
607 {
608 return $this->numLongTermPhysicalBytes;
609 }
610 /**
611 * @param string
612 */
613 public function setNumPartitions($numPartitions)
614 {
615 $this->numPartitions = $numPartitions;
616 }
617 /**
618 * @return string
619 */
620 public function getNumPartitions()
621 {
622 return $this->numPartitions;
623 }
624 /**
625 * @param string
626 */
627 public function setNumPhysicalBytes($numPhysicalBytes)
628 {
629 $this->numPhysicalBytes = $numPhysicalBytes;
630 }
631 /**
632 * @return string
633 */
634 public function getNumPhysicalBytes()
635 {
636 return $this->numPhysicalBytes;
637 }
638 /**
639 * @param string
640 */
641 public function setNumRows($numRows)
642 {
643 $this->numRows = $numRows;
644 }
645 /**
646 * @return string
647 */
648 public function getNumRows()
649 {
650 return $this->numRows;
651 }
652 /**
653 * @param string
654 */
655 public function setNumTimeTravelPhysicalBytes($numTimeTravelPhysicalBytes)
656 {
657 $this->numTimeTravelPhysicalBytes = $numTimeTravelPhysicalBytes;
658 }
659 /**
660 * @return string
661 */
662 public function getNumTimeTravelPhysicalBytes()
663 {
664 return $this->numTimeTravelPhysicalBytes;
665 }
666 /**
667 * @param string
668 */
669 public function setNumTotalLogicalBytes($numTotalLogicalBytes)
670 {
671 $this->numTotalLogicalBytes = $numTotalLogicalBytes;
672 }
673 /**
674 * @return string
675 */
676 public function getNumTotalLogicalBytes()
677 {
678 return $this->numTotalLogicalBytes;
679 }
680 /**
681 * @param string
682 */
683 public function setNumTotalPhysicalBytes($numTotalPhysicalBytes)
684 {
685 $this->numTotalPhysicalBytes = $numTotalPhysicalBytes;
686 }
687 /**
688 * @return string
689 */
690 public function getNumTotalPhysicalBytes()
691 {
692 return $this->numTotalPhysicalBytes;
693 }
694 /**
695 * @param PartitioningDefinition
696 */
697 public function setPartitionDefinition(PartitioningDefinition $partitionDefinition)
698 {
699 $this->partitionDefinition = $partitionDefinition;
700 }
701 /**
702 * @return PartitioningDefinition
703 */
704 public function getPartitionDefinition()
705 {
706 return $this->partitionDefinition;
707 }
708 /**
709 * @param RangePartitioning
710 */
711 public function setRangePartitioning(RangePartitioning $rangePartitioning)
712 {
713 $this->rangePartitioning = $rangePartitioning;
714 }
715 /**
716 * @return RangePartitioning
717 */
718 public function getRangePartitioning()
719 {
720 return $this->rangePartitioning;
721 }
722 /**
723 * @param TableReference[]
724 */
725 public function setReplicas($replicas)
726 {
727 $this->replicas = $replicas;
728 }
729 /**
730 * @return TableReference[]
731 */
732 public function getReplicas()
733 {
734 return $this->replicas;
735 }
736 /**
737 * @param bool
738 */
739 public function setRequirePartitionFilter($requirePartitionFilter)
740 {
741 $this->requirePartitionFilter = $requirePartitionFilter;
742 }
743 /**
744 * @return bool
745 */
746 public function getRequirePartitionFilter()
747 {
748 return $this->requirePartitionFilter;
749 }
750 /**
751 * @param string[]
752 */
753 public function setResourceTags($resourceTags)
754 {
755 $this->resourceTags = $resourceTags;
756 }
757 /**
758 * @return string[]
759 */
760 public function getResourceTags()
761 {
762 return $this->resourceTags;
763 }
764 /**
765 * @param RestrictionConfig
766 */
767 public function setRestrictions(RestrictionConfig $restrictions)
768 {
769 $this->restrictions = $restrictions;
770 }
771 /**
772 * @return RestrictionConfig
773 */
774 public function getRestrictions()
775 {
776 return $this->restrictions;
777 }
778 /**
779 * @param TableSchema
780 */
781 public function setSchema(TableSchema $schema)
782 {
783 $this->schema = $schema;
784 }
785 /**
786 * @return TableSchema
787 */
788 public function getSchema()
789 {
790 return $this->schema;
791 }
792 /**
793 * @param string
794 */
795 public function setSelfLink($selfLink)
796 {
797 $this->selfLink = $selfLink;
798 }
799 /**
800 * @return string
801 */
802 public function getSelfLink()
803 {
804 return $this->selfLink;
805 }
806 /**
807 * @param SnapshotDefinition
808 */
809 public function setSnapshotDefinition(SnapshotDefinition $snapshotDefinition)
810 {
811 $this->snapshotDefinition = $snapshotDefinition;
812 }
813 /**
814 * @return SnapshotDefinition
815 */
816 public function getSnapshotDefinition()
817 {
818 return $this->snapshotDefinition;
819 }
820 /**
821 * @param Streamingbuffer
822 */
823 public function setStreamingBuffer(Streamingbuffer $streamingBuffer)
824 {
825 $this->streamingBuffer = $streamingBuffer;
826 }
827 /**
828 * @return Streamingbuffer
829 */
830 public function getStreamingBuffer()
831 {
832 return $this->streamingBuffer;
833 }
834 /**
835 * @param TableConstraints
836 */
837 public function setTableConstraints(TableConstraints $tableConstraints)
838 {
839 $this->tableConstraints = $tableConstraints;
840 }
841 /**
842 * @return TableConstraints
843 */
844 public function getTableConstraints()
845 {
846 return $this->tableConstraints;
847 }
848 /**
849 * @param TableReference
850 */
851 public function setTableReference(TableReference $tableReference)
852 {
853 $this->tableReference = $tableReference;
854 }
855 /**
856 * @return TableReference
857 */
858 public function getTableReference()
859 {
860 return $this->tableReference;
861 }
862 /**
863 * @param TableReplicationInfo
864 */
865 public function setTableReplicationInfo(TableReplicationInfo $tableReplicationInfo)
866 {
867 $this->tableReplicationInfo = $tableReplicationInfo;
868 }
869 /**
870 * @return TableReplicationInfo
871 */
872 public function getTableReplicationInfo()
873 {
874 return $this->tableReplicationInfo;
875 }
876 /**
877 * @param TimePartitioning
878 */
879 public function setTimePartitioning(TimePartitioning $timePartitioning)
880 {
881 $this->timePartitioning = $timePartitioning;
882 }
883 /**
884 * @return TimePartitioning
885 */
886 public function getTimePartitioning()
887 {
888 return $this->timePartitioning;
889 }
890 /**
891 * @param string
892 */
893 public function setType($type)
894 {
895 $this->type = $type;
896 }
897 /**
898 * @return string
899 */
900 public function getType()
901 {
902 return $this->type;
903 }
904 /**
905 * @param ViewDefinition
906 */
907 public function setView(ViewDefinition $view)
908 {
909 $this->view = $view;
910 }
911 /**
912 * @return ViewDefinition
913 */
914 public function getView()
915 {
916 return $this->view;
917 }
918}
919
920// Adding a class alias for backwards compatibility with the previous class name.
921class_alias(Table::class, 'Google_Service_Bigquery_Table');
Note: See TracBrowser for help on using the repository browser.