| 1 | package Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::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 'DeploymentState', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'MembershipState', | ||
| 14 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::MembershipState']; | ||
| 15 | |||
| 16 | coerce 'MembershipState', | ||
| 17 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::MembershipState'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedMembershipState', | ||
| 20 | as ArrayRef[MembershipState()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedMembershipState', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::MembershipState'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringMembershipState', | ||
| 26 | as HashRef[MembershipState()]; | ||
| 27 | |||
| 28 | declare 'MembershipSpec', | ||
| 29 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::MembershipSpec']; | ||
| 30 | |||
| 31 | coerce 'MembershipSpec', | ||
| 32 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::MembershipSpec'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedMembershipSpec', | ||
| 35 | as ArrayRef[MembershipSpec()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedMembershipSpec', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::MembershipSpec'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringMembershipSpec', | ||
| 41 | as HashRef[MembershipSpec()]; | ||
| 42 | |||
| 43 | declare 'Management', | ||
| 44 | as (Int | Str); | ||
| 45 | |||
| 46 | declare 'ConfigSync', | ||
| 47 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSync']; | ||
| 48 | |||
| 49 | coerce 'ConfigSync', | ||
| 50 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSync'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedConfigSync', | ||
| 53 | as ArrayRef[ConfigSync()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedConfigSync', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSync'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringConfigSync', | ||
| 59 | as HashRef[ConfigSync()]; | ||
| 60 | |||
| 61 | declare 'GitConfig', | ||
| 62 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::GitConfig']; | ||
| 63 | |||
| 64 | coerce 'GitConfig', | ||
| 65 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::GitConfig'->new($_) }; | ||
| 66 | |||
| 67 | declare 'RepeatedGitConfig', | ||
| 68 | as ArrayRef[GitConfig()]; | ||
| 69 | |||
| 70 | coerce 'RepeatedGitConfig', | ||
| 71 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::GitConfig'->new($_) } @$_ ] }; | ||
| 72 | |||
| 73 | declare 'MapStringGitConfig', | ||
| 74 | as HashRef[GitConfig()]; | ||
| 75 | |||
| 76 | declare 'OciConfig', | ||
| 77 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::OciConfig']; | ||
| 78 | |||
| 79 | coerce 'OciConfig', | ||
| 80 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::OciConfig'->new($_) }; | ||
| 81 | |||
| 82 | declare 'RepeatedOciConfig', | ||
| 83 | as ArrayRef[OciConfig()]; | ||
| 84 | |||
| 85 | coerce 'RepeatedOciConfig', | ||
| 86 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::OciConfig'->new($_) } @$_ ] }; | ||
| 87 | |||
| 88 | declare 'MapStringOciConfig', | ||
| 89 | as HashRef[OciConfig()]; | ||
| 90 | |||
| 91 | declare 'PolicyController', | ||
| 92 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::PolicyController']; | ||
| 93 | |||
| 94 | coerce 'PolicyController', | ||
| 95 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::PolicyController'->new($_) }; | ||
| 96 | |||
| 97 | declare 'RepeatedPolicyController', | ||
| 98 | as ArrayRef[PolicyController()]; | ||
| 99 | |||
| 100 | coerce 'RepeatedPolicyController', | ||
| 101 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::PolicyController'->new($_) } @$_ ] }; | ||
| 102 | |||
| 103 | declare 'MapStringPolicyController', | ||
| 104 | as HashRef[PolicyController()]; | ||
| 105 | |||
| 106 | declare 'HierarchyControllerConfig', | ||
| 107 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::HierarchyControllerConfig']; | ||
| 108 | |||
| 109 | coerce 'HierarchyControllerConfig', | ||
| 110 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::HierarchyControllerConfig'->new($_) }; | ||
| 111 | |||
| 112 | declare 'RepeatedHierarchyControllerConfig', | ||
| 113 | as ArrayRef[HierarchyControllerConfig()]; | ||
| 114 | |||
| 115 | coerce 'RepeatedHierarchyControllerConfig', | ||
| 116 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::HierarchyControllerConfig'->new($_) } @$_ ] }; | ||
| 117 | |||
| 118 | declare 'MapStringHierarchyControllerConfig', | ||
| 119 | as HashRef[HierarchyControllerConfig()]; | ||
| 120 | |||
| 121 | declare 'HierarchyControllerDeploymentState', | ||
| 122 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::HierarchyControllerDeploymentState']; | ||
| 123 | |||
| 124 | coerce 'HierarchyControllerDeploymentState', | ||
| 125 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::HierarchyControllerDeploymentState'->new($_) }; | ||
| 126 | |||
| 127 | declare 'RepeatedHierarchyControllerDeploymentState', | ||
| 128 | as ArrayRef[HierarchyControllerDeploymentState()]; | ||
| 129 | |||
| 130 | coerce 'RepeatedHierarchyControllerDeploymentState', | ||
| 131 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::HierarchyControllerDeploymentState'->new($_) } @$_ ] }; | ||
| 132 | |||
| 133 | declare 'MapStringHierarchyControllerDeploymentState', | ||
| 134 | as HashRef[HierarchyControllerDeploymentState()]; | ||
| 135 | |||
| 136 | declare 'HierarchyControllerVersion', | ||
| 137 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::HierarchyControllerVersion']; | ||
| 138 | |||
| 139 | coerce 'HierarchyControllerVersion', | ||
| 140 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::HierarchyControllerVersion'->new($_) }; | ||
| 141 | |||
| 142 | declare 'RepeatedHierarchyControllerVersion', | ||
| 143 | as ArrayRef[HierarchyControllerVersion()]; | ||
| 144 | |||
| 145 | coerce 'RepeatedHierarchyControllerVersion', | ||
| 146 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::HierarchyControllerVersion'->new($_) } @$_ ] }; | ||
| 147 | |||
| 148 | declare 'MapStringHierarchyControllerVersion', | ||
| 149 | as HashRef[HierarchyControllerVersion()]; | ||
| 150 | |||
| 151 | declare 'HierarchyControllerState', | ||
| 152 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::HierarchyControllerState']; | ||
| 153 | |||
| 154 | coerce 'HierarchyControllerState', | ||
| 155 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::HierarchyControllerState'->new($_) }; | ||
| 156 | |||
| 157 | declare 'RepeatedHierarchyControllerState', | ||
| 158 | as ArrayRef[HierarchyControllerState()]; | ||
| 159 | |||
| 160 | coerce 'RepeatedHierarchyControllerState', | ||
| 161 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::HierarchyControllerState'->new($_) } @$_ ] }; | ||
| 162 | |||
| 163 | declare 'MapStringHierarchyControllerState', | ||
| 164 | as HashRef[HierarchyControllerState()]; | ||
| 165 | |||
| 166 | declare 'OperatorState', | ||
| 167 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::OperatorState']; | ||
| 168 | |||
| 169 | coerce 'OperatorState', | ||
| 170 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::OperatorState'->new($_) }; | ||
| 171 | |||
| 172 | declare 'RepeatedOperatorState', | ||
| 173 | as ArrayRef[OperatorState()]; | ||
| 174 | |||
| 175 | coerce 'RepeatedOperatorState', | ||
| 176 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::OperatorState'->new($_) } @$_ ] }; | ||
| 177 | |||
| 178 | declare 'MapStringOperatorState', | ||
| 179 | as HashRef[OperatorState()]; | ||
| 180 | |||
| 181 | declare 'InstallError', | ||
| 182 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::InstallError']; | ||
| 183 | |||
| 184 | coerce 'InstallError', | ||
| 185 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::InstallError'->new($_) }; | ||
| 186 | |||
| 187 | declare 'RepeatedInstallError', | ||
| 188 | as ArrayRef[InstallError()]; | ||
| 189 | |||
| 190 | coerce 'RepeatedInstallError', | ||
| 191 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::InstallError'->new($_) } @$_ ] }; | ||
| 192 | |||
| 193 | declare 'MapStringInstallError', | ||
| 194 | as HashRef[InstallError()]; | ||
| 195 | |||
| 196 | declare 'ConfigSyncState', | ||
| 197 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSyncState']; | ||
| 198 | |||
| 199 | coerce 'ConfigSyncState', | ||
| 200 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSyncState'->new($_) }; | ||
| 201 | |||
| 202 | declare 'RepeatedConfigSyncState', | ||
| 203 | as ArrayRef[ConfigSyncState()]; | ||
| 204 | |||
| 205 | coerce 'RepeatedConfigSyncState', | ||
| 206 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSyncState'->new($_) } @$_ ] }; | ||
| 207 | |||
| 208 | declare 'MapStringConfigSyncState', | ||
| 209 | as HashRef[ConfigSyncState()]; | ||
| 210 | |||
| 211 | declare 'CRDState', | ||
| 212 | as (Int | Str); | ||
| 213 | |||
| 214 | declare 'State', | ||
| 215 | as (Int | Str); | ||
| 216 | |||
| 217 | declare 'ConfigSyncError', | ||
| 218 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSyncError']; | ||
| 219 | |||
| 220 | coerce 'ConfigSyncError', | ||
| 221 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSyncError'->new($_) }; | ||
| 222 | |||
| 223 | declare 'RepeatedConfigSyncError', | ||
| 224 | as ArrayRef[ConfigSyncError()]; | ||
| 225 | |||
| 226 | coerce 'RepeatedConfigSyncError', | ||
| 227 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSyncError'->new($_) } @$_ ] }; | ||
| 228 | |||
| 229 | declare 'MapStringConfigSyncError', | ||
| 230 | as HashRef[ConfigSyncError()]; | ||
| 231 | |||
| 232 | declare 'ConfigSyncVersion', | ||
| 233 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSyncVersion']; | ||
| 234 | |||
| 235 | coerce 'ConfigSyncVersion', | ||
| 236 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSyncVersion'->new($_) }; | ||
| 237 | |||
| 238 | declare 'RepeatedConfigSyncVersion', | ||
| 239 | as ArrayRef[ConfigSyncVersion()]; | ||
| 240 | |||
| 241 | coerce 'RepeatedConfigSyncVersion', | ||
| 242 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSyncVersion'->new($_) } @$_ ] }; | ||
| 243 | |||
| 244 | declare 'MapStringConfigSyncVersion', | ||
| 245 | as HashRef[ConfigSyncVersion()]; | ||
| 246 | |||
| 247 | declare 'ConfigSyncDeploymentState', | ||
| 248 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSyncDeploymentState']; | ||
| 249 | |||
| 250 | coerce 'ConfigSyncDeploymentState', | ||
| 251 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSyncDeploymentState'->new($_) }; | ||
| 252 | |||
| 253 | declare 'RepeatedConfigSyncDeploymentState', | ||
| 254 | as ArrayRef[ConfigSyncDeploymentState()]; | ||
| 255 | |||
| 256 | coerce 'RepeatedConfigSyncDeploymentState', | ||
| 257 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSyncDeploymentState'->new($_) } @$_ ] }; | ||
| 258 | |||
| 259 | declare 'MapStringConfigSyncDeploymentState', | ||
| 260 | as HashRef[ConfigSyncDeploymentState()]; | ||
| 261 | |||
| 262 | declare 'SyncState', | ||
| 263 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::SyncState']; | ||
| 264 | |||
| 265 | coerce 'SyncState', | ||
| 266 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::SyncState'->new($_) }; | ||
| 267 | |||
| 268 | declare 'RepeatedSyncState', | ||
| 269 | as ArrayRef[SyncState()]; | ||
| 270 | |||
| 271 | coerce 'RepeatedSyncState', | ||
| 272 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::SyncState'->new($_) } @$_ ] }; | ||
| 273 | |||
| 274 | declare 'MapStringSyncState', | ||
| 275 | as HashRef[SyncState()]; | ||
| 276 | |||
| 277 | declare 'SyncCode', | ||
| 278 | as (Int | Str); | ||
| 279 | |||
| 280 | declare 'SyncError', | ||
| 281 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::SyncError']; | ||
| 282 | |||
| 283 | coerce 'SyncError', | ||
| 284 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::SyncError'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedSyncError', | ||
| 287 | as ArrayRef[SyncError()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedSyncError', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::SyncError'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringSyncError', | ||
| 293 | as HashRef[SyncError()]; | ||
| 294 | |||
| 295 | declare 'ErrorResource', | ||
| 296 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ErrorResource']; | ||
| 297 | |||
| 298 | coerce 'ErrorResource', | ||
| 299 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ErrorResource'->new($_) }; | ||
| 300 | |||
| 301 | declare 'RepeatedErrorResource', | ||
| 302 | as ArrayRef[ErrorResource()]; | ||
| 303 | |||
| 304 | coerce 'RepeatedErrorResource', | ||
| 305 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ErrorResource'->new($_) } @$_ ] }; | ||
| 306 | |||
| 307 | declare 'MapStringErrorResource', | ||
| 308 | as HashRef[ErrorResource()]; | ||
| 309 | |||
| 310 | declare 'GroupVersionKind', | ||
| 311 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::GroupVersionKind']; | ||
| 312 | |||
| 313 | coerce 'GroupVersionKind', | ||
| 314 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::GroupVersionKind'->new($_) }; | ||
| 315 | |||
| 316 | declare 'RepeatedGroupVersionKind', | ||
| 317 | as ArrayRef[GroupVersionKind()]; | ||
| 318 | |||
| 319 | coerce 'RepeatedGroupVersionKind', | ||
| 320 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::GroupVersionKind'->new($_) } @$_ ] }; | ||
| 321 | |||
| 322 | declare 'MapStringGroupVersionKind', | ||
| 323 | as HashRef[GroupVersionKind()]; | ||
| 324 | |||
| 325 | declare 'PolicyControllerState', | ||
| 326 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::PolicyControllerState']; | ||
| 327 | |||
| 328 | coerce 'PolicyControllerState', | ||
| 329 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::PolicyControllerState'->new($_) }; | ||
| 330 | |||
| 331 | declare 'RepeatedPolicyControllerState', | ||
| 332 | as ArrayRef[PolicyControllerState()]; | ||
| 333 | |||
| 334 | coerce 'RepeatedPolicyControllerState', | ||
| 335 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::PolicyControllerState'->new($_) } @$_ ] }; | ||
| 336 | |||
| 337 | declare 'MapStringPolicyControllerState', | ||
| 338 | as HashRef[PolicyControllerState()]; | ||
| 339 | |||
| 340 | declare 'PolicyControllerVersion', | ||
| 341 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::PolicyControllerVersion']; | ||
| 342 | |||
| 343 | coerce 'PolicyControllerVersion', | ||
| 344 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::PolicyControllerVersion'->new($_) }; | ||
| 345 | |||
| 346 | declare 'RepeatedPolicyControllerVersion', | ||
| 347 | as ArrayRef[PolicyControllerVersion()]; | ||
| 348 | |||
| 349 | coerce 'RepeatedPolicyControllerVersion', | ||
| 350 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::PolicyControllerVersion'->new($_) } @$_ ] }; | ||
| 351 | |||
| 352 | declare 'MapStringPolicyControllerVersion', | ||
| 353 | as HashRef[PolicyControllerVersion()]; | ||
| 354 | |||
| 355 | declare 'GatekeeperDeploymentState', | ||
| 356 | as InstanceOf['Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::GatekeeperDeploymentState']; | ||
| 357 | |||
| 358 | coerce 'GatekeeperDeploymentState', | ||
| 359 | from HashRef, via { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::GatekeeperDeploymentState'->new($_) }; | ||
| 360 | |||
| 361 | declare 'RepeatedGatekeeperDeploymentState', | ||
| 362 | as ArrayRef[GatekeeperDeploymentState()]; | ||
| 363 | |||
| 364 | coerce 'RepeatedGatekeeperDeploymentState', | ||
| 365 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::GatekeeperDeploymentState'->new($_) } @$_ ] }; | ||
| 366 | |||
| 367 | declare 'MapStringGatekeeperDeploymentState', | ||
| 368 | as HashRef[GatekeeperDeploymentState()]; | ||
| 369 | |||
| 370 | 1; | ||
| 371 | |||
| 372 | __END__ |