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\SQLAdmin;
|
---|
19 |
|
---|
20 | class BackupRun extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $backupKind;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $description;
|
---|
30 | protected $diskEncryptionConfigurationType = DiskEncryptionConfiguration::class;
|
---|
31 | protected $diskEncryptionConfigurationDataType = '';
|
---|
32 | protected $diskEncryptionStatusType = DiskEncryptionStatus::class;
|
---|
33 | protected $diskEncryptionStatusDataType = '';
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $endTime;
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $enqueuedTime;
|
---|
42 | protected $errorType = OperationError::class;
|
---|
43 | protected $errorDataType = '';
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $id;
|
---|
48 | /**
|
---|
49 | * @var string
|
---|
50 | */
|
---|
51 | public $instance;
|
---|
52 | /**
|
---|
53 | * @var string
|
---|
54 | */
|
---|
55 | public $kind;
|
---|
56 | /**
|
---|
57 | * @var string
|
---|
58 | */
|
---|
59 | public $location;
|
---|
60 | /**
|
---|
61 | * @var string
|
---|
62 | */
|
---|
63 | public $maxChargeableBytes;
|
---|
64 | /**
|
---|
65 | * @var string
|
---|
66 | */
|
---|
67 | public $selfLink;
|
---|
68 | /**
|
---|
69 | * @var string
|
---|
70 | */
|
---|
71 | public $startTime;
|
---|
72 | /**
|
---|
73 | * @var string
|
---|
74 | */
|
---|
75 | public $status;
|
---|
76 | /**
|
---|
77 | * @var string
|
---|
78 | */
|
---|
79 | public $timeZone;
|
---|
80 | /**
|
---|
81 | * @var string
|
---|
82 | */
|
---|
83 | public $type;
|
---|
84 | /**
|
---|
85 | * @var string
|
---|
86 | */
|
---|
87 | public $windowStartTime;
|
---|
88 |
|
---|
89 | /**
|
---|
90 | * @param string
|
---|
91 | */
|
---|
92 | public function setBackupKind($backupKind)
|
---|
93 | {
|
---|
94 | $this->backupKind = $backupKind;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @return string
|
---|
98 | */
|
---|
99 | public function getBackupKind()
|
---|
100 | {
|
---|
101 | return $this->backupKind;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @param string
|
---|
105 | */
|
---|
106 | public function setDescription($description)
|
---|
107 | {
|
---|
108 | $this->description = $description;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @return string
|
---|
112 | */
|
---|
113 | public function getDescription()
|
---|
114 | {
|
---|
115 | return $this->description;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @param DiskEncryptionConfiguration
|
---|
119 | */
|
---|
120 | public function setDiskEncryptionConfiguration(DiskEncryptionConfiguration $diskEncryptionConfiguration)
|
---|
121 | {
|
---|
122 | $this->diskEncryptionConfiguration = $diskEncryptionConfiguration;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @return DiskEncryptionConfiguration
|
---|
126 | */
|
---|
127 | public function getDiskEncryptionConfiguration()
|
---|
128 | {
|
---|
129 | return $this->diskEncryptionConfiguration;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @param DiskEncryptionStatus
|
---|
133 | */
|
---|
134 | public function setDiskEncryptionStatus(DiskEncryptionStatus $diskEncryptionStatus)
|
---|
135 | {
|
---|
136 | $this->diskEncryptionStatus = $diskEncryptionStatus;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @return DiskEncryptionStatus
|
---|
140 | */
|
---|
141 | public function getDiskEncryptionStatus()
|
---|
142 | {
|
---|
143 | return $this->diskEncryptionStatus;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @param string
|
---|
147 | */
|
---|
148 | public function setEndTime($endTime)
|
---|
149 | {
|
---|
150 | $this->endTime = $endTime;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @return string
|
---|
154 | */
|
---|
155 | public function getEndTime()
|
---|
156 | {
|
---|
157 | return $this->endTime;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @param string
|
---|
161 | */
|
---|
162 | public function setEnqueuedTime($enqueuedTime)
|
---|
163 | {
|
---|
164 | $this->enqueuedTime = $enqueuedTime;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @return string
|
---|
168 | */
|
---|
169 | public function getEnqueuedTime()
|
---|
170 | {
|
---|
171 | return $this->enqueuedTime;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @param OperationError
|
---|
175 | */
|
---|
176 | public function setError(OperationError $error)
|
---|
177 | {
|
---|
178 | $this->error = $error;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @return OperationError
|
---|
182 | */
|
---|
183 | public function getError()
|
---|
184 | {
|
---|
185 | return $this->error;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @param string
|
---|
189 | */
|
---|
190 | public function setId($id)
|
---|
191 | {
|
---|
192 | $this->id = $id;
|
---|
193 | }
|
---|
194 | /**
|
---|
195 | * @return string
|
---|
196 | */
|
---|
197 | public function getId()
|
---|
198 | {
|
---|
199 | return $this->id;
|
---|
200 | }
|
---|
201 | /**
|
---|
202 | * @param string
|
---|
203 | */
|
---|
204 | public function setInstance($instance)
|
---|
205 | {
|
---|
206 | $this->instance = $instance;
|
---|
207 | }
|
---|
208 | /**
|
---|
209 | * @return string
|
---|
210 | */
|
---|
211 | public function getInstance()
|
---|
212 | {
|
---|
213 | return $this->instance;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @param string
|
---|
217 | */
|
---|
218 | public function setKind($kind)
|
---|
219 | {
|
---|
220 | $this->kind = $kind;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @return string
|
---|
224 | */
|
---|
225 | public function getKind()
|
---|
226 | {
|
---|
227 | return $this->kind;
|
---|
228 | }
|
---|
229 | /**
|
---|
230 | * @param string
|
---|
231 | */
|
---|
232 | public function setLocation($location)
|
---|
233 | {
|
---|
234 | $this->location = $location;
|
---|
235 | }
|
---|
236 | /**
|
---|
237 | * @return string
|
---|
238 | */
|
---|
239 | public function getLocation()
|
---|
240 | {
|
---|
241 | return $this->location;
|
---|
242 | }
|
---|
243 | /**
|
---|
244 | * @param string
|
---|
245 | */
|
---|
246 | public function setMaxChargeableBytes($maxChargeableBytes)
|
---|
247 | {
|
---|
248 | $this->maxChargeableBytes = $maxChargeableBytes;
|
---|
249 | }
|
---|
250 | /**
|
---|
251 | * @return string
|
---|
252 | */
|
---|
253 | public function getMaxChargeableBytes()
|
---|
254 | {
|
---|
255 | return $this->maxChargeableBytes;
|
---|
256 | }
|
---|
257 | /**
|
---|
258 | * @param string
|
---|
259 | */
|
---|
260 | public function setSelfLink($selfLink)
|
---|
261 | {
|
---|
262 | $this->selfLink = $selfLink;
|
---|
263 | }
|
---|
264 | /**
|
---|
265 | * @return string
|
---|
266 | */
|
---|
267 | public function getSelfLink()
|
---|
268 | {
|
---|
269 | return $this->selfLink;
|
---|
270 | }
|
---|
271 | /**
|
---|
272 | * @param string
|
---|
273 | */
|
---|
274 | public function setStartTime($startTime)
|
---|
275 | {
|
---|
276 | $this->startTime = $startTime;
|
---|
277 | }
|
---|
278 | /**
|
---|
279 | * @return string
|
---|
280 | */
|
---|
281 | public function getStartTime()
|
---|
282 | {
|
---|
283 | return $this->startTime;
|
---|
284 | }
|
---|
285 | /**
|
---|
286 | * @param string
|
---|
287 | */
|
---|
288 | public function setStatus($status)
|
---|
289 | {
|
---|
290 | $this->status = $status;
|
---|
291 | }
|
---|
292 | /**
|
---|
293 | * @return string
|
---|
294 | */
|
---|
295 | public function getStatus()
|
---|
296 | {
|
---|
297 | return $this->status;
|
---|
298 | }
|
---|
299 | /**
|
---|
300 | * @param string
|
---|
301 | */
|
---|
302 | public function setTimeZone($timeZone)
|
---|
303 | {
|
---|
304 | $this->timeZone = $timeZone;
|
---|
305 | }
|
---|
306 | /**
|
---|
307 | * @return string
|
---|
308 | */
|
---|
309 | public function getTimeZone()
|
---|
310 | {
|
---|
311 | return $this->timeZone;
|
---|
312 | }
|
---|
313 | /**
|
---|
314 | * @param string
|
---|
315 | */
|
---|
316 | public function setType($type)
|
---|
317 | {
|
---|
318 | $this->type = $type;
|
---|
319 | }
|
---|
320 | /**
|
---|
321 | * @return string
|
---|
322 | */
|
---|
323 | public function getType()
|
---|
324 | {
|
---|
325 | return $this->type;
|
---|
326 | }
|
---|
327 | /**
|
---|
328 | * @param string
|
---|
329 | */
|
---|
330 | public function setWindowStartTime($windowStartTime)
|
---|
331 | {
|
---|
332 | $this->windowStartTime = $windowStartTime;
|
---|
333 | }
|
---|
334 | /**
|
---|
335 | * @return string
|
---|
336 | */
|
---|
337 | public function getWindowStartTime()
|
---|
338 | {
|
---|
339 | return $this->windowStartTime;
|
---|
340 | }
|
---|
341 | }
|
---|
342 |
|
---|
343 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
344 | class_alias(BackupRun::class, 'Google_Service_SQLAdmin_BackupRun');
|
---|