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 Routine extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'importedLibraries';
|
---|
23 | protected $argumentsType = Argument::class;
|
---|
24 | protected $argumentsDataType = 'array';
|
---|
25 | /**
|
---|
26 | * @var string
|
---|
27 | */
|
---|
28 | public $creationTime;
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $dataGovernanceType;
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $definitionBody;
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $description;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $determinismLevel;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $etag;
|
---|
49 | /**
|
---|
50 | * @var string[]
|
---|
51 | */
|
---|
52 | public $importedLibraries;
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $language;
|
---|
57 | /**
|
---|
58 | * @var string
|
---|
59 | */
|
---|
60 | public $lastModifiedTime;
|
---|
61 | protected $remoteFunctionOptionsType = RemoteFunctionOptions::class;
|
---|
62 | protected $remoteFunctionOptionsDataType = '';
|
---|
63 | protected $returnTableTypeType = StandardSqlTableType::class;
|
---|
64 | protected $returnTableTypeDataType = '';
|
---|
65 | protected $returnTypeType = StandardSqlDataType::class;
|
---|
66 | protected $returnTypeDataType = '';
|
---|
67 | protected $routineReferenceType = RoutineReference::class;
|
---|
68 | protected $routineReferenceDataType = '';
|
---|
69 | /**
|
---|
70 | * @var string
|
---|
71 | */
|
---|
72 | public $routineType;
|
---|
73 | /**
|
---|
74 | * @var string
|
---|
75 | */
|
---|
76 | public $securityMode;
|
---|
77 | protected $sparkOptionsType = SparkOptions::class;
|
---|
78 | protected $sparkOptionsDataType = '';
|
---|
79 | /**
|
---|
80 | * @var bool
|
---|
81 | */
|
---|
82 | public $strictMode;
|
---|
83 |
|
---|
84 | /**
|
---|
85 | * @param Argument[]
|
---|
86 | */
|
---|
87 | public function setArguments($arguments)
|
---|
88 | {
|
---|
89 | $this->arguments = $arguments;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @return Argument[]
|
---|
93 | */
|
---|
94 | public function getArguments()
|
---|
95 | {
|
---|
96 | return $this->arguments;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @param string
|
---|
100 | */
|
---|
101 | public function setCreationTime($creationTime)
|
---|
102 | {
|
---|
103 | $this->creationTime = $creationTime;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @return string
|
---|
107 | */
|
---|
108 | public function getCreationTime()
|
---|
109 | {
|
---|
110 | return $this->creationTime;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @param string
|
---|
114 | */
|
---|
115 | public function setDataGovernanceType($dataGovernanceType)
|
---|
116 | {
|
---|
117 | $this->dataGovernanceType = $dataGovernanceType;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @return string
|
---|
121 | */
|
---|
122 | public function getDataGovernanceType()
|
---|
123 | {
|
---|
124 | return $this->dataGovernanceType;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @param string
|
---|
128 | */
|
---|
129 | public function setDefinitionBody($definitionBody)
|
---|
130 | {
|
---|
131 | $this->definitionBody = $definitionBody;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @return string
|
---|
135 | */
|
---|
136 | public function getDefinitionBody()
|
---|
137 | {
|
---|
138 | return $this->definitionBody;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @param string
|
---|
142 | */
|
---|
143 | public function setDescription($description)
|
---|
144 | {
|
---|
145 | $this->description = $description;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @return string
|
---|
149 | */
|
---|
150 | public function getDescription()
|
---|
151 | {
|
---|
152 | return $this->description;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @param string
|
---|
156 | */
|
---|
157 | public function setDeterminismLevel($determinismLevel)
|
---|
158 | {
|
---|
159 | $this->determinismLevel = $determinismLevel;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @return string
|
---|
163 | */
|
---|
164 | public function getDeterminismLevel()
|
---|
165 | {
|
---|
166 | return $this->determinismLevel;
|
---|
167 | }
|
---|
168 | /**
|
---|
169 | * @param string
|
---|
170 | */
|
---|
171 | public function setEtag($etag)
|
---|
172 | {
|
---|
173 | $this->etag = $etag;
|
---|
174 | }
|
---|
175 | /**
|
---|
176 | * @return string
|
---|
177 | */
|
---|
178 | public function getEtag()
|
---|
179 | {
|
---|
180 | return $this->etag;
|
---|
181 | }
|
---|
182 | /**
|
---|
183 | * @param string[]
|
---|
184 | */
|
---|
185 | public function setImportedLibraries($importedLibraries)
|
---|
186 | {
|
---|
187 | $this->importedLibraries = $importedLibraries;
|
---|
188 | }
|
---|
189 | /**
|
---|
190 | * @return string[]
|
---|
191 | */
|
---|
192 | public function getImportedLibraries()
|
---|
193 | {
|
---|
194 | return $this->importedLibraries;
|
---|
195 | }
|
---|
196 | /**
|
---|
197 | * @param string
|
---|
198 | */
|
---|
199 | public function setLanguage($language)
|
---|
200 | {
|
---|
201 | $this->language = $language;
|
---|
202 | }
|
---|
203 | /**
|
---|
204 | * @return string
|
---|
205 | */
|
---|
206 | public function getLanguage()
|
---|
207 | {
|
---|
208 | return $this->language;
|
---|
209 | }
|
---|
210 | /**
|
---|
211 | * @param string
|
---|
212 | */
|
---|
213 | public function setLastModifiedTime($lastModifiedTime)
|
---|
214 | {
|
---|
215 | $this->lastModifiedTime = $lastModifiedTime;
|
---|
216 | }
|
---|
217 | /**
|
---|
218 | * @return string
|
---|
219 | */
|
---|
220 | public function getLastModifiedTime()
|
---|
221 | {
|
---|
222 | return $this->lastModifiedTime;
|
---|
223 | }
|
---|
224 | /**
|
---|
225 | * @param RemoteFunctionOptions
|
---|
226 | */
|
---|
227 | public function setRemoteFunctionOptions(RemoteFunctionOptions $remoteFunctionOptions)
|
---|
228 | {
|
---|
229 | $this->remoteFunctionOptions = $remoteFunctionOptions;
|
---|
230 | }
|
---|
231 | /**
|
---|
232 | * @return RemoteFunctionOptions
|
---|
233 | */
|
---|
234 | public function getRemoteFunctionOptions()
|
---|
235 | {
|
---|
236 | return $this->remoteFunctionOptions;
|
---|
237 | }
|
---|
238 | /**
|
---|
239 | * @param StandardSqlTableType
|
---|
240 | */
|
---|
241 | public function setReturnTableType(StandardSqlTableType $returnTableType)
|
---|
242 | {
|
---|
243 | $this->returnTableType = $returnTableType;
|
---|
244 | }
|
---|
245 | /**
|
---|
246 | * @return StandardSqlTableType
|
---|
247 | */
|
---|
248 | public function getReturnTableType()
|
---|
249 | {
|
---|
250 | return $this->returnTableType;
|
---|
251 | }
|
---|
252 | /**
|
---|
253 | * @param StandardSqlDataType
|
---|
254 | */
|
---|
255 | public function setReturnType(StandardSqlDataType $returnType)
|
---|
256 | {
|
---|
257 | $this->returnType = $returnType;
|
---|
258 | }
|
---|
259 | /**
|
---|
260 | * @return StandardSqlDataType
|
---|
261 | */
|
---|
262 | public function getReturnType()
|
---|
263 | {
|
---|
264 | return $this->returnType;
|
---|
265 | }
|
---|
266 | /**
|
---|
267 | * @param RoutineReference
|
---|
268 | */
|
---|
269 | public function setRoutineReference(RoutineReference $routineReference)
|
---|
270 | {
|
---|
271 | $this->routineReference = $routineReference;
|
---|
272 | }
|
---|
273 | /**
|
---|
274 | * @return RoutineReference
|
---|
275 | */
|
---|
276 | public function getRoutineReference()
|
---|
277 | {
|
---|
278 | return $this->routineReference;
|
---|
279 | }
|
---|
280 | /**
|
---|
281 | * @param string
|
---|
282 | */
|
---|
283 | public function setRoutineType($routineType)
|
---|
284 | {
|
---|
285 | $this->routineType = $routineType;
|
---|
286 | }
|
---|
287 | /**
|
---|
288 | * @return string
|
---|
289 | */
|
---|
290 | public function getRoutineType()
|
---|
291 | {
|
---|
292 | return $this->routineType;
|
---|
293 | }
|
---|
294 | /**
|
---|
295 | * @param string
|
---|
296 | */
|
---|
297 | public function setSecurityMode($securityMode)
|
---|
298 | {
|
---|
299 | $this->securityMode = $securityMode;
|
---|
300 | }
|
---|
301 | /**
|
---|
302 | * @return string
|
---|
303 | */
|
---|
304 | public function getSecurityMode()
|
---|
305 | {
|
---|
306 | return $this->securityMode;
|
---|
307 | }
|
---|
308 | /**
|
---|
309 | * @param SparkOptions
|
---|
310 | */
|
---|
311 | public function setSparkOptions(SparkOptions $sparkOptions)
|
---|
312 | {
|
---|
313 | $this->sparkOptions = $sparkOptions;
|
---|
314 | }
|
---|
315 | /**
|
---|
316 | * @return SparkOptions
|
---|
317 | */
|
---|
318 | public function getSparkOptions()
|
---|
319 | {
|
---|
320 | return $this->sparkOptions;
|
---|
321 | }
|
---|
322 | /**
|
---|
323 | * @param bool
|
---|
324 | */
|
---|
325 | public function setStrictMode($strictMode)
|
---|
326 | {
|
---|
327 | $this->strictMode = $strictMode;
|
---|
328 | }
|
---|
329 | /**
|
---|
330 | * @return bool
|
---|
331 | */
|
---|
332 | public function getStrictMode()
|
---|
333 | {
|
---|
334 | return $this->strictMode;
|
---|
335 | }
|
---|
336 | }
|
---|
337 |
|
---|
338 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
339 | class_alias(Routine::class, 'Google_Service_Bigquery_Routine');
|
---|