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\NetAppFiles;
|
---|
19 |
|
---|
20 | class Volume extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'smbSettings';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $activeDirectory;
|
---|
27 | protected $backupConfigType = BackupConfig::class;
|
---|
28 | protected $backupConfigDataType = '';
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $capacityGib;
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $coldTierSizeGib;
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $createTime;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $description;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $encryptionType;
|
---|
49 | protected $exportPolicyType = ExportPolicy::class;
|
---|
50 | protected $exportPolicyDataType = '';
|
---|
51 | /**
|
---|
52 | * @var bool
|
---|
53 | */
|
---|
54 | public $hasReplication;
|
---|
55 | protected $hybridReplicationParametersType = HybridReplicationParameters::class;
|
---|
56 | protected $hybridReplicationParametersDataType = '';
|
---|
57 | /**
|
---|
58 | * @var bool
|
---|
59 | */
|
---|
60 | public $kerberosEnabled;
|
---|
61 | /**
|
---|
62 | * @var string
|
---|
63 | */
|
---|
64 | public $kmsConfig;
|
---|
65 | /**
|
---|
66 | * @var string[]
|
---|
67 | */
|
---|
68 | public $labels;
|
---|
69 | /**
|
---|
70 | * @var bool
|
---|
71 | */
|
---|
72 | public $largeCapacity;
|
---|
73 | /**
|
---|
74 | * @var bool
|
---|
75 | */
|
---|
76 | public $ldapEnabled;
|
---|
77 | protected $mountOptionsType = MountOption::class;
|
---|
78 | protected $mountOptionsDataType = 'array';
|
---|
79 | /**
|
---|
80 | * @var bool
|
---|
81 | */
|
---|
82 | public $multipleEndpoints;
|
---|
83 | /**
|
---|
84 | * @var string
|
---|
85 | */
|
---|
86 | public $name;
|
---|
87 | /**
|
---|
88 | * @var string
|
---|
89 | */
|
---|
90 | public $network;
|
---|
91 | /**
|
---|
92 | * @var string[]
|
---|
93 | */
|
---|
94 | public $protocols;
|
---|
95 | /**
|
---|
96 | * @var string
|
---|
97 | */
|
---|
98 | public $psaRange;
|
---|
99 | /**
|
---|
100 | * @var string
|
---|
101 | */
|
---|
102 | public $replicaZone;
|
---|
103 | protected $restoreParametersType = RestoreParameters::class;
|
---|
104 | protected $restoreParametersDataType = '';
|
---|
105 | /**
|
---|
106 | * @var string[]
|
---|
107 | */
|
---|
108 | public $restrictedActions;
|
---|
109 | /**
|
---|
110 | * @var string
|
---|
111 | */
|
---|
112 | public $securityStyle;
|
---|
113 | /**
|
---|
114 | * @var string
|
---|
115 | */
|
---|
116 | public $serviceLevel;
|
---|
117 | /**
|
---|
118 | * @var string
|
---|
119 | */
|
---|
120 | public $shareName;
|
---|
121 | /**
|
---|
122 | * @var string[]
|
---|
123 | */
|
---|
124 | public $smbSettings;
|
---|
125 | public $snapReserve;
|
---|
126 | /**
|
---|
127 | * @var bool
|
---|
128 | */
|
---|
129 | public $snapshotDirectory;
|
---|
130 | protected $snapshotPolicyType = SnapshotPolicy::class;
|
---|
131 | protected $snapshotPolicyDataType = '';
|
---|
132 | /**
|
---|
133 | * @var string
|
---|
134 | */
|
---|
135 | public $state;
|
---|
136 | /**
|
---|
137 | * @var string
|
---|
138 | */
|
---|
139 | public $stateDetails;
|
---|
140 | /**
|
---|
141 | * @var string
|
---|
142 | */
|
---|
143 | public $storagePool;
|
---|
144 | protected $tieringPolicyType = TieringPolicy::class;
|
---|
145 | protected $tieringPolicyDataType = '';
|
---|
146 | /**
|
---|
147 | * @var string
|
---|
148 | */
|
---|
149 | public $unixPermissions;
|
---|
150 | /**
|
---|
151 | * @var string
|
---|
152 | */
|
---|
153 | public $usedGib;
|
---|
154 | /**
|
---|
155 | * @var string
|
---|
156 | */
|
---|
157 | public $zone;
|
---|
158 |
|
---|
159 | /**
|
---|
160 | * @param string
|
---|
161 | */
|
---|
162 | public function setActiveDirectory($activeDirectory)
|
---|
163 | {
|
---|
164 | $this->activeDirectory = $activeDirectory;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @return string
|
---|
168 | */
|
---|
169 | public function getActiveDirectory()
|
---|
170 | {
|
---|
171 | return $this->activeDirectory;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @param BackupConfig
|
---|
175 | */
|
---|
176 | public function setBackupConfig(BackupConfig $backupConfig)
|
---|
177 | {
|
---|
178 | $this->backupConfig = $backupConfig;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @return BackupConfig
|
---|
182 | */
|
---|
183 | public function getBackupConfig()
|
---|
184 | {
|
---|
185 | return $this->backupConfig;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @param string
|
---|
189 | */
|
---|
190 | public function setCapacityGib($capacityGib)
|
---|
191 | {
|
---|
192 | $this->capacityGib = $capacityGib;
|
---|
193 | }
|
---|
194 | /**
|
---|
195 | * @return string
|
---|
196 | */
|
---|
197 | public function getCapacityGib()
|
---|
198 | {
|
---|
199 | return $this->capacityGib;
|
---|
200 | }
|
---|
201 | /**
|
---|
202 | * @param string
|
---|
203 | */
|
---|
204 | public function setColdTierSizeGib($coldTierSizeGib)
|
---|
205 | {
|
---|
206 | $this->coldTierSizeGib = $coldTierSizeGib;
|
---|
207 | }
|
---|
208 | /**
|
---|
209 | * @return string
|
---|
210 | */
|
---|
211 | public function getColdTierSizeGib()
|
---|
212 | {
|
---|
213 | return $this->coldTierSizeGib;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @param string
|
---|
217 | */
|
---|
218 | public function setCreateTime($createTime)
|
---|
219 | {
|
---|
220 | $this->createTime = $createTime;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @return string
|
---|
224 | */
|
---|
225 | public function getCreateTime()
|
---|
226 | {
|
---|
227 | return $this->createTime;
|
---|
228 | }
|
---|
229 | /**
|
---|
230 | * @param string
|
---|
231 | */
|
---|
232 | public function setDescription($description)
|
---|
233 | {
|
---|
234 | $this->description = $description;
|
---|
235 | }
|
---|
236 | /**
|
---|
237 | * @return string
|
---|
238 | */
|
---|
239 | public function getDescription()
|
---|
240 | {
|
---|
241 | return $this->description;
|
---|
242 | }
|
---|
243 | /**
|
---|
244 | * @param string
|
---|
245 | */
|
---|
246 | public function setEncryptionType($encryptionType)
|
---|
247 | {
|
---|
248 | $this->encryptionType = $encryptionType;
|
---|
249 | }
|
---|
250 | /**
|
---|
251 | * @return string
|
---|
252 | */
|
---|
253 | public function getEncryptionType()
|
---|
254 | {
|
---|
255 | return $this->encryptionType;
|
---|
256 | }
|
---|
257 | /**
|
---|
258 | * @param ExportPolicy
|
---|
259 | */
|
---|
260 | public function setExportPolicy(ExportPolicy $exportPolicy)
|
---|
261 | {
|
---|
262 | $this->exportPolicy = $exportPolicy;
|
---|
263 | }
|
---|
264 | /**
|
---|
265 | * @return ExportPolicy
|
---|
266 | */
|
---|
267 | public function getExportPolicy()
|
---|
268 | {
|
---|
269 | return $this->exportPolicy;
|
---|
270 | }
|
---|
271 | /**
|
---|
272 | * @param bool
|
---|
273 | */
|
---|
274 | public function setHasReplication($hasReplication)
|
---|
275 | {
|
---|
276 | $this->hasReplication = $hasReplication;
|
---|
277 | }
|
---|
278 | /**
|
---|
279 | * @return bool
|
---|
280 | */
|
---|
281 | public function getHasReplication()
|
---|
282 | {
|
---|
283 | return $this->hasReplication;
|
---|
284 | }
|
---|
285 | /**
|
---|
286 | * @param HybridReplicationParameters
|
---|
287 | */
|
---|
288 | public function setHybridReplicationParameters(HybridReplicationParameters $hybridReplicationParameters)
|
---|
289 | {
|
---|
290 | $this->hybridReplicationParameters = $hybridReplicationParameters;
|
---|
291 | }
|
---|
292 | /**
|
---|
293 | * @return HybridReplicationParameters
|
---|
294 | */
|
---|
295 | public function getHybridReplicationParameters()
|
---|
296 | {
|
---|
297 | return $this->hybridReplicationParameters;
|
---|
298 | }
|
---|
299 | /**
|
---|
300 | * @param bool
|
---|
301 | */
|
---|
302 | public function setKerberosEnabled($kerberosEnabled)
|
---|
303 | {
|
---|
304 | $this->kerberosEnabled = $kerberosEnabled;
|
---|
305 | }
|
---|
306 | /**
|
---|
307 | * @return bool
|
---|
308 | */
|
---|
309 | public function getKerberosEnabled()
|
---|
310 | {
|
---|
311 | return $this->kerberosEnabled;
|
---|
312 | }
|
---|
313 | /**
|
---|
314 | * @param string
|
---|
315 | */
|
---|
316 | public function setKmsConfig($kmsConfig)
|
---|
317 | {
|
---|
318 | $this->kmsConfig = $kmsConfig;
|
---|
319 | }
|
---|
320 | /**
|
---|
321 | * @return string
|
---|
322 | */
|
---|
323 | public function getKmsConfig()
|
---|
324 | {
|
---|
325 | return $this->kmsConfig;
|
---|
326 | }
|
---|
327 | /**
|
---|
328 | * @param string[]
|
---|
329 | */
|
---|
330 | public function setLabels($labels)
|
---|
331 | {
|
---|
332 | $this->labels = $labels;
|
---|
333 | }
|
---|
334 | /**
|
---|
335 | * @return string[]
|
---|
336 | */
|
---|
337 | public function getLabels()
|
---|
338 | {
|
---|
339 | return $this->labels;
|
---|
340 | }
|
---|
341 | /**
|
---|
342 | * @param bool
|
---|
343 | */
|
---|
344 | public function setLargeCapacity($largeCapacity)
|
---|
345 | {
|
---|
346 | $this->largeCapacity = $largeCapacity;
|
---|
347 | }
|
---|
348 | /**
|
---|
349 | * @return bool
|
---|
350 | */
|
---|
351 | public function getLargeCapacity()
|
---|
352 | {
|
---|
353 | return $this->largeCapacity;
|
---|
354 | }
|
---|
355 | /**
|
---|
356 | * @param bool
|
---|
357 | */
|
---|
358 | public function setLdapEnabled($ldapEnabled)
|
---|
359 | {
|
---|
360 | $this->ldapEnabled = $ldapEnabled;
|
---|
361 | }
|
---|
362 | /**
|
---|
363 | * @return bool
|
---|
364 | */
|
---|
365 | public function getLdapEnabled()
|
---|
366 | {
|
---|
367 | return $this->ldapEnabled;
|
---|
368 | }
|
---|
369 | /**
|
---|
370 | * @param MountOption[]
|
---|
371 | */
|
---|
372 | public function setMountOptions($mountOptions)
|
---|
373 | {
|
---|
374 | $this->mountOptions = $mountOptions;
|
---|
375 | }
|
---|
376 | /**
|
---|
377 | * @return MountOption[]
|
---|
378 | */
|
---|
379 | public function getMountOptions()
|
---|
380 | {
|
---|
381 | return $this->mountOptions;
|
---|
382 | }
|
---|
383 | /**
|
---|
384 | * @param bool
|
---|
385 | */
|
---|
386 | public function setMultipleEndpoints($multipleEndpoints)
|
---|
387 | {
|
---|
388 | $this->multipleEndpoints = $multipleEndpoints;
|
---|
389 | }
|
---|
390 | /**
|
---|
391 | * @return bool
|
---|
392 | */
|
---|
393 | public function getMultipleEndpoints()
|
---|
394 | {
|
---|
395 | return $this->multipleEndpoints;
|
---|
396 | }
|
---|
397 | /**
|
---|
398 | * @param string
|
---|
399 | */
|
---|
400 | public function setName($name)
|
---|
401 | {
|
---|
402 | $this->name = $name;
|
---|
403 | }
|
---|
404 | /**
|
---|
405 | * @return string
|
---|
406 | */
|
---|
407 | public function getName()
|
---|
408 | {
|
---|
409 | return $this->name;
|
---|
410 | }
|
---|
411 | /**
|
---|
412 | * @param string
|
---|
413 | */
|
---|
414 | public function setNetwork($network)
|
---|
415 | {
|
---|
416 | $this->network = $network;
|
---|
417 | }
|
---|
418 | /**
|
---|
419 | * @return string
|
---|
420 | */
|
---|
421 | public function getNetwork()
|
---|
422 | {
|
---|
423 | return $this->network;
|
---|
424 | }
|
---|
425 | /**
|
---|
426 | * @param string[]
|
---|
427 | */
|
---|
428 | public function setProtocols($protocols)
|
---|
429 | {
|
---|
430 | $this->protocols = $protocols;
|
---|
431 | }
|
---|
432 | /**
|
---|
433 | * @return string[]
|
---|
434 | */
|
---|
435 | public function getProtocols()
|
---|
436 | {
|
---|
437 | return $this->protocols;
|
---|
438 | }
|
---|
439 | /**
|
---|
440 | * @param string
|
---|
441 | */
|
---|
442 | public function setPsaRange($psaRange)
|
---|
443 | {
|
---|
444 | $this->psaRange = $psaRange;
|
---|
445 | }
|
---|
446 | /**
|
---|
447 | * @return string
|
---|
448 | */
|
---|
449 | public function getPsaRange()
|
---|
450 | {
|
---|
451 | return $this->psaRange;
|
---|
452 | }
|
---|
453 | /**
|
---|
454 | * @param string
|
---|
455 | */
|
---|
456 | public function setReplicaZone($replicaZone)
|
---|
457 | {
|
---|
458 | $this->replicaZone = $replicaZone;
|
---|
459 | }
|
---|
460 | /**
|
---|
461 | * @return string
|
---|
462 | */
|
---|
463 | public function getReplicaZone()
|
---|
464 | {
|
---|
465 | return $this->replicaZone;
|
---|
466 | }
|
---|
467 | /**
|
---|
468 | * @param RestoreParameters
|
---|
469 | */
|
---|
470 | public function setRestoreParameters(RestoreParameters $restoreParameters)
|
---|
471 | {
|
---|
472 | $this->restoreParameters = $restoreParameters;
|
---|
473 | }
|
---|
474 | /**
|
---|
475 | * @return RestoreParameters
|
---|
476 | */
|
---|
477 | public function getRestoreParameters()
|
---|
478 | {
|
---|
479 | return $this->restoreParameters;
|
---|
480 | }
|
---|
481 | /**
|
---|
482 | * @param string[]
|
---|
483 | */
|
---|
484 | public function setRestrictedActions($restrictedActions)
|
---|
485 | {
|
---|
486 | $this->restrictedActions = $restrictedActions;
|
---|
487 | }
|
---|
488 | /**
|
---|
489 | * @return string[]
|
---|
490 | */
|
---|
491 | public function getRestrictedActions()
|
---|
492 | {
|
---|
493 | return $this->restrictedActions;
|
---|
494 | }
|
---|
495 | /**
|
---|
496 | * @param string
|
---|
497 | */
|
---|
498 | public function setSecurityStyle($securityStyle)
|
---|
499 | {
|
---|
500 | $this->securityStyle = $securityStyle;
|
---|
501 | }
|
---|
502 | /**
|
---|
503 | * @return string
|
---|
504 | */
|
---|
505 | public function getSecurityStyle()
|
---|
506 | {
|
---|
507 | return $this->securityStyle;
|
---|
508 | }
|
---|
509 | /**
|
---|
510 | * @param string
|
---|
511 | */
|
---|
512 | public function setServiceLevel($serviceLevel)
|
---|
513 | {
|
---|
514 | $this->serviceLevel = $serviceLevel;
|
---|
515 | }
|
---|
516 | /**
|
---|
517 | * @return string
|
---|
518 | */
|
---|
519 | public function getServiceLevel()
|
---|
520 | {
|
---|
521 | return $this->serviceLevel;
|
---|
522 | }
|
---|
523 | /**
|
---|
524 | * @param string
|
---|
525 | */
|
---|
526 | public function setShareName($shareName)
|
---|
527 | {
|
---|
528 | $this->shareName = $shareName;
|
---|
529 | }
|
---|
530 | /**
|
---|
531 | * @return string
|
---|
532 | */
|
---|
533 | public function getShareName()
|
---|
534 | {
|
---|
535 | return $this->shareName;
|
---|
536 | }
|
---|
537 | /**
|
---|
538 | * @param string[]
|
---|
539 | */
|
---|
540 | public function setSmbSettings($smbSettings)
|
---|
541 | {
|
---|
542 | $this->smbSettings = $smbSettings;
|
---|
543 | }
|
---|
544 | /**
|
---|
545 | * @return string[]
|
---|
546 | */
|
---|
547 | public function getSmbSettings()
|
---|
548 | {
|
---|
549 | return $this->smbSettings;
|
---|
550 | }
|
---|
551 | public function setSnapReserve($snapReserve)
|
---|
552 | {
|
---|
553 | $this->snapReserve = $snapReserve;
|
---|
554 | }
|
---|
555 | public function getSnapReserve()
|
---|
556 | {
|
---|
557 | return $this->snapReserve;
|
---|
558 | }
|
---|
559 | /**
|
---|
560 | * @param bool
|
---|
561 | */
|
---|
562 | public function setSnapshotDirectory($snapshotDirectory)
|
---|
563 | {
|
---|
564 | $this->snapshotDirectory = $snapshotDirectory;
|
---|
565 | }
|
---|
566 | /**
|
---|
567 | * @return bool
|
---|
568 | */
|
---|
569 | public function getSnapshotDirectory()
|
---|
570 | {
|
---|
571 | return $this->snapshotDirectory;
|
---|
572 | }
|
---|
573 | /**
|
---|
574 | * @param SnapshotPolicy
|
---|
575 | */
|
---|
576 | public function setSnapshotPolicy(SnapshotPolicy $snapshotPolicy)
|
---|
577 | {
|
---|
578 | $this->snapshotPolicy = $snapshotPolicy;
|
---|
579 | }
|
---|
580 | /**
|
---|
581 | * @return SnapshotPolicy
|
---|
582 | */
|
---|
583 | public function getSnapshotPolicy()
|
---|
584 | {
|
---|
585 | return $this->snapshotPolicy;
|
---|
586 | }
|
---|
587 | /**
|
---|
588 | * @param string
|
---|
589 | */
|
---|
590 | public function setState($state)
|
---|
591 | {
|
---|
592 | $this->state = $state;
|
---|
593 | }
|
---|
594 | /**
|
---|
595 | * @return string
|
---|
596 | */
|
---|
597 | public function getState()
|
---|
598 | {
|
---|
599 | return $this->state;
|
---|
600 | }
|
---|
601 | /**
|
---|
602 | * @param string
|
---|
603 | */
|
---|
604 | public function setStateDetails($stateDetails)
|
---|
605 | {
|
---|
606 | $this->stateDetails = $stateDetails;
|
---|
607 | }
|
---|
608 | /**
|
---|
609 | * @return string
|
---|
610 | */
|
---|
611 | public function getStateDetails()
|
---|
612 | {
|
---|
613 | return $this->stateDetails;
|
---|
614 | }
|
---|
615 | /**
|
---|
616 | * @param string
|
---|
617 | */
|
---|
618 | public function setStoragePool($storagePool)
|
---|
619 | {
|
---|
620 | $this->storagePool = $storagePool;
|
---|
621 | }
|
---|
622 | /**
|
---|
623 | * @return string
|
---|
624 | */
|
---|
625 | public function getStoragePool()
|
---|
626 | {
|
---|
627 | return $this->storagePool;
|
---|
628 | }
|
---|
629 | /**
|
---|
630 | * @param TieringPolicy
|
---|
631 | */
|
---|
632 | public function setTieringPolicy(TieringPolicy $tieringPolicy)
|
---|
633 | {
|
---|
634 | $this->tieringPolicy = $tieringPolicy;
|
---|
635 | }
|
---|
636 | /**
|
---|
637 | * @return TieringPolicy
|
---|
638 | */
|
---|
639 | public function getTieringPolicy()
|
---|
640 | {
|
---|
641 | return $this->tieringPolicy;
|
---|
642 | }
|
---|
643 | /**
|
---|
644 | * @param string
|
---|
645 | */
|
---|
646 | public function setUnixPermissions($unixPermissions)
|
---|
647 | {
|
---|
648 | $this->unixPermissions = $unixPermissions;
|
---|
649 | }
|
---|
650 | /**
|
---|
651 | * @return string
|
---|
652 | */
|
---|
653 | public function getUnixPermissions()
|
---|
654 | {
|
---|
655 | return $this->unixPermissions;
|
---|
656 | }
|
---|
657 | /**
|
---|
658 | * @param string
|
---|
659 | */
|
---|
660 | public function setUsedGib($usedGib)
|
---|
661 | {
|
---|
662 | $this->usedGib = $usedGib;
|
---|
663 | }
|
---|
664 | /**
|
---|
665 | * @return string
|
---|
666 | */
|
---|
667 | public function getUsedGib()
|
---|
668 | {
|
---|
669 | return $this->usedGib;
|
---|
670 | }
|
---|
671 | /**
|
---|
672 | * @param string
|
---|
673 | */
|
---|
674 | public function setZone($zone)
|
---|
675 | {
|
---|
676 | $this->zone = $zone;
|
---|
677 | }
|
---|
678 | /**
|
---|
679 | * @return string
|
---|
680 | */
|
---|
681 | public function getZone()
|
---|
682 | {
|
---|
683 | return $this->zone;
|
---|
684 | }
|
---|
685 | }
|
---|
686 |
|
---|
687 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
688 | class_alias(Volume::class, 'Google_Service_NetAppFiles_Volume');
|
---|