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\CloudComposer;
|
---|
19 |
|
---|
20 | class EnvironmentConfig extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $airflowByoidUri;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $airflowUri;
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $dagGcsPrefix;
|
---|
34 | protected $dataRetentionConfigType = DataRetentionConfig::class;
|
---|
35 | protected $dataRetentionConfigDataType = '';
|
---|
36 | protected $databaseConfigType = DatabaseConfig::class;
|
---|
37 | protected $databaseConfigDataType = '';
|
---|
38 | protected $encryptionConfigType = EncryptionConfig::class;
|
---|
39 | protected $encryptionConfigDataType = '';
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $environmentSize;
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $gkeCluster;
|
---|
48 | protected $maintenanceWindowType = MaintenanceWindow::class;
|
---|
49 | protected $maintenanceWindowDataType = '';
|
---|
50 | protected $masterAuthorizedNetworksConfigType = MasterAuthorizedNetworksConfig::class;
|
---|
51 | protected $masterAuthorizedNetworksConfigDataType = '';
|
---|
52 | protected $nodeConfigType = NodeConfig::class;
|
---|
53 | protected $nodeConfigDataType = '';
|
---|
54 | /**
|
---|
55 | * @var int
|
---|
56 | */
|
---|
57 | public $nodeCount;
|
---|
58 | protected $privateEnvironmentConfigType = PrivateEnvironmentConfig::class;
|
---|
59 | protected $privateEnvironmentConfigDataType = '';
|
---|
60 | protected $recoveryConfigType = RecoveryConfig::class;
|
---|
61 | protected $recoveryConfigDataType = '';
|
---|
62 | /**
|
---|
63 | * @var string
|
---|
64 | */
|
---|
65 | public $resilienceMode;
|
---|
66 | protected $softwareConfigType = SoftwareConfig::class;
|
---|
67 | protected $softwareConfigDataType = '';
|
---|
68 | protected $webServerConfigType = WebServerConfig::class;
|
---|
69 | protected $webServerConfigDataType = '';
|
---|
70 | protected $webServerNetworkAccessControlType = WebServerNetworkAccessControl::class;
|
---|
71 | protected $webServerNetworkAccessControlDataType = '';
|
---|
72 | protected $workloadsConfigType = WorkloadsConfig::class;
|
---|
73 | protected $workloadsConfigDataType = '';
|
---|
74 |
|
---|
75 | /**
|
---|
76 | * @param string
|
---|
77 | */
|
---|
78 | public function setAirflowByoidUri($airflowByoidUri)
|
---|
79 | {
|
---|
80 | $this->airflowByoidUri = $airflowByoidUri;
|
---|
81 | }
|
---|
82 | /**
|
---|
83 | * @return string
|
---|
84 | */
|
---|
85 | public function getAirflowByoidUri()
|
---|
86 | {
|
---|
87 | return $this->airflowByoidUri;
|
---|
88 | }
|
---|
89 | /**
|
---|
90 | * @param string
|
---|
91 | */
|
---|
92 | public function setAirflowUri($airflowUri)
|
---|
93 | {
|
---|
94 | $this->airflowUri = $airflowUri;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @return string
|
---|
98 | */
|
---|
99 | public function getAirflowUri()
|
---|
100 | {
|
---|
101 | return $this->airflowUri;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @param string
|
---|
105 | */
|
---|
106 | public function setDagGcsPrefix($dagGcsPrefix)
|
---|
107 | {
|
---|
108 | $this->dagGcsPrefix = $dagGcsPrefix;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @return string
|
---|
112 | */
|
---|
113 | public function getDagGcsPrefix()
|
---|
114 | {
|
---|
115 | return $this->dagGcsPrefix;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @param DataRetentionConfig
|
---|
119 | */
|
---|
120 | public function setDataRetentionConfig(DataRetentionConfig $dataRetentionConfig)
|
---|
121 | {
|
---|
122 | $this->dataRetentionConfig = $dataRetentionConfig;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @return DataRetentionConfig
|
---|
126 | */
|
---|
127 | public function getDataRetentionConfig()
|
---|
128 | {
|
---|
129 | return $this->dataRetentionConfig;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @param DatabaseConfig
|
---|
133 | */
|
---|
134 | public function setDatabaseConfig(DatabaseConfig $databaseConfig)
|
---|
135 | {
|
---|
136 | $this->databaseConfig = $databaseConfig;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @return DatabaseConfig
|
---|
140 | */
|
---|
141 | public function getDatabaseConfig()
|
---|
142 | {
|
---|
143 | return $this->databaseConfig;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @param EncryptionConfig
|
---|
147 | */
|
---|
148 | public function setEncryptionConfig(EncryptionConfig $encryptionConfig)
|
---|
149 | {
|
---|
150 | $this->encryptionConfig = $encryptionConfig;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @return EncryptionConfig
|
---|
154 | */
|
---|
155 | public function getEncryptionConfig()
|
---|
156 | {
|
---|
157 | return $this->encryptionConfig;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @param string
|
---|
161 | */
|
---|
162 | public function setEnvironmentSize($environmentSize)
|
---|
163 | {
|
---|
164 | $this->environmentSize = $environmentSize;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @return string
|
---|
168 | */
|
---|
169 | public function getEnvironmentSize()
|
---|
170 | {
|
---|
171 | return $this->environmentSize;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @param string
|
---|
175 | */
|
---|
176 | public function setGkeCluster($gkeCluster)
|
---|
177 | {
|
---|
178 | $this->gkeCluster = $gkeCluster;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @return string
|
---|
182 | */
|
---|
183 | public function getGkeCluster()
|
---|
184 | {
|
---|
185 | return $this->gkeCluster;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @param MaintenanceWindow
|
---|
189 | */
|
---|
190 | public function setMaintenanceWindow(MaintenanceWindow $maintenanceWindow)
|
---|
191 | {
|
---|
192 | $this->maintenanceWindow = $maintenanceWindow;
|
---|
193 | }
|
---|
194 | /**
|
---|
195 | * @return MaintenanceWindow
|
---|
196 | */
|
---|
197 | public function getMaintenanceWindow()
|
---|
198 | {
|
---|
199 | return $this->maintenanceWindow;
|
---|
200 | }
|
---|
201 | /**
|
---|
202 | * @param MasterAuthorizedNetworksConfig
|
---|
203 | */
|
---|
204 | public function setMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig $masterAuthorizedNetworksConfig)
|
---|
205 | {
|
---|
206 | $this->masterAuthorizedNetworksConfig = $masterAuthorizedNetworksConfig;
|
---|
207 | }
|
---|
208 | /**
|
---|
209 | * @return MasterAuthorizedNetworksConfig
|
---|
210 | */
|
---|
211 | public function getMasterAuthorizedNetworksConfig()
|
---|
212 | {
|
---|
213 | return $this->masterAuthorizedNetworksConfig;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @param NodeConfig
|
---|
217 | */
|
---|
218 | public function setNodeConfig(NodeConfig $nodeConfig)
|
---|
219 | {
|
---|
220 | $this->nodeConfig = $nodeConfig;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @return NodeConfig
|
---|
224 | */
|
---|
225 | public function getNodeConfig()
|
---|
226 | {
|
---|
227 | return $this->nodeConfig;
|
---|
228 | }
|
---|
229 | /**
|
---|
230 | * @param int
|
---|
231 | */
|
---|
232 | public function setNodeCount($nodeCount)
|
---|
233 | {
|
---|
234 | $this->nodeCount = $nodeCount;
|
---|
235 | }
|
---|
236 | /**
|
---|
237 | * @return int
|
---|
238 | */
|
---|
239 | public function getNodeCount()
|
---|
240 | {
|
---|
241 | return $this->nodeCount;
|
---|
242 | }
|
---|
243 | /**
|
---|
244 | * @param PrivateEnvironmentConfig
|
---|
245 | */
|
---|
246 | public function setPrivateEnvironmentConfig(PrivateEnvironmentConfig $privateEnvironmentConfig)
|
---|
247 | {
|
---|
248 | $this->privateEnvironmentConfig = $privateEnvironmentConfig;
|
---|
249 | }
|
---|
250 | /**
|
---|
251 | * @return PrivateEnvironmentConfig
|
---|
252 | */
|
---|
253 | public function getPrivateEnvironmentConfig()
|
---|
254 | {
|
---|
255 | return $this->privateEnvironmentConfig;
|
---|
256 | }
|
---|
257 | /**
|
---|
258 | * @param RecoveryConfig
|
---|
259 | */
|
---|
260 | public function setRecoveryConfig(RecoveryConfig $recoveryConfig)
|
---|
261 | {
|
---|
262 | $this->recoveryConfig = $recoveryConfig;
|
---|
263 | }
|
---|
264 | /**
|
---|
265 | * @return RecoveryConfig
|
---|
266 | */
|
---|
267 | public function getRecoveryConfig()
|
---|
268 | {
|
---|
269 | return $this->recoveryConfig;
|
---|
270 | }
|
---|
271 | /**
|
---|
272 | * @param string
|
---|
273 | */
|
---|
274 | public function setResilienceMode($resilienceMode)
|
---|
275 | {
|
---|
276 | $this->resilienceMode = $resilienceMode;
|
---|
277 | }
|
---|
278 | /**
|
---|
279 | * @return string
|
---|
280 | */
|
---|
281 | public function getResilienceMode()
|
---|
282 | {
|
---|
283 | return $this->resilienceMode;
|
---|
284 | }
|
---|
285 | /**
|
---|
286 | * @param SoftwareConfig
|
---|
287 | */
|
---|
288 | public function setSoftwareConfig(SoftwareConfig $softwareConfig)
|
---|
289 | {
|
---|
290 | $this->softwareConfig = $softwareConfig;
|
---|
291 | }
|
---|
292 | /**
|
---|
293 | * @return SoftwareConfig
|
---|
294 | */
|
---|
295 | public function getSoftwareConfig()
|
---|
296 | {
|
---|
297 | return $this->softwareConfig;
|
---|
298 | }
|
---|
299 | /**
|
---|
300 | * @param WebServerConfig
|
---|
301 | */
|
---|
302 | public function setWebServerConfig(WebServerConfig $webServerConfig)
|
---|
303 | {
|
---|
304 | $this->webServerConfig = $webServerConfig;
|
---|
305 | }
|
---|
306 | /**
|
---|
307 | * @return WebServerConfig
|
---|
308 | */
|
---|
309 | public function getWebServerConfig()
|
---|
310 | {
|
---|
311 | return $this->webServerConfig;
|
---|
312 | }
|
---|
313 | /**
|
---|
314 | * @param WebServerNetworkAccessControl
|
---|
315 | */
|
---|
316 | public function setWebServerNetworkAccessControl(WebServerNetworkAccessControl $webServerNetworkAccessControl)
|
---|
317 | {
|
---|
318 | $this->webServerNetworkAccessControl = $webServerNetworkAccessControl;
|
---|
319 | }
|
---|
320 | /**
|
---|
321 | * @return WebServerNetworkAccessControl
|
---|
322 | */
|
---|
323 | public function getWebServerNetworkAccessControl()
|
---|
324 | {
|
---|
325 | return $this->webServerNetworkAccessControl;
|
---|
326 | }
|
---|
327 | /**
|
---|
328 | * @param WorkloadsConfig
|
---|
329 | */
|
---|
330 | public function setWorkloadsConfig(WorkloadsConfig $workloadsConfig)
|
---|
331 | {
|
---|
332 | $this->workloadsConfig = $workloadsConfig;
|
---|
333 | }
|
---|
334 | /**
|
---|
335 | * @return WorkloadsConfig
|
---|
336 | */
|
---|
337 | public function getWorkloadsConfig()
|
---|
338 | {
|
---|
339 | return $this->workloadsConfig;
|
---|
340 | }
|
---|
341 | }
|
---|
342 |
|
---|
343 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
344 | class_alias(EnvironmentConfig::class, 'Google_Service_CloudComposer_EnvironmentConfig');
|
---|