V1/DataTransfer/Types.pm untested

filter: Statementstmt 0.0% 0 / 344 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 349 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::Networkconnectivity::V1::DataTransfer::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 'MulticloudDataTransferConfig',
11 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::MulticloudDataTransferConfig'];
12  
13 coerce 'MulticloudDataTransferConfig',
14 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::MulticloudDataTransferConfig'->new($_) };
15  
16 declare 'RepeatedMulticloudDataTransferConfig',
17 as ArrayRef[MulticloudDataTransferConfig()];
18  
19 coerce 'RepeatedMulticloudDataTransferConfig',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::MulticloudDataTransferConfig'->new($_) } @$_ ] };
21  
22 declare 'MapStringMulticloudDataTransferConfig',
23 as HashRef[MulticloudDataTransferConfig()];
24  
25 declare 'LabelsEntry',
26 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::MulticloudDataTransferConfig::LabelsEntry'];
27  
28 coerce 'LabelsEntry',
29 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::MulticloudDataTransferConfig::LabelsEntry'->new($_) };
30  
31 declare 'RepeatedLabelsEntry',
32 as ArrayRef[LabelsEntry()];
33  
34 coerce 'RepeatedLabelsEntry',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::MulticloudDataTransferConfig::LabelsEntry'->new($_) } @$_ ] };
36  
37 declare 'MapStringLabelsEntry',
38 as HashRef[LabelsEntry()];
39  
40 declare 'ServicesEntry',
41 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::MulticloudDataTransferConfig::ServicesEntry'];
42  
43 coerce 'ServicesEntry',
44 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::MulticloudDataTransferConfig::ServicesEntry'->new($_) };
45  
46 declare 'RepeatedServicesEntry',
47 as ArrayRef[ServicesEntry()];
48  
49 coerce 'RepeatedServicesEntry',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::MulticloudDataTransferConfig::ServicesEntry'->new($_) } @$_ ] };
51  
52 declare 'MapStringServicesEntry',
53 as HashRef[ServicesEntry()];
54  
55 declare 'ListMulticloudDataTransferConfigsRequest',
56 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::ListMulticloudDataTransferConfigsRequest'];
57  
58 coerce 'ListMulticloudDataTransferConfigsRequest',
59 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::ListMulticloudDataTransferConfigsRequest'->new($_) };
60  
61 declare 'RepeatedListMulticloudDataTransferConfigsRequest',
62 as ArrayRef[ListMulticloudDataTransferConfigsRequest()];
63  
64 coerce 'RepeatedListMulticloudDataTransferConfigsRequest',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::ListMulticloudDataTransferConfigsRequest'->new($_) } @$_ ] };
66  
67 declare 'MapStringListMulticloudDataTransferConfigsRequest',
68 as HashRef[ListMulticloudDataTransferConfigsRequest()];
69  
70 declare 'ListMulticloudDataTransferConfigsResponse',
71 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::ListMulticloudDataTransferConfigsResponse'];
72  
73 coerce 'ListMulticloudDataTransferConfigsResponse',
74 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::ListMulticloudDataTransferConfigsResponse'->new($_) };
75  
76 declare 'RepeatedListMulticloudDataTransferConfigsResponse',
77 as ArrayRef[ListMulticloudDataTransferConfigsResponse()];
78  
79 coerce 'RepeatedListMulticloudDataTransferConfigsResponse',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::ListMulticloudDataTransferConfigsResponse'->new($_) } @$_ ] };
81  
82 declare 'MapStringListMulticloudDataTransferConfigsResponse',
83 as HashRef[ListMulticloudDataTransferConfigsResponse()];
84  
85 declare 'GetMulticloudDataTransferConfigRequest',
86 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::GetMulticloudDataTransferConfigRequest'];
87  
88 coerce 'GetMulticloudDataTransferConfigRequest',
89 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::GetMulticloudDataTransferConfigRequest'->new($_) };
90  
91 declare 'RepeatedGetMulticloudDataTransferConfigRequest',
92 as ArrayRef[GetMulticloudDataTransferConfigRequest()];
93  
94 coerce 'RepeatedGetMulticloudDataTransferConfigRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::GetMulticloudDataTransferConfigRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringGetMulticloudDataTransferConfigRequest',
98 as HashRef[GetMulticloudDataTransferConfigRequest()];
99  
100 declare 'CreateMulticloudDataTransferConfigRequest',
101 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::CreateMulticloudDataTransferConfigRequest'];
102  
103 coerce 'CreateMulticloudDataTransferConfigRequest',
104 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::CreateMulticloudDataTransferConfigRequest'->new($_) };
105  
106 declare 'RepeatedCreateMulticloudDataTransferConfigRequest',
107 as ArrayRef[CreateMulticloudDataTransferConfigRequest()];
108  
109 coerce 'RepeatedCreateMulticloudDataTransferConfigRequest',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::CreateMulticloudDataTransferConfigRequest'->new($_) } @$_ ] };
111  
112 declare 'MapStringCreateMulticloudDataTransferConfigRequest',
113 as HashRef[CreateMulticloudDataTransferConfigRequest()];
114  
115 declare 'UpdateMulticloudDataTransferConfigRequest',
116 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::UpdateMulticloudDataTransferConfigRequest'];
117  
118 coerce 'UpdateMulticloudDataTransferConfigRequest',
119 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::UpdateMulticloudDataTransferConfigRequest'->new($_) };
120  
121 declare 'RepeatedUpdateMulticloudDataTransferConfigRequest',
122 as ArrayRef[UpdateMulticloudDataTransferConfigRequest()];
123  
124 coerce 'RepeatedUpdateMulticloudDataTransferConfigRequest',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::UpdateMulticloudDataTransferConfigRequest'->new($_) } @$_ ] };
126  
127 declare 'MapStringUpdateMulticloudDataTransferConfigRequest',
128 as HashRef[UpdateMulticloudDataTransferConfigRequest()];
129  
130 declare 'DeleteMulticloudDataTransferConfigRequest',
131 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::DeleteMulticloudDataTransferConfigRequest'];
132  
133 coerce 'DeleteMulticloudDataTransferConfigRequest',
134 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::DeleteMulticloudDataTransferConfigRequest'->new($_) };
135  
136 declare 'RepeatedDeleteMulticloudDataTransferConfigRequest',
137 as ArrayRef[DeleteMulticloudDataTransferConfigRequest()];
138  
139 coerce 'RepeatedDeleteMulticloudDataTransferConfigRequest',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::DeleteMulticloudDataTransferConfigRequest'->new($_) } @$_ ] };
141  
142 declare 'MapStringDeleteMulticloudDataTransferConfigRequest',
143 as HashRef[DeleteMulticloudDataTransferConfigRequest()];
144  
145 declare 'Destination',
146 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::Destination'];
147  
148 coerce 'Destination',
149 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::Destination'->new($_) };
150  
151 declare 'RepeatedDestination',
152 as ArrayRef[Destination()];
153  
154 coerce 'RepeatedDestination',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::Destination'->new($_) } @$_ ] };
156  
157 declare 'MapStringDestination',
158 as HashRef[Destination()];
159  
160 declare 'DestinationEndpoint',
161 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::Destination::DestinationEndpoint'];
162  
163 coerce 'DestinationEndpoint',
164 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::Destination::DestinationEndpoint'->new($_) };
165  
166 declare 'RepeatedDestinationEndpoint',
167 as ArrayRef[DestinationEndpoint()];
168  
169 coerce 'RepeatedDestinationEndpoint',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::Destination::DestinationEndpoint'->new($_) } @$_ ] };
171  
172 declare 'MapStringDestinationEndpoint',
173 as HashRef[DestinationEndpoint()];
174  
175 declare 'State',
176 as (Int | Str);
177  
178 declare 'LabelsEntry',
179 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::Destination::LabelsEntry'];
180  
181 coerce 'LabelsEntry',
182 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::Destination::LabelsEntry'->new($_) };
183  
184 declare 'RepeatedLabelsEntry',
185 as ArrayRef[LabelsEntry()];
186  
187 coerce 'RepeatedLabelsEntry',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::Destination::LabelsEntry'->new($_) } @$_ ] };
189  
190 declare 'MapStringLabelsEntry',
191 as HashRef[LabelsEntry()];
192  
193 declare 'ListDestinationsRequest',
194 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::ListDestinationsRequest'];
195  
196 coerce 'ListDestinationsRequest',
197 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::ListDestinationsRequest'->new($_) };
198  
199 declare 'RepeatedListDestinationsRequest',
200 as ArrayRef[ListDestinationsRequest()];
201  
202 coerce 'RepeatedListDestinationsRequest',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::ListDestinationsRequest'->new($_) } @$_ ] };
204  
205 declare 'MapStringListDestinationsRequest',
206 as HashRef[ListDestinationsRequest()];
207  
208 declare 'ListDestinationsResponse',
209 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::ListDestinationsResponse'];
210  
211 coerce 'ListDestinationsResponse',
212 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::ListDestinationsResponse'->new($_) };
213  
214 declare 'RepeatedListDestinationsResponse',
215 as ArrayRef[ListDestinationsResponse()];
216  
217 coerce 'RepeatedListDestinationsResponse',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::ListDestinationsResponse'->new($_) } @$_ ] };
219  
220 declare 'MapStringListDestinationsResponse',
221 as HashRef[ListDestinationsResponse()];
222  
223 declare 'GetDestinationRequest',
224 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::GetDestinationRequest'];
225  
226 coerce 'GetDestinationRequest',
227 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::GetDestinationRequest'->new($_) };
228  
229 declare 'RepeatedGetDestinationRequest',
230 as ArrayRef[GetDestinationRequest()];
231  
232 coerce 'RepeatedGetDestinationRequest',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::GetDestinationRequest'->new($_) } @$_ ] };
234  
235 declare 'MapStringGetDestinationRequest',
236 as HashRef[GetDestinationRequest()];
237  
238 declare 'CreateDestinationRequest',
239 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::CreateDestinationRequest'];
240  
241 coerce 'CreateDestinationRequest',
242 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::CreateDestinationRequest'->new($_) };
243  
244 declare 'RepeatedCreateDestinationRequest',
245 as ArrayRef[CreateDestinationRequest()];
246  
247 coerce 'RepeatedCreateDestinationRequest',
248 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::CreateDestinationRequest'->new($_) } @$_ ] };
249  
250 declare 'MapStringCreateDestinationRequest',
251 as HashRef[CreateDestinationRequest()];
252  
253 declare 'UpdateDestinationRequest',
254 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::UpdateDestinationRequest'];
255  
256 coerce 'UpdateDestinationRequest',
257 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::UpdateDestinationRequest'->new($_) };
258  
259 declare 'RepeatedUpdateDestinationRequest',
260 as ArrayRef[UpdateDestinationRequest()];
261  
262 coerce 'RepeatedUpdateDestinationRequest',
263 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::UpdateDestinationRequest'->new($_) } @$_ ] };
264  
265 declare 'MapStringUpdateDestinationRequest',
266 as HashRef[UpdateDestinationRequest()];
267  
268 declare 'DeleteDestinationRequest',
269 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::DeleteDestinationRequest'];
270  
271 coerce 'DeleteDestinationRequest',
272 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::DeleteDestinationRequest'->new($_) };
273  
274 declare 'RepeatedDeleteDestinationRequest',
275 as ArrayRef[DeleteDestinationRequest()];
276  
277 coerce 'RepeatedDeleteDestinationRequest',
278 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::DeleteDestinationRequest'->new($_) } @$_ ] };
279  
280 declare 'MapStringDeleteDestinationRequest',
281 as HashRef[DeleteDestinationRequest()];
282  
283 declare 'StateTimeline',
284 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::StateTimeline'];
285  
286 coerce 'StateTimeline',
287 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::StateTimeline'->new($_) };
288  
289 declare 'RepeatedStateTimeline',
290 as ArrayRef[StateTimeline()];
291  
292 coerce 'RepeatedStateTimeline',
293 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::StateTimeline'->new($_) } @$_ ] };
294  
295 declare 'MapStringStateTimeline',
296 as HashRef[StateTimeline()];
297  
298 declare 'StateMetadata',
299 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::StateTimeline::StateMetadata'];
300  
301 coerce 'StateMetadata',
302 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::StateTimeline::StateMetadata'->new($_) };
303  
304 declare 'RepeatedStateMetadata',
305 as ArrayRef[StateMetadata()];
306  
307 coerce 'RepeatedStateMetadata',
308 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::StateTimeline::StateMetadata'->new($_) } @$_ ] };
309  
310 declare 'MapStringStateMetadata',
311 as HashRef[StateMetadata()];
312  
313 declare 'State',
314 as (Int | Str);
315  
316 declare 'MulticloudDataTransferSupportedService',
317 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::MulticloudDataTransferSupportedService'];
318  
319 coerce 'MulticloudDataTransferSupportedService',
320 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::MulticloudDataTransferSupportedService'->new($_) };
321  
322 declare 'RepeatedMulticloudDataTransferSupportedService',
323 as ArrayRef[MulticloudDataTransferSupportedService()];
324  
325 coerce 'RepeatedMulticloudDataTransferSupportedService',
326 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::MulticloudDataTransferSupportedService'->new($_) } @$_ ] };
327  
328 declare 'MapStringMulticloudDataTransferSupportedService',
329 as HashRef[MulticloudDataTransferSupportedService()];
330  
331 declare 'ServiceConfig',
332 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::ServiceConfig'];
333  
334 coerce 'ServiceConfig',
335 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::ServiceConfig'->new($_) };
336  
337 declare 'RepeatedServiceConfig',
338 as ArrayRef[ServiceConfig()];
339  
340 coerce 'RepeatedServiceConfig',
341 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::ServiceConfig'->new($_) } @$_ ] };
342  
343 declare 'MapStringServiceConfig',
344 as HashRef[ServiceConfig()];
345  
346 declare 'EligibilityCriteria',
347 as (Int | Str);
348  
349 declare 'GetMulticloudDataTransferSupportedServiceRequest',
350 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::GetMulticloudDataTransferSupportedServiceRequest'];
351  
352 coerce 'GetMulticloudDataTransferSupportedServiceRequest',
353 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::GetMulticloudDataTransferSupportedServiceRequest'->new($_) };
354  
355 declare 'RepeatedGetMulticloudDataTransferSupportedServiceRequest',
356 as ArrayRef[GetMulticloudDataTransferSupportedServiceRequest()];
357  
358 coerce 'RepeatedGetMulticloudDataTransferSupportedServiceRequest',
359 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::GetMulticloudDataTransferSupportedServiceRequest'->new($_) } @$_ ] };
360  
361 declare 'MapStringGetMulticloudDataTransferSupportedServiceRequest',
362 as HashRef[GetMulticloudDataTransferSupportedServiceRequest()];
363  
364 declare 'ListMulticloudDataTransferSupportedServicesRequest',
365 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::ListMulticloudDataTransferSupportedServicesRequest'];
366  
367 coerce 'ListMulticloudDataTransferSupportedServicesRequest',
368 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::ListMulticloudDataTransferSupportedServicesRequest'->new($_) };
369  
370 declare 'RepeatedListMulticloudDataTransferSupportedServicesRequest',
371 as ArrayRef[ListMulticloudDataTransferSupportedServicesRequest()];
372  
373 coerce 'RepeatedListMulticloudDataTransferSupportedServicesRequest',
374 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::ListMulticloudDataTransferSupportedServicesRequest'->new($_) } @$_ ] };
375  
376 declare 'MapStringListMulticloudDataTransferSupportedServicesRequest',
377 as HashRef[ListMulticloudDataTransferSupportedServicesRequest()];
378  
379 declare 'ListMulticloudDataTransferSupportedServicesResponse',
380 as InstanceOf['Google::Cloud::Networkconnectivity::V1::DataTransfer::ListMulticloudDataTransferSupportedServicesResponse'];
381  
382 coerce 'ListMulticloudDataTransferSupportedServicesResponse',
383 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::ListMulticloudDataTransferSupportedServicesResponse'->new($_) };
384  
385 declare 'RepeatedListMulticloudDataTransferSupportedServicesResponse',
386 as ArrayRef[ListMulticloudDataTransferSupportedServicesResponse()];
387  
388 coerce 'RepeatedListMulticloudDataTransferSupportedServicesResponse',
389 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::DataTransfer::ListMulticloudDataTransferSupportedServicesResponse'->new($_) } @$_ ] };
390  
391 declare 'MapStringListMulticloudDataTransferSupportedServicesResponse',
392 as HashRef[ListMulticloudDataTransferSupportedServicesResponse()];
393  
394 1;
395  
396 __END__