| 1 | package Google::Cloud::Datastream::V1alpha1::DatastreamResources::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 'GcsFileFormat', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'SchemaFileFormat', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'OracleProfile', | ||
| 17 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleProfile']; | ||
| 18 | |||
| 19 | coerce 'OracleProfile', | ||
| 20 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleProfile'->new($_) }; | ||
| 21 | |||
| 22 | declare 'RepeatedOracleProfile', | ||
| 23 | as ArrayRef[OracleProfile()]; | ||
| 24 | |||
| 25 | coerce 'RepeatedOracleProfile', | ||
| 26 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleProfile'->new($_) } @$_ ] }; | ||
| 27 | |||
| 28 | declare 'MapStringOracleProfile', | ||
| 29 | as HashRef[OracleProfile()]; | ||
| 30 | |||
| 31 | declare 'ConnectionAttributesEntry', | ||
| 32 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleProfile::ConnectionAttributesEntry']; | ||
| 33 | |||
| 34 | coerce 'ConnectionAttributesEntry', | ||
| 35 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleProfile::ConnectionAttributesEntry'->new($_) }; | ||
| 36 | |||
| 37 | declare 'RepeatedConnectionAttributesEntry', | ||
| 38 | as ArrayRef[ConnectionAttributesEntry()]; | ||
| 39 | |||
| 40 | coerce 'RepeatedConnectionAttributesEntry', | ||
| 41 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleProfile::ConnectionAttributesEntry'->new($_) } @$_ ] }; | ||
| 42 | |||
| 43 | declare 'MapStringConnectionAttributesEntry', | ||
| 44 | as HashRef[ConnectionAttributesEntry()]; | ||
| 45 | |||
| 46 | declare 'MysqlProfile', | ||
| 47 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlProfile']; | ||
| 48 | |||
| 49 | coerce 'MysqlProfile', | ||
| 50 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlProfile'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedMysqlProfile', | ||
| 53 | as ArrayRef[MysqlProfile()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedMysqlProfile', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlProfile'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringMysqlProfile', | ||
| 59 | as HashRef[MysqlProfile()]; | ||
| 60 | |||
| 61 | declare 'GcsProfile', | ||
| 62 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::GcsProfile']; | ||
| 63 | |||
| 64 | coerce 'GcsProfile', | ||
| 65 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::GcsProfile'->new($_) }; | ||
| 66 | |||
| 67 | declare 'RepeatedGcsProfile', | ||
| 68 | as ArrayRef[GcsProfile()]; | ||
| 69 | |||
| 70 | coerce 'RepeatedGcsProfile', | ||
| 71 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::GcsProfile'->new($_) } @$_ ] }; | ||
| 72 | |||
| 73 | declare 'MapStringGcsProfile', | ||
| 74 | as HashRef[GcsProfile()]; | ||
| 75 | |||
| 76 | declare 'NoConnectivitySettings', | ||
| 77 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::NoConnectivitySettings']; | ||
| 78 | |||
| 79 | coerce 'NoConnectivitySettings', | ||
| 80 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::NoConnectivitySettings'->new($_) }; | ||
| 81 | |||
| 82 | declare 'RepeatedNoConnectivitySettings', | ||
| 83 | as ArrayRef[NoConnectivitySettings()]; | ||
| 84 | |||
| 85 | coerce 'RepeatedNoConnectivitySettings', | ||
| 86 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::NoConnectivitySettings'->new($_) } @$_ ] }; | ||
| 87 | |||
| 88 | declare 'MapStringNoConnectivitySettings', | ||
| 89 | as HashRef[NoConnectivitySettings()]; | ||
| 90 | |||
| 91 | declare 'StaticServiceIpConnectivity', | ||
| 92 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::StaticServiceIpConnectivity']; | ||
| 93 | |||
| 94 | coerce 'StaticServiceIpConnectivity', | ||
| 95 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::StaticServiceIpConnectivity'->new($_) }; | ||
| 96 | |||
| 97 | declare 'RepeatedStaticServiceIpConnectivity', | ||
| 98 | as ArrayRef[StaticServiceIpConnectivity()]; | ||
| 99 | |||
| 100 | coerce 'RepeatedStaticServiceIpConnectivity', | ||
| 101 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::StaticServiceIpConnectivity'->new($_) } @$_ ] }; | ||
| 102 | |||
| 103 | declare 'MapStringStaticServiceIpConnectivity', | ||
| 104 | as HashRef[StaticServiceIpConnectivity()]; | ||
| 105 | |||
| 106 | declare 'ForwardSshTunnelConnectivity', | ||
| 107 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::ForwardSshTunnelConnectivity']; | ||
| 108 | |||
| 109 | coerce 'ForwardSshTunnelConnectivity', | ||
| 110 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::ForwardSshTunnelConnectivity'->new($_) }; | ||
| 111 | |||
| 112 | declare 'RepeatedForwardSshTunnelConnectivity', | ||
| 113 | as ArrayRef[ForwardSshTunnelConnectivity()]; | ||
| 114 | |||
| 115 | coerce 'RepeatedForwardSshTunnelConnectivity', | ||
| 116 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::ForwardSshTunnelConnectivity'->new($_) } @$_ ] }; | ||
| 117 | |||
| 118 | declare 'MapStringForwardSshTunnelConnectivity', | ||
| 119 | as HashRef[ForwardSshTunnelConnectivity()]; | ||
| 120 | |||
| 121 | declare 'VpcPeeringConfig', | ||
| 122 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::VpcPeeringConfig']; | ||
| 123 | |||
| 124 | coerce 'VpcPeeringConfig', | ||
| 125 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::VpcPeeringConfig'->new($_) }; | ||
| 126 | |||
| 127 | declare 'RepeatedVpcPeeringConfig', | ||
| 128 | as ArrayRef[VpcPeeringConfig()]; | ||
| 129 | |||
| 130 | coerce 'RepeatedVpcPeeringConfig', | ||
| 131 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::VpcPeeringConfig'->new($_) } @$_ ] }; | ||
| 132 | |||
| 133 | declare 'MapStringVpcPeeringConfig', | ||
| 134 | as HashRef[VpcPeeringConfig()]; | ||
| 135 | |||
| 136 | declare 'PrivateConnection', | ||
| 137 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::PrivateConnection']; | ||
| 138 | |||
| 139 | coerce 'PrivateConnection', | ||
| 140 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::PrivateConnection'->new($_) }; | ||
| 141 | |||
| 142 | declare 'RepeatedPrivateConnection', | ||
| 143 | as ArrayRef[PrivateConnection()]; | ||
| 144 | |||
| 145 | coerce 'RepeatedPrivateConnection', | ||
| 146 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::PrivateConnection'->new($_) } @$_ ] }; | ||
| 147 | |||
| 148 | declare 'MapStringPrivateConnection', | ||
| 149 | as HashRef[PrivateConnection()]; | ||
| 150 | |||
| 151 | declare 'State', | ||
| 152 | as (Int | Str); | ||
| 153 | |||
| 154 | declare 'LabelsEntry', | ||
| 155 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::PrivateConnection::LabelsEntry']; | ||
| 156 | |||
| 157 | coerce 'LabelsEntry', | ||
| 158 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::PrivateConnection::LabelsEntry'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedLabelsEntry', | ||
| 161 | as ArrayRef[LabelsEntry()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedLabelsEntry', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::PrivateConnection::LabelsEntry'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringLabelsEntry', | ||
| 167 | as HashRef[LabelsEntry()]; | ||
| 168 | |||
| 169 | declare 'PrivateConnectivity', | ||
| 170 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::PrivateConnectivity']; | ||
| 171 | |||
| 172 | coerce 'PrivateConnectivity', | ||
| 173 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::PrivateConnectivity'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedPrivateConnectivity', | ||
| 176 | as ArrayRef[PrivateConnectivity()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedPrivateConnectivity', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::PrivateConnectivity'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringPrivateConnectivity', | ||
| 182 | as HashRef[PrivateConnectivity()]; | ||
| 183 | |||
| 184 | declare 'Route', | ||
| 185 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::Route']; | ||
| 186 | |||
| 187 | coerce 'Route', | ||
| 188 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Route'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedRoute', | ||
| 191 | as ArrayRef[Route()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedRoute', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Route'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringRoute', | ||
| 197 | as HashRef[Route()]; | ||
| 198 | |||
| 199 | declare 'LabelsEntry', | ||
| 200 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::Route::LabelsEntry']; | ||
| 201 | |||
| 202 | coerce 'LabelsEntry', | ||
| 203 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Route::LabelsEntry'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedLabelsEntry', | ||
| 206 | as ArrayRef[LabelsEntry()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedLabelsEntry', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Route::LabelsEntry'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringLabelsEntry', | ||
| 212 | as HashRef[LabelsEntry()]; | ||
| 213 | |||
| 214 | declare 'MysqlSslConfig', | ||
| 215 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlSslConfig']; | ||
| 216 | |||
| 217 | coerce 'MysqlSslConfig', | ||
| 218 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlSslConfig'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedMysqlSslConfig', | ||
| 221 | as ArrayRef[MysqlSslConfig()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedMysqlSslConfig', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlSslConfig'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringMysqlSslConfig', | ||
| 227 | as HashRef[MysqlSslConfig()]; | ||
| 228 | |||
| 229 | declare 'ConnectionProfile', | ||
| 230 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::ConnectionProfile']; | ||
| 231 | |||
| 232 | coerce 'ConnectionProfile', | ||
| 233 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::ConnectionProfile'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedConnectionProfile', | ||
| 236 | as ArrayRef[ConnectionProfile()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedConnectionProfile', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::ConnectionProfile'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringConnectionProfile', | ||
| 242 | as HashRef[ConnectionProfile()]; | ||
| 243 | |||
| 244 | declare 'LabelsEntry', | ||
| 245 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::ConnectionProfile::LabelsEntry']; | ||
| 246 | |||
| 247 | coerce 'LabelsEntry', | ||
| 248 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::ConnectionProfile::LabelsEntry'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedLabelsEntry', | ||
| 251 | as ArrayRef[LabelsEntry()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedLabelsEntry', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::ConnectionProfile::LabelsEntry'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringLabelsEntry', | ||
| 257 | as HashRef[LabelsEntry()]; | ||
| 258 | |||
| 259 | declare 'OracleColumn', | ||
| 260 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleColumn']; | ||
| 261 | |||
| 262 | coerce 'OracleColumn', | ||
| 263 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleColumn'->new($_) }; | ||
| 264 | |||
| 265 | declare 'RepeatedOracleColumn', | ||
| 266 | as ArrayRef[OracleColumn()]; | ||
| 267 | |||
| 268 | coerce 'RepeatedOracleColumn', | ||
| 269 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleColumn'->new($_) } @$_ ] }; | ||
| 270 | |||
| 271 | declare 'MapStringOracleColumn', | ||
| 272 | as HashRef[OracleColumn()]; | ||
| 273 | |||
| 274 | declare 'OracleTable', | ||
| 275 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleTable']; | ||
| 276 | |||
| 277 | coerce 'OracleTable', | ||
| 278 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleTable'->new($_) }; | ||
| 279 | |||
| 280 | declare 'RepeatedOracleTable', | ||
| 281 | as ArrayRef[OracleTable()]; | ||
| 282 | |||
| 283 | coerce 'RepeatedOracleTable', | ||
| 284 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleTable'->new($_) } @$_ ] }; | ||
| 285 | |||
| 286 | declare 'MapStringOracleTable', | ||
| 287 | as HashRef[OracleTable()]; | ||
| 288 | |||
| 289 | declare 'OracleSchema', | ||
| 290 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleSchema']; | ||
| 291 | |||
| 292 | coerce 'OracleSchema', | ||
| 293 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleSchema'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedOracleSchema', | ||
| 296 | as ArrayRef[OracleSchema()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedOracleSchema', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleSchema'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringOracleSchema', | ||
| 302 | as HashRef[OracleSchema()]; | ||
| 303 | |||
| 304 | declare 'OracleRdbms', | ||
| 305 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleRdbms']; | ||
| 306 | |||
| 307 | coerce 'OracleRdbms', | ||
| 308 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleRdbms'->new($_) }; | ||
| 309 | |||
| 310 | declare 'RepeatedOracleRdbms', | ||
| 311 | as ArrayRef[OracleRdbms()]; | ||
| 312 | |||
| 313 | coerce 'RepeatedOracleRdbms', | ||
| 314 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleRdbms'->new($_) } @$_ ] }; | ||
| 315 | |||
| 316 | declare 'MapStringOracleRdbms', | ||
| 317 | as HashRef[OracleRdbms()]; | ||
| 318 | |||
| 319 | declare 'OracleSourceConfig', | ||
| 320 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleSourceConfig']; | ||
| 321 | |||
| 322 | coerce 'OracleSourceConfig', | ||
| 323 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleSourceConfig'->new($_) }; | ||
| 324 | |||
| 325 | declare 'RepeatedOracleSourceConfig', | ||
| 326 | as ArrayRef[OracleSourceConfig()]; | ||
| 327 | |||
| 328 | coerce 'RepeatedOracleSourceConfig', | ||
| 329 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::OracleSourceConfig'->new($_) } @$_ ] }; | ||
| 330 | |||
| 331 | declare 'MapStringOracleSourceConfig', | ||
| 332 | as HashRef[OracleSourceConfig()]; | ||
| 333 | |||
| 334 | declare 'MysqlColumn', | ||
| 335 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlColumn']; | ||
| 336 | |||
| 337 | coerce 'MysqlColumn', | ||
| 338 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlColumn'->new($_) }; | ||
| 339 | |||
| 340 | declare 'RepeatedMysqlColumn', | ||
| 341 | as ArrayRef[MysqlColumn()]; | ||
| 342 | |||
| 343 | coerce 'RepeatedMysqlColumn', | ||
| 344 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlColumn'->new($_) } @$_ ] }; | ||
| 345 | |||
| 346 | declare 'MapStringMysqlColumn', | ||
| 347 | as HashRef[MysqlColumn()]; | ||
| 348 | |||
| 349 | declare 'MysqlTable', | ||
| 350 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlTable']; | ||
| 351 | |||
| 352 | coerce 'MysqlTable', | ||
| 353 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlTable'->new($_) }; | ||
| 354 | |||
| 355 | declare 'RepeatedMysqlTable', | ||
| 356 | as ArrayRef[MysqlTable()]; | ||
| 357 | |||
| 358 | coerce 'RepeatedMysqlTable', | ||
| 359 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlTable'->new($_) } @$_ ] }; | ||
| 360 | |||
| 361 | declare 'MapStringMysqlTable', | ||
| 362 | as HashRef[MysqlTable()]; | ||
| 363 | |||
| 364 | declare 'MysqlDatabase', | ||
| 365 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlDatabase']; | ||
| 366 | |||
| 367 | coerce 'MysqlDatabase', | ||
| 368 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlDatabase'->new($_) }; | ||
| 369 | |||
| 370 | declare 'RepeatedMysqlDatabase', | ||
| 371 | as ArrayRef[MysqlDatabase()]; | ||
| 372 | |||
| 373 | coerce 'RepeatedMysqlDatabase', | ||
| 374 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlDatabase'->new($_) } @$_ ] }; | ||
| 375 | |||
| 376 | declare 'MapStringMysqlDatabase', | ||
| 377 | as HashRef[MysqlDatabase()]; | ||
| 378 | |||
| 379 | declare 'MysqlRdbms', | ||
| 380 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlRdbms']; | ||
| 381 | |||
| 382 | coerce 'MysqlRdbms', | ||
| 383 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlRdbms'->new($_) }; | ||
| 384 | |||
| 385 | declare 'RepeatedMysqlRdbms', | ||
| 386 | as ArrayRef[MysqlRdbms()]; | ||
| 387 | |||
| 388 | coerce 'RepeatedMysqlRdbms', | ||
| 389 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlRdbms'->new($_) } @$_ ] }; | ||
| 390 | |||
| 391 | declare 'MapStringMysqlRdbms', | ||
| 392 | as HashRef[MysqlRdbms()]; | ||
| 393 | |||
| 394 | declare 'MysqlSourceConfig', | ||
| 395 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlSourceConfig']; | ||
| 396 | |||
| 397 | coerce 'MysqlSourceConfig', | ||
| 398 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlSourceConfig'->new($_) }; | ||
| 399 | |||
| 400 | declare 'RepeatedMysqlSourceConfig', | ||
| 401 | as ArrayRef[MysqlSourceConfig()]; | ||
| 402 | |||
| 403 | coerce 'RepeatedMysqlSourceConfig', | ||
| 404 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::MysqlSourceConfig'->new($_) } @$_ ] }; | ||
| 405 | |||
| 406 | declare 'MapStringMysqlSourceConfig', | ||
| 407 | as HashRef[MysqlSourceConfig()]; | ||
| 408 | |||
| 409 | declare 'SourceConfig', | ||
| 410 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::SourceConfig']; | ||
| 411 | |||
| 412 | coerce 'SourceConfig', | ||
| 413 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::SourceConfig'->new($_) }; | ||
| 414 | |||
| 415 | declare 'RepeatedSourceConfig', | ||
| 416 | as ArrayRef[SourceConfig()]; | ||
| 417 | |||
| 418 | coerce 'RepeatedSourceConfig', | ||
| 419 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::SourceConfig'->new($_) } @$_ ] }; | ||
| 420 | |||
| 421 | declare 'MapStringSourceConfig', | ||
| 422 | as HashRef[SourceConfig()]; | ||
| 423 | |||
| 424 | declare 'AvroFileFormat', | ||
| 425 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::AvroFileFormat']; | ||
| 426 | |||
| 427 | coerce 'AvroFileFormat', | ||
| 428 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::AvroFileFormat'->new($_) }; | ||
| 429 | |||
| 430 | declare 'RepeatedAvroFileFormat', | ||
| 431 | as ArrayRef[AvroFileFormat()]; | ||
| 432 | |||
| 433 | coerce 'RepeatedAvroFileFormat', | ||
| 434 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::AvroFileFormat'->new($_) } @$_ ] }; | ||
| 435 | |||
| 436 | declare 'MapStringAvroFileFormat', | ||
| 437 | as HashRef[AvroFileFormat()]; | ||
| 438 | |||
| 439 | declare 'JsonFileFormat', | ||
| 440 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::JsonFileFormat']; | ||
| 441 | |||
| 442 | coerce 'JsonFileFormat', | ||
| 443 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::JsonFileFormat'->new($_) }; | ||
| 444 | |||
| 445 | declare 'RepeatedJsonFileFormat', | ||
| 446 | as ArrayRef[JsonFileFormat()]; | ||
| 447 | |||
| 448 | coerce 'RepeatedJsonFileFormat', | ||
| 449 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::JsonFileFormat'->new($_) } @$_ ] }; | ||
| 450 | |||
| 451 | declare 'MapStringJsonFileFormat', | ||
| 452 | as HashRef[JsonFileFormat()]; | ||
| 453 | |||
| 454 | declare 'JsonCompression', | ||
| 455 | as (Int | Str); | ||
| 456 | |||
| 457 | declare 'GcsDestinationConfig', | ||
| 458 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::GcsDestinationConfig']; | ||
| 459 | |||
| 460 | coerce 'GcsDestinationConfig', | ||
| 461 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::GcsDestinationConfig'->new($_) }; | ||
| 462 | |||
| 463 | declare 'RepeatedGcsDestinationConfig', | ||
| 464 | as ArrayRef[GcsDestinationConfig()]; | ||
| 465 | |||
| 466 | coerce 'RepeatedGcsDestinationConfig', | ||
| 467 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::GcsDestinationConfig'->new($_) } @$_ ] }; | ||
| 468 | |||
| 469 | declare 'MapStringGcsDestinationConfig', | ||
| 470 | as HashRef[GcsDestinationConfig()]; | ||
| 471 | |||
| 472 | declare 'DestinationConfig', | ||
| 473 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::DestinationConfig']; | ||
| 474 | |||
| 475 | coerce 'DestinationConfig', | ||
| 476 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::DestinationConfig'->new($_) }; | ||
| 477 | |||
| 478 | declare 'RepeatedDestinationConfig', | ||
| 479 | as ArrayRef[DestinationConfig()]; | ||
| 480 | |||
| 481 | coerce 'RepeatedDestinationConfig', | ||
| 482 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::DestinationConfig'->new($_) } @$_ ] }; | ||
| 483 | |||
| 484 | declare 'MapStringDestinationConfig', | ||
| 485 | as HashRef[DestinationConfig()]; | ||
| 486 | |||
| 487 | declare 'Stream', | ||
| 488 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream']; | ||
| 489 | |||
| 490 | coerce 'Stream', | ||
| 491 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream'->new($_) }; | ||
| 492 | |||
| 493 | declare 'RepeatedStream', | ||
| 494 | as ArrayRef[Stream()]; | ||
| 495 | |||
| 496 | coerce 'RepeatedStream', | ||
| 497 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream'->new($_) } @$_ ] }; | ||
| 498 | |||
| 499 | declare 'MapStringStream', | ||
| 500 | as HashRef[Stream()]; | ||
| 501 | |||
| 502 | declare 'State', | ||
| 503 | as (Int | Str); | ||
| 504 | |||
| 505 | declare 'BackfillAllStrategy', | ||
| 506 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream::BackfillAllStrategy']; | ||
| 507 | |||
| 508 | coerce 'BackfillAllStrategy', | ||
| 509 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream::BackfillAllStrategy'->new($_) }; | ||
| 510 | |||
| 511 | declare 'RepeatedBackfillAllStrategy', | ||
| 512 | as ArrayRef[BackfillAllStrategy()]; | ||
| 513 | |||
| 514 | coerce 'RepeatedBackfillAllStrategy', | ||
| 515 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream::BackfillAllStrategy'->new($_) } @$_ ] }; | ||
| 516 | |||
| 517 | declare 'MapStringBackfillAllStrategy', | ||
| 518 | as HashRef[BackfillAllStrategy()]; | ||
| 519 | |||
| 520 | declare 'BackfillNoneStrategy', | ||
| 521 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream::BackfillNoneStrategy']; | ||
| 522 | |||
| 523 | coerce 'BackfillNoneStrategy', | ||
| 524 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream::BackfillNoneStrategy'->new($_) }; | ||
| 525 | |||
| 526 | declare 'RepeatedBackfillNoneStrategy', | ||
| 527 | as ArrayRef[BackfillNoneStrategy()]; | ||
| 528 | |||
| 529 | coerce 'RepeatedBackfillNoneStrategy', | ||
| 530 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream::BackfillNoneStrategy'->new($_) } @$_ ] }; | ||
| 531 | |||
| 532 | declare 'MapStringBackfillNoneStrategy', | ||
| 533 | as HashRef[BackfillNoneStrategy()]; | ||
| 534 | |||
| 535 | declare 'LabelsEntry', | ||
| 536 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream::LabelsEntry']; | ||
| 537 | |||
| 538 | coerce 'LabelsEntry', | ||
| 539 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream::LabelsEntry'->new($_) }; | ||
| 540 | |||
| 541 | declare 'RepeatedLabelsEntry', | ||
| 542 | as ArrayRef[LabelsEntry()]; | ||
| 543 | |||
| 544 | coerce 'RepeatedLabelsEntry', | ||
| 545 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Stream::LabelsEntry'->new($_) } @$_ ] }; | ||
| 546 | |||
| 547 | declare 'MapStringLabelsEntry', | ||
| 548 | as HashRef[LabelsEntry()]; | ||
| 549 | |||
| 550 | declare 'Error', | ||
| 551 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::Error']; | ||
| 552 | |||
| 553 | coerce 'Error', | ||
| 554 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Error'->new($_) }; | ||
| 555 | |||
| 556 | declare 'RepeatedError', | ||
| 557 | as ArrayRef[Error()]; | ||
| 558 | |||
| 559 | coerce 'RepeatedError', | ||
| 560 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Error'->new($_) } @$_ ] }; | ||
| 561 | |||
| 562 | declare 'MapStringError', | ||
| 563 | as HashRef[Error()]; | ||
| 564 | |||
| 565 | declare 'DetailsEntry', | ||
| 566 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::Error::DetailsEntry']; | ||
| 567 | |||
| 568 | coerce 'DetailsEntry', | ||
| 569 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Error::DetailsEntry'->new($_) }; | ||
| 570 | |||
| 571 | declare 'RepeatedDetailsEntry', | ||
| 572 | as ArrayRef[DetailsEntry()]; | ||
| 573 | |||
| 574 | coerce 'RepeatedDetailsEntry', | ||
| 575 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Error::DetailsEntry'->new($_) } @$_ ] }; | ||
| 576 | |||
| 577 | declare 'MapStringDetailsEntry', | ||
| 578 | as HashRef[DetailsEntry()]; | ||
| 579 | |||
| 580 | declare 'ValidationResult', | ||
| 581 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationResult']; | ||
| 582 | |||
| 583 | coerce 'ValidationResult', | ||
| 584 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationResult'->new($_) }; | ||
| 585 | |||
| 586 | declare 'RepeatedValidationResult', | ||
| 587 | as ArrayRef[ValidationResult()]; | ||
| 588 | |||
| 589 | coerce 'RepeatedValidationResult', | ||
| 590 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationResult'->new($_) } @$_ ] }; | ||
| 591 | |||
| 592 | declare 'MapStringValidationResult', | ||
| 593 | as HashRef[ValidationResult()]; | ||
| 594 | |||
| 595 | declare 'Validation', | ||
| 596 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::Validation']; | ||
| 597 | |||
| 598 | coerce 'Validation', | ||
| 599 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Validation'->new($_) }; | ||
| 600 | |||
| 601 | declare 'RepeatedValidation', | ||
| 602 | as ArrayRef[Validation()]; | ||
| 603 | |||
| 604 | coerce 'RepeatedValidation', | ||
| 605 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::Validation'->new($_) } @$_ ] }; | ||
| 606 | |||
| 607 | declare 'MapStringValidation', | ||
| 608 | as HashRef[Validation()]; | ||
| 609 | |||
| 610 | declare 'Status', | ||
| 611 | as (Int | Str); | ||
| 612 | |||
| 613 | declare 'ValidationMessage', | ||
| 614 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationMessage']; | ||
| 615 | |||
| 616 | coerce 'ValidationMessage', | ||
| 617 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationMessage'->new($_) }; | ||
| 618 | |||
| 619 | declare 'RepeatedValidationMessage', | ||
| 620 | as ArrayRef[ValidationMessage()]; | ||
| 621 | |||
| 622 | coerce 'RepeatedValidationMessage', | ||
| 623 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationMessage'->new($_) } @$_ ] }; | ||
| 624 | |||
| 625 | declare 'MapStringValidationMessage', | ||
| 626 | as HashRef[ValidationMessage()]; | ||
| 627 | |||
| 628 | declare 'Level', | ||
| 629 | as (Int | Str); | ||
| 630 | |||
| 631 | declare 'MetadataEntry', | ||
| 632 | as InstanceOf['Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationMessage::MetadataEntry']; | ||
| 633 | |||
| 634 | coerce 'MetadataEntry', | ||
| 635 | from HashRef, via { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationMessage::MetadataEntry'->new($_) }; | ||
| 636 | |||
| 637 | declare 'RepeatedMetadataEntry', | ||
| 638 | as ArrayRef[MetadataEntry()]; | ||
| 639 | |||
| 640 | coerce 'RepeatedMetadataEntry', | ||
| 641 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datastream::V1alpha1::DatastreamResources::ValidationMessage::MetadataEntry'->new($_) } @$_ ] }; | ||
| 642 | |||
| 643 | declare 'MapStringMetadataEntry', | ||
| 644 | as HashRef[MetadataEntry()]; | ||
| 645 | |||
| 646 | 1; | ||
| 647 | |||
| 648 | __END__ |