| 1 | package Google::Cloud::Backupdr::V1beta::Backupvault::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 'BackupConfigState', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'BackupView', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'BackupVaultView', | ||
| 17 | as (Int | Str); | ||
| 18 | |||
| 19 | declare 'BackupVault', | ||
| 20 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::BackupVault']; | ||
| 21 | |||
| 22 | coerce 'BackupVault', | ||
| 23 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupVault'->new($_) }; | ||
| 24 | |||
| 25 | declare 'RepeatedBackupVault', | ||
| 26 | as ArrayRef[BackupVault()]; | ||
| 27 | |||
| 28 | coerce 'RepeatedBackupVault', | ||
| 29 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupVault'->new($_) } @$_ ] }; | ||
| 30 | |||
| 31 | declare 'MapStringBackupVault', | ||
| 32 | as HashRef[BackupVault()]; | ||
| 33 | |||
| 34 | declare 'BackupRetentionInheritance', | ||
| 35 | as (Int | Str); | ||
| 36 | |||
| 37 | declare 'State', | ||
| 38 | as (Int | Str); | ||
| 39 | |||
| 40 | declare 'AccessRestriction', | ||
| 41 | as (Int | Str); | ||
| 42 | |||
| 43 | declare 'EncryptionConfig', | ||
| 44 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::BackupVault::EncryptionConfig']; | ||
| 45 | |||
| 46 | coerce 'EncryptionConfig', | ||
| 47 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupVault::EncryptionConfig'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedEncryptionConfig', | ||
| 50 | as ArrayRef[EncryptionConfig()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedEncryptionConfig', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupVault::EncryptionConfig'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringEncryptionConfig', | ||
| 56 | as HashRef[EncryptionConfig()]; | ||
| 57 | |||
| 58 | declare 'LabelsEntry', | ||
| 59 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::BackupVault::LabelsEntry']; | ||
| 60 | |||
| 61 | coerce 'LabelsEntry', | ||
| 62 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupVault::LabelsEntry'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedLabelsEntry', | ||
| 65 | as ArrayRef[LabelsEntry()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedLabelsEntry', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupVault::LabelsEntry'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringLabelsEntry', | ||
| 71 | as HashRef[LabelsEntry()]; | ||
| 72 | |||
| 73 | declare 'AnnotationsEntry', | ||
| 74 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::BackupVault::AnnotationsEntry']; | ||
| 75 | |||
| 76 | coerce 'AnnotationsEntry', | ||
| 77 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupVault::AnnotationsEntry'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedAnnotationsEntry', | ||
| 80 | as ArrayRef[AnnotationsEntry()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedAnnotationsEntry', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupVault::AnnotationsEntry'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringAnnotationsEntry', | ||
| 86 | as HashRef[AnnotationsEntry()]; | ||
| 87 | |||
| 88 | declare 'DataSource', | ||
| 89 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::DataSource']; | ||
| 90 | |||
| 91 | coerce 'DataSource', | ||
| 92 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::DataSource'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedDataSource', | ||
| 95 | as ArrayRef[DataSource()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedDataSource', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::DataSource'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringDataSource', | ||
| 101 | as HashRef[DataSource()]; | ||
| 102 | |||
| 103 | declare 'State', | ||
| 104 | as (Int | Str); | ||
| 105 | |||
| 106 | declare 'LabelsEntry', | ||
| 107 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::DataSource::LabelsEntry']; | ||
| 108 | |||
| 109 | coerce 'LabelsEntry', | ||
| 110 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::DataSource::LabelsEntry'->new($_) }; | ||
| 111 | |||
| 112 | declare 'RepeatedLabelsEntry', | ||
| 113 | as ArrayRef[LabelsEntry()]; | ||
| 114 | |||
| 115 | coerce 'RepeatedLabelsEntry', | ||
| 116 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::DataSource::LabelsEntry'->new($_) } @$_ ] }; | ||
| 117 | |||
| 118 | declare 'MapStringLabelsEntry', | ||
| 119 | as HashRef[LabelsEntry()]; | ||
| 120 | |||
| 121 | declare 'BackupConfigInfo', | ||
| 122 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::BackupConfigInfo']; | ||
| 123 | |||
| 124 | coerce 'BackupConfigInfo', | ||
| 125 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupConfigInfo'->new($_) }; | ||
| 126 | |||
| 127 | declare 'RepeatedBackupConfigInfo', | ||
| 128 | as ArrayRef[BackupConfigInfo()]; | ||
| 129 | |||
| 130 | coerce 'RepeatedBackupConfigInfo', | ||
| 131 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupConfigInfo'->new($_) } @$_ ] }; | ||
| 132 | |||
| 133 | declare 'MapStringBackupConfigInfo', | ||
| 134 | as HashRef[BackupConfigInfo()]; | ||
| 135 | |||
| 136 | declare 'LastBackupState', | ||
| 137 | as (Int | Str); | ||
| 138 | |||
| 139 | declare 'GcpBackupConfig', | ||
| 140 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::GcpBackupConfig']; | ||
| 141 | |||
| 142 | coerce 'GcpBackupConfig', | ||
| 143 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::GcpBackupConfig'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedGcpBackupConfig', | ||
| 146 | as ArrayRef[GcpBackupConfig()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedGcpBackupConfig', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::GcpBackupConfig'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringGcpBackupConfig', | ||
| 152 | as HashRef[GcpBackupConfig()]; | ||
| 153 | |||
| 154 | declare 'BackupApplianceBackupConfig', | ||
| 155 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::BackupApplianceBackupConfig']; | ||
| 156 | |||
| 157 | coerce 'BackupApplianceBackupConfig', | ||
| 158 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupApplianceBackupConfig'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedBackupApplianceBackupConfig', | ||
| 161 | as ArrayRef[BackupApplianceBackupConfig()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedBackupApplianceBackupConfig', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupApplianceBackupConfig'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringBackupApplianceBackupConfig', | ||
| 167 | as HashRef[BackupApplianceBackupConfig()]; | ||
| 168 | |||
| 169 | declare 'DataSourceGcpResource', | ||
| 170 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::DataSourceGcpResource']; | ||
| 171 | |||
| 172 | coerce 'DataSourceGcpResource', | ||
| 173 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::DataSourceGcpResource'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedDataSourceGcpResource', | ||
| 176 | as ArrayRef[DataSourceGcpResource()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedDataSourceGcpResource', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::DataSourceGcpResource'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringDataSourceGcpResource', | ||
| 182 | as HashRef[DataSourceGcpResource()]; | ||
| 183 | |||
| 184 | declare 'DataSourceBackupApplianceApplication', | ||
| 185 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::DataSourceBackupApplianceApplication']; | ||
| 186 | |||
| 187 | coerce 'DataSourceBackupApplianceApplication', | ||
| 188 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::DataSourceBackupApplianceApplication'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedDataSourceBackupApplianceApplication', | ||
| 191 | as ArrayRef[DataSourceBackupApplianceApplication()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedDataSourceBackupApplianceApplication', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::DataSourceBackupApplianceApplication'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringDataSourceBackupApplianceApplication', | ||
| 197 | as HashRef[DataSourceBackupApplianceApplication()]; | ||
| 198 | |||
| 199 | declare 'ServiceLockInfo', | ||
| 200 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::ServiceLockInfo']; | ||
| 201 | |||
| 202 | coerce 'ServiceLockInfo', | ||
| 203 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::ServiceLockInfo'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedServiceLockInfo', | ||
| 206 | as ArrayRef[ServiceLockInfo()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedServiceLockInfo', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::ServiceLockInfo'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringServiceLockInfo', | ||
| 212 | as HashRef[ServiceLockInfo()]; | ||
| 213 | |||
| 214 | declare 'BackupApplianceLockInfo', | ||
| 215 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::BackupApplianceLockInfo']; | ||
| 216 | |||
| 217 | coerce 'BackupApplianceLockInfo', | ||
| 218 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupApplianceLockInfo'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedBackupApplianceLockInfo', | ||
| 221 | as ArrayRef[BackupApplianceLockInfo()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedBackupApplianceLockInfo', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupApplianceLockInfo'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringBackupApplianceLockInfo', | ||
| 227 | as HashRef[BackupApplianceLockInfo()]; | ||
| 228 | |||
| 229 | declare 'BackupLock', | ||
| 230 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::BackupLock']; | ||
| 231 | |||
| 232 | coerce 'BackupLock', | ||
| 233 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupLock'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedBackupLock', | ||
| 236 | as ArrayRef[BackupLock()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedBackupLock', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupLock'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringBackupLock', | ||
| 242 | as HashRef[BackupLock()]; | ||
| 243 | |||
| 244 | declare 'Backup', | ||
| 245 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::Backup']; | ||
| 246 | |||
| 247 | coerce 'Backup', | ||
| 248 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::Backup'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedBackup', | ||
| 251 | as ArrayRef[Backup()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedBackup', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::Backup'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringBackup', | ||
| 257 | as HashRef[Backup()]; | ||
| 258 | |||
| 259 | declare 'State', | ||
| 260 | as (Int | Str); | ||
| 261 | |||
| 262 | declare 'BackupType', | ||
| 263 | as (Int | Str); | ||
| 264 | |||
| 265 | declare 'GCPBackupPlanInfo', | ||
| 266 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::Backup::GCPBackupPlanInfo']; | ||
| 267 | |||
| 268 | coerce 'GCPBackupPlanInfo', | ||
| 269 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::Backup::GCPBackupPlanInfo'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedGCPBackupPlanInfo', | ||
| 272 | as ArrayRef[GCPBackupPlanInfo()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedGCPBackupPlanInfo', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::Backup::GCPBackupPlanInfo'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringGCPBackupPlanInfo', | ||
| 278 | as HashRef[GCPBackupPlanInfo()]; | ||
| 279 | |||
| 280 | declare 'LabelsEntry', | ||
| 281 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::Backup::LabelsEntry']; | ||
| 282 | |||
| 283 | coerce 'LabelsEntry', | ||
| 284 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::Backup::LabelsEntry'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedLabelsEntry', | ||
| 287 | as ArrayRef[LabelsEntry()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedLabelsEntry', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::Backup::LabelsEntry'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringLabelsEntry', | ||
| 293 | as HashRef[LabelsEntry()]; | ||
| 294 | |||
| 295 | declare 'VerificationSummary', | ||
| 296 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::VerificationSummary']; | ||
| 297 | |||
| 298 | coerce 'VerificationSummary', | ||
| 299 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::VerificationSummary'->new($_) }; | ||
| 300 | |||
| 301 | declare 'RepeatedVerificationSummary', | ||
| 302 | as ArrayRef[VerificationSummary()]; | ||
| 303 | |||
| 304 | coerce 'RepeatedVerificationSummary', | ||
| 305 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::VerificationSummary'->new($_) } @$_ ] }; | ||
| 306 | |||
| 307 | declare 'MapStringVerificationSummary', | ||
| 308 | as HashRef[VerificationSummary()]; | ||
| 309 | |||
| 310 | declare 'LastVerificationState', | ||
| 311 | as (Int | Str); | ||
| 312 | |||
| 313 | declare 'CreateBackupVaultRequest', | ||
| 314 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::CreateBackupVaultRequest']; | ||
| 315 | |||
| 316 | coerce 'CreateBackupVaultRequest', | ||
| 317 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::CreateBackupVaultRequest'->new($_) }; | ||
| 318 | |||
| 319 | declare 'RepeatedCreateBackupVaultRequest', | ||
| 320 | as ArrayRef[CreateBackupVaultRequest()]; | ||
| 321 | |||
| 322 | coerce 'RepeatedCreateBackupVaultRequest', | ||
| 323 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::CreateBackupVaultRequest'->new($_) } @$_ ] }; | ||
| 324 | |||
| 325 | declare 'MapStringCreateBackupVaultRequest', | ||
| 326 | as HashRef[CreateBackupVaultRequest()]; | ||
| 327 | |||
| 328 | declare 'ListBackupVaultsRequest', | ||
| 329 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::ListBackupVaultsRequest']; | ||
| 330 | |||
| 331 | coerce 'ListBackupVaultsRequest', | ||
| 332 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::ListBackupVaultsRequest'->new($_) }; | ||
| 333 | |||
| 334 | declare 'RepeatedListBackupVaultsRequest', | ||
| 335 | as ArrayRef[ListBackupVaultsRequest()]; | ||
| 336 | |||
| 337 | coerce 'RepeatedListBackupVaultsRequest', | ||
| 338 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::ListBackupVaultsRequest'->new($_) } @$_ ] }; | ||
| 339 | |||
| 340 | declare 'MapStringListBackupVaultsRequest', | ||
| 341 | as HashRef[ListBackupVaultsRequest()]; | ||
| 342 | |||
| 343 | declare 'ListBackupVaultsResponse', | ||
| 344 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::ListBackupVaultsResponse']; | ||
| 345 | |||
| 346 | coerce 'ListBackupVaultsResponse', | ||
| 347 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::ListBackupVaultsResponse'->new($_) }; | ||
| 348 | |||
| 349 | declare 'RepeatedListBackupVaultsResponse', | ||
| 350 | as ArrayRef[ListBackupVaultsResponse()]; | ||
| 351 | |||
| 352 | coerce 'RepeatedListBackupVaultsResponse', | ||
| 353 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::ListBackupVaultsResponse'->new($_) } @$_ ] }; | ||
| 354 | |||
| 355 | declare 'MapStringListBackupVaultsResponse', | ||
| 356 | as HashRef[ListBackupVaultsResponse()]; | ||
| 357 | |||
| 358 | declare 'FetchUsableBackupVaultsRequest', | ||
| 359 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::FetchUsableBackupVaultsRequest']; | ||
| 360 | |||
| 361 | coerce 'FetchUsableBackupVaultsRequest', | ||
| 362 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::FetchUsableBackupVaultsRequest'->new($_) }; | ||
| 363 | |||
| 364 | declare 'RepeatedFetchUsableBackupVaultsRequest', | ||
| 365 | as ArrayRef[FetchUsableBackupVaultsRequest()]; | ||
| 366 | |||
| 367 | coerce 'RepeatedFetchUsableBackupVaultsRequest', | ||
| 368 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::FetchUsableBackupVaultsRequest'->new($_) } @$_ ] }; | ||
| 369 | |||
| 370 | declare 'MapStringFetchUsableBackupVaultsRequest', | ||
| 371 | as HashRef[FetchUsableBackupVaultsRequest()]; | ||
| 372 | |||
| 373 | declare 'FetchUsableBackupVaultsResponse', | ||
| 374 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::FetchUsableBackupVaultsResponse']; | ||
| 375 | |||
| 376 | coerce 'FetchUsableBackupVaultsResponse', | ||
| 377 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::FetchUsableBackupVaultsResponse'->new($_) }; | ||
| 378 | |||
| 379 | declare 'RepeatedFetchUsableBackupVaultsResponse', | ||
| 380 | as ArrayRef[FetchUsableBackupVaultsResponse()]; | ||
| 381 | |||
| 382 | coerce 'RepeatedFetchUsableBackupVaultsResponse', | ||
| 383 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::FetchUsableBackupVaultsResponse'->new($_) } @$_ ] }; | ||
| 384 | |||
| 385 | declare 'MapStringFetchUsableBackupVaultsResponse', | ||
| 386 | as HashRef[FetchUsableBackupVaultsResponse()]; | ||
| 387 | |||
| 388 | declare 'FetchBackupsForResourceTypeRequest', | ||
| 389 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::FetchBackupsForResourceTypeRequest']; | ||
| 390 | |||
| 391 | coerce 'FetchBackupsForResourceTypeRequest', | ||
| 392 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::FetchBackupsForResourceTypeRequest'->new($_) }; | ||
| 393 | |||
| 394 | declare 'RepeatedFetchBackupsForResourceTypeRequest', | ||
| 395 | as ArrayRef[FetchBackupsForResourceTypeRequest()]; | ||
| 396 | |||
| 397 | coerce 'RepeatedFetchBackupsForResourceTypeRequest', | ||
| 398 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::FetchBackupsForResourceTypeRequest'->new($_) } @$_ ] }; | ||
| 399 | |||
| 400 | declare 'MapStringFetchBackupsForResourceTypeRequest', | ||
| 401 | as HashRef[FetchBackupsForResourceTypeRequest()]; | ||
| 402 | |||
| 403 | declare 'FetchBackupsForResourceTypeResponse', | ||
| 404 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::FetchBackupsForResourceTypeResponse']; | ||
| 405 | |||
| 406 | coerce 'FetchBackupsForResourceTypeResponse', | ||
| 407 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::FetchBackupsForResourceTypeResponse'->new($_) }; | ||
| 408 | |||
| 409 | declare 'RepeatedFetchBackupsForResourceTypeResponse', | ||
| 410 | as ArrayRef[FetchBackupsForResourceTypeResponse()]; | ||
| 411 | |||
| 412 | coerce 'RepeatedFetchBackupsForResourceTypeResponse', | ||
| 413 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::FetchBackupsForResourceTypeResponse'->new($_) } @$_ ] }; | ||
| 414 | |||
| 415 | declare 'MapStringFetchBackupsForResourceTypeResponse', | ||
| 416 | as HashRef[FetchBackupsForResourceTypeResponse()]; | ||
| 417 | |||
| 418 | declare 'GetBackupVaultRequest', | ||
| 419 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::GetBackupVaultRequest']; | ||
| 420 | |||
| 421 | coerce 'GetBackupVaultRequest', | ||
| 422 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::GetBackupVaultRequest'->new($_) }; | ||
| 423 | |||
| 424 | declare 'RepeatedGetBackupVaultRequest', | ||
| 425 | as ArrayRef[GetBackupVaultRequest()]; | ||
| 426 | |||
| 427 | coerce 'RepeatedGetBackupVaultRequest', | ||
| 428 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::GetBackupVaultRequest'->new($_) } @$_ ] }; | ||
| 429 | |||
| 430 | declare 'MapStringGetBackupVaultRequest', | ||
| 431 | as HashRef[GetBackupVaultRequest()]; | ||
| 432 | |||
| 433 | declare 'UpdateBackupVaultRequest', | ||
| 434 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::UpdateBackupVaultRequest']; | ||
| 435 | |||
| 436 | coerce 'UpdateBackupVaultRequest', | ||
| 437 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::UpdateBackupVaultRequest'->new($_) }; | ||
| 438 | |||
| 439 | declare 'RepeatedUpdateBackupVaultRequest', | ||
| 440 | as ArrayRef[UpdateBackupVaultRequest()]; | ||
| 441 | |||
| 442 | coerce 'RepeatedUpdateBackupVaultRequest', | ||
| 443 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::UpdateBackupVaultRequest'->new($_) } @$_ ] }; | ||
| 444 | |||
| 445 | declare 'MapStringUpdateBackupVaultRequest', | ||
| 446 | as HashRef[UpdateBackupVaultRequest()]; | ||
| 447 | |||
| 448 | declare 'DeleteBackupVaultRequest', | ||
| 449 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::DeleteBackupVaultRequest']; | ||
| 450 | |||
| 451 | coerce 'DeleteBackupVaultRequest', | ||
| 452 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::DeleteBackupVaultRequest'->new($_) }; | ||
| 453 | |||
| 454 | declare 'RepeatedDeleteBackupVaultRequest', | ||
| 455 | as ArrayRef[DeleteBackupVaultRequest()]; | ||
| 456 | |||
| 457 | coerce 'RepeatedDeleteBackupVaultRequest', | ||
| 458 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::DeleteBackupVaultRequest'->new($_) } @$_ ] }; | ||
| 459 | |||
| 460 | declare 'MapStringDeleteBackupVaultRequest', | ||
| 461 | as HashRef[DeleteBackupVaultRequest()]; | ||
| 462 | |||
| 463 | declare 'ListDataSourcesRequest', | ||
| 464 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::ListDataSourcesRequest']; | ||
| 465 | |||
| 466 | coerce 'ListDataSourcesRequest', | ||
| 467 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::ListDataSourcesRequest'->new($_) }; | ||
| 468 | |||
| 469 | declare 'RepeatedListDataSourcesRequest', | ||
| 470 | as ArrayRef[ListDataSourcesRequest()]; | ||
| 471 | |||
| 472 | coerce 'RepeatedListDataSourcesRequest', | ||
| 473 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::ListDataSourcesRequest'->new($_) } @$_ ] }; | ||
| 474 | |||
| 475 | declare 'MapStringListDataSourcesRequest', | ||
| 476 | as HashRef[ListDataSourcesRequest()]; | ||
| 477 | |||
| 478 | declare 'ListDataSourcesResponse', | ||
| 479 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::ListDataSourcesResponse']; | ||
| 480 | |||
| 481 | coerce 'ListDataSourcesResponse', | ||
| 482 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::ListDataSourcesResponse'->new($_) }; | ||
| 483 | |||
| 484 | declare 'RepeatedListDataSourcesResponse', | ||
| 485 | as ArrayRef[ListDataSourcesResponse()]; | ||
| 486 | |||
| 487 | coerce 'RepeatedListDataSourcesResponse', | ||
| 488 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::ListDataSourcesResponse'->new($_) } @$_ ] }; | ||
| 489 | |||
| 490 | declare 'MapStringListDataSourcesResponse', | ||
| 491 | as HashRef[ListDataSourcesResponse()]; | ||
| 492 | |||
| 493 | declare 'GetDataSourceRequest', | ||
| 494 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::GetDataSourceRequest']; | ||
| 495 | |||
| 496 | coerce 'GetDataSourceRequest', | ||
| 497 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::GetDataSourceRequest'->new($_) }; | ||
| 498 | |||
| 499 | declare 'RepeatedGetDataSourceRequest', | ||
| 500 | as ArrayRef[GetDataSourceRequest()]; | ||
| 501 | |||
| 502 | coerce 'RepeatedGetDataSourceRequest', | ||
| 503 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::GetDataSourceRequest'->new($_) } @$_ ] }; | ||
| 504 | |||
| 505 | declare 'MapStringGetDataSourceRequest', | ||
| 506 | as HashRef[GetDataSourceRequest()]; | ||
| 507 | |||
| 508 | declare 'UpdateDataSourceRequest', | ||
| 509 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::UpdateDataSourceRequest']; | ||
| 510 | |||
| 511 | coerce 'UpdateDataSourceRequest', | ||
| 512 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::UpdateDataSourceRequest'->new($_) }; | ||
| 513 | |||
| 514 | declare 'RepeatedUpdateDataSourceRequest', | ||
| 515 | as ArrayRef[UpdateDataSourceRequest()]; | ||
| 516 | |||
| 517 | coerce 'RepeatedUpdateDataSourceRequest', | ||
| 518 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::UpdateDataSourceRequest'->new($_) } @$_ ] }; | ||
| 519 | |||
| 520 | declare 'MapStringUpdateDataSourceRequest', | ||
| 521 | as HashRef[UpdateDataSourceRequest()]; | ||
| 522 | |||
| 523 | declare 'ListBackupsRequest', | ||
| 524 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::ListBackupsRequest']; | ||
| 525 | |||
| 526 | coerce 'ListBackupsRequest', | ||
| 527 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::ListBackupsRequest'->new($_) }; | ||
| 528 | |||
| 529 | declare 'RepeatedListBackupsRequest', | ||
| 530 | as ArrayRef[ListBackupsRequest()]; | ||
| 531 | |||
| 532 | coerce 'RepeatedListBackupsRequest', | ||
| 533 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::ListBackupsRequest'->new($_) } @$_ ] }; | ||
| 534 | |||
| 535 | declare 'MapStringListBackupsRequest', | ||
| 536 | as HashRef[ListBackupsRequest()]; | ||
| 537 | |||
| 538 | declare 'ListBackupsResponse', | ||
| 539 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::ListBackupsResponse']; | ||
| 540 | |||
| 541 | coerce 'ListBackupsResponse', | ||
| 542 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::ListBackupsResponse'->new($_) }; | ||
| 543 | |||
| 544 | declare 'RepeatedListBackupsResponse', | ||
| 545 | as ArrayRef[ListBackupsResponse()]; | ||
| 546 | |||
| 547 | coerce 'RepeatedListBackupsResponse', | ||
| 548 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::ListBackupsResponse'->new($_) } @$_ ] }; | ||
| 549 | |||
| 550 | declare 'MapStringListBackupsResponse', | ||
| 551 | as HashRef[ListBackupsResponse()]; | ||
| 552 | |||
| 553 | declare 'GetBackupRequest', | ||
| 554 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::GetBackupRequest']; | ||
| 555 | |||
| 556 | coerce 'GetBackupRequest', | ||
| 557 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::GetBackupRequest'->new($_) }; | ||
| 558 | |||
| 559 | declare 'RepeatedGetBackupRequest', | ||
| 560 | as ArrayRef[GetBackupRequest()]; | ||
| 561 | |||
| 562 | coerce 'RepeatedGetBackupRequest', | ||
| 563 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::GetBackupRequest'->new($_) } @$_ ] }; | ||
| 564 | |||
| 565 | declare 'MapStringGetBackupRequest', | ||
| 566 | as HashRef[GetBackupRequest()]; | ||
| 567 | |||
| 568 | declare 'UpdateBackupRequest', | ||
| 569 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::UpdateBackupRequest']; | ||
| 570 | |||
| 571 | coerce 'UpdateBackupRequest', | ||
| 572 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::UpdateBackupRequest'->new($_) }; | ||
| 573 | |||
| 574 | declare 'RepeatedUpdateBackupRequest', | ||
| 575 | as ArrayRef[UpdateBackupRequest()]; | ||
| 576 | |||
| 577 | coerce 'RepeatedUpdateBackupRequest', | ||
| 578 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::UpdateBackupRequest'->new($_) } @$_ ] }; | ||
| 579 | |||
| 580 | declare 'MapStringUpdateBackupRequest', | ||
| 581 | as HashRef[UpdateBackupRequest()]; | ||
| 582 | |||
| 583 | declare 'DeleteBackupRequest', | ||
| 584 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::DeleteBackupRequest']; | ||
| 585 | |||
| 586 | coerce 'DeleteBackupRequest', | ||
| 587 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::DeleteBackupRequest'->new($_) }; | ||
| 588 | |||
| 589 | declare 'RepeatedDeleteBackupRequest', | ||
| 590 | as ArrayRef[DeleteBackupRequest()]; | ||
| 591 | |||
| 592 | coerce 'RepeatedDeleteBackupRequest', | ||
| 593 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::DeleteBackupRequest'->new($_) } @$_ ] }; | ||
| 594 | |||
| 595 | declare 'MapStringDeleteBackupRequest', | ||
| 596 | as HashRef[DeleteBackupRequest()]; | ||
| 597 | |||
| 598 | declare 'RestoreBackupRequest', | ||
| 599 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::RestoreBackupRequest']; | ||
| 600 | |||
| 601 | coerce 'RestoreBackupRequest', | ||
| 602 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::RestoreBackupRequest'->new($_) }; | ||
| 603 | |||
| 604 | declare 'RepeatedRestoreBackupRequest', | ||
| 605 | as ArrayRef[RestoreBackupRequest()]; | ||
| 606 | |||
| 607 | coerce 'RepeatedRestoreBackupRequest', | ||
| 608 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::RestoreBackupRequest'->new($_) } @$_ ] }; | ||
| 609 | |||
| 610 | declare 'MapStringRestoreBackupRequest', | ||
| 611 | as HashRef[RestoreBackupRequest()]; | ||
| 612 | |||
| 613 | declare 'RestoreBackupResponse', | ||
| 614 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::RestoreBackupResponse']; | ||
| 615 | |||
| 616 | coerce 'RestoreBackupResponse', | ||
| 617 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::RestoreBackupResponse'->new($_) }; | ||
| 618 | |||
| 619 | declare 'RepeatedRestoreBackupResponse', | ||
| 620 | as ArrayRef[RestoreBackupResponse()]; | ||
| 621 | |||
| 622 | coerce 'RepeatedRestoreBackupResponse', | ||
| 623 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::RestoreBackupResponse'->new($_) } @$_ ] }; | ||
| 624 | |||
| 625 | declare 'MapStringRestoreBackupResponse', | ||
| 626 | as HashRef[RestoreBackupResponse()]; | ||
| 627 | |||
| 628 | declare 'TargetResource', | ||
| 629 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::TargetResource']; | ||
| 630 | |||
| 631 | coerce 'TargetResource', | ||
| 632 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::TargetResource'->new($_) }; | ||
| 633 | |||
| 634 | declare 'RepeatedTargetResource', | ||
| 635 | as ArrayRef[TargetResource()]; | ||
| 636 | |||
| 637 | coerce 'RepeatedTargetResource', | ||
| 638 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::TargetResource'->new($_) } @$_ ] }; | ||
| 639 | |||
| 640 | declare 'MapStringTargetResource', | ||
| 641 | as HashRef[TargetResource()]; | ||
| 642 | |||
| 643 | declare 'GcpResource', | ||
| 644 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::GcpResource']; | ||
| 645 | |||
| 646 | coerce 'GcpResource', | ||
| 647 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::GcpResource'->new($_) }; | ||
| 648 | |||
| 649 | declare 'RepeatedGcpResource', | ||
| 650 | as ArrayRef[GcpResource()]; | ||
| 651 | |||
| 652 | coerce 'RepeatedGcpResource', | ||
| 653 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::GcpResource'->new($_) } @$_ ] }; | ||
| 654 | |||
| 655 | declare 'MapStringGcpResource', | ||
| 656 | as HashRef[GcpResource()]; | ||
| 657 | |||
| 658 | declare 'BackupGcpResource', | ||
| 659 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Backupvault::BackupGcpResource']; | ||
| 660 | |||
| 661 | coerce 'BackupGcpResource', | ||
| 662 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupGcpResource'->new($_) }; | ||
| 663 | |||
| 664 | declare 'RepeatedBackupGcpResource', | ||
| 665 | as ArrayRef[BackupGcpResource()]; | ||
| 666 | |||
| 667 | coerce 'RepeatedBackupGcpResource', | ||
| 668 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Backupvault::BackupGcpResource'->new($_) } @$_ ] }; | ||
| 669 | |||
| 670 | declare 'MapStringBackupGcpResource', | ||
| 671 | as HashRef[BackupGcpResource()]; | ||
| 672 | |||
| 673 | 1; | ||
| 674 | |||
| 675 | __END__ |