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\GKEOnPrem;
|
---|
19 |
|
---|
20 | class BareMetalCluster extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $adminClusterMembership;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $adminClusterName;
|
---|
30 | /**
|
---|
31 | * @var string[]
|
---|
32 | */
|
---|
33 | public $annotations;
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $bareMetalVersion;
|
---|
38 | protected $binaryAuthorizationType = BinaryAuthorization::class;
|
---|
39 | protected $binaryAuthorizationDataType = '';
|
---|
40 | protected $clusterOperationsType = BareMetalClusterOperationsConfig::class;
|
---|
41 | protected $clusterOperationsDataType = '';
|
---|
42 | protected $controlPlaneType = BareMetalControlPlaneConfig::class;
|
---|
43 | protected $controlPlaneDataType = '';
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $createTime;
|
---|
48 | /**
|
---|
49 | * @var string
|
---|
50 | */
|
---|
51 | public $deleteTime;
|
---|
52 | /**
|
---|
53 | * @var string
|
---|
54 | */
|
---|
55 | public $description;
|
---|
56 | /**
|
---|
57 | * @var string
|
---|
58 | */
|
---|
59 | public $endpoint;
|
---|
60 | /**
|
---|
61 | * @var string
|
---|
62 | */
|
---|
63 | public $etag;
|
---|
64 | protected $fleetType = Fleet::class;
|
---|
65 | protected $fleetDataType = '';
|
---|
66 | protected $loadBalancerType = BareMetalLoadBalancerConfig::class;
|
---|
67 | protected $loadBalancerDataType = '';
|
---|
68 | /**
|
---|
69 | * @var string
|
---|
70 | */
|
---|
71 | public $localName;
|
---|
72 | protected $maintenanceConfigType = BareMetalMaintenanceConfig::class;
|
---|
73 | protected $maintenanceConfigDataType = '';
|
---|
74 | protected $maintenanceStatusType = BareMetalMaintenanceStatus::class;
|
---|
75 | protected $maintenanceStatusDataType = '';
|
---|
76 | /**
|
---|
77 | * @var string
|
---|
78 | */
|
---|
79 | public $name;
|
---|
80 | protected $networkConfigType = BareMetalNetworkConfig::class;
|
---|
81 | protected $networkConfigDataType = '';
|
---|
82 | protected $nodeAccessConfigType = BareMetalNodeAccessConfig::class;
|
---|
83 | protected $nodeAccessConfigDataType = '';
|
---|
84 | protected $nodeConfigType = BareMetalWorkloadNodeConfig::class;
|
---|
85 | protected $nodeConfigDataType = '';
|
---|
86 | protected $osEnvironmentConfigType = BareMetalOsEnvironmentConfig::class;
|
---|
87 | protected $osEnvironmentConfigDataType = '';
|
---|
88 | protected $proxyType = BareMetalProxyConfig::class;
|
---|
89 | protected $proxyDataType = '';
|
---|
90 | /**
|
---|
91 | * @var bool
|
---|
92 | */
|
---|
93 | public $reconciling;
|
---|
94 | protected $securityConfigType = BareMetalSecurityConfig::class;
|
---|
95 | protected $securityConfigDataType = '';
|
---|
96 | /**
|
---|
97 | * @var string
|
---|
98 | */
|
---|
99 | public $state;
|
---|
100 | protected $statusType = ResourceStatus::class;
|
---|
101 | protected $statusDataType = '';
|
---|
102 | protected $storageType = BareMetalStorageConfig::class;
|
---|
103 | protected $storageDataType = '';
|
---|
104 | /**
|
---|
105 | * @var string
|
---|
106 | */
|
---|
107 | public $uid;
|
---|
108 | /**
|
---|
109 | * @var string
|
---|
110 | */
|
---|
111 | public $updateTime;
|
---|
112 | protected $upgradePolicyType = BareMetalClusterUpgradePolicy::class;
|
---|
113 | protected $upgradePolicyDataType = '';
|
---|
114 | protected $validationCheckType = ValidationCheck::class;
|
---|
115 | protected $validationCheckDataType = '';
|
---|
116 |
|
---|
117 | /**
|
---|
118 | * @param string
|
---|
119 | */
|
---|
120 | public function setAdminClusterMembership($adminClusterMembership)
|
---|
121 | {
|
---|
122 | $this->adminClusterMembership = $adminClusterMembership;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @return string
|
---|
126 | */
|
---|
127 | public function getAdminClusterMembership()
|
---|
128 | {
|
---|
129 | return $this->adminClusterMembership;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @param string
|
---|
133 | */
|
---|
134 | public function setAdminClusterName($adminClusterName)
|
---|
135 | {
|
---|
136 | $this->adminClusterName = $adminClusterName;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @return string
|
---|
140 | */
|
---|
141 | public function getAdminClusterName()
|
---|
142 | {
|
---|
143 | return $this->adminClusterName;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @param string[]
|
---|
147 | */
|
---|
148 | public function setAnnotations($annotations)
|
---|
149 | {
|
---|
150 | $this->annotations = $annotations;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @return string[]
|
---|
154 | */
|
---|
155 | public function getAnnotations()
|
---|
156 | {
|
---|
157 | return $this->annotations;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @param string
|
---|
161 | */
|
---|
162 | public function setBareMetalVersion($bareMetalVersion)
|
---|
163 | {
|
---|
164 | $this->bareMetalVersion = $bareMetalVersion;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @return string
|
---|
168 | */
|
---|
169 | public function getBareMetalVersion()
|
---|
170 | {
|
---|
171 | return $this->bareMetalVersion;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @param BinaryAuthorization
|
---|
175 | */
|
---|
176 | public function setBinaryAuthorization(BinaryAuthorization $binaryAuthorization)
|
---|
177 | {
|
---|
178 | $this->binaryAuthorization = $binaryAuthorization;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @return BinaryAuthorization
|
---|
182 | */
|
---|
183 | public function getBinaryAuthorization()
|
---|
184 | {
|
---|
185 | return $this->binaryAuthorization;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @param BareMetalClusterOperationsConfig
|
---|
189 | */
|
---|
190 | public function setClusterOperations(BareMetalClusterOperationsConfig $clusterOperations)
|
---|
191 | {
|
---|
192 | $this->clusterOperations = $clusterOperations;
|
---|
193 | }
|
---|
194 | /**
|
---|
195 | * @return BareMetalClusterOperationsConfig
|
---|
196 | */
|
---|
197 | public function getClusterOperations()
|
---|
198 | {
|
---|
199 | return $this->clusterOperations;
|
---|
200 | }
|
---|
201 | /**
|
---|
202 | * @param BareMetalControlPlaneConfig
|
---|
203 | */
|
---|
204 | public function setControlPlane(BareMetalControlPlaneConfig $controlPlane)
|
---|
205 | {
|
---|
206 | $this->controlPlane = $controlPlane;
|
---|
207 | }
|
---|
208 | /**
|
---|
209 | * @return BareMetalControlPlaneConfig
|
---|
210 | */
|
---|
211 | public function getControlPlane()
|
---|
212 | {
|
---|
213 | return $this->controlPlane;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @param string
|
---|
217 | */
|
---|
218 | public function setCreateTime($createTime)
|
---|
219 | {
|
---|
220 | $this->createTime = $createTime;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @return string
|
---|
224 | */
|
---|
225 | public function getCreateTime()
|
---|
226 | {
|
---|
227 | return $this->createTime;
|
---|
228 | }
|
---|
229 | /**
|
---|
230 | * @param string
|
---|
231 | */
|
---|
232 | public function setDeleteTime($deleteTime)
|
---|
233 | {
|
---|
234 | $this->deleteTime = $deleteTime;
|
---|
235 | }
|
---|
236 | /**
|
---|
237 | * @return string
|
---|
238 | */
|
---|
239 | public function getDeleteTime()
|
---|
240 | {
|
---|
241 | return $this->deleteTime;
|
---|
242 | }
|
---|
243 | /**
|
---|
244 | * @param string
|
---|
245 | */
|
---|
246 | public function setDescription($description)
|
---|
247 | {
|
---|
248 | $this->description = $description;
|
---|
249 | }
|
---|
250 | /**
|
---|
251 | * @return string
|
---|
252 | */
|
---|
253 | public function getDescription()
|
---|
254 | {
|
---|
255 | return $this->description;
|
---|
256 | }
|
---|
257 | /**
|
---|
258 | * @param string
|
---|
259 | */
|
---|
260 | public function setEndpoint($endpoint)
|
---|
261 | {
|
---|
262 | $this->endpoint = $endpoint;
|
---|
263 | }
|
---|
264 | /**
|
---|
265 | * @return string
|
---|
266 | */
|
---|
267 | public function getEndpoint()
|
---|
268 | {
|
---|
269 | return $this->endpoint;
|
---|
270 | }
|
---|
271 | /**
|
---|
272 | * @param string
|
---|
273 | */
|
---|
274 | public function setEtag($etag)
|
---|
275 | {
|
---|
276 | $this->etag = $etag;
|
---|
277 | }
|
---|
278 | /**
|
---|
279 | * @return string
|
---|
280 | */
|
---|
281 | public function getEtag()
|
---|
282 | {
|
---|
283 | return $this->etag;
|
---|
284 | }
|
---|
285 | /**
|
---|
286 | * @param Fleet
|
---|
287 | */
|
---|
288 | public function setFleet(Fleet $fleet)
|
---|
289 | {
|
---|
290 | $this->fleet = $fleet;
|
---|
291 | }
|
---|
292 | /**
|
---|
293 | * @return Fleet
|
---|
294 | */
|
---|
295 | public function getFleet()
|
---|
296 | {
|
---|
297 | return $this->fleet;
|
---|
298 | }
|
---|
299 | /**
|
---|
300 | * @param BareMetalLoadBalancerConfig
|
---|
301 | */
|
---|
302 | public function setLoadBalancer(BareMetalLoadBalancerConfig $loadBalancer)
|
---|
303 | {
|
---|
304 | $this->loadBalancer = $loadBalancer;
|
---|
305 | }
|
---|
306 | /**
|
---|
307 | * @return BareMetalLoadBalancerConfig
|
---|
308 | */
|
---|
309 | public function getLoadBalancer()
|
---|
310 | {
|
---|
311 | return $this->loadBalancer;
|
---|
312 | }
|
---|
313 | /**
|
---|
314 | * @param string
|
---|
315 | */
|
---|
316 | public function setLocalName($localName)
|
---|
317 | {
|
---|
318 | $this->localName = $localName;
|
---|
319 | }
|
---|
320 | /**
|
---|
321 | * @return string
|
---|
322 | */
|
---|
323 | public function getLocalName()
|
---|
324 | {
|
---|
325 | return $this->localName;
|
---|
326 | }
|
---|
327 | /**
|
---|
328 | * @param BareMetalMaintenanceConfig
|
---|
329 | */
|
---|
330 | public function setMaintenanceConfig(BareMetalMaintenanceConfig $maintenanceConfig)
|
---|
331 | {
|
---|
332 | $this->maintenanceConfig = $maintenanceConfig;
|
---|
333 | }
|
---|
334 | /**
|
---|
335 | * @return BareMetalMaintenanceConfig
|
---|
336 | */
|
---|
337 | public function getMaintenanceConfig()
|
---|
338 | {
|
---|
339 | return $this->maintenanceConfig;
|
---|
340 | }
|
---|
341 | /**
|
---|
342 | * @param BareMetalMaintenanceStatus
|
---|
343 | */
|
---|
344 | public function setMaintenanceStatus(BareMetalMaintenanceStatus $maintenanceStatus)
|
---|
345 | {
|
---|
346 | $this->maintenanceStatus = $maintenanceStatus;
|
---|
347 | }
|
---|
348 | /**
|
---|
349 | * @return BareMetalMaintenanceStatus
|
---|
350 | */
|
---|
351 | public function getMaintenanceStatus()
|
---|
352 | {
|
---|
353 | return $this->maintenanceStatus;
|
---|
354 | }
|
---|
355 | /**
|
---|
356 | * @param string
|
---|
357 | */
|
---|
358 | public function setName($name)
|
---|
359 | {
|
---|
360 | $this->name = $name;
|
---|
361 | }
|
---|
362 | /**
|
---|
363 | * @return string
|
---|
364 | */
|
---|
365 | public function getName()
|
---|
366 | {
|
---|
367 | return $this->name;
|
---|
368 | }
|
---|
369 | /**
|
---|
370 | * @param BareMetalNetworkConfig
|
---|
371 | */
|
---|
372 | public function setNetworkConfig(BareMetalNetworkConfig $networkConfig)
|
---|
373 | {
|
---|
374 | $this->networkConfig = $networkConfig;
|
---|
375 | }
|
---|
376 | /**
|
---|
377 | * @return BareMetalNetworkConfig
|
---|
378 | */
|
---|
379 | public function getNetworkConfig()
|
---|
380 | {
|
---|
381 | return $this->networkConfig;
|
---|
382 | }
|
---|
383 | /**
|
---|
384 | * @param BareMetalNodeAccessConfig
|
---|
385 | */
|
---|
386 | public function setNodeAccessConfig(BareMetalNodeAccessConfig $nodeAccessConfig)
|
---|
387 | {
|
---|
388 | $this->nodeAccessConfig = $nodeAccessConfig;
|
---|
389 | }
|
---|
390 | /**
|
---|
391 | * @return BareMetalNodeAccessConfig
|
---|
392 | */
|
---|
393 | public function getNodeAccessConfig()
|
---|
394 | {
|
---|
395 | return $this->nodeAccessConfig;
|
---|
396 | }
|
---|
397 | /**
|
---|
398 | * @param BareMetalWorkloadNodeConfig
|
---|
399 | */
|
---|
400 | public function setNodeConfig(BareMetalWorkloadNodeConfig $nodeConfig)
|
---|
401 | {
|
---|
402 | $this->nodeConfig = $nodeConfig;
|
---|
403 | }
|
---|
404 | /**
|
---|
405 | * @return BareMetalWorkloadNodeConfig
|
---|
406 | */
|
---|
407 | public function getNodeConfig()
|
---|
408 | {
|
---|
409 | return $this->nodeConfig;
|
---|
410 | }
|
---|
411 | /**
|
---|
412 | * @param BareMetalOsEnvironmentConfig
|
---|
413 | */
|
---|
414 | public function setOsEnvironmentConfig(BareMetalOsEnvironmentConfig $osEnvironmentConfig)
|
---|
415 | {
|
---|
416 | $this->osEnvironmentConfig = $osEnvironmentConfig;
|
---|
417 | }
|
---|
418 | /**
|
---|
419 | * @return BareMetalOsEnvironmentConfig
|
---|
420 | */
|
---|
421 | public function getOsEnvironmentConfig()
|
---|
422 | {
|
---|
423 | return $this->osEnvironmentConfig;
|
---|
424 | }
|
---|
425 | /**
|
---|
426 | * @param BareMetalProxyConfig
|
---|
427 | */
|
---|
428 | public function setProxy(BareMetalProxyConfig $proxy)
|
---|
429 | {
|
---|
430 | $this->proxy = $proxy;
|
---|
431 | }
|
---|
432 | /**
|
---|
433 | * @return BareMetalProxyConfig
|
---|
434 | */
|
---|
435 | public function getProxy()
|
---|
436 | {
|
---|
437 | return $this->proxy;
|
---|
438 | }
|
---|
439 | /**
|
---|
440 | * @param bool
|
---|
441 | */
|
---|
442 | public function setReconciling($reconciling)
|
---|
443 | {
|
---|
444 | $this->reconciling = $reconciling;
|
---|
445 | }
|
---|
446 | /**
|
---|
447 | * @return bool
|
---|
448 | */
|
---|
449 | public function getReconciling()
|
---|
450 | {
|
---|
451 | return $this->reconciling;
|
---|
452 | }
|
---|
453 | /**
|
---|
454 | * @param BareMetalSecurityConfig
|
---|
455 | */
|
---|
456 | public function setSecurityConfig(BareMetalSecurityConfig $securityConfig)
|
---|
457 | {
|
---|
458 | $this->securityConfig = $securityConfig;
|
---|
459 | }
|
---|
460 | /**
|
---|
461 | * @return BareMetalSecurityConfig
|
---|
462 | */
|
---|
463 | public function getSecurityConfig()
|
---|
464 | {
|
---|
465 | return $this->securityConfig;
|
---|
466 | }
|
---|
467 | /**
|
---|
468 | * @param string
|
---|
469 | */
|
---|
470 | public function setState($state)
|
---|
471 | {
|
---|
472 | $this->state = $state;
|
---|
473 | }
|
---|
474 | /**
|
---|
475 | * @return string
|
---|
476 | */
|
---|
477 | public function getState()
|
---|
478 | {
|
---|
479 | return $this->state;
|
---|
480 | }
|
---|
481 | /**
|
---|
482 | * @param ResourceStatus
|
---|
483 | */
|
---|
484 | public function setStatus(ResourceStatus $status)
|
---|
485 | {
|
---|
486 | $this->status = $status;
|
---|
487 | }
|
---|
488 | /**
|
---|
489 | * @return ResourceStatus
|
---|
490 | */
|
---|
491 | public function getStatus()
|
---|
492 | {
|
---|
493 | return $this->status;
|
---|
494 | }
|
---|
495 | /**
|
---|
496 | * @param BareMetalStorageConfig
|
---|
497 | */
|
---|
498 | public function setStorage(BareMetalStorageConfig $storage)
|
---|
499 | {
|
---|
500 | $this->storage = $storage;
|
---|
501 | }
|
---|
502 | /**
|
---|
503 | * @return BareMetalStorageConfig
|
---|
504 | */
|
---|
505 | public function getStorage()
|
---|
506 | {
|
---|
507 | return $this->storage;
|
---|
508 | }
|
---|
509 | /**
|
---|
510 | * @param string
|
---|
511 | */
|
---|
512 | public function setUid($uid)
|
---|
513 | {
|
---|
514 | $this->uid = $uid;
|
---|
515 | }
|
---|
516 | /**
|
---|
517 | * @return string
|
---|
518 | */
|
---|
519 | public function getUid()
|
---|
520 | {
|
---|
521 | return $this->uid;
|
---|
522 | }
|
---|
523 | /**
|
---|
524 | * @param string
|
---|
525 | */
|
---|
526 | public function setUpdateTime($updateTime)
|
---|
527 | {
|
---|
528 | $this->updateTime = $updateTime;
|
---|
529 | }
|
---|
530 | /**
|
---|
531 | * @return string
|
---|
532 | */
|
---|
533 | public function getUpdateTime()
|
---|
534 | {
|
---|
535 | return $this->updateTime;
|
---|
536 | }
|
---|
537 | /**
|
---|
538 | * @param BareMetalClusterUpgradePolicy
|
---|
539 | */
|
---|
540 | public function setUpgradePolicy(BareMetalClusterUpgradePolicy $upgradePolicy)
|
---|
541 | {
|
---|
542 | $this->upgradePolicy = $upgradePolicy;
|
---|
543 | }
|
---|
544 | /**
|
---|
545 | * @return BareMetalClusterUpgradePolicy
|
---|
546 | */
|
---|
547 | public function getUpgradePolicy()
|
---|
548 | {
|
---|
549 | return $this->upgradePolicy;
|
---|
550 | }
|
---|
551 | /**
|
---|
552 | * @param ValidationCheck
|
---|
553 | */
|
---|
554 | public function setValidationCheck(ValidationCheck $validationCheck)
|
---|
555 | {
|
---|
556 | $this->validationCheck = $validationCheck;
|
---|
557 | }
|
---|
558 | /**
|
---|
559 | * @return ValidationCheck
|
---|
560 | */
|
---|
561 | public function getValidationCheck()
|
---|
562 | {
|
---|
563 | return $this->validationCheck;
|
---|
564 | }
|
---|
565 | }
|
---|
566 |
|
---|
567 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
568 | class_alias(BareMetalCluster::class, 'Google_Service_GKEOnPrem_BareMetalCluster');
|
---|