V1/Resources/Types.pm untested

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