[e3d4e0a] | 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\Dataflow;
|
---|
| 19 |
|
---|
| 20 | class RuntimeEnvironment 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 bool
|
---|
| 33 | */
|
---|
| 34 | public $bypassTempDirValidation;
|
---|
| 35 | /**
|
---|
| 36 | * @var int
|
---|
| 37 | */
|
---|
| 38 | public $diskSizeGb;
|
---|
| 39 | /**
|
---|
| 40 | * @var bool
|
---|
| 41 | */
|
---|
| 42 | public $enableStreamingEngine;
|
---|
| 43 | /**
|
---|
| 44 | * @var string
|
---|
| 45 | */
|
---|
| 46 | public $ipConfiguration;
|
---|
| 47 | /**
|
---|
| 48 | * @var string
|
---|
| 49 | */
|
---|
| 50 | public $kmsKeyName;
|
---|
| 51 | /**
|
---|
| 52 | * @var string
|
---|
| 53 | */
|
---|
| 54 | public $machineType;
|
---|
| 55 | /**
|
---|
| 56 | * @var int
|
---|
| 57 | */
|
---|
| 58 | public $maxWorkers;
|
---|
| 59 | /**
|
---|
| 60 | * @var string
|
---|
| 61 | */
|
---|
| 62 | public $network;
|
---|
| 63 | /**
|
---|
| 64 | * @var int
|
---|
| 65 | */
|
---|
| 66 | public $numWorkers;
|
---|
| 67 | /**
|
---|
| 68 | * @var string
|
---|
| 69 | */
|
---|
| 70 | public $serviceAccountEmail;
|
---|
| 71 | /**
|
---|
| 72 | * @var string
|
---|
| 73 | */
|
---|
| 74 | public $streamingMode;
|
---|
| 75 | /**
|
---|
| 76 | * @var string
|
---|
| 77 | */
|
---|
| 78 | public $subnetwork;
|
---|
| 79 | /**
|
---|
| 80 | * @var string
|
---|
| 81 | */
|
---|
| 82 | public $tempLocation;
|
---|
| 83 | /**
|
---|
| 84 | * @var string
|
---|
| 85 | */
|
---|
| 86 | public $workerRegion;
|
---|
| 87 | /**
|
---|
| 88 | * @var string
|
---|
| 89 | */
|
---|
| 90 | public $workerZone;
|
---|
| 91 | /**
|
---|
| 92 | * @var string
|
---|
| 93 | */
|
---|
| 94 | public $zone;
|
---|
| 95 |
|
---|
| 96 | /**
|
---|
| 97 | * @param string[]
|
---|
| 98 | */
|
---|
| 99 | public function setAdditionalExperiments($additionalExperiments)
|
---|
| 100 | {
|
---|
| 101 | $this->additionalExperiments = $additionalExperiments;
|
---|
| 102 | }
|
---|
| 103 | /**
|
---|
| 104 | * @return string[]
|
---|
| 105 | */
|
---|
| 106 | public function getAdditionalExperiments()
|
---|
| 107 | {
|
---|
| 108 | return $this->additionalExperiments;
|
---|
| 109 | }
|
---|
| 110 | /**
|
---|
| 111 | * @param string[]
|
---|
| 112 | */
|
---|
| 113 | public function setAdditionalUserLabels($additionalUserLabels)
|
---|
| 114 | {
|
---|
| 115 | $this->additionalUserLabels = $additionalUserLabels;
|
---|
| 116 | }
|
---|
| 117 | /**
|
---|
| 118 | * @return string[]
|
---|
| 119 | */
|
---|
| 120 | public function getAdditionalUserLabels()
|
---|
| 121 | {
|
---|
| 122 | return $this->additionalUserLabels;
|
---|
| 123 | }
|
---|
| 124 | /**
|
---|
| 125 | * @param bool
|
---|
| 126 | */
|
---|
| 127 | public function setBypassTempDirValidation($bypassTempDirValidation)
|
---|
| 128 | {
|
---|
| 129 | $this->bypassTempDirValidation = $bypassTempDirValidation;
|
---|
| 130 | }
|
---|
| 131 | /**
|
---|
| 132 | * @return bool
|
---|
| 133 | */
|
---|
| 134 | public function getBypassTempDirValidation()
|
---|
| 135 | {
|
---|
| 136 | return $this->bypassTempDirValidation;
|
---|
| 137 | }
|
---|
| 138 | /**
|
---|
| 139 | * @param int
|
---|
| 140 | */
|
---|
| 141 | public function setDiskSizeGb($diskSizeGb)
|
---|
| 142 | {
|
---|
| 143 | $this->diskSizeGb = $diskSizeGb;
|
---|
| 144 | }
|
---|
| 145 | /**
|
---|
| 146 | * @return int
|
---|
| 147 | */
|
---|
| 148 | public function getDiskSizeGb()
|
---|
| 149 | {
|
---|
| 150 | return $this->diskSizeGb;
|
---|
| 151 | }
|
---|
| 152 | /**
|
---|
| 153 | * @param bool
|
---|
| 154 | */
|
---|
| 155 | public function setEnableStreamingEngine($enableStreamingEngine)
|
---|
| 156 | {
|
---|
| 157 | $this->enableStreamingEngine = $enableStreamingEngine;
|
---|
| 158 | }
|
---|
| 159 | /**
|
---|
| 160 | * @return bool
|
---|
| 161 | */
|
---|
| 162 | public function getEnableStreamingEngine()
|
---|
| 163 | {
|
---|
| 164 | return $this->enableStreamingEngine;
|
---|
| 165 | }
|
---|
| 166 | /**
|
---|
| 167 | * @param string
|
---|
| 168 | */
|
---|
| 169 | public function setIpConfiguration($ipConfiguration)
|
---|
| 170 | {
|
---|
| 171 | $this->ipConfiguration = $ipConfiguration;
|
---|
| 172 | }
|
---|
| 173 | /**
|
---|
| 174 | * @return string
|
---|
| 175 | */
|
---|
| 176 | public function getIpConfiguration()
|
---|
| 177 | {
|
---|
| 178 | return $this->ipConfiguration;
|
---|
| 179 | }
|
---|
| 180 | /**
|
---|
| 181 | * @param string
|
---|
| 182 | */
|
---|
| 183 | public function setKmsKeyName($kmsKeyName)
|
---|
| 184 | {
|
---|
| 185 | $this->kmsKeyName = $kmsKeyName;
|
---|
| 186 | }
|
---|
| 187 | /**
|
---|
| 188 | * @return string
|
---|
| 189 | */
|
---|
| 190 | public function getKmsKeyName()
|
---|
| 191 | {
|
---|
| 192 | return $this->kmsKeyName;
|
---|
| 193 | }
|
---|
| 194 | /**
|
---|
| 195 | * @param string
|
---|
| 196 | */
|
---|
| 197 | public function setMachineType($machineType)
|
---|
| 198 | {
|
---|
| 199 | $this->machineType = $machineType;
|
---|
| 200 | }
|
---|
| 201 | /**
|
---|
| 202 | * @return string
|
---|
| 203 | */
|
---|
| 204 | public function getMachineType()
|
---|
| 205 | {
|
---|
| 206 | return $this->machineType;
|
---|
| 207 | }
|
---|
| 208 | /**
|
---|
| 209 | * @param int
|
---|
| 210 | */
|
---|
| 211 | public function setMaxWorkers($maxWorkers)
|
---|
| 212 | {
|
---|
| 213 | $this->maxWorkers = $maxWorkers;
|
---|
| 214 | }
|
---|
| 215 | /**
|
---|
| 216 | * @return int
|
---|
| 217 | */
|
---|
| 218 | public function getMaxWorkers()
|
---|
| 219 | {
|
---|
| 220 | return $this->maxWorkers;
|
---|
| 221 | }
|
---|
| 222 | /**
|
---|
| 223 | * @param string
|
---|
| 224 | */
|
---|
| 225 | public function setNetwork($network)
|
---|
| 226 | {
|
---|
| 227 | $this->network = $network;
|
---|
| 228 | }
|
---|
| 229 | /**
|
---|
| 230 | * @return string
|
---|
| 231 | */
|
---|
| 232 | public function getNetwork()
|
---|
| 233 | {
|
---|
| 234 | return $this->network;
|
---|
| 235 | }
|
---|
| 236 | /**
|
---|
| 237 | * @param int
|
---|
| 238 | */
|
---|
| 239 | public function setNumWorkers($numWorkers)
|
---|
| 240 | {
|
---|
| 241 | $this->numWorkers = $numWorkers;
|
---|
| 242 | }
|
---|
| 243 | /**
|
---|
| 244 | * @return int
|
---|
| 245 | */
|
---|
| 246 | public function getNumWorkers()
|
---|
| 247 | {
|
---|
| 248 | return $this->numWorkers;
|
---|
| 249 | }
|
---|
| 250 | /**
|
---|
| 251 | * @param string
|
---|
| 252 | */
|
---|
| 253 | public function setServiceAccountEmail($serviceAccountEmail)
|
---|
| 254 | {
|
---|
| 255 | $this->serviceAccountEmail = $serviceAccountEmail;
|
---|
| 256 | }
|
---|
| 257 | /**
|
---|
| 258 | * @return string
|
---|
| 259 | */
|
---|
| 260 | public function getServiceAccountEmail()
|
---|
| 261 | {
|
---|
| 262 | return $this->serviceAccountEmail;
|
---|
| 263 | }
|
---|
| 264 | /**
|
---|
| 265 | * @param string
|
---|
| 266 | */
|
---|
| 267 | public function setStreamingMode($streamingMode)
|
---|
| 268 | {
|
---|
| 269 | $this->streamingMode = $streamingMode;
|
---|
| 270 | }
|
---|
| 271 | /**
|
---|
| 272 | * @return string
|
---|
| 273 | */
|
---|
| 274 | public function getStreamingMode()
|
---|
| 275 | {
|
---|
| 276 | return $this->streamingMode;
|
---|
| 277 | }
|
---|
| 278 | /**
|
---|
| 279 | * @param string
|
---|
| 280 | */
|
---|
| 281 | public function setSubnetwork($subnetwork)
|
---|
| 282 | {
|
---|
| 283 | $this->subnetwork = $subnetwork;
|
---|
| 284 | }
|
---|
| 285 | /**
|
---|
| 286 | * @return string
|
---|
| 287 | */
|
---|
| 288 | public function getSubnetwork()
|
---|
| 289 | {
|
---|
| 290 | return $this->subnetwork;
|
---|
| 291 | }
|
---|
| 292 | /**
|
---|
| 293 | * @param string
|
---|
| 294 | */
|
---|
| 295 | public function setTempLocation($tempLocation)
|
---|
| 296 | {
|
---|
| 297 | $this->tempLocation = $tempLocation;
|
---|
| 298 | }
|
---|
| 299 | /**
|
---|
| 300 | * @return string
|
---|
| 301 | */
|
---|
| 302 | public function getTempLocation()
|
---|
| 303 | {
|
---|
| 304 | return $this->tempLocation;
|
---|
| 305 | }
|
---|
| 306 | /**
|
---|
| 307 | * @param string
|
---|
| 308 | */
|
---|
| 309 | public function setWorkerRegion($workerRegion)
|
---|
| 310 | {
|
---|
| 311 | $this->workerRegion = $workerRegion;
|
---|
| 312 | }
|
---|
| 313 | /**
|
---|
| 314 | * @return string
|
---|
| 315 | */
|
---|
| 316 | public function getWorkerRegion()
|
---|
| 317 | {
|
---|
| 318 | return $this->workerRegion;
|
---|
| 319 | }
|
---|
| 320 | /**
|
---|
| 321 | * @param string
|
---|
| 322 | */
|
---|
| 323 | public function setWorkerZone($workerZone)
|
---|
| 324 | {
|
---|
| 325 | $this->workerZone = $workerZone;
|
---|
| 326 | }
|
---|
| 327 | /**
|
---|
| 328 | * @return string
|
---|
| 329 | */
|
---|
| 330 | public function getWorkerZone()
|
---|
| 331 | {
|
---|
| 332 | return $this->workerZone;
|
---|
| 333 | }
|
---|
| 334 | /**
|
---|
| 335 | * @param string
|
---|
| 336 | */
|
---|
| 337 | public function setZone($zone)
|
---|
| 338 | {
|
---|
| 339 | $this->zone = $zone;
|
---|
| 340 | }
|
---|
| 341 | /**
|
---|
| 342 | * @return string
|
---|
| 343 | */
|
---|
| 344 | public function getZone()
|
---|
| 345 | {
|
---|
| 346 | return $this->zone;
|
---|
| 347 | }
|
---|
| 348 | }
|
---|
| 349 |
|
---|
| 350 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 351 | class_alias(RuntimeEnvironment::class, 'Google_Service_Dataflow_RuntimeEnvironment');
|
---|