V1/DashboardQuery/Types.pm untested

filter: Statementstmt 0.0% 0 / 309 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 314 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::Chronicle::V1::DashboardQuery::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 'LanguageFeature',
11 as (Int | Str);
12  
13 declare 'FilterOperator',
14 as (Int | Str);
15  
16 declare 'DataSource',
17 as (Int | Str);
18  
19 declare 'TimeUnit',
20 as (Int | Str);
21  
22 declare 'DashboardQuery',
23 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::DashboardQuery'];
24  
25 coerce 'DashboardQuery',
26 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::DashboardQuery'->new($_) };
27  
28 declare 'RepeatedDashboardQuery',
29 as ArrayRef[DashboardQuery()];
30  
31 coerce 'RepeatedDashboardQuery',
32 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::DashboardQuery'->new($_) } @$_ ] };
33  
34 declare 'MapStringDashboardQuery',
35 as HashRef[DashboardQuery()];
36  
37 declare 'Input',
38 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::DashboardQuery::Input'];
39  
40 coerce 'Input',
41 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::DashboardQuery::Input'->new($_) };
42  
43 declare 'RepeatedInput',
44 as ArrayRef[Input()];
45  
46 coerce 'RepeatedInput',
47 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::DashboardQuery::Input'->new($_) } @$_ ] };
48  
49 declare 'MapStringInput',
50 as HashRef[Input()];
51  
52 declare 'RelativeTime',
53 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::DashboardQuery::Input::RelativeTime'];
54  
55 coerce 'RelativeTime',
56 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::DashboardQuery::Input::RelativeTime'->new($_) };
57  
58 declare 'RepeatedRelativeTime',
59 as ArrayRef[RelativeTime()];
60  
61 coerce 'RepeatedRelativeTime',
62 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::DashboardQuery::Input::RelativeTime'->new($_) } @$_ ] };
63  
64 declare 'MapStringRelativeTime',
65 as HashRef[RelativeTime()];
66  
67 declare 'GetDashboardQueryRequest',
68 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::GetDashboardQueryRequest'];
69  
70 coerce 'GetDashboardQueryRequest',
71 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::GetDashboardQueryRequest'->new($_) };
72  
73 declare 'RepeatedGetDashboardQueryRequest',
74 as ArrayRef[GetDashboardQueryRequest()];
75  
76 coerce 'RepeatedGetDashboardQueryRequest',
77 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::GetDashboardQueryRequest'->new($_) } @$_ ] };
78  
79 declare 'MapStringGetDashboardQueryRequest',
80 as HashRef[GetDashboardQueryRequest()];
81  
82 declare 'ExecuteDashboardQueryRequest',
83 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryRequest'];
84  
85 coerce 'ExecuteDashboardQueryRequest',
86 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryRequest'->new($_) };
87  
88 declare 'RepeatedExecuteDashboardQueryRequest',
89 as ArrayRef[ExecuteDashboardQueryRequest()];
90  
91 coerce 'RepeatedExecuteDashboardQueryRequest',
92 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryRequest'->new($_) } @$_ ] };
93  
94 declare 'MapStringExecuteDashboardQueryRequest',
95 as HashRef[ExecuteDashboardQueryRequest()];
96  
97 declare 'QueryRuntimeError',
98 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::QueryRuntimeError'];
99  
100 coerce 'QueryRuntimeError',
101 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::QueryRuntimeError'->new($_) };
102  
103 declare 'RepeatedQueryRuntimeError',
104 as ArrayRef[QueryRuntimeError()];
105  
106 coerce 'RepeatedQueryRuntimeError',
107 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::QueryRuntimeError'->new($_) } @$_ ] };
108  
109 declare 'MapStringQueryRuntimeError',
110 as HashRef[QueryRuntimeError()];
111  
112 declare 'ErrorSeverity',
113 as (Int | Str);
114  
115 declare 'MetadataKey',
116 as (Int | Str);
117  
118 declare 'WarningReason',
119 as (Int | Str);
120  
121 declare 'QueryRuntimeErrorMetadata',
122 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::QueryRuntimeError::QueryRuntimeErrorMetadata'];
123  
124 coerce 'QueryRuntimeErrorMetadata',
125 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::QueryRuntimeError::QueryRuntimeErrorMetadata'->new($_) };
126  
127 declare 'RepeatedQueryRuntimeErrorMetadata',
128 as ArrayRef[QueryRuntimeErrorMetadata()];
129  
130 coerce 'RepeatedQueryRuntimeErrorMetadata',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::QueryRuntimeError::QueryRuntimeErrorMetadata'->new($_) } @$_ ] };
132  
133 declare 'MapStringQueryRuntimeErrorMetadata',
134 as HashRef[QueryRuntimeErrorMetadata()];
135  
136 declare 'ExecuteDashboardQueryResponse',
137 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse'];
138  
139 coerce 'ExecuteDashboardQueryResponse',
140 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse'->new($_) };
141  
142 declare 'RepeatedExecuteDashboardQueryResponse',
143 as ArrayRef[ExecuteDashboardQueryResponse()];
144  
145 coerce 'RepeatedExecuteDashboardQueryResponse',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse'->new($_) } @$_ ] };
147  
148 declare 'MapStringExecuteDashboardQueryResponse',
149 as HashRef[ExecuteDashboardQueryResponse()];
150  
151 declare 'ColumnValue',
152 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnValue'];
153  
154 coerce 'ColumnValue',
155 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnValue'->new($_) };
156  
157 declare 'RepeatedColumnValue',
158 as ArrayRef[ColumnValue()];
159  
160 coerce 'RepeatedColumnValue',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnValue'->new($_) } @$_ ] };
162  
163 declare 'MapStringColumnValue',
164 as HashRef[ColumnValue()];
165  
166 declare 'ValueMetadata',
167 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnValue::ValueMetadata'];
168  
169 coerce 'ValueMetadata',
170 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnValue::ValueMetadata'->new($_) };
171  
172 declare 'RepeatedValueMetadata',
173 as ArrayRef[ValueMetadata()];
174  
175 coerce 'RepeatedValueMetadata',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnValue::ValueMetadata'->new($_) } @$_ ] };
177  
178 declare 'MapStringValueMetadata',
179 as HashRef[ValueMetadata()];
180  
181 declare 'ColumnType',
182 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnType'];
183  
184 coerce 'ColumnType',
185 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnType'->new($_) };
186  
187 declare 'RepeatedColumnType',
188 as ArrayRef[ColumnType()];
189  
190 coerce 'RepeatedColumnType',
191 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnType'->new($_) } @$_ ] };
192  
193 declare 'MapStringColumnType',
194 as HashRef[ColumnType()];
195  
196 declare 'List',
197 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnType::List'];
198  
199 coerce 'List',
200 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnType::List'->new($_) };
201  
202 declare 'RepeatedList',
203 as ArrayRef[List()];
204  
205 coerce 'RepeatedList',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnType::List'->new($_) } @$_ ] };
207  
208 declare 'MapStringList',
209 as HashRef[List()];
210  
211 declare 'ColumnData',
212 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnData'];
213  
214 coerce 'ColumnData',
215 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnData'->new($_) };
216  
217 declare 'RepeatedColumnData',
218 as ArrayRef[ColumnData()];
219  
220 coerce 'RepeatedColumnData',
221 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnData'->new($_) } @$_ ] };
222  
223 declare 'MapStringColumnData',
224 as HashRef[ColumnData()];
225  
226 declare 'DashboardFilter',
227 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::DashboardFilter'];
228  
229 coerce 'DashboardFilter',
230 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::DashboardFilter'->new($_) };
231  
232 declare 'RepeatedDashboardFilter',
233 as ArrayRef[DashboardFilter()];
234  
235 coerce 'RepeatedDashboardFilter',
236 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::DashboardFilter'->new($_) } @$_ ] };
237  
238 declare 'MapStringDashboardFilter',
239 as HashRef[DashboardFilter()];
240  
241 declare 'FilterOperatorAndValues',
242 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::FilterOperatorAndValues'];
243  
244 coerce 'FilterOperatorAndValues',
245 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::FilterOperatorAndValues'->new($_) };
246  
247 declare 'RepeatedFilterOperatorAndValues',
248 as ArrayRef[FilterOperatorAndValues()];
249  
250 coerce 'RepeatedFilterOperatorAndValues',
251 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::FilterOperatorAndValues'->new($_) } @$_ ] };
252  
253 declare 'MapStringFilterOperatorAndValues',
254 as HashRef[FilterOperatorAndValues()];
255  
256 declare 'AdvancedFilterConfig',
257 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig'];
258  
259 coerce 'AdvancedFilterConfig',
260 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig'->new($_) };
261  
262 declare 'RepeatedAdvancedFilterConfig',
263 as ArrayRef[AdvancedFilterConfig()];
264  
265 coerce 'RepeatedAdvancedFilterConfig',
266 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig'->new($_) } @$_ ] };
267  
268 declare 'MapStringAdvancedFilterConfig',
269 as HashRef[AdvancedFilterConfig()];
270  
271 declare 'ValueSource',
272 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig::ValueSource'];
273  
274 coerce 'ValueSource',
275 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig::ValueSource'->new($_) };
276  
277 declare 'RepeatedValueSource',
278 as ArrayRef[ValueSource()];
279  
280 coerce 'RepeatedValueSource',
281 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig::ValueSource'->new($_) } @$_ ] };
282  
283 declare 'MapStringValueSource',
284 as HashRef[ValueSource()];
285  
286 declare 'ManualOptions',
287 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig::ManualOptions'];
288  
289 coerce 'ManualOptions',
290 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig::ManualOptions'->new($_) };
291  
292 declare 'RepeatedManualOptions',
293 as ArrayRef[ManualOptions()];
294  
295 coerce 'RepeatedManualOptions',
296 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig::ManualOptions'->new($_) } @$_ ] };
297  
298 declare 'MapStringManualOptions',
299 as HashRef[ManualOptions()];
300  
301 declare 'QueryOptions',
302 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig::QueryOptions'];
303  
304 coerce 'QueryOptions',
305 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig::QueryOptions'->new($_) };
306  
307 declare 'RepeatedQueryOptions',
308 as ArrayRef[QueryOptions()];
309  
310 coerce 'RepeatedQueryOptions',
311 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig::QueryOptions'->new($_) } @$_ ] };
312  
313 declare 'MapStringQueryOptions',
314 as HashRef[QueryOptions()];
315  
316 declare 'InAppLink',
317 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::InAppLink'];
318  
319 coerce 'InAppLink',
320 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::InAppLink'->new($_) };
321  
322 declare 'RepeatedInAppLink',
323 as ArrayRef[InAppLink()];
324  
325 coerce 'RepeatedInAppLink',
326 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::InAppLink'->new($_) } @$_ ] };
327  
328 declare 'MapStringInAppLink',
329 as HashRef[InAppLink()];
330  
331 declare 'ColumnMetadata',
332 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::ColumnMetadata'];
333  
334 coerce 'ColumnMetadata',
335 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::ColumnMetadata'->new($_) };
336  
337 declare 'RepeatedColumnMetadata',
338 as ArrayRef[ColumnMetadata()];
339  
340 coerce 'RepeatedColumnMetadata',
341 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::ColumnMetadata'->new($_) } @$_ ] };
342  
343 declare 'MapStringColumnMetadata',
344 as HashRef[ColumnMetadata()];
345  
346 declare 'TimestampMetadata',
347 as InstanceOf['Google::Cloud::Chronicle::V1::DashboardQuery::TimestampMetadata'];
348  
349 coerce 'TimestampMetadata',
350 from HashRef, via { 'Google::Cloud::Chronicle::V1::DashboardQuery::TimestampMetadata'->new($_) };
351  
352 declare 'RepeatedTimestampMetadata',
353 as ArrayRef[TimestampMetadata()];
354  
355 coerce 'RepeatedTimestampMetadata',
356 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::DashboardQuery::TimestampMetadata'->new($_) } @$_ ] };
357  
358 declare 'MapStringTimestampMetadata',
359 as HashRef[TimestampMetadata()];
360  
361 1;
362  
363 __END__