V1beta2/Resources/Types.pm untested

filter: Statementstmt 0.0% 0 / 251 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 256 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::Secretmanager::V1beta2::Resources::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 'Secret',
11 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::Secret'];
12  
13 coerce 'Secret',
14 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::Secret'->new($_) };
15  
16 declare 'RepeatedSecret',
17 as ArrayRef[Secret()];
18  
19 coerce 'RepeatedSecret',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::Secret'->new($_) } @$_ ] };
21  
22 declare 'MapStringSecret',
23 as HashRef[Secret()];
24  
25 declare 'LabelsEntry',
26 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::Secret::LabelsEntry'];
27  
28 coerce 'LabelsEntry',
29 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::Secret::LabelsEntry'->new($_) };
30  
31 declare 'RepeatedLabelsEntry',
32 as ArrayRef[LabelsEntry()];
33  
34 coerce 'RepeatedLabelsEntry',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::Secret::LabelsEntry'->new($_) } @$_ ] };
36  
37 declare 'MapStringLabelsEntry',
38 as HashRef[LabelsEntry()];
39  
40 declare 'VersionAliasesEntry',
41 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::Secret::VersionAliasesEntry'];
42  
43 coerce 'VersionAliasesEntry',
44 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::Secret::VersionAliasesEntry'->new($_) };
45  
46 declare 'RepeatedVersionAliasesEntry',
47 as ArrayRef[VersionAliasesEntry()];
48  
49 coerce 'RepeatedVersionAliasesEntry',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::Secret::VersionAliasesEntry'->new($_) } @$_ ] };
51  
52 declare 'MapStringVersionAliasesEntry',
53 as HashRef[VersionAliasesEntry()];
54  
55 declare 'AnnotationsEntry',
56 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::Secret::AnnotationsEntry'];
57  
58 coerce 'AnnotationsEntry',
59 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::Secret::AnnotationsEntry'->new($_) };
60  
61 declare 'RepeatedAnnotationsEntry',
62 as ArrayRef[AnnotationsEntry()];
63  
64 coerce 'RepeatedAnnotationsEntry',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::Secret::AnnotationsEntry'->new($_) } @$_ ] };
66  
67 declare 'MapStringAnnotationsEntry',
68 as HashRef[AnnotationsEntry()];
69  
70 declare 'SecretVersion',
71 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::SecretVersion'];
72  
73 coerce 'SecretVersion',
74 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::SecretVersion'->new($_) };
75  
76 declare 'RepeatedSecretVersion',
77 as ArrayRef[SecretVersion()];
78  
79 coerce 'RepeatedSecretVersion',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::SecretVersion'->new($_) } @$_ ] };
81  
82 declare 'MapStringSecretVersion',
83 as HashRef[SecretVersion()];
84  
85 declare 'State',
86 as (Int | Str);
87  
88 declare 'Replication',
89 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::Replication'];
90  
91 coerce 'Replication',
92 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::Replication'->new($_) };
93  
94 declare 'RepeatedReplication',
95 as ArrayRef[Replication()];
96  
97 coerce 'RepeatedReplication',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::Replication'->new($_) } @$_ ] };
99  
100 declare 'MapStringReplication',
101 as HashRef[Replication()];
102  
103 declare 'Automatic',
104 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::Replication::Automatic'];
105  
106 coerce 'Automatic',
107 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::Replication::Automatic'->new($_) };
108  
109 declare 'RepeatedAutomatic',
110 as ArrayRef[Automatic()];
111  
112 coerce 'RepeatedAutomatic',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::Replication::Automatic'->new($_) } @$_ ] };
114  
115 declare 'MapStringAutomatic',
116 as HashRef[Automatic()];
117  
118 declare 'UserManaged',
119 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::Replication::UserManaged'];
120  
121 coerce 'UserManaged',
122 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::Replication::UserManaged'->new($_) };
123  
124 declare 'RepeatedUserManaged',
125 as ArrayRef[UserManaged()];
126  
127 coerce 'RepeatedUserManaged',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::Replication::UserManaged'->new($_) } @$_ ] };
129  
130 declare 'MapStringUserManaged',
131 as HashRef[UserManaged()];
132  
133 declare 'Replica',
134 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::Replication::UserManaged::Replica'];
135  
136 coerce 'Replica',
137 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::Replication::UserManaged::Replica'->new($_) };
138  
139 declare 'RepeatedReplica',
140 as ArrayRef[Replica()];
141  
142 coerce 'RepeatedReplica',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::Replication::UserManaged::Replica'->new($_) } @$_ ] };
144  
145 declare 'MapStringReplica',
146 as HashRef[Replica()];
147  
148 declare 'CustomerManagedEncryption',
149 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::CustomerManagedEncryption'];
150  
151 coerce 'CustomerManagedEncryption',
152 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::CustomerManagedEncryption'->new($_) };
153  
154 declare 'RepeatedCustomerManagedEncryption',
155 as ArrayRef[CustomerManagedEncryption()];
156  
157 coerce 'RepeatedCustomerManagedEncryption',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::CustomerManagedEncryption'->new($_) } @$_ ] };
159  
160 declare 'MapStringCustomerManagedEncryption',
161 as HashRef[CustomerManagedEncryption()];
162  
163 declare 'ReplicationStatus',
164 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::ReplicationStatus'];
165  
166 coerce 'ReplicationStatus',
167 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::ReplicationStatus'->new($_) };
168  
169 declare 'RepeatedReplicationStatus',
170 as ArrayRef[ReplicationStatus()];
171  
172 coerce 'RepeatedReplicationStatus',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::ReplicationStatus'->new($_) } @$_ ] };
174  
175 declare 'MapStringReplicationStatus',
176 as HashRef[ReplicationStatus()];
177  
178 declare 'AutomaticStatus',
179 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::ReplicationStatus::AutomaticStatus'];
180  
181 coerce 'AutomaticStatus',
182 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::ReplicationStatus::AutomaticStatus'->new($_) };
183  
184 declare 'RepeatedAutomaticStatus',
185 as ArrayRef[AutomaticStatus()];
186  
187 coerce 'RepeatedAutomaticStatus',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::ReplicationStatus::AutomaticStatus'->new($_) } @$_ ] };
189  
190 declare 'MapStringAutomaticStatus',
191 as HashRef[AutomaticStatus()];
192  
193 declare 'UserManagedStatus',
194 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::ReplicationStatus::UserManagedStatus'];
195  
196 coerce 'UserManagedStatus',
197 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::ReplicationStatus::UserManagedStatus'->new($_) };
198  
199 declare 'RepeatedUserManagedStatus',
200 as ArrayRef[UserManagedStatus()];
201  
202 coerce 'RepeatedUserManagedStatus',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::ReplicationStatus::UserManagedStatus'->new($_) } @$_ ] };
204  
205 declare 'MapStringUserManagedStatus',
206 as HashRef[UserManagedStatus()];
207  
208 declare 'ReplicaStatus',
209 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::ReplicationStatus::UserManagedStatus::ReplicaStatus'];
210  
211 coerce 'ReplicaStatus',
212 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::ReplicationStatus::UserManagedStatus::ReplicaStatus'->new($_) };
213  
214 declare 'RepeatedReplicaStatus',
215 as ArrayRef[ReplicaStatus()];
216  
217 coerce 'RepeatedReplicaStatus',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::ReplicationStatus::UserManagedStatus::ReplicaStatus'->new($_) } @$_ ] };
219  
220 declare 'MapStringReplicaStatus',
221 as HashRef[ReplicaStatus()];
222  
223 declare 'CustomerManagedEncryptionStatus',
224 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::CustomerManagedEncryptionStatus'];
225  
226 coerce 'CustomerManagedEncryptionStatus',
227 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::CustomerManagedEncryptionStatus'->new($_) };
228  
229 declare 'RepeatedCustomerManagedEncryptionStatus',
230 as ArrayRef[CustomerManagedEncryptionStatus()];
231  
232 coerce 'RepeatedCustomerManagedEncryptionStatus',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::CustomerManagedEncryptionStatus'->new($_) } @$_ ] };
234  
235 declare 'MapStringCustomerManagedEncryptionStatus',
236 as HashRef[CustomerManagedEncryptionStatus()];
237  
238 declare 'Topic',
239 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::Topic'];
240  
241 coerce 'Topic',
242 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::Topic'->new($_) };
243  
244 declare 'RepeatedTopic',
245 as ArrayRef[Topic()];
246  
247 coerce 'RepeatedTopic',
248 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::Topic'->new($_) } @$_ ] };
249  
250 declare 'MapStringTopic',
251 as HashRef[Topic()];
252  
253 declare 'Rotation',
254 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::Rotation'];
255  
256 coerce 'Rotation',
257 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::Rotation'->new($_) };
258  
259 declare 'RepeatedRotation',
260 as ArrayRef[Rotation()];
261  
262 coerce 'RepeatedRotation',
263 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::Rotation'->new($_) } @$_ ] };
264  
265 declare 'MapStringRotation',
266 as HashRef[Rotation()];
267  
268 declare 'SecretPayload',
269 as InstanceOf['Google::Cloud::Secretmanager::V1beta2::Resources::SecretPayload'];
270  
271 coerce 'SecretPayload',
272 from HashRef, via { 'Google::Cloud::Secretmanager::V1beta2::Resources::SecretPayload'->new($_) };
273  
274 declare 'RepeatedSecretPayload',
275 as ArrayRef[SecretPayload()];
276  
277 coerce 'RepeatedSecretPayload',
278 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Secretmanager::V1beta2::Resources::SecretPayload'->new($_) } @$_ ] };
279  
280 declare 'MapStringSecretPayload',
281 as HashRef[SecretPayload()];
282  
283 1;
284  
285 __END__