| 1 | package Google::Cloud::Alloydb::V1beta::Resources::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 'InstanceView', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'ClusterView', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'DatabaseVersion', | ||
| 17 | as (Int | Str); | ||
| 18 | |||
| 19 | declare 'SubscriptionType', | ||
| 20 | as (Int | Str); | ||
| 21 | |||
| 22 | declare 'UserPassword', | ||
| 23 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::UserPassword']; | ||
| 24 | |||
| 25 | coerce 'UserPassword', | ||
| 26 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::UserPassword'->new($_) }; | ||
| 27 | |||
| 28 | declare 'RepeatedUserPassword', | ||
| 29 | as ArrayRef[UserPassword()]; | ||
| 30 | |||
| 31 | coerce 'RepeatedUserPassword', | ||
| 32 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::UserPassword'->new($_) } @$_ ] }; | ||
| 33 | |||
| 34 | declare 'MapStringUserPassword', | ||
| 35 | as HashRef[UserPassword()]; | ||
| 36 | |||
| 37 | declare 'MigrationSource', | ||
| 38 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::MigrationSource']; | ||
| 39 | |||
| 40 | coerce 'MigrationSource', | ||
| 41 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::MigrationSource'->new($_) }; | ||
| 42 | |||
| 43 | declare 'RepeatedMigrationSource', | ||
| 44 | as ArrayRef[MigrationSource()]; | ||
| 45 | |||
| 46 | coerce 'RepeatedMigrationSource', | ||
| 47 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::MigrationSource'->new($_) } @$_ ] }; | ||
| 48 | |||
| 49 | declare 'MapStringMigrationSource', | ||
| 50 | as HashRef[MigrationSource()]; | ||
| 51 | |||
| 52 | declare 'MigrationSourceType', | ||
| 53 | as (Int | Str); | ||
| 54 | |||
| 55 | declare 'EncryptionConfig', | ||
| 56 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::EncryptionConfig']; | ||
| 57 | |||
| 58 | coerce 'EncryptionConfig', | ||
| 59 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::EncryptionConfig'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedEncryptionConfig', | ||
| 62 | as ArrayRef[EncryptionConfig()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedEncryptionConfig', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::EncryptionConfig'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringEncryptionConfig', | ||
| 68 | as HashRef[EncryptionConfig()]; | ||
| 69 | |||
| 70 | declare 'EncryptionInfo', | ||
| 71 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::EncryptionInfo']; | ||
| 72 | |||
| 73 | coerce 'EncryptionInfo', | ||
| 74 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::EncryptionInfo'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedEncryptionInfo', | ||
| 77 | as ArrayRef[EncryptionInfo()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedEncryptionInfo', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::EncryptionInfo'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringEncryptionInfo', | ||
| 83 | as HashRef[EncryptionInfo()]; | ||
| 84 | |||
| 85 | declare 'Type', | ||
| 86 | as (Int | Str); | ||
| 87 | |||
| 88 | declare 'SslConfig', | ||
| 89 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::SslConfig']; | ||
| 90 | |||
| 91 | coerce 'SslConfig', | ||
| 92 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::SslConfig'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedSslConfig', | ||
| 95 | as ArrayRef[SslConfig()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedSslConfig', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::SslConfig'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringSslConfig', | ||
| 101 | as HashRef[SslConfig()]; | ||
| 102 | |||
| 103 | declare 'SslMode', | ||
| 104 | as (Int | Str); | ||
| 105 | |||
| 106 | declare 'CaSource', | ||
| 107 | as (Int | Str); | ||
| 108 | |||
| 109 | declare 'AutomatedBackupPolicy', | ||
| 110 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy']; | ||
| 111 | |||
| 112 | coerce 'AutomatedBackupPolicy', | ||
| 113 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedAutomatedBackupPolicy', | ||
| 116 | as ArrayRef[AutomatedBackupPolicy()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedAutomatedBackupPolicy', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringAutomatedBackupPolicy', | ||
| 122 | as HashRef[AutomatedBackupPolicy()]; | ||
| 123 | |||
| 124 | declare 'WeeklySchedule', | ||
| 125 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy::WeeklySchedule']; | ||
| 126 | |||
| 127 | coerce 'WeeklySchedule', | ||
| 128 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy::WeeklySchedule'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedWeeklySchedule', | ||
| 131 | as ArrayRef[WeeklySchedule()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedWeeklySchedule', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy::WeeklySchedule'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringWeeklySchedule', | ||
| 137 | as HashRef[WeeklySchedule()]; | ||
| 138 | |||
| 139 | declare 'TimeBasedRetention', | ||
| 140 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy::TimeBasedRetention']; | ||
| 141 | |||
| 142 | coerce 'TimeBasedRetention', | ||
| 143 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy::TimeBasedRetention'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedTimeBasedRetention', | ||
| 146 | as ArrayRef[TimeBasedRetention()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedTimeBasedRetention', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy::TimeBasedRetention'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringTimeBasedRetention', | ||
| 152 | as HashRef[TimeBasedRetention()]; | ||
| 153 | |||
| 154 | declare 'QuantityBasedRetention', | ||
| 155 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy::QuantityBasedRetention']; | ||
| 156 | |||
| 157 | coerce 'QuantityBasedRetention', | ||
| 158 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy::QuantityBasedRetention'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedQuantityBasedRetention', | ||
| 161 | as ArrayRef[QuantityBasedRetention()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedQuantityBasedRetention', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy::QuantityBasedRetention'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringQuantityBasedRetention', | ||
| 167 | as HashRef[QuantityBasedRetention()]; | ||
| 168 | |||
| 169 | declare 'LabelsEntry', | ||
| 170 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy::LabelsEntry']; | ||
| 171 | |||
| 172 | coerce 'LabelsEntry', | ||
| 173 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy::LabelsEntry'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedLabelsEntry', | ||
| 176 | as ArrayRef[LabelsEntry()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedLabelsEntry', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::AutomatedBackupPolicy::LabelsEntry'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringLabelsEntry', | ||
| 182 | as HashRef[LabelsEntry()]; | ||
| 183 | |||
| 184 | declare 'ContinuousBackupConfig', | ||
| 185 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::ContinuousBackupConfig']; | ||
| 186 | |||
| 187 | coerce 'ContinuousBackupConfig', | ||
| 188 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::ContinuousBackupConfig'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedContinuousBackupConfig', | ||
| 191 | as ArrayRef[ContinuousBackupConfig()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedContinuousBackupConfig', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::ContinuousBackupConfig'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringContinuousBackupConfig', | ||
| 197 | as HashRef[ContinuousBackupConfig()]; | ||
| 198 | |||
| 199 | declare 'ContinuousBackupInfo', | ||
| 200 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::ContinuousBackupInfo']; | ||
| 201 | |||
| 202 | coerce 'ContinuousBackupInfo', | ||
| 203 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::ContinuousBackupInfo'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedContinuousBackupInfo', | ||
| 206 | as ArrayRef[ContinuousBackupInfo()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedContinuousBackupInfo', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::ContinuousBackupInfo'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringContinuousBackupInfo', | ||
| 212 | as HashRef[ContinuousBackupInfo()]; | ||
| 213 | |||
| 214 | declare 'BackupSource', | ||
| 215 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::BackupSource']; | ||
| 216 | |||
| 217 | coerce 'BackupSource', | ||
| 218 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::BackupSource'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedBackupSource', | ||
| 221 | as ArrayRef[BackupSource()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedBackupSource', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::BackupSource'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringBackupSource', | ||
| 227 | as HashRef[BackupSource()]; | ||
| 228 | |||
| 229 | declare 'ContinuousBackupSource', | ||
| 230 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::ContinuousBackupSource']; | ||
| 231 | |||
| 232 | coerce 'ContinuousBackupSource', | ||
| 233 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::ContinuousBackupSource'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedContinuousBackupSource', | ||
| 236 | as ArrayRef[ContinuousBackupSource()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedContinuousBackupSource', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::ContinuousBackupSource'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringContinuousBackupSource', | ||
| 242 | as HashRef[ContinuousBackupSource()]; | ||
| 243 | |||
| 244 | declare 'MaintenanceUpdatePolicy', | ||
| 245 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::MaintenanceUpdatePolicy']; | ||
| 246 | |||
| 247 | coerce 'MaintenanceUpdatePolicy', | ||
| 248 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::MaintenanceUpdatePolicy'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedMaintenanceUpdatePolicy', | ||
| 251 | as ArrayRef[MaintenanceUpdatePolicy()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedMaintenanceUpdatePolicy', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::MaintenanceUpdatePolicy'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringMaintenanceUpdatePolicy', | ||
| 257 | as HashRef[MaintenanceUpdatePolicy()]; | ||
| 258 | |||
| 259 | declare 'MaintenanceWindow', | ||
| 260 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::MaintenanceUpdatePolicy::MaintenanceWindow']; | ||
| 261 | |||
| 262 | coerce 'MaintenanceWindow', | ||
| 263 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::MaintenanceUpdatePolicy::MaintenanceWindow'->new($_) }; | ||
| 264 | |||
| 265 | declare 'RepeatedMaintenanceWindow', | ||
| 266 | as ArrayRef[MaintenanceWindow()]; | ||
| 267 | |||
| 268 | coerce 'RepeatedMaintenanceWindow', | ||
| 269 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::MaintenanceUpdatePolicy::MaintenanceWindow'->new($_) } @$_ ] }; | ||
| 270 | |||
| 271 | declare 'MapStringMaintenanceWindow', | ||
| 272 | as HashRef[MaintenanceWindow()]; | ||
| 273 | |||
| 274 | declare 'DenyMaintenancePeriod', | ||
| 275 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::MaintenanceUpdatePolicy::DenyMaintenancePeriod']; | ||
| 276 | |||
| 277 | coerce 'DenyMaintenancePeriod', | ||
| 278 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::MaintenanceUpdatePolicy::DenyMaintenancePeriod'->new($_) }; | ||
| 279 | |||
| 280 | declare 'RepeatedDenyMaintenancePeriod', | ||
| 281 | as ArrayRef[DenyMaintenancePeriod()]; | ||
| 282 | |||
| 283 | coerce 'RepeatedDenyMaintenancePeriod', | ||
| 284 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::MaintenanceUpdatePolicy::DenyMaintenancePeriod'->new($_) } @$_ ] }; | ||
| 285 | |||
| 286 | declare 'MapStringDenyMaintenancePeriod', | ||
| 287 | as HashRef[DenyMaintenancePeriod()]; | ||
| 288 | |||
| 289 | declare 'MaintenanceSchedule', | ||
| 290 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::MaintenanceSchedule']; | ||
| 291 | |||
| 292 | coerce 'MaintenanceSchedule', | ||
| 293 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::MaintenanceSchedule'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedMaintenanceSchedule', | ||
| 296 | as ArrayRef[MaintenanceSchedule()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedMaintenanceSchedule', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::MaintenanceSchedule'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringMaintenanceSchedule', | ||
| 302 | as HashRef[MaintenanceSchedule()]; | ||
| 303 | |||
| 304 | declare 'Cluster', | ||
| 305 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Cluster']; | ||
| 306 | |||
| 307 | coerce 'Cluster', | ||
| 308 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster'->new($_) }; | ||
| 309 | |||
| 310 | declare 'RepeatedCluster', | ||
| 311 | as ArrayRef[Cluster()]; | ||
| 312 | |||
| 313 | coerce 'RepeatedCluster', | ||
| 314 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster'->new($_) } @$_ ] }; | ||
| 315 | |||
| 316 | declare 'MapStringCluster', | ||
| 317 | as HashRef[Cluster()]; | ||
| 318 | |||
| 319 | declare 'State', | ||
| 320 | as (Int | Str); | ||
| 321 | |||
| 322 | declare 'ClusterType', | ||
| 323 | as (Int | Str); | ||
| 324 | |||
| 325 | declare 'NetworkConfig', | ||
| 326 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Cluster::NetworkConfig']; | ||
| 327 | |||
| 328 | coerce 'NetworkConfig', | ||
| 329 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::NetworkConfig'->new($_) }; | ||
| 330 | |||
| 331 | declare 'RepeatedNetworkConfig', | ||
| 332 | as ArrayRef[NetworkConfig()]; | ||
| 333 | |||
| 334 | coerce 'RepeatedNetworkConfig', | ||
| 335 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::NetworkConfig'->new($_) } @$_ ] }; | ||
| 336 | |||
| 337 | declare 'MapStringNetworkConfig', | ||
| 338 | as HashRef[NetworkConfig()]; | ||
| 339 | |||
| 340 | declare 'SecondaryConfig', | ||
| 341 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Cluster::SecondaryConfig']; | ||
| 342 | |||
| 343 | coerce 'SecondaryConfig', | ||
| 344 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::SecondaryConfig'->new($_) }; | ||
| 345 | |||
| 346 | declare 'RepeatedSecondaryConfig', | ||
| 347 | as ArrayRef[SecondaryConfig()]; | ||
| 348 | |||
| 349 | coerce 'RepeatedSecondaryConfig', | ||
| 350 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::SecondaryConfig'->new($_) } @$_ ] }; | ||
| 351 | |||
| 352 | declare 'MapStringSecondaryConfig', | ||
| 353 | as HashRef[SecondaryConfig()]; | ||
| 354 | |||
| 355 | declare 'PrimaryConfig', | ||
| 356 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Cluster::PrimaryConfig']; | ||
| 357 | |||
| 358 | coerce 'PrimaryConfig', | ||
| 359 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::PrimaryConfig'->new($_) }; | ||
| 360 | |||
| 361 | declare 'RepeatedPrimaryConfig', | ||
| 362 | as ArrayRef[PrimaryConfig()]; | ||
| 363 | |||
| 364 | coerce 'RepeatedPrimaryConfig', | ||
| 365 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::PrimaryConfig'->new($_) } @$_ ] }; | ||
| 366 | |||
| 367 | declare 'MapStringPrimaryConfig', | ||
| 368 | as HashRef[PrimaryConfig()]; | ||
| 369 | |||
| 370 | declare 'PscConfig', | ||
| 371 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Cluster::PscConfig']; | ||
| 372 | |||
| 373 | coerce 'PscConfig', | ||
| 374 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::PscConfig'->new($_) }; | ||
| 375 | |||
| 376 | declare 'RepeatedPscConfig', | ||
| 377 | as ArrayRef[PscConfig()]; | ||
| 378 | |||
| 379 | coerce 'RepeatedPscConfig', | ||
| 380 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::PscConfig'->new($_) } @$_ ] }; | ||
| 381 | |||
| 382 | declare 'MapStringPscConfig', | ||
| 383 | as HashRef[PscConfig()]; | ||
| 384 | |||
| 385 | declare 'TrialMetadata', | ||
| 386 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Cluster::TrialMetadata']; | ||
| 387 | |||
| 388 | coerce 'TrialMetadata', | ||
| 389 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::TrialMetadata'->new($_) }; | ||
| 390 | |||
| 391 | declare 'RepeatedTrialMetadata', | ||
| 392 | as ArrayRef[TrialMetadata()]; | ||
| 393 | |||
| 394 | coerce 'RepeatedTrialMetadata', | ||
| 395 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::TrialMetadata'->new($_) } @$_ ] }; | ||
| 396 | |||
| 397 | declare 'MapStringTrialMetadata', | ||
| 398 | as HashRef[TrialMetadata()]; | ||
| 399 | |||
| 400 | declare 'DataplexConfig', | ||
| 401 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Cluster::DataplexConfig']; | ||
| 402 | |||
| 403 | coerce 'DataplexConfig', | ||
| 404 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::DataplexConfig'->new($_) }; | ||
| 405 | |||
| 406 | declare 'RepeatedDataplexConfig', | ||
| 407 | as ArrayRef[DataplexConfig()]; | ||
| 408 | |||
| 409 | coerce 'RepeatedDataplexConfig', | ||
| 410 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::DataplexConfig'->new($_) } @$_ ] }; | ||
| 411 | |||
| 412 | declare 'MapStringDataplexConfig', | ||
| 413 | as HashRef[DataplexConfig()]; | ||
| 414 | |||
| 415 | declare 'LabelsEntry', | ||
| 416 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Cluster::LabelsEntry']; | ||
| 417 | |||
| 418 | coerce 'LabelsEntry', | ||
| 419 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::LabelsEntry'->new($_) }; | ||
| 420 | |||
| 421 | declare 'RepeatedLabelsEntry', | ||
| 422 | as ArrayRef[LabelsEntry()]; | ||
| 423 | |||
| 424 | coerce 'RepeatedLabelsEntry', | ||
| 425 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::LabelsEntry'->new($_) } @$_ ] }; | ||
| 426 | |||
| 427 | declare 'MapStringLabelsEntry', | ||
| 428 | as HashRef[LabelsEntry()]; | ||
| 429 | |||
| 430 | declare 'AnnotationsEntry', | ||
| 431 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Cluster::AnnotationsEntry']; | ||
| 432 | |||
| 433 | coerce 'AnnotationsEntry', | ||
| 434 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::AnnotationsEntry'->new($_) }; | ||
| 435 | |||
| 436 | declare 'RepeatedAnnotationsEntry', | ||
| 437 | as ArrayRef[AnnotationsEntry()]; | ||
| 438 | |||
| 439 | coerce 'RepeatedAnnotationsEntry', | ||
| 440 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::AnnotationsEntry'->new($_) } @$_ ] }; | ||
| 441 | |||
| 442 | declare 'MapStringAnnotationsEntry', | ||
| 443 | as HashRef[AnnotationsEntry()]; | ||
| 444 | |||
| 445 | declare 'TagsEntry', | ||
| 446 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Cluster::TagsEntry']; | ||
| 447 | |||
| 448 | coerce 'TagsEntry', | ||
| 449 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::TagsEntry'->new($_) }; | ||
| 450 | |||
| 451 | declare 'RepeatedTagsEntry', | ||
| 452 | as ArrayRef[TagsEntry()]; | ||
| 453 | |||
| 454 | coerce 'RepeatedTagsEntry', | ||
| 455 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Cluster::TagsEntry'->new($_) } @$_ ] }; | ||
| 456 | |||
| 457 | declare 'MapStringTagsEntry', | ||
| 458 | as HashRef[TagsEntry()]; | ||
| 459 | |||
| 460 | declare 'Instance', | ||
| 461 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance']; | ||
| 462 | |||
| 463 | coerce 'Instance', | ||
| 464 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance'->new($_) }; | ||
| 465 | |||
| 466 | declare 'RepeatedInstance', | ||
| 467 | as ArrayRef[Instance()]; | ||
| 468 | |||
| 469 | coerce 'RepeatedInstance', | ||
| 470 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance'->new($_) } @$_ ] }; | ||
| 471 | |||
| 472 | declare 'MapStringInstance', | ||
| 473 | as HashRef[Instance()]; | ||
| 474 | |||
| 475 | declare 'State', | ||
| 476 | as (Int | Str); | ||
| 477 | |||
| 478 | declare 'InstanceType', | ||
| 479 | as (Int | Str); | ||
| 480 | |||
| 481 | declare 'AvailabilityType', | ||
| 482 | as (Int | Str); | ||
| 483 | |||
| 484 | declare 'PscAutoDnsState', | ||
| 485 | as (Int | Str); | ||
| 486 | |||
| 487 | declare 'ActivationPolicy', | ||
| 488 | as (Int | Str); | ||
| 489 | |||
| 490 | declare 'MachineConfig', | ||
| 491 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::MachineConfig']; | ||
| 492 | |||
| 493 | coerce 'MachineConfig', | ||
| 494 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::MachineConfig'->new($_) }; | ||
| 495 | |||
| 496 | declare 'RepeatedMachineConfig', | ||
| 497 | as ArrayRef[MachineConfig()]; | ||
| 498 | |||
| 499 | coerce 'RepeatedMachineConfig', | ||
| 500 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::MachineConfig'->new($_) } @$_ ] }; | ||
| 501 | |||
| 502 | declare 'MapStringMachineConfig', | ||
| 503 | as HashRef[MachineConfig()]; | ||
| 504 | |||
| 505 | declare 'Node', | ||
| 506 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::Node']; | ||
| 507 | |||
| 508 | coerce 'Node', | ||
| 509 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::Node'->new($_) }; | ||
| 510 | |||
| 511 | declare 'RepeatedNode', | ||
| 512 | as ArrayRef[Node()]; | ||
| 513 | |||
| 514 | coerce 'RepeatedNode', | ||
| 515 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::Node'->new($_) } @$_ ] }; | ||
| 516 | |||
| 517 | declare 'MapStringNode', | ||
| 518 | as HashRef[Node()]; | ||
| 519 | |||
| 520 | declare 'QueryInsightsInstanceConfig', | ||
| 521 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::QueryInsightsInstanceConfig']; | ||
| 522 | |||
| 523 | coerce 'QueryInsightsInstanceConfig', | ||
| 524 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::QueryInsightsInstanceConfig'->new($_) }; | ||
| 525 | |||
| 526 | declare 'RepeatedQueryInsightsInstanceConfig', | ||
| 527 | as ArrayRef[QueryInsightsInstanceConfig()]; | ||
| 528 | |||
| 529 | coerce 'RepeatedQueryInsightsInstanceConfig', | ||
| 530 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::QueryInsightsInstanceConfig'->new($_) } @$_ ] }; | ||
| 531 | |||
| 532 | declare 'MapStringQueryInsightsInstanceConfig', | ||
| 533 | as HashRef[QueryInsightsInstanceConfig()]; | ||
| 534 | |||
| 535 | declare 'QueryInsightsInstanceInfo', | ||
| 536 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::QueryInsightsInstanceInfo']; | ||
| 537 | |||
| 538 | coerce 'QueryInsightsInstanceInfo', | ||
| 539 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::QueryInsightsInstanceInfo'->new($_) }; | ||
| 540 | |||
| 541 | declare 'RepeatedQueryInsightsInstanceInfo', | ||
| 542 | as ArrayRef[QueryInsightsInstanceInfo()]; | ||
| 543 | |||
| 544 | coerce 'RepeatedQueryInsightsInstanceInfo', | ||
| 545 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::QueryInsightsInstanceInfo'->new($_) } @$_ ] }; | ||
| 546 | |||
| 547 | declare 'MapStringQueryInsightsInstanceInfo', | ||
| 548 | as HashRef[QueryInsightsInstanceInfo()]; | ||
| 549 | |||
| 550 | declare 'ObservabilityInstanceConfig', | ||
| 551 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::ObservabilityInstanceConfig']; | ||
| 552 | |||
| 553 | coerce 'ObservabilityInstanceConfig', | ||
| 554 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::ObservabilityInstanceConfig'->new($_) }; | ||
| 555 | |||
| 556 | declare 'RepeatedObservabilityInstanceConfig', | ||
| 557 | as ArrayRef[ObservabilityInstanceConfig()]; | ||
| 558 | |||
| 559 | coerce 'RepeatedObservabilityInstanceConfig', | ||
| 560 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::ObservabilityInstanceConfig'->new($_) } @$_ ] }; | ||
| 561 | |||
| 562 | declare 'MapStringObservabilityInstanceConfig', | ||
| 563 | as HashRef[ObservabilityInstanceConfig()]; | ||
| 564 | |||
| 565 | declare 'ObservabilityInstanceInfo', | ||
| 566 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::ObservabilityInstanceInfo']; | ||
| 567 | |||
| 568 | coerce 'ObservabilityInstanceInfo', | ||
| 569 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::ObservabilityInstanceInfo'->new($_) }; | ||
| 570 | |||
| 571 | declare 'RepeatedObservabilityInstanceInfo', | ||
| 572 | as ArrayRef[ObservabilityInstanceInfo()]; | ||
| 573 | |||
| 574 | coerce 'RepeatedObservabilityInstanceInfo', | ||
| 575 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::ObservabilityInstanceInfo'->new($_) } @$_ ] }; | ||
| 576 | |||
| 577 | declare 'MapStringObservabilityInstanceInfo', | ||
| 578 | as HashRef[ObservabilityInstanceInfo()]; | ||
| 579 | |||
| 580 | declare 'ReadPoolConfig', | ||
| 581 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::ReadPoolConfig']; | ||
| 582 | |||
| 583 | coerce 'ReadPoolConfig', | ||
| 584 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::ReadPoolConfig'->new($_) }; | ||
| 585 | |||
| 586 | declare 'RepeatedReadPoolConfig', | ||
| 587 | as ArrayRef[ReadPoolConfig()]; | ||
| 588 | |||
| 589 | coerce 'RepeatedReadPoolConfig', | ||
| 590 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::ReadPoolConfig'->new($_) } @$_ ] }; | ||
| 591 | |||
| 592 | declare 'MapStringReadPoolConfig', | ||
| 593 | as HashRef[ReadPoolConfig()]; | ||
| 594 | |||
| 595 | declare 'UpdatePolicy', | ||
| 596 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::UpdatePolicy']; | ||
| 597 | |||
| 598 | coerce 'UpdatePolicy', | ||
| 599 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::UpdatePolicy'->new($_) }; | ||
| 600 | |||
| 601 | declare 'RepeatedUpdatePolicy', | ||
| 602 | as ArrayRef[UpdatePolicy()]; | ||
| 603 | |||
| 604 | coerce 'RepeatedUpdatePolicy', | ||
| 605 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::UpdatePolicy'->new($_) } @$_ ] }; | ||
| 606 | |||
| 607 | declare 'MapStringUpdatePolicy', | ||
| 608 | as HashRef[UpdatePolicy()]; | ||
| 609 | |||
| 610 | declare 'Mode', | ||
| 611 | as (Int | Str); | ||
| 612 | |||
| 613 | declare 'ClientConnectionConfig', | ||
| 614 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::ClientConnectionConfig']; | ||
| 615 | |||
| 616 | coerce 'ClientConnectionConfig', | ||
| 617 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::ClientConnectionConfig'->new($_) }; | ||
| 618 | |||
| 619 | declare 'RepeatedClientConnectionConfig', | ||
| 620 | as ArrayRef[ClientConnectionConfig()]; | ||
| 621 | |||
| 622 | coerce 'RepeatedClientConnectionConfig', | ||
| 623 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::ClientConnectionConfig'->new($_) } @$_ ] }; | ||
| 624 | |||
| 625 | declare 'MapStringClientConnectionConfig', | ||
| 626 | as HashRef[ClientConnectionConfig()]; | ||
| 627 | |||
| 628 | declare 'PscInterfaceConfig', | ||
| 629 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::PscInterfaceConfig']; | ||
| 630 | |||
| 631 | coerce 'PscInterfaceConfig', | ||
| 632 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::PscInterfaceConfig'->new($_) }; | ||
| 633 | |||
| 634 | declare 'RepeatedPscInterfaceConfig', | ||
| 635 | as ArrayRef[PscInterfaceConfig()]; | ||
| 636 | |||
| 637 | coerce 'RepeatedPscInterfaceConfig', | ||
| 638 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::PscInterfaceConfig'->new($_) } @$_ ] }; | ||
| 639 | |||
| 640 | declare 'MapStringPscInterfaceConfig', | ||
| 641 | as HashRef[PscInterfaceConfig()]; | ||
| 642 | |||
| 643 | declare 'PscAutoConnectionConfig', | ||
| 644 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::PscAutoConnectionConfig']; | ||
| 645 | |||
| 646 | coerce 'PscAutoConnectionConfig', | ||
| 647 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::PscAutoConnectionConfig'->new($_) }; | ||
| 648 | |||
| 649 | declare 'RepeatedPscAutoConnectionConfig', | ||
| 650 | as ArrayRef[PscAutoConnectionConfig()]; | ||
| 651 | |||
| 652 | coerce 'RepeatedPscAutoConnectionConfig', | ||
| 653 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::PscAutoConnectionConfig'->new($_) } @$_ ] }; | ||
| 654 | |||
| 655 | declare 'MapStringPscAutoConnectionConfig', | ||
| 656 | as HashRef[PscAutoConnectionConfig()]; | ||
| 657 | |||
| 658 | declare 'PscInstanceConfig', | ||
| 659 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::PscInstanceConfig']; | ||
| 660 | |||
| 661 | coerce 'PscInstanceConfig', | ||
| 662 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::PscInstanceConfig'->new($_) }; | ||
| 663 | |||
| 664 | declare 'RepeatedPscInstanceConfig', | ||
| 665 | as ArrayRef[PscInstanceConfig()]; | ||
| 666 | |||
| 667 | coerce 'RepeatedPscInstanceConfig', | ||
| 668 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::PscInstanceConfig'->new($_) } @$_ ] }; | ||
| 669 | |||
| 670 | declare 'MapStringPscInstanceConfig', | ||
| 671 | as HashRef[PscInstanceConfig()]; | ||
| 672 | |||
| 673 | declare 'PscAutoConnectionPolicyState', | ||
| 674 | as (Int | Str); | ||
| 675 | |||
| 676 | declare 'PscInstanceInfo', | ||
| 677 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::PscInstanceInfo']; | ||
| 678 | |||
| 679 | coerce 'PscInstanceInfo', | ||
| 680 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::PscInstanceInfo'->new($_) }; | ||
| 681 | |||
| 682 | declare 'RepeatedPscInstanceInfo', | ||
| 683 | as ArrayRef[PscInstanceInfo()]; | ||
| 684 | |||
| 685 | coerce 'RepeatedPscInstanceInfo', | ||
| 686 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::PscInstanceInfo'->new($_) } @$_ ] }; | ||
| 687 | |||
| 688 | declare 'MapStringPscInstanceInfo', | ||
| 689 | as HashRef[PscInstanceInfo()]; | ||
| 690 | |||
| 691 | declare 'InstanceNetworkConfig', | ||
| 692 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::InstanceNetworkConfig']; | ||
| 693 | |||
| 694 | coerce 'InstanceNetworkConfig', | ||
| 695 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::InstanceNetworkConfig'->new($_) }; | ||
| 696 | |||
| 697 | declare 'RepeatedInstanceNetworkConfig', | ||
| 698 | as ArrayRef[InstanceNetworkConfig()]; | ||
| 699 | |||
| 700 | coerce 'RepeatedInstanceNetworkConfig', | ||
| 701 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::InstanceNetworkConfig'->new($_) } @$_ ] }; | ||
| 702 | |||
| 703 | declare 'MapStringInstanceNetworkConfig', | ||
| 704 | as HashRef[InstanceNetworkConfig()]; | ||
| 705 | |||
| 706 | declare 'AuthorizedNetwork', | ||
| 707 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::InstanceNetworkConfig::AuthorizedNetwork']; | ||
| 708 | |||
| 709 | coerce 'AuthorizedNetwork', | ||
| 710 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::InstanceNetworkConfig::AuthorizedNetwork'->new($_) }; | ||
| 711 | |||
| 712 | declare 'RepeatedAuthorizedNetwork', | ||
| 713 | as ArrayRef[AuthorizedNetwork()]; | ||
| 714 | |||
| 715 | coerce 'RepeatedAuthorizedNetwork', | ||
| 716 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::InstanceNetworkConfig::AuthorizedNetwork'->new($_) } @$_ ] }; | ||
| 717 | |||
| 718 | declare 'MapStringAuthorizedNetwork', | ||
| 719 | as HashRef[AuthorizedNetwork()]; | ||
| 720 | |||
| 721 | declare 'ConnectionPoolConfig', | ||
| 722 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::ConnectionPoolConfig']; | ||
| 723 | |||
| 724 | coerce 'ConnectionPoolConfig', | ||
| 725 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::ConnectionPoolConfig'->new($_) }; | ||
| 726 | |||
| 727 | declare 'RepeatedConnectionPoolConfig', | ||
| 728 | as ArrayRef[ConnectionPoolConfig()]; | ||
| 729 | |||
| 730 | coerce 'RepeatedConnectionPoolConfig', | ||
| 731 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::ConnectionPoolConfig'->new($_) } @$_ ] }; | ||
| 732 | |||
| 733 | declare 'MapStringConnectionPoolConfig', | ||
| 734 | as HashRef[ConnectionPoolConfig()]; | ||
| 735 | |||
| 736 | declare 'FlagsEntry', | ||
| 737 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::ConnectionPoolConfig::FlagsEntry']; | ||
| 738 | |||
| 739 | coerce 'FlagsEntry', | ||
| 740 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::ConnectionPoolConfig::FlagsEntry'->new($_) }; | ||
| 741 | |||
| 742 | declare 'RepeatedFlagsEntry', | ||
| 743 | as ArrayRef[FlagsEntry()]; | ||
| 744 | |||
| 745 | coerce 'RepeatedFlagsEntry', | ||
| 746 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::ConnectionPoolConfig::FlagsEntry'->new($_) } @$_ ] }; | ||
| 747 | |||
| 748 | declare 'MapStringFlagsEntry', | ||
| 749 | as HashRef[FlagsEntry()]; | ||
| 750 | |||
| 751 | declare 'LabelsEntry', | ||
| 752 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::LabelsEntry']; | ||
| 753 | |||
| 754 | coerce 'LabelsEntry', | ||
| 755 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::LabelsEntry'->new($_) }; | ||
| 756 | |||
| 757 | declare 'RepeatedLabelsEntry', | ||
| 758 | as ArrayRef[LabelsEntry()]; | ||
| 759 | |||
| 760 | coerce 'RepeatedLabelsEntry', | ||
| 761 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::LabelsEntry'->new($_) } @$_ ] }; | ||
| 762 | |||
| 763 | declare 'MapStringLabelsEntry', | ||
| 764 | as HashRef[LabelsEntry()]; | ||
| 765 | |||
| 766 | declare 'DatabaseFlagsEntry', | ||
| 767 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::DatabaseFlagsEntry']; | ||
| 768 | |||
| 769 | coerce 'DatabaseFlagsEntry', | ||
| 770 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::DatabaseFlagsEntry'->new($_) }; | ||
| 771 | |||
| 772 | declare 'RepeatedDatabaseFlagsEntry', | ||
| 773 | as ArrayRef[DatabaseFlagsEntry()]; | ||
| 774 | |||
| 775 | coerce 'RepeatedDatabaseFlagsEntry', | ||
| 776 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::DatabaseFlagsEntry'->new($_) } @$_ ] }; | ||
| 777 | |||
| 778 | declare 'MapStringDatabaseFlagsEntry', | ||
| 779 | as HashRef[DatabaseFlagsEntry()]; | ||
| 780 | |||
| 781 | declare 'AnnotationsEntry', | ||
| 782 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Instance::AnnotationsEntry']; | ||
| 783 | |||
| 784 | coerce 'AnnotationsEntry', | ||
| 785 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::AnnotationsEntry'->new($_) }; | ||
| 786 | |||
| 787 | declare 'RepeatedAnnotationsEntry', | ||
| 788 | as ArrayRef[AnnotationsEntry()]; | ||
| 789 | |||
| 790 | coerce 'RepeatedAnnotationsEntry', | ||
| 791 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Instance::AnnotationsEntry'->new($_) } @$_ ] }; | ||
| 792 | |||
| 793 | declare 'MapStringAnnotationsEntry', | ||
| 794 | as HashRef[AnnotationsEntry()]; | ||
| 795 | |||
| 796 | declare 'ConnectionInfo', | ||
| 797 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::ConnectionInfo']; | ||
| 798 | |||
| 799 | coerce 'ConnectionInfo', | ||
| 800 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::ConnectionInfo'->new($_) }; | ||
| 801 | |||
| 802 | declare 'RepeatedConnectionInfo', | ||
| 803 | as ArrayRef[ConnectionInfo()]; | ||
| 804 | |||
| 805 | coerce 'RepeatedConnectionInfo', | ||
| 806 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::ConnectionInfo'->new($_) } @$_ ] }; | ||
| 807 | |||
| 808 | declare 'MapStringConnectionInfo', | ||
| 809 | as HashRef[ConnectionInfo()]; | ||
| 810 | |||
| 811 | declare 'Backup', | ||
| 812 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Backup']; | ||
| 813 | |||
| 814 | coerce 'Backup', | ||
| 815 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Backup'->new($_) }; | ||
| 816 | |||
| 817 | declare 'RepeatedBackup', | ||
| 818 | as ArrayRef[Backup()]; | ||
| 819 | |||
| 820 | coerce 'RepeatedBackup', | ||
| 821 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Backup'->new($_) } @$_ ] }; | ||
| 822 | |||
| 823 | declare 'MapStringBackup', | ||
| 824 | as HashRef[Backup()]; | ||
| 825 | |||
| 826 | declare 'State', | ||
| 827 | as (Int | Str); | ||
| 828 | |||
| 829 | declare 'Type', | ||
| 830 | as (Int | Str); | ||
| 831 | |||
| 832 | declare 'QuantityBasedExpiry', | ||
| 833 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Backup::QuantityBasedExpiry']; | ||
| 834 | |||
| 835 | coerce 'QuantityBasedExpiry', | ||
| 836 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Backup::QuantityBasedExpiry'->new($_) }; | ||
| 837 | |||
| 838 | declare 'RepeatedQuantityBasedExpiry', | ||
| 839 | as ArrayRef[QuantityBasedExpiry()]; | ||
| 840 | |||
| 841 | coerce 'RepeatedQuantityBasedExpiry', | ||
| 842 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Backup::QuantityBasedExpiry'->new($_) } @$_ ] }; | ||
| 843 | |||
| 844 | declare 'MapStringQuantityBasedExpiry', | ||
| 845 | as HashRef[QuantityBasedExpiry()]; | ||
| 846 | |||
| 847 | declare 'LabelsEntry', | ||
| 848 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Backup::LabelsEntry']; | ||
| 849 | |||
| 850 | coerce 'LabelsEntry', | ||
| 851 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Backup::LabelsEntry'->new($_) }; | ||
| 852 | |||
| 853 | declare 'RepeatedLabelsEntry', | ||
| 854 | as ArrayRef[LabelsEntry()]; | ||
| 855 | |||
| 856 | coerce 'RepeatedLabelsEntry', | ||
| 857 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Backup::LabelsEntry'->new($_) } @$_ ] }; | ||
| 858 | |||
| 859 | declare 'MapStringLabelsEntry', | ||
| 860 | as HashRef[LabelsEntry()]; | ||
| 861 | |||
| 862 | declare 'AnnotationsEntry', | ||
| 863 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Backup::AnnotationsEntry']; | ||
| 864 | |||
| 865 | coerce 'AnnotationsEntry', | ||
| 866 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Backup::AnnotationsEntry'->new($_) }; | ||
| 867 | |||
| 868 | declare 'RepeatedAnnotationsEntry', | ||
| 869 | as ArrayRef[AnnotationsEntry()]; | ||
| 870 | |||
| 871 | coerce 'RepeatedAnnotationsEntry', | ||
| 872 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Backup::AnnotationsEntry'->new($_) } @$_ ] }; | ||
| 873 | |||
| 874 | declare 'MapStringAnnotationsEntry', | ||
| 875 | as HashRef[AnnotationsEntry()]; | ||
| 876 | |||
| 877 | declare 'TagsEntry', | ||
| 878 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Backup::TagsEntry']; | ||
| 879 | |||
| 880 | coerce 'TagsEntry', | ||
| 881 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Backup::TagsEntry'->new($_) }; | ||
| 882 | |||
| 883 | declare 'RepeatedTagsEntry', | ||
| 884 | as ArrayRef[TagsEntry()]; | ||
| 885 | |||
| 886 | coerce 'RepeatedTagsEntry', | ||
| 887 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Backup::TagsEntry'->new($_) } @$_ ] }; | ||
| 888 | |||
| 889 | declare 'MapStringTagsEntry', | ||
| 890 | as HashRef[TagsEntry()]; | ||
| 891 | |||
| 892 | declare 'SupportedDatabaseFlag', | ||
| 893 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::SupportedDatabaseFlag']; | ||
| 894 | |||
| 895 | coerce 'SupportedDatabaseFlag', | ||
| 896 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::SupportedDatabaseFlag'->new($_) }; | ||
| 897 | |||
| 898 | declare 'RepeatedSupportedDatabaseFlag', | ||
| 899 | as ArrayRef[SupportedDatabaseFlag()]; | ||
| 900 | |||
| 901 | coerce 'RepeatedSupportedDatabaseFlag', | ||
| 902 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::SupportedDatabaseFlag'->new($_) } @$_ ] }; | ||
| 903 | |||
| 904 | declare 'MapStringSupportedDatabaseFlag', | ||
| 905 | as HashRef[SupportedDatabaseFlag()]; | ||
| 906 | |||
| 907 | declare 'ValueType', | ||
| 908 | as (Int | Str); | ||
| 909 | |||
| 910 | declare 'Scope', | ||
| 911 | as (Int | Str); | ||
| 912 | |||
| 913 | declare 'StringRestrictions', | ||
| 914 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::SupportedDatabaseFlag::StringRestrictions']; | ||
| 915 | |||
| 916 | coerce 'StringRestrictions', | ||
| 917 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::SupportedDatabaseFlag::StringRestrictions'->new($_) }; | ||
| 918 | |||
| 919 | declare 'RepeatedStringRestrictions', | ||
| 920 | as ArrayRef[StringRestrictions()]; | ||
| 921 | |||
| 922 | coerce 'RepeatedStringRestrictions', | ||
| 923 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::SupportedDatabaseFlag::StringRestrictions'->new($_) } @$_ ] }; | ||
| 924 | |||
| 925 | declare 'MapStringStringRestrictions', | ||
| 926 | as HashRef[StringRestrictions()]; | ||
| 927 | |||
| 928 | declare 'IntegerRestrictions', | ||
| 929 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::SupportedDatabaseFlag::IntegerRestrictions']; | ||
| 930 | |||
| 931 | coerce 'IntegerRestrictions', | ||
| 932 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::SupportedDatabaseFlag::IntegerRestrictions'->new($_) }; | ||
| 933 | |||
| 934 | declare 'RepeatedIntegerRestrictions', | ||
| 935 | as ArrayRef[IntegerRestrictions()]; | ||
| 936 | |||
| 937 | coerce 'RepeatedIntegerRestrictions', | ||
| 938 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::SupportedDatabaseFlag::IntegerRestrictions'->new($_) } @$_ ] }; | ||
| 939 | |||
| 940 | declare 'MapStringIntegerRestrictions', | ||
| 941 | as HashRef[IntegerRestrictions()]; | ||
| 942 | |||
| 943 | declare 'User', | ||
| 944 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::User']; | ||
| 945 | |||
| 946 | coerce 'User', | ||
| 947 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::User'->new($_) }; | ||
| 948 | |||
| 949 | declare 'RepeatedUser', | ||
| 950 | as ArrayRef[User()]; | ||
| 951 | |||
| 952 | coerce 'RepeatedUser', | ||
| 953 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::User'->new($_) } @$_ ] }; | ||
| 954 | |||
| 955 | declare 'MapStringUser', | ||
| 956 | as HashRef[User()]; | ||
| 957 | |||
| 958 | declare 'UserType', | ||
| 959 | as (Int | Str); | ||
| 960 | |||
| 961 | declare 'Database', | ||
| 962 | as InstanceOf['Google::Cloud::Alloydb::V1beta::Resources::Database']; | ||
| 963 | |||
| 964 | coerce 'Database', | ||
| 965 | from HashRef, via { 'Google::Cloud::Alloydb::V1beta::Resources::Database'->new($_) }; | ||
| 966 | |||
| 967 | declare 'RepeatedDatabase', | ||
| 968 | as ArrayRef[Database()]; | ||
| 969 | |||
| 970 | coerce 'RepeatedDatabase', | ||
| 971 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Alloydb::V1beta::Resources::Database'->new($_) } @$_ ] }; | ||
| 972 | |||
| 973 | declare 'MapStringDatabase', | ||
| 974 | as HashRef[Database()]; | ||
| 975 | |||
| 976 | 1; | ||
| 977 | |||
| 978 | __END__ |