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\Container;
|
---|
19 |
|
---|
20 | class NodeConfig extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'taints';
|
---|
23 | protected $acceleratorsType = AcceleratorConfig::class;
|
---|
24 | protected $acceleratorsDataType = 'array';
|
---|
25 | protected $advancedMachineFeaturesType = AdvancedMachineFeatures::class;
|
---|
26 | protected $advancedMachineFeaturesDataType = '';
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $bootDiskKmsKey;
|
---|
31 | protected $confidentialNodesType = ConfidentialNodes::class;
|
---|
32 | protected $confidentialNodesDataType = '';
|
---|
33 | protected $containerdConfigType = ContainerdConfig::class;
|
---|
34 | protected $containerdConfigDataType = '';
|
---|
35 | /**
|
---|
36 | * @var int
|
---|
37 | */
|
---|
38 | public $diskSizeGb;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $diskType;
|
---|
43 | /**
|
---|
44 | * @var string
|
---|
45 | */
|
---|
46 | public $effectiveCgroupMode;
|
---|
47 | /**
|
---|
48 | * @var bool
|
---|
49 | */
|
---|
50 | public $enableConfidentialStorage;
|
---|
51 | protected $ephemeralStorageLocalSsdConfigType = EphemeralStorageLocalSsdConfig::class;
|
---|
52 | protected $ephemeralStorageLocalSsdConfigDataType = '';
|
---|
53 | protected $fastSocketType = FastSocket::class;
|
---|
54 | protected $fastSocketDataType = '';
|
---|
55 | protected $gcfsConfigType = GcfsConfig::class;
|
---|
56 | protected $gcfsConfigDataType = '';
|
---|
57 | protected $gvnicType = VirtualNIC::class;
|
---|
58 | protected $gvnicDataType = '';
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $imageType;
|
---|
63 | protected $kubeletConfigType = NodeKubeletConfig::class;
|
---|
64 | protected $kubeletConfigDataType = '';
|
---|
65 | /**
|
---|
66 | * @var string[]
|
---|
67 | */
|
---|
68 | public $labels;
|
---|
69 | protected $linuxNodeConfigType = LinuxNodeConfig::class;
|
---|
70 | protected $linuxNodeConfigDataType = '';
|
---|
71 | protected $localNvmeSsdBlockConfigType = LocalNvmeSsdBlockConfig::class;
|
---|
72 | protected $localNvmeSsdBlockConfigDataType = '';
|
---|
73 | /**
|
---|
74 | * @var int
|
---|
75 | */
|
---|
76 | public $localSsdCount;
|
---|
77 | /**
|
---|
78 | * @var string
|
---|
79 | */
|
---|
80 | public $localSsdEncryptionMode;
|
---|
81 | protected $loggingConfigType = NodePoolLoggingConfig::class;
|
---|
82 | protected $loggingConfigDataType = '';
|
---|
83 | /**
|
---|
84 | * @var string
|
---|
85 | */
|
---|
86 | public $machineType;
|
---|
87 | /**
|
---|
88 | * @var string[]
|
---|
89 | */
|
---|
90 | public $metadata;
|
---|
91 | /**
|
---|
92 | * @var string
|
---|
93 | */
|
---|
94 | public $minCpuPlatform;
|
---|
95 | /**
|
---|
96 | * @var string
|
---|
97 | */
|
---|
98 | public $nodeGroup;
|
---|
99 | /**
|
---|
100 | * @var string[]
|
---|
101 | */
|
---|
102 | public $oauthScopes;
|
---|
103 | /**
|
---|
104 | * @var bool
|
---|
105 | */
|
---|
106 | public $preemptible;
|
---|
107 | protected $reservationAffinityType = ReservationAffinity::class;
|
---|
108 | protected $reservationAffinityDataType = '';
|
---|
109 | /**
|
---|
110 | * @var string[]
|
---|
111 | */
|
---|
112 | public $resourceLabels;
|
---|
113 | protected $resourceManagerTagsType = ResourceManagerTags::class;
|
---|
114 | protected $resourceManagerTagsDataType = '';
|
---|
115 | protected $sandboxConfigType = SandboxConfig::class;
|
---|
116 | protected $sandboxConfigDataType = '';
|
---|
117 | protected $secondaryBootDiskUpdateStrategyType = SecondaryBootDiskUpdateStrategy::class;
|
---|
118 | protected $secondaryBootDiskUpdateStrategyDataType = '';
|
---|
119 | protected $secondaryBootDisksType = SecondaryBootDisk::class;
|
---|
120 | protected $secondaryBootDisksDataType = 'array';
|
---|
121 | /**
|
---|
122 | * @var string
|
---|
123 | */
|
---|
124 | public $serviceAccount;
|
---|
125 | protected $shieldedInstanceConfigType = ShieldedInstanceConfig::class;
|
---|
126 | protected $shieldedInstanceConfigDataType = '';
|
---|
127 | protected $soleTenantConfigType = SoleTenantConfig::class;
|
---|
128 | protected $soleTenantConfigDataType = '';
|
---|
129 | /**
|
---|
130 | * @var bool
|
---|
131 | */
|
---|
132 | public $spot;
|
---|
133 | /**
|
---|
134 | * @var string[]
|
---|
135 | */
|
---|
136 | public $storagePools;
|
---|
137 | /**
|
---|
138 | * @var string[]
|
---|
139 | */
|
---|
140 | public $tags;
|
---|
141 | protected $taintsType = NodeTaint::class;
|
---|
142 | protected $taintsDataType = 'array';
|
---|
143 | protected $windowsNodeConfigType = WindowsNodeConfig::class;
|
---|
144 | protected $windowsNodeConfigDataType = '';
|
---|
145 | protected $workloadMetadataConfigType = WorkloadMetadataConfig::class;
|
---|
146 | protected $workloadMetadataConfigDataType = '';
|
---|
147 |
|
---|
148 | /**
|
---|
149 | * @param AcceleratorConfig[]
|
---|
150 | */
|
---|
151 | public function setAccelerators($accelerators)
|
---|
152 | {
|
---|
153 | $this->accelerators = $accelerators;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @return AcceleratorConfig[]
|
---|
157 | */
|
---|
158 | public function getAccelerators()
|
---|
159 | {
|
---|
160 | return $this->accelerators;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @param AdvancedMachineFeatures
|
---|
164 | */
|
---|
165 | public function setAdvancedMachineFeatures(AdvancedMachineFeatures $advancedMachineFeatures)
|
---|
166 | {
|
---|
167 | $this->advancedMachineFeatures = $advancedMachineFeatures;
|
---|
168 | }
|
---|
169 | /**
|
---|
170 | * @return AdvancedMachineFeatures
|
---|
171 | */
|
---|
172 | public function getAdvancedMachineFeatures()
|
---|
173 | {
|
---|
174 | return $this->advancedMachineFeatures;
|
---|
175 | }
|
---|
176 | /**
|
---|
177 | * @param string
|
---|
178 | */
|
---|
179 | public function setBootDiskKmsKey($bootDiskKmsKey)
|
---|
180 | {
|
---|
181 | $this->bootDiskKmsKey = $bootDiskKmsKey;
|
---|
182 | }
|
---|
183 | /**
|
---|
184 | * @return string
|
---|
185 | */
|
---|
186 | public function getBootDiskKmsKey()
|
---|
187 | {
|
---|
188 | return $this->bootDiskKmsKey;
|
---|
189 | }
|
---|
190 | /**
|
---|
191 | * @param ConfidentialNodes
|
---|
192 | */
|
---|
193 | public function setConfidentialNodes(ConfidentialNodes $confidentialNodes)
|
---|
194 | {
|
---|
195 | $this->confidentialNodes = $confidentialNodes;
|
---|
196 | }
|
---|
197 | /**
|
---|
198 | * @return ConfidentialNodes
|
---|
199 | */
|
---|
200 | public function getConfidentialNodes()
|
---|
201 | {
|
---|
202 | return $this->confidentialNodes;
|
---|
203 | }
|
---|
204 | /**
|
---|
205 | * @param ContainerdConfig
|
---|
206 | */
|
---|
207 | public function setContainerdConfig(ContainerdConfig $containerdConfig)
|
---|
208 | {
|
---|
209 | $this->containerdConfig = $containerdConfig;
|
---|
210 | }
|
---|
211 | /**
|
---|
212 | * @return ContainerdConfig
|
---|
213 | */
|
---|
214 | public function getContainerdConfig()
|
---|
215 | {
|
---|
216 | return $this->containerdConfig;
|
---|
217 | }
|
---|
218 | /**
|
---|
219 | * @param int
|
---|
220 | */
|
---|
221 | public function setDiskSizeGb($diskSizeGb)
|
---|
222 | {
|
---|
223 | $this->diskSizeGb = $diskSizeGb;
|
---|
224 | }
|
---|
225 | /**
|
---|
226 | * @return int
|
---|
227 | */
|
---|
228 | public function getDiskSizeGb()
|
---|
229 | {
|
---|
230 | return $this->diskSizeGb;
|
---|
231 | }
|
---|
232 | /**
|
---|
233 | * @param string
|
---|
234 | */
|
---|
235 | public function setDiskType($diskType)
|
---|
236 | {
|
---|
237 | $this->diskType = $diskType;
|
---|
238 | }
|
---|
239 | /**
|
---|
240 | * @return string
|
---|
241 | */
|
---|
242 | public function getDiskType()
|
---|
243 | {
|
---|
244 | return $this->diskType;
|
---|
245 | }
|
---|
246 | /**
|
---|
247 | * @param string
|
---|
248 | */
|
---|
249 | public function setEffectiveCgroupMode($effectiveCgroupMode)
|
---|
250 | {
|
---|
251 | $this->effectiveCgroupMode = $effectiveCgroupMode;
|
---|
252 | }
|
---|
253 | /**
|
---|
254 | * @return string
|
---|
255 | */
|
---|
256 | public function getEffectiveCgroupMode()
|
---|
257 | {
|
---|
258 | return $this->effectiveCgroupMode;
|
---|
259 | }
|
---|
260 | /**
|
---|
261 | * @param bool
|
---|
262 | */
|
---|
263 | public function setEnableConfidentialStorage($enableConfidentialStorage)
|
---|
264 | {
|
---|
265 | $this->enableConfidentialStorage = $enableConfidentialStorage;
|
---|
266 | }
|
---|
267 | /**
|
---|
268 | * @return bool
|
---|
269 | */
|
---|
270 | public function getEnableConfidentialStorage()
|
---|
271 | {
|
---|
272 | return $this->enableConfidentialStorage;
|
---|
273 | }
|
---|
274 | /**
|
---|
275 | * @param EphemeralStorageLocalSsdConfig
|
---|
276 | */
|
---|
277 | public function setEphemeralStorageLocalSsdConfig(EphemeralStorageLocalSsdConfig $ephemeralStorageLocalSsdConfig)
|
---|
278 | {
|
---|
279 | $this->ephemeralStorageLocalSsdConfig = $ephemeralStorageLocalSsdConfig;
|
---|
280 | }
|
---|
281 | /**
|
---|
282 | * @return EphemeralStorageLocalSsdConfig
|
---|
283 | */
|
---|
284 | public function getEphemeralStorageLocalSsdConfig()
|
---|
285 | {
|
---|
286 | return $this->ephemeralStorageLocalSsdConfig;
|
---|
287 | }
|
---|
288 | /**
|
---|
289 | * @param FastSocket
|
---|
290 | */
|
---|
291 | public function setFastSocket(FastSocket $fastSocket)
|
---|
292 | {
|
---|
293 | $this->fastSocket = $fastSocket;
|
---|
294 | }
|
---|
295 | /**
|
---|
296 | * @return FastSocket
|
---|
297 | */
|
---|
298 | public function getFastSocket()
|
---|
299 | {
|
---|
300 | return $this->fastSocket;
|
---|
301 | }
|
---|
302 | /**
|
---|
303 | * @param GcfsConfig
|
---|
304 | */
|
---|
305 | public function setGcfsConfig(GcfsConfig $gcfsConfig)
|
---|
306 | {
|
---|
307 | $this->gcfsConfig = $gcfsConfig;
|
---|
308 | }
|
---|
309 | /**
|
---|
310 | * @return GcfsConfig
|
---|
311 | */
|
---|
312 | public function getGcfsConfig()
|
---|
313 | {
|
---|
314 | return $this->gcfsConfig;
|
---|
315 | }
|
---|
316 | /**
|
---|
317 | * @param VirtualNIC
|
---|
318 | */
|
---|
319 | public function setGvnic(VirtualNIC $gvnic)
|
---|
320 | {
|
---|
321 | $this->gvnic = $gvnic;
|
---|
322 | }
|
---|
323 | /**
|
---|
324 | * @return VirtualNIC
|
---|
325 | */
|
---|
326 | public function getGvnic()
|
---|
327 | {
|
---|
328 | return $this->gvnic;
|
---|
329 | }
|
---|
330 | /**
|
---|
331 | * @param string
|
---|
332 | */
|
---|
333 | public function setImageType($imageType)
|
---|
334 | {
|
---|
335 | $this->imageType = $imageType;
|
---|
336 | }
|
---|
337 | /**
|
---|
338 | * @return string
|
---|
339 | */
|
---|
340 | public function getImageType()
|
---|
341 | {
|
---|
342 | return $this->imageType;
|
---|
343 | }
|
---|
344 | /**
|
---|
345 | * @param NodeKubeletConfig
|
---|
346 | */
|
---|
347 | public function setKubeletConfig(NodeKubeletConfig $kubeletConfig)
|
---|
348 | {
|
---|
349 | $this->kubeletConfig = $kubeletConfig;
|
---|
350 | }
|
---|
351 | /**
|
---|
352 | * @return NodeKubeletConfig
|
---|
353 | */
|
---|
354 | public function getKubeletConfig()
|
---|
355 | {
|
---|
356 | return $this->kubeletConfig;
|
---|
357 | }
|
---|
358 | /**
|
---|
359 | * @param string[]
|
---|
360 | */
|
---|
361 | public function setLabels($labels)
|
---|
362 | {
|
---|
363 | $this->labels = $labels;
|
---|
364 | }
|
---|
365 | /**
|
---|
366 | * @return string[]
|
---|
367 | */
|
---|
368 | public function getLabels()
|
---|
369 | {
|
---|
370 | return $this->labels;
|
---|
371 | }
|
---|
372 | /**
|
---|
373 | * @param LinuxNodeConfig
|
---|
374 | */
|
---|
375 | public function setLinuxNodeConfig(LinuxNodeConfig $linuxNodeConfig)
|
---|
376 | {
|
---|
377 | $this->linuxNodeConfig = $linuxNodeConfig;
|
---|
378 | }
|
---|
379 | /**
|
---|
380 | * @return LinuxNodeConfig
|
---|
381 | */
|
---|
382 | public function getLinuxNodeConfig()
|
---|
383 | {
|
---|
384 | return $this->linuxNodeConfig;
|
---|
385 | }
|
---|
386 | /**
|
---|
387 | * @param LocalNvmeSsdBlockConfig
|
---|
388 | */
|
---|
389 | public function setLocalNvmeSsdBlockConfig(LocalNvmeSsdBlockConfig $localNvmeSsdBlockConfig)
|
---|
390 | {
|
---|
391 | $this->localNvmeSsdBlockConfig = $localNvmeSsdBlockConfig;
|
---|
392 | }
|
---|
393 | /**
|
---|
394 | * @return LocalNvmeSsdBlockConfig
|
---|
395 | */
|
---|
396 | public function getLocalNvmeSsdBlockConfig()
|
---|
397 | {
|
---|
398 | return $this->localNvmeSsdBlockConfig;
|
---|
399 | }
|
---|
400 | /**
|
---|
401 | * @param int
|
---|
402 | */
|
---|
403 | public function setLocalSsdCount($localSsdCount)
|
---|
404 | {
|
---|
405 | $this->localSsdCount = $localSsdCount;
|
---|
406 | }
|
---|
407 | /**
|
---|
408 | * @return int
|
---|
409 | */
|
---|
410 | public function getLocalSsdCount()
|
---|
411 | {
|
---|
412 | return $this->localSsdCount;
|
---|
413 | }
|
---|
414 | /**
|
---|
415 | * @param string
|
---|
416 | */
|
---|
417 | public function setLocalSsdEncryptionMode($localSsdEncryptionMode)
|
---|
418 | {
|
---|
419 | $this->localSsdEncryptionMode = $localSsdEncryptionMode;
|
---|
420 | }
|
---|
421 | /**
|
---|
422 | * @return string
|
---|
423 | */
|
---|
424 | public function getLocalSsdEncryptionMode()
|
---|
425 | {
|
---|
426 | return $this->localSsdEncryptionMode;
|
---|
427 | }
|
---|
428 | /**
|
---|
429 | * @param NodePoolLoggingConfig
|
---|
430 | */
|
---|
431 | public function setLoggingConfig(NodePoolLoggingConfig $loggingConfig)
|
---|
432 | {
|
---|
433 | $this->loggingConfig = $loggingConfig;
|
---|
434 | }
|
---|
435 | /**
|
---|
436 | * @return NodePoolLoggingConfig
|
---|
437 | */
|
---|
438 | public function getLoggingConfig()
|
---|
439 | {
|
---|
440 | return $this->loggingConfig;
|
---|
441 | }
|
---|
442 | /**
|
---|
443 | * @param string
|
---|
444 | */
|
---|
445 | public function setMachineType($machineType)
|
---|
446 | {
|
---|
447 | $this->machineType = $machineType;
|
---|
448 | }
|
---|
449 | /**
|
---|
450 | * @return string
|
---|
451 | */
|
---|
452 | public function getMachineType()
|
---|
453 | {
|
---|
454 | return $this->machineType;
|
---|
455 | }
|
---|
456 | /**
|
---|
457 | * @param string[]
|
---|
458 | */
|
---|
459 | public function setMetadata($metadata)
|
---|
460 | {
|
---|
461 | $this->metadata = $metadata;
|
---|
462 | }
|
---|
463 | /**
|
---|
464 | * @return string[]
|
---|
465 | */
|
---|
466 | public function getMetadata()
|
---|
467 | {
|
---|
468 | return $this->metadata;
|
---|
469 | }
|
---|
470 | /**
|
---|
471 | * @param string
|
---|
472 | */
|
---|
473 | public function setMinCpuPlatform($minCpuPlatform)
|
---|
474 | {
|
---|
475 | $this->minCpuPlatform = $minCpuPlatform;
|
---|
476 | }
|
---|
477 | /**
|
---|
478 | * @return string
|
---|
479 | */
|
---|
480 | public function getMinCpuPlatform()
|
---|
481 | {
|
---|
482 | return $this->minCpuPlatform;
|
---|
483 | }
|
---|
484 | /**
|
---|
485 | * @param string
|
---|
486 | */
|
---|
487 | public function setNodeGroup($nodeGroup)
|
---|
488 | {
|
---|
489 | $this->nodeGroup = $nodeGroup;
|
---|
490 | }
|
---|
491 | /**
|
---|
492 | * @return string
|
---|
493 | */
|
---|
494 | public function getNodeGroup()
|
---|
495 | {
|
---|
496 | return $this->nodeGroup;
|
---|
497 | }
|
---|
498 | /**
|
---|
499 | * @param string[]
|
---|
500 | */
|
---|
501 | public function setOauthScopes($oauthScopes)
|
---|
502 | {
|
---|
503 | $this->oauthScopes = $oauthScopes;
|
---|
504 | }
|
---|
505 | /**
|
---|
506 | * @return string[]
|
---|
507 | */
|
---|
508 | public function getOauthScopes()
|
---|
509 | {
|
---|
510 | return $this->oauthScopes;
|
---|
511 | }
|
---|
512 | /**
|
---|
513 | * @param bool
|
---|
514 | */
|
---|
515 | public function setPreemptible($preemptible)
|
---|
516 | {
|
---|
517 | $this->preemptible = $preemptible;
|
---|
518 | }
|
---|
519 | /**
|
---|
520 | * @return bool
|
---|
521 | */
|
---|
522 | public function getPreemptible()
|
---|
523 | {
|
---|
524 | return $this->preemptible;
|
---|
525 | }
|
---|
526 | /**
|
---|
527 | * @param ReservationAffinity
|
---|
528 | */
|
---|
529 | public function setReservationAffinity(ReservationAffinity $reservationAffinity)
|
---|
530 | {
|
---|
531 | $this->reservationAffinity = $reservationAffinity;
|
---|
532 | }
|
---|
533 | /**
|
---|
534 | * @return ReservationAffinity
|
---|
535 | */
|
---|
536 | public function getReservationAffinity()
|
---|
537 | {
|
---|
538 | return $this->reservationAffinity;
|
---|
539 | }
|
---|
540 | /**
|
---|
541 | * @param string[]
|
---|
542 | */
|
---|
543 | public function setResourceLabels($resourceLabels)
|
---|
544 | {
|
---|
545 | $this->resourceLabels = $resourceLabels;
|
---|
546 | }
|
---|
547 | /**
|
---|
548 | * @return string[]
|
---|
549 | */
|
---|
550 | public function getResourceLabels()
|
---|
551 | {
|
---|
552 | return $this->resourceLabels;
|
---|
553 | }
|
---|
554 | /**
|
---|
555 | * @param ResourceManagerTags
|
---|
556 | */
|
---|
557 | public function setResourceManagerTags(ResourceManagerTags $resourceManagerTags)
|
---|
558 | {
|
---|
559 | $this->resourceManagerTags = $resourceManagerTags;
|
---|
560 | }
|
---|
561 | /**
|
---|
562 | * @return ResourceManagerTags
|
---|
563 | */
|
---|
564 | public function getResourceManagerTags()
|
---|
565 | {
|
---|
566 | return $this->resourceManagerTags;
|
---|
567 | }
|
---|
568 | /**
|
---|
569 | * @param SandboxConfig
|
---|
570 | */
|
---|
571 | public function setSandboxConfig(SandboxConfig $sandboxConfig)
|
---|
572 | {
|
---|
573 | $this->sandboxConfig = $sandboxConfig;
|
---|
574 | }
|
---|
575 | /**
|
---|
576 | * @return SandboxConfig
|
---|
577 | */
|
---|
578 | public function getSandboxConfig()
|
---|
579 | {
|
---|
580 | return $this->sandboxConfig;
|
---|
581 | }
|
---|
582 | /**
|
---|
583 | * @param SecondaryBootDiskUpdateStrategy
|
---|
584 | */
|
---|
585 | public function setSecondaryBootDiskUpdateStrategy(SecondaryBootDiskUpdateStrategy $secondaryBootDiskUpdateStrategy)
|
---|
586 | {
|
---|
587 | $this->secondaryBootDiskUpdateStrategy = $secondaryBootDiskUpdateStrategy;
|
---|
588 | }
|
---|
589 | /**
|
---|
590 | * @return SecondaryBootDiskUpdateStrategy
|
---|
591 | */
|
---|
592 | public function getSecondaryBootDiskUpdateStrategy()
|
---|
593 | {
|
---|
594 | return $this->secondaryBootDiskUpdateStrategy;
|
---|
595 | }
|
---|
596 | /**
|
---|
597 | * @param SecondaryBootDisk[]
|
---|
598 | */
|
---|
599 | public function setSecondaryBootDisks($secondaryBootDisks)
|
---|
600 | {
|
---|
601 | $this->secondaryBootDisks = $secondaryBootDisks;
|
---|
602 | }
|
---|
603 | /**
|
---|
604 | * @return SecondaryBootDisk[]
|
---|
605 | */
|
---|
606 | public function getSecondaryBootDisks()
|
---|
607 | {
|
---|
608 | return $this->secondaryBootDisks;
|
---|
609 | }
|
---|
610 | /**
|
---|
611 | * @param string
|
---|
612 | */
|
---|
613 | public function setServiceAccount($serviceAccount)
|
---|
614 | {
|
---|
615 | $this->serviceAccount = $serviceAccount;
|
---|
616 | }
|
---|
617 | /**
|
---|
618 | * @return string
|
---|
619 | */
|
---|
620 | public function getServiceAccount()
|
---|
621 | {
|
---|
622 | return $this->serviceAccount;
|
---|
623 | }
|
---|
624 | /**
|
---|
625 | * @param ShieldedInstanceConfig
|
---|
626 | */
|
---|
627 | public function setShieldedInstanceConfig(ShieldedInstanceConfig $shieldedInstanceConfig)
|
---|
628 | {
|
---|
629 | $this->shieldedInstanceConfig = $shieldedInstanceConfig;
|
---|
630 | }
|
---|
631 | /**
|
---|
632 | * @return ShieldedInstanceConfig
|
---|
633 | */
|
---|
634 | public function getShieldedInstanceConfig()
|
---|
635 | {
|
---|
636 | return $this->shieldedInstanceConfig;
|
---|
637 | }
|
---|
638 | /**
|
---|
639 | * @param SoleTenantConfig
|
---|
640 | */
|
---|
641 | public function setSoleTenantConfig(SoleTenantConfig $soleTenantConfig)
|
---|
642 | {
|
---|
643 | $this->soleTenantConfig = $soleTenantConfig;
|
---|
644 | }
|
---|
645 | /**
|
---|
646 | * @return SoleTenantConfig
|
---|
647 | */
|
---|
648 | public function getSoleTenantConfig()
|
---|
649 | {
|
---|
650 | return $this->soleTenantConfig;
|
---|
651 | }
|
---|
652 | /**
|
---|
653 | * @param bool
|
---|
654 | */
|
---|
655 | public function setSpot($spot)
|
---|
656 | {
|
---|
657 | $this->spot = $spot;
|
---|
658 | }
|
---|
659 | /**
|
---|
660 | * @return bool
|
---|
661 | */
|
---|
662 | public function getSpot()
|
---|
663 | {
|
---|
664 | return $this->spot;
|
---|
665 | }
|
---|
666 | /**
|
---|
667 | * @param string[]
|
---|
668 | */
|
---|
669 | public function setStoragePools($storagePools)
|
---|
670 | {
|
---|
671 | $this->storagePools = $storagePools;
|
---|
672 | }
|
---|
673 | /**
|
---|
674 | * @return string[]
|
---|
675 | */
|
---|
676 | public function getStoragePools()
|
---|
677 | {
|
---|
678 | return $this->storagePools;
|
---|
679 | }
|
---|
680 | /**
|
---|
681 | * @param string[]
|
---|
682 | */
|
---|
683 | public function setTags($tags)
|
---|
684 | {
|
---|
685 | $this->tags = $tags;
|
---|
686 | }
|
---|
687 | /**
|
---|
688 | * @return string[]
|
---|
689 | */
|
---|
690 | public function getTags()
|
---|
691 | {
|
---|
692 | return $this->tags;
|
---|
693 | }
|
---|
694 | /**
|
---|
695 | * @param NodeTaint[]
|
---|
696 | */
|
---|
697 | public function setTaints($taints)
|
---|
698 | {
|
---|
699 | $this->taints = $taints;
|
---|
700 | }
|
---|
701 | /**
|
---|
702 | * @return NodeTaint[]
|
---|
703 | */
|
---|
704 | public function getTaints()
|
---|
705 | {
|
---|
706 | return $this->taints;
|
---|
707 | }
|
---|
708 | /**
|
---|
709 | * @param WindowsNodeConfig
|
---|
710 | */
|
---|
711 | public function setWindowsNodeConfig(WindowsNodeConfig $windowsNodeConfig)
|
---|
712 | {
|
---|
713 | $this->windowsNodeConfig = $windowsNodeConfig;
|
---|
714 | }
|
---|
715 | /**
|
---|
716 | * @return WindowsNodeConfig
|
---|
717 | */
|
---|
718 | public function getWindowsNodeConfig()
|
---|
719 | {
|
---|
720 | return $this->windowsNodeConfig;
|
---|
721 | }
|
---|
722 | /**
|
---|
723 | * @param WorkloadMetadataConfig
|
---|
724 | */
|
---|
725 | public function setWorkloadMetadataConfig(WorkloadMetadataConfig $workloadMetadataConfig)
|
---|
726 | {
|
---|
727 | $this->workloadMetadataConfig = $workloadMetadataConfig;
|
---|
728 | }
|
---|
729 | /**
|
---|
730 | * @return WorkloadMetadataConfig
|
---|
731 | */
|
---|
732 | public function getWorkloadMetadataConfig()
|
---|
733 | {
|
---|
734 | return $this->workloadMetadataConfig;
|
---|
735 | }
|
---|
736 | }
|
---|
737 |
|
---|
738 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
739 | class_alias(NodeConfig::class, 'Google_Service_Container_NodeConfig');
|
---|