| 1 | package Google::Cloud::Gkehub::V1::Fleet::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 'Fleet', | ||
| 11 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::Fleet']; | ||
| 12 | |||
| 13 | coerce 'Fleet', | ||
| 14 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::Fleet'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedFleet', | ||
| 17 | as ArrayRef[Fleet()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedFleet', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::Fleet'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringFleet', | ||
| 23 | as HashRef[Fleet()]; | ||
| 24 | |||
| 25 | declare 'LabelsEntry', | ||
| 26 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::Fleet::LabelsEntry']; | ||
| 27 | |||
| 28 | coerce 'LabelsEntry', | ||
| 29 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::Fleet::LabelsEntry'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedLabelsEntry', | ||
| 32 | as ArrayRef[LabelsEntry()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedLabelsEntry', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::Fleet::LabelsEntry'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringLabelsEntry', | ||
| 38 | as HashRef[LabelsEntry()]; | ||
| 39 | |||
| 40 | declare 'DefaultClusterConfig', | ||
| 41 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::DefaultClusterConfig']; | ||
| 42 | |||
| 43 | coerce 'DefaultClusterConfig', | ||
| 44 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::DefaultClusterConfig'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedDefaultClusterConfig', | ||
| 47 | as ArrayRef[DefaultClusterConfig()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedDefaultClusterConfig', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::DefaultClusterConfig'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringDefaultClusterConfig', | ||
| 53 | as HashRef[DefaultClusterConfig()]; | ||
| 54 | |||
| 55 | declare 'SecurityPostureConfig', | ||
| 56 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::SecurityPostureConfig']; | ||
| 57 | |||
| 58 | coerce 'SecurityPostureConfig', | ||
| 59 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::SecurityPostureConfig'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedSecurityPostureConfig', | ||
| 62 | as ArrayRef[SecurityPostureConfig()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedSecurityPostureConfig', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::SecurityPostureConfig'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringSecurityPostureConfig', | ||
| 68 | as HashRef[SecurityPostureConfig()]; | ||
| 69 | |||
| 70 | declare 'Mode', | ||
| 71 | as (Int | Str); | ||
| 72 | |||
| 73 | declare 'VulnerabilityMode', | ||
| 74 | as (Int | Str); | ||
| 75 | |||
| 76 | declare 'BinaryAuthorizationConfig', | ||
| 77 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::BinaryAuthorizationConfig']; | ||
| 78 | |||
| 79 | coerce 'BinaryAuthorizationConfig', | ||
| 80 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::BinaryAuthorizationConfig'->new($_) }; | ||
| 81 | |||
| 82 | declare 'RepeatedBinaryAuthorizationConfig', | ||
| 83 | as ArrayRef[BinaryAuthorizationConfig()]; | ||
| 84 | |||
| 85 | coerce 'RepeatedBinaryAuthorizationConfig', | ||
| 86 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::BinaryAuthorizationConfig'->new($_) } @$_ ] }; | ||
| 87 | |||
| 88 | declare 'MapStringBinaryAuthorizationConfig', | ||
| 89 | as HashRef[BinaryAuthorizationConfig()]; | ||
| 90 | |||
| 91 | declare 'EvaluationMode', | ||
| 92 | as (Int | Str); | ||
| 93 | |||
| 94 | declare 'PolicyBinding', | ||
| 95 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::BinaryAuthorizationConfig::PolicyBinding']; | ||
| 96 | |||
| 97 | coerce 'PolicyBinding', | ||
| 98 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::BinaryAuthorizationConfig::PolicyBinding'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedPolicyBinding', | ||
| 101 | as ArrayRef[PolicyBinding()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedPolicyBinding', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::BinaryAuthorizationConfig::PolicyBinding'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringPolicyBinding', | ||
| 107 | as HashRef[PolicyBinding()]; | ||
| 108 | |||
| 109 | declare 'CompliancePostureConfig', | ||
| 110 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::CompliancePostureConfig']; | ||
| 111 | |||
| 112 | coerce 'CompliancePostureConfig', | ||
| 113 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::CompliancePostureConfig'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedCompliancePostureConfig', | ||
| 116 | as ArrayRef[CompliancePostureConfig()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedCompliancePostureConfig', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::CompliancePostureConfig'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringCompliancePostureConfig', | ||
| 122 | as HashRef[CompliancePostureConfig()]; | ||
| 123 | |||
| 124 | declare 'Mode', | ||
| 125 | as (Int | Str); | ||
| 126 | |||
| 127 | declare 'ComplianceStandard', | ||
| 128 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::CompliancePostureConfig::ComplianceStandard']; | ||
| 129 | |||
| 130 | coerce 'ComplianceStandard', | ||
| 131 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::CompliancePostureConfig::ComplianceStandard'->new($_) }; | ||
| 132 | |||
| 133 | declare 'RepeatedComplianceStandard', | ||
| 134 | as ArrayRef[ComplianceStandard()]; | ||
| 135 | |||
| 136 | coerce 'RepeatedComplianceStandard', | ||
| 137 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::CompliancePostureConfig::ComplianceStandard'->new($_) } @$_ ] }; | ||
| 138 | |||
| 139 | declare 'MapStringComplianceStandard', | ||
| 140 | as HashRef[ComplianceStandard()]; | ||
| 141 | |||
| 142 | declare 'FleetLifecycleState', | ||
| 143 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::FleetLifecycleState']; | ||
| 144 | |||
| 145 | coerce 'FleetLifecycleState', | ||
| 146 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::FleetLifecycleState'->new($_) }; | ||
| 147 | |||
| 148 | declare 'RepeatedFleetLifecycleState', | ||
| 149 | as ArrayRef[FleetLifecycleState()]; | ||
| 150 | |||
| 151 | coerce 'RepeatedFleetLifecycleState', | ||
| 152 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::FleetLifecycleState'->new($_) } @$_ ] }; | ||
| 153 | |||
| 154 | declare 'MapStringFleetLifecycleState', | ||
| 155 | as HashRef[FleetLifecycleState()]; | ||
| 156 | |||
| 157 | declare 'Code', | ||
| 158 | as (Int | Str); | ||
| 159 | |||
| 160 | declare 'Namespace', | ||
| 161 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::Namespace']; | ||
| 162 | |||
| 163 | coerce 'Namespace', | ||
| 164 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::Namespace'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedNamespace', | ||
| 167 | as ArrayRef[Namespace()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedNamespace', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::Namespace'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringNamespace', | ||
| 173 | as HashRef[Namespace()]; | ||
| 174 | |||
| 175 | declare 'NamespaceLabelsEntry', | ||
| 176 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::Namespace::NamespaceLabelsEntry']; | ||
| 177 | |||
| 178 | coerce 'NamespaceLabelsEntry', | ||
| 179 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::Namespace::NamespaceLabelsEntry'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedNamespaceLabelsEntry', | ||
| 182 | as ArrayRef[NamespaceLabelsEntry()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedNamespaceLabelsEntry', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::Namespace::NamespaceLabelsEntry'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringNamespaceLabelsEntry', | ||
| 188 | as HashRef[NamespaceLabelsEntry()]; | ||
| 189 | |||
| 190 | declare 'LabelsEntry', | ||
| 191 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::Namespace::LabelsEntry']; | ||
| 192 | |||
| 193 | coerce 'LabelsEntry', | ||
| 194 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::Namespace::LabelsEntry'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedLabelsEntry', | ||
| 197 | as ArrayRef[LabelsEntry()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedLabelsEntry', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::Namespace::LabelsEntry'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringLabelsEntry', | ||
| 203 | as HashRef[LabelsEntry()]; | ||
| 204 | |||
| 205 | declare 'NamespaceLifecycleState', | ||
| 206 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::NamespaceLifecycleState']; | ||
| 207 | |||
| 208 | coerce 'NamespaceLifecycleState', | ||
| 209 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::NamespaceLifecycleState'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedNamespaceLifecycleState', | ||
| 212 | as ArrayRef[NamespaceLifecycleState()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedNamespaceLifecycleState', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::NamespaceLifecycleState'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringNamespaceLifecycleState', | ||
| 218 | as HashRef[NamespaceLifecycleState()]; | ||
| 219 | |||
| 220 | declare 'Code', | ||
| 221 | as (Int | Str); | ||
| 222 | |||
| 223 | declare 'RBACRoleBinding', | ||
| 224 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding']; | ||
| 225 | |||
| 226 | coerce 'RBACRoleBinding', | ||
| 227 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding'->new($_) }; | ||
| 228 | |||
| 229 | declare 'RepeatedRBACRoleBinding', | ||
| 230 | as ArrayRef[RBACRoleBinding()]; | ||
| 231 | |||
| 232 | coerce 'RepeatedRBACRoleBinding', | ||
| 233 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding'->new($_) } @$_ ] }; | ||
| 234 | |||
| 235 | declare 'MapStringRBACRoleBinding', | ||
| 236 | as HashRef[RBACRoleBinding()]; | ||
| 237 | |||
| 238 | declare 'Role', | ||
| 239 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding::Role']; | ||
| 240 | |||
| 241 | coerce 'Role', | ||
| 242 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding::Role'->new($_) }; | ||
| 243 | |||
| 244 | declare 'RepeatedRole', | ||
| 245 | as ArrayRef[Role()]; | ||
| 246 | |||
| 247 | coerce 'RepeatedRole', | ||
| 248 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding::Role'->new($_) } @$_ ] }; | ||
| 249 | |||
| 250 | declare 'MapStringRole', | ||
| 251 | as HashRef[Role()]; | ||
| 252 | |||
| 253 | declare 'PredefinedRoles', | ||
| 254 | as (Int | Str); | ||
| 255 | |||
| 256 | declare 'LabelsEntry', | ||
| 257 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding::LabelsEntry']; | ||
| 258 | |||
| 259 | coerce 'LabelsEntry', | ||
| 260 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding::LabelsEntry'->new($_) }; | ||
| 261 | |||
| 262 | declare 'RepeatedLabelsEntry', | ||
| 263 | as ArrayRef[LabelsEntry()]; | ||
| 264 | |||
| 265 | coerce 'RepeatedLabelsEntry', | ||
| 266 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding::LabelsEntry'->new($_) } @$_ ] }; | ||
| 267 | |||
| 268 | declare 'MapStringLabelsEntry', | ||
| 269 | as HashRef[LabelsEntry()]; | ||
| 270 | |||
| 271 | declare 'RBACRoleBindingLifecycleState', | ||
| 272 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::RBACRoleBindingLifecycleState']; | ||
| 273 | |||
| 274 | coerce 'RBACRoleBindingLifecycleState', | ||
| 275 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::RBACRoleBindingLifecycleState'->new($_) }; | ||
| 276 | |||
| 277 | declare 'RepeatedRBACRoleBindingLifecycleState', | ||
| 278 | as ArrayRef[RBACRoleBindingLifecycleState()]; | ||
| 279 | |||
| 280 | coerce 'RepeatedRBACRoleBindingLifecycleState', | ||
| 281 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::RBACRoleBindingLifecycleState'->new($_) } @$_ ] }; | ||
| 282 | |||
| 283 | declare 'MapStringRBACRoleBindingLifecycleState', | ||
| 284 | as HashRef[RBACRoleBindingLifecycleState()]; | ||
| 285 | |||
| 286 | declare 'Code', | ||
| 287 | as (Int | Str); | ||
| 288 | |||
| 289 | declare 'Scope', | ||
| 290 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::Scope']; | ||
| 291 | |||
| 292 | coerce 'Scope', | ||
| 293 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::Scope'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedScope', | ||
| 296 | as ArrayRef[Scope()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedScope', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::Scope'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringScope', | ||
| 302 | as HashRef[Scope()]; | ||
| 303 | |||
| 304 | declare 'NamespaceLabelsEntry', | ||
| 305 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::Scope::NamespaceLabelsEntry']; | ||
| 306 | |||
| 307 | coerce 'NamespaceLabelsEntry', | ||
| 308 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::Scope::NamespaceLabelsEntry'->new($_) }; | ||
| 309 | |||
| 310 | declare 'RepeatedNamespaceLabelsEntry', | ||
| 311 | as ArrayRef[NamespaceLabelsEntry()]; | ||
| 312 | |||
| 313 | coerce 'RepeatedNamespaceLabelsEntry', | ||
| 314 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::Scope::NamespaceLabelsEntry'->new($_) } @$_ ] }; | ||
| 315 | |||
| 316 | declare 'MapStringNamespaceLabelsEntry', | ||
| 317 | as HashRef[NamespaceLabelsEntry()]; | ||
| 318 | |||
| 319 | declare 'LabelsEntry', | ||
| 320 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::Scope::LabelsEntry']; | ||
| 321 | |||
| 322 | coerce 'LabelsEntry', | ||
| 323 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::Scope::LabelsEntry'->new($_) }; | ||
| 324 | |||
| 325 | declare 'RepeatedLabelsEntry', | ||
| 326 | as ArrayRef[LabelsEntry()]; | ||
| 327 | |||
| 328 | coerce 'RepeatedLabelsEntry', | ||
| 329 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::Scope::LabelsEntry'->new($_) } @$_ ] }; | ||
| 330 | |||
| 331 | declare 'MapStringLabelsEntry', | ||
| 332 | as HashRef[LabelsEntry()]; | ||
| 333 | |||
| 334 | declare 'ScopeLifecycleState', | ||
| 335 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::ScopeLifecycleState']; | ||
| 336 | |||
| 337 | coerce 'ScopeLifecycleState', | ||
| 338 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::ScopeLifecycleState'->new($_) }; | ||
| 339 | |||
| 340 | declare 'RepeatedScopeLifecycleState', | ||
| 341 | as ArrayRef[ScopeLifecycleState()]; | ||
| 342 | |||
| 343 | coerce 'RepeatedScopeLifecycleState', | ||
| 344 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::ScopeLifecycleState'->new($_) } @$_ ] }; | ||
| 345 | |||
| 346 | declare 'MapStringScopeLifecycleState', | ||
| 347 | as HashRef[ScopeLifecycleState()]; | ||
| 348 | |||
| 349 | declare 'Code', | ||
| 350 | as (Int | Str); | ||
| 351 | |||
| 352 | declare 'MembershipBinding', | ||
| 353 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::MembershipBinding']; | ||
| 354 | |||
| 355 | coerce 'MembershipBinding', | ||
| 356 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::MembershipBinding'->new($_) }; | ||
| 357 | |||
| 358 | declare 'RepeatedMembershipBinding', | ||
| 359 | as ArrayRef[MembershipBinding()]; | ||
| 360 | |||
| 361 | coerce 'RepeatedMembershipBinding', | ||
| 362 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::MembershipBinding'->new($_) } @$_ ] }; | ||
| 363 | |||
| 364 | declare 'MapStringMembershipBinding', | ||
| 365 | as HashRef[MembershipBinding()]; | ||
| 366 | |||
| 367 | declare 'LabelsEntry', | ||
| 368 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::MembershipBinding::LabelsEntry']; | ||
| 369 | |||
| 370 | coerce 'LabelsEntry', | ||
| 371 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::MembershipBinding::LabelsEntry'->new($_) }; | ||
| 372 | |||
| 373 | declare 'RepeatedLabelsEntry', | ||
| 374 | as ArrayRef[LabelsEntry()]; | ||
| 375 | |||
| 376 | coerce 'RepeatedLabelsEntry', | ||
| 377 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::MembershipBinding::LabelsEntry'->new($_) } @$_ ] }; | ||
| 378 | |||
| 379 | declare 'MapStringLabelsEntry', | ||
| 380 | as HashRef[LabelsEntry()]; | ||
| 381 | |||
| 382 | declare 'MembershipBindingLifecycleState', | ||
| 383 | as InstanceOf['Google::Cloud::Gkehub::V1::Fleet::MembershipBindingLifecycleState']; | ||
| 384 | |||
| 385 | coerce 'MembershipBindingLifecycleState', | ||
| 386 | from HashRef, via { 'Google::Cloud::Gkehub::V1::Fleet::MembershipBindingLifecycleState'->new($_) }; | ||
| 387 | |||
| 388 | declare 'RepeatedMembershipBindingLifecycleState', | ||
| 389 | as ArrayRef[MembershipBindingLifecycleState()]; | ||
| 390 | |||
| 391 | coerce 'RepeatedMembershipBindingLifecycleState', | ||
| 392 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::V1::Fleet::MembershipBindingLifecycleState'->new($_) } @$_ ] }; | ||
| 393 | |||
| 394 | declare 'MapStringMembershipBindingLifecycleState', | ||
| 395 | as HashRef[MembershipBindingLifecycleState()]; | ||
| 396 | |||
| 397 | declare 'Code', | ||
| 398 | as (Int | Str); | ||
| 399 | |||
| 400 | 1; | ||
| 401 | |||
| 402 | __END__ |