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

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

Upload project files

  • Property mode set to 100644
File size: 9.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\DeploymentManager;
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 /**
88 * @var string
89 */
90 public $selfLinkWithId;
91 protected $setCommonInstanceMetadataOperationMetadataType = SetCommonInstanceMetadataOperationMetadata::class;
92 protected $setCommonInstanceMetadataOperationMetadataDataType = '';
93 /**
94 * @var string
95 */
96 public $startTime;
97 /**
98 * @var string
99 */
100 public $status;
101 /**
102 * @var string
103 */
104 public $statusMessage;
105 /**
106 * @var string
107 */
108 public $targetId;
109 /**
110 * @var string
111 */
112 public $targetLink;
113 /**
114 * @var string
115 */
116 public $user;
117 protected $warningsType = OperationWarnings::class;
118 protected $warningsDataType = 'array';
119 /**
120 * @var string
121 */
122 public $zone;
123
124 /**
125 * @param string
126 */
127 public function setClientOperationId($clientOperationId)
128 {
129 $this->clientOperationId = $clientOperationId;
130 }
131 /**
132 * @return string
133 */
134 public function getClientOperationId()
135 {
136 return $this->clientOperationId;
137 }
138 /**
139 * @param string
140 */
141 public function setCreationTimestamp($creationTimestamp)
142 {
143 $this->creationTimestamp = $creationTimestamp;
144 }
145 /**
146 * @return string
147 */
148 public function getCreationTimestamp()
149 {
150 return $this->creationTimestamp;
151 }
152 /**
153 * @param string
154 */
155 public function setDescription($description)
156 {
157 $this->description = $description;
158 }
159 /**
160 * @return string
161 */
162 public function getDescription()
163 {
164 return $this->description;
165 }
166 /**
167 * @param string
168 */
169 public function setEndTime($endTime)
170 {
171 $this->endTime = $endTime;
172 }
173 /**
174 * @return string
175 */
176 public function getEndTime()
177 {
178 return $this->endTime;
179 }
180 /**
181 * @param OperationError
182 */
183 public function setError(OperationError $error)
184 {
185 $this->error = $error;
186 }
187 /**
188 * @return OperationError
189 */
190 public function getError()
191 {
192 return $this->error;
193 }
194 /**
195 * @param string
196 */
197 public function setHttpErrorMessage($httpErrorMessage)
198 {
199 $this->httpErrorMessage = $httpErrorMessage;
200 }
201 /**
202 * @return string
203 */
204 public function getHttpErrorMessage()
205 {
206 return $this->httpErrorMessage;
207 }
208 /**
209 * @param int
210 */
211 public function setHttpErrorStatusCode($httpErrorStatusCode)
212 {
213 $this->httpErrorStatusCode = $httpErrorStatusCode;
214 }
215 /**
216 * @return int
217 */
218 public function getHttpErrorStatusCode()
219 {
220 return $this->httpErrorStatusCode;
221 }
222 /**
223 * @param string
224 */
225 public function setId($id)
226 {
227 $this->id = $id;
228 }
229 /**
230 * @return string
231 */
232 public function getId()
233 {
234 return $this->id;
235 }
236 /**
237 * @param string
238 */
239 public function setInsertTime($insertTime)
240 {
241 $this->insertTime = $insertTime;
242 }
243 /**
244 * @return string
245 */
246 public function getInsertTime()
247 {
248 return $this->insertTime;
249 }
250 /**
251 * @param InstancesBulkInsertOperationMetadata
252 */
253 public function setInstancesBulkInsertOperationMetadata(InstancesBulkInsertOperationMetadata $instancesBulkInsertOperationMetadata)
254 {
255 $this->instancesBulkInsertOperationMetadata = $instancesBulkInsertOperationMetadata;
256 }
257 /**
258 * @return InstancesBulkInsertOperationMetadata
259 */
260 public function getInstancesBulkInsertOperationMetadata()
261 {
262 return $this->instancesBulkInsertOperationMetadata;
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 setName($name)
282 {
283 $this->name = $name;
284 }
285 /**
286 * @return string
287 */
288 public function getName()
289 {
290 return $this->name;
291 }
292 /**
293 * @param string
294 */
295 public function setOperationGroupId($operationGroupId)
296 {
297 $this->operationGroupId = $operationGroupId;
298 }
299 /**
300 * @return string
301 */
302 public function getOperationGroupId()
303 {
304 return $this->operationGroupId;
305 }
306 /**
307 * @param string
308 */
309 public function setOperationType($operationType)
310 {
311 $this->operationType = $operationType;
312 }
313 /**
314 * @return string
315 */
316 public function getOperationType()
317 {
318 return $this->operationType;
319 }
320 /**
321 * @param int
322 */
323 public function setProgress($progress)
324 {
325 $this->progress = $progress;
326 }
327 /**
328 * @return int
329 */
330 public function getProgress()
331 {
332 return $this->progress;
333 }
334 /**
335 * @param string
336 */
337 public function setRegion($region)
338 {
339 $this->region = $region;
340 }
341 /**
342 * @return string
343 */
344 public function getRegion()
345 {
346 return $this->region;
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 string
364 */
365 public function setSelfLinkWithId($selfLinkWithId)
366 {
367 $this->selfLinkWithId = $selfLinkWithId;
368 }
369 /**
370 * @return string
371 */
372 public function getSelfLinkWithId()
373 {
374 return $this->selfLinkWithId;
375 }
376 /**
377 * @param SetCommonInstanceMetadataOperationMetadata
378 */
379 public function setSetCommonInstanceMetadataOperationMetadata(SetCommonInstanceMetadataOperationMetadata $setCommonInstanceMetadataOperationMetadata)
380 {
381 $this->setCommonInstanceMetadataOperationMetadata = $setCommonInstanceMetadataOperationMetadata;
382 }
383 /**
384 * @return SetCommonInstanceMetadataOperationMetadata
385 */
386 public function getSetCommonInstanceMetadataOperationMetadata()
387 {
388 return $this->setCommonInstanceMetadataOperationMetadata;
389 }
390 /**
391 * @param string
392 */
393 public function setStartTime($startTime)
394 {
395 $this->startTime = $startTime;
396 }
397 /**
398 * @return string
399 */
400 public function getStartTime()
401 {
402 return $this->startTime;
403 }
404 /**
405 * @param string
406 */
407 public function setStatus($status)
408 {
409 $this->status = $status;
410 }
411 /**
412 * @return string
413 */
414 public function getStatus()
415 {
416 return $this->status;
417 }
418 /**
419 * @param string
420 */
421 public function setStatusMessage($statusMessage)
422 {
423 $this->statusMessage = $statusMessage;
424 }
425 /**
426 * @return string
427 */
428 public function getStatusMessage()
429 {
430 return $this->statusMessage;
431 }
432 /**
433 * @param string
434 */
435 public function setTargetId($targetId)
436 {
437 $this->targetId = $targetId;
438 }
439 /**
440 * @return string
441 */
442 public function getTargetId()
443 {
444 return $this->targetId;
445 }
446 /**
447 * @param string
448 */
449 public function setTargetLink($targetLink)
450 {
451 $this->targetLink = $targetLink;
452 }
453 /**
454 * @return string
455 */
456 public function getTargetLink()
457 {
458 return $this->targetLink;
459 }
460 /**
461 * @param string
462 */
463 public function setUser($user)
464 {
465 $this->user = $user;
466 }
467 /**
468 * @return string
469 */
470 public function getUser()
471 {
472 return $this->user;
473 }
474 /**
475 * @param OperationWarnings[]
476 */
477 public function setWarnings($warnings)
478 {
479 $this->warnings = $warnings;
480 }
481 /**
482 * @return OperationWarnings[]
483 */
484 public function getWarnings()
485 {
486 return $this->warnings;
487 }
488 /**
489 * @param string
490 */
491 public function setZone($zone)
492 {
493 $this->zone = $zone;
494 }
495 /**
496 * @return string
497 */
498 public function getZone()
499 {
500 return $this->zone;
501 }
502}
503
504// Adding a class alias for backwards compatibility with the previous class name.
505class_alias(Operation::class, 'Google_Service_DeploymentManager_Operation');
Note: See TracBrowser for help on using the repository browser.