| 1 | package Google::Cloud::Backupdr::V1::RestoreVerificationPlan::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 'RestoreVerificationPlan', | ||
| 11 | as InstanceOf['Google::Cloud::Backupdr::V1::RestoreVerificationPlan::RestoreVerificationPlan']; | ||
| 12 | |||
| 13 | coerce 'RestoreVerificationPlan', | ||
| 14 | from HashRef, via { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::RestoreVerificationPlan'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedRestoreVerificationPlan', | ||
| 17 | as ArrayRef[RestoreVerificationPlan()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedRestoreVerificationPlan', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::RestoreVerificationPlan'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringRestoreVerificationPlan', | ||
| 23 | as HashRef[RestoreVerificationPlan()]; | ||
| 24 | |||
| 25 | declare 'State', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'LabelsEntry', | ||
| 29 | as InstanceOf['Google::Cloud::Backupdr::V1::RestoreVerificationPlan::RestoreVerificationPlan::LabelsEntry']; | ||
| 30 | |||
| 31 | coerce 'LabelsEntry', | ||
| 32 | from HashRef, via { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::RestoreVerificationPlan::LabelsEntry'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedLabelsEntry', | ||
| 35 | as ArrayRef[LabelsEntry()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedLabelsEntry', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::RestoreVerificationPlan::LabelsEntry'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringLabelsEntry', | ||
| 41 | as HashRef[LabelsEntry()]; | ||
| 42 | |||
| 43 | declare 'RestoreVerificationCleanupRule', | ||
| 44 | as InstanceOf['Google::Cloud::Backupdr::V1::RestoreVerificationPlan::RestoreVerificationCleanupRule']; | ||
| 45 | |||
| 46 | coerce 'RestoreVerificationCleanupRule', | ||
| 47 | from HashRef, via { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::RestoreVerificationCleanupRule'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedRestoreVerificationCleanupRule', | ||
| 50 | as ArrayRef[RestoreVerificationCleanupRule()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedRestoreVerificationCleanupRule', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::RestoreVerificationCleanupRule'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringRestoreVerificationCleanupRule', | ||
| 56 | as HashRef[RestoreVerificationCleanupRule()]; | ||
| 57 | |||
| 58 | declare 'CreateRestoreVerificationPlanRequest', | ||
| 59 | as InstanceOf['Google::Cloud::Backupdr::V1::RestoreVerificationPlan::CreateRestoreVerificationPlanRequest']; | ||
| 60 | |||
| 61 | coerce 'CreateRestoreVerificationPlanRequest', | ||
| 62 | from HashRef, via { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::CreateRestoreVerificationPlanRequest'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedCreateRestoreVerificationPlanRequest', | ||
| 65 | as ArrayRef[CreateRestoreVerificationPlanRequest()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedCreateRestoreVerificationPlanRequest', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::CreateRestoreVerificationPlanRequest'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringCreateRestoreVerificationPlanRequest', | ||
| 71 | as HashRef[CreateRestoreVerificationPlanRequest()]; | ||
| 72 | |||
| 73 | declare 'GetRestoreVerificationPlanRequest', | ||
| 74 | as InstanceOf['Google::Cloud::Backupdr::V1::RestoreVerificationPlan::GetRestoreVerificationPlanRequest']; | ||
| 75 | |||
| 76 | coerce 'GetRestoreVerificationPlanRequest', | ||
| 77 | from HashRef, via { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::GetRestoreVerificationPlanRequest'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedGetRestoreVerificationPlanRequest', | ||
| 80 | as ArrayRef[GetRestoreVerificationPlanRequest()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedGetRestoreVerificationPlanRequest', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::GetRestoreVerificationPlanRequest'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringGetRestoreVerificationPlanRequest', | ||
| 86 | as HashRef[GetRestoreVerificationPlanRequest()]; | ||
| 87 | |||
| 88 | declare 'ListRestoreVerificationPlansRequest', | ||
| 89 | as InstanceOf['Google::Cloud::Backupdr::V1::RestoreVerificationPlan::ListRestoreVerificationPlansRequest']; | ||
| 90 | |||
| 91 | coerce 'ListRestoreVerificationPlansRequest', | ||
| 92 | from HashRef, via { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::ListRestoreVerificationPlansRequest'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedListRestoreVerificationPlansRequest', | ||
| 95 | as ArrayRef[ListRestoreVerificationPlansRequest()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedListRestoreVerificationPlansRequest', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::ListRestoreVerificationPlansRequest'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringListRestoreVerificationPlansRequest', | ||
| 101 | as HashRef[ListRestoreVerificationPlansRequest()]; | ||
| 102 | |||
| 103 | declare 'ListRestoreVerificationPlansResponse', | ||
| 104 | as InstanceOf['Google::Cloud::Backupdr::V1::RestoreVerificationPlan::ListRestoreVerificationPlansResponse']; | ||
| 105 | |||
| 106 | coerce 'ListRestoreVerificationPlansResponse', | ||
| 107 | from HashRef, via { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::ListRestoreVerificationPlansResponse'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedListRestoreVerificationPlansResponse', | ||
| 110 | as ArrayRef[ListRestoreVerificationPlansResponse()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedListRestoreVerificationPlansResponse', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::ListRestoreVerificationPlansResponse'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringListRestoreVerificationPlansResponse', | ||
| 116 | as HashRef[ListRestoreVerificationPlansResponse()]; | ||
| 117 | |||
| 118 | declare 'DeleteRestoreVerificationPlanRequest', | ||
| 119 | as InstanceOf['Google::Cloud::Backupdr::V1::RestoreVerificationPlan::DeleteRestoreVerificationPlanRequest']; | ||
| 120 | |||
| 121 | coerce 'DeleteRestoreVerificationPlanRequest', | ||
| 122 | from HashRef, via { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::DeleteRestoreVerificationPlanRequest'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedDeleteRestoreVerificationPlanRequest', | ||
| 125 | as ArrayRef[DeleteRestoreVerificationPlanRequest()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedDeleteRestoreVerificationPlanRequest', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::RestoreVerificationPlan::DeleteRestoreVerificationPlanRequest'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringDeleteRestoreVerificationPlanRequest', | ||
| 131 | as HashRef[DeleteRestoreVerificationPlanRequest()]; | ||
| 132 | |||
| 133 | 1; | ||
| 134 | |||
| 135 | __END__ |