source: vendor/google/apiclient-services/src/Dataproc/ClusterConfig.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 7.4 KB
Line 
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\Dataproc;
19
20class ClusterConfig extends \Google\Collection
21{
22 protected $collection_key = 'initializationActions';
23 protected $autoscalingConfigType = AutoscalingConfig::class;
24 protected $autoscalingConfigDataType = '';
25 protected $auxiliaryNodeGroupsType = AuxiliaryNodeGroup::class;
26 protected $auxiliaryNodeGroupsDataType = 'array';
27 /**
28 * @var string
29 */
30 public $configBucket;
31 protected $dataprocMetricConfigType = DataprocMetricConfig::class;
32 protected $dataprocMetricConfigDataType = '';
33 protected $encryptionConfigType = EncryptionConfig::class;
34 protected $encryptionConfigDataType = '';
35 protected $endpointConfigType = EndpointConfig::class;
36 protected $endpointConfigDataType = '';
37 protected $gceClusterConfigType = GceClusterConfig::class;
38 protected $gceClusterConfigDataType = '';
39 protected $gkeClusterConfigType = GkeClusterConfig::class;
40 protected $gkeClusterConfigDataType = '';
41 protected $initializationActionsType = NodeInitializationAction::class;
42 protected $initializationActionsDataType = 'array';
43 protected $lifecycleConfigType = LifecycleConfig::class;
44 protected $lifecycleConfigDataType = '';
45 protected $masterConfigType = InstanceGroupConfig::class;
46 protected $masterConfigDataType = '';
47 protected $metastoreConfigType = MetastoreConfig::class;
48 protected $metastoreConfigDataType = '';
49 protected $secondaryWorkerConfigType = InstanceGroupConfig::class;
50 protected $secondaryWorkerConfigDataType = '';
51 protected $securityConfigType = SecurityConfig::class;
52 protected $securityConfigDataType = '';
53 protected $softwareConfigType = SoftwareConfig::class;
54 protected $softwareConfigDataType = '';
55 /**
56 * @var string
57 */
58 public $tempBucket;
59 protected $workerConfigType = InstanceGroupConfig::class;
60 protected $workerConfigDataType = '';
61
62 /**
63 * @param AutoscalingConfig
64 */
65 public function setAutoscalingConfig(AutoscalingConfig $autoscalingConfig)
66 {
67 $this->autoscalingConfig = $autoscalingConfig;
68 }
69 /**
70 * @return AutoscalingConfig
71 */
72 public function getAutoscalingConfig()
73 {
74 return $this->autoscalingConfig;
75 }
76 /**
77 * @param AuxiliaryNodeGroup[]
78 */
79 public function setAuxiliaryNodeGroups($auxiliaryNodeGroups)
80 {
81 $this->auxiliaryNodeGroups = $auxiliaryNodeGroups;
82 }
83 /**
84 * @return AuxiliaryNodeGroup[]
85 */
86 public function getAuxiliaryNodeGroups()
87 {
88 return $this->auxiliaryNodeGroups;
89 }
90 /**
91 * @param string
92 */
93 public function setConfigBucket($configBucket)
94 {
95 $this->configBucket = $configBucket;
96 }
97 /**
98 * @return string
99 */
100 public function getConfigBucket()
101 {
102 return $this->configBucket;
103 }
104 /**
105 * @param DataprocMetricConfig
106 */
107 public function setDataprocMetricConfig(DataprocMetricConfig $dataprocMetricConfig)
108 {
109 $this->dataprocMetricConfig = $dataprocMetricConfig;
110 }
111 /**
112 * @return DataprocMetricConfig
113 */
114 public function getDataprocMetricConfig()
115 {
116 return $this->dataprocMetricConfig;
117 }
118 /**
119 * @param EncryptionConfig
120 */
121 public function setEncryptionConfig(EncryptionConfig $encryptionConfig)
122 {
123 $this->encryptionConfig = $encryptionConfig;
124 }
125 /**
126 * @return EncryptionConfig
127 */
128 public function getEncryptionConfig()
129 {
130 return $this->encryptionConfig;
131 }
132 /**
133 * @param EndpointConfig
134 */
135 public function setEndpointConfig(EndpointConfig $endpointConfig)
136 {
137 $this->endpointConfig = $endpointConfig;
138 }
139 /**
140 * @return EndpointConfig
141 */
142 public function getEndpointConfig()
143 {
144 return $this->endpointConfig;
145 }
146 /**
147 * @param GceClusterConfig
148 */
149 public function setGceClusterConfig(GceClusterConfig $gceClusterConfig)
150 {
151 $this->gceClusterConfig = $gceClusterConfig;
152 }
153 /**
154 * @return GceClusterConfig
155 */
156 public function getGceClusterConfig()
157 {
158 return $this->gceClusterConfig;
159 }
160 /**
161 * @param GkeClusterConfig
162 */
163 public function setGkeClusterConfig(GkeClusterConfig $gkeClusterConfig)
164 {
165 $this->gkeClusterConfig = $gkeClusterConfig;
166 }
167 /**
168 * @return GkeClusterConfig
169 */
170 public function getGkeClusterConfig()
171 {
172 return $this->gkeClusterConfig;
173 }
174 /**
175 * @param NodeInitializationAction[]
176 */
177 public function setInitializationActions($initializationActions)
178 {
179 $this->initializationActions = $initializationActions;
180 }
181 /**
182 * @return NodeInitializationAction[]
183 */
184 public function getInitializationActions()
185 {
186 return $this->initializationActions;
187 }
188 /**
189 * @param LifecycleConfig
190 */
191 public function setLifecycleConfig(LifecycleConfig $lifecycleConfig)
192 {
193 $this->lifecycleConfig = $lifecycleConfig;
194 }
195 /**
196 * @return LifecycleConfig
197 */
198 public function getLifecycleConfig()
199 {
200 return $this->lifecycleConfig;
201 }
202 /**
203 * @param InstanceGroupConfig
204 */
205 public function setMasterConfig(InstanceGroupConfig $masterConfig)
206 {
207 $this->masterConfig = $masterConfig;
208 }
209 /**
210 * @return InstanceGroupConfig
211 */
212 public function getMasterConfig()
213 {
214 return $this->masterConfig;
215 }
216 /**
217 * @param MetastoreConfig
218 */
219 public function setMetastoreConfig(MetastoreConfig $metastoreConfig)
220 {
221 $this->metastoreConfig = $metastoreConfig;
222 }
223 /**
224 * @return MetastoreConfig
225 */
226 public function getMetastoreConfig()
227 {
228 return $this->metastoreConfig;
229 }
230 /**
231 * @param InstanceGroupConfig
232 */
233 public function setSecondaryWorkerConfig(InstanceGroupConfig $secondaryWorkerConfig)
234 {
235 $this->secondaryWorkerConfig = $secondaryWorkerConfig;
236 }
237 /**
238 * @return InstanceGroupConfig
239 */
240 public function getSecondaryWorkerConfig()
241 {
242 return $this->secondaryWorkerConfig;
243 }
244 /**
245 * @param SecurityConfig
246 */
247 public function setSecurityConfig(SecurityConfig $securityConfig)
248 {
249 $this->securityConfig = $securityConfig;
250 }
251 /**
252 * @return SecurityConfig
253 */
254 public function getSecurityConfig()
255 {
256 return $this->securityConfig;
257 }
258 /**
259 * @param SoftwareConfig
260 */
261 public function setSoftwareConfig(SoftwareConfig $softwareConfig)
262 {
263 $this->softwareConfig = $softwareConfig;
264 }
265 /**
266 * @return SoftwareConfig
267 */
268 public function getSoftwareConfig()
269 {
270 return $this->softwareConfig;
271 }
272 /**
273 * @param string
274 */
275 public function setTempBucket($tempBucket)
276 {
277 $this->tempBucket = $tempBucket;
278 }
279 /**
280 * @return string
281 */
282 public function getTempBucket()
283 {
284 return $this->tempBucket;
285 }
286 /**
287 * @param InstanceGroupConfig
288 */
289 public function setWorkerConfig(InstanceGroupConfig $workerConfig)
290 {
291 $this->workerConfig = $workerConfig;
292 }
293 /**
294 * @return InstanceGroupConfig
295 */
296 public function getWorkerConfig()
297 {
298 return $this->workerConfig;
299 }
300}
301
302// Adding a class alias for backwards compatibility with the previous class name.
303class_alias(ClusterConfig::class, 'Google_Service_Dataproc_ClusterConfig');
Note: See TracBrowser for help on using the repository browser.