V2/Conversation/Types.pm untested

filter: Statementstmt 0.0% 0 / 649 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 654 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::Dialogflow::V2::Conversation::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 'Conversation',
11 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::Conversation'];
12  
13 coerce 'Conversation',
14 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation'->new($_) };
15  
16 declare 'RepeatedConversation',
17 as ArrayRef[Conversation()];
18  
19 coerce 'RepeatedConversation',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation'->new($_) } @$_ ] };
21  
22 declare 'MapStringConversation',
23 as HashRef[Conversation()];
24  
25 declare 'LifecycleState',
26 as (Int | Str);
27  
28 declare 'ConversationStage',
29 as (Int | Str);
30  
31 declare 'TelephonyConnectionInfo',
32 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::Conversation::TelephonyConnectionInfo'];
33  
34 coerce 'TelephonyConnectionInfo',
35 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::TelephonyConnectionInfo'->new($_) };
36  
37 declare 'RepeatedTelephonyConnectionInfo',
38 as ArrayRef[TelephonyConnectionInfo()];
39  
40 coerce 'RepeatedTelephonyConnectionInfo',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::TelephonyConnectionInfo'->new($_) } @$_ ] };
42  
43 declare 'MapStringTelephonyConnectionInfo',
44 as HashRef[TelephonyConnectionInfo()];
45  
46 declare 'SipHeader',
47 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::Conversation::TelephonyConnectionInfo::SipHeader'];
48  
49 coerce 'SipHeader',
50 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::TelephonyConnectionInfo::SipHeader'->new($_) };
51  
52 declare 'RepeatedSipHeader',
53 as ArrayRef[SipHeader()];
54  
55 coerce 'RepeatedSipHeader',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::TelephonyConnectionInfo::SipHeader'->new($_) } @$_ ] };
57  
58 declare 'MapStringSipHeader',
59 as HashRef[SipHeader()];
60  
61 declare 'MimeContent',
62 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::Conversation::TelephonyConnectionInfo::MimeContent'];
63  
64 coerce 'MimeContent',
65 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::TelephonyConnectionInfo::MimeContent'->new($_) };
66  
67 declare 'RepeatedMimeContent',
68 as ArrayRef[MimeContent()];
69  
70 coerce 'RepeatedMimeContent',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::TelephonyConnectionInfo::MimeContent'->new($_) } @$_ ] };
72  
73 declare 'MapStringMimeContent',
74 as HashRef[MimeContent()];
75  
76 declare 'ContextReference',
77 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::Conversation::ContextReference'];
78  
79 coerce 'ContextReference',
80 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::ContextReference'->new($_) };
81  
82 declare 'RepeatedContextReference',
83 as ArrayRef[ContextReference()];
84  
85 coerce 'RepeatedContextReference',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::ContextReference'->new($_) } @$_ ] };
87  
88 declare 'MapStringContextReference',
89 as HashRef[ContextReference()];
90  
91 declare 'UpdateMode',
92 as (Int | Str);
93  
94 declare 'ContextContent',
95 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::Conversation::ContextReference::ContextContent'];
96  
97 coerce 'ContextContent',
98 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::ContextReference::ContextContent'->new($_) };
99  
100 declare 'RepeatedContextContent',
101 as ArrayRef[ContextContent()];
102  
103 coerce 'RepeatedContextContent',
104 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::ContextReference::ContextContent'->new($_) } @$_ ] };
105  
106 declare 'MapStringContextContent',
107 as HashRef[ContextContent()];
108  
109 declare 'ContentFormat',
110 as (Int | Str);
111  
112 declare 'GeneratorContext',
113 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::Conversation::GeneratorContext'];
114  
115 coerce 'GeneratorContext',
116 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::GeneratorContext'->new($_) };
117  
118 declare 'RepeatedGeneratorContext',
119 as ArrayRef[GeneratorContext()];
120  
121 coerce 'RepeatedGeneratorContext',
122 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::GeneratorContext'->new($_) } @$_ ] };
123  
124 declare 'MapStringGeneratorContext',
125 as HashRef[GeneratorContext()];
126  
127 declare 'GeneratorType',
128 as (Int | Str);
129  
130 declare 'IngestedContextReferencesEntry',
131 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::Conversation::IngestedContextReferencesEntry'];
132  
133 coerce 'IngestedContextReferencesEntry',
134 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::IngestedContextReferencesEntry'->new($_) };
135  
136 declare 'RepeatedIngestedContextReferencesEntry',
137 as ArrayRef[IngestedContextReferencesEntry()];
138  
139 coerce 'RepeatedIngestedContextReferencesEntry',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::IngestedContextReferencesEntry'->new($_) } @$_ ] };
141  
142 declare 'MapStringIngestedContextReferencesEntry',
143 as HashRef[IngestedContextReferencesEntry()];
144  
145 declare 'InitialGeneratorContextsEntry',
146 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::Conversation::InitialGeneratorContextsEntry'];
147  
148 coerce 'InitialGeneratorContextsEntry',
149 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::InitialGeneratorContextsEntry'->new($_) };
150  
151 declare 'RepeatedInitialGeneratorContextsEntry',
152 as ArrayRef[InitialGeneratorContextsEntry()];
153  
154 coerce 'RepeatedInitialGeneratorContextsEntry',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::Conversation::InitialGeneratorContextsEntry'->new($_) } @$_ ] };
156  
157 declare 'MapStringInitialGeneratorContextsEntry',
158 as HashRef[InitialGeneratorContextsEntry()];
159  
160 declare 'CreateConversationRequest',
161 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::CreateConversationRequest'];
162  
163 coerce 'CreateConversationRequest',
164 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::CreateConversationRequest'->new($_) };
165  
166 declare 'RepeatedCreateConversationRequest',
167 as ArrayRef[CreateConversationRequest()];
168  
169 coerce 'RepeatedCreateConversationRequest',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::CreateConversationRequest'->new($_) } @$_ ] };
171  
172 declare 'MapStringCreateConversationRequest',
173 as HashRef[CreateConversationRequest()];
174  
175 declare 'ListConversationsRequest',
176 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::ListConversationsRequest'];
177  
178 coerce 'ListConversationsRequest',
179 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::ListConversationsRequest'->new($_) };
180  
181 declare 'RepeatedListConversationsRequest',
182 as ArrayRef[ListConversationsRequest()];
183  
184 coerce 'RepeatedListConversationsRequest',
185 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::ListConversationsRequest'->new($_) } @$_ ] };
186  
187 declare 'MapStringListConversationsRequest',
188 as HashRef[ListConversationsRequest()];
189  
190 declare 'ListConversationsResponse',
191 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::ListConversationsResponse'];
192  
193 coerce 'ListConversationsResponse',
194 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::ListConversationsResponse'->new($_) };
195  
196 declare 'RepeatedListConversationsResponse',
197 as ArrayRef[ListConversationsResponse()];
198  
199 coerce 'RepeatedListConversationsResponse',
200 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::ListConversationsResponse'->new($_) } @$_ ] };
201  
202 declare 'MapStringListConversationsResponse',
203 as HashRef[ListConversationsResponse()];
204  
205 declare 'GetConversationRequest',
206 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::GetConversationRequest'];
207  
208 coerce 'GetConversationRequest',
209 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::GetConversationRequest'->new($_) };
210  
211 declare 'RepeatedGetConversationRequest',
212 as ArrayRef[GetConversationRequest()];
213  
214 coerce 'RepeatedGetConversationRequest',
215 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::GetConversationRequest'->new($_) } @$_ ] };
216  
217 declare 'MapStringGetConversationRequest',
218 as HashRef[GetConversationRequest()];
219  
220 declare 'CompleteConversationRequest',
221 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::CompleteConversationRequest'];
222  
223 coerce 'CompleteConversationRequest',
224 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::CompleteConversationRequest'->new($_) };
225  
226 declare 'RepeatedCompleteConversationRequest',
227 as ArrayRef[CompleteConversationRequest()];
228  
229 coerce 'RepeatedCompleteConversationRequest',
230 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::CompleteConversationRequest'->new($_) } @$_ ] };
231  
232 declare 'MapStringCompleteConversationRequest',
233 as HashRef[CompleteConversationRequest()];
234  
235 declare 'ListMessagesRequest',
236 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::ListMessagesRequest'];
237  
238 coerce 'ListMessagesRequest',
239 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::ListMessagesRequest'->new($_) };
240  
241 declare 'RepeatedListMessagesRequest',
242 as ArrayRef[ListMessagesRequest()];
243  
244 coerce 'RepeatedListMessagesRequest',
245 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::ListMessagesRequest'->new($_) } @$_ ] };
246  
247 declare 'MapStringListMessagesRequest',
248 as HashRef[ListMessagesRequest()];
249  
250 declare 'ListMessagesResponse',
251 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::ListMessagesResponse'];
252  
253 coerce 'ListMessagesResponse',
254 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::ListMessagesResponse'->new($_) };
255  
256 declare 'RepeatedListMessagesResponse',
257 as ArrayRef[ListMessagesResponse()];
258  
259 coerce 'RepeatedListMessagesResponse',
260 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::ListMessagesResponse'->new($_) } @$_ ] };
261  
262 declare 'MapStringListMessagesResponse',
263 as HashRef[ListMessagesResponse()];
264  
265 declare 'ConversationPhoneNumber',
266 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::ConversationPhoneNumber'];
267  
268 coerce 'ConversationPhoneNumber',
269 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::ConversationPhoneNumber'->new($_) };
270  
271 declare 'RepeatedConversationPhoneNumber',
272 as ArrayRef[ConversationPhoneNumber()];
273  
274 coerce 'RepeatedConversationPhoneNumber',
275 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::ConversationPhoneNumber'->new($_) } @$_ ] };
276  
277 declare 'MapStringConversationPhoneNumber',
278 as HashRef[ConversationPhoneNumber()];
279  
280 declare 'IngestContextReferencesRequest',
281 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::IngestContextReferencesRequest'];
282  
283 coerce 'IngestContextReferencesRequest',
284 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::IngestContextReferencesRequest'->new($_) };
285  
286 declare 'RepeatedIngestContextReferencesRequest',
287 as ArrayRef[IngestContextReferencesRequest()];
288  
289 coerce 'RepeatedIngestContextReferencesRequest',
290 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::IngestContextReferencesRequest'->new($_) } @$_ ] };
291  
292 declare 'MapStringIngestContextReferencesRequest',
293 as HashRef[IngestContextReferencesRequest()];
294  
295 declare 'ContextReferencesEntry',
296 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::IngestContextReferencesRequest::ContextReferencesEntry'];
297  
298 coerce 'ContextReferencesEntry',
299 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::IngestContextReferencesRequest::ContextReferencesEntry'->new($_) };
300  
301 declare 'RepeatedContextReferencesEntry',
302 as ArrayRef[ContextReferencesEntry()];
303  
304 coerce 'RepeatedContextReferencesEntry',
305 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::IngestContextReferencesRequest::ContextReferencesEntry'->new($_) } @$_ ] };
306  
307 declare 'MapStringContextReferencesEntry',
308 as HashRef[ContextReferencesEntry()];
309  
310 declare 'IngestContextReferencesResponse',
311 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::IngestContextReferencesResponse'];
312  
313 coerce 'IngestContextReferencesResponse',
314 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::IngestContextReferencesResponse'->new($_) };
315  
316 declare 'RepeatedIngestContextReferencesResponse',
317 as ArrayRef[IngestContextReferencesResponse()];
318  
319 coerce 'RepeatedIngestContextReferencesResponse',
320 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::IngestContextReferencesResponse'->new($_) } @$_ ] };
321  
322 declare 'MapStringIngestContextReferencesResponse',
323 as HashRef[IngestContextReferencesResponse()];
324  
325 declare 'IngestedContextReferencesEntry',
326 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::IngestContextReferencesResponse::IngestedContextReferencesEntry'];
327  
328 coerce 'IngestedContextReferencesEntry',
329 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::IngestContextReferencesResponse::IngestedContextReferencesEntry'->new($_) };
330  
331 declare 'RepeatedIngestedContextReferencesEntry',
332 as ArrayRef[IngestedContextReferencesEntry()];
333  
334 coerce 'RepeatedIngestedContextReferencesEntry',
335 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::IngestContextReferencesResponse::IngestedContextReferencesEntry'->new($_) } @$_ ] };
336  
337 declare 'MapStringIngestedContextReferencesEntry',
338 as HashRef[IngestedContextReferencesEntry()];
339  
340 declare 'SuggestConversationSummaryRequest',
341 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryRequest'];
342  
343 coerce 'SuggestConversationSummaryRequest',
344 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryRequest'->new($_) };
345  
346 declare 'RepeatedSuggestConversationSummaryRequest',
347 as ArrayRef[SuggestConversationSummaryRequest()];
348  
349 coerce 'RepeatedSuggestConversationSummaryRequest',
350 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryRequest'->new($_) } @$_ ] };
351  
352 declare 'MapStringSuggestConversationSummaryRequest',
353 as HashRef[SuggestConversationSummaryRequest()];
354  
355 declare 'SuggestConversationSummaryResponse',
356 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryResponse'];
357  
358 coerce 'SuggestConversationSummaryResponse',
359 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryResponse'->new($_) };
360  
361 declare 'RepeatedSuggestConversationSummaryResponse',
362 as ArrayRef[SuggestConversationSummaryResponse()];
363  
364 coerce 'RepeatedSuggestConversationSummaryResponse',
365 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryResponse'->new($_) } @$_ ] };
366  
367 declare 'MapStringSuggestConversationSummaryResponse',
368 as HashRef[SuggestConversationSummaryResponse()];
369  
370 declare 'Summary',
371 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryResponse::Summary'];
372  
373 coerce 'Summary',
374 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryResponse::Summary'->new($_) };
375  
376 declare 'RepeatedSummary',
377 as ArrayRef[Summary()];
378  
379 coerce 'RepeatedSummary',
380 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryResponse::Summary'->new($_) } @$_ ] };
381  
382 declare 'MapStringSummary',
383 as HashRef[Summary()];
384  
385 declare 'SummarySection',
386 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryResponse::Summary::SummarySection'];
387  
388 coerce 'SummarySection',
389 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryResponse::Summary::SummarySection'->new($_) };
390  
391 declare 'RepeatedSummarySection',
392 as ArrayRef[SummarySection()];
393  
394 coerce 'RepeatedSummarySection',
395 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryResponse::Summary::SummarySection'->new($_) } @$_ ] };
396  
397 declare 'MapStringSummarySection',
398 as HashRef[SummarySection()];
399  
400 declare 'TextSectionsEntry',
401 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryResponse::Summary::TextSectionsEntry'];
402  
403 coerce 'TextSectionsEntry',
404 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryResponse::Summary::TextSectionsEntry'->new($_) };
405  
406 declare 'RepeatedTextSectionsEntry',
407 as ArrayRef[TextSectionsEntry()];
408  
409 coerce 'RepeatedTextSectionsEntry',
410 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SuggestConversationSummaryResponse::Summary::TextSectionsEntry'->new($_) } @$_ ] };
411  
412 declare 'MapStringTextSectionsEntry',
413 as HashRef[TextSectionsEntry()];
414  
415 declare 'GenerateStatelessSummaryRequest',
416 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryRequest'];
417  
418 coerce 'GenerateStatelessSummaryRequest',
419 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryRequest'->new($_) };
420  
421 declare 'RepeatedGenerateStatelessSummaryRequest',
422 as ArrayRef[GenerateStatelessSummaryRequest()];
423  
424 coerce 'RepeatedGenerateStatelessSummaryRequest',
425 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryRequest'->new($_) } @$_ ] };
426  
427 declare 'MapStringGenerateStatelessSummaryRequest',
428 as HashRef[GenerateStatelessSummaryRequest()];
429  
430 declare 'MinimalConversation',
431 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryRequest::MinimalConversation'];
432  
433 coerce 'MinimalConversation',
434 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryRequest::MinimalConversation'->new($_) };
435  
436 declare 'RepeatedMinimalConversation',
437 as ArrayRef[MinimalConversation()];
438  
439 coerce 'RepeatedMinimalConversation',
440 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryRequest::MinimalConversation'->new($_) } @$_ ] };
441  
442 declare 'MapStringMinimalConversation',
443 as HashRef[MinimalConversation()];
444  
445 declare 'GenerateStatelessSummaryResponse',
446 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryResponse'];
447  
448 coerce 'GenerateStatelessSummaryResponse',
449 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryResponse'->new($_) };
450  
451 declare 'RepeatedGenerateStatelessSummaryResponse',
452 as ArrayRef[GenerateStatelessSummaryResponse()];
453  
454 coerce 'RepeatedGenerateStatelessSummaryResponse',
455 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryResponse'->new($_) } @$_ ] };
456  
457 declare 'MapStringGenerateStatelessSummaryResponse',
458 as HashRef[GenerateStatelessSummaryResponse()];
459  
460 declare 'Summary',
461 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryResponse::Summary'];
462  
463 coerce 'Summary',
464 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryResponse::Summary'->new($_) };
465  
466 declare 'RepeatedSummary',
467 as ArrayRef[Summary()];
468  
469 coerce 'RepeatedSummary',
470 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryResponse::Summary'->new($_) } @$_ ] };
471  
472 declare 'MapStringSummary',
473 as HashRef[Summary()];
474  
475 declare 'TextSectionsEntry',
476 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryResponse::Summary::TextSectionsEntry'];
477  
478 coerce 'TextSectionsEntry',
479 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryResponse::Summary::TextSectionsEntry'->new($_) };
480  
481 declare 'RepeatedTextSectionsEntry',
482 as ArrayRef[TextSectionsEntry()];
483  
484 coerce 'RepeatedTextSectionsEntry',
485 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSummaryResponse::Summary::TextSectionsEntry'->new($_) } @$_ ] };
486  
487 declare 'MapStringTextSectionsEntry',
488 as HashRef[TextSectionsEntry()];
489  
490 declare 'GenerateStatelessSuggestionRequest',
491 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSuggestionRequest'];
492  
493 coerce 'GenerateStatelessSuggestionRequest',
494 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSuggestionRequest'->new($_) };
495  
496 declare 'RepeatedGenerateStatelessSuggestionRequest',
497 as ArrayRef[GenerateStatelessSuggestionRequest()];
498  
499 coerce 'RepeatedGenerateStatelessSuggestionRequest',
500 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSuggestionRequest'->new($_) } @$_ ] };
501  
502 declare 'MapStringGenerateStatelessSuggestionRequest',
503 as HashRef[GenerateStatelessSuggestionRequest()];
504  
505 declare 'ContextReferencesEntry',
506 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSuggestionRequest::ContextReferencesEntry'];
507  
508 coerce 'ContextReferencesEntry',
509 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSuggestionRequest::ContextReferencesEntry'->new($_) };
510  
511 declare 'RepeatedContextReferencesEntry',
512 as ArrayRef[ContextReferencesEntry()];
513  
514 coerce 'RepeatedContextReferencesEntry',
515 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSuggestionRequest::ContextReferencesEntry'->new($_) } @$_ ] };
516  
517 declare 'MapStringContextReferencesEntry',
518 as HashRef[ContextReferencesEntry()];
519  
520 declare 'GenerateStatelessSuggestionResponse',
521 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSuggestionResponse'];
522  
523 coerce 'GenerateStatelessSuggestionResponse',
524 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSuggestionResponse'->new($_) };
525  
526 declare 'RepeatedGenerateStatelessSuggestionResponse',
527 as ArrayRef[GenerateStatelessSuggestionResponse()];
528  
529 coerce 'RepeatedGenerateStatelessSuggestionResponse',
530 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateStatelessSuggestionResponse'->new($_) } @$_ ] };
531  
532 declare 'MapStringGenerateStatelessSuggestionResponse',
533 as HashRef[GenerateStatelessSuggestionResponse()];
534  
535 declare 'SearchKnowledgeRequest',
536 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest'];
537  
538 coerce 'SearchKnowledgeRequest',
539 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest'->new($_) };
540  
541 declare 'RepeatedSearchKnowledgeRequest',
542 as ArrayRef[SearchKnowledgeRequest()];
543  
544 coerce 'RepeatedSearchKnowledgeRequest',
545 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest'->new($_) } @$_ ] };
546  
547 declare 'MapStringSearchKnowledgeRequest',
548 as HashRef[SearchKnowledgeRequest()];
549  
550 declare 'QuerySource',
551 as (Int | Str);
552  
553 declare 'SearchConfig',
554 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig'];
555  
556 coerce 'SearchConfig',
557 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig'->new($_) };
558  
559 declare 'RepeatedSearchConfig',
560 as ArrayRef[SearchConfig()];
561  
562 coerce 'RepeatedSearchConfig',
563 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig'->new($_) } @$_ ] };
564  
565 declare 'MapStringSearchConfig',
566 as HashRef[SearchConfig()];
567  
568 declare 'BoostSpecs',
569 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs'];
570  
571 coerce 'BoostSpecs',
572 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs'->new($_) };
573  
574 declare 'RepeatedBoostSpecs',
575 as ArrayRef[BoostSpecs()];
576  
577 coerce 'RepeatedBoostSpecs',
578 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs'->new($_) } @$_ ] };
579  
580 declare 'MapStringBoostSpecs',
581 as HashRef[BoostSpecs()];
582  
583 declare 'BoostSpec',
584 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec'];
585  
586 coerce 'BoostSpec',
587 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec'->new($_) };
588  
589 declare 'RepeatedBoostSpec',
590 as ArrayRef[BoostSpec()];
591  
592 coerce 'RepeatedBoostSpec',
593 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec'->new($_) } @$_ ] };
594  
595 declare 'MapStringBoostSpec',
596 as HashRef[BoostSpec()];
597  
598 declare 'ConditionBoostSpec',
599 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec'];
600  
601 coerce 'ConditionBoostSpec',
602 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec'->new($_) };
603  
604 declare 'RepeatedConditionBoostSpec',
605 as ArrayRef[ConditionBoostSpec()];
606  
607 coerce 'RepeatedConditionBoostSpec',
608 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec'->new($_) } @$_ ] };
609  
610 declare 'MapStringConditionBoostSpec',
611 as HashRef[ConditionBoostSpec()];
612  
613 declare 'BoostControlSpec',
614 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec'];
615  
616 coerce 'BoostControlSpec',
617 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec'->new($_) };
618  
619 declare 'RepeatedBoostControlSpec',
620 as ArrayRef[BoostControlSpec()];
621  
622 coerce 'RepeatedBoostControlSpec',
623 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec'->new($_) } @$_ ] };
624  
625 declare 'MapStringBoostControlSpec',
626 as HashRef[BoostControlSpec()];
627  
628 declare 'AttributeType',
629 as (Int | Str);
630  
631 declare 'InterpolationType',
632 as (Int | Str);
633  
634 declare 'ControlPoint',
635 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint'];
636  
637 coerce 'ControlPoint',
638 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint'->new($_) };
639  
640 declare 'RepeatedControlPoint',
641 as ArrayRef[ControlPoint()];
642  
643 coerce 'RepeatedControlPoint',
644 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint'->new($_) } @$_ ] };
645  
646 declare 'MapStringControlPoint',
647 as HashRef[ControlPoint()];
648  
649 declare 'FilterSpecs',
650 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::FilterSpecs'];
651  
652 coerce 'FilterSpecs',
653 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::FilterSpecs'->new($_) };
654  
655 declare 'RepeatedFilterSpecs',
656 as ArrayRef[FilterSpecs()];
657  
658 coerce 'RepeatedFilterSpecs',
659 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeRequest::SearchConfig::FilterSpecs'->new($_) } @$_ ] };
660  
661 declare 'MapStringFilterSpecs',
662 as HashRef[FilterSpecs()];
663  
664 declare 'SearchKnowledgeDebugInfo',
665 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeDebugInfo'];
666  
667 coerce 'SearchKnowledgeDebugInfo',
668 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeDebugInfo'->new($_) };
669  
670 declare 'RepeatedSearchKnowledgeDebugInfo',
671 as ArrayRef[SearchKnowledgeDebugInfo()];
672  
673 coerce 'RepeatedSearchKnowledgeDebugInfo',
674 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeDebugInfo'->new($_) } @$_ ] };
675  
676 declare 'MapStringSearchKnowledgeDebugInfo',
677 as HashRef[SearchKnowledgeDebugInfo()];
678  
679 declare 'SearchKnowledgeBehavior',
680 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeDebugInfo::SearchKnowledgeBehavior'];
681  
682 coerce 'SearchKnowledgeBehavior',
683 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeDebugInfo::SearchKnowledgeBehavior'->new($_) };
684  
685 declare 'RepeatedSearchKnowledgeBehavior',
686 as ArrayRef[SearchKnowledgeBehavior()];
687  
688 coerce 'RepeatedSearchKnowledgeBehavior',
689 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeDebugInfo::SearchKnowledgeBehavior'->new($_) } @$_ ] };
690  
691 declare 'MapStringSearchKnowledgeBehavior',
692 as HashRef[SearchKnowledgeBehavior()];
693  
694 declare 'SearchKnowledgeResponse',
695 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeResponse'];
696  
697 coerce 'SearchKnowledgeResponse',
698 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeResponse'->new($_) };
699  
700 declare 'RepeatedSearchKnowledgeResponse',
701 as ArrayRef[SearchKnowledgeResponse()];
702  
703 coerce 'RepeatedSearchKnowledgeResponse',
704 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeResponse'->new($_) } @$_ ] };
705  
706 declare 'MapStringSearchKnowledgeResponse',
707 as HashRef[SearchKnowledgeResponse()];
708  
709 declare 'SearchKnowledgeAnswer',
710 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeAnswer'];
711  
712 coerce 'SearchKnowledgeAnswer',
713 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeAnswer'->new($_) };
714  
715 declare 'RepeatedSearchKnowledgeAnswer',
716 as ArrayRef[SearchKnowledgeAnswer()];
717  
718 coerce 'RepeatedSearchKnowledgeAnswer',
719 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeAnswer'->new($_) } @$_ ] };
720  
721 declare 'MapStringSearchKnowledgeAnswer',
722 as HashRef[SearchKnowledgeAnswer()];
723  
724 declare 'AnswerType',
725 as (Int | Str);
726  
727 declare 'AnswerSource',
728 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeAnswer::AnswerSource'];
729  
730 coerce 'AnswerSource',
731 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeAnswer::AnswerSource'->new($_) };
732  
733 declare 'RepeatedAnswerSource',
734 as ArrayRef[AnswerSource()];
735  
736 coerce 'RepeatedAnswerSource',
737 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::SearchKnowledgeAnswer::AnswerSource'->new($_) } @$_ ] };
738  
739 declare 'MapStringAnswerSource',
740 as HashRef[AnswerSource()];
741  
742 declare 'GenerateSuggestionsRequest',
743 as InstanceOf['Google::Cloud::Dialogflow::V2::Conversation::GenerateSuggestionsRequest'];
744  
745 coerce 'GenerateSuggestionsRequest',
746 from HashRef, via { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateSuggestionsRequest'->new($_) };
747  
748 declare 'RepeatedGenerateSuggestionsRequest',
749 as ArrayRef[GenerateSuggestionsRequest()];
750  
751 coerce 'RepeatedGenerateSuggestionsRequest',
752 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2::Conversation::GenerateSuggestionsRequest'->new($_) } @$_ ] };
753  
754 declare 'MapStringGenerateSuggestionsRequest',
755 as HashRef[GenerateSuggestionsRequest()];
756  
757 1;
758  
759 __END__