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\Dataflow; 19 20class FlexTemplateRuntimeEnvironment extends \Google\Collection 21{ 22 protected $collection_key = 'additionalExperiments'; 23 /** 24 * @var string[] 25 */ 26 public $additionalExperiments; 27 /** 28 * @var string[] 29 */ 30 public $additionalUserLabels; 31 /** 32 * @var string 33 */ 34 public $autoscalingAlgorithm; 35 /** 36 * @var int 37 */ 38 public $diskSizeGb; 39 /** 40 * @var bool 41 */ 42 public $dumpHeapOnOom; 43 /** 44 * @var bool 45 */ 46 public $enableStreamingEngine; 47 /** 48 * @var string 49 */ 50 public $flexrsGoal; 51 /** 52 * @var string 53 */ 54 public $ipConfiguration; 55 /** 56 * @var string 57 */ 58 public $kmsKeyName; 59 /** 60 * @var string 61 */ 62 public $launcherMachineType; 63 /** 64 * @var string 65 */ 66 public $machineType; 67 /** 68 * @var int 69 */ 70 public $maxWorkers; 71 /** 72 * @var string 73 */ 74 public $network; 75 /** 76 * @var int 77 */ 78 public $numWorkers; 79 /** 80 * @var string 81 */ 82 public $saveHeapDumpsToGcsPath; 83 /** 84 * @var string 85 */ 86 public $sdkContainerImage; 87 /** 88 * @var string 89 */ 90 public $serviceAccountEmail; 91 /** 92 * @var string 93 */ 94 public $stagingLocation; 95 /** 96 * @var string 97 */ 98 public $subnetwork; 99 /** 100 * @var string 101 */ 102 public $tempLocation; 103 /** 104 * @var string 105 */ 106 public $workerRegion; 107 /** 108 * @var string 109 */ 110 public $workerZone; 111 /** 112 * @var string 113 */ 114 public $zone; 115 116 /** 117 * @param string[] 118 */ 119 public function setAdditionalExperiments($additionalExperiments) 120 { 121 $this->additionalExperiments = $additionalExperiments; 122 } 123 /** 124 * @return string[] 125 */ 126 public function getAdditionalExperiments() 127 { 128 return $this->additionalExperiments; 129 } 130 /** 131 * @param string[] 132 */ 133 public function setAdditionalUserLabels($additionalUserLabels) 134 { 135 $this->additionalUserLabels = $additionalUserLabels; 136 } 137 /** 138 * @return string[] 139 */ 140 public function getAdditionalUserLabels() 141 { 142 return $this->additionalUserLabels; 143 } 144 /** 145 * @param string 146 */ 147 public function setAutoscalingAlgorithm($autoscalingAlgorithm) 148 { 149 $this->autoscalingAlgorithm = $autoscalingAlgorithm; 150 } 151 /** 152 * @return string 153 */ 154 public function getAutoscalingAlgorithm() 155 { 156 return $this->autoscalingAlgorithm; 157 } 158 /** 159 * @param int 160 */ 161 public function setDiskSizeGb($diskSizeGb) 162 { 163 $this->diskSizeGb = $diskSizeGb; 164 } 165 /** 166 * @return int 167 */ 168 public function getDiskSizeGb() 169 { 170 return $this->diskSizeGb; 171 } 172 /** 173 * @param bool 174 */ 175 public function setDumpHeapOnOom($dumpHeapOnOom) 176 { 177 $this->dumpHeapOnOom = $dumpHeapOnOom; 178 } 179 /** 180 * @return bool 181 */ 182 public function getDumpHeapOnOom() 183 { 184 return $this->dumpHeapOnOom; 185 } 186 /** 187 * @param bool 188 */ 189 public function setEnableStreamingEngine($enableStreamingEngine) 190 { 191 $this->enableStreamingEngine = $enableStreamingEngine; 192 } 193 /** 194 * @return bool 195 */ 196 public function getEnableStreamingEngine() 197 { 198 return $this->enableStreamingEngine; 199 } 200 /** 201 * @param string 202 */ 203 public function setFlexrsGoal($flexrsGoal) 204 { 205 $this->flexrsGoal = $flexrsGoal; 206 } 207 /** 208 * @return string 209 */ 210 public function getFlexrsGoal() 211 { 212 return $this->flexrsGoal; 213 } 214 /** 215 * @param string 216 */ 217 public function setIpConfiguration($ipConfiguration) 218 { 219 $this->ipConfiguration = $ipConfiguration; 220 } 221 /** 222 * @return string 223 */ 224 public function getIpConfiguration() 225 { 226 return $this->ipConfiguration; 227 } 228 /** 229 * @param string 230 */ 231 public function setKmsKeyName($kmsKeyName) 232 { 233 $this->kmsKeyName = $kmsKeyName; 234 } 235 /** 236 * @return string 237 */ 238 public function getKmsKeyName() 239 { 240 return $this->kmsKeyName; 241 } 242 /** 243 * @param string 244 */ 245 public function setLauncherMachineType($launcherMachineType) 246 { 247 $this->launcherMachineType = $launcherMachineType; 248 } 249 /** 250 * @return string 251 */ 252 public function getLauncherMachineType() 253 { 254 return $this->launcherMachineType; 255 } 256 /** 257 * @param string 258 */ 259 public function setMachineType($machineType) 260 { 261 $this->machineType = $machineType; 262 } 263 /** 264 * @return string 265 */ 266 public function getMachineType() 267 { 268 return $this->machineType; 269 } 270 /** 271 * @param int 272 */ 273 public function setMaxWorkers($maxWorkers) 274 { 275 $this->maxWorkers = $maxWorkers; 276 } 277 /** 278 * @return int 279 */ 280 public function getMaxWorkers() 281 { 282 return $this->maxWorkers; 283 } 284 /** 285 * @param string 286 */ 287 public function setNetwork($network) 288 { 289 $this->network = $network; 290 } 291 /** 292 * @return string 293 */ 294 public function getNetwork() 295 { 296 return $this->network; 297 } 298 /** 299 * @param int 300 */ 301 public function setNumWorkers($numWorkers) 302 { 303 $this->numWorkers = $numWorkers; 304 } 305 /** 306 * @return int 307 */ 308 public function getNumWorkers() 309 { 310 return $this->numWorkers; 311 } 312 /** 313 * @param string 314 */ 315 public function setSaveHeapDumpsToGcsPath($saveHeapDumpsToGcsPath) 316 { 317 $this->saveHeapDumpsToGcsPath = $saveHeapDumpsToGcsPath; 318 } 319 /** 320 * @return string 321 */ 322 public function getSaveHeapDumpsToGcsPath() 323 { 324 return $this->saveHeapDumpsToGcsPath; 325 } 326 /** 327 * @param string 328 */ 329 public function setSdkContainerImage($sdkContainerImage) 330 { 331 $this->sdkContainerImage = $sdkContainerImage; 332 } 333 /** 334 * @return string 335 */ 336 public function getSdkContainerImage() 337 { 338 return $this->sdkContainerImage; 339 } 340 /** 341 * @param string 342 */ 343 public function setServiceAccountEmail($serviceAccountEmail) 344 { 345 $this->serviceAccountEmail = $serviceAccountEmail; 346 } 347 /** 348 * @return string 349 */ 350 public function getServiceAccountEmail() 351 { 352 return $this->serviceAccountEmail; 353 } 354 /** 355 * @param string 356 */ 357 public function setStagingLocation($stagingLocation) 358 { 359 $this->stagingLocation = $stagingLocation; 360 } 361 /** 362 * @return string 363 */ 364 public function getStagingLocation() 365 { 366 return $this->stagingLocation; 367 } 368 /** 369 * @param string 370 */ 371 public function setSubnetwork($subnetwork) 372 { 373 $this->subnetwork = $subnetwork; 374 } 375 /** 376 * @return string 377 */ 378 public function getSubnetwork() 379 { 380 return $this->subnetwork; 381 } 382 /** 383 * @param string 384 */ 385 public function setTempLocation($tempLocation) 386 { 387 $this->tempLocation = $tempLocation; 388 } 389 /** 390 * @return string 391 */ 392 public function getTempLocation() 393 { 394 return $this->tempLocation; 395 } 396 /** 397 * @param string 398 */ 399 public function setWorkerRegion($workerRegion) 400 { 401 $this->workerRegion = $workerRegion; 402 } 403 /** 404 * @return string 405 */ 406 public function getWorkerRegion() 407 { 408 return $this->workerRegion; 409 } 410 /** 411 * @param string 412 */ 413 public function setWorkerZone($workerZone) 414 { 415 $this->workerZone = $workerZone; 416 } 417 /** 418 * @return string 419 */ 420 public function getWorkerZone() 421 { 422 return $this->workerZone; 423 } 424 /** 425 * @param string 426 */ 427 public function setZone($zone) 428 { 429 $this->zone = $zone; 430 } 431 /** 432 * @return string 433 */ 434 public function getZone() 435 { 436 return $this->zone; 437 } 438} 439 440// Adding a class alias for backwards compatibility with the previous class name. 441class_alias(FlexTemplateRuntimeEnvironment::class, 'Google_Service_Dataflow_FlexTemplateRuntimeEnvironment'); 442