source: vendor/google/apiclient-services/src/Backupdr/Backup.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: 6.4 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\Backupdr;
19
20class Backup extends \Google\Collection
21{
22 protected $collection_key = 'serviceLocks';
23 protected $backupApplianceBackupPropertiesType = BackupApplianceBackupProperties::class;
24 protected $backupApplianceBackupPropertiesDataType = '';
25 protected $backupApplianceLocksType = BackupLock::class;
26 protected $backupApplianceLocksDataType = 'array';
27 /**
28 * @var string
29 */
30 public $backupType;
31 protected $computeInstanceBackupPropertiesType = ComputeInstanceBackupProperties::class;
32 protected $computeInstanceBackupPropertiesDataType = '';
33 /**
34 * @var string
35 */
36 public $consistencyTime;
37 /**
38 * @var string
39 */
40 public $createTime;
41 /**
42 * @var string
43 */
44 public $description;
45 /**
46 * @var string
47 */
48 public $enforcedRetentionEndTime;
49 /**
50 * @var string
51 */
52 public $etag;
53 /**
54 * @var string
55 */
56 public $expireTime;
57 protected $gcpBackupPlanInfoType = GCPBackupPlanInfo::class;
58 protected $gcpBackupPlanInfoDataType = '';
59 /**
60 * @var string[]
61 */
62 public $labels;
63 /**
64 * @var string
65 */
66 public $name;
67 /**
68 * @var string
69 */
70 public $resourceSizeBytes;
71 protected $serviceLocksType = BackupLock::class;
72 protected $serviceLocksDataType = 'array';
73 /**
74 * @var string
75 */
76 public $state;
77 /**
78 * @var string
79 */
80 public $updateTime;
81
82 /**
83 * @param BackupApplianceBackupProperties
84 */
85 public function setBackupApplianceBackupProperties(BackupApplianceBackupProperties $backupApplianceBackupProperties)
86 {
87 $this->backupApplianceBackupProperties = $backupApplianceBackupProperties;
88 }
89 /**
90 * @return BackupApplianceBackupProperties
91 */
92 public function getBackupApplianceBackupProperties()
93 {
94 return $this->backupApplianceBackupProperties;
95 }
96 /**
97 * @param BackupLock[]
98 */
99 public function setBackupApplianceLocks($backupApplianceLocks)
100 {
101 $this->backupApplianceLocks = $backupApplianceLocks;
102 }
103 /**
104 * @return BackupLock[]
105 */
106 public function getBackupApplianceLocks()
107 {
108 return $this->backupApplianceLocks;
109 }
110 /**
111 * @param string
112 */
113 public function setBackupType($backupType)
114 {
115 $this->backupType = $backupType;
116 }
117 /**
118 * @return string
119 */
120 public function getBackupType()
121 {
122 return $this->backupType;
123 }
124 /**
125 * @param ComputeInstanceBackupProperties
126 */
127 public function setComputeInstanceBackupProperties(ComputeInstanceBackupProperties $computeInstanceBackupProperties)
128 {
129 $this->computeInstanceBackupProperties = $computeInstanceBackupProperties;
130 }
131 /**
132 * @return ComputeInstanceBackupProperties
133 */
134 public function getComputeInstanceBackupProperties()
135 {
136 return $this->computeInstanceBackupProperties;
137 }
138 /**
139 * @param string
140 */
141 public function setConsistencyTime($consistencyTime)
142 {
143 $this->consistencyTime = $consistencyTime;
144 }
145 /**
146 * @return string
147 */
148 public function getConsistencyTime()
149 {
150 return $this->consistencyTime;
151 }
152 /**
153 * @param string
154 */
155 public function setCreateTime($createTime)
156 {
157 $this->createTime = $createTime;
158 }
159 /**
160 * @return string
161 */
162 public function getCreateTime()
163 {
164 return $this->createTime;
165 }
166 /**
167 * @param string
168 */
169 public function setDescription($description)
170 {
171 $this->description = $description;
172 }
173 /**
174 * @return string
175 */
176 public function getDescription()
177 {
178 return $this->description;
179 }
180 /**
181 * @param string
182 */
183 public function setEnforcedRetentionEndTime($enforcedRetentionEndTime)
184 {
185 $this->enforcedRetentionEndTime = $enforcedRetentionEndTime;
186 }
187 /**
188 * @return string
189 */
190 public function getEnforcedRetentionEndTime()
191 {
192 return $this->enforcedRetentionEndTime;
193 }
194 /**
195 * @param string
196 */
197 public function setEtag($etag)
198 {
199 $this->etag = $etag;
200 }
201 /**
202 * @return string
203 */
204 public function getEtag()
205 {
206 return $this->etag;
207 }
208 /**
209 * @param string
210 */
211 public function setExpireTime($expireTime)
212 {
213 $this->expireTime = $expireTime;
214 }
215 /**
216 * @return string
217 */
218 public function getExpireTime()
219 {
220 return $this->expireTime;
221 }
222 /**
223 * @param GCPBackupPlanInfo
224 */
225 public function setGcpBackupPlanInfo(GCPBackupPlanInfo $gcpBackupPlanInfo)
226 {
227 $this->gcpBackupPlanInfo = $gcpBackupPlanInfo;
228 }
229 /**
230 * @return GCPBackupPlanInfo
231 */
232 public function getGcpBackupPlanInfo()
233 {
234 return $this->gcpBackupPlanInfo;
235 }
236 /**
237 * @param string[]
238 */
239 public function setLabels($labels)
240 {
241 $this->labels = $labels;
242 }
243 /**
244 * @return string[]
245 */
246 public function getLabels()
247 {
248 return $this->labels;
249 }
250 /**
251 * @param string
252 */
253 public function setName($name)
254 {
255 $this->name = $name;
256 }
257 /**
258 * @return string
259 */
260 public function getName()
261 {
262 return $this->name;
263 }
264 /**
265 * @param string
266 */
267 public function setResourceSizeBytes($resourceSizeBytes)
268 {
269 $this->resourceSizeBytes = $resourceSizeBytes;
270 }
271 /**
272 * @return string
273 */
274 public function getResourceSizeBytes()
275 {
276 return $this->resourceSizeBytes;
277 }
278 /**
279 * @param BackupLock[]
280 */
281 public function setServiceLocks($serviceLocks)
282 {
283 $this->serviceLocks = $serviceLocks;
284 }
285 /**
286 * @return BackupLock[]
287 */
288 public function getServiceLocks()
289 {
290 return $this->serviceLocks;
291 }
292 /**
293 * @param string
294 */
295 public function setState($state)
296 {
297 $this->state = $state;
298 }
299 /**
300 * @return string
301 */
302 public function getState()
303 {
304 return $this->state;
305 }
306 /**
307 * @param string
308 */
309 public function setUpdateTime($updateTime)
310 {
311 $this->updateTime = $updateTime;
312 }
313 /**
314 * @return string
315 */
316 public function getUpdateTime()
317 {
318 return $this->updateTime;
319 }
320}
321
322// Adding a class alias for backwards compatibility with the previous class name.
323class_alias(Backup::class, 'Google_Service_Backupdr_Backup');
Note: See TracBrowser for help on using the repository browser.