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\Compute;
|
---|
19 |
|
---|
20 | class StoragePool extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $capacityProvisioningType;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $creationTimestamp;
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $description;
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $id;
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $kind;
|
---|
42 | /**
|
---|
43 | * @var string
|
---|
44 | */
|
---|
45 | public $labelFingerprint;
|
---|
46 | /**
|
---|
47 | * @var string[]
|
---|
48 | */
|
---|
49 | public $labels;
|
---|
50 | /**
|
---|
51 | * @var string
|
---|
52 | */
|
---|
53 | public $name;
|
---|
54 | /**
|
---|
55 | * @var string
|
---|
56 | */
|
---|
57 | public $performanceProvisioningType;
|
---|
58 | /**
|
---|
59 | * @var string
|
---|
60 | */
|
---|
61 | public $poolProvisionedCapacityGb;
|
---|
62 | /**
|
---|
63 | * @var string
|
---|
64 | */
|
---|
65 | public $poolProvisionedIops;
|
---|
66 | /**
|
---|
67 | * @var string
|
---|
68 | */
|
---|
69 | public $poolProvisionedThroughput;
|
---|
70 | protected $resourceStatusType = StoragePoolResourceStatus::class;
|
---|
71 | protected $resourceStatusDataType = '';
|
---|
72 | /**
|
---|
73 | * @var string
|
---|
74 | */
|
---|
75 | public $selfLink;
|
---|
76 | /**
|
---|
77 | * @var string
|
---|
78 | */
|
---|
79 | public $selfLinkWithId;
|
---|
80 | /**
|
---|
81 | * @var string
|
---|
82 | */
|
---|
83 | public $state;
|
---|
84 | protected $statusType = StoragePoolResourceStatus::class;
|
---|
85 | protected $statusDataType = '';
|
---|
86 | /**
|
---|
87 | * @var string
|
---|
88 | */
|
---|
89 | public $storagePoolType;
|
---|
90 | /**
|
---|
91 | * @var string
|
---|
92 | */
|
---|
93 | public $zone;
|
---|
94 |
|
---|
95 | /**
|
---|
96 | * @param string
|
---|
97 | */
|
---|
98 | public function setCapacityProvisioningType($capacityProvisioningType)
|
---|
99 | {
|
---|
100 | $this->capacityProvisioningType = $capacityProvisioningType;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @return string
|
---|
104 | */
|
---|
105 | public function getCapacityProvisioningType()
|
---|
106 | {
|
---|
107 | return $this->capacityProvisioningType;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @param string
|
---|
111 | */
|
---|
112 | public function setCreationTimestamp($creationTimestamp)
|
---|
113 | {
|
---|
114 | $this->creationTimestamp = $creationTimestamp;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @return string
|
---|
118 | */
|
---|
119 | public function getCreationTimestamp()
|
---|
120 | {
|
---|
121 | return $this->creationTimestamp;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @param string
|
---|
125 | */
|
---|
126 | public function setDescription($description)
|
---|
127 | {
|
---|
128 | $this->description = $description;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @return string
|
---|
132 | */
|
---|
133 | public function getDescription()
|
---|
134 | {
|
---|
135 | return $this->description;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @param string
|
---|
139 | */
|
---|
140 | public function setId($id)
|
---|
141 | {
|
---|
142 | $this->id = $id;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @return string
|
---|
146 | */
|
---|
147 | public function getId()
|
---|
148 | {
|
---|
149 | return $this->id;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @param string
|
---|
153 | */
|
---|
154 | public function setKind($kind)
|
---|
155 | {
|
---|
156 | $this->kind = $kind;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @return string
|
---|
160 | */
|
---|
161 | public function getKind()
|
---|
162 | {
|
---|
163 | return $this->kind;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @param string
|
---|
167 | */
|
---|
168 | public function setLabelFingerprint($labelFingerprint)
|
---|
169 | {
|
---|
170 | $this->labelFingerprint = $labelFingerprint;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @return string
|
---|
174 | */
|
---|
175 | public function getLabelFingerprint()
|
---|
176 | {
|
---|
177 | return $this->labelFingerprint;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @param string[]
|
---|
181 | */
|
---|
182 | public function setLabels($labels)
|
---|
183 | {
|
---|
184 | $this->labels = $labels;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @return string[]
|
---|
188 | */
|
---|
189 | public function getLabels()
|
---|
190 | {
|
---|
191 | return $this->labels;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @param string
|
---|
195 | */
|
---|
196 | public function setName($name)
|
---|
197 | {
|
---|
198 | $this->name = $name;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @return string
|
---|
202 | */
|
---|
203 | public function getName()
|
---|
204 | {
|
---|
205 | return $this->name;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @param string
|
---|
209 | */
|
---|
210 | public function setPerformanceProvisioningType($performanceProvisioningType)
|
---|
211 | {
|
---|
212 | $this->performanceProvisioningType = $performanceProvisioningType;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @return string
|
---|
216 | */
|
---|
217 | public function getPerformanceProvisioningType()
|
---|
218 | {
|
---|
219 | return $this->performanceProvisioningType;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @param string
|
---|
223 | */
|
---|
224 | public function setPoolProvisionedCapacityGb($poolProvisionedCapacityGb)
|
---|
225 | {
|
---|
226 | $this->poolProvisionedCapacityGb = $poolProvisionedCapacityGb;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @return string
|
---|
230 | */
|
---|
231 | public function getPoolProvisionedCapacityGb()
|
---|
232 | {
|
---|
233 | return $this->poolProvisionedCapacityGb;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @param string
|
---|
237 | */
|
---|
238 | public function setPoolProvisionedIops($poolProvisionedIops)
|
---|
239 | {
|
---|
240 | $this->poolProvisionedIops = $poolProvisionedIops;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @return string
|
---|
244 | */
|
---|
245 | public function getPoolProvisionedIops()
|
---|
246 | {
|
---|
247 | return $this->poolProvisionedIops;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @param string
|
---|
251 | */
|
---|
252 | public function setPoolProvisionedThroughput($poolProvisionedThroughput)
|
---|
253 | {
|
---|
254 | $this->poolProvisionedThroughput = $poolProvisionedThroughput;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @return string
|
---|
258 | */
|
---|
259 | public function getPoolProvisionedThroughput()
|
---|
260 | {
|
---|
261 | return $this->poolProvisionedThroughput;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @param StoragePoolResourceStatus
|
---|
265 | */
|
---|
266 | public function setResourceStatus(StoragePoolResourceStatus $resourceStatus)
|
---|
267 | {
|
---|
268 | $this->resourceStatus = $resourceStatus;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @return StoragePoolResourceStatus
|
---|
272 | */
|
---|
273 | public function getResourceStatus()
|
---|
274 | {
|
---|
275 | return $this->resourceStatus;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @param string
|
---|
279 | */
|
---|
280 | public function setSelfLink($selfLink)
|
---|
281 | {
|
---|
282 | $this->selfLink = $selfLink;
|
---|
283 | }
|
---|
284 | /**
|
---|
285 | * @return string
|
---|
286 | */
|
---|
287 | public function getSelfLink()
|
---|
288 | {
|
---|
289 | return $this->selfLink;
|
---|
290 | }
|
---|
291 | /**
|
---|
292 | * @param string
|
---|
293 | */
|
---|
294 | public function setSelfLinkWithId($selfLinkWithId)
|
---|
295 | {
|
---|
296 | $this->selfLinkWithId = $selfLinkWithId;
|
---|
297 | }
|
---|
298 | /**
|
---|
299 | * @return string
|
---|
300 | */
|
---|
301 | public function getSelfLinkWithId()
|
---|
302 | {
|
---|
303 | return $this->selfLinkWithId;
|
---|
304 | }
|
---|
305 | /**
|
---|
306 | * @param string
|
---|
307 | */
|
---|
308 | public function setState($state)
|
---|
309 | {
|
---|
310 | $this->state = $state;
|
---|
311 | }
|
---|
312 | /**
|
---|
313 | * @return string
|
---|
314 | */
|
---|
315 | public function getState()
|
---|
316 | {
|
---|
317 | return $this->state;
|
---|
318 | }
|
---|
319 | /**
|
---|
320 | * @param StoragePoolResourceStatus
|
---|
321 | */
|
---|
322 | public function setStatus(StoragePoolResourceStatus $status)
|
---|
323 | {
|
---|
324 | $this->status = $status;
|
---|
325 | }
|
---|
326 | /**
|
---|
327 | * @return StoragePoolResourceStatus
|
---|
328 | */
|
---|
329 | public function getStatus()
|
---|
330 | {
|
---|
331 | return $this->status;
|
---|
332 | }
|
---|
333 | /**
|
---|
334 | * @param string
|
---|
335 | */
|
---|
336 | public function setStoragePoolType($storagePoolType)
|
---|
337 | {
|
---|
338 | $this->storagePoolType = $storagePoolType;
|
---|
339 | }
|
---|
340 | /**
|
---|
341 | * @return string
|
---|
342 | */
|
---|
343 | public function getStoragePoolType()
|
---|
344 | {
|
---|
345 | return $this->storagePoolType;
|
---|
346 | }
|
---|
347 | /**
|
---|
348 | * @param string
|
---|
349 | */
|
---|
350 | public function setZone($zone)
|
---|
351 | {
|
---|
352 | $this->zone = $zone;
|
---|
353 | }
|
---|
354 | /**
|
---|
355 | * @return string
|
---|
356 | */
|
---|
357 | public function getZone()
|
---|
358 | {
|
---|
359 | return $this->zone;
|
---|
360 | }
|
---|
361 | }
|
---|
362 |
|
---|
363 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
364 | class_alias(StoragePool::class, 'Google_Service_Compute_StoragePool');
|
---|