| 1 | package Google::Cloud::Designcenter::V1::Deployment::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 'DeploymentSource', | ||
| 11 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::DeploymentSource']; | ||
| 12 | |||
| 13 | coerce 'DeploymentSource', | ||
| 14 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::DeploymentSource'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedDeploymentSource', | ||
| 17 | as ArrayRef[DeploymentSource()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedDeploymentSource', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::DeploymentSource'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringDeploymentSource', | ||
| 23 | as HashRef[DeploymentSource()]; | ||
| 24 | |||
| 25 | declare 'DeploymentError', | ||
| 26 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::DeploymentError']; | ||
| 27 | |||
| 28 | coerce 'DeploymentError', | ||
| 29 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::DeploymentError'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedDeploymentError', | ||
| 32 | as ArrayRef[DeploymentError()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedDeploymentError', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::DeploymentError'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringDeploymentError', | ||
| 38 | as HashRef[DeploymentError()]; | ||
| 39 | |||
| 40 | declare 'ErrorType', | ||
| 41 | as (Int | Str); | ||
| 42 | |||
| 43 | declare 'DeploymentFailureResolutionInfo', | ||
| 44 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::DeploymentFailureResolutionInfo']; | ||
| 45 | |||
| 46 | coerce 'DeploymentFailureResolutionInfo', | ||
| 47 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::DeploymentFailureResolutionInfo'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedDeploymentFailureResolutionInfo', | ||
| 50 | as ArrayRef[DeploymentFailureResolutionInfo()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedDeploymentFailureResolutionInfo', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::DeploymentFailureResolutionInfo'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringDeploymentFailureResolutionInfo', | ||
| 56 | as HashRef[DeploymentFailureResolutionInfo()]; | ||
| 57 | |||
| 58 | declare 'ApplicationOutputParameters', | ||
| 59 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::ApplicationOutputParameters']; | ||
| 60 | |||
| 61 | coerce 'ApplicationOutputParameters', | ||
| 62 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::ApplicationOutputParameters'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedApplicationOutputParameters', | ||
| 65 | as ArrayRef[ApplicationOutputParameters()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedApplicationOutputParameters', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::ApplicationOutputParameters'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringApplicationOutputParameters', | ||
| 71 | as HashRef[ApplicationOutputParameters()]; | ||
| 72 | |||
| 73 | declare 'HelmApplicationOutputParameters', | ||
| 74 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::HelmApplicationOutputParameters']; | ||
| 75 | |||
| 76 | coerce 'HelmApplicationOutputParameters', | ||
| 77 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::HelmApplicationOutputParameters'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedHelmApplicationOutputParameters', | ||
| 80 | as ArrayRef[HelmApplicationOutputParameters()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedHelmApplicationOutputParameters', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::HelmApplicationOutputParameters'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringHelmApplicationOutputParameters', | ||
| 86 | as HashRef[HelmApplicationOutputParameters()]; | ||
| 87 | |||
| 88 | declare 'UpdatedTemplateRevision', | ||
| 89 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::UpdatedTemplateRevision']; | ||
| 90 | |||
| 91 | coerce 'UpdatedTemplateRevision', | ||
| 92 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::UpdatedTemplateRevision'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedUpdatedTemplateRevision', | ||
| 95 | as ArrayRef[UpdatedTemplateRevision()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedUpdatedTemplateRevision', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::UpdatedTemplateRevision'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringUpdatedTemplateRevision', | ||
| 101 | as HashRef[UpdatedTemplateRevision()]; | ||
| 102 | |||
| 103 | declare 'ConnectionConfig', | ||
| 104 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::ConnectionConfig']; | ||
| 105 | |||
| 106 | coerce 'ConnectionConfig', | ||
| 107 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::ConnectionConfig'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedConnectionConfig', | ||
| 110 | as ArrayRef[ConnectionConfig()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedConnectionConfig', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::ConnectionConfig'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringConnectionConfig', | ||
| 116 | as HashRef[ConnectionConfig()]; | ||
| 117 | |||
| 118 | declare 'DeploymentTarget', | ||
| 119 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::DeploymentTarget']; | ||
| 120 | |||
| 121 | coerce 'DeploymentTarget', | ||
| 122 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::DeploymentTarget'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedDeploymentTarget', | ||
| 125 | as ArrayRef[DeploymentTarget()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedDeploymentTarget', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::DeploymentTarget'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringDeploymentTarget', | ||
| 131 | as HashRef[DeploymentTarget()]; | ||
| 132 | |||
| 133 | declare 'GKEDeploymentTarget', | ||
| 134 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::GKEDeploymentTarget']; | ||
| 135 | |||
| 136 | coerce 'GKEDeploymentTarget', | ||
| 137 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::GKEDeploymentTarget'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedGKEDeploymentTarget', | ||
| 140 | as ArrayRef[GKEDeploymentTarget()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedGKEDeploymentTarget', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::GKEDeploymentTarget'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringGKEDeploymentTarget', | ||
| 146 | as HashRef[GKEDeploymentTarget()]; | ||
| 147 | |||
| 148 | declare 'CompositeApplicationParameters', | ||
| 149 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::CompositeApplicationParameters']; | ||
| 150 | |||
| 151 | coerce 'CompositeApplicationParameters', | ||
| 152 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::CompositeApplicationParameters'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedCompositeApplicationParameters', | ||
| 155 | as ArrayRef[CompositeApplicationParameters()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedCompositeApplicationParameters', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::CompositeApplicationParameters'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringCompositeApplicationParameters', | ||
| 161 | as HashRef[CompositeApplicationParameters()]; | ||
| 162 | |||
| 163 | declare 'ServiceAccountMapEntry', | ||
| 164 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::CompositeApplicationParameters::ServiceAccountMapEntry']; | ||
| 165 | |||
| 166 | coerce 'ServiceAccountMapEntry', | ||
| 167 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::CompositeApplicationParameters::ServiceAccountMapEntry'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedServiceAccountMapEntry', | ||
| 170 | as ArrayRef[ServiceAccountMapEntry()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedServiceAccountMapEntry', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::CompositeApplicationParameters::ServiceAccountMapEntry'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringServiceAccountMapEntry', | ||
| 176 | as HashRef[ServiceAccountMapEntry()]; | ||
| 177 | |||
| 178 | declare 'ProjectParametersMapEntry', | ||
| 179 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::CompositeApplicationParameters::ProjectParametersMapEntry']; | ||
| 180 | |||
| 181 | coerce 'ProjectParametersMapEntry', | ||
| 182 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::CompositeApplicationParameters::ProjectParametersMapEntry'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedProjectParametersMapEntry', | ||
| 185 | as ArrayRef[ProjectParametersMapEntry()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedProjectParametersMapEntry', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::CompositeApplicationParameters::ProjectParametersMapEntry'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringProjectParametersMapEntry', | ||
| 191 | as HashRef[ProjectParametersMapEntry()]; | ||
| 192 | |||
| 193 | declare 'ProjectParametersList', | ||
| 194 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::ProjectParametersList']; | ||
| 195 | |||
| 196 | coerce 'ProjectParametersList', | ||
| 197 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::ProjectParametersList'->new($_) }; | ||
| 198 | |||
| 199 | declare 'RepeatedProjectParametersList', | ||
| 200 | as ArrayRef[ProjectParametersList()]; | ||
| 201 | |||
| 202 | coerce 'RepeatedProjectParametersList', | ||
| 203 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::ProjectParametersList'->new($_) } @$_ ] }; | ||
| 204 | |||
| 205 | declare 'MapStringProjectParametersList', | ||
| 206 | as HashRef[ProjectParametersList()]; | ||
| 207 | |||
| 208 | declare 'DeploymentGroupMetadata', | ||
| 209 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::DeploymentGroupMetadata']; | ||
| 210 | |||
| 211 | coerce 'DeploymentGroupMetadata', | ||
| 212 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::DeploymentGroupMetadata'->new($_) }; | ||
| 213 | |||
| 214 | declare 'RepeatedDeploymentGroupMetadata', | ||
| 215 | as ArrayRef[DeploymentGroupMetadata()]; | ||
| 216 | |||
| 217 | coerce 'RepeatedDeploymentGroupMetadata', | ||
| 218 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::DeploymentGroupMetadata'->new($_) } @$_ ] }; | ||
| 219 | |||
| 220 | declare 'MapStringDeploymentGroupMetadata', | ||
| 221 | as HashRef[DeploymentGroupMetadata()]; | ||
| 222 | |||
| 223 | declare 'DeploymentMetadataMapEntry', | ||
| 224 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::DeploymentGroupMetadata::DeploymentMetadataMapEntry']; | ||
| 225 | |||
| 226 | coerce 'DeploymentMetadataMapEntry', | ||
| 227 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::DeploymentGroupMetadata::DeploymentMetadataMapEntry'->new($_) }; | ||
| 228 | |||
| 229 | declare 'RepeatedDeploymentMetadataMapEntry', | ||
| 230 | as ArrayRef[DeploymentMetadataMapEntry()]; | ||
| 231 | |||
| 232 | coerce 'RepeatedDeploymentMetadataMapEntry', | ||
| 233 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::DeploymentGroupMetadata::DeploymentMetadataMapEntry'->new($_) } @$_ ] }; | ||
| 234 | |||
| 235 | declare 'MapStringDeploymentMetadataMapEntry', | ||
| 236 | as HashRef[DeploymentMetadataMapEntry()]; | ||
| 237 | |||
| 238 | declare 'DeploymentMetadata', | ||
| 239 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::DeploymentMetadata']; | ||
| 240 | |||
| 241 | coerce 'DeploymentMetadata', | ||
| 242 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::DeploymentMetadata'->new($_) }; | ||
| 243 | |||
| 244 | declare 'RepeatedDeploymentMetadata', | ||
| 245 | as ArrayRef[DeploymentMetadata()]; | ||
| 246 | |||
| 247 | coerce 'RepeatedDeploymentMetadata', | ||
| 248 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::DeploymentMetadata'->new($_) } @$_ ] }; | ||
| 249 | |||
| 250 | declare 'MapStringDeploymentMetadata', | ||
| 251 | as HashRef[DeploymentMetadata()]; | ||
| 252 | |||
| 253 | declare 'ComponentOutputParameters', | ||
| 254 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::ComponentOutputParameters']; | ||
| 255 | |||
| 256 | coerce 'ComponentOutputParameters', | ||
| 257 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::ComponentOutputParameters'->new($_) }; | ||
| 258 | |||
| 259 | declare 'RepeatedComponentOutputParameters', | ||
| 260 | as ArrayRef[ComponentOutputParameters()]; | ||
| 261 | |||
| 262 | coerce 'RepeatedComponentOutputParameters', | ||
| 263 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::ComponentOutputParameters'->new($_) } @$_ ] }; | ||
| 264 | |||
| 265 | declare 'MapStringComponentOutputParameters', | ||
| 266 | as HashRef[ComponentOutputParameters()]; | ||
| 267 | |||
| 268 | declare 'ProjectParameters', | ||
| 269 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::ProjectParameters']; | ||
| 270 | |||
| 271 | coerce 'ProjectParameters', | ||
| 272 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::ProjectParameters'->new($_) }; | ||
| 273 | |||
| 274 | declare 'RepeatedProjectParameters', | ||
| 275 | as ArrayRef[ProjectParameters()]; | ||
| 276 | |||
| 277 | coerce 'RepeatedProjectParameters', | ||
| 278 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::ProjectParameters'->new($_) } @$_ ] }; | ||
| 279 | |||
| 280 | declare 'MapStringProjectParameters', | ||
| 281 | as HashRef[ProjectParameters()]; | ||
| 282 | |||
| 283 | declare 'ComponentParameters', | ||
| 284 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::ComponentParameters']; | ||
| 285 | |||
| 286 | coerce 'ComponentParameters', | ||
| 287 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::ComponentParameters'->new($_) }; | ||
| 288 | |||
| 289 | declare 'RepeatedComponentParameters', | ||
| 290 | as ArrayRef[ComponentParameters()]; | ||
| 291 | |||
| 292 | coerce 'RepeatedComponentParameters', | ||
| 293 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::ComponentParameters'->new($_) } @$_ ] }; | ||
| 294 | |||
| 295 | declare 'MapStringComponentParameters', | ||
| 296 | as HashRef[ComponentParameters()]; | ||
| 297 | |||
| 298 | declare 'State', | ||
| 299 | as (Int | Str); | ||
| 300 | |||
| 301 | declare 'ComponentApplicationInfo', | ||
| 302 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::ComponentApplicationInfo']; | ||
| 303 | |||
| 304 | coerce 'ComponentApplicationInfo', | ||
| 305 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::ComponentApplicationInfo'->new($_) }; | ||
| 306 | |||
| 307 | declare 'RepeatedComponentApplicationInfo', | ||
| 308 | as ArrayRef[ComponentApplicationInfo()]; | ||
| 309 | |||
| 310 | coerce 'RepeatedComponentApplicationInfo', | ||
| 311 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::ComponentApplicationInfo'->new($_) } @$_ ] }; | ||
| 312 | |||
| 313 | declare 'MapStringComponentApplicationInfo', | ||
| 314 | as HashRef[ComponentApplicationInfo()]; | ||
| 315 | |||
| 316 | declare 'RoleInfo', | ||
| 317 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::RoleInfo']; | ||
| 318 | |||
| 319 | coerce 'RoleInfo', | ||
| 320 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::RoleInfo'->new($_) }; | ||
| 321 | |||
| 322 | declare 'RepeatedRoleInfo', | ||
| 323 | as ArrayRef[RoleInfo()]; | ||
| 324 | |||
| 325 | coerce 'RepeatedRoleInfo', | ||
| 326 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::RoleInfo'->new($_) } @$_ ] }; | ||
| 327 | |||
| 328 | declare 'MapStringRoleInfo', | ||
| 329 | as HashRef[RoleInfo()]; | ||
| 330 | |||
| 331 | declare 'ApiInfo', | ||
| 332 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::ApiInfo']; | ||
| 333 | |||
| 334 | coerce 'ApiInfo', | ||
| 335 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::ApiInfo'->new($_) }; | ||
| 336 | |||
| 337 | declare 'RepeatedApiInfo', | ||
| 338 | as ArrayRef[ApiInfo()]; | ||
| 339 | |||
| 340 | coerce 'RepeatedApiInfo', | ||
| 341 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::ApiInfo'->new($_) } @$_ ] }; | ||
| 342 | |||
| 343 | declare 'MapStringApiInfo', | ||
| 344 | as HashRef[ApiInfo()]; | ||
| 345 | |||
| 346 | declare 'RolesAndApisConfig', | ||
| 347 | as InstanceOf['Google::Cloud::Designcenter::V1::Deployment::RolesAndApisConfig']; | ||
| 348 | |||
| 349 | coerce 'RolesAndApisConfig', | ||
| 350 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Deployment::RolesAndApisConfig'->new($_) }; | ||
| 351 | |||
| 352 | declare 'RepeatedRolesAndApisConfig', | ||
| 353 | as ArrayRef[RolesAndApisConfig()]; | ||
| 354 | |||
| 355 | coerce 'RepeatedRolesAndApisConfig', | ||
| 356 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Deployment::RolesAndApisConfig'->new($_) } @$_ ] }; | ||
| 357 | |||
| 358 | declare 'MapStringRolesAndApisConfig', | ||
| 359 | as HashRef[RolesAndApisConfig()]; | ||
| 360 | |||
| 361 | 1; | ||
| 362 | |||
| 363 | __END__ |