V1beta/TransportManager/Types.pm untested

filter: Statementstmt 0.0% 0 / 249 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 254 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::V1beta::TransportManager::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 'RemoteTransportProfile',
11 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::RemoteTransportProfile'];
12  
13 coerce 'RemoteTransportProfile',
14 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::RemoteTransportProfile'->new($_) };
15  
16 declare 'RepeatedRemoteTransportProfile',
17 as ArrayRef[RemoteTransportProfile()];
18  
19 coerce 'RepeatedRemoteTransportProfile',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::RemoteTransportProfile'->new($_) } @$_ ] };
21  
22 declare 'MapStringRemoteTransportProfile',
23 as HashRef[RemoteTransportProfile()];
24  
25 declare 'Bandwidth',
26 as (Int | Str);
27  
28 declare 'ServiceLevelAvailability',
29 as (Int | Str);
30  
31 declare 'KeyProvisioningFlow',
32 as (Int | Str);
33  
34 declare 'State',
35 as (Int | Str);
36  
37 declare 'ProviderType',
38 as (Int | Str);
39  
40 declare 'LabelsEntry',
41 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::RemoteTransportProfile::LabelsEntry'];
42  
43 coerce 'LabelsEntry',
44 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::RemoteTransportProfile::LabelsEntry'->new($_) };
45  
46 declare 'RepeatedLabelsEntry',
47 as ArrayRef[LabelsEntry()];
48  
49 coerce 'RepeatedLabelsEntry',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::RemoteTransportProfile::LabelsEntry'->new($_) } @$_ ] };
51  
52 declare 'MapStringLabelsEntry',
53 as HashRef[LabelsEntry()];
54  
55 declare 'ListRemoteTransportProfilesRequest',
56 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListRemoteTransportProfilesRequest'];
57  
58 coerce 'ListRemoteTransportProfilesRequest',
59 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListRemoteTransportProfilesRequest'->new($_) };
60  
61 declare 'RepeatedListRemoteTransportProfilesRequest',
62 as ArrayRef[ListRemoteTransportProfilesRequest()];
63  
64 coerce 'RepeatedListRemoteTransportProfilesRequest',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListRemoteTransportProfilesRequest'->new($_) } @$_ ] };
66  
67 declare 'MapStringListRemoteTransportProfilesRequest',
68 as HashRef[ListRemoteTransportProfilesRequest()];
69  
70 declare 'ListRemoteTransportProfilesResponse',
71 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListRemoteTransportProfilesResponse'];
72  
73 coerce 'ListRemoteTransportProfilesResponse',
74 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListRemoteTransportProfilesResponse'->new($_) };
75  
76 declare 'RepeatedListRemoteTransportProfilesResponse',
77 as ArrayRef[ListRemoteTransportProfilesResponse()];
78  
79 coerce 'RepeatedListRemoteTransportProfilesResponse',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListRemoteTransportProfilesResponse'->new($_) } @$_ ] };
81  
82 declare 'MapStringListRemoteTransportProfilesResponse',
83 as HashRef[ListRemoteTransportProfilesResponse()];
84  
85 declare 'GetRemoteTransportProfileRequest',
86 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetRemoteTransportProfileRequest'];
87  
88 coerce 'GetRemoteTransportProfileRequest',
89 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetRemoteTransportProfileRequest'->new($_) };
90  
91 declare 'RepeatedGetRemoteTransportProfileRequest',
92 as ArrayRef[GetRemoteTransportProfileRequest()];
93  
94 coerce 'RepeatedGetRemoteTransportProfileRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetRemoteTransportProfileRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringGetRemoteTransportProfileRequest',
98 as HashRef[GetRemoteTransportProfileRequest()];
99  
100 declare 'ParseFromActivationKeyRequest',
101 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::ParseFromActivationKeyRequest'];
102  
103 coerce 'ParseFromActivationKeyRequest',
104 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::ParseFromActivationKeyRequest'->new($_) };
105  
106 declare 'RepeatedParseFromActivationKeyRequest',
107 as ArrayRef[ParseFromActivationKeyRequest()];
108  
109 coerce 'RepeatedParseFromActivationKeyRequest',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::ParseFromActivationKeyRequest'->new($_) } @$_ ] };
111  
112 declare 'MapStringParseFromActivationKeyRequest',
113 as HashRef[ParseFromActivationKeyRequest()];
114  
115 declare 'ParseFromActivationKeyResponse',
116 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::ParseFromActivationKeyResponse'];
117  
118 coerce 'ParseFromActivationKeyResponse',
119 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::ParseFromActivationKeyResponse'->new($_) };
120  
121 declare 'RepeatedParseFromActivationKeyResponse',
122 as ArrayRef[ParseFromActivationKeyResponse()];
123  
124 coerce 'RepeatedParseFromActivationKeyResponse',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::ParseFromActivationKeyResponse'->new($_) } @$_ ] };
126  
127 declare 'MapStringParseFromActivationKeyResponse',
128 as HashRef[ParseFromActivationKeyResponse()];
129  
130 declare 'Transport',
131 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::Transport'];
132  
133 coerce 'Transport',
134 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::Transport'->new($_) };
135  
136 declare 'RepeatedTransport',
137 as ArrayRef[Transport()];
138  
139 coerce 'RepeatedTransport',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::Transport'->new($_) } @$_ ] };
141  
142 declare 'MapStringTransport',
143 as HashRef[Transport()];
144  
145 declare 'Bandwidth',
146 as (Int | Str);
147  
148 declare 'StackType',
149 as (Int | Str);
150  
151 declare 'State',
152 as (Int | Str);
153  
154 declare 'LabelsEntry',
155 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::Transport::LabelsEntry'];
156  
157 coerce 'LabelsEntry',
158 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::Transport::LabelsEntry'->new($_) };
159  
160 declare 'RepeatedLabelsEntry',
161 as ArrayRef[LabelsEntry()];
162  
163 coerce 'RepeatedLabelsEntry',
164 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::Transport::LabelsEntry'->new($_) } @$_ ] };
165  
166 declare 'MapStringLabelsEntry',
167 as HashRef[LabelsEntry()];
168  
169 declare 'ListTransportsRequest',
170 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListTransportsRequest'];
171  
172 coerce 'ListTransportsRequest',
173 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListTransportsRequest'->new($_) };
174  
175 declare 'RepeatedListTransportsRequest',
176 as ArrayRef[ListTransportsRequest()];
177  
178 coerce 'RepeatedListTransportsRequest',
179 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListTransportsRequest'->new($_) } @$_ ] };
180  
181 declare 'MapStringListTransportsRequest',
182 as HashRef[ListTransportsRequest()];
183  
184 declare 'ListTransportsResponse',
185 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListTransportsResponse'];
186  
187 coerce 'ListTransportsResponse',
188 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListTransportsResponse'->new($_) };
189  
190 declare 'RepeatedListTransportsResponse',
191 as ArrayRef[ListTransportsResponse()];
192  
193 coerce 'RepeatedListTransportsResponse',
194 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::ListTransportsResponse'->new($_) } @$_ ] };
195  
196 declare 'MapStringListTransportsResponse',
197 as HashRef[ListTransportsResponse()];
198  
199 declare 'GetTransportRequest',
200 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetTransportRequest'];
201  
202 coerce 'GetTransportRequest',
203 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetTransportRequest'->new($_) };
204  
205 declare 'RepeatedGetTransportRequest',
206 as ArrayRef[GetTransportRequest()];
207  
208 coerce 'RepeatedGetTransportRequest',
209 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetTransportRequest'->new($_) } @$_ ] };
210  
211 declare 'MapStringGetTransportRequest',
212 as HashRef[GetTransportRequest()];
213  
214 declare 'GetStatusRequest',
215 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetStatusRequest'];
216  
217 coerce 'GetStatusRequest',
218 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetStatusRequest'->new($_) };
219  
220 declare 'RepeatedGetStatusRequest',
221 as ArrayRef[GetStatusRequest()];
222  
223 coerce 'RepeatedGetStatusRequest',
224 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetStatusRequest'->new($_) } @$_ ] };
225  
226 declare 'MapStringGetStatusRequest',
227 as HashRef[GetStatusRequest()];
228  
229 declare 'GetStatusResponse',
230 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetStatusResponse'];
231  
232 coerce 'GetStatusResponse',
233 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetStatusResponse'->new($_) };
234  
235 declare 'RepeatedGetStatusResponse',
236 as ArrayRef[GetStatusResponse()];
237  
238 coerce 'RepeatedGetStatusResponse',
239 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::GetStatusResponse'->new($_) } @$_ ] };
240  
241 declare 'MapStringGetStatusResponse',
242 as HashRef[GetStatusResponse()];
243  
244 declare 'OverallStatus',
245 as (Int | Str);
246  
247 declare 'OperationalStatus',
248 as (Int | Str);
249  
250 declare 'ConnectivityStatus',
251 as (Int | Str);
252  
253 declare 'MacSecStatus',
254 as (Int | Str);
255  
256 declare 'CreateTransportRequest',
257 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::CreateTransportRequest'];
258  
259 coerce 'CreateTransportRequest',
260 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::CreateTransportRequest'->new($_) };
261  
262 declare 'RepeatedCreateTransportRequest',
263 as ArrayRef[CreateTransportRequest()];
264  
265 coerce 'RepeatedCreateTransportRequest',
266 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::CreateTransportRequest'->new($_) } @$_ ] };
267  
268 declare 'MapStringCreateTransportRequest',
269 as HashRef[CreateTransportRequest()];
270  
271 declare 'UpdateTransportRequest',
272 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::UpdateTransportRequest'];
273  
274 coerce 'UpdateTransportRequest',
275 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::UpdateTransportRequest'->new($_) };
276  
277 declare 'RepeatedUpdateTransportRequest',
278 as ArrayRef[UpdateTransportRequest()];
279  
280 coerce 'RepeatedUpdateTransportRequest',
281 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::UpdateTransportRequest'->new($_) } @$_ ] };
282  
283 declare 'MapStringUpdateTransportRequest',
284 as HashRef[UpdateTransportRequest()];
285  
286 declare 'DeleteTransportRequest',
287 as InstanceOf['Google::Cloud::Networkconnectivity::V1beta::TransportManager::DeleteTransportRequest'];
288  
289 coerce 'DeleteTransportRequest',
290 from HashRef, via { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::DeleteTransportRequest'->new($_) };
291  
292 declare 'RepeatedDeleteTransportRequest',
293 as ArrayRef[DeleteTransportRequest()];
294  
295 coerce 'RepeatedDeleteTransportRequest',
296 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1beta::TransportManager::DeleteTransportRequest'->new($_) } @$_ ] };
297  
298 declare 'MapStringDeleteTransportRequest',
299 as HashRef[DeleteTransportRequest()];
300  
301 1;
302  
303 __END__