source: vendor/google/apiclient-services/src/Compute/Operation.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 8.7 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\Compute;
19
20class Operation extends \Google\Collection
21{
22 protected $collection_key = 'warnings';
23 /**
24 * @var string
25 */
26 public $clientOperationId;
27 /**
28 * @var string
29 */
30 public $creationTimestamp;
31 /**
32 * @var string
33 */
34 public $description;
35 /**
36 * @var string
37 */
38 public $endTime;
39 protected $errorType = OperationError::class;
40 protected $errorDataType = '';
41 /**
42 * @var string
43 */
44 public $httpErrorMessage;
45 /**
46 * @var int
47 */
48 public $httpErrorStatusCode;
49 /**
50 * @var string
51 */
52 public $id;
53 /**
54 * @var string
55 */
56 public $insertTime;
57 protected $instancesBulkInsertOperationMetadataType = InstancesBulkInsertOperationMetadata::class;
58 protected $instancesBulkInsertOperationMetadataDataType = '';
59 /**
60 * @var string
61 */
62 public $kind;
63 /**
64 * @var string
65 */
66 public $name;
67 /**
68 * @var string
69 */
70 public $operationGroupId;
71 /**
72 * @var string
73 */
74 public $operationType;
75 /**
76 * @var int
77 */
78 public $progress;
79 /**
80 * @var string
81 */
82 public $region;
83 /**
84 * @var string
85 */
86 public $selfLink;
87 protected $setCommonInstanceMetadataOperationMetadataType = SetCommonInstanceMetadataOperationMetadata::class;
88 protected $setCommonInstanceMetadataOperationMetadataDataType = '';
89 /**
90 * @var string
91 */
92 public $startTime;
93 /**
94 * @var string
95 */
96 public $status;
97 /**
98 * @var string
99 */
100 public $statusMessage;
101 /**
102 * @var string
103 */
104 public $targetId;
105 /**
106 * @var string
107 */
108 public $targetLink;
109 /**
110 * @var string
111 */
112 public $user;
113 protected $warningsType = OperationWarnings::class;
114 protected $warningsDataType = 'array';
115 /**
116 * @var string
117 */
118 public $zone;
119
120 /**
121 * @param string
122 */
123 public function setClientOperationId($clientOperationId)
124 {
125 $this->clientOperationId = $clientOperationId;
126 }
127 /**
128 * @return string
129 */
130 public function getClientOperationId()
131 {
132 return $this->clientOperationId;
133 }
134 /**
135 * @param string
136 */
137 public function setCreationTimestamp($creationTimestamp)
138 {
139 $this->creationTimestamp = $creationTimestamp;
140 }
141 /**
142 * @return string
143 */
144 public function getCreationTimestamp()
145 {
146 return $this->creationTimestamp;
147 }
148 /**
149 * @param string
150 */
151 public function setDescription($description)
152 {
153 $this->description = $description;
154 }
155 /**
156 * @return string
157 */
158 public function getDescription()
159 {
160 return $this->description;
161 }
162 /**
163 * @param string
164 */
165 public function setEndTime($endTime)
166 {
167 $this->endTime = $endTime;
168 }
169 /**
170 * @return string
171 */
172 public function getEndTime()
173 {
174 return $this->endTime;
175 }
176 /**
177 * @param OperationError
178 */
179 public function setError(OperationError $error)
180 {
181 $this->error = $error;
182 }
183 /**
184 * @return OperationError
185 */
186 public function getError()
187 {
188 return $this->error;
189 }
190 /**
191 * @param string
192 */
193 public function setHttpErrorMessage($httpErrorMessage)
194 {
195 $this->httpErrorMessage = $httpErrorMessage;
196 }
197 /**
198 * @return string
199 */
200 public function getHttpErrorMessage()
201 {
202 return $this->httpErrorMessage;
203 }
204 /**
205 * @param int
206 */
207 public function setHttpErrorStatusCode($httpErrorStatusCode)
208 {
209 $this->httpErrorStatusCode = $httpErrorStatusCode;
210 }
211 /**
212 * @return int
213 */
214 public function getHttpErrorStatusCode()
215 {
216 return $this->httpErrorStatusCode;
217 }
218 /**
219 * @param string
220 */
221 public function setId($id)
222 {
223 $this->id = $id;
224 }
225 /**
226 * @return string
227 */
228 public function getId()
229 {
230 return $this->id;
231 }
232 /**
233 * @param string
234 */
235 public function setInsertTime($insertTime)
236 {
237 $this->insertTime = $insertTime;
238 }
239 /**
240 * @return string
241 */
242 public function getInsertTime()
243 {
244 return $this->insertTime;
245 }
246 /**
247 * @param InstancesBulkInsertOperationMetadata
248 */
249 public function setInstancesBulkInsertOperationMetadata(InstancesBulkInsertOperationMetadata $instancesBulkInsertOperationMetadata)
250 {
251 $this->instancesBulkInsertOperationMetadata = $instancesBulkInsertOperationMetadata;
252 }
253 /**
254 * @return InstancesBulkInsertOperationMetadata
255 */
256 public function getInstancesBulkInsertOperationMetadata()
257 {
258 return $this->instancesBulkInsertOperationMetadata;
259 }
260 /**
261 * @param string
262 */
263 public function setKind($kind)
264 {
265 $this->kind = $kind;
266 }
267 /**
268 * @return string
269 */
270 public function getKind()
271 {
272 return $this->kind;
273 }
274 /**
275 * @param string
276 */
277 public function setName($name)
278 {
279 $this->name = $name;
280 }
281 /**
282 * @return string
283 */
284 public function getName()
285 {
286 return $this->name;
287 }
288 /**
289 * @param string
290 */
291 public function setOperationGroupId($operationGroupId)
292 {
293 $this->operationGroupId = $operationGroupId;
294 }
295 /**
296 * @return string
297 */
298 public function getOperationGroupId()
299 {
300 return $this->operationGroupId;
301 }
302 /**
303 * @param string
304 */
305 public function setOperationType($operationType)
306 {
307 $this->operationType = $operationType;
308 }
309 /**
310 * @return string
311 */
312 public function getOperationType()
313 {
314 return $this->operationType;
315 }
316 /**
317 * @param int
318 */
319 public function setProgress($progress)
320 {
321 $this->progress = $progress;
322 }
323 /**
324 * @return int
325 */
326 public function getProgress()
327 {
328 return $this->progress;
329 }
330 /**
331 * @param string
332 */
333 public function setRegion($region)
334 {
335 $this->region = $region;
336 }
337 /**
338 * @return string
339 */
340 public function getRegion()
341 {
342 return $this->region;
343 }
344 /**
345 * @param string
346 */
347 public function setSelfLink($selfLink)
348 {
349 $this->selfLink = $selfLink;
350 }
351 /**
352 * @return string
353 */
354 public function getSelfLink()
355 {
356 return $this->selfLink;
357 }
358 /**
359 * @param SetCommonInstanceMetadataOperationMetadata
360 */
361 public function setSetCommonInstanceMetadataOperationMetadata(SetCommonInstanceMetadataOperationMetadata $setCommonInstanceMetadataOperationMetadata)
362 {
363 $this->setCommonInstanceMetadataOperationMetadata = $setCommonInstanceMetadataOperationMetadata;
364 }
365 /**
366 * @return SetCommonInstanceMetadataOperationMetadata
367 */
368 public function getSetCommonInstanceMetadataOperationMetadata()
369 {
370 return $this->setCommonInstanceMetadataOperationMetadata;
371 }
372 /**
373 * @param string
374 */
375 public function setStartTime($startTime)
376 {
377 $this->startTime = $startTime;
378 }
379 /**
380 * @return string
381 */
382 public function getStartTime()
383 {
384 return $this->startTime;
385 }
386 /**
387 * @param string
388 */
389 public function setStatus($status)
390 {
391 $this->status = $status;
392 }
393 /**
394 * @return string
395 */
396 public function getStatus()
397 {
398 return $this->status;
399 }
400 /**
401 * @param string
402 */
403 public function setStatusMessage($statusMessage)
404 {
405 $this->statusMessage = $statusMessage;
406 }
407 /**
408 * @return string
409 */
410 public function getStatusMessage()
411 {
412 return $this->statusMessage;
413 }
414 /**
415 * @param string
416 */
417 public function setTargetId($targetId)
418 {
419 $this->targetId = $targetId;
420 }
421 /**
422 * @return string
423 */
424 public function getTargetId()
425 {
426 return $this->targetId;
427 }
428 /**
429 * @param string
430 */
431 public function setTargetLink($targetLink)
432 {
433 $this->targetLink = $targetLink;
434 }
435 /**
436 * @return string
437 */
438 public function getTargetLink()
439 {
440 return $this->targetLink;
441 }
442 /**
443 * @param string
444 */
445 public function setUser($user)
446 {
447 $this->user = $user;
448 }
449 /**
450 * @return string
451 */
452 public function getUser()
453 {
454 return $this->user;
455 }
456 /**
457 * @param OperationWarnings[]
458 */
459 public function setWarnings($warnings)
460 {
461 $this->warnings = $warnings;
462 }
463 /**
464 * @return OperationWarnings[]
465 */
466 public function getWarnings()
467 {
468 return $this->warnings;
469 }
470 /**
471 * @param string
472 */
473 public function setZone($zone)
474 {
475 $this->zone = $zone;
476 }
477 /**
478 * @return string
479 */
480 public function getZone()
481 {
482 return $this->zone;
483 }
484}
485
486// Adding a class alias for backwards compatibility with the previous class name.
487class_alias(Operation::class, 'Google_Service_Compute_Operation');
Note: See TracBrowser for help on using the repository browser.