source: vendor/google/apiclient-services/src/Bigquery/ExternalDataConfiguration.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 7.7 KB
RevLine 
[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
18namespace Google\Service\Bigquery;
19
20class ExternalDataConfiguration extends \Google\Collection
21{
22 protected $collection_key = 'sourceUris';
23 /**
24 * @var bool
25 */
26 public $autodetect;
27 protected $avroOptionsType = AvroOptions::class;
28 protected $avroOptionsDataType = '';
29 protected $bigtableOptionsType = BigtableOptions::class;
30 protected $bigtableOptionsDataType = '';
31 /**
32 * @var string
33 */
34 public $compression;
35 /**
36 * @var string
37 */
38 public $connectionId;
39 protected $csvOptionsType = CsvOptions::class;
40 protected $csvOptionsDataType = '';
41 /**
42 * @var string[]
43 */
44 public $decimalTargetTypes;
45 /**
46 * @var string
47 */
48 public $fileSetSpecType;
49 protected $googleSheetsOptionsType = GoogleSheetsOptions::class;
50 protected $googleSheetsOptionsDataType = '';
51 protected $hivePartitioningOptionsType = HivePartitioningOptions::class;
52 protected $hivePartitioningOptionsDataType = '';
53 /**
54 * @var bool
55 */
56 public $ignoreUnknownValues;
57 /**
58 * @var string
59 */
60 public $jsonExtension;
61 protected $jsonOptionsType = JsonOptions::class;
62 protected $jsonOptionsDataType = '';
63 /**
64 * @var int
65 */
66 public $maxBadRecords;
67 /**
68 * @var string
69 */
70 public $metadataCacheMode;
71 /**
72 * @var string
73 */
74 public $objectMetadata;
75 protected $parquetOptionsType = ParquetOptions::class;
76 protected $parquetOptionsDataType = '';
77 /**
78 * @var string
79 */
80 public $referenceFileSchemaUri;
81 protected $schemaType = TableSchema::class;
82 protected $schemaDataType = '';
83 /**
84 * @var string
85 */
86 public $sourceFormat;
87 /**
88 * @var string[]
89 */
90 public $sourceUris;
91
92 /**
93 * @param bool
94 */
95 public function setAutodetect($autodetect)
96 {
97 $this->autodetect = $autodetect;
98 }
99 /**
100 * @return bool
101 */
102 public function getAutodetect()
103 {
104 return $this->autodetect;
105 }
106 /**
107 * @param AvroOptions
108 */
109 public function setAvroOptions(AvroOptions $avroOptions)
110 {
111 $this->avroOptions = $avroOptions;
112 }
113 /**
114 * @return AvroOptions
115 */
116 public function getAvroOptions()
117 {
118 return $this->avroOptions;
119 }
120 /**
121 * @param BigtableOptions
122 */
123 public function setBigtableOptions(BigtableOptions $bigtableOptions)
124 {
125 $this->bigtableOptions = $bigtableOptions;
126 }
127 /**
128 * @return BigtableOptions
129 */
130 public function getBigtableOptions()
131 {
132 return $this->bigtableOptions;
133 }
134 /**
135 * @param string
136 */
137 public function setCompression($compression)
138 {
139 $this->compression = $compression;
140 }
141 /**
142 * @return string
143 */
144 public function getCompression()
145 {
146 return $this->compression;
147 }
148 /**
149 * @param string
150 */
151 public function setConnectionId($connectionId)
152 {
153 $this->connectionId = $connectionId;
154 }
155 /**
156 * @return string
157 */
158 public function getConnectionId()
159 {
160 return $this->connectionId;
161 }
162 /**
163 * @param CsvOptions
164 */
165 public function setCsvOptions(CsvOptions $csvOptions)
166 {
167 $this->csvOptions = $csvOptions;
168 }
169 /**
170 * @return CsvOptions
171 */
172 public function getCsvOptions()
173 {
174 return $this->csvOptions;
175 }
176 /**
177 * @param string[]
178 */
179 public function setDecimalTargetTypes($decimalTargetTypes)
180 {
181 $this->decimalTargetTypes = $decimalTargetTypes;
182 }
183 /**
184 * @return string[]
185 */
186 public function getDecimalTargetTypes()
187 {
188 return $this->decimalTargetTypes;
189 }
190 /**
191 * @param string
192 */
193 public function setFileSetSpecType($fileSetSpecType)
194 {
195 $this->fileSetSpecType = $fileSetSpecType;
196 }
197 /**
198 * @return string
199 */
200 public function getFileSetSpecType()
201 {
202 return $this->fileSetSpecType;
203 }
204 /**
205 * @param GoogleSheetsOptions
206 */
207 public function setGoogleSheetsOptions(GoogleSheetsOptions $googleSheetsOptions)
208 {
209 $this->googleSheetsOptions = $googleSheetsOptions;
210 }
211 /**
212 * @return GoogleSheetsOptions
213 */
214 public function getGoogleSheetsOptions()
215 {
216 return $this->googleSheetsOptions;
217 }
218 /**
219 * @param HivePartitioningOptions
220 */
221 public function setHivePartitioningOptions(HivePartitioningOptions $hivePartitioningOptions)
222 {
223 $this->hivePartitioningOptions = $hivePartitioningOptions;
224 }
225 /**
226 * @return HivePartitioningOptions
227 */
228 public function getHivePartitioningOptions()
229 {
230 return $this->hivePartitioningOptions;
231 }
232 /**
233 * @param bool
234 */
235 public function setIgnoreUnknownValues($ignoreUnknownValues)
236 {
237 $this->ignoreUnknownValues = $ignoreUnknownValues;
238 }
239 /**
240 * @return bool
241 */
242 public function getIgnoreUnknownValues()
243 {
244 return $this->ignoreUnknownValues;
245 }
246 /**
247 * @param string
248 */
249 public function setJsonExtension($jsonExtension)
250 {
251 $this->jsonExtension = $jsonExtension;
252 }
253 /**
254 * @return string
255 */
256 public function getJsonExtension()
257 {
258 return $this->jsonExtension;
259 }
260 /**
261 * @param JsonOptions
262 */
263 public function setJsonOptions(JsonOptions $jsonOptions)
264 {
265 $this->jsonOptions = $jsonOptions;
266 }
267 /**
268 * @return JsonOptions
269 */
270 public function getJsonOptions()
271 {
272 return $this->jsonOptions;
273 }
274 /**
275 * @param int
276 */
277 public function setMaxBadRecords($maxBadRecords)
278 {
279 $this->maxBadRecords = $maxBadRecords;
280 }
281 /**
282 * @return int
283 */
284 public function getMaxBadRecords()
285 {
286 return $this->maxBadRecords;
287 }
288 /**
289 * @param string
290 */
291 public function setMetadataCacheMode($metadataCacheMode)
292 {
293 $this->metadataCacheMode = $metadataCacheMode;
294 }
295 /**
296 * @return string
297 */
298 public function getMetadataCacheMode()
299 {
300 return $this->metadataCacheMode;
301 }
302 /**
303 * @param string
304 */
305 public function setObjectMetadata($objectMetadata)
306 {
307 $this->objectMetadata = $objectMetadata;
308 }
309 /**
310 * @return string
311 */
312 public function getObjectMetadata()
313 {
314 return $this->objectMetadata;
315 }
316 /**
317 * @param ParquetOptions
318 */
319 public function setParquetOptions(ParquetOptions $parquetOptions)
320 {
321 $this->parquetOptions = $parquetOptions;
322 }
323 /**
324 * @return ParquetOptions
325 */
326 public function getParquetOptions()
327 {
328 return $this->parquetOptions;
329 }
330 /**
331 * @param string
332 */
333 public function setReferenceFileSchemaUri($referenceFileSchemaUri)
334 {
335 $this->referenceFileSchemaUri = $referenceFileSchemaUri;
336 }
337 /**
338 * @return string
339 */
340 public function getReferenceFileSchemaUri()
341 {
342 return $this->referenceFileSchemaUri;
343 }
344 /**
345 * @param TableSchema
346 */
347 public function setSchema(TableSchema $schema)
348 {
349 $this->schema = $schema;
350 }
351 /**
352 * @return TableSchema
353 */
354 public function getSchema()
355 {
356 return $this->schema;
357 }
358 /**
359 * @param string
360 */
361 public function setSourceFormat($sourceFormat)
362 {
363 $this->sourceFormat = $sourceFormat;
364 }
365 /**
366 * @return string
367 */
368 public function getSourceFormat()
369 {
370 return $this->sourceFormat;
371 }
372 /**
373 * @param string[]
374 */
375 public function setSourceUris($sourceUris)
376 {
377 $this->sourceUris = $sourceUris;
378 }
379 /**
380 * @return string[]
381 */
382 public function getSourceUris()
383 {
384 return $this->sourceUris;
385 }
386}
387
388// Adding a class alias for backwards compatibility with the previous class name.
389class_alias(ExternalDataConfiguration::class, 'Google_Service_Bigquery_ExternalDataConfiguration');
Note: See TracBrowser for help on using the repository browser.