V1/Autoprotectionpolicy/Types.pm untested

filter: Statementstmt 0.0% 0 / 186 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 191 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::V1::Autoprotectionpolicy::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 'AutoProtectionPolicy',
11 as InstanceOf['Google::Cloud::Backupdr::V1::Autoprotectionpolicy::AutoProtectionPolicy'];
12  
13 coerce 'AutoProtectionPolicy',
14 from HashRef, via { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::AutoProtectionPolicy'->new($_) };
15  
16 declare 'RepeatedAutoProtectionPolicy',
17 as ArrayRef[AutoProtectionPolicy()];
18  
19 coerce 'RepeatedAutoProtectionPolicy',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::AutoProtectionPolicy'->new($_) } @$_ ] };
21  
22 declare 'MapStringAutoProtectionPolicy',
23 as HashRef[AutoProtectionPolicy()];
24  
25 declare 'State',
26 as (Int | Str);
27  
28 declare 'BackupPlanDetail',
29 as InstanceOf['Google::Cloud::Backupdr::V1::Autoprotectionpolicy::BackupPlanDetail'];
30  
31 coerce 'BackupPlanDetail',
32 from HashRef, via { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::BackupPlanDetail'->new($_) };
33  
34 declare 'RepeatedBackupPlanDetail',
35 as ArrayRef[BackupPlanDetail()];
36  
37 coerce 'RepeatedBackupPlanDetail',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::BackupPlanDetail'->new($_) } @$_ ] };
39  
40 declare 'MapStringBackupPlanDetail',
41 as HashRef[BackupPlanDetail()];
42  
43 declare 'Criteria',
44 as InstanceOf['Google::Cloud::Backupdr::V1::Autoprotectionpolicy::Criteria'];
45  
46 coerce 'Criteria',
47 from HashRef, via { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::Criteria'->new($_) };
48  
49 declare 'RepeatedCriteria',
50 as ArrayRef[Criteria()];
51  
52 coerce 'RepeatedCriteria',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::Criteria'->new($_) } @$_ ] };
54  
55 declare 'MapStringCriteria',
56 as HashRef[Criteria()];
57  
58 declare 'MatchingCondition',
59 as InstanceOf['Google::Cloud::Backupdr::V1::Autoprotectionpolicy::MatchingCondition'];
60  
61 coerce 'MatchingCondition',
62 from HashRef, via { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::MatchingCondition'->new($_) };
63  
64 declare 'RepeatedMatchingCondition',
65 as ArrayRef[MatchingCondition()];
66  
67 coerce 'RepeatedMatchingCondition',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::MatchingCondition'->new($_) } @$_ ] };
69  
70 declare 'MapStringMatchingCondition',
71 as HashRef[MatchingCondition()];
72  
73 declare 'PolicyEvaluationSummary',
74 as InstanceOf['Google::Cloud::Backupdr::V1::Autoprotectionpolicy::PolicyEvaluationSummary'];
75  
76 coerce 'PolicyEvaluationSummary',
77 from HashRef, via { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::PolicyEvaluationSummary'->new($_) };
78  
79 declare 'RepeatedPolicyEvaluationSummary',
80 as ArrayRef[PolicyEvaluationSummary()];
81  
82 coerce 'RepeatedPolicyEvaluationSummary',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::PolicyEvaluationSummary'->new($_) } @$_ ] };
84  
85 declare 'MapStringPolicyEvaluationSummary',
86 as HashRef[PolicyEvaluationSummary()];
87  
88 declare 'BindingSummary',
89 as InstanceOf['Google::Cloud::Backupdr::V1::Autoprotectionpolicy::BindingSummary'];
90  
91 coerce 'BindingSummary',
92 from HashRef, via { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::BindingSummary'->new($_) };
93  
94 declare 'RepeatedBindingSummary',
95 as ArrayRef[BindingSummary()];
96  
97 coerce 'RepeatedBindingSummary',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::BindingSummary'->new($_) } @$_ ] };
99  
100 declare 'MapStringBindingSummary',
101 as HashRef[BindingSummary()];
102  
103 declare 'KeyValuePair',
104 as InstanceOf['Google::Cloud::Backupdr::V1::Autoprotectionpolicy::KeyValuePair'];
105  
106 coerce 'KeyValuePair',
107 from HashRef, via { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::KeyValuePair'->new($_) };
108  
109 declare 'RepeatedKeyValuePair',
110 as ArrayRef[KeyValuePair()];
111  
112 coerce 'RepeatedKeyValuePair',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::KeyValuePair'->new($_) } @$_ ] };
114  
115 declare 'MapStringKeyValuePair',
116 as HashRef[KeyValuePair()];
117  
118 declare 'CreateAutoProtectionPolicyRequest',
119 as InstanceOf['Google::Cloud::Backupdr::V1::Autoprotectionpolicy::CreateAutoProtectionPolicyRequest'];
120  
121 coerce 'CreateAutoProtectionPolicyRequest',
122 from HashRef, via { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::CreateAutoProtectionPolicyRequest'->new($_) };
123  
124 declare 'RepeatedCreateAutoProtectionPolicyRequest',
125 as ArrayRef[CreateAutoProtectionPolicyRequest()];
126  
127 coerce 'RepeatedCreateAutoProtectionPolicyRequest',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::CreateAutoProtectionPolicyRequest'->new($_) } @$_ ] };
129  
130 declare 'MapStringCreateAutoProtectionPolicyRequest',
131 as HashRef[CreateAutoProtectionPolicyRequest()];
132  
133 declare 'GetAutoProtectionPolicyRequest',
134 as InstanceOf['Google::Cloud::Backupdr::V1::Autoprotectionpolicy::GetAutoProtectionPolicyRequest'];
135  
136 coerce 'GetAutoProtectionPolicyRequest',
137 from HashRef, via { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::GetAutoProtectionPolicyRequest'->new($_) };
138  
139 declare 'RepeatedGetAutoProtectionPolicyRequest',
140 as ArrayRef[GetAutoProtectionPolicyRequest()];
141  
142 coerce 'RepeatedGetAutoProtectionPolicyRequest',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::GetAutoProtectionPolicyRequest'->new($_) } @$_ ] };
144  
145 declare 'MapStringGetAutoProtectionPolicyRequest',
146 as HashRef[GetAutoProtectionPolicyRequest()];
147  
148 declare 'UpdateAutoProtectionPolicyRequest',
149 as InstanceOf['Google::Cloud::Backupdr::V1::Autoprotectionpolicy::UpdateAutoProtectionPolicyRequest'];
150  
151 coerce 'UpdateAutoProtectionPolicyRequest',
152 from HashRef, via { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::UpdateAutoProtectionPolicyRequest'->new($_) };
153  
154 declare 'RepeatedUpdateAutoProtectionPolicyRequest',
155 as ArrayRef[UpdateAutoProtectionPolicyRequest()];
156  
157 coerce 'RepeatedUpdateAutoProtectionPolicyRequest',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::UpdateAutoProtectionPolicyRequest'->new($_) } @$_ ] };
159  
160 declare 'MapStringUpdateAutoProtectionPolicyRequest',
161 as HashRef[UpdateAutoProtectionPolicyRequest()];
162  
163 declare 'DeleteAutoProtectionPolicyRequest',
164 as InstanceOf['Google::Cloud::Backupdr::V1::Autoprotectionpolicy::DeleteAutoProtectionPolicyRequest'];
165  
166 coerce 'DeleteAutoProtectionPolicyRequest',
167 from HashRef, via { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::DeleteAutoProtectionPolicyRequest'->new($_) };
168  
169 declare 'RepeatedDeleteAutoProtectionPolicyRequest',
170 as ArrayRef[DeleteAutoProtectionPolicyRequest()];
171  
172 coerce 'RepeatedDeleteAutoProtectionPolicyRequest',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::DeleteAutoProtectionPolicyRequest'->new($_) } @$_ ] };
174  
175 declare 'MapStringDeleteAutoProtectionPolicyRequest',
176 as HashRef[DeleteAutoProtectionPolicyRequest()];
177  
178 declare 'ListAutoProtectionPoliciesRequest',
179 as InstanceOf['Google::Cloud::Backupdr::V1::Autoprotectionpolicy::ListAutoProtectionPoliciesRequest'];
180  
181 coerce 'ListAutoProtectionPoliciesRequest',
182 from HashRef, via { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::ListAutoProtectionPoliciesRequest'->new($_) };
183  
184 declare 'RepeatedListAutoProtectionPoliciesRequest',
185 as ArrayRef[ListAutoProtectionPoliciesRequest()];
186  
187 coerce 'RepeatedListAutoProtectionPoliciesRequest',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::ListAutoProtectionPoliciesRequest'->new($_) } @$_ ] };
189  
190 declare 'MapStringListAutoProtectionPoliciesRequest',
191 as HashRef[ListAutoProtectionPoliciesRequest()];
192  
193 declare 'ListAutoProtectionPoliciesResponse',
194 as InstanceOf['Google::Cloud::Backupdr::V1::Autoprotectionpolicy::ListAutoProtectionPoliciesResponse'];
195  
196 coerce 'ListAutoProtectionPoliciesResponse',
197 from HashRef, via { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::ListAutoProtectionPoliciesResponse'->new($_) };
198  
199 declare 'RepeatedListAutoProtectionPoliciesResponse',
200 as ArrayRef[ListAutoProtectionPoliciesResponse()];
201  
202 coerce 'RepeatedListAutoProtectionPoliciesResponse',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Autoprotectionpolicy::ListAutoProtectionPoliciesResponse'->new($_) } @$_ ] };
204  
205 declare 'MapStringListAutoProtectionPoliciesResponse',
206 as HashRef[ListAutoProtectionPoliciesResponse()];
207  
208 1;
209  
210 __END__