source: vendor/google/apiclient-services/src/Compute/Snapshot.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: 12.1 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 Snapshot extends \Google\Collection
21{
22 protected $collection_key = 'storageLocations';
23 /**
24 * @var string
25 */
26 public $architecture;
27 /**
28 * @var bool
29 */
30 public $autoCreated;
31 /**
32 * @var string
33 */
34 public $chainName;
35 /**
36 * @var string
37 */
38 public $creationSizeBytes;
39 /**
40 * @var string
41 */
42 public $creationTimestamp;
43 /**
44 * @var string
45 */
46 public $description;
47 /**
48 * @var string
49 */
50 public $diskSizeGb;
51 /**
52 * @var string
53 */
54 public $downloadBytes;
55 /**
56 * @var bool
57 */
58 public $enableConfidentialCompute;
59 protected $guestOsFeaturesType = GuestOsFeature::class;
60 protected $guestOsFeaturesDataType = 'array';
61 /**
62 * @var string
63 */
64 public $id;
65 /**
66 * @var string
67 */
68 public $kind;
69 /**
70 * @var string
71 */
72 public $labelFingerprint;
73 /**
74 * @var string[]
75 */
76 public $labels;
77 /**
78 * @var string[]
79 */
80 public $licenseCodes;
81 /**
82 * @var string[]
83 */
84 public $licenses;
85 /**
86 * @var string
87 */
88 public $locationHint;
89 /**
90 * @var string
91 */
92 public $name;
93 /**
94 * @var bool
95 */
96 public $satisfiesPzi;
97 /**
98 * @var bool
99 */
100 public $satisfiesPzs;
101 /**
102 * @var string
103 */
104 public $selfLink;
105 protected $snapshotEncryptionKeyType = CustomerEncryptionKey::class;
106 protected $snapshotEncryptionKeyDataType = '';
107 /**
108 * @var string
109 */
110 public $snapshotType;
111 /**
112 * @var string
113 */
114 public $sourceDisk;
115 protected $sourceDiskEncryptionKeyType = CustomerEncryptionKey::class;
116 protected $sourceDiskEncryptionKeyDataType = '';
117 /**
118 * @var string
119 */
120 public $sourceDiskForRecoveryCheckpoint;
121 /**
122 * @var string
123 */
124 public $sourceDiskId;
125 /**
126 * @var string
127 */
128 public $sourceInstantSnapshot;
129 protected $sourceInstantSnapshotEncryptionKeyType = CustomerEncryptionKey::class;
130 protected $sourceInstantSnapshotEncryptionKeyDataType = '';
131 /**
132 * @var string
133 */
134 public $sourceInstantSnapshotId;
135 /**
136 * @var string
137 */
138 public $sourceSnapshotSchedulePolicy;
139 /**
140 * @var string
141 */
142 public $sourceSnapshotSchedulePolicyId;
143 /**
144 * @var string
145 */
146 public $status;
147 /**
148 * @var string
149 */
150 public $storageBytes;
151 /**
152 * @var string
153 */
154 public $storageBytesStatus;
155 /**
156 * @var string[]
157 */
158 public $storageLocations;
159
160 /**
161 * @param string
162 */
163 public function setArchitecture($architecture)
164 {
165 $this->architecture = $architecture;
166 }
167 /**
168 * @return string
169 */
170 public function getArchitecture()
171 {
172 return $this->architecture;
173 }
174 /**
175 * @param bool
176 */
177 public function setAutoCreated($autoCreated)
178 {
179 $this->autoCreated = $autoCreated;
180 }
181 /**
182 * @return bool
183 */
184 public function getAutoCreated()
185 {
186 return $this->autoCreated;
187 }
188 /**
189 * @param string
190 */
191 public function setChainName($chainName)
192 {
193 $this->chainName = $chainName;
194 }
195 /**
196 * @return string
197 */
198 public function getChainName()
199 {
200 return $this->chainName;
201 }
202 /**
203 * @param string
204 */
205 public function setCreationSizeBytes($creationSizeBytes)
206 {
207 $this->creationSizeBytes = $creationSizeBytes;
208 }
209 /**
210 * @return string
211 */
212 public function getCreationSizeBytes()
213 {
214 return $this->creationSizeBytes;
215 }
216 /**
217 * @param string
218 */
219 public function setCreationTimestamp($creationTimestamp)
220 {
221 $this->creationTimestamp = $creationTimestamp;
222 }
223 /**
224 * @return string
225 */
226 public function getCreationTimestamp()
227 {
228 return $this->creationTimestamp;
229 }
230 /**
231 * @param string
232 */
233 public function setDescription($description)
234 {
235 $this->description = $description;
236 }
237 /**
238 * @return string
239 */
240 public function getDescription()
241 {
242 return $this->description;
243 }
244 /**
245 * @param string
246 */
247 public function setDiskSizeGb($diskSizeGb)
248 {
249 $this->diskSizeGb = $diskSizeGb;
250 }
251 /**
252 * @return string
253 */
254 public function getDiskSizeGb()
255 {
256 return $this->diskSizeGb;
257 }
258 /**
259 * @param string
260 */
261 public function setDownloadBytes($downloadBytes)
262 {
263 $this->downloadBytes = $downloadBytes;
264 }
265 /**
266 * @return string
267 */
268 public function getDownloadBytes()
269 {
270 return $this->downloadBytes;
271 }
272 /**
273 * @param bool
274 */
275 public function setEnableConfidentialCompute($enableConfidentialCompute)
276 {
277 $this->enableConfidentialCompute = $enableConfidentialCompute;
278 }
279 /**
280 * @return bool
281 */
282 public function getEnableConfidentialCompute()
283 {
284 return $this->enableConfidentialCompute;
285 }
286 /**
287 * @param GuestOsFeature[]
288 */
289 public function setGuestOsFeatures($guestOsFeatures)
290 {
291 $this->guestOsFeatures = $guestOsFeatures;
292 }
293 /**
294 * @return GuestOsFeature[]
295 */
296 public function getGuestOsFeatures()
297 {
298 return $this->guestOsFeatures;
299 }
300 /**
301 * @param string
302 */
303 public function setId($id)
304 {
305 $this->id = $id;
306 }
307 /**
308 * @return string
309 */
310 public function getId()
311 {
312 return $this->id;
313 }
314 /**
315 * @param string
316 */
317 public function setKind($kind)
318 {
319 $this->kind = $kind;
320 }
321 /**
322 * @return string
323 */
324 public function getKind()
325 {
326 return $this->kind;
327 }
328 /**
329 * @param string
330 */
331 public function setLabelFingerprint($labelFingerprint)
332 {
333 $this->labelFingerprint = $labelFingerprint;
334 }
335 /**
336 * @return string
337 */
338 public function getLabelFingerprint()
339 {
340 return $this->labelFingerprint;
341 }
342 /**
343 * @param string[]
344 */
345 public function setLabels($labels)
346 {
347 $this->labels = $labels;
348 }
349 /**
350 * @return string[]
351 */
352 public function getLabels()
353 {
354 return $this->labels;
355 }
356 /**
357 * @param string[]
358 */
359 public function setLicenseCodes($licenseCodes)
360 {
361 $this->licenseCodes = $licenseCodes;
362 }
363 /**
364 * @return string[]
365 */
366 public function getLicenseCodes()
367 {
368 return $this->licenseCodes;
369 }
370 /**
371 * @param string[]
372 */
373 public function setLicenses($licenses)
374 {
375 $this->licenses = $licenses;
376 }
377 /**
378 * @return string[]
379 */
380 public function getLicenses()
381 {
382 return $this->licenses;
383 }
384 /**
385 * @param string
386 */
387 public function setLocationHint($locationHint)
388 {
389 $this->locationHint = $locationHint;
390 }
391 /**
392 * @return string
393 */
394 public function getLocationHint()
395 {
396 return $this->locationHint;
397 }
398 /**
399 * @param string
400 */
401 public function setName($name)
402 {
403 $this->name = $name;
404 }
405 /**
406 * @return string
407 */
408 public function getName()
409 {
410 return $this->name;
411 }
412 /**
413 * @param bool
414 */
415 public function setSatisfiesPzi($satisfiesPzi)
416 {
417 $this->satisfiesPzi = $satisfiesPzi;
418 }
419 /**
420 * @return bool
421 */
422 public function getSatisfiesPzi()
423 {
424 return $this->satisfiesPzi;
425 }
426 /**
427 * @param bool
428 */
429 public function setSatisfiesPzs($satisfiesPzs)
430 {
431 $this->satisfiesPzs = $satisfiesPzs;
432 }
433 /**
434 * @return bool
435 */
436 public function getSatisfiesPzs()
437 {
438 return $this->satisfiesPzs;
439 }
440 /**
441 * @param string
442 */
443 public function setSelfLink($selfLink)
444 {
445 $this->selfLink = $selfLink;
446 }
447 /**
448 * @return string
449 */
450 public function getSelfLink()
451 {
452 return $this->selfLink;
453 }
454 /**
455 * @param CustomerEncryptionKey
456 */
457 public function setSnapshotEncryptionKey(CustomerEncryptionKey $snapshotEncryptionKey)
458 {
459 $this->snapshotEncryptionKey = $snapshotEncryptionKey;
460 }
461 /**
462 * @return CustomerEncryptionKey
463 */
464 public function getSnapshotEncryptionKey()
465 {
466 return $this->snapshotEncryptionKey;
467 }
468 /**
469 * @param string
470 */
471 public function setSnapshotType($snapshotType)
472 {
473 $this->snapshotType = $snapshotType;
474 }
475 /**
476 * @return string
477 */
478 public function getSnapshotType()
479 {
480 return $this->snapshotType;
481 }
482 /**
483 * @param string
484 */
485 public function setSourceDisk($sourceDisk)
486 {
487 $this->sourceDisk = $sourceDisk;
488 }
489 /**
490 * @return string
491 */
492 public function getSourceDisk()
493 {
494 return $this->sourceDisk;
495 }
496 /**
497 * @param CustomerEncryptionKey
498 */
499 public function setSourceDiskEncryptionKey(CustomerEncryptionKey $sourceDiskEncryptionKey)
500 {
501 $this->sourceDiskEncryptionKey = $sourceDiskEncryptionKey;
502 }
503 /**
504 * @return CustomerEncryptionKey
505 */
506 public function getSourceDiskEncryptionKey()
507 {
508 return $this->sourceDiskEncryptionKey;
509 }
510 /**
511 * @param string
512 */
513 public function setSourceDiskForRecoveryCheckpoint($sourceDiskForRecoveryCheckpoint)
514 {
515 $this->sourceDiskForRecoveryCheckpoint = $sourceDiskForRecoveryCheckpoint;
516 }
517 /**
518 * @return string
519 */
520 public function getSourceDiskForRecoveryCheckpoint()
521 {
522 return $this->sourceDiskForRecoveryCheckpoint;
523 }
524 /**
525 * @param string
526 */
527 public function setSourceDiskId($sourceDiskId)
528 {
529 $this->sourceDiskId = $sourceDiskId;
530 }
531 /**
532 * @return string
533 */
534 public function getSourceDiskId()
535 {
536 return $this->sourceDiskId;
537 }
538 /**
539 * @param string
540 */
541 public function setSourceInstantSnapshot($sourceInstantSnapshot)
542 {
543 $this->sourceInstantSnapshot = $sourceInstantSnapshot;
544 }
545 /**
546 * @return string
547 */
548 public function getSourceInstantSnapshot()
549 {
550 return $this->sourceInstantSnapshot;
551 }
552 /**
553 * @param CustomerEncryptionKey
554 */
555 public function setSourceInstantSnapshotEncryptionKey(CustomerEncryptionKey $sourceInstantSnapshotEncryptionKey)
556 {
557 $this->sourceInstantSnapshotEncryptionKey = $sourceInstantSnapshotEncryptionKey;
558 }
559 /**
560 * @return CustomerEncryptionKey
561 */
562 public function getSourceInstantSnapshotEncryptionKey()
563 {
564 return $this->sourceInstantSnapshotEncryptionKey;
565 }
566 /**
567 * @param string
568 */
569 public function setSourceInstantSnapshotId($sourceInstantSnapshotId)
570 {
571 $this->sourceInstantSnapshotId = $sourceInstantSnapshotId;
572 }
573 /**
574 * @return string
575 */
576 public function getSourceInstantSnapshotId()
577 {
578 return $this->sourceInstantSnapshotId;
579 }
580 /**
581 * @param string
582 */
583 public function setSourceSnapshotSchedulePolicy($sourceSnapshotSchedulePolicy)
584 {
585 $this->sourceSnapshotSchedulePolicy = $sourceSnapshotSchedulePolicy;
586 }
587 /**
588 * @return string
589 */
590 public function getSourceSnapshotSchedulePolicy()
591 {
592 return $this->sourceSnapshotSchedulePolicy;
593 }
594 /**
595 * @param string
596 */
597 public function setSourceSnapshotSchedulePolicyId($sourceSnapshotSchedulePolicyId)
598 {
599 $this->sourceSnapshotSchedulePolicyId = $sourceSnapshotSchedulePolicyId;
600 }
601 /**
602 * @return string
603 */
604 public function getSourceSnapshotSchedulePolicyId()
605 {
606 return $this->sourceSnapshotSchedulePolicyId;
607 }
608 /**
609 * @param string
610 */
611 public function setStatus($status)
612 {
613 $this->status = $status;
614 }
615 /**
616 * @return string
617 */
618 public function getStatus()
619 {
620 return $this->status;
621 }
622 /**
623 * @param string
624 */
625 public function setStorageBytes($storageBytes)
626 {
627 $this->storageBytes = $storageBytes;
628 }
629 /**
630 * @return string
631 */
632 public function getStorageBytes()
633 {
634 return $this->storageBytes;
635 }
636 /**
637 * @param string
638 */
639 public function setStorageBytesStatus($storageBytesStatus)
640 {
641 $this->storageBytesStatus = $storageBytesStatus;
642 }
643 /**
644 * @return string
645 */
646 public function getStorageBytesStatus()
647 {
648 return $this->storageBytesStatus;
649 }
650 /**
651 * @param string[]
652 */
653 public function setStorageLocations($storageLocations)
654 {
655 $this->storageLocations = $storageLocations;
656 }
657 /**
658 * @return string[]
659 */
660 public function getStorageLocations()
661 {
662 return $this->storageLocations;
663 }
664}
665
666// Adding a class alias for backwards compatibility with the previous class name.
667class_alias(Snapshot::class, 'Google_Service_Compute_Snapshot');
Note: See TracBrowser for help on using the repository browser.