Monitoring/V3/Uptime/Types.pm untested

filter: Statementstmt 0.0% 0 / 234 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 239 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Monitoring::V3::Uptime::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 'UptimeCheckRegion',
11 as (Int | Str);
12  
13 declare 'GroupResourceType',
14 as (Int | Str);
15  
16 declare 'InternalChecker',
17 as InstanceOf['Google::Monitoring::V3::Uptime::InternalChecker'];
18  
19 coerce 'InternalChecker',
20 from HashRef, via { 'Google::Monitoring::V3::Uptime::InternalChecker'->new($_) };
21  
22 declare 'RepeatedInternalChecker',
23 as ArrayRef[InternalChecker()];
24  
25 coerce 'RepeatedInternalChecker',
26 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::InternalChecker'->new($_) } @$_ ] };
27  
28 declare 'MapStringInternalChecker',
29 as HashRef[InternalChecker()];
30  
31 declare 'State',
32 as (Int | Str);
33  
34 declare 'SyntheticMonitorTarget',
35 as InstanceOf['Google::Monitoring::V3::Uptime::SyntheticMonitorTarget'];
36  
37 coerce 'SyntheticMonitorTarget',
38 from HashRef, via { 'Google::Monitoring::V3::Uptime::SyntheticMonitorTarget'->new($_) };
39  
40 declare 'RepeatedSyntheticMonitorTarget',
41 as ArrayRef[SyntheticMonitorTarget()];
42  
43 coerce 'RepeatedSyntheticMonitorTarget',
44 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::SyntheticMonitorTarget'->new($_) } @$_ ] };
45  
46 declare 'MapStringSyntheticMonitorTarget',
47 as HashRef[SyntheticMonitorTarget()];
48  
49 declare 'CloudFunctionV2Target',
50 as InstanceOf['Google::Monitoring::V3::Uptime::SyntheticMonitorTarget::CloudFunctionV2Target'];
51  
52 coerce 'CloudFunctionV2Target',
53 from HashRef, via { 'Google::Monitoring::V3::Uptime::SyntheticMonitorTarget::CloudFunctionV2Target'->new($_) };
54  
55 declare 'RepeatedCloudFunctionV2Target',
56 as ArrayRef[CloudFunctionV2Target()];
57  
58 coerce 'RepeatedCloudFunctionV2Target',
59 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::SyntheticMonitorTarget::CloudFunctionV2Target'->new($_) } @$_ ] };
60  
61 declare 'MapStringCloudFunctionV2Target',
62 as HashRef[CloudFunctionV2Target()];
63  
64 declare 'UptimeCheckConfig',
65 as InstanceOf['Google::Monitoring::V3::Uptime::UptimeCheckConfig'];
66  
67 coerce 'UptimeCheckConfig',
68 from HashRef, via { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig'->new($_) };
69  
70 declare 'RepeatedUptimeCheckConfig',
71 as ArrayRef[UptimeCheckConfig()];
72  
73 coerce 'RepeatedUptimeCheckConfig',
74 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig'->new($_) } @$_ ] };
75  
76 declare 'MapStringUptimeCheckConfig',
77 as HashRef[UptimeCheckConfig()];
78  
79 declare 'CheckerType',
80 as (Int | Str);
81  
82 declare 'ResourceGroup',
83 as InstanceOf['Google::Monitoring::V3::Uptime::UptimeCheckConfig::ResourceGroup'];
84  
85 coerce 'ResourceGroup',
86 from HashRef, via { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::ResourceGroup'->new($_) };
87  
88 declare 'RepeatedResourceGroup',
89 as ArrayRef[ResourceGroup()];
90  
91 coerce 'RepeatedResourceGroup',
92 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::ResourceGroup'->new($_) } @$_ ] };
93  
94 declare 'MapStringResourceGroup',
95 as HashRef[ResourceGroup()];
96  
97 declare 'PingConfig',
98 as InstanceOf['Google::Monitoring::V3::Uptime::UptimeCheckConfig::PingConfig'];
99  
100 coerce 'PingConfig',
101 from HashRef, via { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::PingConfig'->new($_) };
102  
103 declare 'RepeatedPingConfig',
104 as ArrayRef[PingConfig()];
105  
106 coerce 'RepeatedPingConfig',
107 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::PingConfig'->new($_) } @$_ ] };
108  
109 declare 'MapStringPingConfig',
110 as HashRef[PingConfig()];
111  
112 declare 'HttpCheck',
113 as InstanceOf['Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck'];
114  
115 coerce 'HttpCheck',
116 from HashRef, via { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck'->new($_) };
117  
118 declare 'RepeatedHttpCheck',
119 as ArrayRef[HttpCheck()];
120  
121 coerce 'RepeatedHttpCheck',
122 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck'->new($_) } @$_ ] };
123  
124 declare 'MapStringHttpCheck',
125 as HashRef[HttpCheck()];
126  
127 declare 'RequestMethod',
128 as (Int | Str);
129  
130 declare 'ContentType',
131 as (Int | Str);
132  
133 declare 'BasicAuthentication',
134 as InstanceOf['Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck::BasicAuthentication'];
135  
136 coerce 'BasicAuthentication',
137 from HashRef, via { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck::BasicAuthentication'->new($_) };
138  
139 declare 'RepeatedBasicAuthentication',
140 as ArrayRef[BasicAuthentication()];
141  
142 coerce 'RepeatedBasicAuthentication',
143 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck::BasicAuthentication'->new($_) } @$_ ] };
144  
145 declare 'MapStringBasicAuthentication',
146 as HashRef[BasicAuthentication()];
147  
148 declare 'ResponseStatusCode',
149 as InstanceOf['Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck::ResponseStatusCode'];
150  
151 coerce 'ResponseStatusCode',
152 from HashRef, via { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck::ResponseStatusCode'->new($_) };
153  
154 declare 'RepeatedResponseStatusCode',
155 as ArrayRef[ResponseStatusCode()];
156  
157 coerce 'RepeatedResponseStatusCode',
158 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck::ResponseStatusCode'->new($_) } @$_ ] };
159  
160 declare 'MapStringResponseStatusCode',
161 as HashRef[ResponseStatusCode()];
162  
163 declare 'StatusClass',
164 as (Int | Str);
165  
166 declare 'ServiceAgentAuthentication',
167 as InstanceOf['Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck::ServiceAgentAuthentication'];
168  
169 coerce 'ServiceAgentAuthentication',
170 from HashRef, via { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck::ServiceAgentAuthentication'->new($_) };
171  
172 declare 'RepeatedServiceAgentAuthentication',
173 as ArrayRef[ServiceAgentAuthentication()];
174  
175 coerce 'RepeatedServiceAgentAuthentication',
176 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck::ServiceAgentAuthentication'->new($_) } @$_ ] };
177  
178 declare 'MapStringServiceAgentAuthentication',
179 as HashRef[ServiceAgentAuthentication()];
180  
181 declare 'ServiceAgentAuthenticationType',
182 as (Int | Str);
183  
184 declare 'HeadersEntry',
185 as InstanceOf['Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck::HeadersEntry'];
186  
187 coerce 'HeadersEntry',
188 from HashRef, via { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck::HeadersEntry'->new($_) };
189  
190 declare 'RepeatedHeadersEntry',
191 as ArrayRef[HeadersEntry()];
192  
193 coerce 'RepeatedHeadersEntry',
194 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::HttpCheck::HeadersEntry'->new($_) } @$_ ] };
195  
196 declare 'MapStringHeadersEntry',
197 as HashRef[HeadersEntry()];
198  
199 declare 'TcpCheck',
200 as InstanceOf['Google::Monitoring::V3::Uptime::UptimeCheckConfig::TcpCheck'];
201  
202 coerce 'TcpCheck',
203 from HashRef, via { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::TcpCheck'->new($_) };
204  
205 declare 'RepeatedTcpCheck',
206 as ArrayRef[TcpCheck()];
207  
208 coerce 'RepeatedTcpCheck',
209 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::TcpCheck'->new($_) } @$_ ] };
210  
211 declare 'MapStringTcpCheck',
212 as HashRef[TcpCheck()];
213  
214 declare 'ContentMatcher',
215 as InstanceOf['Google::Monitoring::V3::Uptime::UptimeCheckConfig::ContentMatcher'];
216  
217 coerce 'ContentMatcher',
218 from HashRef, via { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::ContentMatcher'->new($_) };
219  
220 declare 'RepeatedContentMatcher',
221 as ArrayRef[ContentMatcher()];
222  
223 coerce 'RepeatedContentMatcher',
224 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::ContentMatcher'->new($_) } @$_ ] };
225  
226 declare 'MapStringContentMatcher',
227 as HashRef[ContentMatcher()];
228  
229 declare 'ContentMatcherOption',
230 as (Int | Str);
231  
232 declare 'JsonPathMatcher',
233 as InstanceOf['Google::Monitoring::V3::Uptime::UptimeCheckConfig::ContentMatcher::JsonPathMatcher'];
234  
235 coerce 'JsonPathMatcher',
236 from HashRef, via { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::ContentMatcher::JsonPathMatcher'->new($_) };
237  
238 declare 'RepeatedJsonPathMatcher',
239 as ArrayRef[JsonPathMatcher()];
240  
241 coerce 'RepeatedJsonPathMatcher',
242 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::ContentMatcher::JsonPathMatcher'->new($_) } @$_ ] };
243  
244 declare 'MapStringJsonPathMatcher',
245 as HashRef[JsonPathMatcher()];
246  
247 declare 'JsonPathMatcherOption',
248 as (Int | Str);
249  
250 declare 'UserLabelsEntry',
251 as InstanceOf['Google::Monitoring::V3::Uptime::UptimeCheckConfig::UserLabelsEntry'];
252  
253 coerce 'UserLabelsEntry',
254 from HashRef, via { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::UserLabelsEntry'->new($_) };
255  
256 declare 'RepeatedUserLabelsEntry',
257 as ArrayRef[UserLabelsEntry()];
258  
259 coerce 'RepeatedUserLabelsEntry',
260 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::UptimeCheckConfig::UserLabelsEntry'->new($_) } @$_ ] };
261  
262 declare 'MapStringUserLabelsEntry',
263 as HashRef[UserLabelsEntry()];
264  
265 declare 'UptimeCheckIp',
266 as InstanceOf['Google::Monitoring::V3::Uptime::UptimeCheckIp'];
267  
268 coerce 'UptimeCheckIp',
269 from HashRef, via { 'Google::Monitoring::V3::Uptime::UptimeCheckIp'->new($_) };
270  
271 declare 'RepeatedUptimeCheckIp',
272 as ArrayRef[UptimeCheckIp()];
273  
274 coerce 'RepeatedUptimeCheckIp',
275 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Uptime::UptimeCheckIp'->new($_) } @$_ ] };
276  
277 declare 'MapStringUptimeCheckIp',
278 as HashRef[UptimeCheckIp()];
279  
280 1;
281  
282 __END__