| 1 | package Google::Cloud::Clouddms::V1::ClouddmsResources::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 'NetworkArchitecture', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'DatabaseEngine', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'DatabaseProvider', | ||
| 17 | as (Int | Str); | ||
| 18 | |||
| 19 | declare 'SslConfig', | ||
| 20 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::SslConfig']; | ||
| 21 | |||
| 22 | coerce 'SslConfig', | ||
| 23 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::SslConfig'->new($_) }; | ||
| 24 | |||
| 25 | declare 'RepeatedSslConfig', | ||
| 26 | as ArrayRef[SslConfig()]; | ||
| 27 | |||
| 28 | coerce 'RepeatedSslConfig', | ||
| 29 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::SslConfig'->new($_) } @$_ ] }; | ||
| 30 | |||
| 31 | declare 'MapStringSslConfig', | ||
| 32 | as HashRef[SslConfig()]; | ||
| 33 | |||
| 34 | declare 'SslType', | ||
| 35 | as (Int | Str); | ||
| 36 | |||
| 37 | declare 'MySqlConnectionProfile', | ||
| 38 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::MySqlConnectionProfile']; | ||
| 39 | |||
| 40 | coerce 'MySqlConnectionProfile', | ||
| 41 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::MySqlConnectionProfile'->new($_) }; | ||
| 42 | |||
| 43 | declare 'RepeatedMySqlConnectionProfile', | ||
| 44 | as ArrayRef[MySqlConnectionProfile()]; | ||
| 45 | |||
| 46 | coerce 'RepeatedMySqlConnectionProfile', | ||
| 47 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::MySqlConnectionProfile'->new($_) } @$_ ] }; | ||
| 48 | |||
| 49 | declare 'MapStringMySqlConnectionProfile', | ||
| 50 | as HashRef[MySqlConnectionProfile()]; | ||
| 51 | |||
| 52 | declare 'PostgreSqlConnectionProfile', | ||
| 53 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::PostgreSqlConnectionProfile']; | ||
| 54 | |||
| 55 | coerce 'PostgreSqlConnectionProfile', | ||
| 56 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::PostgreSqlConnectionProfile'->new($_) }; | ||
| 57 | |||
| 58 | declare 'RepeatedPostgreSqlConnectionProfile', | ||
| 59 | as ArrayRef[PostgreSqlConnectionProfile()]; | ||
| 60 | |||
| 61 | coerce 'RepeatedPostgreSqlConnectionProfile', | ||
| 62 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::PostgreSqlConnectionProfile'->new($_) } @$_ ] }; | ||
| 63 | |||
| 64 | declare 'MapStringPostgreSqlConnectionProfile', | ||
| 65 | as HashRef[PostgreSqlConnectionProfile()]; | ||
| 66 | |||
| 67 | declare 'OracleConnectionProfile', | ||
| 68 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::OracleConnectionProfile']; | ||
| 69 | |||
| 70 | coerce 'OracleConnectionProfile', | ||
| 71 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::OracleConnectionProfile'->new($_) }; | ||
| 72 | |||
| 73 | declare 'RepeatedOracleConnectionProfile', | ||
| 74 | as ArrayRef[OracleConnectionProfile()]; | ||
| 75 | |||
| 76 | coerce 'RepeatedOracleConnectionProfile', | ||
| 77 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::OracleConnectionProfile'->new($_) } @$_ ] }; | ||
| 78 | |||
| 79 | declare 'MapStringOracleConnectionProfile', | ||
| 80 | as HashRef[OracleConnectionProfile()]; | ||
| 81 | |||
| 82 | declare 'CloudSqlConnectionProfile', | ||
| 83 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlConnectionProfile']; | ||
| 84 | |||
| 85 | coerce 'CloudSqlConnectionProfile', | ||
| 86 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlConnectionProfile'->new($_) }; | ||
| 87 | |||
| 88 | declare 'RepeatedCloudSqlConnectionProfile', | ||
| 89 | as ArrayRef[CloudSqlConnectionProfile()]; | ||
| 90 | |||
| 91 | coerce 'RepeatedCloudSqlConnectionProfile', | ||
| 92 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlConnectionProfile'->new($_) } @$_ ] }; | ||
| 93 | |||
| 94 | declare 'MapStringCloudSqlConnectionProfile', | ||
| 95 | as HashRef[CloudSqlConnectionProfile()]; | ||
| 96 | |||
| 97 | declare 'AlloyDbConnectionProfile', | ||
| 98 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbConnectionProfile']; | ||
| 99 | |||
| 100 | coerce 'AlloyDbConnectionProfile', | ||
| 101 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbConnectionProfile'->new($_) }; | ||
| 102 | |||
| 103 | declare 'RepeatedAlloyDbConnectionProfile', | ||
| 104 | as ArrayRef[AlloyDbConnectionProfile()]; | ||
| 105 | |||
| 106 | coerce 'RepeatedAlloyDbConnectionProfile', | ||
| 107 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbConnectionProfile'->new($_) } @$_ ] }; | ||
| 108 | |||
| 109 | declare 'MapStringAlloyDbConnectionProfile', | ||
| 110 | as HashRef[AlloyDbConnectionProfile()]; | ||
| 111 | |||
| 112 | declare 'SqlAclEntry', | ||
| 113 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::SqlAclEntry']; | ||
| 114 | |||
| 115 | coerce 'SqlAclEntry', | ||
| 116 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::SqlAclEntry'->new($_) }; | ||
| 117 | |||
| 118 | declare 'RepeatedSqlAclEntry', | ||
| 119 | as ArrayRef[SqlAclEntry()]; | ||
| 120 | |||
| 121 | coerce 'RepeatedSqlAclEntry', | ||
| 122 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::SqlAclEntry'->new($_) } @$_ ] }; | ||
| 123 | |||
| 124 | declare 'MapStringSqlAclEntry', | ||
| 125 | as HashRef[SqlAclEntry()]; | ||
| 126 | |||
| 127 | declare 'SqlIpConfig', | ||
| 128 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::SqlIpConfig']; | ||
| 129 | |||
| 130 | coerce 'SqlIpConfig', | ||
| 131 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::SqlIpConfig'->new($_) }; | ||
| 132 | |||
| 133 | declare 'RepeatedSqlIpConfig', | ||
| 134 | as ArrayRef[SqlIpConfig()]; | ||
| 135 | |||
| 136 | coerce 'RepeatedSqlIpConfig', | ||
| 137 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::SqlIpConfig'->new($_) } @$_ ] }; | ||
| 138 | |||
| 139 | declare 'MapStringSqlIpConfig', | ||
| 140 | as HashRef[SqlIpConfig()]; | ||
| 141 | |||
| 142 | declare 'CloudSqlSettings', | ||
| 143 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlSettings']; | ||
| 144 | |||
| 145 | coerce 'CloudSqlSettings', | ||
| 146 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlSettings'->new($_) }; | ||
| 147 | |||
| 148 | declare 'RepeatedCloudSqlSettings', | ||
| 149 | as ArrayRef[CloudSqlSettings()]; | ||
| 150 | |||
| 151 | coerce 'RepeatedCloudSqlSettings', | ||
| 152 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlSettings'->new($_) } @$_ ] }; | ||
| 153 | |||
| 154 | declare 'MapStringCloudSqlSettings', | ||
| 155 | as HashRef[CloudSqlSettings()]; | ||
| 156 | |||
| 157 | declare 'SqlActivationPolicy', | ||
| 158 | as (Int | Str); | ||
| 159 | |||
| 160 | declare 'SqlDataDiskType', | ||
| 161 | as (Int | Str); | ||
| 162 | |||
| 163 | declare 'SqlDatabaseVersion', | ||
| 164 | as (Int | Str); | ||
| 165 | |||
| 166 | declare 'SqlAvailabilityType', | ||
| 167 | as (Int | Str); | ||
| 168 | |||
| 169 | declare 'Edition', | ||
| 170 | as (Int | Str); | ||
| 171 | |||
| 172 | declare 'UserLabelsEntry', | ||
| 173 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlSettings::UserLabelsEntry']; | ||
| 174 | |||
| 175 | coerce 'UserLabelsEntry', | ||
| 176 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlSettings::UserLabelsEntry'->new($_) }; | ||
| 177 | |||
| 178 | declare 'RepeatedUserLabelsEntry', | ||
| 179 | as ArrayRef[UserLabelsEntry()]; | ||
| 180 | |||
| 181 | coerce 'RepeatedUserLabelsEntry', | ||
| 182 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlSettings::UserLabelsEntry'->new($_) } @$_ ] }; | ||
| 183 | |||
| 184 | declare 'MapStringUserLabelsEntry', | ||
| 185 | as HashRef[UserLabelsEntry()]; | ||
| 186 | |||
| 187 | declare 'DatabaseFlagsEntry', | ||
| 188 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlSettings::DatabaseFlagsEntry']; | ||
| 189 | |||
| 190 | coerce 'DatabaseFlagsEntry', | ||
| 191 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlSettings::DatabaseFlagsEntry'->new($_) }; | ||
| 192 | |||
| 193 | declare 'RepeatedDatabaseFlagsEntry', | ||
| 194 | as ArrayRef[DatabaseFlagsEntry()]; | ||
| 195 | |||
| 196 | coerce 'RepeatedDatabaseFlagsEntry', | ||
| 197 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::CloudSqlSettings::DatabaseFlagsEntry'->new($_) } @$_ ] }; | ||
| 198 | |||
| 199 | declare 'MapStringDatabaseFlagsEntry', | ||
| 200 | as HashRef[DatabaseFlagsEntry()]; | ||
| 201 | |||
| 202 | declare 'AlloyDbSettings', | ||
| 203 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings']; | ||
| 204 | |||
| 205 | coerce 'AlloyDbSettings', | ||
| 206 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings'->new($_) }; | ||
| 207 | |||
| 208 | declare 'RepeatedAlloyDbSettings', | ||
| 209 | as ArrayRef[AlloyDbSettings()]; | ||
| 210 | |||
| 211 | coerce 'RepeatedAlloyDbSettings', | ||
| 212 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings'->new($_) } @$_ ] }; | ||
| 213 | |||
| 214 | declare 'MapStringAlloyDbSettings', | ||
| 215 | as HashRef[AlloyDbSettings()]; | ||
| 216 | |||
| 217 | declare 'UserPassword', | ||
| 218 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::UserPassword']; | ||
| 219 | |||
| 220 | coerce 'UserPassword', | ||
| 221 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::UserPassword'->new($_) }; | ||
| 222 | |||
| 223 | declare 'RepeatedUserPassword', | ||
| 224 | as ArrayRef[UserPassword()]; | ||
| 225 | |||
| 226 | coerce 'RepeatedUserPassword', | ||
| 227 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::UserPassword'->new($_) } @$_ ] }; | ||
| 228 | |||
| 229 | declare 'MapStringUserPassword', | ||
| 230 | as HashRef[UserPassword()]; | ||
| 231 | |||
| 232 | declare 'PrimaryInstanceSettings', | ||
| 233 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::PrimaryInstanceSettings']; | ||
| 234 | |||
| 235 | coerce 'PrimaryInstanceSettings', | ||
| 236 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::PrimaryInstanceSettings'->new($_) }; | ||
| 237 | |||
| 238 | declare 'RepeatedPrimaryInstanceSettings', | ||
| 239 | as ArrayRef[PrimaryInstanceSettings()]; | ||
| 240 | |||
| 241 | coerce 'RepeatedPrimaryInstanceSettings', | ||
| 242 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::PrimaryInstanceSettings'->new($_) } @$_ ] }; | ||
| 243 | |||
| 244 | declare 'MapStringPrimaryInstanceSettings', | ||
| 245 | as HashRef[PrimaryInstanceSettings()]; | ||
| 246 | |||
| 247 | declare 'MachineConfig', | ||
| 248 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::PrimaryInstanceSettings::MachineConfig']; | ||
| 249 | |||
| 250 | coerce 'MachineConfig', | ||
| 251 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::PrimaryInstanceSettings::MachineConfig'->new($_) }; | ||
| 252 | |||
| 253 | declare 'RepeatedMachineConfig', | ||
| 254 | as ArrayRef[MachineConfig()]; | ||
| 255 | |||
| 256 | coerce 'RepeatedMachineConfig', | ||
| 257 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::PrimaryInstanceSettings::MachineConfig'->new($_) } @$_ ] }; | ||
| 258 | |||
| 259 | declare 'MapStringMachineConfig', | ||
| 260 | as HashRef[MachineConfig()]; | ||
| 261 | |||
| 262 | declare 'DatabaseFlagsEntry', | ||
| 263 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::PrimaryInstanceSettings::DatabaseFlagsEntry']; | ||
| 264 | |||
| 265 | coerce 'DatabaseFlagsEntry', | ||
| 266 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::PrimaryInstanceSettings::DatabaseFlagsEntry'->new($_) }; | ||
| 267 | |||
| 268 | declare 'RepeatedDatabaseFlagsEntry', | ||
| 269 | as ArrayRef[DatabaseFlagsEntry()]; | ||
| 270 | |||
| 271 | coerce 'RepeatedDatabaseFlagsEntry', | ||
| 272 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::PrimaryInstanceSettings::DatabaseFlagsEntry'->new($_) } @$_ ] }; | ||
| 273 | |||
| 274 | declare 'MapStringDatabaseFlagsEntry', | ||
| 275 | as HashRef[DatabaseFlagsEntry()]; | ||
| 276 | |||
| 277 | declare 'LabelsEntry', | ||
| 278 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::PrimaryInstanceSettings::LabelsEntry']; | ||
| 279 | |||
| 280 | coerce 'LabelsEntry', | ||
| 281 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::PrimaryInstanceSettings::LabelsEntry'->new($_) }; | ||
| 282 | |||
| 283 | declare 'RepeatedLabelsEntry', | ||
| 284 | as ArrayRef[LabelsEntry()]; | ||
| 285 | |||
| 286 | coerce 'RepeatedLabelsEntry', | ||
| 287 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::PrimaryInstanceSettings::LabelsEntry'->new($_) } @$_ ] }; | ||
| 288 | |||
| 289 | declare 'MapStringLabelsEntry', | ||
| 290 | as HashRef[LabelsEntry()]; | ||
| 291 | |||
| 292 | declare 'EncryptionConfig', | ||
| 293 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::EncryptionConfig']; | ||
| 294 | |||
| 295 | coerce 'EncryptionConfig', | ||
| 296 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::EncryptionConfig'->new($_) }; | ||
| 297 | |||
| 298 | declare 'RepeatedEncryptionConfig', | ||
| 299 | as ArrayRef[EncryptionConfig()]; | ||
| 300 | |||
| 301 | coerce 'RepeatedEncryptionConfig', | ||
| 302 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::EncryptionConfig'->new($_) } @$_ ] }; | ||
| 303 | |||
| 304 | declare 'MapStringEncryptionConfig', | ||
| 305 | as HashRef[EncryptionConfig()]; | ||
| 306 | |||
| 307 | declare 'LabelsEntry', | ||
| 308 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::LabelsEntry']; | ||
| 309 | |||
| 310 | coerce 'LabelsEntry', | ||
| 311 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::LabelsEntry'->new($_) }; | ||
| 312 | |||
| 313 | declare 'RepeatedLabelsEntry', | ||
| 314 | as ArrayRef[LabelsEntry()]; | ||
| 315 | |||
| 316 | coerce 'RepeatedLabelsEntry', | ||
| 317 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::AlloyDbSettings::LabelsEntry'->new($_) } @$_ ] }; | ||
| 318 | |||
| 319 | declare 'MapStringLabelsEntry', | ||
| 320 | as HashRef[LabelsEntry()]; | ||
| 321 | |||
| 322 | declare 'StaticIpConnectivity', | ||
| 323 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::StaticIpConnectivity']; | ||
| 324 | |||
| 325 | coerce 'StaticIpConnectivity', | ||
| 326 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::StaticIpConnectivity'->new($_) }; | ||
| 327 | |||
| 328 | declare 'RepeatedStaticIpConnectivity', | ||
| 329 | as ArrayRef[StaticIpConnectivity()]; | ||
| 330 | |||
| 331 | coerce 'RepeatedStaticIpConnectivity', | ||
| 332 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::StaticIpConnectivity'->new($_) } @$_ ] }; | ||
| 333 | |||
| 334 | declare 'MapStringStaticIpConnectivity', | ||
| 335 | as HashRef[StaticIpConnectivity()]; | ||
| 336 | |||
| 337 | declare 'PrivateServiceConnectConnectivity', | ||
| 338 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateServiceConnectConnectivity']; | ||
| 339 | |||
| 340 | coerce 'PrivateServiceConnectConnectivity', | ||
| 341 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateServiceConnectConnectivity'->new($_) }; | ||
| 342 | |||
| 343 | declare 'RepeatedPrivateServiceConnectConnectivity', | ||
| 344 | as ArrayRef[PrivateServiceConnectConnectivity()]; | ||
| 345 | |||
| 346 | coerce 'RepeatedPrivateServiceConnectConnectivity', | ||
| 347 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateServiceConnectConnectivity'->new($_) } @$_ ] }; | ||
| 348 | |||
| 349 | declare 'MapStringPrivateServiceConnectConnectivity', | ||
| 350 | as HashRef[PrivateServiceConnectConnectivity()]; | ||
| 351 | |||
| 352 | declare 'ReverseSshConnectivity', | ||
| 353 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::ReverseSshConnectivity']; | ||
| 354 | |||
| 355 | coerce 'ReverseSshConnectivity', | ||
| 356 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::ReverseSshConnectivity'->new($_) }; | ||
| 357 | |||
| 358 | declare 'RepeatedReverseSshConnectivity', | ||
| 359 | as ArrayRef[ReverseSshConnectivity()]; | ||
| 360 | |||
| 361 | coerce 'RepeatedReverseSshConnectivity', | ||
| 362 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::ReverseSshConnectivity'->new($_) } @$_ ] }; | ||
| 363 | |||
| 364 | declare 'MapStringReverseSshConnectivity', | ||
| 365 | as HashRef[ReverseSshConnectivity()]; | ||
| 366 | |||
| 367 | declare 'VpcPeeringConnectivity', | ||
| 368 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::VpcPeeringConnectivity']; | ||
| 369 | |||
| 370 | coerce 'VpcPeeringConnectivity', | ||
| 371 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::VpcPeeringConnectivity'->new($_) }; | ||
| 372 | |||
| 373 | declare 'RepeatedVpcPeeringConnectivity', | ||
| 374 | as ArrayRef[VpcPeeringConnectivity()]; | ||
| 375 | |||
| 376 | coerce 'RepeatedVpcPeeringConnectivity', | ||
| 377 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::VpcPeeringConnectivity'->new($_) } @$_ ] }; | ||
| 378 | |||
| 379 | declare 'MapStringVpcPeeringConnectivity', | ||
| 380 | as HashRef[VpcPeeringConnectivity()]; | ||
| 381 | |||
| 382 | declare 'ForwardSshTunnelConnectivity', | ||
| 383 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::ForwardSshTunnelConnectivity']; | ||
| 384 | |||
| 385 | coerce 'ForwardSshTunnelConnectivity', | ||
| 386 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::ForwardSshTunnelConnectivity'->new($_) }; | ||
| 387 | |||
| 388 | declare 'RepeatedForwardSshTunnelConnectivity', | ||
| 389 | as ArrayRef[ForwardSshTunnelConnectivity()]; | ||
| 390 | |||
| 391 | coerce 'RepeatedForwardSshTunnelConnectivity', | ||
| 392 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::ForwardSshTunnelConnectivity'->new($_) } @$_ ] }; | ||
| 393 | |||
| 394 | declare 'MapStringForwardSshTunnelConnectivity', | ||
| 395 | as HashRef[ForwardSshTunnelConnectivity()]; | ||
| 396 | |||
| 397 | declare 'StaticServiceIpConnectivity', | ||
| 398 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::StaticServiceIpConnectivity']; | ||
| 399 | |||
| 400 | coerce 'StaticServiceIpConnectivity', | ||
| 401 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::StaticServiceIpConnectivity'->new($_) }; | ||
| 402 | |||
| 403 | declare 'RepeatedStaticServiceIpConnectivity', | ||
| 404 | as ArrayRef[StaticServiceIpConnectivity()]; | ||
| 405 | |||
| 406 | coerce 'RepeatedStaticServiceIpConnectivity', | ||
| 407 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::StaticServiceIpConnectivity'->new($_) } @$_ ] }; | ||
| 408 | |||
| 409 | declare 'MapStringStaticServiceIpConnectivity', | ||
| 410 | as HashRef[StaticServiceIpConnectivity()]; | ||
| 411 | |||
| 412 | declare 'PrivateConnectivity', | ||
| 413 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnectivity']; | ||
| 414 | |||
| 415 | coerce 'PrivateConnectivity', | ||
| 416 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnectivity'->new($_) }; | ||
| 417 | |||
| 418 | declare 'RepeatedPrivateConnectivity', | ||
| 419 | as ArrayRef[PrivateConnectivity()]; | ||
| 420 | |||
| 421 | coerce 'RepeatedPrivateConnectivity', | ||
| 422 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnectivity'->new($_) } @$_ ] }; | ||
| 423 | |||
| 424 | declare 'MapStringPrivateConnectivity', | ||
| 425 | as HashRef[PrivateConnectivity()]; | ||
| 426 | |||
| 427 | declare 'DatabaseType', | ||
| 428 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::DatabaseType']; | ||
| 429 | |||
| 430 | coerce 'DatabaseType', | ||
| 431 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::DatabaseType'->new($_) }; | ||
| 432 | |||
| 433 | declare 'RepeatedDatabaseType', | ||
| 434 | as ArrayRef[DatabaseType()]; | ||
| 435 | |||
| 436 | coerce 'RepeatedDatabaseType', | ||
| 437 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::DatabaseType'->new($_) } @$_ ] }; | ||
| 438 | |||
| 439 | declare 'MapStringDatabaseType', | ||
| 440 | as HashRef[DatabaseType()]; | ||
| 441 | |||
| 442 | declare 'MigrationJob', | ||
| 443 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob']; | ||
| 444 | |||
| 445 | coerce 'MigrationJob', | ||
| 446 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob'->new($_) }; | ||
| 447 | |||
| 448 | declare 'RepeatedMigrationJob', | ||
| 449 | as ArrayRef[MigrationJob()]; | ||
| 450 | |||
| 451 | coerce 'RepeatedMigrationJob', | ||
| 452 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob'->new($_) } @$_ ] }; | ||
| 453 | |||
| 454 | declare 'MapStringMigrationJob', | ||
| 455 | as HashRef[MigrationJob()]; | ||
| 456 | |||
| 457 | declare 'State', | ||
| 458 | as (Int | Str); | ||
| 459 | |||
| 460 | declare 'Phase', | ||
| 461 | as (Int | Str); | ||
| 462 | |||
| 463 | declare 'Type', | ||
| 464 | as (Int | Str); | ||
| 465 | |||
| 466 | declare 'DumpFlag', | ||
| 467 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob::DumpFlag']; | ||
| 468 | |||
| 469 | coerce 'DumpFlag', | ||
| 470 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob::DumpFlag'->new($_) }; | ||
| 471 | |||
| 472 | declare 'RepeatedDumpFlag', | ||
| 473 | as ArrayRef[DumpFlag()]; | ||
| 474 | |||
| 475 | coerce 'RepeatedDumpFlag', | ||
| 476 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob::DumpFlag'->new($_) } @$_ ] }; | ||
| 477 | |||
| 478 | declare 'MapStringDumpFlag', | ||
| 479 | as HashRef[DumpFlag()]; | ||
| 480 | |||
| 481 | declare 'DumpFlags', | ||
| 482 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob::DumpFlags']; | ||
| 483 | |||
| 484 | coerce 'DumpFlags', | ||
| 485 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob::DumpFlags'->new($_) }; | ||
| 486 | |||
| 487 | declare 'RepeatedDumpFlags', | ||
| 488 | as ArrayRef[DumpFlags()]; | ||
| 489 | |||
| 490 | coerce 'RepeatedDumpFlags', | ||
| 491 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob::DumpFlags'->new($_) } @$_ ] }; | ||
| 492 | |||
| 493 | declare 'MapStringDumpFlags', | ||
| 494 | as HashRef[DumpFlags()]; | ||
| 495 | |||
| 496 | declare 'PerformanceConfig', | ||
| 497 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob::PerformanceConfig']; | ||
| 498 | |||
| 499 | coerce 'PerformanceConfig', | ||
| 500 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob::PerformanceConfig'->new($_) }; | ||
| 501 | |||
| 502 | declare 'RepeatedPerformanceConfig', | ||
| 503 | as ArrayRef[PerformanceConfig()]; | ||
| 504 | |||
| 505 | coerce 'RepeatedPerformanceConfig', | ||
| 506 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob::PerformanceConfig'->new($_) } @$_ ] }; | ||
| 507 | |||
| 508 | declare 'MapStringPerformanceConfig', | ||
| 509 | as HashRef[PerformanceConfig()]; | ||
| 510 | |||
| 511 | declare 'DumpParallelLevel', | ||
| 512 | as (Int | Str); | ||
| 513 | |||
| 514 | declare 'LabelsEntry', | ||
| 515 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob::LabelsEntry']; | ||
| 516 | |||
| 517 | coerce 'LabelsEntry', | ||
| 518 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob::LabelsEntry'->new($_) }; | ||
| 519 | |||
| 520 | declare 'RepeatedLabelsEntry', | ||
| 521 | as ArrayRef[LabelsEntry()]; | ||
| 522 | |||
| 523 | coerce 'RepeatedLabelsEntry', | ||
| 524 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJob::LabelsEntry'->new($_) } @$_ ] }; | ||
| 525 | |||
| 526 | declare 'MapStringLabelsEntry', | ||
| 527 | as HashRef[LabelsEntry()]; | ||
| 528 | |||
| 529 | declare 'ConversionWorkspaceInfo', | ||
| 530 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::ConversionWorkspaceInfo']; | ||
| 531 | |||
| 532 | coerce 'ConversionWorkspaceInfo', | ||
| 533 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::ConversionWorkspaceInfo'->new($_) }; | ||
| 534 | |||
| 535 | declare 'RepeatedConversionWorkspaceInfo', | ||
| 536 | as ArrayRef[ConversionWorkspaceInfo()]; | ||
| 537 | |||
| 538 | coerce 'RepeatedConversionWorkspaceInfo', | ||
| 539 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::ConversionWorkspaceInfo'->new($_) } @$_ ] }; | ||
| 540 | |||
| 541 | declare 'MapStringConversionWorkspaceInfo', | ||
| 542 | as HashRef[ConversionWorkspaceInfo()]; | ||
| 543 | |||
| 544 | declare 'ConnectionProfile', | ||
| 545 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::ConnectionProfile']; | ||
| 546 | |||
| 547 | coerce 'ConnectionProfile', | ||
| 548 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::ConnectionProfile'->new($_) }; | ||
| 549 | |||
| 550 | declare 'RepeatedConnectionProfile', | ||
| 551 | as ArrayRef[ConnectionProfile()]; | ||
| 552 | |||
| 553 | coerce 'RepeatedConnectionProfile', | ||
| 554 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::ConnectionProfile'->new($_) } @$_ ] }; | ||
| 555 | |||
| 556 | declare 'MapStringConnectionProfile', | ||
| 557 | as HashRef[ConnectionProfile()]; | ||
| 558 | |||
| 559 | declare 'State', | ||
| 560 | as (Int | Str); | ||
| 561 | |||
| 562 | declare 'LabelsEntry', | ||
| 563 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::ConnectionProfile::LabelsEntry']; | ||
| 564 | |||
| 565 | coerce 'LabelsEntry', | ||
| 566 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::ConnectionProfile::LabelsEntry'->new($_) }; | ||
| 567 | |||
| 568 | declare 'RepeatedLabelsEntry', | ||
| 569 | as ArrayRef[LabelsEntry()]; | ||
| 570 | |||
| 571 | coerce 'RepeatedLabelsEntry', | ||
| 572 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::ConnectionProfile::LabelsEntry'->new($_) } @$_ ] }; | ||
| 573 | |||
| 574 | declare 'MapStringLabelsEntry', | ||
| 575 | as HashRef[LabelsEntry()]; | ||
| 576 | |||
| 577 | declare 'MigrationJobVerificationError', | ||
| 578 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJobVerificationError']; | ||
| 579 | |||
| 580 | coerce 'MigrationJobVerificationError', | ||
| 581 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJobVerificationError'->new($_) }; | ||
| 582 | |||
| 583 | declare 'RepeatedMigrationJobVerificationError', | ||
| 584 | as ArrayRef[MigrationJobVerificationError()]; | ||
| 585 | |||
| 586 | coerce 'RepeatedMigrationJobVerificationError', | ||
| 587 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::MigrationJobVerificationError'->new($_) } @$_ ] }; | ||
| 588 | |||
| 589 | declare 'MapStringMigrationJobVerificationError', | ||
| 590 | as HashRef[MigrationJobVerificationError()]; | ||
| 591 | |||
| 592 | declare 'ErrorCode', | ||
| 593 | as (Int | Str); | ||
| 594 | |||
| 595 | declare 'PrivateConnection', | ||
| 596 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnection']; | ||
| 597 | |||
| 598 | coerce 'PrivateConnection', | ||
| 599 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnection'->new($_) }; | ||
| 600 | |||
| 601 | declare 'RepeatedPrivateConnection', | ||
| 602 | as ArrayRef[PrivateConnection()]; | ||
| 603 | |||
| 604 | coerce 'RepeatedPrivateConnection', | ||
| 605 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnection'->new($_) } @$_ ] }; | ||
| 606 | |||
| 607 | declare 'MapStringPrivateConnection', | ||
| 608 | as HashRef[PrivateConnection()]; | ||
| 609 | |||
| 610 | declare 'State', | ||
| 611 | as (Int | Str); | ||
| 612 | |||
| 613 | declare 'LabelsEntry', | ||
| 614 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnection::LabelsEntry']; | ||
| 615 | |||
| 616 | coerce 'LabelsEntry', | ||
| 617 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnection::LabelsEntry'->new($_) }; | ||
| 618 | |||
| 619 | declare 'RepeatedLabelsEntry', | ||
| 620 | as ArrayRef[LabelsEntry()]; | ||
| 621 | |||
| 622 | coerce 'RepeatedLabelsEntry', | ||
| 623 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnection::LabelsEntry'->new($_) } @$_ ] }; | ||
| 624 | |||
| 625 | declare 'MapStringLabelsEntry', | ||
| 626 | as HashRef[LabelsEntry()]; | ||
| 627 | |||
| 628 | declare 'VpcPeeringConfig', | ||
| 629 | as InstanceOf['Google::Cloud::Clouddms::V1::ClouddmsResources::VpcPeeringConfig']; | ||
| 630 | |||
| 631 | coerce 'VpcPeeringConfig', | ||
| 632 | from HashRef, via { 'Google::Cloud::Clouddms::V1::ClouddmsResources::VpcPeeringConfig'->new($_) }; | ||
| 633 | |||
| 634 | declare 'RepeatedVpcPeeringConfig', | ||
| 635 | as ArrayRef[VpcPeeringConfig()]; | ||
| 636 | |||
| 637 | coerce 'RepeatedVpcPeeringConfig', | ||
| 638 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Clouddms::V1::ClouddmsResources::VpcPeeringConfig'->new($_) } @$_ ] }; | ||
| 639 | |||
| 640 | declare 'MapStringVpcPeeringConfig', | ||
| 641 | as HashRef[VpcPeeringConfig()]; | ||
| 642 | |||
| 643 | 1; | ||
| 644 | |||
| 645 | __END__ |