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\CertificateAuthorityService;
|
---|
19 |
|
---|
20 | class CertificateAuthority extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'pemCaCertificates';
|
---|
23 | protected $accessUrlsType = AccessUrls::class;
|
---|
24 | protected $accessUrlsDataType = '';
|
---|
25 | protected $caCertificateDescriptionsType = CertificateDescription::class;
|
---|
26 | protected $caCertificateDescriptionsDataType = 'array';
|
---|
27 | protected $configType = CertificateConfig::class;
|
---|
28 | protected $configDataType = '';
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $createTime;
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $deleteTime;
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $expireTime;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $gcsBucket;
|
---|
45 | protected $keySpecType = KeyVersionSpec::class;
|
---|
46 | protected $keySpecDataType = '';
|
---|
47 | /**
|
---|
48 | * @var string[]
|
---|
49 | */
|
---|
50 | public $labels;
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $lifetime;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $name;
|
---|
59 | /**
|
---|
60 | * @var string[]
|
---|
61 | */
|
---|
62 | public $pemCaCertificates;
|
---|
63 | /**
|
---|
64 | * @var bool
|
---|
65 | */
|
---|
66 | public $satisfiesPzi;
|
---|
67 | /**
|
---|
68 | * @var bool
|
---|
69 | */
|
---|
70 | public $satisfiesPzs;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $state;
|
---|
75 | protected $subordinateConfigType = SubordinateConfig::class;
|
---|
76 | protected $subordinateConfigDataType = '';
|
---|
77 | /**
|
---|
78 | * @var string
|
---|
79 | */
|
---|
80 | public $tier;
|
---|
81 | /**
|
---|
82 | * @var string
|
---|
83 | */
|
---|
84 | public $type;
|
---|
85 | /**
|
---|
86 | * @var string
|
---|
87 | */
|
---|
88 | public $updateTime;
|
---|
89 |
|
---|
90 | /**
|
---|
91 | * @param AccessUrls
|
---|
92 | */
|
---|
93 | public function setAccessUrls(AccessUrls $accessUrls)
|
---|
94 | {
|
---|
95 | $this->accessUrls = $accessUrls;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @return AccessUrls
|
---|
99 | */
|
---|
100 | public function getAccessUrls()
|
---|
101 | {
|
---|
102 | return $this->accessUrls;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @param CertificateDescription[]
|
---|
106 | */
|
---|
107 | public function setCaCertificateDescriptions($caCertificateDescriptions)
|
---|
108 | {
|
---|
109 | $this->caCertificateDescriptions = $caCertificateDescriptions;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return CertificateDescription[]
|
---|
113 | */
|
---|
114 | public function getCaCertificateDescriptions()
|
---|
115 | {
|
---|
116 | return $this->caCertificateDescriptions;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @param CertificateConfig
|
---|
120 | */
|
---|
121 | public function setConfig(CertificateConfig $config)
|
---|
122 | {
|
---|
123 | $this->config = $config;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return CertificateConfig
|
---|
127 | */
|
---|
128 | public function getConfig()
|
---|
129 | {
|
---|
130 | return $this->config;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param string
|
---|
134 | */
|
---|
135 | public function setCreateTime($createTime)
|
---|
136 | {
|
---|
137 | $this->createTime = $createTime;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return string
|
---|
141 | */
|
---|
142 | public function getCreateTime()
|
---|
143 | {
|
---|
144 | return $this->createTime;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param string
|
---|
148 | */
|
---|
149 | public function setDeleteTime($deleteTime)
|
---|
150 | {
|
---|
151 | $this->deleteTime = $deleteTime;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return string
|
---|
155 | */
|
---|
156 | public function getDeleteTime()
|
---|
157 | {
|
---|
158 | return $this->deleteTime;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param string
|
---|
162 | */
|
---|
163 | public function setExpireTime($expireTime)
|
---|
164 | {
|
---|
165 | $this->expireTime = $expireTime;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return string
|
---|
169 | */
|
---|
170 | public function getExpireTime()
|
---|
171 | {
|
---|
172 | return $this->expireTime;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @param string
|
---|
176 | */
|
---|
177 | public function setGcsBucket($gcsBucket)
|
---|
178 | {
|
---|
179 | $this->gcsBucket = $gcsBucket;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @return string
|
---|
183 | */
|
---|
184 | public function getGcsBucket()
|
---|
185 | {
|
---|
186 | return $this->gcsBucket;
|
---|
187 | }
|
---|
188 | /**
|
---|
189 | * @param KeyVersionSpec
|
---|
190 | */
|
---|
191 | public function setKeySpec(KeyVersionSpec $keySpec)
|
---|
192 | {
|
---|
193 | $this->keySpec = $keySpec;
|
---|
194 | }
|
---|
195 | /**
|
---|
196 | * @return KeyVersionSpec
|
---|
197 | */
|
---|
198 | public function getKeySpec()
|
---|
199 | {
|
---|
200 | return $this->keySpec;
|
---|
201 | }
|
---|
202 | /**
|
---|
203 | * @param string[]
|
---|
204 | */
|
---|
205 | public function setLabels($labels)
|
---|
206 | {
|
---|
207 | $this->labels = $labels;
|
---|
208 | }
|
---|
209 | /**
|
---|
210 | * @return string[]
|
---|
211 | */
|
---|
212 | public function getLabels()
|
---|
213 | {
|
---|
214 | return $this->labels;
|
---|
215 | }
|
---|
216 | /**
|
---|
217 | * @param string
|
---|
218 | */
|
---|
219 | public function setLifetime($lifetime)
|
---|
220 | {
|
---|
221 | $this->lifetime = $lifetime;
|
---|
222 | }
|
---|
223 | /**
|
---|
224 | * @return string
|
---|
225 | */
|
---|
226 | public function getLifetime()
|
---|
227 | {
|
---|
228 | return $this->lifetime;
|
---|
229 | }
|
---|
230 | /**
|
---|
231 | * @param string
|
---|
232 | */
|
---|
233 | public function setName($name)
|
---|
234 | {
|
---|
235 | $this->name = $name;
|
---|
236 | }
|
---|
237 | /**
|
---|
238 | * @return string
|
---|
239 | */
|
---|
240 | public function getName()
|
---|
241 | {
|
---|
242 | return $this->name;
|
---|
243 | }
|
---|
244 | /**
|
---|
245 | * @param string[]
|
---|
246 | */
|
---|
247 | public function setPemCaCertificates($pemCaCertificates)
|
---|
248 | {
|
---|
249 | $this->pemCaCertificates = $pemCaCertificates;
|
---|
250 | }
|
---|
251 | /**
|
---|
252 | * @return string[]
|
---|
253 | */
|
---|
254 | public function getPemCaCertificates()
|
---|
255 | {
|
---|
256 | return $this->pemCaCertificates;
|
---|
257 | }
|
---|
258 | /**
|
---|
259 | * @param bool
|
---|
260 | */
|
---|
261 | public function setSatisfiesPzi($satisfiesPzi)
|
---|
262 | {
|
---|
263 | $this->satisfiesPzi = $satisfiesPzi;
|
---|
264 | }
|
---|
265 | /**
|
---|
266 | * @return bool
|
---|
267 | */
|
---|
268 | public function getSatisfiesPzi()
|
---|
269 | {
|
---|
270 | return $this->satisfiesPzi;
|
---|
271 | }
|
---|
272 | /**
|
---|
273 | * @param bool
|
---|
274 | */
|
---|
275 | public function setSatisfiesPzs($satisfiesPzs)
|
---|
276 | {
|
---|
277 | $this->satisfiesPzs = $satisfiesPzs;
|
---|
278 | }
|
---|
279 | /**
|
---|
280 | * @return bool
|
---|
281 | */
|
---|
282 | public function getSatisfiesPzs()
|
---|
283 | {
|
---|
284 | return $this->satisfiesPzs;
|
---|
285 | }
|
---|
286 | /**
|
---|
287 | * @param string
|
---|
288 | */
|
---|
289 | public function setState($state)
|
---|
290 | {
|
---|
291 | $this->state = $state;
|
---|
292 | }
|
---|
293 | /**
|
---|
294 | * @return string
|
---|
295 | */
|
---|
296 | public function getState()
|
---|
297 | {
|
---|
298 | return $this->state;
|
---|
299 | }
|
---|
300 | /**
|
---|
301 | * @param SubordinateConfig
|
---|
302 | */
|
---|
303 | public function setSubordinateConfig(SubordinateConfig $subordinateConfig)
|
---|
304 | {
|
---|
305 | $this->subordinateConfig = $subordinateConfig;
|
---|
306 | }
|
---|
307 | /**
|
---|
308 | * @return SubordinateConfig
|
---|
309 | */
|
---|
310 | public function getSubordinateConfig()
|
---|
311 | {
|
---|
312 | return $this->subordinateConfig;
|
---|
313 | }
|
---|
314 | /**
|
---|
315 | * @param string
|
---|
316 | */
|
---|
317 | public function setTier($tier)
|
---|
318 | {
|
---|
319 | $this->tier = $tier;
|
---|
320 | }
|
---|
321 | /**
|
---|
322 | * @return string
|
---|
323 | */
|
---|
324 | public function getTier()
|
---|
325 | {
|
---|
326 | return $this->tier;
|
---|
327 | }
|
---|
328 | /**
|
---|
329 | * @param string
|
---|
330 | */
|
---|
331 | public function setType($type)
|
---|
332 | {
|
---|
333 | $this->type = $type;
|
---|
334 | }
|
---|
335 | /**
|
---|
336 | * @return string
|
---|
337 | */
|
---|
338 | public function getType()
|
---|
339 | {
|
---|
340 | return $this->type;
|
---|
341 | }
|
---|
342 | /**
|
---|
343 | * @param string
|
---|
344 | */
|
---|
345 | public function setUpdateTime($updateTime)
|
---|
346 | {
|
---|
347 | $this->updateTime = $updateTime;
|
---|
348 | }
|
---|
349 | /**
|
---|
350 | * @return string
|
---|
351 | */
|
---|
352 | public function getUpdateTime()
|
---|
353 | {
|
---|
354 | return $this->updateTime;
|
---|
355 | }
|
---|
356 | }
|
---|
357 |
|
---|
358 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
359 | class_alias(CertificateAuthority::class, 'Google_Service_CertificateAuthorityService_CertificateAuthority');
|
---|