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

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

Upload project files

  • Property mode set to 100644
File size: 8.0 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 JobStatistics extends \Google\Collection
21{
22 protected $collection_key = 'reservationUsage';
23 protected $internal_gapi_mappings = [
24 "reservationId" => "reservation_id",
25 ];
26 public $completionRatio;
27 protected $copyType = JobStatistics5::class;
28 protected $copyDataType = '';
29 /**
30 * @var string
31 */
32 public $creationTime;
33 protected $dataMaskingStatisticsType = DataMaskingStatistics::class;
34 protected $dataMaskingStatisticsDataType = '';
35 /**
36 * @var string
37 */
38 public $edition;
39 /**
40 * @var string
41 */
42 public $endTime;
43 protected $extractType = JobStatistics4::class;
44 protected $extractDataType = '';
45 /**
46 * @var string
47 */
48 public $finalExecutionDurationMs;
49 protected $loadType = JobStatistics3::class;
50 protected $loadDataType = '';
51 /**
52 * @var string
53 */
54 public $numChildJobs;
55 /**
56 * @var string
57 */
58 public $parentJobId;
59 protected $queryType = JobStatistics2::class;
60 protected $queryDataType = '';
61 /**
62 * @var string[]
63 */
64 public $quotaDeferments;
65 protected $reservationUsageType = JobStatisticsReservationUsage::class;
66 protected $reservationUsageDataType = 'array';
67 /**
68 * @var string
69 */
70 public $reservationId;
71 protected $rowLevelSecurityStatisticsType = RowLevelSecurityStatistics::class;
72 protected $rowLevelSecurityStatisticsDataType = '';
73 protected $scriptStatisticsType = ScriptStatistics::class;
74 protected $scriptStatisticsDataType = '';
75 protected $sessionInfoType = SessionInfo::class;
76 protected $sessionInfoDataType = '';
77 /**
78 * @var string
79 */
80 public $startTime;
81 /**
82 * @var string
83 */
84 public $totalBytesProcessed;
85 /**
86 * @var string
87 */
88 public $totalSlotMs;
89 protected $transactionInfoType = TransactionInfo::class;
90 protected $transactionInfoDataType = '';
91
92 public function setCompletionRatio($completionRatio)
93 {
94 $this->completionRatio = $completionRatio;
95 }
96 public function getCompletionRatio()
97 {
98 return $this->completionRatio;
99 }
100 /**
101 * @param JobStatistics5
102 */
103 public function setCopy(JobStatistics5 $copy)
104 {
105 $this->copy = $copy;
106 }
107 /**
108 * @return JobStatistics5
109 */
110 public function getCopy()
111 {
112 return $this->copy;
113 }
114 /**
115 * @param string
116 */
117 public function setCreationTime($creationTime)
118 {
119 $this->creationTime = $creationTime;
120 }
121 /**
122 * @return string
123 */
124 public function getCreationTime()
125 {
126 return $this->creationTime;
127 }
128 /**
129 * @param DataMaskingStatistics
130 */
131 public function setDataMaskingStatistics(DataMaskingStatistics $dataMaskingStatistics)
132 {
133 $this->dataMaskingStatistics = $dataMaskingStatistics;
134 }
135 /**
136 * @return DataMaskingStatistics
137 */
138 public function getDataMaskingStatistics()
139 {
140 return $this->dataMaskingStatistics;
141 }
142 /**
143 * @param string
144 */
145 public function setEdition($edition)
146 {
147 $this->edition = $edition;
148 }
149 /**
150 * @return string
151 */
152 public function getEdition()
153 {
154 return $this->edition;
155 }
156 /**
157 * @param string
158 */
159 public function setEndTime($endTime)
160 {
161 $this->endTime = $endTime;
162 }
163 /**
164 * @return string
165 */
166 public function getEndTime()
167 {
168 return $this->endTime;
169 }
170 /**
171 * @param JobStatistics4
172 */
173 public function setExtract(JobStatistics4 $extract)
174 {
175 $this->extract = $extract;
176 }
177 /**
178 * @return JobStatistics4
179 */
180 public function getExtract()
181 {
182 return $this->extract;
183 }
184 /**
185 * @param string
186 */
187 public function setFinalExecutionDurationMs($finalExecutionDurationMs)
188 {
189 $this->finalExecutionDurationMs = $finalExecutionDurationMs;
190 }
191 /**
192 * @return string
193 */
194 public function getFinalExecutionDurationMs()
195 {
196 return $this->finalExecutionDurationMs;
197 }
198 /**
199 * @param JobStatistics3
200 */
201 public function setLoad(JobStatistics3 $load)
202 {
203 $this->load = $load;
204 }
205 /**
206 * @return JobStatistics3
207 */
208 public function getLoad()
209 {
210 return $this->load;
211 }
212 /**
213 * @param string
214 */
215 public function setNumChildJobs($numChildJobs)
216 {
217 $this->numChildJobs = $numChildJobs;
218 }
219 /**
220 * @return string
221 */
222 public function getNumChildJobs()
223 {
224 return $this->numChildJobs;
225 }
226 /**
227 * @param string
228 */
229 public function setParentJobId($parentJobId)
230 {
231 $this->parentJobId = $parentJobId;
232 }
233 /**
234 * @return string
235 */
236 public function getParentJobId()
237 {
238 return $this->parentJobId;
239 }
240 /**
241 * @param JobStatistics2
242 */
243 public function setQuery(JobStatistics2 $query)
244 {
245 $this->query = $query;
246 }
247 /**
248 * @return JobStatistics2
249 */
250 public function getQuery()
251 {
252 return $this->query;
253 }
254 /**
255 * @param string[]
256 */
257 public function setQuotaDeferments($quotaDeferments)
258 {
259 $this->quotaDeferments = $quotaDeferments;
260 }
261 /**
262 * @return string[]
263 */
264 public function getQuotaDeferments()
265 {
266 return $this->quotaDeferments;
267 }
268 /**
269 * @param JobStatisticsReservationUsage[]
270 */
271 public function setReservationUsage($reservationUsage)
272 {
273 $this->reservationUsage = $reservationUsage;
274 }
275 /**
276 * @return JobStatisticsReservationUsage[]
277 */
278 public function getReservationUsage()
279 {
280 return $this->reservationUsage;
281 }
282 /**
283 * @param string
284 */
285 public function setReservationId($reservationId)
286 {
287 $this->reservationId = $reservationId;
288 }
289 /**
290 * @return string
291 */
292 public function getReservationId()
293 {
294 return $this->reservationId;
295 }
296 /**
297 * @param RowLevelSecurityStatistics
298 */
299 public function setRowLevelSecurityStatistics(RowLevelSecurityStatistics $rowLevelSecurityStatistics)
300 {
301 $this->rowLevelSecurityStatistics = $rowLevelSecurityStatistics;
302 }
303 /**
304 * @return RowLevelSecurityStatistics
305 */
306 public function getRowLevelSecurityStatistics()
307 {
308 return $this->rowLevelSecurityStatistics;
309 }
310 /**
311 * @param ScriptStatistics
312 */
313 public function setScriptStatistics(ScriptStatistics $scriptStatistics)
314 {
315 $this->scriptStatistics = $scriptStatistics;
316 }
317 /**
318 * @return ScriptStatistics
319 */
320 public function getScriptStatistics()
321 {
322 return $this->scriptStatistics;
323 }
324 /**
325 * @param SessionInfo
326 */
327 public function setSessionInfo(SessionInfo $sessionInfo)
328 {
329 $this->sessionInfo = $sessionInfo;
330 }
331 /**
332 * @return SessionInfo
333 */
334 public function getSessionInfo()
335 {
336 return $this->sessionInfo;
337 }
338 /**
339 * @param string
340 */
341 public function setStartTime($startTime)
342 {
343 $this->startTime = $startTime;
344 }
345 /**
346 * @return string
347 */
348 public function getStartTime()
349 {
350 return $this->startTime;
351 }
352 /**
353 * @param string
354 */
355 public function setTotalBytesProcessed($totalBytesProcessed)
356 {
357 $this->totalBytesProcessed = $totalBytesProcessed;
358 }
359 /**
360 * @return string
361 */
362 public function getTotalBytesProcessed()
363 {
364 return $this->totalBytesProcessed;
365 }
366 /**
367 * @param string
368 */
369 public function setTotalSlotMs($totalSlotMs)
370 {
371 $this->totalSlotMs = $totalSlotMs;
372 }
373 /**
374 * @return string
375 */
376 public function getTotalSlotMs()
377 {
378 return $this->totalSlotMs;
379 }
380 /**
381 * @param TransactionInfo
382 */
383 public function setTransactionInfo(TransactionInfo $transactionInfo)
384 {
385 $this->transactionInfo = $transactionInfo;
386 }
387 /**
388 * @return TransactionInfo
389 */
390 public function getTransactionInfo()
391 {
392 return $this->transactionInfo;
393 }
394}
395
396// Adding a class alias for backwards compatibility with the previous class name.
397class_alias(JobStatistics::class, 'Google_Service_Bigquery_JobStatistics');
Note: See TracBrowser for help on using the repository browser.