source: vendor/google/apiclient-services/src/BackupforGKE/BackupPlan.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: 5.5 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\BackupforGKE;
19
20class BackupPlan extends \Google\Model
21{
22 protected $backupConfigType = BackupConfig::class;
23 protected $backupConfigDataType = '';
24 protected $backupScheduleType = Schedule::class;
25 protected $backupScheduleDataType = '';
26 /**
27 * @var string
28 */
29 public $cluster;
30 /**
31 * @var string
32 */
33 public $createTime;
34 /**
35 * @var bool
36 */
37 public $deactivated;
38 /**
39 * @var string
40 */
41 public $description;
42 /**
43 * @var string
44 */
45 public $etag;
46 /**
47 * @var string[]
48 */
49 public $labels;
50 /**
51 * @var string
52 */
53 public $name;
54 /**
55 * @var int
56 */
57 public $protectedPodCount;
58 protected $retentionPolicyType = RetentionPolicy::class;
59 protected $retentionPolicyDataType = '';
60 /**
61 * @var int
62 */
63 public $rpoRiskLevel;
64 /**
65 * @var string
66 */
67 public $rpoRiskReason;
68 /**
69 * @var string
70 */
71 public $state;
72 /**
73 * @var string
74 */
75 public $stateReason;
76 /**
77 * @var string
78 */
79 public $uid;
80 /**
81 * @var string
82 */
83 public $updateTime;
84
85 /**
86 * @param BackupConfig
87 */
88 public function setBackupConfig(BackupConfig $backupConfig)
89 {
90 $this->backupConfig = $backupConfig;
91 }
92 /**
93 * @return BackupConfig
94 */
95 public function getBackupConfig()
96 {
97 return $this->backupConfig;
98 }
99 /**
100 * @param Schedule
101 */
102 public function setBackupSchedule(Schedule $backupSchedule)
103 {
104 $this->backupSchedule = $backupSchedule;
105 }
106 /**
107 * @return Schedule
108 */
109 public function getBackupSchedule()
110 {
111 return $this->backupSchedule;
112 }
113 /**
114 * @param string
115 */
116 public function setCluster($cluster)
117 {
118 $this->cluster = $cluster;
119 }
120 /**
121 * @return string
122 */
123 public function getCluster()
124 {
125 return $this->cluster;
126 }
127 /**
128 * @param string
129 */
130 public function setCreateTime($createTime)
131 {
132 $this->createTime = $createTime;
133 }
134 /**
135 * @return string
136 */
137 public function getCreateTime()
138 {
139 return $this->createTime;
140 }
141 /**
142 * @param bool
143 */
144 public function setDeactivated($deactivated)
145 {
146 $this->deactivated = $deactivated;
147 }
148 /**
149 * @return bool
150 */
151 public function getDeactivated()
152 {
153 return $this->deactivated;
154 }
155 /**
156 * @param string
157 */
158 public function setDescription($description)
159 {
160 $this->description = $description;
161 }
162 /**
163 * @return string
164 */
165 public function getDescription()
166 {
167 return $this->description;
168 }
169 /**
170 * @param string
171 */
172 public function setEtag($etag)
173 {
174 $this->etag = $etag;
175 }
176 /**
177 * @return string
178 */
179 public function getEtag()
180 {
181 return $this->etag;
182 }
183 /**
184 * @param string[]
185 */
186 public function setLabels($labels)
187 {
188 $this->labels = $labels;
189 }
190 /**
191 * @return string[]
192 */
193 public function getLabels()
194 {
195 return $this->labels;
196 }
197 /**
198 * @param string
199 */
200 public function setName($name)
201 {
202 $this->name = $name;
203 }
204 /**
205 * @return string
206 */
207 public function getName()
208 {
209 return $this->name;
210 }
211 /**
212 * @param int
213 */
214 public function setProtectedPodCount($protectedPodCount)
215 {
216 $this->protectedPodCount = $protectedPodCount;
217 }
218 /**
219 * @return int
220 */
221 public function getProtectedPodCount()
222 {
223 return $this->protectedPodCount;
224 }
225 /**
226 * @param RetentionPolicy
227 */
228 public function setRetentionPolicy(RetentionPolicy $retentionPolicy)
229 {
230 $this->retentionPolicy = $retentionPolicy;
231 }
232 /**
233 * @return RetentionPolicy
234 */
235 public function getRetentionPolicy()
236 {
237 return $this->retentionPolicy;
238 }
239 /**
240 * @param int
241 */
242 public function setRpoRiskLevel($rpoRiskLevel)
243 {
244 $this->rpoRiskLevel = $rpoRiskLevel;
245 }
246 /**
247 * @return int
248 */
249 public function getRpoRiskLevel()
250 {
251 return $this->rpoRiskLevel;
252 }
253 /**
254 * @param string
255 */
256 public function setRpoRiskReason($rpoRiskReason)
257 {
258 $this->rpoRiskReason = $rpoRiskReason;
259 }
260 /**
261 * @return string
262 */
263 public function getRpoRiskReason()
264 {
265 return $this->rpoRiskReason;
266 }
267 /**
268 * @param string
269 */
270 public function setState($state)
271 {
272 $this->state = $state;
273 }
274 /**
275 * @return string
276 */
277 public function getState()
278 {
279 return $this->state;
280 }
281 /**
282 * @param string
283 */
284 public function setStateReason($stateReason)
285 {
286 $this->stateReason = $stateReason;
287 }
288 /**
289 * @return string
290 */
291 public function getStateReason()
292 {
293 return $this->stateReason;
294 }
295 /**
296 * @param string
297 */
298 public function setUid($uid)
299 {
300 $this->uid = $uid;
301 }
302 /**
303 * @return string
304 */
305 public function getUid()
306 {
307 return $this->uid;
308 }
309 /**
310 * @param string
311 */
312 public function setUpdateTime($updateTime)
313 {
314 $this->updateTime = $updateTime;
315 }
316 /**
317 * @return string
318 */
319 public function getUpdateTime()
320 {
321 return $this->updateTime;
322 }
323}
324
325// Adding a class alias for backwards compatibility with the previous class name.
326class_alias(BackupPlan::class, 'Google_Service_BackupforGKE_BackupPlan');
Note: See TracBrowser for help on using the repository browser.