V1/Service/Types.pm untested

filter: Statementstmt 0.0% 0 / 374 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 379 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::Ftp::V1::Service::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 'ServerView',
11 as (Int | Str);
12  
13 declare 'UserView',
14 as (Int | Str);
15  
16 declare 'ExternalServerConfig',
17 as InstanceOf['Google::Cloud::Ftp::V1::Service::ExternalServerConfig'];
18  
19 coerce 'ExternalServerConfig',
20 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::ExternalServerConfig'->new($_) };
21  
22 declare 'RepeatedExternalServerConfig',
23 as ArrayRef[ExternalServerConfig()];
24  
25 coerce 'RepeatedExternalServerConfig',
26 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::ExternalServerConfig'->new($_) } @$_ ] };
27  
28 declare 'MapStringExternalServerConfig',
29 as HashRef[ExternalServerConfig()];
30  
31 declare 'InternalServerConfig',
32 as InstanceOf['Google::Cloud::Ftp::V1::Service::InternalServerConfig'];
33  
34 coerce 'InternalServerConfig',
35 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::InternalServerConfig'->new($_) };
36  
37 declare 'RepeatedInternalServerConfig',
38 as ArrayRef[InternalServerConfig()];
39  
40 coerce 'RepeatedInternalServerConfig',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::InternalServerConfig'->new($_) } @$_ ] };
42  
43 declare 'MapStringInternalServerConfig',
44 as HashRef[InternalServerConfig()];
45  
46 declare 'AllowedConsumer',
47 as InstanceOf['Google::Cloud::Ftp::V1::Service::InternalServerConfig::AllowedConsumer'];
48  
49 coerce 'AllowedConsumer',
50 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::InternalServerConfig::AllowedConsumer'->new($_) };
51  
52 declare 'RepeatedAllowedConsumer',
53 as ArrayRef[AllowedConsumer()];
54  
55 coerce 'RepeatedAllowedConsumer',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::InternalServerConfig::AllowedConsumer'->new($_) } @$_ ] };
57  
58 declare 'MapStringAllowedConsumer',
59 as HashRef[AllowedConsumer()];
60  
61 declare 'DeniedConsumer',
62 as InstanceOf['Google::Cloud::Ftp::V1::Service::InternalServerConfig::DeniedConsumer'];
63  
64 coerce 'DeniedConsumer',
65 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::InternalServerConfig::DeniedConsumer'->new($_) };
66  
67 declare 'RepeatedDeniedConsumer',
68 as ArrayRef[DeniedConsumer()];
69  
70 coerce 'RepeatedDeniedConsumer',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::InternalServerConfig::DeniedConsumer'->new($_) } @$_ ] };
72  
73 declare 'MapStringDeniedConsumer',
74 as HashRef[DeniedConsumer()];
75  
76 declare 'PscEndpoint',
77 as InstanceOf['Google::Cloud::Ftp::V1::Service::InternalServerConfig::PscEndpoint'];
78  
79 coerce 'PscEndpoint',
80 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::InternalServerConfig::PscEndpoint'->new($_) };
81  
82 declare 'RepeatedPscEndpoint',
83 as ArrayRef[PscEndpoint()];
84  
85 coerce 'RepeatedPscEndpoint',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::InternalServerConfig::PscEndpoint'->new($_) } @$_ ] };
87  
88 declare 'MapStringPscEndpoint',
89 as HashRef[PscEndpoint()];
90  
91 declare 'ServerCredential',
92 as InstanceOf['Google::Cloud::Ftp::V1::Service::ServerCredential'];
93  
94 coerce 'ServerCredential',
95 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::ServerCredential'->new($_) };
96  
97 declare 'RepeatedServerCredential',
98 as ArrayRef[ServerCredential()];
99  
100 coerce 'RepeatedServerCredential',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::ServerCredential'->new($_) } @$_ ] };
102  
103 declare 'MapStringServerCredential',
104 as HashRef[ServerCredential()];
105  
106 declare 'Server',
107 as InstanceOf['Google::Cloud::Ftp::V1::Service::Server'];
108  
109 coerce 'Server',
110 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::Server'->new($_) };
111  
112 declare 'RepeatedServer',
113 as ArrayRef[Server()];
114  
115 coerce 'RepeatedServer',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::Server'->new($_) } @$_ ] };
117  
118 declare 'MapStringServer',
119 as HashRef[Server()];
120  
121 declare 'AccessType',
122 as (Int | Str);
123  
124 declare 'State',
125 as (Int | Str);
126  
127 declare 'LabelsEntry',
128 as InstanceOf['Google::Cloud::Ftp::V1::Service::Server::LabelsEntry'];
129  
130 coerce 'LabelsEntry',
131 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::Server::LabelsEntry'->new($_) };
132  
133 declare 'RepeatedLabelsEntry',
134 as ArrayRef[LabelsEntry()];
135  
136 coerce 'RepeatedLabelsEntry',
137 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::Server::LabelsEntry'->new($_) } @$_ ] };
138  
139 declare 'MapStringLabelsEntry',
140 as HashRef[LabelsEntry()];
141  
142 declare 'ListServersRequest',
143 as InstanceOf['Google::Cloud::Ftp::V1::Service::ListServersRequest'];
144  
145 coerce 'ListServersRequest',
146 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::ListServersRequest'->new($_) };
147  
148 declare 'RepeatedListServersRequest',
149 as ArrayRef[ListServersRequest()];
150  
151 coerce 'RepeatedListServersRequest',
152 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::ListServersRequest'->new($_) } @$_ ] };
153  
154 declare 'MapStringListServersRequest',
155 as HashRef[ListServersRequest()];
156  
157 declare 'ListServersResponse',
158 as InstanceOf['Google::Cloud::Ftp::V1::Service::ListServersResponse'];
159  
160 coerce 'ListServersResponse',
161 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::ListServersResponse'->new($_) };
162  
163 declare 'RepeatedListServersResponse',
164 as ArrayRef[ListServersResponse()];
165  
166 coerce 'RepeatedListServersResponse',
167 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::ListServersResponse'->new($_) } @$_ ] };
168  
169 declare 'MapStringListServersResponse',
170 as HashRef[ListServersResponse()];
171  
172 declare 'GetServerRequest',
173 as InstanceOf['Google::Cloud::Ftp::V1::Service::GetServerRequest'];
174  
175 coerce 'GetServerRequest',
176 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::GetServerRequest'->new($_) };
177  
178 declare 'RepeatedGetServerRequest',
179 as ArrayRef[GetServerRequest()];
180  
181 coerce 'RepeatedGetServerRequest',
182 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::GetServerRequest'->new($_) } @$_ ] };
183  
184 declare 'MapStringGetServerRequest',
185 as HashRef[GetServerRequest()];
186  
187 declare 'CreateServerRequest',
188 as InstanceOf['Google::Cloud::Ftp::V1::Service::CreateServerRequest'];
189  
190 coerce 'CreateServerRequest',
191 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::CreateServerRequest'->new($_) };
192  
193 declare 'RepeatedCreateServerRequest',
194 as ArrayRef[CreateServerRequest()];
195  
196 coerce 'RepeatedCreateServerRequest',
197 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::CreateServerRequest'->new($_) } @$_ ] };
198  
199 declare 'MapStringCreateServerRequest',
200 as HashRef[CreateServerRequest()];
201  
202 declare 'UpdateServerRequest',
203 as InstanceOf['Google::Cloud::Ftp::V1::Service::UpdateServerRequest'];
204  
205 coerce 'UpdateServerRequest',
206 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::UpdateServerRequest'->new($_) };
207  
208 declare 'RepeatedUpdateServerRequest',
209 as ArrayRef[UpdateServerRequest()];
210  
211 coerce 'RepeatedUpdateServerRequest',
212 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::UpdateServerRequest'->new($_) } @$_ ] };
213  
214 declare 'MapStringUpdateServerRequest',
215 as HashRef[UpdateServerRequest()];
216  
217 declare 'DeleteServerRequest',
218 as InstanceOf['Google::Cloud::Ftp::V1::Service::DeleteServerRequest'];
219  
220 coerce 'DeleteServerRequest',
221 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::DeleteServerRequest'->new($_) };
222  
223 declare 'RepeatedDeleteServerRequest',
224 as ArrayRef[DeleteServerRequest()];
225  
226 coerce 'RepeatedDeleteServerRequest',
227 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::DeleteServerRequest'->new($_) } @$_ ] };
228  
229 declare 'MapStringDeleteServerRequest',
230 as HashRef[DeleteServerRequest()];
231  
232 declare 'StorageDirectoryMapping',
233 as InstanceOf['Google::Cloud::Ftp::V1::Service::StorageDirectoryMapping'];
234  
235 coerce 'StorageDirectoryMapping',
236 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::StorageDirectoryMapping'->new($_) };
237  
238 declare 'RepeatedStorageDirectoryMapping',
239 as ArrayRef[StorageDirectoryMapping()];
240  
241 coerce 'RepeatedStorageDirectoryMapping',
242 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::StorageDirectoryMapping'->new($_) } @$_ ] };
243  
244 declare 'MapStringStorageDirectoryMapping',
245 as HashRef[StorageDirectoryMapping()];
246  
247 declare 'Permission',
248 as (Int | Str);
249  
250 declare 'User',
251 as InstanceOf['Google::Cloud::Ftp::V1::Service::User'];
252  
253 coerce 'User',
254 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::User'->new($_) };
255  
256 declare 'RepeatedUser',
257 as ArrayRef[User()];
258  
259 coerce 'RepeatedUser',
260 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::User'->new($_) } @$_ ] };
261  
262 declare 'MapStringUser',
263 as HashRef[User()];
264  
265 declare 'State',
266 as (Int | Str);
267  
268 declare 'LabelsEntry',
269 as InstanceOf['Google::Cloud::Ftp::V1::Service::User::LabelsEntry'];
270  
271 coerce 'LabelsEntry',
272 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::User::LabelsEntry'->new($_) };
273  
274 declare 'RepeatedLabelsEntry',
275 as ArrayRef[LabelsEntry()];
276  
277 coerce 'RepeatedLabelsEntry',
278 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::User::LabelsEntry'->new($_) } @$_ ] };
279  
280 declare 'MapStringLabelsEntry',
281 as HashRef[LabelsEntry()];
282  
283 declare 'ListUsersRequest',
284 as InstanceOf['Google::Cloud::Ftp::V1::Service::ListUsersRequest'];
285  
286 coerce 'ListUsersRequest',
287 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::ListUsersRequest'->new($_) };
288  
289 declare 'RepeatedListUsersRequest',
290 as ArrayRef[ListUsersRequest()];
291  
292 coerce 'RepeatedListUsersRequest',
293 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::ListUsersRequest'->new($_) } @$_ ] };
294  
295 declare 'MapStringListUsersRequest',
296 as HashRef[ListUsersRequest()];
297  
298 declare 'ListUsersResponse',
299 as InstanceOf['Google::Cloud::Ftp::V1::Service::ListUsersResponse'];
300  
301 coerce 'ListUsersResponse',
302 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::ListUsersResponse'->new($_) };
303  
304 declare 'RepeatedListUsersResponse',
305 as ArrayRef[ListUsersResponse()];
306  
307 coerce 'RepeatedListUsersResponse',
308 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::ListUsersResponse'->new($_) } @$_ ] };
309  
310 declare 'MapStringListUsersResponse',
311 as HashRef[ListUsersResponse()];
312  
313 declare 'GetUserRequest',
314 as InstanceOf['Google::Cloud::Ftp::V1::Service::GetUserRequest'];
315  
316 coerce 'GetUserRequest',
317 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::GetUserRequest'->new($_) };
318  
319 declare 'RepeatedGetUserRequest',
320 as ArrayRef[GetUserRequest()];
321  
322 coerce 'RepeatedGetUserRequest',
323 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::GetUserRequest'->new($_) } @$_ ] };
324  
325 declare 'MapStringGetUserRequest',
326 as HashRef[GetUserRequest()];
327  
328 declare 'CreateUserRequest',
329 as InstanceOf['Google::Cloud::Ftp::V1::Service::CreateUserRequest'];
330  
331 coerce 'CreateUserRequest',
332 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::CreateUserRequest'->new($_) };
333  
334 declare 'RepeatedCreateUserRequest',
335 as ArrayRef[CreateUserRequest()];
336  
337 coerce 'RepeatedCreateUserRequest',
338 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::CreateUserRequest'->new($_) } @$_ ] };
339  
340 declare 'MapStringCreateUserRequest',
341 as HashRef[CreateUserRequest()];
342  
343 declare 'UpdateUserRequest',
344 as InstanceOf['Google::Cloud::Ftp::V1::Service::UpdateUserRequest'];
345  
346 coerce 'UpdateUserRequest',
347 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::UpdateUserRequest'->new($_) };
348  
349 declare 'RepeatedUpdateUserRequest',
350 as ArrayRef[UpdateUserRequest()];
351  
352 coerce 'RepeatedUpdateUserRequest',
353 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::UpdateUserRequest'->new($_) } @$_ ] };
354  
355 declare 'MapStringUpdateUserRequest',
356 as HashRef[UpdateUserRequest()];
357  
358 declare 'DeleteUserRequest',
359 as InstanceOf['Google::Cloud::Ftp::V1::Service::DeleteUserRequest'];
360  
361 coerce 'DeleteUserRequest',
362 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::DeleteUserRequest'->new($_) };
363  
364 declare 'RepeatedDeleteUserRequest',
365 as ArrayRef[DeleteUserRequest()];
366  
367 coerce 'RepeatedDeleteUserRequest',
368 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::DeleteUserRequest'->new($_) } @$_ ] };
369  
370 declare 'MapStringDeleteUserRequest',
371 as HashRef[DeleteUserRequest()];
372  
373 declare 'StartServerRequest',
374 as InstanceOf['Google::Cloud::Ftp::V1::Service::StartServerRequest'];
375  
376 coerce 'StartServerRequest',
377 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::StartServerRequest'->new($_) };
378  
379 declare 'RepeatedStartServerRequest',
380 as ArrayRef[StartServerRequest()];
381  
382 coerce 'RepeatedStartServerRequest',
383 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::StartServerRequest'->new($_) } @$_ ] };
384  
385 declare 'MapStringStartServerRequest',
386 as HashRef[StartServerRequest()];
387  
388 declare 'StopServerRequest',
389 as InstanceOf['Google::Cloud::Ftp::V1::Service::StopServerRequest'];
390  
391 coerce 'StopServerRequest',
392 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::StopServerRequest'->new($_) };
393  
394 declare 'RepeatedStopServerRequest',
395 as ArrayRef[StopServerRequest()];
396  
397 coerce 'RepeatedStopServerRequest',
398 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::StopServerRequest'->new($_) } @$_ ] };
399  
400 declare 'MapStringStopServerRequest',
401 as HashRef[StopServerRequest()];
402  
403 declare 'UserCredential',
404 as InstanceOf['Google::Cloud::Ftp::V1::Service::UserCredential'];
405  
406 coerce 'UserCredential',
407 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::UserCredential'->new($_) };
408  
409 declare 'RepeatedUserCredential',
410 as ArrayRef[UserCredential()];
411  
412 coerce 'RepeatedUserCredential',
413 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::UserCredential'->new($_) } @$_ ] };
414  
415 declare 'MapStringUserCredential',
416 as HashRef[UserCredential()];
417  
418 declare 'Type',
419 as (Int | Str);
420  
421 declare 'OperationMetadata',
422 as InstanceOf['Google::Cloud::Ftp::V1::Service::OperationMetadata'];
423  
424 coerce 'OperationMetadata',
425 from HashRef, via { 'Google::Cloud::Ftp::V1::Service::OperationMetadata'->new($_) };
426  
427 declare 'RepeatedOperationMetadata',
428 as ArrayRef[OperationMetadata()];
429  
430 coerce 'RepeatedOperationMetadata',
431 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ftp::V1::Service::OperationMetadata'->new($_) } @$_ ] };
432  
433 declare 'MapStringOperationMetadata',
434 as HashRef[OperationMetadata()];
435  
436 1;
437  
438 __END__