V1beta/RestoreTemplateExecution/Types.pm untested

filter: Statementstmt 0.0% 0 / 163 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 168 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::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 'PhaseState',
11 as (Int | Str);
12  
13 declare 'RestoreTemplateExecution',
14 as InstanceOf['Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::RestoreTemplateExecution'];
15  
16 coerce 'RestoreTemplateExecution',
17 from HashRef, via { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::RestoreTemplateExecution'->new($_) };
18  
19 declare 'RepeatedRestoreTemplateExecution',
20 as ArrayRef[RestoreTemplateExecution()];
21  
22 coerce 'RepeatedRestoreTemplateExecution',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::RestoreTemplateExecution'->new($_) } @$_ ] };
24  
25 declare 'MapStringRestoreTemplateExecution',
26 as HashRef[RestoreTemplateExecution()];
27  
28 declare 'ExecutionType',
29 as (Int | Str);
30  
31 declare 'ExecutionPhase',
32 as (Int | Str);
33  
34 declare 'ExecutionState',
35 as (Int | Str);
36  
37 declare 'PreparePhaseInfo',
38 as InstanceOf['Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::PreparePhaseInfo'];
39  
40 coerce 'PreparePhaseInfo',
41 from HashRef, via { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::PreparePhaseInfo'->new($_) };
42  
43 declare 'RepeatedPreparePhaseInfo',
44 as ArrayRef[PreparePhaseInfo()];
45  
46 coerce 'RepeatedPreparePhaseInfo',
47 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::PreparePhaseInfo'->new($_) } @$_ ] };
48  
49 declare 'MapStringPreparePhaseInfo',
50 as HashRef[PreparePhaseInfo()];
51  
52 declare 'PreRestorePhaseInfo',
53 as InstanceOf['Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::PreRestorePhaseInfo'];
54  
55 coerce 'PreRestorePhaseInfo',
56 from HashRef, via { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::PreRestorePhaseInfo'->new($_) };
57  
58 declare 'RepeatedPreRestorePhaseInfo',
59 as ArrayRef[PreRestorePhaseInfo()];
60  
61 coerce 'RepeatedPreRestorePhaseInfo',
62 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::PreRestorePhaseInfo'->new($_) } @$_ ] };
63  
64 declare 'MapStringPreRestorePhaseInfo',
65 as HashRef[PreRestorePhaseInfo()];
66  
67 declare 'RestorePhaseInfo',
68 as InstanceOf['Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::RestorePhaseInfo'];
69  
70 coerce 'RestorePhaseInfo',
71 from HashRef, via { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::RestorePhaseInfo'->new($_) };
72  
73 declare 'RepeatedRestorePhaseInfo',
74 as ArrayRef[RestorePhaseInfo()];
75  
76 coerce 'RepeatedRestorePhaseInfo',
77 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::RestorePhaseInfo'->new($_) } @$_ ] };
78  
79 declare 'MapStringRestorePhaseInfo',
80 as HashRef[RestorePhaseInfo()];
81  
82 declare 'PostRestorePhaseInfo',
83 as InstanceOf['Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::PostRestorePhaseInfo'];
84  
85 coerce 'PostRestorePhaseInfo',
86 from HashRef, via { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::PostRestorePhaseInfo'->new($_) };
87  
88 declare 'RepeatedPostRestorePhaseInfo',
89 as ArrayRef[PostRestorePhaseInfo()];
90  
91 coerce 'RepeatedPostRestorePhaseInfo',
92 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::PostRestorePhaseInfo'->new($_) } @$_ ] };
93  
94 declare 'MapStringPostRestorePhaseInfo',
95 as HashRef[PostRestorePhaseInfo()];
96  
97 declare 'VerificationPhaseInfo',
98 as InstanceOf['Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::VerificationPhaseInfo'];
99  
100 coerce 'VerificationPhaseInfo',
101 from HashRef, via { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::VerificationPhaseInfo'->new($_) };
102  
103 declare 'RepeatedVerificationPhaseInfo',
104 as ArrayRef[VerificationPhaseInfo()];
105  
106 coerce 'RepeatedVerificationPhaseInfo',
107 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::VerificationPhaseInfo'->new($_) } @$_ ] };
108  
109 declare 'MapStringVerificationPhaseInfo',
110 as HashRef[VerificationPhaseInfo()];
111  
112 declare 'CleanupPhaseInfo',
113 as InstanceOf['Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::CleanupPhaseInfo'];
114  
115 coerce 'CleanupPhaseInfo',
116 from HashRef, via { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::CleanupPhaseInfo'->new($_) };
117  
118 declare 'RepeatedCleanupPhaseInfo',
119 as ArrayRef[CleanupPhaseInfo()];
120  
121 coerce 'RepeatedCleanupPhaseInfo',
122 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::CleanupPhaseInfo'->new($_) } @$_ ] };
123  
124 declare 'MapStringCleanupPhaseInfo',
125 as HashRef[CleanupPhaseInfo()];
126  
127 declare 'GetRestoreTemplateExecutionRequest',
128 as InstanceOf['Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::GetRestoreTemplateExecutionRequest'];
129  
130 coerce 'GetRestoreTemplateExecutionRequest',
131 from HashRef, via { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::GetRestoreTemplateExecutionRequest'->new($_) };
132  
133 declare 'RepeatedGetRestoreTemplateExecutionRequest',
134 as ArrayRef[GetRestoreTemplateExecutionRequest()];
135  
136 coerce 'RepeatedGetRestoreTemplateExecutionRequest',
137 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::GetRestoreTemplateExecutionRequest'->new($_) } @$_ ] };
138  
139 declare 'MapStringGetRestoreTemplateExecutionRequest',
140 as HashRef[GetRestoreTemplateExecutionRequest()];
141  
142 declare 'TriggerRestoreCleanupRequest',
143 as InstanceOf['Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::TriggerRestoreCleanupRequest'];
144  
145 coerce 'TriggerRestoreCleanupRequest',
146 from HashRef, via { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::TriggerRestoreCleanupRequest'->new($_) };
147  
148 declare 'RepeatedTriggerRestoreCleanupRequest',
149 as ArrayRef[TriggerRestoreCleanupRequest()];
150  
151 coerce 'RepeatedTriggerRestoreCleanupRequest',
152 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::TriggerRestoreCleanupRequest'->new($_) } @$_ ] };
153  
154 declare 'MapStringTriggerRestoreCleanupRequest',
155 as HashRef[TriggerRestoreCleanupRequest()];
156  
157 declare 'ListRestoreTemplateExecutionsRequest',
158 as InstanceOf['Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::ListRestoreTemplateExecutionsRequest'];
159  
160 coerce 'ListRestoreTemplateExecutionsRequest',
161 from HashRef, via { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::ListRestoreTemplateExecutionsRequest'->new($_) };
162  
163 declare 'RepeatedListRestoreTemplateExecutionsRequest',
164 as ArrayRef[ListRestoreTemplateExecutionsRequest()];
165  
166 coerce 'RepeatedListRestoreTemplateExecutionsRequest',
167 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::ListRestoreTemplateExecutionsRequest'->new($_) } @$_ ] };
168  
169 declare 'MapStringListRestoreTemplateExecutionsRequest',
170 as HashRef[ListRestoreTemplateExecutionsRequest()];
171  
172 declare 'ListRestoreTemplateExecutionsResponse',
173 as InstanceOf['Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::ListRestoreTemplateExecutionsResponse'];
174  
175 coerce 'ListRestoreTemplateExecutionsResponse',
176 from HashRef, via { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::ListRestoreTemplateExecutionsResponse'->new($_) };
177  
178 declare 'RepeatedListRestoreTemplateExecutionsResponse',
179 as ArrayRef[ListRestoreTemplateExecutionsResponse()];
180  
181 coerce 'RepeatedListRestoreTemplateExecutionsResponse',
182 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::RestoreTemplateExecution::ListRestoreTemplateExecutionsResponse'->new($_) } @$_ ] };
183  
184 declare 'MapStringListRestoreTemplateExecutionsResponse',
185 as HashRef[ListRestoreTemplateExecutionsResponse()];
186  
187 1;
188  
189 __END__