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 Environment extends \Google\Collection
21{
22  protected $collection_key = 'workerPools';
23  /**
24   * @var string
25   */
26  public $clusterManagerApiService;
27  /**
28   * @var string
29   */
30  public $dataset;
31  protected $debugOptionsType = DebugOptions::class;
32  protected $debugOptionsDataType = '';
33  /**
34   * @var string[]
35   */
36  public $experiments;
37  /**
38   * @var string
39   */
40  public $flexResourceSchedulingGoal;
41  /**
42   * @var array[]
43   */
44  public $internalExperiments;
45  /**
46   * @var array[]
47   */
48  public $sdkPipelineOptions;
49  /**
50   * @var string
51   */
52  public $serviceAccountEmail;
53  /**
54   * @var string
55   */
56  public $serviceKmsKeyName;
57  /**
58   * @var string[]
59   */
60  public $serviceOptions;
61  /**
62   * @var string
63   */
64  public $shuffleMode;
65  /**
66   * @var string
67   */
68  public $tempStoragePrefix;
69  /**
70   * @var array[]
71   */
72  public $userAgent;
73  /**
74   * @var array[]
75   */
76  public $version;
77  protected $workerPoolsType = WorkerPool::class;
78  protected $workerPoolsDataType = 'array';
79  /**
80   * @var string
81   */
82  public $workerRegion;
83  /**
84   * @var string
85   */
86  public $workerZone;
87
88  /**
89   * @param string
90   */
91  public function setClusterManagerApiService($clusterManagerApiService)
92  {
93    $this->clusterManagerApiService = $clusterManagerApiService;
94  }
95  /**
96   * @return string
97   */
98  public function getClusterManagerApiService()
99  {
100    return $this->clusterManagerApiService;
101  }
102  /**
103   * @param string
104   */
105  public function setDataset($dataset)
106  {
107    $this->dataset = $dataset;
108  }
109  /**
110   * @return string
111   */
112  public function getDataset()
113  {
114    return $this->dataset;
115  }
116  /**
117   * @param DebugOptions
118   */
119  public function setDebugOptions(DebugOptions $debugOptions)
120  {
121    $this->debugOptions = $debugOptions;
122  }
123  /**
124   * @return DebugOptions
125   */
126  public function getDebugOptions()
127  {
128    return $this->debugOptions;
129  }
130  /**
131   * @param string[]
132   */
133  public function setExperiments($experiments)
134  {
135    $this->experiments = $experiments;
136  }
137  /**
138   * @return string[]
139   */
140  public function getExperiments()
141  {
142    return $this->experiments;
143  }
144  /**
145   * @param string
146   */
147  public function setFlexResourceSchedulingGoal($flexResourceSchedulingGoal)
148  {
149    $this->flexResourceSchedulingGoal = $flexResourceSchedulingGoal;
150  }
151  /**
152   * @return string
153   */
154  public function getFlexResourceSchedulingGoal()
155  {
156    return $this->flexResourceSchedulingGoal;
157  }
158  /**
159   * @param array[]
160   */
161  public function setInternalExperiments($internalExperiments)
162  {
163    $this->internalExperiments = $internalExperiments;
164  }
165  /**
166   * @return array[]
167   */
168  public function getInternalExperiments()
169  {
170    return $this->internalExperiments;
171  }
172  /**
173   * @param array[]
174   */
175  public function setSdkPipelineOptions($sdkPipelineOptions)
176  {
177    $this->sdkPipelineOptions = $sdkPipelineOptions;
178  }
179  /**
180   * @return array[]
181   */
182  public function getSdkPipelineOptions()
183  {
184    return $this->sdkPipelineOptions;
185  }
186  /**
187   * @param string
188   */
189  public function setServiceAccountEmail($serviceAccountEmail)
190  {
191    $this->serviceAccountEmail = $serviceAccountEmail;
192  }
193  /**
194   * @return string
195   */
196  public function getServiceAccountEmail()
197  {
198    return $this->serviceAccountEmail;
199  }
200  /**
201   * @param string
202   */
203  public function setServiceKmsKeyName($serviceKmsKeyName)
204  {
205    $this->serviceKmsKeyName = $serviceKmsKeyName;
206  }
207  /**
208   * @return string
209   */
210  public function getServiceKmsKeyName()
211  {
212    return $this->serviceKmsKeyName;
213  }
214  /**
215   * @param string[]
216   */
217  public function setServiceOptions($serviceOptions)
218  {
219    $this->serviceOptions = $serviceOptions;
220  }
221  /**
222   * @return string[]
223   */
224  public function getServiceOptions()
225  {
226    return $this->serviceOptions;
227  }
228  /**
229   * @param string
230   */
231  public function setShuffleMode($shuffleMode)
232  {
233    $this->shuffleMode = $shuffleMode;
234  }
235  /**
236   * @return string
237   */
238  public function getShuffleMode()
239  {
240    return $this->shuffleMode;
241  }
242  /**
243   * @param string
244   */
245  public function setTempStoragePrefix($tempStoragePrefix)
246  {
247    $this->tempStoragePrefix = $tempStoragePrefix;
248  }
249  /**
250   * @return string
251   */
252  public function getTempStoragePrefix()
253  {
254    return $this->tempStoragePrefix;
255  }
256  /**
257   * @param array[]
258   */
259  public function setUserAgent($userAgent)
260  {
261    $this->userAgent = $userAgent;
262  }
263  /**
264   * @return array[]
265   */
266  public function getUserAgent()
267  {
268    return $this->userAgent;
269  }
270  /**
271   * @param array[]
272   */
273  public function setVersion($version)
274  {
275    $this->version = $version;
276  }
277  /**
278   * @return array[]
279   */
280  public function getVersion()
281  {
282    return $this->version;
283  }
284  /**
285   * @param WorkerPool[]
286   */
287  public function setWorkerPools($workerPools)
288  {
289    $this->workerPools = $workerPools;
290  }
291  /**
292   * @return WorkerPool[]
293   */
294  public function getWorkerPools()
295  {
296    return $this->workerPools;
297  }
298  /**
299   * @param string
300   */
301  public function setWorkerRegion($workerRegion)
302  {
303    $this->workerRegion = $workerRegion;
304  }
305  /**
306   * @return string
307   */
308  public function getWorkerRegion()
309  {
310    return $this->workerRegion;
311  }
312  /**
313   * @param string
314   */
315  public function setWorkerZone($workerZone)
316  {
317    $this->workerZone = $workerZone;
318  }
319  /**
320   * @return string
321   */
322  public function getWorkerZone()
323  {
324    return $this->workerZone;
325  }
326}
327
328// Adding a class alias for backwards compatibility with the previous class name.
329class_alias(Environment::class, 'Google_Service_Dataflow_Environment');
330