V1/GrpcRoute/Types.pm untested

filter: Statementstmt 0.0% 0 / 265 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 270 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::Networkservices::V1::GrpcRoute::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 'GrpcRoute',
11 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute'];
12  
13 coerce 'GrpcRoute',
14 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute'->new($_) };
15  
16 declare 'RepeatedGrpcRoute',
17 as ArrayRef[GrpcRoute()];
18  
19 coerce 'RepeatedGrpcRoute',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute'->new($_) } @$_ ] };
21  
22 declare 'MapStringGrpcRoute',
23 as HashRef[GrpcRoute()];
24  
25 declare 'MethodMatch',
26 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::MethodMatch'];
27  
28 coerce 'MethodMatch',
29 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::MethodMatch'->new($_) };
30  
31 declare 'RepeatedMethodMatch',
32 as ArrayRef[MethodMatch()];
33  
34 coerce 'RepeatedMethodMatch',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::MethodMatch'->new($_) } @$_ ] };
36  
37 declare 'MapStringMethodMatch',
38 as HashRef[MethodMatch()];
39  
40 declare 'Type',
41 as (Int | Str);
42  
43 declare 'HeaderMatch',
44 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::HeaderMatch'];
45  
46 coerce 'HeaderMatch',
47 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::HeaderMatch'->new($_) };
48  
49 declare 'RepeatedHeaderMatch',
50 as ArrayRef[HeaderMatch()];
51  
52 coerce 'RepeatedHeaderMatch',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::HeaderMatch'->new($_) } @$_ ] };
54  
55 declare 'MapStringHeaderMatch',
56 as HashRef[HeaderMatch()];
57  
58 declare 'Type',
59 as (Int | Str);
60  
61 declare 'RouteMatch',
62 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::RouteMatch'];
63  
64 coerce 'RouteMatch',
65 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::RouteMatch'->new($_) };
66  
67 declare 'RepeatedRouteMatch',
68 as ArrayRef[RouteMatch()];
69  
70 coerce 'RepeatedRouteMatch',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::RouteMatch'->new($_) } @$_ ] };
72  
73 declare 'MapStringRouteMatch',
74 as HashRef[RouteMatch()];
75  
76 declare 'Destination',
77 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::Destination'];
78  
79 coerce 'Destination',
80 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::Destination'->new($_) };
81  
82 declare 'RepeatedDestination',
83 as ArrayRef[Destination()];
84  
85 coerce 'RepeatedDestination',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::Destination'->new($_) } @$_ ] };
87  
88 declare 'MapStringDestination',
89 as HashRef[Destination()];
90  
91 declare 'FaultInjectionPolicy',
92 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::FaultInjectionPolicy'];
93  
94 coerce 'FaultInjectionPolicy',
95 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::FaultInjectionPolicy'->new($_) };
96  
97 declare 'RepeatedFaultInjectionPolicy',
98 as ArrayRef[FaultInjectionPolicy()];
99  
100 coerce 'RepeatedFaultInjectionPolicy',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::FaultInjectionPolicy'->new($_) } @$_ ] };
102  
103 declare 'MapStringFaultInjectionPolicy',
104 as HashRef[FaultInjectionPolicy()];
105  
106 declare 'Delay',
107 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::FaultInjectionPolicy::Delay'];
108  
109 coerce 'Delay',
110 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::FaultInjectionPolicy::Delay'->new($_) };
111  
112 declare 'RepeatedDelay',
113 as ArrayRef[Delay()];
114  
115 coerce 'RepeatedDelay',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::FaultInjectionPolicy::Delay'->new($_) } @$_ ] };
117  
118 declare 'MapStringDelay',
119 as HashRef[Delay()];
120  
121 declare 'Abort',
122 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::FaultInjectionPolicy::Abort'];
123  
124 coerce 'Abort',
125 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::FaultInjectionPolicy::Abort'->new($_) };
126  
127 declare 'RepeatedAbort',
128 as ArrayRef[Abort()];
129  
130 coerce 'RepeatedAbort',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::FaultInjectionPolicy::Abort'->new($_) } @$_ ] };
132  
133 declare 'MapStringAbort',
134 as HashRef[Abort()];
135  
136 declare 'StatefulSessionAffinityPolicy',
137 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::StatefulSessionAffinityPolicy'];
138  
139 coerce 'StatefulSessionAffinityPolicy',
140 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::StatefulSessionAffinityPolicy'->new($_) };
141  
142 declare 'RepeatedStatefulSessionAffinityPolicy',
143 as ArrayRef[StatefulSessionAffinityPolicy()];
144  
145 coerce 'RepeatedStatefulSessionAffinityPolicy',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::StatefulSessionAffinityPolicy'->new($_) } @$_ ] };
147  
148 declare 'MapStringStatefulSessionAffinityPolicy',
149 as HashRef[StatefulSessionAffinityPolicy()];
150  
151 declare 'RetryPolicy',
152 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::RetryPolicy'];
153  
154 coerce 'RetryPolicy',
155 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::RetryPolicy'->new($_) };
156  
157 declare 'RepeatedRetryPolicy',
158 as ArrayRef[RetryPolicy()];
159  
160 coerce 'RepeatedRetryPolicy',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::RetryPolicy'->new($_) } @$_ ] };
162  
163 declare 'MapStringRetryPolicy',
164 as HashRef[RetryPolicy()];
165  
166 declare 'RouteAction',
167 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::RouteAction'];
168  
169 coerce 'RouteAction',
170 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::RouteAction'->new($_) };
171  
172 declare 'RepeatedRouteAction',
173 as ArrayRef[RouteAction()];
174  
175 coerce 'RepeatedRouteAction',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::RouteAction'->new($_) } @$_ ] };
177  
178 declare 'MapStringRouteAction',
179 as HashRef[RouteAction()];
180  
181 declare 'RouteRule',
182 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::RouteRule'];
183  
184 coerce 'RouteRule',
185 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::RouteRule'->new($_) };
186  
187 declare 'RepeatedRouteRule',
188 as ArrayRef[RouteRule()];
189  
190 coerce 'RepeatedRouteRule',
191 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::RouteRule'->new($_) } @$_ ] };
192  
193 declare 'MapStringRouteRule',
194 as HashRef[RouteRule()];
195  
196 declare 'LabelsEntry',
197 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::LabelsEntry'];
198  
199 coerce 'LabelsEntry',
200 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::LabelsEntry'->new($_) };
201  
202 declare 'RepeatedLabelsEntry',
203 as ArrayRef[LabelsEntry()];
204  
205 coerce 'RepeatedLabelsEntry',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::GrpcRoute::LabelsEntry'->new($_) } @$_ ] };
207  
208 declare 'MapStringLabelsEntry',
209 as HashRef[LabelsEntry()];
210  
211 declare 'ListGrpcRoutesRequest',
212 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::ListGrpcRoutesRequest'];
213  
214 coerce 'ListGrpcRoutesRequest',
215 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::ListGrpcRoutesRequest'->new($_) };
216  
217 declare 'RepeatedListGrpcRoutesRequest',
218 as ArrayRef[ListGrpcRoutesRequest()];
219  
220 coerce 'RepeatedListGrpcRoutesRequest',
221 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::ListGrpcRoutesRequest'->new($_) } @$_ ] };
222  
223 declare 'MapStringListGrpcRoutesRequest',
224 as HashRef[ListGrpcRoutesRequest()];
225  
226 declare 'ListGrpcRoutesResponse',
227 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::ListGrpcRoutesResponse'];
228  
229 coerce 'ListGrpcRoutesResponse',
230 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::ListGrpcRoutesResponse'->new($_) };
231  
232 declare 'RepeatedListGrpcRoutesResponse',
233 as ArrayRef[ListGrpcRoutesResponse()];
234  
235 coerce 'RepeatedListGrpcRoutesResponse',
236 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::ListGrpcRoutesResponse'->new($_) } @$_ ] };
237  
238 declare 'MapStringListGrpcRoutesResponse',
239 as HashRef[ListGrpcRoutesResponse()];
240  
241 declare 'GetGrpcRouteRequest',
242 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::GetGrpcRouteRequest'];
243  
244 coerce 'GetGrpcRouteRequest',
245 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::GetGrpcRouteRequest'->new($_) };
246  
247 declare 'RepeatedGetGrpcRouteRequest',
248 as ArrayRef[GetGrpcRouteRequest()];
249  
250 coerce 'RepeatedGetGrpcRouteRequest',
251 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::GetGrpcRouteRequest'->new($_) } @$_ ] };
252  
253 declare 'MapStringGetGrpcRouteRequest',
254 as HashRef[GetGrpcRouteRequest()];
255  
256 declare 'CreateGrpcRouteRequest',
257 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::CreateGrpcRouteRequest'];
258  
259 coerce 'CreateGrpcRouteRequest',
260 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::CreateGrpcRouteRequest'->new($_) };
261  
262 declare 'RepeatedCreateGrpcRouteRequest',
263 as ArrayRef[CreateGrpcRouteRequest()];
264  
265 coerce 'RepeatedCreateGrpcRouteRequest',
266 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::CreateGrpcRouteRequest'->new($_) } @$_ ] };
267  
268 declare 'MapStringCreateGrpcRouteRequest',
269 as HashRef[CreateGrpcRouteRequest()];
270  
271 declare 'UpdateGrpcRouteRequest',
272 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::UpdateGrpcRouteRequest'];
273  
274 coerce 'UpdateGrpcRouteRequest',
275 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::UpdateGrpcRouteRequest'->new($_) };
276  
277 declare 'RepeatedUpdateGrpcRouteRequest',
278 as ArrayRef[UpdateGrpcRouteRequest()];
279  
280 coerce 'RepeatedUpdateGrpcRouteRequest',
281 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::UpdateGrpcRouteRequest'->new($_) } @$_ ] };
282  
283 declare 'MapStringUpdateGrpcRouteRequest',
284 as HashRef[UpdateGrpcRouteRequest()];
285  
286 declare 'DeleteGrpcRouteRequest',
287 as InstanceOf['Google::Cloud::Networkservices::V1::GrpcRoute::DeleteGrpcRouteRequest'];
288  
289 coerce 'DeleteGrpcRouteRequest',
290 from HashRef, via { 'Google::Cloud::Networkservices::V1::GrpcRoute::DeleteGrpcRouteRequest'->new($_) };
291  
292 declare 'RepeatedDeleteGrpcRouteRequest',
293 as ArrayRef[DeleteGrpcRouteRequest()];
294  
295 coerce 'RepeatedDeleteGrpcRouteRequest',
296 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::GrpcRoute::DeleteGrpcRouteRequest'->new($_) } @$_ ] };
297  
298 declare 'MapStringDeleteGrpcRouteRequest',
299 as HashRef[DeleteGrpcRouteRequest()];
300  
301 1;
302  
303 __END__