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