| 1 | package Google::Cloud::Security::Privateca::V1::Resources::Types; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use Type::Library -base; | ||
| 7 | use Type::Utils -all; | ||
| 8 | use Types::Standard -types; | ||
| 9 | |||
| 10 | declare 'AttributeType', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'RevocationReason', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'SubjectRequestMode', | ||
| 17 | as (Int | Str); | ||
| 18 | |||
| 19 | declare 'CertificateAuthority', | ||
| 20 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority']; | ||
| 21 | |||
| 22 | coerce 'CertificateAuthority', | ||
| 23 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority'->new($_) }; | ||
| 24 | |||
| 25 | declare 'RepeatedCertificateAuthority', | ||
| 26 | as ArrayRef[CertificateAuthority()]; | ||
| 27 | |||
| 28 | coerce 'RepeatedCertificateAuthority', | ||
| 29 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority'->new($_) } @$_ ] }; | ||
| 30 | |||
| 31 | declare 'MapStringCertificateAuthority', | ||
| 32 | as HashRef[CertificateAuthority()]; | ||
| 33 | |||
| 34 | declare 'Type', | ||
| 35 | as (Int | Str); | ||
| 36 | |||
| 37 | declare 'State', | ||
| 38 | as (Int | Str); | ||
| 39 | |||
| 40 | declare 'SignHashAlgorithm', | ||
| 41 | as (Int | Str); | ||
| 42 | |||
| 43 | declare 'AccessUrls', | ||
| 44 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority::AccessUrls']; | ||
| 45 | |||
| 46 | coerce 'AccessUrls', | ||
| 47 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority::AccessUrls'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedAccessUrls', | ||
| 50 | as ArrayRef[AccessUrls()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedAccessUrls', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority::AccessUrls'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringAccessUrls', | ||
| 56 | as HashRef[AccessUrls()]; | ||
| 57 | |||
| 58 | declare 'KeyVersionSpec', | ||
| 59 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority::KeyVersionSpec']; | ||
| 60 | |||
| 61 | coerce 'KeyVersionSpec', | ||
| 62 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority::KeyVersionSpec'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedKeyVersionSpec', | ||
| 65 | as ArrayRef[KeyVersionSpec()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedKeyVersionSpec', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority::KeyVersionSpec'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringKeyVersionSpec', | ||
| 71 | as HashRef[KeyVersionSpec()]; | ||
| 72 | |||
| 73 | declare 'UserDefinedAccessUrls', | ||
| 74 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority::UserDefinedAccessUrls']; | ||
| 75 | |||
| 76 | coerce 'UserDefinedAccessUrls', | ||
| 77 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority::UserDefinedAccessUrls'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedUserDefinedAccessUrls', | ||
| 80 | as ArrayRef[UserDefinedAccessUrls()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedUserDefinedAccessUrls', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority::UserDefinedAccessUrls'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringUserDefinedAccessUrls', | ||
| 86 | as HashRef[UserDefinedAccessUrls()]; | ||
| 87 | |||
| 88 | declare 'LabelsEntry', | ||
| 89 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority::LabelsEntry']; | ||
| 90 | |||
| 91 | coerce 'LabelsEntry', | ||
| 92 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority::LabelsEntry'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedLabelsEntry', | ||
| 95 | as ArrayRef[LabelsEntry()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedLabelsEntry', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority::LabelsEntry'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringLabelsEntry', | ||
| 101 | as HashRef[LabelsEntry()]; | ||
| 102 | |||
| 103 | declare 'CaPool', | ||
| 104 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CaPool']; | ||
| 105 | |||
| 106 | coerce 'CaPool', | ||
| 107 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedCaPool', | ||
| 110 | as ArrayRef[CaPool()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedCaPool', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringCaPool', | ||
| 116 | as HashRef[CaPool()]; | ||
| 117 | |||
| 118 | declare 'Tier', | ||
| 119 | as (Int | Str); | ||
| 120 | |||
| 121 | declare 'PublishingOptions', | ||
| 122 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CaPool::PublishingOptions']; | ||
| 123 | |||
| 124 | coerce 'PublishingOptions', | ||
| 125 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool::PublishingOptions'->new($_) }; | ||
| 126 | |||
| 127 | declare 'RepeatedPublishingOptions', | ||
| 128 | as ArrayRef[PublishingOptions()]; | ||
| 129 | |||
| 130 | coerce 'RepeatedPublishingOptions', | ||
| 131 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool::PublishingOptions'->new($_) } @$_ ] }; | ||
| 132 | |||
| 133 | declare 'MapStringPublishingOptions', | ||
| 134 | as HashRef[PublishingOptions()]; | ||
| 135 | |||
| 136 | declare 'EncodingFormat', | ||
| 137 | as (Int | Str); | ||
| 138 | |||
| 139 | declare 'IssuancePolicy', | ||
| 140 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy']; | ||
| 141 | |||
| 142 | coerce 'IssuancePolicy', | ||
| 143 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedIssuancePolicy', | ||
| 146 | as ArrayRef[IssuancePolicy()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedIssuancePolicy', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringIssuancePolicy', | ||
| 152 | as HashRef[IssuancePolicy()]; | ||
| 153 | |||
| 154 | declare 'AllowedKeyType', | ||
| 155 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy::AllowedKeyType']; | ||
| 156 | |||
| 157 | coerce 'AllowedKeyType', | ||
| 158 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy::AllowedKeyType'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedAllowedKeyType', | ||
| 161 | as ArrayRef[AllowedKeyType()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedAllowedKeyType', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy::AllowedKeyType'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringAllowedKeyType', | ||
| 167 | as HashRef[AllowedKeyType()]; | ||
| 168 | |||
| 169 | declare 'RsaKeyType', | ||
| 170 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy::AllowedKeyType::RsaKeyType']; | ||
| 171 | |||
| 172 | coerce 'RsaKeyType', | ||
| 173 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy::AllowedKeyType::RsaKeyType'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedRsaKeyType', | ||
| 176 | as ArrayRef[RsaKeyType()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedRsaKeyType', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy::AllowedKeyType::RsaKeyType'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringRsaKeyType', | ||
| 182 | as HashRef[RsaKeyType()]; | ||
| 183 | |||
| 184 | declare 'EcKeyType', | ||
| 185 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy::AllowedKeyType::EcKeyType']; | ||
| 186 | |||
| 187 | coerce 'EcKeyType', | ||
| 188 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy::AllowedKeyType::EcKeyType'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedEcKeyType', | ||
| 191 | as ArrayRef[EcKeyType()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedEcKeyType', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy::AllowedKeyType::EcKeyType'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringEcKeyType', | ||
| 197 | as HashRef[EcKeyType()]; | ||
| 198 | |||
| 199 | declare 'EcSignatureAlgorithm', | ||
| 200 | as (Int | Str); | ||
| 201 | |||
| 202 | declare 'IssuanceModes', | ||
| 203 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy::IssuanceModes']; | ||
| 204 | |||
| 205 | coerce 'IssuanceModes', | ||
| 206 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy::IssuanceModes'->new($_) }; | ||
| 207 | |||
| 208 | declare 'RepeatedIssuanceModes', | ||
| 209 | as ArrayRef[IssuanceModes()]; | ||
| 210 | |||
| 211 | coerce 'RepeatedIssuanceModes', | ||
| 212 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool::IssuancePolicy::IssuanceModes'->new($_) } @$_ ] }; | ||
| 213 | |||
| 214 | declare 'MapStringIssuanceModes', | ||
| 215 | as HashRef[IssuanceModes()]; | ||
| 216 | |||
| 217 | declare 'LabelsEntry', | ||
| 218 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CaPool::LabelsEntry']; | ||
| 219 | |||
| 220 | coerce 'LabelsEntry', | ||
| 221 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool::LabelsEntry'->new($_) }; | ||
| 222 | |||
| 223 | declare 'RepeatedLabelsEntry', | ||
| 224 | as ArrayRef[LabelsEntry()]; | ||
| 225 | |||
| 226 | coerce 'RepeatedLabelsEntry', | ||
| 227 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CaPool::LabelsEntry'->new($_) } @$_ ] }; | ||
| 228 | |||
| 229 | declare 'MapStringLabelsEntry', | ||
| 230 | as HashRef[LabelsEntry()]; | ||
| 231 | |||
| 232 | declare 'EncryptionSpec', | ||
| 233 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::EncryptionSpec']; | ||
| 234 | |||
| 235 | coerce 'EncryptionSpec', | ||
| 236 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::EncryptionSpec'->new($_) }; | ||
| 237 | |||
| 238 | declare 'RepeatedEncryptionSpec', | ||
| 239 | as ArrayRef[EncryptionSpec()]; | ||
| 240 | |||
| 241 | coerce 'RepeatedEncryptionSpec', | ||
| 242 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::EncryptionSpec'->new($_) } @$_ ] }; | ||
| 243 | |||
| 244 | declare 'MapStringEncryptionSpec', | ||
| 245 | as HashRef[EncryptionSpec()]; | ||
| 246 | |||
| 247 | declare 'CertificateRevocationList', | ||
| 248 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateRevocationList']; | ||
| 249 | |||
| 250 | coerce 'CertificateRevocationList', | ||
| 251 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateRevocationList'->new($_) }; | ||
| 252 | |||
| 253 | declare 'RepeatedCertificateRevocationList', | ||
| 254 | as ArrayRef[CertificateRevocationList()]; | ||
| 255 | |||
| 256 | coerce 'RepeatedCertificateRevocationList', | ||
| 257 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateRevocationList'->new($_) } @$_ ] }; | ||
| 258 | |||
| 259 | declare 'MapStringCertificateRevocationList', | ||
| 260 | as HashRef[CertificateRevocationList()]; | ||
| 261 | |||
| 262 | declare 'State', | ||
| 263 | as (Int | Str); | ||
| 264 | |||
| 265 | declare 'RevokedCertificate', | ||
| 266 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateRevocationList::RevokedCertificate']; | ||
| 267 | |||
| 268 | coerce 'RevokedCertificate', | ||
| 269 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateRevocationList::RevokedCertificate'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedRevokedCertificate', | ||
| 272 | as ArrayRef[RevokedCertificate()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedRevokedCertificate', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateRevocationList::RevokedCertificate'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringRevokedCertificate', | ||
| 278 | as HashRef[RevokedCertificate()]; | ||
| 279 | |||
| 280 | declare 'LabelsEntry', | ||
| 281 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateRevocationList::LabelsEntry']; | ||
| 282 | |||
| 283 | coerce 'LabelsEntry', | ||
| 284 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateRevocationList::LabelsEntry'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedLabelsEntry', | ||
| 287 | as ArrayRef[LabelsEntry()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedLabelsEntry', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateRevocationList::LabelsEntry'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringLabelsEntry', | ||
| 293 | as HashRef[LabelsEntry()]; | ||
| 294 | |||
| 295 | declare 'Certificate', | ||
| 296 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::Certificate']; | ||
| 297 | |||
| 298 | coerce 'Certificate', | ||
| 299 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::Certificate'->new($_) }; | ||
| 300 | |||
| 301 | declare 'RepeatedCertificate', | ||
| 302 | as ArrayRef[Certificate()]; | ||
| 303 | |||
| 304 | coerce 'RepeatedCertificate', | ||
| 305 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::Certificate'->new($_) } @$_ ] }; | ||
| 306 | |||
| 307 | declare 'MapStringCertificate', | ||
| 308 | as HashRef[Certificate()]; | ||
| 309 | |||
| 310 | declare 'RevocationDetails', | ||
| 311 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::Certificate::RevocationDetails']; | ||
| 312 | |||
| 313 | coerce 'RevocationDetails', | ||
| 314 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::Certificate::RevocationDetails'->new($_) }; | ||
| 315 | |||
| 316 | declare 'RepeatedRevocationDetails', | ||
| 317 | as ArrayRef[RevocationDetails()]; | ||
| 318 | |||
| 319 | coerce 'RepeatedRevocationDetails', | ||
| 320 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::Certificate::RevocationDetails'->new($_) } @$_ ] }; | ||
| 321 | |||
| 322 | declare 'MapStringRevocationDetails', | ||
| 323 | as HashRef[RevocationDetails()]; | ||
| 324 | |||
| 325 | declare 'LabelsEntry', | ||
| 326 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::Certificate::LabelsEntry']; | ||
| 327 | |||
| 328 | coerce 'LabelsEntry', | ||
| 329 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::Certificate::LabelsEntry'->new($_) }; | ||
| 330 | |||
| 331 | declare 'RepeatedLabelsEntry', | ||
| 332 | as ArrayRef[LabelsEntry()]; | ||
| 333 | |||
| 334 | coerce 'RepeatedLabelsEntry', | ||
| 335 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::Certificate::LabelsEntry'->new($_) } @$_ ] }; | ||
| 336 | |||
| 337 | declare 'MapStringLabelsEntry', | ||
| 338 | as HashRef[LabelsEntry()]; | ||
| 339 | |||
| 340 | declare 'CertificateTemplate', | ||
| 341 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateTemplate']; | ||
| 342 | |||
| 343 | coerce 'CertificateTemplate', | ||
| 344 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateTemplate'->new($_) }; | ||
| 345 | |||
| 346 | declare 'RepeatedCertificateTemplate', | ||
| 347 | as ArrayRef[CertificateTemplate()]; | ||
| 348 | |||
| 349 | coerce 'RepeatedCertificateTemplate', | ||
| 350 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateTemplate'->new($_) } @$_ ] }; | ||
| 351 | |||
| 352 | declare 'MapStringCertificateTemplate', | ||
| 353 | as HashRef[CertificateTemplate()]; | ||
| 354 | |||
| 355 | declare 'LabelsEntry', | ||
| 356 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateTemplate::LabelsEntry']; | ||
| 357 | |||
| 358 | coerce 'LabelsEntry', | ||
| 359 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateTemplate::LabelsEntry'->new($_) }; | ||
| 360 | |||
| 361 | declare 'RepeatedLabelsEntry', | ||
| 362 | as ArrayRef[LabelsEntry()]; | ||
| 363 | |||
| 364 | coerce 'RepeatedLabelsEntry', | ||
| 365 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateTemplate::LabelsEntry'->new($_) } @$_ ] }; | ||
| 366 | |||
| 367 | declare 'MapStringLabelsEntry', | ||
| 368 | as HashRef[LabelsEntry()]; | ||
| 369 | |||
| 370 | declare 'X509Parameters', | ||
| 371 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::X509Parameters']; | ||
| 372 | |||
| 373 | coerce 'X509Parameters', | ||
| 374 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::X509Parameters'->new($_) }; | ||
| 375 | |||
| 376 | declare 'RepeatedX509Parameters', | ||
| 377 | as ArrayRef[X509Parameters()]; | ||
| 378 | |||
| 379 | coerce 'RepeatedX509Parameters', | ||
| 380 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::X509Parameters'->new($_) } @$_ ] }; | ||
| 381 | |||
| 382 | declare 'MapStringX509Parameters', | ||
| 383 | as HashRef[X509Parameters()]; | ||
| 384 | |||
| 385 | declare 'CaOptions', | ||
| 386 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::X509Parameters::CaOptions']; | ||
| 387 | |||
| 388 | coerce 'CaOptions', | ||
| 389 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::X509Parameters::CaOptions'->new($_) }; | ||
| 390 | |||
| 391 | declare 'RepeatedCaOptions', | ||
| 392 | as ArrayRef[CaOptions()]; | ||
| 393 | |||
| 394 | coerce 'RepeatedCaOptions', | ||
| 395 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::X509Parameters::CaOptions'->new($_) } @$_ ] }; | ||
| 396 | |||
| 397 | declare 'MapStringCaOptions', | ||
| 398 | as HashRef[CaOptions()]; | ||
| 399 | |||
| 400 | declare 'NameConstraints', | ||
| 401 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::X509Parameters::NameConstraints']; | ||
| 402 | |||
| 403 | coerce 'NameConstraints', | ||
| 404 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::X509Parameters::NameConstraints'->new($_) }; | ||
| 405 | |||
| 406 | declare 'RepeatedNameConstraints', | ||
| 407 | as ArrayRef[NameConstraints()]; | ||
| 408 | |||
| 409 | coerce 'RepeatedNameConstraints', | ||
| 410 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::X509Parameters::NameConstraints'->new($_) } @$_ ] }; | ||
| 411 | |||
| 412 | declare 'MapStringNameConstraints', | ||
| 413 | as HashRef[NameConstraints()]; | ||
| 414 | |||
| 415 | declare 'SubordinateConfig', | ||
| 416 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::SubordinateConfig']; | ||
| 417 | |||
| 418 | coerce 'SubordinateConfig', | ||
| 419 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::SubordinateConfig'->new($_) }; | ||
| 420 | |||
| 421 | declare 'RepeatedSubordinateConfig', | ||
| 422 | as ArrayRef[SubordinateConfig()]; | ||
| 423 | |||
| 424 | coerce 'RepeatedSubordinateConfig', | ||
| 425 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::SubordinateConfig'->new($_) } @$_ ] }; | ||
| 426 | |||
| 427 | declare 'MapStringSubordinateConfig', | ||
| 428 | as HashRef[SubordinateConfig()]; | ||
| 429 | |||
| 430 | declare 'SubordinateConfigChain', | ||
| 431 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::SubordinateConfig::SubordinateConfigChain']; | ||
| 432 | |||
| 433 | coerce 'SubordinateConfigChain', | ||
| 434 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::SubordinateConfig::SubordinateConfigChain'->new($_) }; | ||
| 435 | |||
| 436 | declare 'RepeatedSubordinateConfigChain', | ||
| 437 | as ArrayRef[SubordinateConfigChain()]; | ||
| 438 | |||
| 439 | coerce 'RepeatedSubordinateConfigChain', | ||
| 440 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::SubordinateConfig::SubordinateConfigChain'->new($_) } @$_ ] }; | ||
| 441 | |||
| 442 | declare 'MapStringSubordinateConfigChain', | ||
| 443 | as HashRef[SubordinateConfigChain()]; | ||
| 444 | |||
| 445 | declare 'PublicKey', | ||
| 446 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::PublicKey']; | ||
| 447 | |||
| 448 | coerce 'PublicKey', | ||
| 449 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::PublicKey'->new($_) }; | ||
| 450 | |||
| 451 | declare 'RepeatedPublicKey', | ||
| 452 | as ArrayRef[PublicKey()]; | ||
| 453 | |||
| 454 | coerce 'RepeatedPublicKey', | ||
| 455 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::PublicKey'->new($_) } @$_ ] }; | ||
| 456 | |||
| 457 | declare 'MapStringPublicKey', | ||
| 458 | as HashRef[PublicKey()]; | ||
| 459 | |||
| 460 | declare 'KeyFormat', | ||
| 461 | as (Int | Str); | ||
| 462 | |||
| 463 | declare 'CertificateConfig', | ||
| 464 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateConfig']; | ||
| 465 | |||
| 466 | coerce 'CertificateConfig', | ||
| 467 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateConfig'->new($_) }; | ||
| 468 | |||
| 469 | declare 'RepeatedCertificateConfig', | ||
| 470 | as ArrayRef[CertificateConfig()]; | ||
| 471 | |||
| 472 | coerce 'RepeatedCertificateConfig', | ||
| 473 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateConfig'->new($_) } @$_ ] }; | ||
| 474 | |||
| 475 | declare 'MapStringCertificateConfig', | ||
| 476 | as HashRef[CertificateConfig()]; | ||
| 477 | |||
| 478 | declare 'SubjectConfig', | ||
| 479 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateConfig::SubjectConfig']; | ||
| 480 | |||
| 481 | coerce 'SubjectConfig', | ||
| 482 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateConfig::SubjectConfig'->new($_) }; | ||
| 483 | |||
| 484 | declare 'RepeatedSubjectConfig', | ||
| 485 | as ArrayRef[SubjectConfig()]; | ||
| 486 | |||
| 487 | coerce 'RepeatedSubjectConfig', | ||
| 488 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateConfig::SubjectConfig'->new($_) } @$_ ] }; | ||
| 489 | |||
| 490 | declare 'MapStringSubjectConfig', | ||
| 491 | as HashRef[SubjectConfig()]; | ||
| 492 | |||
| 493 | declare 'KeyId', | ||
| 494 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateConfig::KeyId']; | ||
| 495 | |||
| 496 | coerce 'KeyId', | ||
| 497 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateConfig::KeyId'->new($_) }; | ||
| 498 | |||
| 499 | declare 'RepeatedKeyId', | ||
| 500 | as ArrayRef[KeyId()]; | ||
| 501 | |||
| 502 | coerce 'RepeatedKeyId', | ||
| 503 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateConfig::KeyId'->new($_) } @$_ ] }; | ||
| 504 | |||
| 505 | declare 'MapStringKeyId', | ||
| 506 | as HashRef[KeyId()]; | ||
| 507 | |||
| 508 | declare 'CertificateDescription', | ||
| 509 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateDescription']; | ||
| 510 | |||
| 511 | coerce 'CertificateDescription', | ||
| 512 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateDescription'->new($_) }; | ||
| 513 | |||
| 514 | declare 'RepeatedCertificateDescription', | ||
| 515 | as ArrayRef[CertificateDescription()]; | ||
| 516 | |||
| 517 | coerce 'RepeatedCertificateDescription', | ||
| 518 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateDescription'->new($_) } @$_ ] }; | ||
| 519 | |||
| 520 | declare 'MapStringCertificateDescription', | ||
| 521 | as HashRef[CertificateDescription()]; | ||
| 522 | |||
| 523 | declare 'SubjectDescription', | ||
| 524 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateDescription::SubjectDescription']; | ||
| 525 | |||
| 526 | coerce 'SubjectDescription', | ||
| 527 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateDescription::SubjectDescription'->new($_) }; | ||
| 528 | |||
| 529 | declare 'RepeatedSubjectDescription', | ||
| 530 | as ArrayRef[SubjectDescription()]; | ||
| 531 | |||
| 532 | coerce 'RepeatedSubjectDescription', | ||
| 533 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateDescription::SubjectDescription'->new($_) } @$_ ] }; | ||
| 534 | |||
| 535 | declare 'MapStringSubjectDescription', | ||
| 536 | as HashRef[SubjectDescription()]; | ||
| 537 | |||
| 538 | declare 'KeyId', | ||
| 539 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateDescription::KeyId']; | ||
| 540 | |||
| 541 | coerce 'KeyId', | ||
| 542 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateDescription::KeyId'->new($_) }; | ||
| 543 | |||
| 544 | declare 'RepeatedKeyId', | ||
| 545 | as ArrayRef[KeyId()]; | ||
| 546 | |||
| 547 | coerce 'RepeatedKeyId', | ||
| 548 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateDescription::KeyId'->new($_) } @$_ ] }; | ||
| 549 | |||
| 550 | declare 'MapStringKeyId', | ||
| 551 | as HashRef[KeyId()]; | ||
| 552 | |||
| 553 | declare 'CertificateFingerprint', | ||
| 554 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateDescription::CertificateFingerprint']; | ||
| 555 | |||
| 556 | coerce 'CertificateFingerprint', | ||
| 557 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateDescription::CertificateFingerprint'->new($_) }; | ||
| 558 | |||
| 559 | declare 'RepeatedCertificateFingerprint', | ||
| 560 | as ArrayRef[CertificateFingerprint()]; | ||
| 561 | |||
| 562 | coerce 'RepeatedCertificateFingerprint', | ||
| 563 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateDescription::CertificateFingerprint'->new($_) } @$_ ] }; | ||
| 564 | |||
| 565 | declare 'MapStringCertificateFingerprint', | ||
| 566 | as HashRef[CertificateFingerprint()]; | ||
| 567 | |||
| 568 | declare 'ObjectId', | ||
| 569 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::ObjectId']; | ||
| 570 | |||
| 571 | coerce 'ObjectId', | ||
| 572 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::ObjectId'->new($_) }; | ||
| 573 | |||
| 574 | declare 'RepeatedObjectId', | ||
| 575 | as ArrayRef[ObjectId()]; | ||
| 576 | |||
| 577 | coerce 'RepeatedObjectId', | ||
| 578 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::ObjectId'->new($_) } @$_ ] }; | ||
| 579 | |||
| 580 | declare 'MapStringObjectId', | ||
| 581 | as HashRef[ObjectId()]; | ||
| 582 | |||
| 583 | declare 'X509Extension', | ||
| 584 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::X509Extension']; | ||
| 585 | |||
| 586 | coerce 'X509Extension', | ||
| 587 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::X509Extension'->new($_) }; | ||
| 588 | |||
| 589 | declare 'RepeatedX509Extension', | ||
| 590 | as ArrayRef[X509Extension()]; | ||
| 591 | |||
| 592 | coerce 'RepeatedX509Extension', | ||
| 593 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::X509Extension'->new($_) } @$_ ] }; | ||
| 594 | |||
| 595 | declare 'MapStringX509Extension', | ||
| 596 | as HashRef[X509Extension()]; | ||
| 597 | |||
| 598 | declare 'KeyUsage', | ||
| 599 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::KeyUsage']; | ||
| 600 | |||
| 601 | coerce 'KeyUsage', | ||
| 602 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::KeyUsage'->new($_) }; | ||
| 603 | |||
| 604 | declare 'RepeatedKeyUsage', | ||
| 605 | as ArrayRef[KeyUsage()]; | ||
| 606 | |||
| 607 | coerce 'RepeatedKeyUsage', | ||
| 608 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::KeyUsage'->new($_) } @$_ ] }; | ||
| 609 | |||
| 610 | declare 'MapStringKeyUsage', | ||
| 611 | as HashRef[KeyUsage()]; | ||
| 612 | |||
| 613 | declare 'KeyUsageOptions', | ||
| 614 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::KeyUsage::KeyUsageOptions']; | ||
| 615 | |||
| 616 | coerce 'KeyUsageOptions', | ||
| 617 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::KeyUsage::KeyUsageOptions'->new($_) }; | ||
| 618 | |||
| 619 | declare 'RepeatedKeyUsageOptions', | ||
| 620 | as ArrayRef[KeyUsageOptions()]; | ||
| 621 | |||
| 622 | coerce 'RepeatedKeyUsageOptions', | ||
| 623 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::KeyUsage::KeyUsageOptions'->new($_) } @$_ ] }; | ||
| 624 | |||
| 625 | declare 'MapStringKeyUsageOptions', | ||
| 626 | as HashRef[KeyUsageOptions()]; | ||
| 627 | |||
| 628 | declare 'ExtendedKeyUsageOptions', | ||
| 629 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::KeyUsage::ExtendedKeyUsageOptions']; | ||
| 630 | |||
| 631 | coerce 'ExtendedKeyUsageOptions', | ||
| 632 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::KeyUsage::ExtendedKeyUsageOptions'->new($_) }; | ||
| 633 | |||
| 634 | declare 'RepeatedExtendedKeyUsageOptions', | ||
| 635 | as ArrayRef[ExtendedKeyUsageOptions()]; | ||
| 636 | |||
| 637 | coerce 'RepeatedExtendedKeyUsageOptions', | ||
| 638 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::KeyUsage::ExtendedKeyUsageOptions'->new($_) } @$_ ] }; | ||
| 639 | |||
| 640 | declare 'MapStringExtendedKeyUsageOptions', | ||
| 641 | as HashRef[ExtendedKeyUsageOptions()]; | ||
| 642 | |||
| 643 | declare 'AttributeTypeAndValue', | ||
| 644 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::AttributeTypeAndValue']; | ||
| 645 | |||
| 646 | coerce 'AttributeTypeAndValue', | ||
| 647 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::AttributeTypeAndValue'->new($_) }; | ||
| 648 | |||
| 649 | declare 'RepeatedAttributeTypeAndValue', | ||
| 650 | as ArrayRef[AttributeTypeAndValue()]; | ||
| 651 | |||
| 652 | coerce 'RepeatedAttributeTypeAndValue', | ||
| 653 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::AttributeTypeAndValue'->new($_) } @$_ ] }; | ||
| 654 | |||
| 655 | declare 'MapStringAttributeTypeAndValue', | ||
| 656 | as HashRef[AttributeTypeAndValue()]; | ||
| 657 | |||
| 658 | declare 'RelativeDistinguishedName', | ||
| 659 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::RelativeDistinguishedName']; | ||
| 660 | |||
| 661 | coerce 'RelativeDistinguishedName', | ||
| 662 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::RelativeDistinguishedName'->new($_) }; | ||
| 663 | |||
| 664 | declare 'RepeatedRelativeDistinguishedName', | ||
| 665 | as ArrayRef[RelativeDistinguishedName()]; | ||
| 666 | |||
| 667 | coerce 'RepeatedRelativeDistinguishedName', | ||
| 668 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::RelativeDistinguishedName'->new($_) } @$_ ] }; | ||
| 669 | |||
| 670 | declare 'MapStringRelativeDistinguishedName', | ||
| 671 | as HashRef[RelativeDistinguishedName()]; | ||
| 672 | |||
| 673 | declare 'Subject', | ||
| 674 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::Subject']; | ||
| 675 | |||
| 676 | coerce 'Subject', | ||
| 677 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::Subject'->new($_) }; | ||
| 678 | |||
| 679 | declare 'RepeatedSubject', | ||
| 680 | as ArrayRef[Subject()]; | ||
| 681 | |||
| 682 | coerce 'RepeatedSubject', | ||
| 683 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::Subject'->new($_) } @$_ ] }; | ||
| 684 | |||
| 685 | declare 'MapStringSubject', | ||
| 686 | as HashRef[Subject()]; | ||
| 687 | |||
| 688 | declare 'SubjectAltNames', | ||
| 689 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::SubjectAltNames']; | ||
| 690 | |||
| 691 | coerce 'SubjectAltNames', | ||
| 692 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::SubjectAltNames'->new($_) }; | ||
| 693 | |||
| 694 | declare 'RepeatedSubjectAltNames', | ||
| 695 | as ArrayRef[SubjectAltNames()]; | ||
| 696 | |||
| 697 | coerce 'RepeatedSubjectAltNames', | ||
| 698 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::SubjectAltNames'->new($_) } @$_ ] }; | ||
| 699 | |||
| 700 | declare 'MapStringSubjectAltNames', | ||
| 701 | as HashRef[SubjectAltNames()]; | ||
| 702 | |||
| 703 | declare 'CertificateIdentityConstraints', | ||
| 704 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateIdentityConstraints']; | ||
| 705 | |||
| 706 | coerce 'CertificateIdentityConstraints', | ||
| 707 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateIdentityConstraints'->new($_) }; | ||
| 708 | |||
| 709 | declare 'RepeatedCertificateIdentityConstraints', | ||
| 710 | as ArrayRef[CertificateIdentityConstraints()]; | ||
| 711 | |||
| 712 | coerce 'RepeatedCertificateIdentityConstraints', | ||
| 713 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateIdentityConstraints'->new($_) } @$_ ] }; | ||
| 714 | |||
| 715 | declare 'MapStringCertificateIdentityConstraints', | ||
| 716 | as HashRef[CertificateIdentityConstraints()]; | ||
| 717 | |||
| 718 | declare 'CertificateExtensionConstraints', | ||
| 719 | as InstanceOf['Google::Cloud::Security::Privateca::V1::Resources::CertificateExtensionConstraints']; | ||
| 720 | |||
| 721 | coerce 'CertificateExtensionConstraints', | ||
| 722 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateExtensionConstraints'->new($_) }; | ||
| 723 | |||
| 724 | declare 'RepeatedCertificateExtensionConstraints', | ||
| 725 | as ArrayRef[CertificateExtensionConstraints()]; | ||
| 726 | |||
| 727 | coerce 'RepeatedCertificateExtensionConstraints', | ||
| 728 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1::Resources::CertificateExtensionConstraints'->new($_) } @$_ ] }; | ||
| 729 | |||
| 730 | declare 'MapStringCertificateExtensionConstraints', | ||
| 731 | as HashRef[CertificateExtensionConstraints()]; | ||
| 732 | |||
| 733 | declare 'KnownCertificateExtension', | ||
| 734 | as (Int | Str); | ||
| 735 | |||
| 736 | 1; | ||
| 737 | |||
| 738 | __END__ |