V1/Gateway/Types.pm untested

filter: Statementstmt 0.0% 0 / 123 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 128 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::Gateway::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 'Gateway',
11 as InstanceOf['Google::Cloud::Networkservices::V1::Gateway::Gateway'];
12  
13 coerce 'Gateway',
14 from HashRef, via { 'Google::Cloud::Networkservices::V1::Gateway::Gateway'->new($_) };
15  
16 declare 'RepeatedGateway',
17 as ArrayRef[Gateway()];
18  
19 coerce 'RepeatedGateway',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::Gateway::Gateway'->new($_) } @$_ ] };
21  
22 declare 'MapStringGateway',
23 as HashRef[Gateway()];
24  
25 declare 'Type',
26 as (Int | Str);
27  
28 declare 'IpVersion',
29 as (Int | Str);
30  
31 declare 'RoutingMode',
32 as (Int | Str);
33  
34 declare 'LabelsEntry',
35 as InstanceOf['Google::Cloud::Networkservices::V1::Gateway::Gateway::LabelsEntry'];
36  
37 coerce 'LabelsEntry',
38 from HashRef, via { 'Google::Cloud::Networkservices::V1::Gateway::Gateway::LabelsEntry'->new($_) };
39  
40 declare 'RepeatedLabelsEntry',
41 as ArrayRef[LabelsEntry()];
42  
43 coerce 'RepeatedLabelsEntry',
44 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::Gateway::Gateway::LabelsEntry'->new($_) } @$_ ] };
45  
46 declare 'MapStringLabelsEntry',
47 as HashRef[LabelsEntry()];
48  
49 declare 'ListGatewaysRequest',
50 as InstanceOf['Google::Cloud::Networkservices::V1::Gateway::ListGatewaysRequest'];
51  
52 coerce 'ListGatewaysRequest',
53 from HashRef, via { 'Google::Cloud::Networkservices::V1::Gateway::ListGatewaysRequest'->new($_) };
54  
55 declare 'RepeatedListGatewaysRequest',
56 as ArrayRef[ListGatewaysRequest()];
57  
58 coerce 'RepeatedListGatewaysRequest',
59 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::Gateway::ListGatewaysRequest'->new($_) } @$_ ] };
60  
61 declare 'MapStringListGatewaysRequest',
62 as HashRef[ListGatewaysRequest()];
63  
64 declare 'ListGatewaysResponse',
65 as InstanceOf['Google::Cloud::Networkservices::V1::Gateway::ListGatewaysResponse'];
66  
67 coerce 'ListGatewaysResponse',
68 from HashRef, via { 'Google::Cloud::Networkservices::V1::Gateway::ListGatewaysResponse'->new($_) };
69  
70 declare 'RepeatedListGatewaysResponse',
71 as ArrayRef[ListGatewaysResponse()];
72  
73 coerce 'RepeatedListGatewaysResponse',
74 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::Gateway::ListGatewaysResponse'->new($_) } @$_ ] };
75  
76 declare 'MapStringListGatewaysResponse',
77 as HashRef[ListGatewaysResponse()];
78  
79 declare 'GetGatewayRequest',
80 as InstanceOf['Google::Cloud::Networkservices::V1::Gateway::GetGatewayRequest'];
81  
82 coerce 'GetGatewayRequest',
83 from HashRef, via { 'Google::Cloud::Networkservices::V1::Gateway::GetGatewayRequest'->new($_) };
84  
85 declare 'RepeatedGetGatewayRequest',
86 as ArrayRef[GetGatewayRequest()];
87  
88 coerce 'RepeatedGetGatewayRequest',
89 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::Gateway::GetGatewayRequest'->new($_) } @$_ ] };
90  
91 declare 'MapStringGetGatewayRequest',
92 as HashRef[GetGatewayRequest()];
93  
94 declare 'CreateGatewayRequest',
95 as InstanceOf['Google::Cloud::Networkservices::V1::Gateway::CreateGatewayRequest'];
96  
97 coerce 'CreateGatewayRequest',
98 from HashRef, via { 'Google::Cloud::Networkservices::V1::Gateway::CreateGatewayRequest'->new($_) };
99  
100 declare 'RepeatedCreateGatewayRequest',
101 as ArrayRef[CreateGatewayRequest()];
102  
103 coerce 'RepeatedCreateGatewayRequest',
104 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::Gateway::CreateGatewayRequest'->new($_) } @$_ ] };
105  
106 declare 'MapStringCreateGatewayRequest',
107 as HashRef[CreateGatewayRequest()];
108  
109 declare 'UpdateGatewayRequest',
110 as InstanceOf['Google::Cloud::Networkservices::V1::Gateway::UpdateGatewayRequest'];
111  
112 coerce 'UpdateGatewayRequest',
113 from HashRef, via { 'Google::Cloud::Networkservices::V1::Gateway::UpdateGatewayRequest'->new($_) };
114  
115 declare 'RepeatedUpdateGatewayRequest',
116 as ArrayRef[UpdateGatewayRequest()];
117  
118 coerce 'RepeatedUpdateGatewayRequest',
119 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::Gateway::UpdateGatewayRequest'->new($_) } @$_ ] };
120  
121 declare 'MapStringUpdateGatewayRequest',
122 as HashRef[UpdateGatewayRequest()];
123  
124 declare 'DeleteGatewayRequest',
125 as InstanceOf['Google::Cloud::Networkservices::V1::Gateway::DeleteGatewayRequest'];
126  
127 coerce 'DeleteGatewayRequest',
128 from HashRef, via { 'Google::Cloud::Networkservices::V1::Gateway::DeleteGatewayRequest'->new($_) };
129  
130 declare 'RepeatedDeleteGatewayRequest',
131 as ArrayRef[DeleteGatewayRequest()];
132  
133 coerce 'RepeatedDeleteGatewayRequest',
134 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::Gateway::DeleteGatewayRequest'->new($_) } @$_ ] };
135  
136 declare 'MapStringDeleteGatewayRequest',
137 as HashRef[DeleteGatewayRequest()];
138  
139 1;
140  
141 __END__