V1/Search/Types.pm untested

filter: Statementstmt 0.0% 0 / 332 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 337 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::Search::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 'QueryDialect',
11 as (Int | Str);
12  
13 declare 'SearchSession',
14 as InstanceOf['Google::Cloud::Chronicle::V1::Search::SearchSession'];
15  
16 coerce 'SearchSession',
17 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::SearchSession'->new($_) };
18  
19 declare 'RepeatedSearchSession',
20 as ArrayRef[SearchSession()];
21  
22 coerce 'RepeatedSearchSession',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::SearchSession'->new($_) } @$_ ] };
24  
25 declare 'MapStringSearchSession',
26 as HashRef[SearchSession()];
27  
28 declare 'SearchedResult',
29 as InstanceOf['Google::Cloud::Chronicle::V1::Search::SearchedResult'];
30  
31 coerce 'SearchedResult',
32 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::SearchedResult'->new($_) };
33  
34 declare 'RepeatedSearchedResult',
35 as ArrayRef[SearchedResult()];
36  
37 coerce 'RepeatedSearchedResult',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::SearchedResult'->new($_) } @$_ ] };
39  
40 declare 'MapStringSearchedResult',
41 as HashRef[SearchedResult()];
42  
43 declare 'SearchRequest',
44 as InstanceOf['Google::Cloud::Chronicle::V1::Search::SearchRequest'];
45  
46 coerce 'SearchRequest',
47 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::SearchRequest'->new($_) };
48  
49 declare 'RepeatedSearchRequest',
50 as ArrayRef[SearchRequest()];
51  
52 coerce 'RepeatedSearchRequest',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::SearchRequest'->new($_) } @$_ ] };
54  
55 declare 'MapStringSearchRequest',
56 as HashRef[SearchRequest()];
57  
58 declare 'ListSearchedResultsRequest',
59 as InstanceOf['Google::Cloud::Chronicle::V1::Search::ListSearchedResultsRequest'];
60  
61 coerce 'ListSearchedResultsRequest',
62 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::ListSearchedResultsRequest'->new($_) };
63  
64 declare 'RepeatedListSearchedResultsRequest',
65 as ArrayRef[ListSearchedResultsRequest()];
66  
67 coerce 'RepeatedListSearchedResultsRequest',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::ListSearchedResultsRequest'->new($_) } @$_ ] };
69  
70 declare 'MapStringListSearchedResultsRequest',
71 as HashRef[ListSearchedResultsRequest()];
72  
73 declare 'ListSearchedResultsResponse',
74 as InstanceOf['Google::Cloud::Chronicle::V1::Search::ListSearchedResultsResponse'];
75  
76 coerce 'ListSearchedResultsResponse',
77 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::ListSearchedResultsResponse'->new($_) };
78  
79 declare 'RepeatedListSearchedResultsResponse',
80 as ArrayRef[ListSearchedResultsResponse()];
81  
82 coerce 'RepeatedListSearchedResultsResponse',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::ListSearchedResultsResponse'->new($_) } @$_ ] };
84  
85 declare 'MapStringListSearchedResultsResponse',
86 as HashRef[ListSearchedResultsResponse()];
87  
88 declare 'SearchSessionMetadata',
89 as InstanceOf['Google::Cloud::Chronicle::V1::Search::SearchSessionMetadata'];
90  
91 coerce 'SearchSessionMetadata',
92 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::SearchSessionMetadata'->new($_) };
93  
94 declare 'RepeatedSearchSessionMetadata',
95 as ArrayRef[SearchSessionMetadata()];
96  
97 coerce 'RepeatedSearchSessionMetadata',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::SearchSessionMetadata'->new($_) } @$_ ] };
99  
100 declare 'MapStringSearchSessionMetadata',
101 as HashRef[SearchSessionMetadata()];
102  
103 declare 'SearchOperationMetadata',
104 as InstanceOf['Google::Cloud::Chronicle::V1::Search::SearchOperationMetadata'];
105  
106 coerce 'SearchOperationMetadata',
107 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::SearchOperationMetadata'->new($_) };
108  
109 declare 'RepeatedSearchOperationMetadata',
110 as ArrayRef[SearchOperationMetadata()];
111  
112 coerce 'RepeatedSearchOperationMetadata',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::SearchOperationMetadata'->new($_) } @$_ ] };
114  
115 declare 'MapStringSearchOperationMetadata',
116 as HashRef[SearchOperationMetadata()];
117  
118 declare 'State',
119 as (Int | Str);
120  
121 declare 'DataTableExportMetadata',
122 as InstanceOf['Google::Cloud::Chronicle::V1::Search::DataTableExportMetadata'];
123  
124 coerce 'DataTableExportMetadata',
125 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::DataTableExportMetadata'->new($_) };
126  
127 declare 'RepeatedDataTableExportMetadata',
128 as ArrayRef[DataTableExportMetadata()];
129  
130 coerce 'RepeatedDataTableExportMetadata',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::DataTableExportMetadata'->new($_) } @$_ ] };
132  
133 declare 'MapStringDataTableExportMetadata',
134 as HashRef[DataTableExportMetadata()];
135  
136 declare 'ResultMetadata',
137 as InstanceOf['Google::Cloud::Chronicle::V1::Search::DataTableExportMetadata::ResultMetadata'];
138  
139 coerce 'ResultMetadata',
140 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::DataTableExportMetadata::ResultMetadata'->new($_) };
141  
142 declare 'RepeatedResultMetadata',
143 as ArrayRef[ResultMetadata()];
144  
145 coerce 'RepeatedResultMetadata',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::DataTableExportMetadata::ResultMetadata'->new($_) } @$_ ] };
147  
148 declare 'MapStringResultMetadata',
149 as HashRef[ResultMetadata()];
150  
151 declare 'TableMetadata',
152 as InstanceOf['Google::Cloud::Chronicle::V1::Search::TableMetadata'];
153  
154 coerce 'TableMetadata',
155 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::TableMetadata'->new($_) };
156  
157 declare 'RepeatedTableMetadata',
158 as ArrayRef[TableMetadata()];
159  
160 coerce 'RepeatedTableMetadata',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::TableMetadata'->new($_) } @$_ ] };
162  
163 declare 'MapStringTableMetadata',
164 as HashRef[TableMetadata()];
165  
166 declare 'DataSource',
167 as (Int | Str);
168  
169 declare 'ColumnSchema',
170 as InstanceOf['Google::Cloud::Chronicle::V1::Search::ColumnSchema'];
171  
172 coerce 'ColumnSchema',
173 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::ColumnSchema'->new($_) };
174  
175 declare 'RepeatedColumnSchema',
176 as ArrayRef[ColumnSchema()];
177  
178 coerce 'RepeatedColumnSchema',
179 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::ColumnSchema'->new($_) } @$_ ] };
180  
181 declare 'MapStringColumnSchema',
182 as HashRef[ColumnSchema()];
183  
184 declare 'ColumnNames',
185 as InstanceOf['Google::Cloud::Chronicle::V1::Search::ColumnNames'];
186  
187 coerce 'ColumnNames',
188 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::ColumnNames'->new($_) };
189  
190 declare 'RepeatedColumnNames',
191 as ArrayRef[ColumnNames()];
192  
193 coerce 'RepeatedColumnNames',
194 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::ColumnNames'->new($_) } @$_ ] };
195  
196 declare 'MapStringColumnNames',
197 as HashRef[ColumnNames()];
198  
199 declare 'ResultRow',
200 as InstanceOf['Google::Cloud::Chronicle::V1::Search::ResultRow'];
201  
202 coerce 'ResultRow',
203 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::ResultRow'->new($_) };
204  
205 declare 'RepeatedResultRow',
206 as ArrayRef[ResultRow()];
207  
208 coerce 'RepeatedResultRow',
209 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::ResultRow'->new($_) } @$_ ] };
210  
211 declare 'MapStringResultRow',
212 as HashRef[ResultRow()];
213  
214 declare 'StatsRecord',
215 as InstanceOf['Google::Cloud::Chronicle::V1::Search::StatsRecord'];
216  
217 coerce 'StatsRecord',
218 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::StatsRecord'->new($_) };
219  
220 declare 'RepeatedStatsRecord',
221 as ArrayRef[StatsRecord()];
222  
223 coerce 'RepeatedStatsRecord',
224 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::StatsRecord'->new($_) } @$_ ] };
225  
226 declare 'MapStringStatsRecord',
227 as HashRef[StatsRecord()];
228  
229 declare 'StatsColumnData',
230 as InstanceOf['Google::Cloud::Chronicle::V1::Search::StatsColumnData'];
231  
232 coerce 'StatsColumnData',
233 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::StatsColumnData'->new($_) };
234  
235 declare 'RepeatedStatsColumnData',
236 as ArrayRef[StatsColumnData()];
237  
238 coerce 'RepeatedStatsColumnData',
239 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::StatsColumnData'->new($_) } @$_ ] };
240  
241 declare 'MapStringStatsColumnData',
242 as HashRef[StatsColumnData()];
243  
244 declare 'ColumnType',
245 as InstanceOf['Google::Cloud::Chronicle::V1::Search::ColumnType'];
246  
247 coerce 'ColumnType',
248 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::ColumnType'->new($_) };
249  
250 declare 'RepeatedColumnType',
251 as ArrayRef[ColumnType()];
252  
253 coerce 'RepeatedColumnType',
254 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::ColumnType'->new($_) } @$_ ] };
255  
256 declare 'MapStringColumnType',
257 as HashRef[ColumnType()];
258  
259 declare 'ColumnValue',
260 as InstanceOf['Google::Cloud::Chronicle::V1::Search::ColumnType::ColumnValue'];
261  
262 coerce 'ColumnValue',
263 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::ColumnType::ColumnValue'->new($_) };
264  
265 declare 'RepeatedColumnValue',
266 as ArrayRef[ColumnValue()];
267  
268 coerce 'RepeatedColumnValue',
269 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::ColumnType::ColumnValue'->new($_) } @$_ ] };
270  
271 declare 'MapStringColumnValue',
272 as HashRef[ColumnValue()];
273  
274 declare 'ColumnValueList',
275 as InstanceOf['Google::Cloud::Chronicle::V1::Search::ColumnType::ColumnValueList'];
276  
277 coerce 'ColumnValueList',
278 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::ColumnType::ColumnValueList'->new($_) };
279  
280 declare 'RepeatedColumnValueList',
281 as ArrayRef[ColumnValueList()];
282  
283 coerce 'RepeatedColumnValueList',
284 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::ColumnType::ColumnValueList'->new($_) } @$_ ] };
285  
286 declare 'MapStringColumnValueList',
287 as HashRef[ColumnValueList()];
288  
289 declare 'SearchDataTableRowCell',
290 as InstanceOf['Google::Cloud::Chronicle::V1::Search::SearchDataTableRowCell'];
291  
292 coerce 'SearchDataTableRowCell',
293 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::SearchDataTableRowCell'->new($_) };
294  
295 declare 'RepeatedSearchDataTableRowCell',
296 as ArrayRef[SearchDataTableRowCell()];
297  
298 coerce 'RepeatedSearchDataTableRowCell',
299 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::SearchDataTableRowCell'->new($_) } @$_ ] };
300  
301 declare 'MapStringSearchDataTableRowCell',
302 as HashRef[SearchDataTableRowCell()];
303  
304 declare 'DataTableRecord',
305 as InstanceOf['Google::Cloud::Chronicle::V1::Search::DataTableRecord'];
306  
307 coerce 'DataTableRecord',
308 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::DataTableRecord'->new($_) };
309  
310 declare 'RepeatedDataTableRecord',
311 as ArrayRef[DataTableRecord()];
312  
313 coerce 'RepeatedDataTableRecord',
314 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::DataTableRecord'->new($_) } @$_ ] };
315  
316 declare 'MapStringDataTableRecord',
317 as HashRef[DataTableRecord()];
318  
319 declare 'EventRecord',
320 as InstanceOf['Google::Cloud::Chronicle::V1::Search::EventRecord'];
321  
322 coerce 'EventRecord',
323 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::EventRecord'->new($_) };
324  
325 declare 'RepeatedEventRecord',
326 as ArrayRef[EventRecord()];
327  
328 coerce 'RepeatedEventRecord',
329 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::EventRecord'->new($_) } @$_ ] };
330  
331 declare 'MapStringEventRecord',
332 as HashRef[EventRecord()];
333  
334 declare 'Annotation',
335 as (Int | Str);
336  
337 declare 'EntityContextRecord',
338 as InstanceOf['Google::Cloud::Chronicle::V1::Search::EntityContextRecord'];
339  
340 coerce 'EntityContextRecord',
341 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::EntityContextRecord'->new($_) };
342  
343 declare 'RepeatedEntityContextRecord',
344 as ArrayRef[EntityContextRecord()];
345  
346 coerce 'RepeatedEntityContextRecord',
347 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::EntityContextRecord'->new($_) } @$_ ] };
348  
349 declare 'MapStringEntityContextRecord',
350 as HashRef[EntityContextRecord()];
351  
352 declare 'JoinRecord',
353 as InstanceOf['Google::Cloud::Chronicle::V1::Search::JoinRecord'];
354  
355 coerce 'JoinRecord',
356 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::JoinRecord'->new($_) };
357  
358 declare 'RepeatedJoinRecord',
359 as ArrayRef[JoinRecord()];
360  
361 coerce 'RepeatedJoinRecord',
362 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::JoinRecord'->new($_) } @$_ ] };
363  
364 declare 'MapStringJoinRecord',
365 as HashRef[JoinRecord()];
366  
367 declare 'DetectionRecord',
368 as InstanceOf['Google::Cloud::Chronicle::V1::Search::DetectionRecord'];
369  
370 coerce 'DetectionRecord',
371 from HashRef, via { 'Google::Cloud::Chronicle::V1::Search::DetectionRecord'->new($_) };
372  
373 declare 'RepeatedDetectionRecord',
374 as ArrayRef[DetectionRecord()];
375  
376 coerce 'RepeatedDetectionRecord',
377 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Search::DetectionRecord'->new($_) } @$_ ] };
378  
379 declare 'MapStringDetectionRecord',
380 as HashRef[DetectionRecord()];
381  
382 1;
383  
384 __END__