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 18namespace Google\Service\Container; 19 20class UpdateNodePoolRequest extends \Google\Collection 21{ 22 protected $collection_key = 'locations'; 23 /** 24 * @var string 25 */ 26 public $clusterId; 27 protected $gcfsConfigType = GcfsConfig::class; 28 protected $gcfsConfigDataType = ''; 29 protected $gvnicType = VirtualNIC::class; 30 protected $gvnicDataType = ''; 31 /** 32 * @var string 33 */ 34 public $imageType; 35 protected $kubeletConfigType = NodeKubeletConfig::class; 36 protected $kubeletConfigDataType = ''; 37 protected $labelsType = NodeLabels::class; 38 protected $labelsDataType = ''; 39 protected $linuxNodeConfigType = LinuxNodeConfig::class; 40 protected $linuxNodeConfigDataType = ''; 41 /** 42 * @var string[] 43 */ 44 public $locations; 45 /** 46 * @var string 47 */ 48 public $name; 49 /** 50 * @var string 51 */ 52 public $nodePoolId; 53 /** 54 * @var string 55 */ 56 public $nodeVersion; 57 /** 58 * @var string 59 */ 60 public $projectId; 61 protected $tagsType = NetworkTags::class; 62 protected $tagsDataType = ''; 63 protected $taintsType = NodeTaints::class; 64 protected $taintsDataType = ''; 65 protected $upgradeSettingsType = UpgradeSettings::class; 66 protected $upgradeSettingsDataType = ''; 67 protected $workloadMetadataConfigType = WorkloadMetadataConfig::class; 68 protected $workloadMetadataConfigDataType = ''; 69 /** 70 * @var string 71 */ 72 public $zone; 73 74 /** 75 * @param string 76 */ 77 public function setClusterId($clusterId) 78 { 79 $this->clusterId = $clusterId; 80 } 81 /** 82 * @return string 83 */ 84 public function getClusterId() 85 { 86 return $this->clusterId; 87 } 88 /** 89 * @param GcfsConfig 90 */ 91 public function setGcfsConfig(GcfsConfig $gcfsConfig) 92 { 93 $this->gcfsConfig = $gcfsConfig; 94 } 95 /** 96 * @return GcfsConfig 97 */ 98 public function getGcfsConfig() 99 { 100 return $this->gcfsConfig; 101 } 102 /** 103 * @param VirtualNIC 104 */ 105 public function setGvnic(VirtualNIC $gvnic) 106 { 107 $this->gvnic = $gvnic; 108 } 109 /** 110 * @return VirtualNIC 111 */ 112 public function getGvnic() 113 { 114 return $this->gvnic; 115 } 116 /** 117 * @param string 118 */ 119 public function setImageType($imageType) 120 { 121 $this->imageType = $imageType; 122 } 123 /** 124 * @return string 125 */ 126 public function getImageType() 127 { 128 return $this->imageType; 129 } 130 /** 131 * @param NodeKubeletConfig 132 */ 133 public function setKubeletConfig(NodeKubeletConfig $kubeletConfig) 134 { 135 $this->kubeletConfig = $kubeletConfig; 136 } 137 /** 138 * @return NodeKubeletConfig 139 */ 140 public function getKubeletConfig() 141 { 142 return $this->kubeletConfig; 143 } 144 /** 145 * @param NodeLabels 146 */ 147 public function setLabels(NodeLabels $labels) 148 { 149 $this->labels = $labels; 150 } 151 /** 152 * @return NodeLabels 153 */ 154 public function getLabels() 155 { 156 return $this->labels; 157 } 158 /** 159 * @param LinuxNodeConfig 160 */ 161 public function setLinuxNodeConfig(LinuxNodeConfig $linuxNodeConfig) 162 { 163 $this->linuxNodeConfig = $linuxNodeConfig; 164 } 165 /** 166 * @return LinuxNodeConfig 167 */ 168 public function getLinuxNodeConfig() 169 { 170 return $this->linuxNodeConfig; 171 } 172 /** 173 * @param string[] 174 */ 175 public function setLocations($locations) 176 { 177 $this->locations = $locations; 178 } 179 /** 180 * @return string[] 181 */ 182 public function getLocations() 183 { 184 return $this->locations; 185 } 186 /** 187 * @param string 188 */ 189 public function setName($name) 190 { 191 $this->name = $name; 192 } 193 /** 194 * @return string 195 */ 196 public function getName() 197 { 198 return $this->name; 199 } 200 /** 201 * @param string 202 */ 203 public function setNodePoolId($nodePoolId) 204 { 205 $this->nodePoolId = $nodePoolId; 206 } 207 /** 208 * @return string 209 */ 210 public function getNodePoolId() 211 { 212 return $this->nodePoolId; 213 } 214 /** 215 * @param string 216 */ 217 public function setNodeVersion($nodeVersion) 218 { 219 $this->nodeVersion = $nodeVersion; 220 } 221 /** 222 * @return string 223 */ 224 public function getNodeVersion() 225 { 226 return $this->nodeVersion; 227 } 228 /** 229 * @param string 230 */ 231 public function setProjectId($projectId) 232 { 233 $this->projectId = $projectId; 234 } 235 /** 236 * @return string 237 */ 238 public function getProjectId() 239 { 240 return $this->projectId; 241 } 242 /** 243 * @param NetworkTags 244 */ 245 public function setTags(NetworkTags $tags) 246 { 247 $this->tags = $tags; 248 } 249 /** 250 * @return NetworkTags 251 */ 252 public function getTags() 253 { 254 return $this->tags; 255 } 256 /** 257 * @param NodeTaints 258 */ 259 public function setTaints(NodeTaints $taints) 260 { 261 $this->taints = $taints; 262 } 263 /** 264 * @return NodeTaints 265 */ 266 public function getTaints() 267 { 268 return $this->taints; 269 } 270 /** 271 * @param UpgradeSettings 272 */ 273 public function setUpgradeSettings(UpgradeSettings $upgradeSettings) 274 { 275 $this->upgradeSettings = $upgradeSettings; 276 } 277 /** 278 * @return UpgradeSettings 279 */ 280 public function getUpgradeSettings() 281 { 282 return $this->upgradeSettings; 283 } 284 /** 285 * @param WorkloadMetadataConfig 286 */ 287 public function setWorkloadMetadataConfig(WorkloadMetadataConfig $workloadMetadataConfig) 288 { 289 $this->workloadMetadataConfig = $workloadMetadataConfig; 290 } 291 /** 292 * @return WorkloadMetadataConfig 293 */ 294 public function getWorkloadMetadataConfig() 295 { 296 return $this->workloadMetadataConfig; 297 } 298 /** 299 * @param string 300 */ 301 public function setZone($zone) 302 { 303 $this->zone = $zone; 304 } 305 /** 306 * @return string 307 */ 308 public function getZone() 309 { 310 return $this->zone; 311 } 312} 313 314// Adding a class alias for backwards compatibility with the previous class name. 315class_alias(UpdateNodePoolRequest::class, 'Google_Service_Container_UpdateNodePoolRequest'); 316