| 1 | package Google::Cloud::Security::Privateca::V1beta1::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 'RevocationReason', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'CertificateAuthority', | ||
| 14 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority']; | ||
| 15 | |||
| 16 | coerce 'CertificateAuthority', | ||
| 17 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedCertificateAuthority', | ||
| 20 | as ArrayRef[CertificateAuthority()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedCertificateAuthority', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringCertificateAuthority', | ||
| 26 | as HashRef[CertificateAuthority()]; | ||
| 27 | |||
| 28 | declare 'Type', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'Tier', | ||
| 32 | as (Int | Str); | ||
| 33 | |||
| 34 | declare 'State', | ||
| 35 | as (Int | Str); | ||
| 36 | |||
| 37 | declare 'SignHashAlgorithm', | ||
| 38 | as (Int | Str); | ||
| 39 | |||
| 40 | declare 'IssuingOptions', | ||
| 41 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::IssuingOptions']; | ||
| 42 | |||
| 43 | coerce 'IssuingOptions', | ||
| 44 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::IssuingOptions'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedIssuingOptions', | ||
| 47 | as ArrayRef[IssuingOptions()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedIssuingOptions', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::IssuingOptions'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringIssuingOptions', | ||
| 53 | as HashRef[IssuingOptions()]; | ||
| 54 | |||
| 55 | declare 'CertificateAuthorityPolicy', | ||
| 56 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::CertificateAuthorityPolicy']; | ||
| 57 | |||
| 58 | coerce 'CertificateAuthorityPolicy', | ||
| 59 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::CertificateAuthorityPolicy'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedCertificateAuthorityPolicy', | ||
| 62 | as ArrayRef[CertificateAuthorityPolicy()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedCertificateAuthorityPolicy', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::CertificateAuthorityPolicy'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringCertificateAuthorityPolicy', | ||
| 68 | as HashRef[CertificateAuthorityPolicy()]; | ||
| 69 | |||
| 70 | declare 'AllowedConfigList', | ||
| 71 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::CertificateAuthorityPolicy::AllowedConfigList']; | ||
| 72 | |||
| 73 | coerce 'AllowedConfigList', | ||
| 74 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::CertificateAuthorityPolicy::AllowedConfigList'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedAllowedConfigList', | ||
| 77 | as ArrayRef[AllowedConfigList()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedAllowedConfigList', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::CertificateAuthorityPolicy::AllowedConfigList'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringAllowedConfigList', | ||
| 83 | as HashRef[AllowedConfigList()]; | ||
| 84 | |||
| 85 | declare 'AllowedSubjectAltNames', | ||
| 86 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames']; | ||
| 87 | |||
| 88 | coerce 'AllowedSubjectAltNames', | ||
| 89 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedAllowedSubjectAltNames', | ||
| 92 | as ArrayRef[AllowedSubjectAltNames()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedAllowedSubjectAltNames', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringAllowedSubjectAltNames', | ||
| 98 | as HashRef[AllowedSubjectAltNames()]; | ||
| 99 | |||
| 100 | declare 'IssuanceModes', | ||
| 101 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::CertificateAuthorityPolicy::IssuanceModes']; | ||
| 102 | |||
| 103 | coerce 'IssuanceModes', | ||
| 104 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::CertificateAuthorityPolicy::IssuanceModes'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedIssuanceModes', | ||
| 107 | as ArrayRef[IssuanceModes()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedIssuanceModes', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::CertificateAuthorityPolicy::IssuanceModes'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringIssuanceModes', | ||
| 113 | as HashRef[IssuanceModes()]; | ||
| 114 | |||
| 115 | declare 'AccessUrls', | ||
| 116 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::AccessUrls']; | ||
| 117 | |||
| 118 | coerce 'AccessUrls', | ||
| 119 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::AccessUrls'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedAccessUrls', | ||
| 122 | as ArrayRef[AccessUrls()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedAccessUrls', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::AccessUrls'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringAccessUrls', | ||
| 128 | as HashRef[AccessUrls()]; | ||
| 129 | |||
| 130 | declare 'KeyVersionSpec', | ||
| 131 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::KeyVersionSpec']; | ||
| 132 | |||
| 133 | coerce 'KeyVersionSpec', | ||
| 134 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::KeyVersionSpec'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedKeyVersionSpec', | ||
| 137 | as ArrayRef[KeyVersionSpec()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedKeyVersionSpec', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::KeyVersionSpec'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringKeyVersionSpec', | ||
| 143 | as HashRef[KeyVersionSpec()]; | ||
| 144 | |||
| 145 | declare 'LabelsEntry', | ||
| 146 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::LabelsEntry']; | ||
| 147 | |||
| 148 | coerce 'LabelsEntry', | ||
| 149 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::LabelsEntry'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedLabelsEntry', | ||
| 152 | as ArrayRef[LabelsEntry()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedLabelsEntry', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::LabelsEntry'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringLabelsEntry', | ||
| 158 | as HashRef[LabelsEntry()]; | ||
| 159 | |||
| 160 | declare 'CertificateRevocationList', | ||
| 161 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateRevocationList']; | ||
| 162 | |||
| 163 | coerce 'CertificateRevocationList', | ||
| 164 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateRevocationList'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedCertificateRevocationList', | ||
| 167 | as ArrayRef[CertificateRevocationList()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedCertificateRevocationList', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateRevocationList'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringCertificateRevocationList', | ||
| 173 | as HashRef[CertificateRevocationList()]; | ||
| 174 | |||
| 175 | declare 'State', | ||
| 176 | as (Int | Str); | ||
| 177 | |||
| 178 | declare 'RevokedCertificate', | ||
| 179 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateRevocationList::RevokedCertificate']; | ||
| 180 | |||
| 181 | coerce 'RevokedCertificate', | ||
| 182 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateRevocationList::RevokedCertificate'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedRevokedCertificate', | ||
| 185 | as ArrayRef[RevokedCertificate()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedRevokedCertificate', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateRevocationList::RevokedCertificate'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringRevokedCertificate', | ||
| 191 | as HashRef[RevokedCertificate()]; | ||
| 192 | |||
| 193 | declare 'LabelsEntry', | ||
| 194 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateRevocationList::LabelsEntry']; | ||
| 195 | |||
| 196 | coerce 'LabelsEntry', | ||
| 197 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateRevocationList::LabelsEntry'->new($_) }; | ||
| 198 | |||
| 199 | declare 'RepeatedLabelsEntry', | ||
| 200 | as ArrayRef[LabelsEntry()]; | ||
| 201 | |||
| 202 | coerce 'RepeatedLabelsEntry', | ||
| 203 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateRevocationList::LabelsEntry'->new($_) } @$_ ] }; | ||
| 204 | |||
| 205 | declare 'MapStringLabelsEntry', | ||
| 206 | as HashRef[LabelsEntry()]; | ||
| 207 | |||
| 208 | declare 'Certificate', | ||
| 209 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::Certificate']; | ||
| 210 | |||
| 211 | coerce 'Certificate', | ||
| 212 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::Certificate'->new($_) }; | ||
| 213 | |||
| 214 | declare 'RepeatedCertificate', | ||
| 215 | as ArrayRef[Certificate()]; | ||
| 216 | |||
| 217 | coerce 'RepeatedCertificate', | ||
| 218 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::Certificate'->new($_) } @$_ ] }; | ||
| 219 | |||
| 220 | declare 'MapStringCertificate', | ||
| 221 | as HashRef[Certificate()]; | ||
| 222 | |||
| 223 | declare 'RevocationDetails', | ||
| 224 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::Certificate::RevocationDetails']; | ||
| 225 | |||
| 226 | coerce 'RevocationDetails', | ||
| 227 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::Certificate::RevocationDetails'->new($_) }; | ||
| 228 | |||
| 229 | declare 'RepeatedRevocationDetails', | ||
| 230 | as ArrayRef[RevocationDetails()]; | ||
| 231 | |||
| 232 | coerce 'RepeatedRevocationDetails', | ||
| 233 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::Certificate::RevocationDetails'->new($_) } @$_ ] }; | ||
| 234 | |||
| 235 | declare 'MapStringRevocationDetails', | ||
| 236 | as HashRef[RevocationDetails()]; | ||
| 237 | |||
| 238 | declare 'LabelsEntry', | ||
| 239 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::Certificate::LabelsEntry']; | ||
| 240 | |||
| 241 | coerce 'LabelsEntry', | ||
| 242 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::Certificate::LabelsEntry'->new($_) }; | ||
| 243 | |||
| 244 | declare 'RepeatedLabelsEntry', | ||
| 245 | as ArrayRef[LabelsEntry()]; | ||
| 246 | |||
| 247 | coerce 'RepeatedLabelsEntry', | ||
| 248 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::Certificate::LabelsEntry'->new($_) } @$_ ] }; | ||
| 249 | |||
| 250 | declare 'MapStringLabelsEntry', | ||
| 251 | as HashRef[LabelsEntry()]; | ||
| 252 | |||
| 253 | declare 'ReusableConfig', | ||
| 254 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfig']; | ||
| 255 | |||
| 256 | coerce 'ReusableConfig', | ||
| 257 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfig'->new($_) }; | ||
| 258 | |||
| 259 | declare 'RepeatedReusableConfig', | ||
| 260 | as ArrayRef[ReusableConfig()]; | ||
| 261 | |||
| 262 | coerce 'RepeatedReusableConfig', | ||
| 263 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfig'->new($_) } @$_ ] }; | ||
| 264 | |||
| 265 | declare 'MapStringReusableConfig', | ||
| 266 | as HashRef[ReusableConfig()]; | ||
| 267 | |||
| 268 | declare 'LabelsEntry', | ||
| 269 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfig::LabelsEntry']; | ||
| 270 | |||
| 271 | coerce 'LabelsEntry', | ||
| 272 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfig::LabelsEntry'->new($_) }; | ||
| 273 | |||
| 274 | declare 'RepeatedLabelsEntry', | ||
| 275 | as ArrayRef[LabelsEntry()]; | ||
| 276 | |||
| 277 | coerce 'RepeatedLabelsEntry', | ||
| 278 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfig::LabelsEntry'->new($_) } @$_ ] }; | ||
| 279 | |||
| 280 | declare 'MapStringLabelsEntry', | ||
| 281 | as HashRef[LabelsEntry()]; | ||
| 282 | |||
| 283 | declare 'ReusableConfigValues', | ||
| 284 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigValues']; | ||
| 285 | |||
| 286 | coerce 'ReusableConfigValues', | ||
| 287 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigValues'->new($_) }; | ||
| 288 | |||
| 289 | declare 'RepeatedReusableConfigValues', | ||
| 290 | as ArrayRef[ReusableConfigValues()]; | ||
| 291 | |||
| 292 | coerce 'RepeatedReusableConfigValues', | ||
| 293 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigValues'->new($_) } @$_ ] }; | ||
| 294 | |||
| 295 | declare 'MapStringReusableConfigValues', | ||
| 296 | as HashRef[ReusableConfigValues()]; | ||
| 297 | |||
| 298 | declare 'CaOptions', | ||
| 299 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigValues::CaOptions']; | ||
| 300 | |||
| 301 | coerce 'CaOptions', | ||
| 302 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigValues::CaOptions'->new($_) }; | ||
| 303 | |||
| 304 | declare 'RepeatedCaOptions', | ||
| 305 | as ArrayRef[CaOptions()]; | ||
| 306 | |||
| 307 | coerce 'RepeatedCaOptions', | ||
| 308 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigValues::CaOptions'->new($_) } @$_ ] }; | ||
| 309 | |||
| 310 | declare 'MapStringCaOptions', | ||
| 311 | as HashRef[CaOptions()]; | ||
| 312 | |||
| 313 | declare 'ReusableConfigWrapper', | ||
| 314 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigWrapper']; | ||
| 315 | |||
| 316 | coerce 'ReusableConfigWrapper', | ||
| 317 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigWrapper'->new($_) }; | ||
| 318 | |||
| 319 | declare 'RepeatedReusableConfigWrapper', | ||
| 320 | as ArrayRef[ReusableConfigWrapper()]; | ||
| 321 | |||
| 322 | coerce 'RepeatedReusableConfigWrapper', | ||
| 323 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigWrapper'->new($_) } @$_ ] }; | ||
| 324 | |||
| 325 | declare 'MapStringReusableConfigWrapper', | ||
| 326 | as HashRef[ReusableConfigWrapper()]; | ||
| 327 | |||
| 328 | declare 'SubordinateConfig', | ||
| 329 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::SubordinateConfig']; | ||
| 330 | |||
| 331 | coerce 'SubordinateConfig', | ||
| 332 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::SubordinateConfig'->new($_) }; | ||
| 333 | |||
| 334 | declare 'RepeatedSubordinateConfig', | ||
| 335 | as ArrayRef[SubordinateConfig()]; | ||
| 336 | |||
| 337 | coerce 'RepeatedSubordinateConfig', | ||
| 338 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::SubordinateConfig'->new($_) } @$_ ] }; | ||
| 339 | |||
| 340 | declare 'MapStringSubordinateConfig', | ||
| 341 | as HashRef[SubordinateConfig()]; | ||
| 342 | |||
| 343 | declare 'SubordinateConfigChain', | ||
| 344 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::SubordinateConfig::SubordinateConfigChain']; | ||
| 345 | |||
| 346 | coerce 'SubordinateConfigChain', | ||
| 347 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::SubordinateConfig::SubordinateConfigChain'->new($_) }; | ||
| 348 | |||
| 349 | declare 'RepeatedSubordinateConfigChain', | ||
| 350 | as ArrayRef[SubordinateConfigChain()]; | ||
| 351 | |||
| 352 | coerce 'RepeatedSubordinateConfigChain', | ||
| 353 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::SubordinateConfig::SubordinateConfigChain'->new($_) } @$_ ] }; | ||
| 354 | |||
| 355 | declare 'MapStringSubordinateConfigChain', | ||
| 356 | as HashRef[SubordinateConfigChain()]; | ||
| 357 | |||
| 358 | declare 'PublicKey', | ||
| 359 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::PublicKey']; | ||
| 360 | |||
| 361 | coerce 'PublicKey', | ||
| 362 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::PublicKey'->new($_) }; | ||
| 363 | |||
| 364 | declare 'RepeatedPublicKey', | ||
| 365 | as ArrayRef[PublicKey()]; | ||
| 366 | |||
| 367 | coerce 'RepeatedPublicKey', | ||
| 368 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::PublicKey'->new($_) } @$_ ] }; | ||
| 369 | |||
| 370 | declare 'MapStringPublicKey', | ||
| 371 | as HashRef[PublicKey()]; | ||
| 372 | |||
| 373 | declare 'KeyType', | ||
| 374 | as (Int | Str); | ||
| 375 | |||
| 376 | declare 'CertificateConfig', | ||
| 377 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateConfig']; | ||
| 378 | |||
| 379 | coerce 'CertificateConfig', | ||
| 380 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateConfig'->new($_) }; | ||
| 381 | |||
| 382 | declare 'RepeatedCertificateConfig', | ||
| 383 | as ArrayRef[CertificateConfig()]; | ||
| 384 | |||
| 385 | coerce 'RepeatedCertificateConfig', | ||
| 386 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateConfig'->new($_) } @$_ ] }; | ||
| 387 | |||
| 388 | declare 'MapStringCertificateConfig', | ||
| 389 | as HashRef[CertificateConfig()]; | ||
| 390 | |||
| 391 | declare 'SubjectConfig', | ||
| 392 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateConfig::SubjectConfig']; | ||
| 393 | |||
| 394 | coerce 'SubjectConfig', | ||
| 395 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateConfig::SubjectConfig'->new($_) }; | ||
| 396 | |||
| 397 | declare 'RepeatedSubjectConfig', | ||
| 398 | as ArrayRef[SubjectConfig()]; | ||
| 399 | |||
| 400 | coerce 'RepeatedSubjectConfig', | ||
| 401 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateConfig::SubjectConfig'->new($_) } @$_ ] }; | ||
| 402 | |||
| 403 | declare 'MapStringSubjectConfig', | ||
| 404 | as HashRef[SubjectConfig()]; | ||
| 405 | |||
| 406 | declare 'CertificateDescription', | ||
| 407 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription']; | ||
| 408 | |||
| 409 | coerce 'CertificateDescription', | ||
| 410 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription'->new($_) }; | ||
| 411 | |||
| 412 | declare 'RepeatedCertificateDescription', | ||
| 413 | as ArrayRef[CertificateDescription()]; | ||
| 414 | |||
| 415 | coerce 'RepeatedCertificateDescription', | ||
| 416 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription'->new($_) } @$_ ] }; | ||
| 417 | |||
| 418 | declare 'MapStringCertificateDescription', | ||
| 419 | as HashRef[CertificateDescription()]; | ||
| 420 | |||
| 421 | declare 'SubjectDescription', | ||
| 422 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription::SubjectDescription']; | ||
| 423 | |||
| 424 | coerce 'SubjectDescription', | ||
| 425 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription::SubjectDescription'->new($_) }; | ||
| 426 | |||
| 427 | declare 'RepeatedSubjectDescription', | ||
| 428 | as ArrayRef[SubjectDescription()]; | ||
| 429 | |||
| 430 | coerce 'RepeatedSubjectDescription', | ||
| 431 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription::SubjectDescription'->new($_) } @$_ ] }; | ||
| 432 | |||
| 433 | declare 'MapStringSubjectDescription', | ||
| 434 | as HashRef[SubjectDescription()]; | ||
| 435 | |||
| 436 | declare 'KeyId', | ||
| 437 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription::KeyId']; | ||
| 438 | |||
| 439 | coerce 'KeyId', | ||
| 440 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription::KeyId'->new($_) }; | ||
| 441 | |||
| 442 | declare 'RepeatedKeyId', | ||
| 443 | as ArrayRef[KeyId()]; | ||
| 444 | |||
| 445 | coerce 'RepeatedKeyId', | ||
| 446 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription::KeyId'->new($_) } @$_ ] }; | ||
| 447 | |||
| 448 | declare 'MapStringKeyId', | ||
| 449 | as HashRef[KeyId()]; | ||
| 450 | |||
| 451 | declare 'CertificateFingerprint', | ||
| 452 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription::CertificateFingerprint']; | ||
| 453 | |||
| 454 | coerce 'CertificateFingerprint', | ||
| 455 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription::CertificateFingerprint'->new($_) }; | ||
| 456 | |||
| 457 | declare 'RepeatedCertificateFingerprint', | ||
| 458 | as ArrayRef[CertificateFingerprint()]; | ||
| 459 | |||
| 460 | coerce 'RepeatedCertificateFingerprint', | ||
| 461 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription::CertificateFingerprint'->new($_) } @$_ ] }; | ||
| 462 | |||
| 463 | declare 'MapStringCertificateFingerprint', | ||
| 464 | as HashRef[CertificateFingerprint()]; | ||
| 465 | |||
| 466 | declare 'ObjectId', | ||
| 467 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::ObjectId']; | ||
| 468 | |||
| 469 | coerce 'ObjectId', | ||
| 470 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::ObjectId'->new($_) }; | ||
| 471 | |||
| 472 | declare 'RepeatedObjectId', | ||
| 473 | as ArrayRef[ObjectId()]; | ||
| 474 | |||
| 475 | coerce 'RepeatedObjectId', | ||
| 476 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::ObjectId'->new($_) } @$_ ] }; | ||
| 477 | |||
| 478 | declare 'MapStringObjectId', | ||
| 479 | as HashRef[ObjectId()]; | ||
| 480 | |||
| 481 | declare 'X509Extension', | ||
| 482 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::X509Extension']; | ||
| 483 | |||
| 484 | coerce 'X509Extension', | ||
| 485 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::X509Extension'->new($_) }; | ||
| 486 | |||
| 487 | declare 'RepeatedX509Extension', | ||
| 488 | as ArrayRef[X509Extension()]; | ||
| 489 | |||
| 490 | coerce 'RepeatedX509Extension', | ||
| 491 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::X509Extension'->new($_) } @$_ ] }; | ||
| 492 | |||
| 493 | declare 'MapStringX509Extension', | ||
| 494 | as HashRef[X509Extension()]; | ||
| 495 | |||
| 496 | declare 'KeyUsage', | ||
| 497 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::KeyUsage']; | ||
| 498 | |||
| 499 | coerce 'KeyUsage', | ||
| 500 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::KeyUsage'->new($_) }; | ||
| 501 | |||
| 502 | declare 'RepeatedKeyUsage', | ||
| 503 | as ArrayRef[KeyUsage()]; | ||
| 504 | |||
| 505 | coerce 'RepeatedKeyUsage', | ||
| 506 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::KeyUsage'->new($_) } @$_ ] }; | ||
| 507 | |||
| 508 | declare 'MapStringKeyUsage', | ||
| 509 | as HashRef[KeyUsage()]; | ||
| 510 | |||
| 511 | declare 'KeyUsageOptions', | ||
| 512 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::KeyUsage::KeyUsageOptions']; | ||
| 513 | |||
| 514 | coerce 'KeyUsageOptions', | ||
| 515 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::KeyUsage::KeyUsageOptions'->new($_) }; | ||
| 516 | |||
| 517 | declare 'RepeatedKeyUsageOptions', | ||
| 518 | as ArrayRef[KeyUsageOptions()]; | ||
| 519 | |||
| 520 | coerce 'RepeatedKeyUsageOptions', | ||
| 521 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::KeyUsage::KeyUsageOptions'->new($_) } @$_ ] }; | ||
| 522 | |||
| 523 | declare 'MapStringKeyUsageOptions', | ||
| 524 | as HashRef[KeyUsageOptions()]; | ||
| 525 | |||
| 526 | declare 'ExtendedKeyUsageOptions', | ||
| 527 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::KeyUsage::ExtendedKeyUsageOptions']; | ||
| 528 | |||
| 529 | coerce 'ExtendedKeyUsageOptions', | ||
| 530 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::KeyUsage::ExtendedKeyUsageOptions'->new($_) }; | ||
| 531 | |||
| 532 | declare 'RepeatedExtendedKeyUsageOptions', | ||
| 533 | as ArrayRef[ExtendedKeyUsageOptions()]; | ||
| 534 | |||
| 535 | coerce 'RepeatedExtendedKeyUsageOptions', | ||
| 536 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::KeyUsage::ExtendedKeyUsageOptions'->new($_) } @$_ ] }; | ||
| 537 | |||
| 538 | declare 'MapStringExtendedKeyUsageOptions', | ||
| 539 | as HashRef[ExtendedKeyUsageOptions()]; | ||
| 540 | |||
| 541 | declare 'Subject', | ||
| 542 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::Subject']; | ||
| 543 | |||
| 544 | coerce 'Subject', | ||
| 545 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::Subject'->new($_) }; | ||
| 546 | |||
| 547 | declare 'RepeatedSubject', | ||
| 548 | as ArrayRef[Subject()]; | ||
| 549 | |||
| 550 | coerce 'RepeatedSubject', | ||
| 551 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::Subject'->new($_) } @$_ ] }; | ||
| 552 | |||
| 553 | declare 'MapStringSubject', | ||
| 554 | as HashRef[Subject()]; | ||
| 555 | |||
| 556 | declare 'SubjectAltNames', | ||
| 557 | as InstanceOf['Google::Cloud::Security::Privateca::V1beta1::Resources::SubjectAltNames']; | ||
| 558 | |||
| 559 | coerce 'SubjectAltNames', | ||
| 560 | from HashRef, via { 'Google::Cloud::Security::Privateca::V1beta1::Resources::SubjectAltNames'->new($_) }; | ||
| 561 | |||
| 562 | declare 'RepeatedSubjectAltNames', | ||
| 563 | as ArrayRef[SubjectAltNames()]; | ||
| 564 | |||
| 565 | coerce 'RepeatedSubjectAltNames', | ||
| 566 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Security::Privateca::V1beta1::Resources::SubjectAltNames'->new($_) } @$_ ] }; | ||
| 567 | |||
| 568 | declare 'MapStringSubjectAltNames', | ||
| 569 | as HashRef[SubjectAltNames()]; | ||
| 570 | |||
| 571 | 1; | ||
| 572 | |||
| 573 | __END__ |