source: vendor/google/apiclient-services/src/Compute/NodeGroup.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: 5.7 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\Compute;
19
20class NodeGroup extends \Google\Model
21{
22 protected $autoscalingPolicyType = NodeGroupAutoscalingPolicy::class;
23 protected $autoscalingPolicyDataType = '';
24 /**
25 * @var string
26 */
27 public $creationTimestamp;
28 /**
29 * @var string
30 */
31 public $description;
32 /**
33 * @var string
34 */
35 public $fingerprint;
36 /**
37 * @var string
38 */
39 public $id;
40 /**
41 * @var string
42 */
43 public $kind;
44 /**
45 * @var string
46 */
47 public $locationHint;
48 /**
49 * @var string
50 */
51 public $maintenanceInterval;
52 /**
53 * @var string
54 */
55 public $maintenancePolicy;
56 protected $maintenanceWindowType = NodeGroupMaintenanceWindow::class;
57 protected $maintenanceWindowDataType = '';
58 /**
59 * @var string
60 */
61 public $name;
62 /**
63 * @var string
64 */
65 public $nodeTemplate;
66 /**
67 * @var string
68 */
69 public $selfLink;
70 protected $shareSettingsType = ShareSettings::class;
71 protected $shareSettingsDataType = '';
72 /**
73 * @var int
74 */
75 public $size;
76 /**
77 * @var string
78 */
79 public $status;
80 /**
81 * @var string
82 */
83 public $zone;
84
85 /**
86 * @param NodeGroupAutoscalingPolicy
87 */
88 public function setAutoscalingPolicy(NodeGroupAutoscalingPolicy $autoscalingPolicy)
89 {
90 $this->autoscalingPolicy = $autoscalingPolicy;
91 }
92 /**
93 * @return NodeGroupAutoscalingPolicy
94 */
95 public function getAutoscalingPolicy()
96 {
97 return $this->autoscalingPolicy;
98 }
99 /**
100 * @param string
101 */
102 public function setCreationTimestamp($creationTimestamp)
103 {
104 $this->creationTimestamp = $creationTimestamp;
105 }
106 /**
107 * @return string
108 */
109 public function getCreationTimestamp()
110 {
111 return $this->creationTimestamp;
112 }
113 /**
114 * @param string
115 */
116 public function setDescription($description)
117 {
118 $this->description = $description;
119 }
120 /**
121 * @return string
122 */
123 public function getDescription()
124 {
125 return $this->description;
126 }
127 /**
128 * @param string
129 */
130 public function setFingerprint($fingerprint)
131 {
132 $this->fingerprint = $fingerprint;
133 }
134 /**
135 * @return string
136 */
137 public function getFingerprint()
138 {
139 return $this->fingerprint;
140 }
141 /**
142 * @param string
143 */
144 public function setId($id)
145 {
146 $this->id = $id;
147 }
148 /**
149 * @return string
150 */
151 public function getId()
152 {
153 return $this->id;
154 }
155 /**
156 * @param string
157 */
158 public function setKind($kind)
159 {
160 $this->kind = $kind;
161 }
162 /**
163 * @return string
164 */
165 public function getKind()
166 {
167 return $this->kind;
168 }
169 /**
170 * @param string
171 */
172 public function setLocationHint($locationHint)
173 {
174 $this->locationHint = $locationHint;
175 }
176 /**
177 * @return string
178 */
179 public function getLocationHint()
180 {
181 return $this->locationHint;
182 }
183 /**
184 * @param string
185 */
186 public function setMaintenanceInterval($maintenanceInterval)
187 {
188 $this->maintenanceInterval = $maintenanceInterval;
189 }
190 /**
191 * @return string
192 */
193 public function getMaintenanceInterval()
194 {
195 return $this->maintenanceInterval;
196 }
197 /**
198 * @param string
199 */
200 public function setMaintenancePolicy($maintenancePolicy)
201 {
202 $this->maintenancePolicy = $maintenancePolicy;
203 }
204 /**
205 * @return string
206 */
207 public function getMaintenancePolicy()
208 {
209 return $this->maintenancePolicy;
210 }
211 /**
212 * @param NodeGroupMaintenanceWindow
213 */
214 public function setMaintenanceWindow(NodeGroupMaintenanceWindow $maintenanceWindow)
215 {
216 $this->maintenanceWindow = $maintenanceWindow;
217 }
218 /**
219 * @return NodeGroupMaintenanceWindow
220 */
221 public function getMaintenanceWindow()
222 {
223 return $this->maintenanceWindow;
224 }
225 /**
226 * @param string
227 */
228 public function setName($name)
229 {
230 $this->name = $name;
231 }
232 /**
233 * @return string
234 */
235 public function getName()
236 {
237 return $this->name;
238 }
239 /**
240 * @param string
241 */
242 public function setNodeTemplate($nodeTemplate)
243 {
244 $this->nodeTemplate = $nodeTemplate;
245 }
246 /**
247 * @return string
248 */
249 public function getNodeTemplate()
250 {
251 return $this->nodeTemplate;
252 }
253 /**
254 * @param string
255 */
256 public function setSelfLink($selfLink)
257 {
258 $this->selfLink = $selfLink;
259 }
260 /**
261 * @return string
262 */
263 public function getSelfLink()
264 {
265 return $this->selfLink;
266 }
267 /**
268 * @param ShareSettings
269 */
270 public function setShareSettings(ShareSettings $shareSettings)
271 {
272 $this->shareSettings = $shareSettings;
273 }
274 /**
275 * @return ShareSettings
276 */
277 public function getShareSettings()
278 {
279 return $this->shareSettings;
280 }
281 /**
282 * @param int
283 */
284 public function setSize($size)
285 {
286 $this->size = $size;
287 }
288 /**
289 * @return int
290 */
291 public function getSize()
292 {
293 return $this->size;
294 }
295 /**
296 * @param string
297 */
298 public function setStatus($status)
299 {
300 $this->status = $status;
301 }
302 /**
303 * @return string
304 */
305 public function getStatus()
306 {
307 return $this->status;
308 }
309 /**
310 * @param string
311 */
312 public function setZone($zone)
313 {
314 $this->zone = $zone;
315 }
316 /**
317 * @return string
318 */
319 public function getZone()
320 {
321 return $this->zone;
322 }
323}
324
325// Adding a class alias for backwards compatibility with the previous class name.
326class_alias(NodeGroup::class, 'Google_Service_Compute_NodeGroup');
Note: See TracBrowser for help on using the repository browser.