V1/SessionService/Types.pm untested

filter: Statementstmt 0.0% 0 / 304 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 309 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::Ces::V1::SessionService::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 'AudioEncoding',
11 as (Int | Str);
12  
13 declare 'MockConfig',
14 as InstanceOf['Google::Cloud::Ces::V1::SessionService::MockConfig'];
15  
16 coerce 'MockConfig',
17 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::MockConfig'->new($_) };
18  
19 declare 'RepeatedMockConfig',
20 as ArrayRef[MockConfig()];
21  
22 coerce 'RepeatedMockConfig',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::MockConfig'->new($_) } @$_ ] };
24  
25 declare 'MapStringMockConfig',
26 as HashRef[MockConfig()];
27  
28 declare 'UnmatchedToolCallBehavior',
29 as (Int | Str);
30  
31 declare 'InputAudioConfig',
32 as InstanceOf['Google::Cloud::Ces::V1::SessionService::InputAudioConfig'];
33  
34 coerce 'InputAudioConfig',
35 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::InputAudioConfig'->new($_) };
36  
37 declare 'RepeatedInputAudioConfig',
38 as ArrayRef[InputAudioConfig()];
39  
40 coerce 'RepeatedInputAudioConfig',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::InputAudioConfig'->new($_) } @$_ ] };
42  
43 declare 'MapStringInputAudioConfig',
44 as HashRef[InputAudioConfig()];
45  
46 declare 'OutputAudioConfig',
47 as InstanceOf['Google::Cloud::Ces::V1::SessionService::OutputAudioConfig'];
48  
49 coerce 'OutputAudioConfig',
50 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::OutputAudioConfig'->new($_) };
51  
52 declare 'RepeatedOutputAudioConfig',
53 as ArrayRef[OutputAudioConfig()];
54  
55 coerce 'RepeatedOutputAudioConfig',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::OutputAudioConfig'->new($_) } @$_ ] };
57  
58 declare 'MapStringOutputAudioConfig',
59 as HashRef[OutputAudioConfig()];
60  
61 declare 'SessionConfig',
62 as InstanceOf['Google::Cloud::Ces::V1::SessionService::SessionConfig'];
63  
64 coerce 'SessionConfig',
65 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::SessionConfig'->new($_) };
66  
67 declare 'RepeatedSessionConfig',
68 as ArrayRef[SessionConfig()];
69  
70 coerce 'RepeatedSessionConfig',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::SessionConfig'->new($_) } @$_ ] };
72  
73 declare 'MapStringSessionConfig',
74 as HashRef[SessionConfig()];
75  
76 declare 'RemoteDialogflowQueryParameters',
77 as InstanceOf['Google::Cloud::Ces::V1::SessionService::SessionConfig::RemoteDialogflowQueryParameters'];
78  
79 coerce 'RemoteDialogflowQueryParameters',
80 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::SessionConfig::RemoteDialogflowQueryParameters'->new($_) };
81  
82 declare 'RepeatedRemoteDialogflowQueryParameters',
83 as ArrayRef[RemoteDialogflowQueryParameters()];
84  
85 coerce 'RepeatedRemoteDialogflowQueryParameters',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::SessionConfig::RemoteDialogflowQueryParameters'->new($_) } @$_ ] };
87  
88 declare 'MapStringRemoteDialogflowQueryParameters',
89 as HashRef[RemoteDialogflowQueryParameters()];
90  
91 declare 'WebhookHeadersEntry',
92 as InstanceOf['Google::Cloud::Ces::V1::SessionService::SessionConfig::RemoteDialogflowQueryParameters::WebhookHeadersEntry'];
93  
94 coerce 'WebhookHeadersEntry',
95 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::SessionConfig::RemoteDialogflowQueryParameters::WebhookHeadersEntry'->new($_) };
96  
97 declare 'RepeatedWebhookHeadersEntry',
98 as ArrayRef[WebhookHeadersEntry()];
99  
100 coerce 'RepeatedWebhookHeadersEntry',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::SessionConfig::RemoteDialogflowQueryParameters::WebhookHeadersEntry'->new($_) } @$_ ] };
102  
103 declare 'MapStringWebhookHeadersEntry',
104 as HashRef[WebhookHeadersEntry()];
105  
106 declare 'ToolCalls',
107 as InstanceOf['Google::Cloud::Ces::V1::SessionService::ToolCalls'];
108  
109 coerce 'ToolCalls',
110 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::ToolCalls'->new($_) };
111  
112 declare 'RepeatedToolCalls',
113 as ArrayRef[ToolCalls()];
114  
115 coerce 'RepeatedToolCalls',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::ToolCalls'->new($_) } @$_ ] };
117  
118 declare 'MapStringToolCalls',
119 as HashRef[ToolCalls()];
120  
121 declare 'ToolResponses',
122 as InstanceOf['Google::Cloud::Ces::V1::SessionService::ToolResponses'];
123  
124 coerce 'ToolResponses',
125 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::ToolResponses'->new($_) };
126  
127 declare 'RepeatedToolResponses',
128 as ArrayRef[ToolResponses()];
129  
130 coerce 'RepeatedToolResponses',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::ToolResponses'->new($_) } @$_ ] };
132  
133 declare 'MapStringToolResponses',
134 as HashRef[ToolResponses()];
135  
136 declare 'Citations',
137 as InstanceOf['Google::Cloud::Ces::V1::SessionService::Citations'];
138  
139 coerce 'Citations',
140 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::Citations'->new($_) };
141  
142 declare 'RepeatedCitations',
143 as ArrayRef[Citations()];
144  
145 coerce 'RepeatedCitations',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::Citations'->new($_) } @$_ ] };
147  
148 declare 'MapStringCitations',
149 as HashRef[Citations()];
150  
151 declare 'CitedChunk',
152 as InstanceOf['Google::Cloud::Ces::V1::SessionService::Citations::CitedChunk'];
153  
154 coerce 'CitedChunk',
155 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::Citations::CitedChunk'->new($_) };
156  
157 declare 'RepeatedCitedChunk',
158 as ArrayRef[CitedChunk()];
159  
160 coerce 'RepeatedCitedChunk',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::Citations::CitedChunk'->new($_) } @$_ ] };
162  
163 declare 'MapStringCitedChunk',
164 as HashRef[CitedChunk()];
165  
166 declare 'Event',
167 as InstanceOf['Google::Cloud::Ces::V1::SessionService::Event'];
168  
169 coerce 'Event',
170 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::Event'->new($_) };
171  
172 declare 'RepeatedEvent',
173 as ArrayRef[Event()];
174  
175 coerce 'RepeatedEvent',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::Event'->new($_) } @$_ ] };
177  
178 declare 'MapStringEvent',
179 as HashRef[Event()];
180  
181 declare 'SessionInput',
182 as InstanceOf['Google::Cloud::Ces::V1::SessionService::SessionInput'];
183  
184 coerce 'SessionInput',
185 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::SessionInput'->new($_) };
186  
187 declare 'RepeatedSessionInput',
188 as ArrayRef[SessionInput()];
189  
190 coerce 'RepeatedSessionInput',
191 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::SessionInput'->new($_) } @$_ ] };
192  
193 declare 'MapStringSessionInput',
194 as HashRef[SessionInput()];
195  
196 declare 'SessionOutput',
197 as InstanceOf['Google::Cloud::Ces::V1::SessionService::SessionOutput'];
198  
199 coerce 'SessionOutput',
200 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::SessionOutput'->new($_) };
201  
202 declare 'RepeatedSessionOutput',
203 as ArrayRef[SessionOutput()];
204  
205 coerce 'RepeatedSessionOutput',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::SessionOutput'->new($_) } @$_ ] };
207  
208 declare 'MapStringSessionOutput',
209 as HashRef[SessionOutput()];
210  
211 declare 'DiagnosticInfo',
212 as InstanceOf['Google::Cloud::Ces::V1::SessionService::SessionOutput::DiagnosticInfo'];
213  
214 coerce 'DiagnosticInfo',
215 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::SessionOutput::DiagnosticInfo'->new($_) };
216  
217 declare 'RepeatedDiagnosticInfo',
218 as ArrayRef[DiagnosticInfo()];
219  
220 coerce 'RepeatedDiagnosticInfo',
221 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::SessionOutput::DiagnosticInfo'->new($_) } @$_ ] };
222  
223 declare 'MapStringDiagnosticInfo',
224 as HashRef[DiagnosticInfo()];
225  
226 declare 'RecognitionResult',
227 as InstanceOf['Google::Cloud::Ces::V1::SessionService::RecognitionResult'];
228  
229 coerce 'RecognitionResult',
230 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::RecognitionResult'->new($_) };
231  
232 declare 'RepeatedRecognitionResult',
233 as ArrayRef[RecognitionResult()];
234  
235 coerce 'RepeatedRecognitionResult',
236 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::RecognitionResult'->new($_) } @$_ ] };
237  
238 declare 'MapStringRecognitionResult',
239 as HashRef[RecognitionResult()];
240  
241 declare 'InterruptionSignal',
242 as InstanceOf['Google::Cloud::Ces::V1::SessionService::InterruptionSignal'];
243  
244 coerce 'InterruptionSignal',
245 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::InterruptionSignal'->new($_) };
246  
247 declare 'RepeatedInterruptionSignal',
248 as ArrayRef[InterruptionSignal()];
249  
250 coerce 'RepeatedInterruptionSignal',
251 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::InterruptionSignal'->new($_) } @$_ ] };
252  
253 declare 'MapStringInterruptionSignal',
254 as HashRef[InterruptionSignal()];
255  
256 declare 'EndSession',
257 as InstanceOf['Google::Cloud::Ces::V1::SessionService::EndSession'];
258  
259 coerce 'EndSession',
260 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::EndSession'->new($_) };
261  
262 declare 'RepeatedEndSession',
263 as ArrayRef[EndSession()];
264  
265 coerce 'RepeatedEndSession',
266 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::EndSession'->new($_) } @$_ ] };
267  
268 declare 'MapStringEndSession',
269 as HashRef[EndSession()];
270  
271 declare 'GoAway',
272 as InstanceOf['Google::Cloud::Ces::V1::SessionService::GoAway'];
273  
274 coerce 'GoAway',
275 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::GoAway'->new($_) };
276  
277 declare 'RepeatedGoAway',
278 as ArrayRef[GoAway()];
279  
280 coerce 'RepeatedGoAway',
281 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::GoAway'->new($_) } @$_ ] };
282  
283 declare 'MapStringGoAway',
284 as HashRef[GoAway()];
285  
286 declare 'RunSessionRequest',
287 as InstanceOf['Google::Cloud::Ces::V1::SessionService::RunSessionRequest'];
288  
289 coerce 'RunSessionRequest',
290 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::RunSessionRequest'->new($_) };
291  
292 declare 'RepeatedRunSessionRequest',
293 as ArrayRef[RunSessionRequest()];
294  
295 coerce 'RepeatedRunSessionRequest',
296 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::RunSessionRequest'->new($_) } @$_ ] };
297  
298 declare 'MapStringRunSessionRequest',
299 as HashRef[RunSessionRequest()];
300  
301 declare 'RunSessionResponse',
302 as InstanceOf['Google::Cloud::Ces::V1::SessionService::RunSessionResponse'];
303  
304 coerce 'RunSessionResponse',
305 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::RunSessionResponse'->new($_) };
306  
307 declare 'RepeatedRunSessionResponse',
308 as ArrayRef[RunSessionResponse()];
309  
310 coerce 'RepeatedRunSessionResponse',
311 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::RunSessionResponse'->new($_) } @$_ ] };
312  
313 declare 'MapStringRunSessionResponse',
314 as HashRef[RunSessionResponse()];
315  
316 declare 'BidiSessionClientMessage',
317 as InstanceOf['Google::Cloud::Ces::V1::SessionService::BidiSessionClientMessage'];
318  
319 coerce 'BidiSessionClientMessage',
320 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::BidiSessionClientMessage'->new($_) };
321  
322 declare 'RepeatedBidiSessionClientMessage',
323 as ArrayRef[BidiSessionClientMessage()];
324  
325 coerce 'RepeatedBidiSessionClientMessage',
326 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::BidiSessionClientMessage'->new($_) } @$_ ] };
327  
328 declare 'MapStringBidiSessionClientMessage',
329 as HashRef[BidiSessionClientMessage()];
330  
331 declare 'BidiSessionServerMessage',
332 as InstanceOf['Google::Cloud::Ces::V1::SessionService::BidiSessionServerMessage'];
333  
334 coerce 'BidiSessionServerMessage',
335 from HashRef, via { 'Google::Cloud::Ces::V1::SessionService::BidiSessionServerMessage'->new($_) };
336  
337 declare 'RepeatedBidiSessionServerMessage',
338 as ArrayRef[BidiSessionServerMessage()];
339  
340 coerce 'RepeatedBidiSessionServerMessage',
341 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::SessionService::BidiSessionServerMessage'->new($_) } @$_ ] };
342  
343 declare 'MapStringBidiSessionServerMessage',
344 as HashRef[BidiSessionServerMessage()];
345  
346 1;
347  
348 __END__