| 1 | package Google::Cloud::Backupdr::V1beta::ProtectionSummary::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 'ListResourceBackupConfigsRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Backupdr::V1beta::ProtectionSummary::ListResourceBackupConfigsRequest']; | ||
| 12 | |||
| 13 | coerce 'ListResourceBackupConfigsRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::ListResourceBackupConfigsRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedListResourceBackupConfigsRequest', | ||
| 17 | as ArrayRef[ListResourceBackupConfigsRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedListResourceBackupConfigsRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::ListResourceBackupConfigsRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringListResourceBackupConfigsRequest', | ||
| 23 | as HashRef[ListResourceBackupConfigsRequest()]; | ||
| 24 | |||
| 25 | declare 'ListResourceBackupConfigsResponse', | ||
| 26 | as InstanceOf['Google::Cloud::Backupdr::V1beta::ProtectionSummary::ListResourceBackupConfigsResponse']; | ||
| 27 | |||
| 28 | coerce 'ListResourceBackupConfigsResponse', | ||
| 29 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::ListResourceBackupConfigsResponse'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListResourceBackupConfigsResponse', | ||
| 32 | as ArrayRef[ListResourceBackupConfigsResponse()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListResourceBackupConfigsResponse', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::ListResourceBackupConfigsResponse'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListResourceBackupConfigsResponse', | ||
| 38 | as HashRef[ListResourceBackupConfigsResponse()]; | ||
| 39 | |||
| 40 | declare 'ResourceBackupConfig', | ||
| 41 | as InstanceOf['Google::Cloud::Backupdr::V1beta::ProtectionSummary::ResourceBackupConfig']; | ||
| 42 | |||
| 43 | coerce 'ResourceBackupConfig', | ||
| 44 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::ResourceBackupConfig'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedResourceBackupConfig', | ||
| 47 | as ArrayRef[ResourceBackupConfig()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedResourceBackupConfig', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::ResourceBackupConfig'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringResourceBackupConfig', | ||
| 53 | as HashRef[ResourceBackupConfig()]; | ||
| 54 | |||
| 55 | declare 'ResourceType', | ||
| 56 | as (Int | Str); | ||
| 57 | |||
| 58 | declare 'TargetResourceLabelsEntry', | ||
| 59 | as InstanceOf['Google::Cloud::Backupdr::V1beta::ProtectionSummary::ResourceBackupConfig::TargetResourceLabelsEntry']; | ||
| 60 | |||
| 61 | coerce 'TargetResourceLabelsEntry', | ||
| 62 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::ResourceBackupConfig::TargetResourceLabelsEntry'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedTargetResourceLabelsEntry', | ||
| 65 | as ArrayRef[TargetResourceLabelsEntry()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedTargetResourceLabelsEntry', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::ResourceBackupConfig::TargetResourceLabelsEntry'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringTargetResourceLabelsEntry', | ||
| 71 | as HashRef[TargetResourceLabelsEntry()]; | ||
| 72 | |||
| 73 | declare 'BackupConfigDetails', | ||
| 74 | as InstanceOf['Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupConfigDetails']; | ||
| 75 | |||
| 76 | coerce 'BackupConfigDetails', | ||
| 77 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupConfigDetails'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedBackupConfigDetails', | ||
| 80 | as ArrayRef[BackupConfigDetails()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedBackupConfigDetails', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupConfigDetails'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringBackupConfigDetails', | ||
| 86 | as HashRef[BackupConfigDetails()]; | ||
| 87 | |||
| 88 | declare 'Type', | ||
| 89 | as (Int | Str); | ||
| 90 | |||
| 91 | declare 'State', | ||
| 92 | as (Int | Str); | ||
| 93 | |||
| 94 | declare 'PitrSettings', | ||
| 95 | as InstanceOf['Google::Cloud::Backupdr::V1beta::ProtectionSummary::PitrSettings']; | ||
| 96 | |||
| 97 | coerce 'PitrSettings', | ||
| 98 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::PitrSettings'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedPitrSettings', | ||
| 101 | as ArrayRef[PitrSettings()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedPitrSettings', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::PitrSettings'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringPitrSettings', | ||
| 107 | as HashRef[PitrSettings()]; | ||
| 108 | |||
| 109 | declare 'BackupDrTemplateConfig', | ||
| 110 | as InstanceOf['Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrTemplateConfig']; | ||
| 111 | |||
| 112 | coerce 'BackupDrTemplateConfig', | ||
| 113 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrTemplateConfig'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedBackupDrTemplateConfig', | ||
| 116 | as ArrayRef[BackupDrTemplateConfig()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedBackupDrTemplateConfig', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrTemplateConfig'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringBackupDrTemplateConfig', | ||
| 122 | as HashRef[BackupDrTemplateConfig()]; | ||
| 123 | |||
| 124 | declare 'BackupDrPlanConfig', | ||
| 125 | as InstanceOf['Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrPlanConfig']; | ||
| 126 | |||
| 127 | coerce 'BackupDrPlanConfig', | ||
| 128 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrPlanConfig'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedBackupDrPlanConfig', | ||
| 131 | as ArrayRef[BackupDrPlanConfig()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedBackupDrPlanConfig', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrPlanConfig'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringBackupDrPlanConfig', | ||
| 137 | as HashRef[BackupDrPlanConfig()]; | ||
| 138 | |||
| 139 | declare 'BackupDrPlanRule', | ||
| 140 | as InstanceOf['Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrPlanRule']; | ||
| 141 | |||
| 142 | coerce 'BackupDrPlanRule', | ||
| 143 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrPlanRule'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedBackupDrPlanRule', | ||
| 146 | as ArrayRef[BackupDrPlanRule()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedBackupDrPlanRule', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrPlanRule'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringBackupDrPlanRule', | ||
| 152 | as HashRef[BackupDrPlanRule()]; | ||
| 153 | |||
| 154 | declare 'BackupLocation', | ||
| 155 | as InstanceOf['Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupLocation']; | ||
| 156 | |||
| 157 | coerce 'BackupLocation', | ||
| 158 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupLocation'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedBackupLocation', | ||
| 161 | as ArrayRef[BackupLocation()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedBackupLocation', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupLocation'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringBackupLocation', | ||
| 167 | as HashRef[BackupLocation()]; | ||
| 168 | |||
| 169 | declare 'Type', | ||
| 170 | as (Int | Str); | ||
| 171 | |||
| 172 | 1; | ||
| 173 | |||
| 174 | __END__ |