[f9c482b] | 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 UpdateNodePoolRequest extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'storagePools';
|
---|
| 23 | protected $acceleratorsType = AcceleratorConfig::class;
|
---|
| 24 | protected $acceleratorsDataType = 'array';
|
---|
| 25 | /**
|
---|
| 26 | * @var string
|
---|
| 27 | */
|
---|
| 28 | public $clusterId;
|
---|
| 29 | protected $confidentialNodesType = ConfidentialNodes::class;
|
---|
| 30 | protected $confidentialNodesDataType = '';
|
---|
| 31 | protected $containerdConfigType = ContainerdConfig::class;
|
---|
| 32 | protected $containerdConfigDataType = '';
|
---|
| 33 | /**
|
---|
| 34 | * @var string
|
---|
| 35 | */
|
---|
| 36 | public $diskSizeGb;
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $diskType;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $etag;
|
---|
| 45 | protected $fastSocketType = FastSocket::class;
|
---|
| 46 | protected $fastSocketDataType = '';
|
---|
| 47 | protected $gcfsConfigType = GcfsConfig::class;
|
---|
| 48 | protected $gcfsConfigDataType = '';
|
---|
| 49 | protected $gvnicType = VirtualNIC::class;
|
---|
| 50 | protected $gvnicDataType = '';
|
---|
| 51 | /**
|
---|
| 52 | * @var string
|
---|
| 53 | */
|
---|
| 54 | public $imageType;
|
---|
| 55 | protected $kubeletConfigType = NodeKubeletConfig::class;
|
---|
| 56 | protected $kubeletConfigDataType = '';
|
---|
| 57 | protected $labelsType = NodeLabels::class;
|
---|
| 58 | protected $labelsDataType = '';
|
---|
| 59 | protected $linuxNodeConfigType = LinuxNodeConfig::class;
|
---|
| 60 | protected $linuxNodeConfigDataType = '';
|
---|
| 61 | /**
|
---|
| 62 | * @var string[]
|
---|
| 63 | */
|
---|
| 64 | public $locations;
|
---|
| 65 | protected $loggingConfigType = NodePoolLoggingConfig::class;
|
---|
| 66 | protected $loggingConfigDataType = '';
|
---|
| 67 | /**
|
---|
| 68 | * @var string
|
---|
| 69 | */
|
---|
| 70 | public $machineType;
|
---|
| 71 | /**
|
---|
| 72 | * @var string
|
---|
| 73 | */
|
---|
| 74 | public $name;
|
---|
| 75 | protected $nodeNetworkConfigType = NodeNetworkConfig::class;
|
---|
| 76 | protected $nodeNetworkConfigDataType = '';
|
---|
| 77 | /**
|
---|
| 78 | * @var string
|
---|
| 79 | */
|
---|
| 80 | public $nodePoolId;
|
---|
| 81 | /**
|
---|
| 82 | * @var string
|
---|
| 83 | */
|
---|
| 84 | public $nodeVersion;
|
---|
| 85 | /**
|
---|
| 86 | * @var string
|
---|
| 87 | */
|
---|
| 88 | public $projectId;
|
---|
| 89 | protected $queuedProvisioningType = QueuedProvisioning::class;
|
---|
| 90 | protected $queuedProvisioningDataType = '';
|
---|
| 91 | protected $resourceLabelsType = ResourceLabels::class;
|
---|
| 92 | protected $resourceLabelsDataType = '';
|
---|
| 93 | protected $resourceManagerTagsType = ResourceManagerTags::class;
|
---|
| 94 | protected $resourceManagerTagsDataType = '';
|
---|
| 95 | /**
|
---|
| 96 | * @var string[]
|
---|
| 97 | */
|
---|
| 98 | public $storagePools;
|
---|
| 99 | protected $tagsType = NetworkTags::class;
|
---|
| 100 | protected $tagsDataType = '';
|
---|
| 101 | protected $taintsType = NodeTaints::class;
|
---|
| 102 | protected $taintsDataType = '';
|
---|
| 103 | protected $upgradeSettingsType = UpgradeSettings::class;
|
---|
| 104 | protected $upgradeSettingsDataType = '';
|
---|
| 105 | protected $windowsNodeConfigType = WindowsNodeConfig::class;
|
---|
| 106 | protected $windowsNodeConfigDataType = '';
|
---|
| 107 | protected $workloadMetadataConfigType = WorkloadMetadataConfig::class;
|
---|
| 108 | protected $workloadMetadataConfigDataType = '';
|
---|
| 109 | /**
|
---|
| 110 | * @var string
|
---|
| 111 | */
|
---|
| 112 | public $zone;
|
---|
| 113 |
|
---|
| 114 | /**
|
---|
| 115 | * @param AcceleratorConfig[]
|
---|
| 116 | */
|
---|
| 117 | public function setAccelerators($accelerators)
|
---|
| 118 | {
|
---|
| 119 | $this->accelerators = $accelerators;
|
---|
| 120 | }
|
---|
| 121 | /**
|
---|
| 122 | * @return AcceleratorConfig[]
|
---|
| 123 | */
|
---|
| 124 | public function getAccelerators()
|
---|
| 125 | {
|
---|
| 126 | return $this->accelerators;
|
---|
| 127 | }
|
---|
| 128 | /**
|
---|
| 129 | * @param string
|
---|
| 130 | */
|
---|
| 131 | public function setClusterId($clusterId)
|
---|
| 132 | {
|
---|
| 133 | $this->clusterId = $clusterId;
|
---|
| 134 | }
|
---|
| 135 | /**
|
---|
| 136 | * @return string
|
---|
| 137 | */
|
---|
| 138 | public function getClusterId()
|
---|
| 139 | {
|
---|
| 140 | return $this->clusterId;
|
---|
| 141 | }
|
---|
| 142 | /**
|
---|
| 143 | * @param ConfidentialNodes
|
---|
| 144 | */
|
---|
| 145 | public function setConfidentialNodes(ConfidentialNodes $confidentialNodes)
|
---|
| 146 | {
|
---|
| 147 | $this->confidentialNodes = $confidentialNodes;
|
---|
| 148 | }
|
---|
| 149 | /**
|
---|
| 150 | * @return ConfidentialNodes
|
---|
| 151 | */
|
---|
| 152 | public function getConfidentialNodes()
|
---|
| 153 | {
|
---|
| 154 | return $this->confidentialNodes;
|
---|
| 155 | }
|
---|
| 156 | /**
|
---|
| 157 | * @param ContainerdConfig
|
---|
| 158 | */
|
---|
| 159 | public function setContainerdConfig(ContainerdConfig $containerdConfig)
|
---|
| 160 | {
|
---|
| 161 | $this->containerdConfig = $containerdConfig;
|
---|
| 162 | }
|
---|
| 163 | /**
|
---|
| 164 | * @return ContainerdConfig
|
---|
| 165 | */
|
---|
| 166 | public function getContainerdConfig()
|
---|
| 167 | {
|
---|
| 168 | return $this->containerdConfig;
|
---|
| 169 | }
|
---|
| 170 | /**
|
---|
| 171 | * @param string
|
---|
| 172 | */
|
---|
| 173 | public function setDiskSizeGb($diskSizeGb)
|
---|
| 174 | {
|
---|
| 175 | $this->diskSizeGb = $diskSizeGb;
|
---|
| 176 | }
|
---|
| 177 | /**
|
---|
| 178 | * @return string
|
---|
| 179 | */
|
---|
| 180 | public function getDiskSizeGb()
|
---|
| 181 | {
|
---|
| 182 | return $this->diskSizeGb;
|
---|
| 183 | }
|
---|
| 184 | /**
|
---|
| 185 | * @param string
|
---|
| 186 | */
|
---|
| 187 | public function setDiskType($diskType)
|
---|
| 188 | {
|
---|
| 189 | $this->diskType = $diskType;
|
---|
| 190 | }
|
---|
| 191 | /**
|
---|
| 192 | * @return string
|
---|
| 193 | */
|
---|
| 194 | public function getDiskType()
|
---|
| 195 | {
|
---|
| 196 | return $this->diskType;
|
---|
| 197 | }
|
---|
| 198 | /**
|
---|
| 199 | * @param string
|
---|
| 200 | */
|
---|
| 201 | public function setEtag($etag)
|
---|
| 202 | {
|
---|
| 203 | $this->etag = $etag;
|
---|
| 204 | }
|
---|
| 205 | /**
|
---|
| 206 | * @return string
|
---|
| 207 | */
|
---|
| 208 | public function getEtag()
|
---|
| 209 | {
|
---|
| 210 | return $this->etag;
|
---|
| 211 | }
|
---|
| 212 | /**
|
---|
| 213 | * @param FastSocket
|
---|
| 214 | */
|
---|
| 215 | public function setFastSocket(FastSocket $fastSocket)
|
---|
| 216 | {
|
---|
| 217 | $this->fastSocket = $fastSocket;
|
---|
| 218 | }
|
---|
| 219 | /**
|
---|
| 220 | * @return FastSocket
|
---|
| 221 | */
|
---|
| 222 | public function getFastSocket()
|
---|
| 223 | {
|
---|
| 224 | return $this->fastSocket;
|
---|
| 225 | }
|
---|
| 226 | /**
|
---|
| 227 | * @param GcfsConfig
|
---|
| 228 | */
|
---|
| 229 | public function setGcfsConfig(GcfsConfig $gcfsConfig)
|
---|
| 230 | {
|
---|
| 231 | $this->gcfsConfig = $gcfsConfig;
|
---|
| 232 | }
|
---|
| 233 | /**
|
---|
| 234 | * @return GcfsConfig
|
---|
| 235 | */
|
---|
| 236 | public function getGcfsConfig()
|
---|
| 237 | {
|
---|
| 238 | return $this->gcfsConfig;
|
---|
| 239 | }
|
---|
| 240 | /**
|
---|
| 241 | * @param VirtualNIC
|
---|
| 242 | */
|
---|
| 243 | public function setGvnic(VirtualNIC $gvnic)
|
---|
| 244 | {
|
---|
| 245 | $this->gvnic = $gvnic;
|
---|
| 246 | }
|
---|
| 247 | /**
|
---|
| 248 | * @return VirtualNIC
|
---|
| 249 | */
|
---|
| 250 | public function getGvnic()
|
---|
| 251 | {
|
---|
| 252 | return $this->gvnic;
|
---|
| 253 | }
|
---|
| 254 | /**
|
---|
| 255 | * @param string
|
---|
| 256 | */
|
---|
| 257 | public function setImageType($imageType)
|
---|
| 258 | {
|
---|
| 259 | $this->imageType = $imageType;
|
---|
| 260 | }
|
---|
| 261 | /**
|
---|
| 262 | * @return string
|
---|
| 263 | */
|
---|
| 264 | public function getImageType()
|
---|
| 265 | {
|
---|
| 266 | return $this->imageType;
|
---|
| 267 | }
|
---|
| 268 | /**
|
---|
| 269 | * @param NodeKubeletConfig
|
---|
| 270 | */
|
---|
| 271 | public function setKubeletConfig(NodeKubeletConfig $kubeletConfig)
|
---|
| 272 | {
|
---|
| 273 | $this->kubeletConfig = $kubeletConfig;
|
---|
| 274 | }
|
---|
| 275 | /**
|
---|
| 276 | * @return NodeKubeletConfig
|
---|
| 277 | */
|
---|
| 278 | public function getKubeletConfig()
|
---|
| 279 | {
|
---|
| 280 | return $this->kubeletConfig;
|
---|
| 281 | }
|
---|
| 282 | /**
|
---|
| 283 | * @param NodeLabels
|
---|
| 284 | */
|
---|
| 285 | public function setLabels(NodeLabels $labels)
|
---|
| 286 | {
|
---|
| 287 | $this->labels = $labels;
|
---|
| 288 | }
|
---|
| 289 | /**
|
---|
| 290 | * @return NodeLabels
|
---|
| 291 | */
|
---|
| 292 | public function getLabels()
|
---|
| 293 | {
|
---|
| 294 | return $this->labels;
|
---|
| 295 | }
|
---|
| 296 | /**
|
---|
| 297 | * @param LinuxNodeConfig
|
---|
| 298 | */
|
---|
| 299 | public function setLinuxNodeConfig(LinuxNodeConfig $linuxNodeConfig)
|
---|
| 300 | {
|
---|
| 301 | $this->linuxNodeConfig = $linuxNodeConfig;
|
---|
| 302 | }
|
---|
| 303 | /**
|
---|
| 304 | * @return LinuxNodeConfig
|
---|
| 305 | */
|
---|
| 306 | public function getLinuxNodeConfig()
|
---|
| 307 | {
|
---|
| 308 | return $this->linuxNodeConfig;
|
---|
| 309 | }
|
---|
| 310 | /**
|
---|
| 311 | * @param string[]
|
---|
| 312 | */
|
---|
| 313 | public function setLocations($locations)
|
---|
| 314 | {
|
---|
| 315 | $this->locations = $locations;
|
---|
| 316 | }
|
---|
| 317 | /**
|
---|
| 318 | * @return string[]
|
---|
| 319 | */
|
---|
| 320 | public function getLocations()
|
---|
| 321 | {
|
---|
| 322 | return $this->locations;
|
---|
| 323 | }
|
---|
| 324 | /**
|
---|
| 325 | * @param NodePoolLoggingConfig
|
---|
| 326 | */
|
---|
| 327 | public function setLoggingConfig(NodePoolLoggingConfig $loggingConfig)
|
---|
| 328 | {
|
---|
| 329 | $this->loggingConfig = $loggingConfig;
|
---|
| 330 | }
|
---|
| 331 | /**
|
---|
| 332 | * @return NodePoolLoggingConfig
|
---|
| 333 | */
|
---|
| 334 | public function getLoggingConfig()
|
---|
| 335 | {
|
---|
| 336 | return $this->loggingConfig;
|
---|
| 337 | }
|
---|
| 338 | /**
|
---|
| 339 | * @param string
|
---|
| 340 | */
|
---|
| 341 | public function setMachineType($machineType)
|
---|
| 342 | {
|
---|
| 343 | $this->machineType = $machineType;
|
---|
| 344 | }
|
---|
| 345 | /**
|
---|
| 346 | * @return string
|
---|
| 347 | */
|
---|
| 348 | public function getMachineType()
|
---|
| 349 | {
|
---|
| 350 | return $this->machineType;
|
---|
| 351 | }
|
---|
| 352 | /**
|
---|
| 353 | * @param string
|
---|
| 354 | */
|
---|
| 355 | public function setName($name)
|
---|
| 356 | {
|
---|
| 357 | $this->name = $name;
|
---|
| 358 | }
|
---|
| 359 | /**
|
---|
| 360 | * @return string
|
---|
| 361 | */
|
---|
| 362 | public function getName()
|
---|
| 363 | {
|
---|
| 364 | return $this->name;
|
---|
| 365 | }
|
---|
| 366 | /**
|
---|
| 367 | * @param NodeNetworkConfig
|
---|
| 368 | */
|
---|
| 369 | public function setNodeNetworkConfig(NodeNetworkConfig $nodeNetworkConfig)
|
---|
| 370 | {
|
---|
| 371 | $this->nodeNetworkConfig = $nodeNetworkConfig;
|
---|
| 372 | }
|
---|
| 373 | /**
|
---|
| 374 | * @return NodeNetworkConfig
|
---|
| 375 | */
|
---|
| 376 | public function getNodeNetworkConfig()
|
---|
| 377 | {
|
---|
| 378 | return $this->nodeNetworkConfig;
|
---|
| 379 | }
|
---|
| 380 | /**
|
---|
| 381 | * @param string
|
---|
| 382 | */
|
---|
| 383 | public function setNodePoolId($nodePoolId)
|
---|
| 384 | {
|
---|
| 385 | $this->nodePoolId = $nodePoolId;
|
---|
| 386 | }
|
---|
| 387 | /**
|
---|
| 388 | * @return string
|
---|
| 389 | */
|
---|
| 390 | public function getNodePoolId()
|
---|
| 391 | {
|
---|
| 392 | return $this->nodePoolId;
|
---|
| 393 | }
|
---|
| 394 | /**
|
---|
| 395 | * @param string
|
---|
| 396 | */
|
---|
| 397 | public function setNodeVersion($nodeVersion)
|
---|
| 398 | {
|
---|
| 399 | $this->nodeVersion = $nodeVersion;
|
---|
| 400 | }
|
---|
| 401 | /**
|
---|
| 402 | * @return string
|
---|
| 403 | */
|
---|
| 404 | public function getNodeVersion()
|
---|
| 405 | {
|
---|
| 406 | return $this->nodeVersion;
|
---|
| 407 | }
|
---|
| 408 | /**
|
---|
| 409 | * @param string
|
---|
| 410 | */
|
---|
| 411 | public function setProjectId($projectId)
|
---|
| 412 | {
|
---|
| 413 | $this->projectId = $projectId;
|
---|
| 414 | }
|
---|
| 415 | /**
|
---|
| 416 | * @return string
|
---|
| 417 | */
|
---|
| 418 | public function getProjectId()
|
---|
| 419 | {
|
---|
| 420 | return $this->projectId;
|
---|
| 421 | }
|
---|
| 422 | /**
|
---|
| 423 | * @param QueuedProvisioning
|
---|
| 424 | */
|
---|
| 425 | public function setQueuedProvisioning(QueuedProvisioning $queuedProvisioning)
|
---|
| 426 | {
|
---|
| 427 | $this->queuedProvisioning = $queuedProvisioning;
|
---|
| 428 | }
|
---|
| 429 | /**
|
---|
| 430 | * @return QueuedProvisioning
|
---|
| 431 | */
|
---|
| 432 | public function getQueuedProvisioning()
|
---|
| 433 | {
|
---|
| 434 | return $this->queuedProvisioning;
|
---|
| 435 | }
|
---|
| 436 | /**
|
---|
| 437 | * @param ResourceLabels
|
---|
| 438 | */
|
---|
| 439 | public function setResourceLabels(ResourceLabels $resourceLabels)
|
---|
| 440 | {
|
---|
| 441 | $this->resourceLabels = $resourceLabels;
|
---|
| 442 | }
|
---|
| 443 | /**
|
---|
| 444 | * @return ResourceLabels
|
---|
| 445 | */
|
---|
| 446 | public function getResourceLabels()
|
---|
| 447 | {
|
---|
| 448 | return $this->resourceLabels;
|
---|
| 449 | }
|
---|
| 450 | /**
|
---|
| 451 | * @param ResourceManagerTags
|
---|
| 452 | */
|
---|
| 453 | public function setResourceManagerTags(ResourceManagerTags $resourceManagerTags)
|
---|
| 454 | {
|
---|
| 455 | $this->resourceManagerTags = $resourceManagerTags;
|
---|
| 456 | }
|
---|
| 457 | /**
|
---|
| 458 | * @return ResourceManagerTags
|
---|
| 459 | */
|
---|
| 460 | public function getResourceManagerTags()
|
---|
| 461 | {
|
---|
| 462 | return $this->resourceManagerTags;
|
---|
| 463 | }
|
---|
| 464 | /**
|
---|
| 465 | * @param string[]
|
---|
| 466 | */
|
---|
| 467 | public function setStoragePools($storagePools)
|
---|
| 468 | {
|
---|
| 469 | $this->storagePools = $storagePools;
|
---|
| 470 | }
|
---|
| 471 | /**
|
---|
| 472 | * @return string[]
|
---|
| 473 | */
|
---|
| 474 | public function getStoragePools()
|
---|
| 475 | {
|
---|
| 476 | return $this->storagePools;
|
---|
| 477 | }
|
---|
| 478 | /**
|
---|
| 479 | * @param NetworkTags
|
---|
| 480 | */
|
---|
| 481 | public function setTags(NetworkTags $tags)
|
---|
| 482 | {
|
---|
| 483 | $this->tags = $tags;
|
---|
| 484 | }
|
---|
| 485 | /**
|
---|
| 486 | * @return NetworkTags
|
---|
| 487 | */
|
---|
| 488 | public function getTags()
|
---|
| 489 | {
|
---|
| 490 | return $this->tags;
|
---|
| 491 | }
|
---|
| 492 | /**
|
---|
| 493 | * @param NodeTaints
|
---|
| 494 | */
|
---|
| 495 | public function setTaints(NodeTaints $taints)
|
---|
| 496 | {
|
---|
| 497 | $this->taints = $taints;
|
---|
| 498 | }
|
---|
| 499 | /**
|
---|
| 500 | * @return NodeTaints
|
---|
| 501 | */
|
---|
| 502 | public function getTaints()
|
---|
| 503 | {
|
---|
| 504 | return $this->taints;
|
---|
| 505 | }
|
---|
| 506 | /**
|
---|
| 507 | * @param UpgradeSettings
|
---|
| 508 | */
|
---|
| 509 | public function setUpgradeSettings(UpgradeSettings $upgradeSettings)
|
---|
| 510 | {
|
---|
| 511 | $this->upgradeSettings = $upgradeSettings;
|
---|
| 512 | }
|
---|
| 513 | /**
|
---|
| 514 | * @return UpgradeSettings
|
---|
| 515 | */
|
---|
| 516 | public function getUpgradeSettings()
|
---|
| 517 | {
|
---|
| 518 | return $this->upgradeSettings;
|
---|
| 519 | }
|
---|
| 520 | /**
|
---|
| 521 | * @param WindowsNodeConfig
|
---|
| 522 | */
|
---|
| 523 | public function setWindowsNodeConfig(WindowsNodeConfig $windowsNodeConfig)
|
---|
| 524 | {
|
---|
| 525 | $this->windowsNodeConfig = $windowsNodeConfig;
|
---|
| 526 | }
|
---|
| 527 | /**
|
---|
| 528 | * @return WindowsNodeConfig
|
---|
| 529 | */
|
---|
| 530 | public function getWindowsNodeConfig()
|
---|
| 531 | {
|
---|
| 532 | return $this->windowsNodeConfig;
|
---|
| 533 | }
|
---|
| 534 | /**
|
---|
| 535 | * @param WorkloadMetadataConfig
|
---|
| 536 | */
|
---|
| 537 | public function setWorkloadMetadataConfig(WorkloadMetadataConfig $workloadMetadataConfig)
|
---|
| 538 | {
|
---|
| 539 | $this->workloadMetadataConfig = $workloadMetadataConfig;
|
---|
| 540 | }
|
---|
| 541 | /**
|
---|
| 542 | * @return WorkloadMetadataConfig
|
---|
| 543 | */
|
---|
| 544 | public function getWorkloadMetadataConfig()
|
---|
| 545 | {
|
---|
| 546 | return $this->workloadMetadataConfig;
|
---|
| 547 | }
|
---|
| 548 | /**
|
---|
| 549 | * @param string
|
---|
| 550 | */
|
---|
| 551 | public function setZone($zone)
|
---|
| 552 | {
|
---|
| 553 | $this->zone = $zone;
|
---|
| 554 | }
|
---|
| 555 | /**
|
---|
| 556 | * @return string
|
---|
| 557 | */
|
---|
| 558 | public function getZone()
|
---|
| 559 | {
|
---|
| 560 | return $this->zone;
|
---|
| 561 | }
|
---|
| 562 | }
|
---|
| 563 |
|
---|
| 564 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 565 | class_alias(UpdateNodePoolRequest::class, 'Google_Service_Container_UpdateNodePoolRequest');
|
---|