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\CertificateAuthorityService; 19 20class 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 string 65 */ 66 public $state; 67 protected $subordinateConfigType = SubordinateConfig::class; 68 protected $subordinateConfigDataType = ''; 69 /** 70 * @var string 71 */ 72 public $tier; 73 /** 74 * @var string 75 */ 76 public $type; 77 /** 78 * @var string 79 */ 80 public $updateTime; 81 82 /** 83 * @param AccessUrls 84 */ 85 public function setAccessUrls(AccessUrls $accessUrls) 86 { 87 $this->accessUrls = $accessUrls; 88 } 89 /** 90 * @return AccessUrls 91 */ 92 public function getAccessUrls() 93 { 94 return $this->accessUrls; 95 } 96 /** 97 * @param CertificateDescription[] 98 */ 99 public function setCaCertificateDescriptions($caCertificateDescriptions) 100 { 101 $this->caCertificateDescriptions = $caCertificateDescriptions; 102 } 103 /** 104 * @return CertificateDescription[] 105 */ 106 public function getCaCertificateDescriptions() 107 { 108 return $this->caCertificateDescriptions; 109 } 110 /** 111 * @param CertificateConfig 112 */ 113 public function setConfig(CertificateConfig $config) 114 { 115 $this->config = $config; 116 } 117 /** 118 * @return CertificateConfig 119 */ 120 public function getConfig() 121 { 122 return $this->config; 123 } 124 /** 125 * @param string 126 */ 127 public function setCreateTime($createTime) 128 { 129 $this->createTime = $createTime; 130 } 131 /** 132 * @return string 133 */ 134 public function getCreateTime() 135 { 136 return $this->createTime; 137 } 138 /** 139 * @param string 140 */ 141 public function setDeleteTime($deleteTime) 142 { 143 $this->deleteTime = $deleteTime; 144 } 145 /** 146 * @return string 147 */ 148 public function getDeleteTime() 149 { 150 return $this->deleteTime; 151 } 152 /** 153 * @param string 154 */ 155 public function setExpireTime($expireTime) 156 { 157 $this->expireTime = $expireTime; 158 } 159 /** 160 * @return string 161 */ 162 public function getExpireTime() 163 { 164 return $this->expireTime; 165 } 166 /** 167 * @param string 168 */ 169 public function setGcsBucket($gcsBucket) 170 { 171 $this->gcsBucket = $gcsBucket; 172 } 173 /** 174 * @return string 175 */ 176 public function getGcsBucket() 177 { 178 return $this->gcsBucket; 179 } 180 /** 181 * @param KeyVersionSpec 182 */ 183 public function setKeySpec(KeyVersionSpec $keySpec) 184 { 185 $this->keySpec = $keySpec; 186 } 187 /** 188 * @return KeyVersionSpec 189 */ 190 public function getKeySpec() 191 { 192 return $this->keySpec; 193 } 194 /** 195 * @param string[] 196 */ 197 public function setLabels($labels) 198 { 199 $this->labels = $labels; 200 } 201 /** 202 * @return string[] 203 */ 204 public function getLabels() 205 { 206 return $this->labels; 207 } 208 /** 209 * @param string 210 */ 211 public function setLifetime($lifetime) 212 { 213 $this->lifetime = $lifetime; 214 } 215 /** 216 * @return string 217 */ 218 public function getLifetime() 219 { 220 return $this->lifetime; 221 } 222 /** 223 * @param string 224 */ 225 public function setName($name) 226 { 227 $this->name = $name; 228 } 229 /** 230 * @return string 231 */ 232 public function getName() 233 { 234 return $this->name; 235 } 236 /** 237 * @param string[] 238 */ 239 public function setPemCaCertificates($pemCaCertificates) 240 { 241 $this->pemCaCertificates = $pemCaCertificates; 242 } 243 /** 244 * @return string[] 245 */ 246 public function getPemCaCertificates() 247 { 248 return $this->pemCaCertificates; 249 } 250 /** 251 * @param string 252 */ 253 public function setState($state) 254 { 255 $this->state = $state; 256 } 257 /** 258 * @return string 259 */ 260 public function getState() 261 { 262 return $this->state; 263 } 264 /** 265 * @param SubordinateConfig 266 */ 267 public function setSubordinateConfig(SubordinateConfig $subordinateConfig) 268 { 269 $this->subordinateConfig = $subordinateConfig; 270 } 271 /** 272 * @return SubordinateConfig 273 */ 274 public function getSubordinateConfig() 275 { 276 return $this->subordinateConfig; 277 } 278 /** 279 * @param string 280 */ 281 public function setTier($tier) 282 { 283 $this->tier = $tier; 284 } 285 /** 286 * @return string 287 */ 288 public function getTier() 289 { 290 return $this->tier; 291 } 292 /** 293 * @param string 294 */ 295 public function setType($type) 296 { 297 $this->type = $type; 298 } 299 /** 300 * @return string 301 */ 302 public function getType() 303 { 304 return $this->type; 305 } 306 /** 307 * @param string 308 */ 309 public function setUpdateTime($updateTime) 310 { 311 $this->updateTime = $updateTime; 312 } 313 /** 314 * @return string 315 */ 316 public function getUpdateTime() 317 { 318 return $this->updateTime; 319 } 320} 321 322// Adding a class alias for backwards compatibility with the previous class name. 323class_alias(CertificateAuthority::class, 'Google_Service_CertificateAuthorityService_CertificateAuthority'); 324