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 $maintenancePolicy;
52  protected $maintenanceWindowType = NodeGroupMaintenanceWindow::class;
53  protected $maintenanceWindowDataType = '';
54  /**
55   * @var string
56   */
57  public $name;
58  /**
59   * @var string
60   */
61  public $nodeTemplate;
62  /**
63   * @var string
64   */
65  public $selfLink;
66  /**
67   * @var int
68   */
69  public $size;
70  /**
71   * @var string
72   */
73  public $status;
74  /**
75   * @var string
76   */
77  public $zone;
78
79  /**
80   * @param NodeGroupAutoscalingPolicy
81   */
82  public function setAutoscalingPolicy(NodeGroupAutoscalingPolicy $autoscalingPolicy)
83  {
84    $this->autoscalingPolicy = $autoscalingPolicy;
85  }
86  /**
87   * @return NodeGroupAutoscalingPolicy
88   */
89  public function getAutoscalingPolicy()
90  {
91    return $this->autoscalingPolicy;
92  }
93  /**
94   * @param string
95   */
96  public function setCreationTimestamp($creationTimestamp)
97  {
98    $this->creationTimestamp = $creationTimestamp;
99  }
100  /**
101   * @return string
102   */
103  public function getCreationTimestamp()
104  {
105    return $this->creationTimestamp;
106  }
107  /**
108   * @param string
109   */
110  public function setDescription($description)
111  {
112    $this->description = $description;
113  }
114  /**
115   * @return string
116   */
117  public function getDescription()
118  {
119    return $this->description;
120  }
121  /**
122   * @param string
123   */
124  public function setFingerprint($fingerprint)
125  {
126    $this->fingerprint = $fingerprint;
127  }
128  /**
129   * @return string
130   */
131  public function getFingerprint()
132  {
133    return $this->fingerprint;
134  }
135  /**
136   * @param string
137   */
138  public function setId($id)
139  {
140    $this->id = $id;
141  }
142  /**
143   * @return string
144   */
145  public function getId()
146  {
147    return $this->id;
148  }
149  /**
150   * @param string
151   */
152  public function setKind($kind)
153  {
154    $this->kind = $kind;
155  }
156  /**
157   * @return string
158   */
159  public function getKind()
160  {
161    return $this->kind;
162  }
163  /**
164   * @param string
165   */
166  public function setLocationHint($locationHint)
167  {
168    $this->locationHint = $locationHint;
169  }
170  /**
171   * @return string
172   */
173  public function getLocationHint()
174  {
175    return $this->locationHint;
176  }
177  /**
178   * @param string
179   */
180  public function setMaintenancePolicy($maintenancePolicy)
181  {
182    $this->maintenancePolicy = $maintenancePolicy;
183  }
184  /**
185   * @return string
186   */
187  public function getMaintenancePolicy()
188  {
189    return $this->maintenancePolicy;
190  }
191  /**
192   * @param NodeGroupMaintenanceWindow
193   */
194  public function setMaintenanceWindow(NodeGroupMaintenanceWindow $maintenanceWindow)
195  {
196    $this->maintenanceWindow = $maintenanceWindow;
197  }
198  /**
199   * @return NodeGroupMaintenanceWindow
200   */
201  public function getMaintenanceWindow()
202  {
203    return $this->maintenanceWindow;
204  }
205  /**
206   * @param string
207   */
208  public function setName($name)
209  {
210    $this->name = $name;
211  }
212  /**
213   * @return string
214   */
215  public function getName()
216  {
217    return $this->name;
218  }
219  /**
220   * @param string
221   */
222  public function setNodeTemplate($nodeTemplate)
223  {
224    $this->nodeTemplate = $nodeTemplate;
225  }
226  /**
227   * @return string
228   */
229  public function getNodeTemplate()
230  {
231    return $this->nodeTemplate;
232  }
233  /**
234   * @param string
235   */
236  public function setSelfLink($selfLink)
237  {
238    $this->selfLink = $selfLink;
239  }
240  /**
241   * @return string
242   */
243  public function getSelfLink()
244  {
245    return $this->selfLink;
246  }
247  /**
248   * @param int
249   */
250  public function setSize($size)
251  {
252    $this->size = $size;
253  }
254  /**
255   * @return int
256   */
257  public function getSize()
258  {
259    return $this->size;
260  }
261  /**
262   * @param string
263   */
264  public function setStatus($status)
265  {
266    $this->status = $status;
267  }
268  /**
269   * @return string
270   */
271  public function getStatus()
272  {
273    return $this->status;
274  }
275  /**
276   * @param string
277   */
278  public function setZone($zone)
279  {
280    $this->zone = $zone;
281  }
282  /**
283   * @return string
284   */
285  public function getZone()
286  {
287    return $this->zone;
288  }
289}
290
291// Adding a class alias for backwards compatibility with the previous class name.
292class_alias(NodeGroup::class, 'Google_Service_Compute_NodeGroup');
293