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\CloudComposer;
19
20class EnvironmentConfig extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $airflowUri;
26  /**
27   * @var string
28   */
29  public $dagGcsPrefix;
30  protected $databaseConfigType = DatabaseConfig::class;
31  protected $databaseConfigDataType = '';
32  protected $encryptionConfigType = EncryptionConfig::class;
33  protected $encryptionConfigDataType = '';
34  /**
35   * @var string
36   */
37  public $environmentSize;
38  /**
39   * @var string
40   */
41  public $gkeCluster;
42  protected $maintenanceWindowType = MaintenanceWindow::class;
43  protected $maintenanceWindowDataType = '';
44  protected $nodeConfigType = NodeConfig::class;
45  protected $nodeConfigDataType = '';
46  /**
47   * @var int
48   */
49  public $nodeCount;
50  protected $privateEnvironmentConfigType = PrivateEnvironmentConfig::class;
51  protected $privateEnvironmentConfigDataType = '';
52  protected $softwareConfigType = SoftwareConfig::class;
53  protected $softwareConfigDataType = '';
54  protected $webServerConfigType = WebServerConfig::class;
55  protected $webServerConfigDataType = '';
56  protected $webServerNetworkAccessControlType = WebServerNetworkAccessControl::class;
57  protected $webServerNetworkAccessControlDataType = '';
58  protected $workloadsConfigType = WorkloadsConfig::class;
59  protected $workloadsConfigDataType = '';
60
61  /**
62   * @param string
63   */
64  public function setAirflowUri($airflowUri)
65  {
66    $this->airflowUri = $airflowUri;
67  }
68  /**
69   * @return string
70   */
71  public function getAirflowUri()
72  {
73    return $this->airflowUri;
74  }
75  /**
76   * @param string
77   */
78  public function setDagGcsPrefix($dagGcsPrefix)
79  {
80    $this->dagGcsPrefix = $dagGcsPrefix;
81  }
82  /**
83   * @return string
84   */
85  public function getDagGcsPrefix()
86  {
87    return $this->dagGcsPrefix;
88  }
89  /**
90   * @param DatabaseConfig
91   */
92  public function setDatabaseConfig(DatabaseConfig $databaseConfig)
93  {
94    $this->databaseConfig = $databaseConfig;
95  }
96  /**
97   * @return DatabaseConfig
98   */
99  public function getDatabaseConfig()
100  {
101    return $this->databaseConfig;
102  }
103  /**
104   * @param EncryptionConfig
105   */
106  public function setEncryptionConfig(EncryptionConfig $encryptionConfig)
107  {
108    $this->encryptionConfig = $encryptionConfig;
109  }
110  /**
111   * @return EncryptionConfig
112   */
113  public function getEncryptionConfig()
114  {
115    return $this->encryptionConfig;
116  }
117  /**
118   * @param string
119   */
120  public function setEnvironmentSize($environmentSize)
121  {
122    $this->environmentSize = $environmentSize;
123  }
124  /**
125   * @return string
126   */
127  public function getEnvironmentSize()
128  {
129    return $this->environmentSize;
130  }
131  /**
132   * @param string
133   */
134  public function setGkeCluster($gkeCluster)
135  {
136    $this->gkeCluster = $gkeCluster;
137  }
138  /**
139   * @return string
140   */
141  public function getGkeCluster()
142  {
143    return $this->gkeCluster;
144  }
145  /**
146   * @param MaintenanceWindow
147   */
148  public function setMaintenanceWindow(MaintenanceWindow $maintenanceWindow)
149  {
150    $this->maintenanceWindow = $maintenanceWindow;
151  }
152  /**
153   * @return MaintenanceWindow
154   */
155  public function getMaintenanceWindow()
156  {
157    return $this->maintenanceWindow;
158  }
159  /**
160   * @param NodeConfig
161   */
162  public function setNodeConfig(NodeConfig $nodeConfig)
163  {
164    $this->nodeConfig = $nodeConfig;
165  }
166  /**
167   * @return NodeConfig
168   */
169  public function getNodeConfig()
170  {
171    return $this->nodeConfig;
172  }
173  /**
174   * @param int
175   */
176  public function setNodeCount($nodeCount)
177  {
178    $this->nodeCount = $nodeCount;
179  }
180  /**
181   * @return int
182   */
183  public function getNodeCount()
184  {
185    return $this->nodeCount;
186  }
187  /**
188   * @param PrivateEnvironmentConfig
189   */
190  public function setPrivateEnvironmentConfig(PrivateEnvironmentConfig $privateEnvironmentConfig)
191  {
192    $this->privateEnvironmentConfig = $privateEnvironmentConfig;
193  }
194  /**
195   * @return PrivateEnvironmentConfig
196   */
197  public function getPrivateEnvironmentConfig()
198  {
199    return $this->privateEnvironmentConfig;
200  }
201  /**
202   * @param SoftwareConfig
203   */
204  public function setSoftwareConfig(SoftwareConfig $softwareConfig)
205  {
206    $this->softwareConfig = $softwareConfig;
207  }
208  /**
209   * @return SoftwareConfig
210   */
211  public function getSoftwareConfig()
212  {
213    return $this->softwareConfig;
214  }
215  /**
216   * @param WebServerConfig
217   */
218  public function setWebServerConfig(WebServerConfig $webServerConfig)
219  {
220    $this->webServerConfig = $webServerConfig;
221  }
222  /**
223   * @return WebServerConfig
224   */
225  public function getWebServerConfig()
226  {
227    return $this->webServerConfig;
228  }
229  /**
230   * @param WebServerNetworkAccessControl
231   */
232  public function setWebServerNetworkAccessControl(WebServerNetworkAccessControl $webServerNetworkAccessControl)
233  {
234    $this->webServerNetworkAccessControl = $webServerNetworkAccessControl;
235  }
236  /**
237   * @return WebServerNetworkAccessControl
238   */
239  public function getWebServerNetworkAccessControl()
240  {
241    return $this->webServerNetworkAccessControl;
242  }
243  /**
244   * @param WorkloadsConfig
245   */
246  public function setWorkloadsConfig(WorkloadsConfig $workloadsConfig)
247  {
248    $this->workloadsConfig = $workloadsConfig;
249  }
250  /**
251   * @return WorkloadsConfig
252   */
253  public function getWorkloadsConfig()
254  {
255    return $this->workloadsConfig;
256  }
257}
258
259// Adding a class alias for backwards compatibility with the previous class name.
260class_alias(EnvironmentConfig::class, 'Google_Service_CloudComposer_EnvironmentConfig');
261