source: vendor/google/apiclient-services/src/Spanner/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.3 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\Spanner;
19
20class Backup extends \Google\Collection
21{
22 protected $collection_key = 'referencingDatabases';
23 /**
24 * @var string[]
25 */
26 public $backupSchedules;
27 /**
28 * @var string
29 */
30 public $createTime;
31 /**
32 * @var string
33 */
34 public $database;
35 /**
36 * @var string
37 */
38 public $databaseDialect;
39 protected $encryptionInfoType = EncryptionInfo::class;
40 protected $encryptionInfoDataType = '';
41 protected $encryptionInformationType = EncryptionInfo::class;
42 protected $encryptionInformationDataType = 'array';
43 /**
44 * @var string
45 */
46 public $exclusiveSizeBytes;
47 /**
48 * @var string
49 */
50 public $expireTime;
51 /**
52 * @var string
53 */
54 public $freeableSizeBytes;
55 /**
56 * @var string
57 */
58 public $incrementalBackupChainId;
59 /**
60 * @var string
61 */
62 public $maxExpireTime;
63 /**
64 * @var string
65 */
66 public $name;
67 /**
68 * @var string
69 */
70 public $oldestVersionTime;
71 /**
72 * @var string[]
73 */
74 public $referencingBackups;
75 /**
76 * @var string[]
77 */
78 public $referencingDatabases;
79 /**
80 * @var string
81 */
82 public $sizeBytes;
83 /**
84 * @var string
85 */
86 public $state;
87 /**
88 * @var string
89 */
90 public $versionTime;
91
92 /**
93 * @param string[]
94 */
95 public function setBackupSchedules($backupSchedules)
96 {
97 $this->backupSchedules = $backupSchedules;
98 }
99 /**
100 * @return string[]
101 */
102 public function getBackupSchedules()
103 {
104 return $this->backupSchedules;
105 }
106 /**
107 * @param string
108 */
109 public function setCreateTime($createTime)
110 {
111 $this->createTime = $createTime;
112 }
113 /**
114 * @return string
115 */
116 public function getCreateTime()
117 {
118 return $this->createTime;
119 }
120 /**
121 * @param string
122 */
123 public function setDatabase($database)
124 {
125 $this->database = $database;
126 }
127 /**
128 * @return string
129 */
130 public function getDatabase()
131 {
132 return $this->database;
133 }
134 /**
135 * @param string
136 */
137 public function setDatabaseDialect($databaseDialect)
138 {
139 $this->databaseDialect = $databaseDialect;
140 }
141 /**
142 * @return string
143 */
144 public function getDatabaseDialect()
145 {
146 return $this->databaseDialect;
147 }
148 /**
149 * @param EncryptionInfo
150 */
151 public function setEncryptionInfo(EncryptionInfo $encryptionInfo)
152 {
153 $this->encryptionInfo = $encryptionInfo;
154 }
155 /**
156 * @return EncryptionInfo
157 */
158 public function getEncryptionInfo()
159 {
160 return $this->encryptionInfo;
161 }
162 /**
163 * @param EncryptionInfo[]
164 */
165 public function setEncryptionInformation($encryptionInformation)
166 {
167 $this->encryptionInformation = $encryptionInformation;
168 }
169 /**
170 * @return EncryptionInfo[]
171 */
172 public function getEncryptionInformation()
173 {
174 return $this->encryptionInformation;
175 }
176 /**
177 * @param string
178 */
179 public function setExclusiveSizeBytes($exclusiveSizeBytes)
180 {
181 $this->exclusiveSizeBytes = $exclusiveSizeBytes;
182 }
183 /**
184 * @return string
185 */
186 public function getExclusiveSizeBytes()
187 {
188 return $this->exclusiveSizeBytes;
189 }
190 /**
191 * @param string
192 */
193 public function setExpireTime($expireTime)
194 {
195 $this->expireTime = $expireTime;
196 }
197 /**
198 * @return string
199 */
200 public function getExpireTime()
201 {
202 return $this->expireTime;
203 }
204 /**
205 * @param string
206 */
207 public function setFreeableSizeBytes($freeableSizeBytes)
208 {
209 $this->freeableSizeBytes = $freeableSizeBytes;
210 }
211 /**
212 * @return string
213 */
214 public function getFreeableSizeBytes()
215 {
216 return $this->freeableSizeBytes;
217 }
218 /**
219 * @param string
220 */
221 public function setIncrementalBackupChainId($incrementalBackupChainId)
222 {
223 $this->incrementalBackupChainId = $incrementalBackupChainId;
224 }
225 /**
226 * @return string
227 */
228 public function getIncrementalBackupChainId()
229 {
230 return $this->incrementalBackupChainId;
231 }
232 /**
233 * @param string
234 */
235 public function setMaxExpireTime($maxExpireTime)
236 {
237 $this->maxExpireTime = $maxExpireTime;
238 }
239 /**
240 * @return string
241 */
242 public function getMaxExpireTime()
243 {
244 return $this->maxExpireTime;
245 }
246 /**
247 * @param string
248 */
249 public function setName($name)
250 {
251 $this->name = $name;
252 }
253 /**
254 * @return string
255 */
256 public function getName()
257 {
258 return $this->name;
259 }
260 /**
261 * @param string
262 */
263 public function setOldestVersionTime($oldestVersionTime)
264 {
265 $this->oldestVersionTime = $oldestVersionTime;
266 }
267 /**
268 * @return string
269 */
270 public function getOldestVersionTime()
271 {
272 return $this->oldestVersionTime;
273 }
274 /**
275 * @param string[]
276 */
277 public function setReferencingBackups($referencingBackups)
278 {
279 $this->referencingBackups = $referencingBackups;
280 }
281 /**
282 * @return string[]
283 */
284 public function getReferencingBackups()
285 {
286 return $this->referencingBackups;
287 }
288 /**
289 * @param string[]
290 */
291 public function setReferencingDatabases($referencingDatabases)
292 {
293 $this->referencingDatabases = $referencingDatabases;
294 }
295 /**
296 * @return string[]
297 */
298 public function getReferencingDatabases()
299 {
300 return $this->referencingDatabases;
301 }
302 /**
303 * @param string
304 */
305 public function setSizeBytes($sizeBytes)
306 {
307 $this->sizeBytes = $sizeBytes;
308 }
309 /**
310 * @return string
311 */
312 public function getSizeBytes()
313 {
314 return $this->sizeBytes;
315 }
316 /**
317 * @param string
318 */
319 public function setState($state)
320 {
321 $this->state = $state;
322 }
323 /**
324 * @return string
325 */
326 public function getState()
327 {
328 return $this->state;
329 }
330 /**
331 * @param string
332 */
333 public function setVersionTime($versionTime)
334 {
335 $this->versionTime = $versionTime;
336 }
337 /**
338 * @return string
339 */
340 public function getVersionTime()
341 {
342 return $this->versionTime;
343 }
344}
345
346// Adding a class alias for backwards compatibility with the previous class name.
347class_alias(Backup::class, 'Google_Service_Spanner_Backup');
Note: See TracBrowser for help on using the repository browser.