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\Compute;
|
---|
19 |
|
---|
20 | class Disk extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'users';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $accessMode;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $architecture;
|
---|
31 | protected $asyncPrimaryDiskType = DiskAsyncReplication::class;
|
---|
32 | protected $asyncPrimaryDiskDataType = '';
|
---|
33 | protected $asyncSecondaryDisksType = DiskAsyncReplicationList::class;
|
---|
34 | protected $asyncSecondaryDisksDataType = 'map';
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $creationTimestamp;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $description;
|
---|
43 | protected $diskEncryptionKeyType = CustomerEncryptionKey::class;
|
---|
44 | protected $diskEncryptionKeyDataType = '';
|
---|
45 | /**
|
---|
46 | * @var bool
|
---|
47 | */
|
---|
48 | public $enableConfidentialCompute;
|
---|
49 | protected $guestOsFeaturesType = GuestOsFeature::class;
|
---|
50 | protected $guestOsFeaturesDataType = 'array';
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $id;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $kind;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $labelFingerprint;
|
---|
63 | /**
|
---|
64 | * @var string[]
|
---|
65 | */
|
---|
66 | public $labels;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $lastAttachTimestamp;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $lastDetachTimestamp;
|
---|
75 | /**
|
---|
76 | * @var string[]
|
---|
77 | */
|
---|
78 | public $licenseCodes;
|
---|
79 | /**
|
---|
80 | * @var string[]
|
---|
81 | */
|
---|
82 | public $licenses;
|
---|
83 | /**
|
---|
84 | * @var string
|
---|
85 | */
|
---|
86 | public $locationHint;
|
---|
87 | /**
|
---|
88 | * @var string
|
---|
89 | */
|
---|
90 | public $name;
|
---|
91 | /**
|
---|
92 | * @var string
|
---|
93 | */
|
---|
94 | public $options;
|
---|
95 | protected $paramsType = DiskParams::class;
|
---|
96 | protected $paramsDataType = '';
|
---|
97 | /**
|
---|
98 | * @var string
|
---|
99 | */
|
---|
100 | public $physicalBlockSizeBytes;
|
---|
101 | /**
|
---|
102 | * @var string
|
---|
103 | */
|
---|
104 | public $provisionedIops;
|
---|
105 | /**
|
---|
106 | * @var string
|
---|
107 | */
|
---|
108 | public $provisionedThroughput;
|
---|
109 | /**
|
---|
110 | * @var string
|
---|
111 | */
|
---|
112 | public $region;
|
---|
113 | /**
|
---|
114 | * @var string[]
|
---|
115 | */
|
---|
116 | public $replicaZones;
|
---|
117 | /**
|
---|
118 | * @var string[]
|
---|
119 | */
|
---|
120 | public $resourcePolicies;
|
---|
121 | protected $resourceStatusType = DiskResourceStatus::class;
|
---|
122 | protected $resourceStatusDataType = '';
|
---|
123 | /**
|
---|
124 | * @var bool
|
---|
125 | */
|
---|
126 | public $satisfiesPzi;
|
---|
127 | /**
|
---|
128 | * @var bool
|
---|
129 | */
|
---|
130 | public $satisfiesPzs;
|
---|
131 | /**
|
---|
132 | * @var string
|
---|
133 | */
|
---|
134 | public $selfLink;
|
---|
135 | /**
|
---|
136 | * @var string
|
---|
137 | */
|
---|
138 | public $sizeGb;
|
---|
139 | /**
|
---|
140 | * @var string
|
---|
141 | */
|
---|
142 | public $sourceConsistencyGroupPolicy;
|
---|
143 | /**
|
---|
144 | * @var string
|
---|
145 | */
|
---|
146 | public $sourceConsistencyGroupPolicyId;
|
---|
147 | /**
|
---|
148 | * @var string
|
---|
149 | */
|
---|
150 | public $sourceDisk;
|
---|
151 | /**
|
---|
152 | * @var string
|
---|
153 | */
|
---|
154 | public $sourceDiskId;
|
---|
155 | /**
|
---|
156 | * @var string
|
---|
157 | */
|
---|
158 | public $sourceImage;
|
---|
159 | protected $sourceImageEncryptionKeyType = CustomerEncryptionKey::class;
|
---|
160 | protected $sourceImageEncryptionKeyDataType = '';
|
---|
161 | /**
|
---|
162 | * @var string
|
---|
163 | */
|
---|
164 | public $sourceImageId;
|
---|
165 | /**
|
---|
166 | * @var string
|
---|
167 | */
|
---|
168 | public $sourceInstantSnapshot;
|
---|
169 | /**
|
---|
170 | * @var string
|
---|
171 | */
|
---|
172 | public $sourceInstantSnapshotId;
|
---|
173 | /**
|
---|
174 | * @var string
|
---|
175 | */
|
---|
176 | public $sourceSnapshot;
|
---|
177 | protected $sourceSnapshotEncryptionKeyType = CustomerEncryptionKey::class;
|
---|
178 | protected $sourceSnapshotEncryptionKeyDataType = '';
|
---|
179 | /**
|
---|
180 | * @var string
|
---|
181 | */
|
---|
182 | public $sourceSnapshotId;
|
---|
183 | /**
|
---|
184 | * @var string
|
---|
185 | */
|
---|
186 | public $sourceStorageObject;
|
---|
187 | /**
|
---|
188 | * @var string
|
---|
189 | */
|
---|
190 | public $status;
|
---|
191 | /**
|
---|
192 | * @var string
|
---|
193 | */
|
---|
194 | public $storagePool;
|
---|
195 | /**
|
---|
196 | * @var string
|
---|
197 | */
|
---|
198 | public $type;
|
---|
199 | /**
|
---|
200 | * @var string[]
|
---|
201 | */
|
---|
202 | public $users;
|
---|
203 | /**
|
---|
204 | * @var string
|
---|
205 | */
|
---|
206 | public $zone;
|
---|
207 |
|
---|
208 | /**
|
---|
209 | * @param string
|
---|
210 | */
|
---|
211 | public function setAccessMode($accessMode)
|
---|
212 | {
|
---|
213 | $this->accessMode = $accessMode;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @return string
|
---|
217 | */
|
---|
218 | public function getAccessMode()
|
---|
219 | {
|
---|
220 | return $this->accessMode;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @param string
|
---|
224 | */
|
---|
225 | public function setArchitecture($architecture)
|
---|
226 | {
|
---|
227 | $this->architecture = $architecture;
|
---|
228 | }
|
---|
229 | /**
|
---|
230 | * @return string
|
---|
231 | */
|
---|
232 | public function getArchitecture()
|
---|
233 | {
|
---|
234 | return $this->architecture;
|
---|
235 | }
|
---|
236 | /**
|
---|
237 | * @param DiskAsyncReplication
|
---|
238 | */
|
---|
239 | public function setAsyncPrimaryDisk(DiskAsyncReplication $asyncPrimaryDisk)
|
---|
240 | {
|
---|
241 | $this->asyncPrimaryDisk = $asyncPrimaryDisk;
|
---|
242 | }
|
---|
243 | /**
|
---|
244 | * @return DiskAsyncReplication
|
---|
245 | */
|
---|
246 | public function getAsyncPrimaryDisk()
|
---|
247 | {
|
---|
248 | return $this->asyncPrimaryDisk;
|
---|
249 | }
|
---|
250 | /**
|
---|
251 | * @param DiskAsyncReplicationList[]
|
---|
252 | */
|
---|
253 | public function setAsyncSecondaryDisks($asyncSecondaryDisks)
|
---|
254 | {
|
---|
255 | $this->asyncSecondaryDisks = $asyncSecondaryDisks;
|
---|
256 | }
|
---|
257 | /**
|
---|
258 | * @return DiskAsyncReplicationList[]
|
---|
259 | */
|
---|
260 | public function getAsyncSecondaryDisks()
|
---|
261 | {
|
---|
262 | return $this->asyncSecondaryDisks;
|
---|
263 | }
|
---|
264 | /**
|
---|
265 | * @param string
|
---|
266 | */
|
---|
267 | public function setCreationTimestamp($creationTimestamp)
|
---|
268 | {
|
---|
269 | $this->creationTimestamp = $creationTimestamp;
|
---|
270 | }
|
---|
271 | /**
|
---|
272 | * @return string
|
---|
273 | */
|
---|
274 | public function getCreationTimestamp()
|
---|
275 | {
|
---|
276 | return $this->creationTimestamp;
|
---|
277 | }
|
---|
278 | /**
|
---|
279 | * @param string
|
---|
280 | */
|
---|
281 | public function setDescription($description)
|
---|
282 | {
|
---|
283 | $this->description = $description;
|
---|
284 | }
|
---|
285 | /**
|
---|
286 | * @return string
|
---|
287 | */
|
---|
288 | public function getDescription()
|
---|
289 | {
|
---|
290 | return $this->description;
|
---|
291 | }
|
---|
292 | /**
|
---|
293 | * @param CustomerEncryptionKey
|
---|
294 | */
|
---|
295 | public function setDiskEncryptionKey(CustomerEncryptionKey $diskEncryptionKey)
|
---|
296 | {
|
---|
297 | $this->diskEncryptionKey = $diskEncryptionKey;
|
---|
298 | }
|
---|
299 | /**
|
---|
300 | * @return CustomerEncryptionKey
|
---|
301 | */
|
---|
302 | public function getDiskEncryptionKey()
|
---|
303 | {
|
---|
304 | return $this->diskEncryptionKey;
|
---|
305 | }
|
---|
306 | /**
|
---|
307 | * @param bool
|
---|
308 | */
|
---|
309 | public function setEnableConfidentialCompute($enableConfidentialCompute)
|
---|
310 | {
|
---|
311 | $this->enableConfidentialCompute = $enableConfidentialCompute;
|
---|
312 | }
|
---|
313 | /**
|
---|
314 | * @return bool
|
---|
315 | */
|
---|
316 | public function getEnableConfidentialCompute()
|
---|
317 | {
|
---|
318 | return $this->enableConfidentialCompute;
|
---|
319 | }
|
---|
320 | /**
|
---|
321 | * @param GuestOsFeature[]
|
---|
322 | */
|
---|
323 | public function setGuestOsFeatures($guestOsFeatures)
|
---|
324 | {
|
---|
325 | $this->guestOsFeatures = $guestOsFeatures;
|
---|
326 | }
|
---|
327 | /**
|
---|
328 | * @return GuestOsFeature[]
|
---|
329 | */
|
---|
330 | public function getGuestOsFeatures()
|
---|
331 | {
|
---|
332 | return $this->guestOsFeatures;
|
---|
333 | }
|
---|
334 | /**
|
---|
335 | * @param string
|
---|
336 | */
|
---|
337 | public function setId($id)
|
---|
338 | {
|
---|
339 | $this->id = $id;
|
---|
340 | }
|
---|
341 | /**
|
---|
342 | * @return string
|
---|
343 | */
|
---|
344 | public function getId()
|
---|
345 | {
|
---|
346 | return $this->id;
|
---|
347 | }
|
---|
348 | /**
|
---|
349 | * @param string
|
---|
350 | */
|
---|
351 | public function setKind($kind)
|
---|
352 | {
|
---|
353 | $this->kind = $kind;
|
---|
354 | }
|
---|
355 | /**
|
---|
356 | * @return string
|
---|
357 | */
|
---|
358 | public function getKind()
|
---|
359 | {
|
---|
360 | return $this->kind;
|
---|
361 | }
|
---|
362 | /**
|
---|
363 | * @param string
|
---|
364 | */
|
---|
365 | public function setLabelFingerprint($labelFingerprint)
|
---|
366 | {
|
---|
367 | $this->labelFingerprint = $labelFingerprint;
|
---|
368 | }
|
---|
369 | /**
|
---|
370 | * @return string
|
---|
371 | */
|
---|
372 | public function getLabelFingerprint()
|
---|
373 | {
|
---|
374 | return $this->labelFingerprint;
|
---|
375 | }
|
---|
376 | /**
|
---|
377 | * @param string[]
|
---|
378 | */
|
---|
379 | public function setLabels($labels)
|
---|
380 | {
|
---|
381 | $this->labels = $labels;
|
---|
382 | }
|
---|
383 | /**
|
---|
384 | * @return string[]
|
---|
385 | */
|
---|
386 | public function getLabels()
|
---|
387 | {
|
---|
388 | return $this->labels;
|
---|
389 | }
|
---|
390 | /**
|
---|
391 | * @param string
|
---|
392 | */
|
---|
393 | public function setLastAttachTimestamp($lastAttachTimestamp)
|
---|
394 | {
|
---|
395 | $this->lastAttachTimestamp = $lastAttachTimestamp;
|
---|
396 | }
|
---|
397 | /**
|
---|
398 | * @return string
|
---|
399 | */
|
---|
400 | public function getLastAttachTimestamp()
|
---|
401 | {
|
---|
402 | return $this->lastAttachTimestamp;
|
---|
403 | }
|
---|
404 | /**
|
---|
405 | * @param string
|
---|
406 | */
|
---|
407 | public function setLastDetachTimestamp($lastDetachTimestamp)
|
---|
408 | {
|
---|
409 | $this->lastDetachTimestamp = $lastDetachTimestamp;
|
---|
410 | }
|
---|
411 | /**
|
---|
412 | * @return string
|
---|
413 | */
|
---|
414 | public function getLastDetachTimestamp()
|
---|
415 | {
|
---|
416 | return $this->lastDetachTimestamp;
|
---|
417 | }
|
---|
418 | /**
|
---|
419 | * @param string[]
|
---|
420 | */
|
---|
421 | public function setLicenseCodes($licenseCodes)
|
---|
422 | {
|
---|
423 | $this->licenseCodes = $licenseCodes;
|
---|
424 | }
|
---|
425 | /**
|
---|
426 | * @return string[]
|
---|
427 | */
|
---|
428 | public function getLicenseCodes()
|
---|
429 | {
|
---|
430 | return $this->licenseCodes;
|
---|
431 | }
|
---|
432 | /**
|
---|
433 | * @param string[]
|
---|
434 | */
|
---|
435 | public function setLicenses($licenses)
|
---|
436 | {
|
---|
437 | $this->licenses = $licenses;
|
---|
438 | }
|
---|
439 | /**
|
---|
440 | * @return string[]
|
---|
441 | */
|
---|
442 | public function getLicenses()
|
---|
443 | {
|
---|
444 | return $this->licenses;
|
---|
445 | }
|
---|
446 | /**
|
---|
447 | * @param string
|
---|
448 | */
|
---|
449 | public function setLocationHint($locationHint)
|
---|
450 | {
|
---|
451 | $this->locationHint = $locationHint;
|
---|
452 | }
|
---|
453 | /**
|
---|
454 | * @return string
|
---|
455 | */
|
---|
456 | public function getLocationHint()
|
---|
457 | {
|
---|
458 | return $this->locationHint;
|
---|
459 | }
|
---|
460 | /**
|
---|
461 | * @param string
|
---|
462 | */
|
---|
463 | public function setName($name)
|
---|
464 | {
|
---|
465 | $this->name = $name;
|
---|
466 | }
|
---|
467 | /**
|
---|
468 | * @return string
|
---|
469 | */
|
---|
470 | public function getName()
|
---|
471 | {
|
---|
472 | return $this->name;
|
---|
473 | }
|
---|
474 | /**
|
---|
475 | * @param string
|
---|
476 | */
|
---|
477 | public function setOptions($options)
|
---|
478 | {
|
---|
479 | $this->options = $options;
|
---|
480 | }
|
---|
481 | /**
|
---|
482 | * @return string
|
---|
483 | */
|
---|
484 | public function getOptions()
|
---|
485 | {
|
---|
486 | return $this->options;
|
---|
487 | }
|
---|
488 | /**
|
---|
489 | * @param DiskParams
|
---|
490 | */
|
---|
491 | public function setParams(DiskParams $params)
|
---|
492 | {
|
---|
493 | $this->params = $params;
|
---|
494 | }
|
---|
495 | /**
|
---|
496 | * @return DiskParams
|
---|
497 | */
|
---|
498 | public function getParams()
|
---|
499 | {
|
---|
500 | return $this->params;
|
---|
501 | }
|
---|
502 | /**
|
---|
503 | * @param string
|
---|
504 | */
|
---|
505 | public function setPhysicalBlockSizeBytes($physicalBlockSizeBytes)
|
---|
506 | {
|
---|
507 | $this->physicalBlockSizeBytes = $physicalBlockSizeBytes;
|
---|
508 | }
|
---|
509 | /**
|
---|
510 | * @return string
|
---|
511 | */
|
---|
512 | public function getPhysicalBlockSizeBytes()
|
---|
513 | {
|
---|
514 | return $this->physicalBlockSizeBytes;
|
---|
515 | }
|
---|
516 | /**
|
---|
517 | * @param string
|
---|
518 | */
|
---|
519 | public function setProvisionedIops($provisionedIops)
|
---|
520 | {
|
---|
521 | $this->provisionedIops = $provisionedIops;
|
---|
522 | }
|
---|
523 | /**
|
---|
524 | * @return string
|
---|
525 | */
|
---|
526 | public function getProvisionedIops()
|
---|
527 | {
|
---|
528 | return $this->provisionedIops;
|
---|
529 | }
|
---|
530 | /**
|
---|
531 | * @param string
|
---|
532 | */
|
---|
533 | public function setProvisionedThroughput($provisionedThroughput)
|
---|
534 | {
|
---|
535 | $this->provisionedThroughput = $provisionedThroughput;
|
---|
536 | }
|
---|
537 | /**
|
---|
538 | * @return string
|
---|
539 | */
|
---|
540 | public function getProvisionedThroughput()
|
---|
541 | {
|
---|
542 | return $this->provisionedThroughput;
|
---|
543 | }
|
---|
544 | /**
|
---|
545 | * @param string
|
---|
546 | */
|
---|
547 | public function setRegion($region)
|
---|
548 | {
|
---|
549 | $this->region = $region;
|
---|
550 | }
|
---|
551 | /**
|
---|
552 | * @return string
|
---|
553 | */
|
---|
554 | public function getRegion()
|
---|
555 | {
|
---|
556 | return $this->region;
|
---|
557 | }
|
---|
558 | /**
|
---|
559 | * @param string[]
|
---|
560 | */
|
---|
561 | public function setReplicaZones($replicaZones)
|
---|
562 | {
|
---|
563 | $this->replicaZones = $replicaZones;
|
---|
564 | }
|
---|
565 | /**
|
---|
566 | * @return string[]
|
---|
567 | */
|
---|
568 | public function getReplicaZones()
|
---|
569 | {
|
---|
570 | return $this->replicaZones;
|
---|
571 | }
|
---|
572 | /**
|
---|
573 | * @param string[]
|
---|
574 | */
|
---|
575 | public function setResourcePolicies($resourcePolicies)
|
---|
576 | {
|
---|
577 | $this->resourcePolicies = $resourcePolicies;
|
---|
578 | }
|
---|
579 | /**
|
---|
580 | * @return string[]
|
---|
581 | */
|
---|
582 | public function getResourcePolicies()
|
---|
583 | {
|
---|
584 | return $this->resourcePolicies;
|
---|
585 | }
|
---|
586 | /**
|
---|
587 | * @param DiskResourceStatus
|
---|
588 | */
|
---|
589 | public function setResourceStatus(DiskResourceStatus $resourceStatus)
|
---|
590 | {
|
---|
591 | $this->resourceStatus = $resourceStatus;
|
---|
592 | }
|
---|
593 | /**
|
---|
594 | * @return DiskResourceStatus
|
---|
595 | */
|
---|
596 | public function getResourceStatus()
|
---|
597 | {
|
---|
598 | return $this->resourceStatus;
|
---|
599 | }
|
---|
600 | /**
|
---|
601 | * @param bool
|
---|
602 | */
|
---|
603 | public function setSatisfiesPzi($satisfiesPzi)
|
---|
604 | {
|
---|
605 | $this->satisfiesPzi = $satisfiesPzi;
|
---|
606 | }
|
---|
607 | /**
|
---|
608 | * @return bool
|
---|
609 | */
|
---|
610 | public function getSatisfiesPzi()
|
---|
611 | {
|
---|
612 | return $this->satisfiesPzi;
|
---|
613 | }
|
---|
614 | /**
|
---|
615 | * @param bool
|
---|
616 | */
|
---|
617 | public function setSatisfiesPzs($satisfiesPzs)
|
---|
618 | {
|
---|
619 | $this->satisfiesPzs = $satisfiesPzs;
|
---|
620 | }
|
---|
621 | /**
|
---|
622 | * @return bool
|
---|
623 | */
|
---|
624 | public function getSatisfiesPzs()
|
---|
625 | {
|
---|
626 | return $this->satisfiesPzs;
|
---|
627 | }
|
---|
628 | /**
|
---|
629 | * @param string
|
---|
630 | */
|
---|
631 | public function setSelfLink($selfLink)
|
---|
632 | {
|
---|
633 | $this->selfLink = $selfLink;
|
---|
634 | }
|
---|
635 | /**
|
---|
636 | * @return string
|
---|
637 | */
|
---|
638 | public function getSelfLink()
|
---|
639 | {
|
---|
640 | return $this->selfLink;
|
---|
641 | }
|
---|
642 | /**
|
---|
643 | * @param string
|
---|
644 | */
|
---|
645 | public function setSizeGb($sizeGb)
|
---|
646 | {
|
---|
647 | $this->sizeGb = $sizeGb;
|
---|
648 | }
|
---|
649 | /**
|
---|
650 | * @return string
|
---|
651 | */
|
---|
652 | public function getSizeGb()
|
---|
653 | {
|
---|
654 | return $this->sizeGb;
|
---|
655 | }
|
---|
656 | /**
|
---|
657 | * @param string
|
---|
658 | */
|
---|
659 | public function setSourceConsistencyGroupPolicy($sourceConsistencyGroupPolicy)
|
---|
660 | {
|
---|
661 | $this->sourceConsistencyGroupPolicy = $sourceConsistencyGroupPolicy;
|
---|
662 | }
|
---|
663 | /**
|
---|
664 | * @return string
|
---|
665 | */
|
---|
666 | public function getSourceConsistencyGroupPolicy()
|
---|
667 | {
|
---|
668 | return $this->sourceConsistencyGroupPolicy;
|
---|
669 | }
|
---|
670 | /**
|
---|
671 | * @param string
|
---|
672 | */
|
---|
673 | public function setSourceConsistencyGroupPolicyId($sourceConsistencyGroupPolicyId)
|
---|
674 | {
|
---|
675 | $this->sourceConsistencyGroupPolicyId = $sourceConsistencyGroupPolicyId;
|
---|
676 | }
|
---|
677 | /**
|
---|
678 | * @return string
|
---|
679 | */
|
---|
680 | public function getSourceConsistencyGroupPolicyId()
|
---|
681 | {
|
---|
682 | return $this->sourceConsistencyGroupPolicyId;
|
---|
683 | }
|
---|
684 | /**
|
---|
685 | * @param string
|
---|
686 | */
|
---|
687 | public function setSourceDisk($sourceDisk)
|
---|
688 | {
|
---|
689 | $this->sourceDisk = $sourceDisk;
|
---|
690 | }
|
---|
691 | /**
|
---|
692 | * @return string
|
---|
693 | */
|
---|
694 | public function getSourceDisk()
|
---|
695 | {
|
---|
696 | return $this->sourceDisk;
|
---|
697 | }
|
---|
698 | /**
|
---|
699 | * @param string
|
---|
700 | */
|
---|
701 | public function setSourceDiskId($sourceDiskId)
|
---|
702 | {
|
---|
703 | $this->sourceDiskId = $sourceDiskId;
|
---|
704 | }
|
---|
705 | /**
|
---|
706 | * @return string
|
---|
707 | */
|
---|
708 | public function getSourceDiskId()
|
---|
709 | {
|
---|
710 | return $this->sourceDiskId;
|
---|
711 | }
|
---|
712 | /**
|
---|
713 | * @param string
|
---|
714 | */
|
---|
715 | public function setSourceImage($sourceImage)
|
---|
716 | {
|
---|
717 | $this->sourceImage = $sourceImage;
|
---|
718 | }
|
---|
719 | /**
|
---|
720 | * @return string
|
---|
721 | */
|
---|
722 | public function getSourceImage()
|
---|
723 | {
|
---|
724 | return $this->sourceImage;
|
---|
725 | }
|
---|
726 | /**
|
---|
727 | * @param CustomerEncryptionKey
|
---|
728 | */
|
---|
729 | public function setSourceImageEncryptionKey(CustomerEncryptionKey $sourceImageEncryptionKey)
|
---|
730 | {
|
---|
731 | $this->sourceImageEncryptionKey = $sourceImageEncryptionKey;
|
---|
732 | }
|
---|
733 | /**
|
---|
734 | * @return CustomerEncryptionKey
|
---|
735 | */
|
---|
736 | public function getSourceImageEncryptionKey()
|
---|
737 | {
|
---|
738 | return $this->sourceImageEncryptionKey;
|
---|
739 | }
|
---|
740 | /**
|
---|
741 | * @param string
|
---|
742 | */
|
---|
743 | public function setSourceImageId($sourceImageId)
|
---|
744 | {
|
---|
745 | $this->sourceImageId = $sourceImageId;
|
---|
746 | }
|
---|
747 | /**
|
---|
748 | * @return string
|
---|
749 | */
|
---|
750 | public function getSourceImageId()
|
---|
751 | {
|
---|
752 | return $this->sourceImageId;
|
---|
753 | }
|
---|
754 | /**
|
---|
755 | * @param string
|
---|
756 | */
|
---|
757 | public function setSourceInstantSnapshot($sourceInstantSnapshot)
|
---|
758 | {
|
---|
759 | $this->sourceInstantSnapshot = $sourceInstantSnapshot;
|
---|
760 | }
|
---|
761 | /**
|
---|
762 | * @return string
|
---|
763 | */
|
---|
764 | public function getSourceInstantSnapshot()
|
---|
765 | {
|
---|
766 | return $this->sourceInstantSnapshot;
|
---|
767 | }
|
---|
768 | /**
|
---|
769 | * @param string
|
---|
770 | */
|
---|
771 | public function setSourceInstantSnapshotId($sourceInstantSnapshotId)
|
---|
772 | {
|
---|
773 | $this->sourceInstantSnapshotId = $sourceInstantSnapshotId;
|
---|
774 | }
|
---|
775 | /**
|
---|
776 | * @return string
|
---|
777 | */
|
---|
778 | public function getSourceInstantSnapshotId()
|
---|
779 | {
|
---|
780 | return $this->sourceInstantSnapshotId;
|
---|
781 | }
|
---|
782 | /**
|
---|
783 | * @param string
|
---|
784 | */
|
---|
785 | public function setSourceSnapshot($sourceSnapshot)
|
---|
786 | {
|
---|
787 | $this->sourceSnapshot = $sourceSnapshot;
|
---|
788 | }
|
---|
789 | /**
|
---|
790 | * @return string
|
---|
791 | */
|
---|
792 | public function getSourceSnapshot()
|
---|
793 | {
|
---|
794 | return $this->sourceSnapshot;
|
---|
795 | }
|
---|
796 | /**
|
---|
797 | * @param CustomerEncryptionKey
|
---|
798 | */
|
---|
799 | public function setSourceSnapshotEncryptionKey(CustomerEncryptionKey $sourceSnapshotEncryptionKey)
|
---|
800 | {
|
---|
801 | $this->sourceSnapshotEncryptionKey = $sourceSnapshotEncryptionKey;
|
---|
802 | }
|
---|
803 | /**
|
---|
804 | * @return CustomerEncryptionKey
|
---|
805 | */
|
---|
806 | public function getSourceSnapshotEncryptionKey()
|
---|
807 | {
|
---|
808 | return $this->sourceSnapshotEncryptionKey;
|
---|
809 | }
|
---|
810 | /**
|
---|
811 | * @param string
|
---|
812 | */
|
---|
813 | public function setSourceSnapshotId($sourceSnapshotId)
|
---|
814 | {
|
---|
815 | $this->sourceSnapshotId = $sourceSnapshotId;
|
---|
816 | }
|
---|
817 | /**
|
---|
818 | * @return string
|
---|
819 | */
|
---|
820 | public function getSourceSnapshotId()
|
---|
821 | {
|
---|
822 | return $this->sourceSnapshotId;
|
---|
823 | }
|
---|
824 | /**
|
---|
825 | * @param string
|
---|
826 | */
|
---|
827 | public function setSourceStorageObject($sourceStorageObject)
|
---|
828 | {
|
---|
829 | $this->sourceStorageObject = $sourceStorageObject;
|
---|
830 | }
|
---|
831 | /**
|
---|
832 | * @return string
|
---|
833 | */
|
---|
834 | public function getSourceStorageObject()
|
---|
835 | {
|
---|
836 | return $this->sourceStorageObject;
|
---|
837 | }
|
---|
838 | /**
|
---|
839 | * @param string
|
---|
840 | */
|
---|
841 | public function setStatus($status)
|
---|
842 | {
|
---|
843 | $this->status = $status;
|
---|
844 | }
|
---|
845 | /**
|
---|
846 | * @return string
|
---|
847 | */
|
---|
848 | public function getStatus()
|
---|
849 | {
|
---|
850 | return $this->status;
|
---|
851 | }
|
---|
852 | /**
|
---|
853 | * @param string
|
---|
854 | */
|
---|
855 | public function setStoragePool($storagePool)
|
---|
856 | {
|
---|
857 | $this->storagePool = $storagePool;
|
---|
858 | }
|
---|
859 | /**
|
---|
860 | * @return string
|
---|
861 | */
|
---|
862 | public function getStoragePool()
|
---|
863 | {
|
---|
864 | return $this->storagePool;
|
---|
865 | }
|
---|
866 | /**
|
---|
867 | * @param string
|
---|
868 | */
|
---|
869 | public function setType($type)
|
---|
870 | {
|
---|
871 | $this->type = $type;
|
---|
872 | }
|
---|
873 | /**
|
---|
874 | * @return string
|
---|
875 | */
|
---|
876 | public function getType()
|
---|
877 | {
|
---|
878 | return $this->type;
|
---|
879 | }
|
---|
880 | /**
|
---|
881 | * @param string[]
|
---|
882 | */
|
---|
883 | public function setUsers($users)
|
---|
884 | {
|
---|
885 | $this->users = $users;
|
---|
886 | }
|
---|
887 | /**
|
---|
888 | * @return string[]
|
---|
889 | */
|
---|
890 | public function getUsers()
|
---|
891 | {
|
---|
892 | return $this->users;
|
---|
893 | }
|
---|
894 | /**
|
---|
895 | * @param string
|
---|
896 | */
|
---|
897 | public function setZone($zone)
|
---|
898 | {
|
---|
899 | $this->zone = $zone;
|
---|
900 | }
|
---|
901 | /**
|
---|
902 | * @return string
|
---|
903 | */
|
---|
904 | public function getZone()
|
---|
905 | {
|
---|
906 | return $this->zone;
|
---|
907 | }
|
---|
908 | }
|
---|
909 |
|
---|
910 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
911 | class_alias(Disk::class, 'Google_Service_Compute_Disk');
|
---|