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