V1/ServiceLbPolicy/Types.pm untested

filter: Statementstmt 0.0% 0 / 162 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 167 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::ServiceLbPolicy::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 'ServiceLbPolicy',
11 as InstanceOf['Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy'];
12  
13 coerce 'ServiceLbPolicy',
14 from HashRef, via { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy'->new($_) };
15  
16 declare 'RepeatedServiceLbPolicy',
17 as ArrayRef[ServiceLbPolicy()];
18  
19 coerce 'RepeatedServiceLbPolicy',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy'->new($_) } @$_ ] };
21  
22 declare 'MapStringServiceLbPolicy',
23 as HashRef[ServiceLbPolicy()];
24  
25 declare 'LoadBalancingAlgorithm',
26 as (Int | Str);
27  
28 declare 'IsolationGranularity',
29 as (Int | Str);
30  
31 declare 'IsolationMode',
32 as (Int | Str);
33  
34 declare 'AutoCapacityDrain',
35 as InstanceOf['Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy::AutoCapacityDrain'];
36  
37 coerce 'AutoCapacityDrain',
38 from HashRef, via { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy::AutoCapacityDrain'->new($_) };
39  
40 declare 'RepeatedAutoCapacityDrain',
41 as ArrayRef[AutoCapacityDrain()];
42  
43 coerce 'RepeatedAutoCapacityDrain',
44 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy::AutoCapacityDrain'->new($_) } @$_ ] };
45  
46 declare 'MapStringAutoCapacityDrain',
47 as HashRef[AutoCapacityDrain()];
48  
49 declare 'FailoverConfig',
50 as InstanceOf['Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy::FailoverConfig'];
51  
52 coerce 'FailoverConfig',
53 from HashRef, via { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy::FailoverConfig'->new($_) };
54  
55 declare 'RepeatedFailoverConfig',
56 as ArrayRef[FailoverConfig()];
57  
58 coerce 'RepeatedFailoverConfig',
59 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy::FailoverConfig'->new($_) } @$_ ] };
60  
61 declare 'MapStringFailoverConfig',
62 as HashRef[FailoverConfig()];
63  
64 declare 'IsolationConfig',
65 as InstanceOf['Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy::IsolationConfig'];
66  
67 coerce 'IsolationConfig',
68 from HashRef, via { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy::IsolationConfig'->new($_) };
69  
70 declare 'RepeatedIsolationConfig',
71 as ArrayRef[IsolationConfig()];
72  
73 coerce 'RepeatedIsolationConfig',
74 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy::IsolationConfig'->new($_) } @$_ ] };
75  
76 declare 'MapStringIsolationConfig',
77 as HashRef[IsolationConfig()];
78  
79 declare 'LabelsEntry',
80 as InstanceOf['Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy::LabelsEntry'];
81  
82 coerce 'LabelsEntry',
83 from HashRef, via { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy::LabelsEntry'->new($_) };
84  
85 declare 'RepeatedLabelsEntry',
86 as ArrayRef[LabelsEntry()];
87  
88 coerce 'RepeatedLabelsEntry',
89 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::ServiceLbPolicy::LabelsEntry'->new($_) } @$_ ] };
90  
91 declare 'MapStringLabelsEntry',
92 as HashRef[LabelsEntry()];
93  
94 declare 'ListServiceLbPoliciesRequest',
95 as InstanceOf['Google::Cloud::Networkservices::V1::ServiceLbPolicy::ListServiceLbPoliciesRequest'];
96  
97 coerce 'ListServiceLbPoliciesRequest',
98 from HashRef, via { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::ListServiceLbPoliciesRequest'->new($_) };
99  
100 declare 'RepeatedListServiceLbPoliciesRequest',
101 as ArrayRef[ListServiceLbPoliciesRequest()];
102  
103 coerce 'RepeatedListServiceLbPoliciesRequest',
104 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::ListServiceLbPoliciesRequest'->new($_) } @$_ ] };
105  
106 declare 'MapStringListServiceLbPoliciesRequest',
107 as HashRef[ListServiceLbPoliciesRequest()];
108  
109 declare 'ListServiceLbPoliciesResponse',
110 as InstanceOf['Google::Cloud::Networkservices::V1::ServiceLbPolicy::ListServiceLbPoliciesResponse'];
111  
112 coerce 'ListServiceLbPoliciesResponse',
113 from HashRef, via { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::ListServiceLbPoliciesResponse'->new($_) };
114  
115 declare 'RepeatedListServiceLbPoliciesResponse',
116 as ArrayRef[ListServiceLbPoliciesResponse()];
117  
118 coerce 'RepeatedListServiceLbPoliciesResponse',
119 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::ListServiceLbPoliciesResponse'->new($_) } @$_ ] };
120  
121 declare 'MapStringListServiceLbPoliciesResponse',
122 as HashRef[ListServiceLbPoliciesResponse()];
123  
124 declare 'GetServiceLbPolicyRequest',
125 as InstanceOf['Google::Cloud::Networkservices::V1::ServiceLbPolicy::GetServiceLbPolicyRequest'];
126  
127 coerce 'GetServiceLbPolicyRequest',
128 from HashRef, via { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::GetServiceLbPolicyRequest'->new($_) };
129  
130 declare 'RepeatedGetServiceLbPolicyRequest',
131 as ArrayRef[GetServiceLbPolicyRequest()];
132  
133 coerce 'RepeatedGetServiceLbPolicyRequest',
134 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::GetServiceLbPolicyRequest'->new($_) } @$_ ] };
135  
136 declare 'MapStringGetServiceLbPolicyRequest',
137 as HashRef[GetServiceLbPolicyRequest()];
138  
139 declare 'CreateServiceLbPolicyRequest',
140 as InstanceOf['Google::Cloud::Networkservices::V1::ServiceLbPolicy::CreateServiceLbPolicyRequest'];
141  
142 coerce 'CreateServiceLbPolicyRequest',
143 from HashRef, via { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::CreateServiceLbPolicyRequest'->new($_) };
144  
145 declare 'RepeatedCreateServiceLbPolicyRequest',
146 as ArrayRef[CreateServiceLbPolicyRequest()];
147  
148 coerce 'RepeatedCreateServiceLbPolicyRequest',
149 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::CreateServiceLbPolicyRequest'->new($_) } @$_ ] };
150  
151 declare 'MapStringCreateServiceLbPolicyRequest',
152 as HashRef[CreateServiceLbPolicyRequest()];
153  
154 declare 'UpdateServiceLbPolicyRequest',
155 as InstanceOf['Google::Cloud::Networkservices::V1::ServiceLbPolicy::UpdateServiceLbPolicyRequest'];
156  
157 coerce 'UpdateServiceLbPolicyRequest',
158 from HashRef, via { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::UpdateServiceLbPolicyRequest'->new($_) };
159  
160 declare 'RepeatedUpdateServiceLbPolicyRequest',
161 as ArrayRef[UpdateServiceLbPolicyRequest()];
162  
163 coerce 'RepeatedUpdateServiceLbPolicyRequest',
164 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::UpdateServiceLbPolicyRequest'->new($_) } @$_ ] };
165  
166 declare 'MapStringUpdateServiceLbPolicyRequest',
167 as HashRef[UpdateServiceLbPolicyRequest()];
168  
169 declare 'DeleteServiceLbPolicyRequest',
170 as InstanceOf['Google::Cloud::Networkservices::V1::ServiceLbPolicy::DeleteServiceLbPolicyRequest'];
171  
172 coerce 'DeleteServiceLbPolicyRequest',
173 from HashRef, via { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::DeleteServiceLbPolicyRequest'->new($_) };
174  
175 declare 'RepeatedDeleteServiceLbPolicyRequest',
176 as ArrayRef[DeleteServiceLbPolicyRequest()];
177  
178 coerce 'RepeatedDeleteServiceLbPolicyRequest',
179 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::ServiceLbPolicy::DeleteServiceLbPolicyRequest'->new($_) } @$_ ] };
180  
181 declare 'MapStringDeleteServiceLbPolicyRequest',
182 as HashRef[DeleteServiceLbPolicyRequest()];
183  
184 1;
185  
186 __END__