source: vendor/google/apiclient-services/src/CloudKMS/CryptoKeyVersion.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.9 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\CloudKMS;
19
20class CryptoKeyVersion extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $algorithm;
26 protected $attestationType = KeyOperationAttestation::class;
27 protected $attestationDataType = '';
28 /**
29 * @var string
30 */
31 public $createTime;
32 /**
33 * @var string
34 */
35 public $destroyEventTime;
36 /**
37 * @var string
38 */
39 public $destroyTime;
40 /**
41 * @var string
42 */
43 public $externalDestructionFailureReason;
44 protected $externalProtectionLevelOptionsType = ExternalProtectionLevelOptions::class;
45 protected $externalProtectionLevelOptionsDataType = '';
46 /**
47 * @var string
48 */
49 public $generateTime;
50 /**
51 * @var string
52 */
53 public $generationFailureReason;
54 /**
55 * @var string
56 */
57 public $importFailureReason;
58 /**
59 * @var string
60 */
61 public $importJob;
62 /**
63 * @var string
64 */
65 public $importTime;
66 /**
67 * @var string
68 */
69 public $name;
70 /**
71 * @var string
72 */
73 public $protectionLevel;
74 /**
75 * @var bool
76 */
77 public $reimportEligible;
78 /**
79 * @var string
80 */
81 public $state;
82
83 /**
84 * @param string
85 */
86 public function setAlgorithm($algorithm)
87 {
88 $this->algorithm = $algorithm;
89 }
90 /**
91 * @return string
92 */
93 public function getAlgorithm()
94 {
95 return $this->algorithm;
96 }
97 /**
98 * @param KeyOperationAttestation
99 */
100 public function setAttestation(KeyOperationAttestation $attestation)
101 {
102 $this->attestation = $attestation;
103 }
104 /**
105 * @return KeyOperationAttestation
106 */
107 public function getAttestation()
108 {
109 return $this->attestation;
110 }
111 /**
112 * @param string
113 */
114 public function setCreateTime($createTime)
115 {
116 $this->createTime = $createTime;
117 }
118 /**
119 * @return string
120 */
121 public function getCreateTime()
122 {
123 return $this->createTime;
124 }
125 /**
126 * @param string
127 */
128 public function setDestroyEventTime($destroyEventTime)
129 {
130 $this->destroyEventTime = $destroyEventTime;
131 }
132 /**
133 * @return string
134 */
135 public function getDestroyEventTime()
136 {
137 return $this->destroyEventTime;
138 }
139 /**
140 * @param string
141 */
142 public function setDestroyTime($destroyTime)
143 {
144 $this->destroyTime = $destroyTime;
145 }
146 /**
147 * @return string
148 */
149 public function getDestroyTime()
150 {
151 return $this->destroyTime;
152 }
153 /**
154 * @param string
155 */
156 public function setExternalDestructionFailureReason($externalDestructionFailureReason)
157 {
158 $this->externalDestructionFailureReason = $externalDestructionFailureReason;
159 }
160 /**
161 * @return string
162 */
163 public function getExternalDestructionFailureReason()
164 {
165 return $this->externalDestructionFailureReason;
166 }
167 /**
168 * @param ExternalProtectionLevelOptions
169 */
170 public function setExternalProtectionLevelOptions(ExternalProtectionLevelOptions $externalProtectionLevelOptions)
171 {
172 $this->externalProtectionLevelOptions = $externalProtectionLevelOptions;
173 }
174 /**
175 * @return ExternalProtectionLevelOptions
176 */
177 public function getExternalProtectionLevelOptions()
178 {
179 return $this->externalProtectionLevelOptions;
180 }
181 /**
182 * @param string
183 */
184 public function setGenerateTime($generateTime)
185 {
186 $this->generateTime = $generateTime;
187 }
188 /**
189 * @return string
190 */
191 public function getGenerateTime()
192 {
193 return $this->generateTime;
194 }
195 /**
196 * @param string
197 */
198 public function setGenerationFailureReason($generationFailureReason)
199 {
200 $this->generationFailureReason = $generationFailureReason;
201 }
202 /**
203 * @return string
204 */
205 public function getGenerationFailureReason()
206 {
207 return $this->generationFailureReason;
208 }
209 /**
210 * @param string
211 */
212 public function setImportFailureReason($importFailureReason)
213 {
214 $this->importFailureReason = $importFailureReason;
215 }
216 /**
217 * @return string
218 */
219 public function getImportFailureReason()
220 {
221 return $this->importFailureReason;
222 }
223 /**
224 * @param string
225 */
226 public function setImportJob($importJob)
227 {
228 $this->importJob = $importJob;
229 }
230 /**
231 * @return string
232 */
233 public function getImportJob()
234 {
235 return $this->importJob;
236 }
237 /**
238 * @param string
239 */
240 public function setImportTime($importTime)
241 {
242 $this->importTime = $importTime;
243 }
244 /**
245 * @return string
246 */
247 public function getImportTime()
248 {
249 return $this->importTime;
250 }
251 /**
252 * @param string
253 */
254 public function setName($name)
255 {
256 $this->name = $name;
257 }
258 /**
259 * @return string
260 */
261 public function getName()
262 {
263 return $this->name;
264 }
265 /**
266 * @param string
267 */
268 public function setProtectionLevel($protectionLevel)
269 {
270 $this->protectionLevel = $protectionLevel;
271 }
272 /**
273 * @return string
274 */
275 public function getProtectionLevel()
276 {
277 return $this->protectionLevel;
278 }
279 /**
280 * @param bool
281 */
282 public function setReimportEligible($reimportEligible)
283 {
284 $this->reimportEligible = $reimportEligible;
285 }
286 /**
287 * @return bool
288 */
289 public function getReimportEligible()
290 {
291 return $this->reimportEligible;
292 }
293 /**
294 * @param string
295 */
296 public function setState($state)
297 {
298 $this->state = $state;
299 }
300 /**
301 * @return string
302 */
303 public function getState()
304 {
305 return $this->state;
306 }
307}
308
309// Adding a class alias for backwards compatibility with the previous class name.
310class_alias(CryptoKeyVersion::class, 'Google_Service_CloudKMS_CryptoKeyVersion');
Note: See TracBrowser for help on using the repository browser.