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 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 $defaultTableExpirationMs;
45  /**
46   * @var string
47   */
48  public $description;
49  /**
50   * @var string
51   */
52  public $etag;
53  /**
54   * @var string
55   */
56  public $friendlyName;
57  /**
58   * @var string
59   */
60  public $id;
61  /**
62   * @var bool
63   */
64  public $isCaseInsensitive;
65  /**
66   * @var string
67   */
68  public $kind;
69  /**
70   * @var string[]
71   */
72  public $labels;
73  /**
74   * @var string
75   */
76  public $lastModifiedTime;
77  /**
78   * @var string
79   */
80  public $location;
81  /**
82   * @var string
83   */
84  public $maxTimeTravelHours;
85  /**
86   * @var bool
87   */
88  public $satisfiesPZS;
89  /**
90   * @var string
91   */
92  public $selfLink;
93  protected $tagsType = DatasetTags::class;
94  protected $tagsDataType = 'array';
95
96  /**
97   * @param DatasetAccess[]
98   */
99  public function setAccess($access)
100  {
101    $this->access = $access;
102  }
103  /**
104   * @return DatasetAccess[]
105   */
106  public function getAccess()
107  {
108    return $this->access;
109  }
110  /**
111   * @param string
112   */
113  public function setCreationTime($creationTime)
114  {
115    $this->creationTime = $creationTime;
116  }
117  /**
118   * @return string
119   */
120  public function getCreationTime()
121  {
122    return $this->creationTime;
123  }
124  /**
125   * @param DatasetReference
126   */
127  public function setDatasetReference(DatasetReference $datasetReference)
128  {
129    $this->datasetReference = $datasetReference;
130  }
131  /**
132   * @return DatasetReference
133   */
134  public function getDatasetReference()
135  {
136    return $this->datasetReference;
137  }
138  /**
139   * @param string
140   */
141  public function setDefaultCollation($defaultCollation)
142  {
143    $this->defaultCollation = $defaultCollation;
144  }
145  /**
146   * @return string
147   */
148  public function getDefaultCollation()
149  {
150    return $this->defaultCollation;
151  }
152  /**
153   * @param EncryptionConfiguration
154   */
155  public function setDefaultEncryptionConfiguration(EncryptionConfiguration $defaultEncryptionConfiguration)
156  {
157    $this->defaultEncryptionConfiguration = $defaultEncryptionConfiguration;
158  }
159  /**
160   * @return EncryptionConfiguration
161   */
162  public function getDefaultEncryptionConfiguration()
163  {
164    return $this->defaultEncryptionConfiguration;
165  }
166  /**
167   * @param string
168   */
169  public function setDefaultPartitionExpirationMs($defaultPartitionExpirationMs)
170  {
171    $this->defaultPartitionExpirationMs = $defaultPartitionExpirationMs;
172  }
173  /**
174   * @return string
175   */
176  public function getDefaultPartitionExpirationMs()
177  {
178    return $this->defaultPartitionExpirationMs;
179  }
180  /**
181   * @param string
182   */
183  public function setDefaultTableExpirationMs($defaultTableExpirationMs)
184  {
185    $this->defaultTableExpirationMs = $defaultTableExpirationMs;
186  }
187  /**
188   * @return string
189   */
190  public function getDefaultTableExpirationMs()
191  {
192    return $this->defaultTableExpirationMs;
193  }
194  /**
195   * @param string
196   */
197  public function setDescription($description)
198  {
199    $this->description = $description;
200  }
201  /**
202   * @return string
203   */
204  public function getDescription()
205  {
206    return $this->description;
207  }
208  /**
209   * @param string
210   */
211  public function setEtag($etag)
212  {
213    $this->etag = $etag;
214  }
215  /**
216   * @return string
217   */
218  public function getEtag()
219  {
220    return $this->etag;
221  }
222  /**
223   * @param string
224   */
225  public function setFriendlyName($friendlyName)
226  {
227    $this->friendlyName = $friendlyName;
228  }
229  /**
230   * @return string
231   */
232  public function getFriendlyName()
233  {
234    return $this->friendlyName;
235  }
236  /**
237   * @param string
238   */
239  public function setId($id)
240  {
241    $this->id = $id;
242  }
243  /**
244   * @return string
245   */
246  public function getId()
247  {
248    return $this->id;
249  }
250  /**
251   * @param bool
252   */
253  public function setIsCaseInsensitive($isCaseInsensitive)
254  {
255    $this->isCaseInsensitive = $isCaseInsensitive;
256  }
257  /**
258   * @return bool
259   */
260  public function getIsCaseInsensitive()
261  {
262    return $this->isCaseInsensitive;
263  }
264  /**
265   * @param string
266   */
267  public function setKind($kind)
268  {
269    $this->kind = $kind;
270  }
271  /**
272   * @return string
273   */
274  public function getKind()
275  {
276    return $this->kind;
277  }
278  /**
279   * @param string[]
280   */
281  public function setLabels($labels)
282  {
283    $this->labels = $labels;
284  }
285  /**
286   * @return string[]
287   */
288  public function getLabels()
289  {
290    return $this->labels;
291  }
292  /**
293   * @param string
294   */
295  public function setLastModifiedTime($lastModifiedTime)
296  {
297    $this->lastModifiedTime = $lastModifiedTime;
298  }
299  /**
300   * @return string
301   */
302  public function getLastModifiedTime()
303  {
304    return $this->lastModifiedTime;
305  }
306  /**
307   * @param string
308   */
309  public function setLocation($location)
310  {
311    $this->location = $location;
312  }
313  /**
314   * @return string
315   */
316  public function getLocation()
317  {
318    return $this->location;
319  }
320  /**
321   * @param string
322   */
323  public function setMaxTimeTravelHours($maxTimeTravelHours)
324  {
325    $this->maxTimeTravelHours = $maxTimeTravelHours;
326  }
327  /**
328   * @return string
329   */
330  public function getMaxTimeTravelHours()
331  {
332    return $this->maxTimeTravelHours;
333  }
334  /**
335   * @param bool
336   */
337  public function setSatisfiesPZS($satisfiesPZS)
338  {
339    $this->satisfiesPZS = $satisfiesPZS;
340  }
341  /**
342   * @return bool
343   */
344  public function getSatisfiesPZS()
345  {
346    return $this->satisfiesPZS;
347  }
348  /**
349   * @param string
350   */
351  public function setSelfLink($selfLink)
352  {
353    $this->selfLink = $selfLink;
354  }
355  /**
356   * @return string
357   */
358  public function getSelfLink()
359  {
360    return $this->selfLink;
361  }
362  /**
363   * @param DatasetTags[]
364   */
365  public function setTags($tags)
366  {
367    $this->tags = $tags;
368  }
369  /**
370   * @return DatasetTags[]
371   */
372  public function getTags()
373  {
374    return $this->tags;
375  }
376}
377
378// Adding a class alias for backwards compatibility with the previous class name.
379class_alias(Dataset::class, 'Google_Service_Bigquery_Dataset');
380