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\Baremetalsolution;
19
20class Volume extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $autoGrownSizeGib;
26  /**
27   * @var string
28   */
29  public $currentSizeGib;
30  /**
31   * @var string
32   */
33  public $emergencySizeGib;
34  /**
35   * @var string
36   */
37  public $id;
38  /**
39   * @var string[]
40   */
41  public $labels;
42  /**
43   * @var string
44   */
45  public $name;
46  /**
47   * @var string
48   */
49  public $remainingSpaceGib;
50  /**
51   * @var string
52   */
53  public $requestedSizeGib;
54  /**
55   * @var string
56   */
57  public $snapshotAutoDeleteBehavior;
58  /**
59   * @var bool
60   */
61  public $snapshotEnabled;
62  protected $snapshotReservationDetailType = SnapshotReservationDetail::class;
63  protected $snapshotReservationDetailDataType = '';
64  /**
65   * @var string
66   */
67  public $snapshotSchedulePolicy;
68  /**
69   * @var string
70   */
71  public $state;
72  /**
73   * @var string
74   */
75  public $storageType;
76
77  /**
78   * @param string
79   */
80  public function setAutoGrownSizeGib($autoGrownSizeGib)
81  {
82    $this->autoGrownSizeGib = $autoGrownSizeGib;
83  }
84  /**
85   * @return string
86   */
87  public function getAutoGrownSizeGib()
88  {
89    return $this->autoGrownSizeGib;
90  }
91  /**
92   * @param string
93   */
94  public function setCurrentSizeGib($currentSizeGib)
95  {
96    $this->currentSizeGib = $currentSizeGib;
97  }
98  /**
99   * @return string
100   */
101  public function getCurrentSizeGib()
102  {
103    return $this->currentSizeGib;
104  }
105  /**
106   * @param string
107   */
108  public function setEmergencySizeGib($emergencySizeGib)
109  {
110    $this->emergencySizeGib = $emergencySizeGib;
111  }
112  /**
113   * @return string
114   */
115  public function getEmergencySizeGib()
116  {
117    return $this->emergencySizeGib;
118  }
119  /**
120   * @param string
121   */
122  public function setId($id)
123  {
124    $this->id = $id;
125  }
126  /**
127   * @return string
128   */
129  public function getId()
130  {
131    return $this->id;
132  }
133  /**
134   * @param string[]
135   */
136  public function setLabels($labels)
137  {
138    $this->labels = $labels;
139  }
140  /**
141   * @return string[]
142   */
143  public function getLabels()
144  {
145    return $this->labels;
146  }
147  /**
148   * @param string
149   */
150  public function setName($name)
151  {
152    $this->name = $name;
153  }
154  /**
155   * @return string
156   */
157  public function getName()
158  {
159    return $this->name;
160  }
161  /**
162   * @param string
163   */
164  public function setRemainingSpaceGib($remainingSpaceGib)
165  {
166    $this->remainingSpaceGib = $remainingSpaceGib;
167  }
168  /**
169   * @return string
170   */
171  public function getRemainingSpaceGib()
172  {
173    return $this->remainingSpaceGib;
174  }
175  /**
176   * @param string
177   */
178  public function setRequestedSizeGib($requestedSizeGib)
179  {
180    $this->requestedSizeGib = $requestedSizeGib;
181  }
182  /**
183   * @return string
184   */
185  public function getRequestedSizeGib()
186  {
187    return $this->requestedSizeGib;
188  }
189  /**
190   * @param string
191   */
192  public function setSnapshotAutoDeleteBehavior($snapshotAutoDeleteBehavior)
193  {
194    $this->snapshotAutoDeleteBehavior = $snapshotAutoDeleteBehavior;
195  }
196  /**
197   * @return string
198   */
199  public function getSnapshotAutoDeleteBehavior()
200  {
201    return $this->snapshotAutoDeleteBehavior;
202  }
203  /**
204   * @param bool
205   */
206  public function setSnapshotEnabled($snapshotEnabled)
207  {
208    $this->snapshotEnabled = $snapshotEnabled;
209  }
210  /**
211   * @return bool
212   */
213  public function getSnapshotEnabled()
214  {
215    return $this->snapshotEnabled;
216  }
217  /**
218   * @param SnapshotReservationDetail
219   */
220  public function setSnapshotReservationDetail(SnapshotReservationDetail $snapshotReservationDetail)
221  {
222    $this->snapshotReservationDetail = $snapshotReservationDetail;
223  }
224  /**
225   * @return SnapshotReservationDetail
226   */
227  public function getSnapshotReservationDetail()
228  {
229    return $this->snapshotReservationDetail;
230  }
231  /**
232   * @param string
233   */
234  public function setSnapshotSchedulePolicy($snapshotSchedulePolicy)
235  {
236    $this->snapshotSchedulePolicy = $snapshotSchedulePolicy;
237  }
238  /**
239   * @return string
240   */
241  public function getSnapshotSchedulePolicy()
242  {
243    return $this->snapshotSchedulePolicy;
244  }
245  /**
246   * @param string
247   */
248  public function setState($state)
249  {
250    $this->state = $state;
251  }
252  /**
253   * @return string
254   */
255  public function getState()
256  {
257    return $this->state;
258  }
259  /**
260   * @param string
261   */
262  public function setStorageType($storageType)
263  {
264    $this->storageType = $storageType;
265  }
266  /**
267   * @return string
268   */
269  public function getStorageType()
270  {
271    return $this->storageType;
272  }
273}
274
275// Adding a class alias for backwards compatibility with the previous class name.
276class_alias(Volume::class, 'Google_Service_Baremetalsolution_Volume');
277