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