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 Instance extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'serviceAccounts';
|
---|
23 | protected $advancedMachineFeaturesType = AdvancedMachineFeatures::class;
|
---|
24 | protected $advancedMachineFeaturesDataType = '';
|
---|
25 | /**
|
---|
26 | * @var bool
|
---|
27 | */
|
---|
28 | public $canIpForward;
|
---|
29 | protected $confidentialInstanceConfigType = ConfidentialInstanceConfig::class;
|
---|
30 | protected $confidentialInstanceConfigDataType = '';
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $cpuPlatform;
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $creationTimestamp;
|
---|
39 | /**
|
---|
40 | * @var bool
|
---|
41 | */
|
---|
42 | public $deletionProtection;
|
---|
43 | /**
|
---|
44 | * @var string
|
---|
45 | */
|
---|
46 | public $description;
|
---|
47 | protected $disksType = AttachedDisk::class;
|
---|
48 | protected $disksDataType = 'array';
|
---|
49 | protected $displayDeviceType = DisplayDevice::class;
|
---|
50 | protected $displayDeviceDataType = '';
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $fingerprint;
|
---|
55 | protected $guestAcceleratorsType = AcceleratorConfig::class;
|
---|
56 | protected $guestAcceleratorsDataType = 'array';
|
---|
57 | /**
|
---|
58 | * @var string
|
---|
59 | */
|
---|
60 | public $hostname;
|
---|
61 | /**
|
---|
62 | * @var string
|
---|
63 | */
|
---|
64 | public $id;
|
---|
65 | protected $instanceEncryptionKeyType = CustomerEncryptionKey::class;
|
---|
66 | protected $instanceEncryptionKeyDataType = '';
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $keyRevocationActionType;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $kind;
|
---|
75 | /**
|
---|
76 | * @var string
|
---|
77 | */
|
---|
78 | public $labelFingerprint;
|
---|
79 | /**
|
---|
80 | * @var string[]
|
---|
81 | */
|
---|
82 | public $labels;
|
---|
83 | /**
|
---|
84 | * @var string
|
---|
85 | */
|
---|
86 | public $lastStartTimestamp;
|
---|
87 | /**
|
---|
88 | * @var string
|
---|
89 | */
|
---|
90 | public $lastStopTimestamp;
|
---|
91 | /**
|
---|
92 | * @var string
|
---|
93 | */
|
---|
94 | public $lastSuspendedTimestamp;
|
---|
95 | /**
|
---|
96 | * @var string
|
---|
97 | */
|
---|
98 | public $machineType;
|
---|
99 | protected $metadataType = Metadata::class;
|
---|
100 | protected $metadataDataType = '';
|
---|
101 | /**
|
---|
102 | * @var string
|
---|
103 | */
|
---|
104 | public $minCpuPlatform;
|
---|
105 | /**
|
---|
106 | * @var string
|
---|
107 | */
|
---|
108 | public $name;
|
---|
109 | protected $networkInterfacesType = NetworkInterface::class;
|
---|
110 | protected $networkInterfacesDataType = 'array';
|
---|
111 | protected $networkPerformanceConfigType = NetworkPerformanceConfig::class;
|
---|
112 | protected $networkPerformanceConfigDataType = '';
|
---|
113 | protected $paramsType = InstanceParams::class;
|
---|
114 | protected $paramsDataType = '';
|
---|
115 | /**
|
---|
116 | * @var string
|
---|
117 | */
|
---|
118 | public $privateIpv6GoogleAccess;
|
---|
119 | protected $reservationAffinityType = ReservationAffinity::class;
|
---|
120 | protected $reservationAffinityDataType = '';
|
---|
121 | /**
|
---|
122 | * @var string[]
|
---|
123 | */
|
---|
124 | public $resourcePolicies;
|
---|
125 | protected $resourceStatusType = ResourceStatus::class;
|
---|
126 | protected $resourceStatusDataType = '';
|
---|
127 | /**
|
---|
128 | * @var bool
|
---|
129 | */
|
---|
130 | public $satisfiesPzi;
|
---|
131 | /**
|
---|
132 | * @var bool
|
---|
133 | */
|
---|
134 | public $satisfiesPzs;
|
---|
135 | protected $schedulingType = Scheduling::class;
|
---|
136 | protected $schedulingDataType = '';
|
---|
137 | /**
|
---|
138 | * @var string
|
---|
139 | */
|
---|
140 | public $selfLink;
|
---|
141 | protected $serviceAccountsType = ServiceAccount::class;
|
---|
142 | protected $serviceAccountsDataType = 'array';
|
---|
143 | protected $shieldedInstanceConfigType = ShieldedInstanceConfig::class;
|
---|
144 | protected $shieldedInstanceConfigDataType = '';
|
---|
145 | protected $shieldedInstanceIntegrityPolicyType = ShieldedInstanceIntegrityPolicy::class;
|
---|
146 | protected $shieldedInstanceIntegrityPolicyDataType = '';
|
---|
147 | /**
|
---|
148 | * @var string
|
---|
149 | */
|
---|
150 | public $sourceMachineImage;
|
---|
151 | protected $sourceMachineImageEncryptionKeyType = CustomerEncryptionKey::class;
|
---|
152 | protected $sourceMachineImageEncryptionKeyDataType = '';
|
---|
153 | /**
|
---|
154 | * @var bool
|
---|
155 | */
|
---|
156 | public $startRestricted;
|
---|
157 | /**
|
---|
158 | * @var string
|
---|
159 | */
|
---|
160 | public $status;
|
---|
161 | /**
|
---|
162 | * @var string
|
---|
163 | */
|
---|
164 | public $statusMessage;
|
---|
165 | protected $tagsType = Tags::class;
|
---|
166 | protected $tagsDataType = '';
|
---|
167 | /**
|
---|
168 | * @var string
|
---|
169 | */
|
---|
170 | public $zone;
|
---|
171 |
|
---|
172 | /**
|
---|
173 | * @param AdvancedMachineFeatures
|
---|
174 | */
|
---|
175 | public function setAdvancedMachineFeatures(AdvancedMachineFeatures $advancedMachineFeatures)
|
---|
176 | {
|
---|
177 | $this->advancedMachineFeatures = $advancedMachineFeatures;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @return AdvancedMachineFeatures
|
---|
181 | */
|
---|
182 | public function getAdvancedMachineFeatures()
|
---|
183 | {
|
---|
184 | return $this->advancedMachineFeatures;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @param bool
|
---|
188 | */
|
---|
189 | public function setCanIpForward($canIpForward)
|
---|
190 | {
|
---|
191 | $this->canIpForward = $canIpForward;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @return bool
|
---|
195 | */
|
---|
196 | public function getCanIpForward()
|
---|
197 | {
|
---|
198 | return $this->canIpForward;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @param ConfidentialInstanceConfig
|
---|
202 | */
|
---|
203 | public function setConfidentialInstanceConfig(ConfidentialInstanceConfig $confidentialInstanceConfig)
|
---|
204 | {
|
---|
205 | $this->confidentialInstanceConfig = $confidentialInstanceConfig;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @return ConfidentialInstanceConfig
|
---|
209 | */
|
---|
210 | public function getConfidentialInstanceConfig()
|
---|
211 | {
|
---|
212 | return $this->confidentialInstanceConfig;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @param string
|
---|
216 | */
|
---|
217 | public function setCpuPlatform($cpuPlatform)
|
---|
218 | {
|
---|
219 | $this->cpuPlatform = $cpuPlatform;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @return string
|
---|
223 | */
|
---|
224 | public function getCpuPlatform()
|
---|
225 | {
|
---|
226 | return $this->cpuPlatform;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @param string
|
---|
230 | */
|
---|
231 | public function setCreationTimestamp($creationTimestamp)
|
---|
232 | {
|
---|
233 | $this->creationTimestamp = $creationTimestamp;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @return string
|
---|
237 | */
|
---|
238 | public function getCreationTimestamp()
|
---|
239 | {
|
---|
240 | return $this->creationTimestamp;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @param bool
|
---|
244 | */
|
---|
245 | public function setDeletionProtection($deletionProtection)
|
---|
246 | {
|
---|
247 | $this->deletionProtection = $deletionProtection;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @return bool
|
---|
251 | */
|
---|
252 | public function getDeletionProtection()
|
---|
253 | {
|
---|
254 | return $this->deletionProtection;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @param string
|
---|
258 | */
|
---|
259 | public function setDescription($description)
|
---|
260 | {
|
---|
261 | $this->description = $description;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @return string
|
---|
265 | */
|
---|
266 | public function getDescription()
|
---|
267 | {
|
---|
268 | return $this->description;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @param AttachedDisk[]
|
---|
272 | */
|
---|
273 | public function setDisks($disks)
|
---|
274 | {
|
---|
275 | $this->disks = $disks;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @return AttachedDisk[]
|
---|
279 | */
|
---|
280 | public function getDisks()
|
---|
281 | {
|
---|
282 | return $this->disks;
|
---|
283 | }
|
---|
284 | /**
|
---|
285 | * @param DisplayDevice
|
---|
286 | */
|
---|
287 | public function setDisplayDevice(DisplayDevice $displayDevice)
|
---|
288 | {
|
---|
289 | $this->displayDevice = $displayDevice;
|
---|
290 | }
|
---|
291 | /**
|
---|
292 | * @return DisplayDevice
|
---|
293 | */
|
---|
294 | public function getDisplayDevice()
|
---|
295 | {
|
---|
296 | return $this->displayDevice;
|
---|
297 | }
|
---|
298 | /**
|
---|
299 | * @param string
|
---|
300 | */
|
---|
301 | public function setFingerprint($fingerprint)
|
---|
302 | {
|
---|
303 | $this->fingerprint = $fingerprint;
|
---|
304 | }
|
---|
305 | /**
|
---|
306 | * @return string
|
---|
307 | */
|
---|
308 | public function getFingerprint()
|
---|
309 | {
|
---|
310 | return $this->fingerprint;
|
---|
311 | }
|
---|
312 | /**
|
---|
313 | * @param AcceleratorConfig[]
|
---|
314 | */
|
---|
315 | public function setGuestAccelerators($guestAccelerators)
|
---|
316 | {
|
---|
317 | $this->guestAccelerators = $guestAccelerators;
|
---|
318 | }
|
---|
319 | /**
|
---|
320 | * @return AcceleratorConfig[]
|
---|
321 | */
|
---|
322 | public function getGuestAccelerators()
|
---|
323 | {
|
---|
324 | return $this->guestAccelerators;
|
---|
325 | }
|
---|
326 | /**
|
---|
327 | * @param string
|
---|
328 | */
|
---|
329 | public function setHostname($hostname)
|
---|
330 | {
|
---|
331 | $this->hostname = $hostname;
|
---|
332 | }
|
---|
333 | /**
|
---|
334 | * @return string
|
---|
335 | */
|
---|
336 | public function getHostname()
|
---|
337 | {
|
---|
338 | return $this->hostname;
|
---|
339 | }
|
---|
340 | /**
|
---|
341 | * @param string
|
---|
342 | */
|
---|
343 | public function setId($id)
|
---|
344 | {
|
---|
345 | $this->id = $id;
|
---|
346 | }
|
---|
347 | /**
|
---|
348 | * @return string
|
---|
349 | */
|
---|
350 | public function getId()
|
---|
351 | {
|
---|
352 | return $this->id;
|
---|
353 | }
|
---|
354 | /**
|
---|
355 | * @param CustomerEncryptionKey
|
---|
356 | */
|
---|
357 | public function setInstanceEncryptionKey(CustomerEncryptionKey $instanceEncryptionKey)
|
---|
358 | {
|
---|
359 | $this->instanceEncryptionKey = $instanceEncryptionKey;
|
---|
360 | }
|
---|
361 | /**
|
---|
362 | * @return CustomerEncryptionKey
|
---|
363 | */
|
---|
364 | public function getInstanceEncryptionKey()
|
---|
365 | {
|
---|
366 | return $this->instanceEncryptionKey;
|
---|
367 | }
|
---|
368 | /**
|
---|
369 | * @param string
|
---|
370 | */
|
---|
371 | public function setKeyRevocationActionType($keyRevocationActionType)
|
---|
372 | {
|
---|
373 | $this->keyRevocationActionType = $keyRevocationActionType;
|
---|
374 | }
|
---|
375 | /**
|
---|
376 | * @return string
|
---|
377 | */
|
---|
378 | public function getKeyRevocationActionType()
|
---|
379 | {
|
---|
380 | return $this->keyRevocationActionType;
|
---|
381 | }
|
---|
382 | /**
|
---|
383 | * @param string
|
---|
384 | */
|
---|
385 | public function setKind($kind)
|
---|
386 | {
|
---|
387 | $this->kind = $kind;
|
---|
388 | }
|
---|
389 | /**
|
---|
390 | * @return string
|
---|
391 | */
|
---|
392 | public function getKind()
|
---|
393 | {
|
---|
394 | return $this->kind;
|
---|
395 | }
|
---|
396 | /**
|
---|
397 | * @param string
|
---|
398 | */
|
---|
399 | public function setLabelFingerprint($labelFingerprint)
|
---|
400 | {
|
---|
401 | $this->labelFingerprint = $labelFingerprint;
|
---|
402 | }
|
---|
403 | /**
|
---|
404 | * @return string
|
---|
405 | */
|
---|
406 | public function getLabelFingerprint()
|
---|
407 | {
|
---|
408 | return $this->labelFingerprint;
|
---|
409 | }
|
---|
410 | /**
|
---|
411 | * @param string[]
|
---|
412 | */
|
---|
413 | public function setLabels($labels)
|
---|
414 | {
|
---|
415 | $this->labels = $labels;
|
---|
416 | }
|
---|
417 | /**
|
---|
418 | * @return string[]
|
---|
419 | */
|
---|
420 | public function getLabels()
|
---|
421 | {
|
---|
422 | return $this->labels;
|
---|
423 | }
|
---|
424 | /**
|
---|
425 | * @param string
|
---|
426 | */
|
---|
427 | public function setLastStartTimestamp($lastStartTimestamp)
|
---|
428 | {
|
---|
429 | $this->lastStartTimestamp = $lastStartTimestamp;
|
---|
430 | }
|
---|
431 | /**
|
---|
432 | * @return string
|
---|
433 | */
|
---|
434 | public function getLastStartTimestamp()
|
---|
435 | {
|
---|
436 | return $this->lastStartTimestamp;
|
---|
437 | }
|
---|
438 | /**
|
---|
439 | * @param string
|
---|
440 | */
|
---|
441 | public function setLastStopTimestamp($lastStopTimestamp)
|
---|
442 | {
|
---|
443 | $this->lastStopTimestamp = $lastStopTimestamp;
|
---|
444 | }
|
---|
445 | /**
|
---|
446 | * @return string
|
---|
447 | */
|
---|
448 | public function getLastStopTimestamp()
|
---|
449 | {
|
---|
450 | return $this->lastStopTimestamp;
|
---|
451 | }
|
---|
452 | /**
|
---|
453 | * @param string
|
---|
454 | */
|
---|
455 | public function setLastSuspendedTimestamp($lastSuspendedTimestamp)
|
---|
456 | {
|
---|
457 | $this->lastSuspendedTimestamp = $lastSuspendedTimestamp;
|
---|
458 | }
|
---|
459 | /**
|
---|
460 | * @return string
|
---|
461 | */
|
---|
462 | public function getLastSuspendedTimestamp()
|
---|
463 | {
|
---|
464 | return $this->lastSuspendedTimestamp;
|
---|
465 | }
|
---|
466 | /**
|
---|
467 | * @param string
|
---|
468 | */
|
---|
469 | public function setMachineType($machineType)
|
---|
470 | {
|
---|
471 | $this->machineType = $machineType;
|
---|
472 | }
|
---|
473 | /**
|
---|
474 | * @return string
|
---|
475 | */
|
---|
476 | public function getMachineType()
|
---|
477 | {
|
---|
478 | return $this->machineType;
|
---|
479 | }
|
---|
480 | /**
|
---|
481 | * @param Metadata
|
---|
482 | */
|
---|
483 | public function setMetadata(Metadata $metadata)
|
---|
484 | {
|
---|
485 | $this->metadata = $metadata;
|
---|
486 | }
|
---|
487 | /**
|
---|
488 | * @return Metadata
|
---|
489 | */
|
---|
490 | public function getMetadata()
|
---|
491 | {
|
---|
492 | return $this->metadata;
|
---|
493 | }
|
---|
494 | /**
|
---|
495 | * @param string
|
---|
496 | */
|
---|
497 | public function setMinCpuPlatform($minCpuPlatform)
|
---|
498 | {
|
---|
499 | $this->minCpuPlatform = $minCpuPlatform;
|
---|
500 | }
|
---|
501 | /**
|
---|
502 | * @return string
|
---|
503 | */
|
---|
504 | public function getMinCpuPlatform()
|
---|
505 | {
|
---|
506 | return $this->minCpuPlatform;
|
---|
507 | }
|
---|
508 | /**
|
---|
509 | * @param string
|
---|
510 | */
|
---|
511 | public function setName($name)
|
---|
512 | {
|
---|
513 | $this->name = $name;
|
---|
514 | }
|
---|
515 | /**
|
---|
516 | * @return string
|
---|
517 | */
|
---|
518 | public function getName()
|
---|
519 | {
|
---|
520 | return $this->name;
|
---|
521 | }
|
---|
522 | /**
|
---|
523 | * @param NetworkInterface[]
|
---|
524 | */
|
---|
525 | public function setNetworkInterfaces($networkInterfaces)
|
---|
526 | {
|
---|
527 | $this->networkInterfaces = $networkInterfaces;
|
---|
528 | }
|
---|
529 | /**
|
---|
530 | * @return NetworkInterface[]
|
---|
531 | */
|
---|
532 | public function getNetworkInterfaces()
|
---|
533 | {
|
---|
534 | return $this->networkInterfaces;
|
---|
535 | }
|
---|
536 | /**
|
---|
537 | * @param NetworkPerformanceConfig
|
---|
538 | */
|
---|
539 | public function setNetworkPerformanceConfig(NetworkPerformanceConfig $networkPerformanceConfig)
|
---|
540 | {
|
---|
541 | $this->networkPerformanceConfig = $networkPerformanceConfig;
|
---|
542 | }
|
---|
543 | /**
|
---|
544 | * @return NetworkPerformanceConfig
|
---|
545 | */
|
---|
546 | public function getNetworkPerformanceConfig()
|
---|
547 | {
|
---|
548 | return $this->networkPerformanceConfig;
|
---|
549 | }
|
---|
550 | /**
|
---|
551 | * @param InstanceParams
|
---|
552 | */
|
---|
553 | public function setParams(InstanceParams $params)
|
---|
554 | {
|
---|
555 | $this->params = $params;
|
---|
556 | }
|
---|
557 | /**
|
---|
558 | * @return InstanceParams
|
---|
559 | */
|
---|
560 | public function getParams()
|
---|
561 | {
|
---|
562 | return $this->params;
|
---|
563 | }
|
---|
564 | /**
|
---|
565 | * @param string
|
---|
566 | */
|
---|
567 | public function setPrivateIpv6GoogleAccess($privateIpv6GoogleAccess)
|
---|
568 | {
|
---|
569 | $this->privateIpv6GoogleAccess = $privateIpv6GoogleAccess;
|
---|
570 | }
|
---|
571 | /**
|
---|
572 | * @return string
|
---|
573 | */
|
---|
574 | public function getPrivateIpv6GoogleAccess()
|
---|
575 | {
|
---|
576 | return $this->privateIpv6GoogleAccess;
|
---|
577 | }
|
---|
578 | /**
|
---|
579 | * @param ReservationAffinity
|
---|
580 | */
|
---|
581 | public function setReservationAffinity(ReservationAffinity $reservationAffinity)
|
---|
582 | {
|
---|
583 | $this->reservationAffinity = $reservationAffinity;
|
---|
584 | }
|
---|
585 | /**
|
---|
586 | * @return ReservationAffinity
|
---|
587 | */
|
---|
588 | public function getReservationAffinity()
|
---|
589 | {
|
---|
590 | return $this->reservationAffinity;
|
---|
591 | }
|
---|
592 | /**
|
---|
593 | * @param string[]
|
---|
594 | */
|
---|
595 | public function setResourcePolicies($resourcePolicies)
|
---|
596 | {
|
---|
597 | $this->resourcePolicies = $resourcePolicies;
|
---|
598 | }
|
---|
599 | /**
|
---|
600 | * @return string[]
|
---|
601 | */
|
---|
602 | public function getResourcePolicies()
|
---|
603 | {
|
---|
604 | return $this->resourcePolicies;
|
---|
605 | }
|
---|
606 | /**
|
---|
607 | * @param ResourceStatus
|
---|
608 | */
|
---|
609 | public function setResourceStatus(ResourceStatus $resourceStatus)
|
---|
610 | {
|
---|
611 | $this->resourceStatus = $resourceStatus;
|
---|
612 | }
|
---|
613 | /**
|
---|
614 | * @return ResourceStatus
|
---|
615 | */
|
---|
616 | public function getResourceStatus()
|
---|
617 | {
|
---|
618 | return $this->resourceStatus;
|
---|
619 | }
|
---|
620 | /**
|
---|
621 | * @param bool
|
---|
622 | */
|
---|
623 | public function setSatisfiesPzi($satisfiesPzi)
|
---|
624 | {
|
---|
625 | $this->satisfiesPzi = $satisfiesPzi;
|
---|
626 | }
|
---|
627 | /**
|
---|
628 | * @return bool
|
---|
629 | */
|
---|
630 | public function getSatisfiesPzi()
|
---|
631 | {
|
---|
632 | return $this->satisfiesPzi;
|
---|
633 | }
|
---|
634 | /**
|
---|
635 | * @param bool
|
---|
636 | */
|
---|
637 | public function setSatisfiesPzs($satisfiesPzs)
|
---|
638 | {
|
---|
639 | $this->satisfiesPzs = $satisfiesPzs;
|
---|
640 | }
|
---|
641 | /**
|
---|
642 | * @return bool
|
---|
643 | */
|
---|
644 | public function getSatisfiesPzs()
|
---|
645 | {
|
---|
646 | return $this->satisfiesPzs;
|
---|
647 | }
|
---|
648 | /**
|
---|
649 | * @param Scheduling
|
---|
650 | */
|
---|
651 | public function setScheduling(Scheduling $scheduling)
|
---|
652 | {
|
---|
653 | $this->scheduling = $scheduling;
|
---|
654 | }
|
---|
655 | /**
|
---|
656 | * @return Scheduling
|
---|
657 | */
|
---|
658 | public function getScheduling()
|
---|
659 | {
|
---|
660 | return $this->scheduling;
|
---|
661 | }
|
---|
662 | /**
|
---|
663 | * @param string
|
---|
664 | */
|
---|
665 | public function setSelfLink($selfLink)
|
---|
666 | {
|
---|
667 | $this->selfLink = $selfLink;
|
---|
668 | }
|
---|
669 | /**
|
---|
670 | * @return string
|
---|
671 | */
|
---|
672 | public function getSelfLink()
|
---|
673 | {
|
---|
674 | return $this->selfLink;
|
---|
675 | }
|
---|
676 | /**
|
---|
677 | * @param ServiceAccount[]
|
---|
678 | */
|
---|
679 | public function setServiceAccounts($serviceAccounts)
|
---|
680 | {
|
---|
681 | $this->serviceAccounts = $serviceAccounts;
|
---|
682 | }
|
---|
683 | /**
|
---|
684 | * @return ServiceAccount[]
|
---|
685 | */
|
---|
686 | public function getServiceAccounts()
|
---|
687 | {
|
---|
688 | return $this->serviceAccounts;
|
---|
689 | }
|
---|
690 | /**
|
---|
691 | * @param ShieldedInstanceConfig
|
---|
692 | */
|
---|
693 | public function setShieldedInstanceConfig(ShieldedInstanceConfig $shieldedInstanceConfig)
|
---|
694 | {
|
---|
695 | $this->shieldedInstanceConfig = $shieldedInstanceConfig;
|
---|
696 | }
|
---|
697 | /**
|
---|
698 | * @return ShieldedInstanceConfig
|
---|
699 | */
|
---|
700 | public function getShieldedInstanceConfig()
|
---|
701 | {
|
---|
702 | return $this->shieldedInstanceConfig;
|
---|
703 | }
|
---|
704 | /**
|
---|
705 | * @param ShieldedInstanceIntegrityPolicy
|
---|
706 | */
|
---|
707 | public function setShieldedInstanceIntegrityPolicy(ShieldedInstanceIntegrityPolicy $shieldedInstanceIntegrityPolicy)
|
---|
708 | {
|
---|
709 | $this->shieldedInstanceIntegrityPolicy = $shieldedInstanceIntegrityPolicy;
|
---|
710 | }
|
---|
711 | /**
|
---|
712 | * @return ShieldedInstanceIntegrityPolicy
|
---|
713 | */
|
---|
714 | public function getShieldedInstanceIntegrityPolicy()
|
---|
715 | {
|
---|
716 | return $this->shieldedInstanceIntegrityPolicy;
|
---|
717 | }
|
---|
718 | /**
|
---|
719 | * @param string
|
---|
720 | */
|
---|
721 | public function setSourceMachineImage($sourceMachineImage)
|
---|
722 | {
|
---|
723 | $this->sourceMachineImage = $sourceMachineImage;
|
---|
724 | }
|
---|
725 | /**
|
---|
726 | * @return string
|
---|
727 | */
|
---|
728 | public function getSourceMachineImage()
|
---|
729 | {
|
---|
730 | return $this->sourceMachineImage;
|
---|
731 | }
|
---|
732 | /**
|
---|
733 | * @param CustomerEncryptionKey
|
---|
734 | */
|
---|
735 | public function setSourceMachineImageEncryptionKey(CustomerEncryptionKey $sourceMachineImageEncryptionKey)
|
---|
736 | {
|
---|
737 | $this->sourceMachineImageEncryptionKey = $sourceMachineImageEncryptionKey;
|
---|
738 | }
|
---|
739 | /**
|
---|
740 | * @return CustomerEncryptionKey
|
---|
741 | */
|
---|
742 | public function getSourceMachineImageEncryptionKey()
|
---|
743 | {
|
---|
744 | return $this->sourceMachineImageEncryptionKey;
|
---|
745 | }
|
---|
746 | /**
|
---|
747 | * @param bool
|
---|
748 | */
|
---|
749 | public function setStartRestricted($startRestricted)
|
---|
750 | {
|
---|
751 | $this->startRestricted = $startRestricted;
|
---|
752 | }
|
---|
753 | /**
|
---|
754 | * @return bool
|
---|
755 | */
|
---|
756 | public function getStartRestricted()
|
---|
757 | {
|
---|
758 | return $this->startRestricted;
|
---|
759 | }
|
---|
760 | /**
|
---|
761 | * @param string
|
---|
762 | */
|
---|
763 | public function setStatus($status)
|
---|
764 | {
|
---|
765 | $this->status = $status;
|
---|
766 | }
|
---|
767 | /**
|
---|
768 | * @return string
|
---|
769 | */
|
---|
770 | public function getStatus()
|
---|
771 | {
|
---|
772 | return $this->status;
|
---|
773 | }
|
---|
774 | /**
|
---|
775 | * @param string
|
---|
776 | */
|
---|
777 | public function setStatusMessage($statusMessage)
|
---|
778 | {
|
---|
779 | $this->statusMessage = $statusMessage;
|
---|
780 | }
|
---|
781 | /**
|
---|
782 | * @return string
|
---|
783 | */
|
---|
784 | public function getStatusMessage()
|
---|
785 | {
|
---|
786 | return $this->statusMessage;
|
---|
787 | }
|
---|
788 | /**
|
---|
789 | * @param Tags
|
---|
790 | */
|
---|
791 | public function setTags(Tags $tags)
|
---|
792 | {
|
---|
793 | $this->tags = $tags;
|
---|
794 | }
|
---|
795 | /**
|
---|
796 | * @return Tags
|
---|
797 | */
|
---|
798 | public function getTags()
|
---|
799 | {
|
---|
800 | return $this->tags;
|
---|
801 | }
|
---|
802 | /**
|
---|
803 | * @param string
|
---|
804 | */
|
---|
805 | public function setZone($zone)
|
---|
806 | {
|
---|
807 | $this->zone = $zone;
|
---|
808 | }
|
---|
809 | /**
|
---|
810 | * @return string
|
---|
811 | */
|
---|
812 | public function getZone()
|
---|
813 | {
|
---|
814 | return $this->zone;
|
---|
815 | }
|
---|
816 | }
|
---|
817 |
|
---|
818 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
819 | class_alias(Instance::class, 'Google_Service_Compute_Instance');
|
---|