| 1 | package Google::Cloud::Backupdr::V1::Backupplanassociation::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 'BackupPlanAssociation', | ||
| 11 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupplanassociation::BackupPlanAssociation']; | ||
| 12 | |||
| 13 | coerce 'BackupPlanAssociation', | ||
| 14 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupplanassociation::BackupPlanAssociation'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedBackupPlanAssociation', | ||
| 17 | as ArrayRef[BackupPlanAssociation()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedBackupPlanAssociation', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupplanassociation::BackupPlanAssociation'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringBackupPlanAssociation', | ||
| 23 | as HashRef[BackupPlanAssociation()]; | ||
| 24 | |||
| 25 | declare 'State', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'RuleConfigInfo', | ||
| 29 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupplanassociation::RuleConfigInfo']; | ||
| 30 | |||
| 31 | coerce 'RuleConfigInfo', | ||
| 32 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupplanassociation::RuleConfigInfo'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedRuleConfigInfo', | ||
| 35 | as ArrayRef[RuleConfigInfo()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedRuleConfigInfo', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupplanassociation::RuleConfigInfo'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringRuleConfigInfo', | ||
| 41 | as HashRef[RuleConfigInfo()]; | ||
| 42 | |||
| 43 | declare 'LastBackupState', | ||
| 44 | as (Int | Str); | ||
| 45 | |||
| 46 | declare 'CreateBackupPlanAssociationRequest', | ||
| 47 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupplanassociation::CreateBackupPlanAssociationRequest']; | ||
| 48 | |||
| 49 | coerce 'CreateBackupPlanAssociationRequest', | ||
| 50 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupplanassociation::CreateBackupPlanAssociationRequest'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedCreateBackupPlanAssociationRequest', | ||
| 53 | as ArrayRef[CreateBackupPlanAssociationRequest()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedCreateBackupPlanAssociationRequest', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupplanassociation::CreateBackupPlanAssociationRequest'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringCreateBackupPlanAssociationRequest', | ||
| 59 | as HashRef[CreateBackupPlanAssociationRequest()]; | ||
| 60 | |||
| 61 | declare 'ListBackupPlanAssociationsRequest', | ||
| 62 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupplanassociation::ListBackupPlanAssociationsRequest']; | ||
| 63 | |||
| 64 | coerce 'ListBackupPlanAssociationsRequest', | ||
| 65 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupplanassociation::ListBackupPlanAssociationsRequest'->new($_) }; | ||
| 66 | |||
| 67 | declare 'RepeatedListBackupPlanAssociationsRequest', | ||
| 68 | as ArrayRef[ListBackupPlanAssociationsRequest()]; | ||
| 69 | |||
| 70 | coerce 'RepeatedListBackupPlanAssociationsRequest', | ||
| 71 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupplanassociation::ListBackupPlanAssociationsRequest'->new($_) } @$_ ] }; | ||
| 72 | |||
| 73 | declare 'MapStringListBackupPlanAssociationsRequest', | ||
| 74 | as HashRef[ListBackupPlanAssociationsRequest()]; | ||
| 75 | |||
| 76 | declare 'ListBackupPlanAssociationsResponse', | ||
| 77 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupplanassociation::ListBackupPlanAssociationsResponse']; | ||
| 78 | |||
| 79 | coerce 'ListBackupPlanAssociationsResponse', | ||
| 80 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupplanassociation::ListBackupPlanAssociationsResponse'->new($_) }; | ||
| 81 | |||
| 82 | declare 'RepeatedListBackupPlanAssociationsResponse', | ||
| 83 | as ArrayRef[ListBackupPlanAssociationsResponse()]; | ||
| 84 | |||
| 85 | coerce 'RepeatedListBackupPlanAssociationsResponse', | ||
| 86 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupplanassociation::ListBackupPlanAssociationsResponse'->new($_) } @$_ ] }; | ||
| 87 | |||
| 88 | declare 'MapStringListBackupPlanAssociationsResponse', | ||
| 89 | as HashRef[ListBackupPlanAssociationsResponse()]; | ||
| 90 | |||
| 91 | declare 'FetchBackupPlanAssociationsForResourceTypeRequest', | ||
| 92 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupplanassociation::FetchBackupPlanAssociationsForResourceTypeRequest']; | ||
| 93 | |||
| 94 | coerce 'FetchBackupPlanAssociationsForResourceTypeRequest', | ||
| 95 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupplanassociation::FetchBackupPlanAssociationsForResourceTypeRequest'->new($_) }; | ||
| 96 | |||
| 97 | declare 'RepeatedFetchBackupPlanAssociationsForResourceTypeRequest', | ||
| 98 | as ArrayRef[FetchBackupPlanAssociationsForResourceTypeRequest()]; | ||
| 99 | |||
| 100 | coerce 'RepeatedFetchBackupPlanAssociationsForResourceTypeRequest', | ||
| 101 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupplanassociation::FetchBackupPlanAssociationsForResourceTypeRequest'->new($_) } @$_ ] }; | ||
| 102 | |||
| 103 | declare 'MapStringFetchBackupPlanAssociationsForResourceTypeRequest', | ||
| 104 | as HashRef[FetchBackupPlanAssociationsForResourceTypeRequest()]; | ||
| 105 | |||
| 106 | declare 'FetchBackupPlanAssociationsForResourceTypeResponse', | ||
| 107 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupplanassociation::FetchBackupPlanAssociationsForResourceTypeResponse']; | ||
| 108 | |||
| 109 | coerce 'FetchBackupPlanAssociationsForResourceTypeResponse', | ||
| 110 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupplanassociation::FetchBackupPlanAssociationsForResourceTypeResponse'->new($_) }; | ||
| 111 | |||
| 112 | declare 'RepeatedFetchBackupPlanAssociationsForResourceTypeResponse', | ||
| 113 | as ArrayRef[FetchBackupPlanAssociationsForResourceTypeResponse()]; | ||
| 114 | |||
| 115 | coerce 'RepeatedFetchBackupPlanAssociationsForResourceTypeResponse', | ||
| 116 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupplanassociation::FetchBackupPlanAssociationsForResourceTypeResponse'->new($_) } @$_ ] }; | ||
| 117 | |||
| 118 | declare 'MapStringFetchBackupPlanAssociationsForResourceTypeResponse', | ||
| 119 | as HashRef[FetchBackupPlanAssociationsForResourceTypeResponse()]; | ||
| 120 | |||
| 121 | declare 'GetBackupPlanAssociationRequest', | ||
| 122 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupplanassociation::GetBackupPlanAssociationRequest']; | ||
| 123 | |||
| 124 | coerce 'GetBackupPlanAssociationRequest', | ||
| 125 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupplanassociation::GetBackupPlanAssociationRequest'->new($_) }; | ||
| 126 | |||
| 127 | declare 'RepeatedGetBackupPlanAssociationRequest', | ||
| 128 | as ArrayRef[GetBackupPlanAssociationRequest()]; | ||
| 129 | |||
| 130 | coerce 'RepeatedGetBackupPlanAssociationRequest', | ||
| 131 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupplanassociation::GetBackupPlanAssociationRequest'->new($_) } @$_ ] }; | ||
| 132 | |||
| 133 | declare 'MapStringGetBackupPlanAssociationRequest', | ||
| 134 | as HashRef[GetBackupPlanAssociationRequest()]; | ||
| 135 | |||
| 136 | declare 'DeleteBackupPlanAssociationRequest', | ||
| 137 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupplanassociation::DeleteBackupPlanAssociationRequest']; | ||
| 138 | |||
| 139 | coerce 'DeleteBackupPlanAssociationRequest', | ||
| 140 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupplanassociation::DeleteBackupPlanAssociationRequest'->new($_) }; | ||
| 141 | |||
| 142 | declare 'RepeatedDeleteBackupPlanAssociationRequest', | ||
| 143 | as ArrayRef[DeleteBackupPlanAssociationRequest()]; | ||
| 144 | |||
| 145 | coerce 'RepeatedDeleteBackupPlanAssociationRequest', | ||
| 146 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupplanassociation::DeleteBackupPlanAssociationRequest'->new($_) } @$_ ] }; | ||
| 147 | |||
| 148 | declare 'MapStringDeleteBackupPlanAssociationRequest', | ||
| 149 | as HashRef[DeleteBackupPlanAssociationRequest()]; | ||
| 150 | |||
| 151 | declare 'UpdateBackupPlanAssociationRequest', | ||
| 152 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupplanassociation::UpdateBackupPlanAssociationRequest']; | ||
| 153 | |||
| 154 | coerce 'UpdateBackupPlanAssociationRequest', | ||
| 155 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupplanassociation::UpdateBackupPlanAssociationRequest'->new($_) }; | ||
| 156 | |||
| 157 | declare 'RepeatedUpdateBackupPlanAssociationRequest', | ||
| 158 | as ArrayRef[UpdateBackupPlanAssociationRequest()]; | ||
| 159 | |||
| 160 | coerce 'RepeatedUpdateBackupPlanAssociationRequest', | ||
| 161 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupplanassociation::UpdateBackupPlanAssociationRequest'->new($_) } @$_ ] }; | ||
| 162 | |||
| 163 | declare 'MapStringUpdateBackupPlanAssociationRequest', | ||
| 164 | as HashRef[UpdateBackupPlanAssociationRequest()]; | ||
| 165 | |||
| 166 | declare 'TriggerBackupRequest', | ||
| 167 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupplanassociation::TriggerBackupRequest']; | ||
| 168 | |||
| 169 | coerce 'TriggerBackupRequest', | ||
| 170 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupplanassociation::TriggerBackupRequest'->new($_) }; | ||
| 171 | |||
| 172 | declare 'RepeatedTriggerBackupRequest', | ||
| 173 | as ArrayRef[TriggerBackupRequest()]; | ||
| 174 | |||
| 175 | coerce 'RepeatedTriggerBackupRequest', | ||
| 176 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupplanassociation::TriggerBackupRequest'->new($_) } @$_ ] }; | ||
| 177 | |||
| 178 | declare 'MapStringTriggerBackupRequest', | ||
| 179 | as HashRef[TriggerBackupRequest()]; | ||
| 180 | |||
| 181 | 1; | ||
| 182 | |||
| 183 | __END__ |