V1beta/Common/Types.pm untested

filter: Statementstmt 0.0% 0 / 283 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 288 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::V1beta::Common::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 'ExecutionType',
11 as (Int | Str);
12  
13 declare 'Callback',
14 as InstanceOf['Google::Cloud::Ces::V1beta::Common::Callback'];
15  
16 coerce 'Callback',
17 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::Callback'->new($_) };
18  
19 declare 'RepeatedCallback',
20 as ArrayRef[Callback()];
21  
22 coerce 'RepeatedCallback',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::Callback'->new($_) } @$_ ] };
24  
25 declare 'MapStringCallback',
26 as HashRef[Callback()];
27  
28 declare 'ModelSettings',
29 as InstanceOf['Google::Cloud::Ces::V1beta::Common::ModelSettings'];
30  
31 coerce 'ModelSettings',
32 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::ModelSettings'->new($_) };
33  
34 declare 'RepeatedModelSettings',
35 as ArrayRef[ModelSettings()];
36  
37 coerce 'RepeatedModelSettings',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::ModelSettings'->new($_) } @$_ ] };
39  
40 declare 'MapStringModelSettings',
41 as HashRef[ModelSettings()];
42  
43 declare 'ThinkingLevel',
44 as (Int | Str);
45  
46 declare 'TriggerAction',
47 as InstanceOf['Google::Cloud::Ces::V1beta::Common::TriggerAction'];
48  
49 coerce 'TriggerAction',
50 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::TriggerAction'->new($_) };
51  
52 declare 'RepeatedTriggerAction',
53 as ArrayRef[TriggerAction()];
54  
55 coerce 'RepeatedTriggerAction',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::TriggerAction'->new($_) } @$_ ] };
57  
58 declare 'MapStringTriggerAction',
59 as HashRef[TriggerAction()];
60  
61 declare 'Response',
62 as InstanceOf['Google::Cloud::Ces::V1beta::Common::TriggerAction::Response'];
63  
64 coerce 'Response',
65 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::TriggerAction::Response'->new($_) };
66  
67 declare 'RepeatedResponse',
68 as ArrayRef[Response()];
69  
70 coerce 'RepeatedResponse',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::TriggerAction::Response'->new($_) } @$_ ] };
72  
73 declare 'MapStringResponse',
74 as HashRef[Response()];
75  
76 declare 'RespondImmediately',
77 as InstanceOf['Google::Cloud::Ces::V1beta::Common::TriggerAction::RespondImmediately'];
78  
79 coerce 'RespondImmediately',
80 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::TriggerAction::RespondImmediately'->new($_) };
81  
82 declare 'RepeatedRespondImmediately',
83 as ArrayRef[RespondImmediately()];
84  
85 coerce 'RepeatedRespondImmediately',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::TriggerAction::RespondImmediately'->new($_) } @$_ ] };
87  
88 declare 'MapStringRespondImmediately',
89 as HashRef[RespondImmediately()];
90  
91 declare 'GenerativeAnswer',
92 as InstanceOf['Google::Cloud::Ces::V1beta::Common::TriggerAction::GenerativeAnswer'];
93  
94 coerce 'GenerativeAnswer',
95 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::TriggerAction::GenerativeAnswer'->new($_) };
96  
97 declare 'RepeatedGenerativeAnswer',
98 as ArrayRef[GenerativeAnswer()];
99  
100 coerce 'RepeatedGenerativeAnswer',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::TriggerAction::GenerativeAnswer'->new($_) } @$_ ] };
102  
103 declare 'MapStringGenerativeAnswer',
104 as HashRef[GenerativeAnswer()];
105  
106 declare 'TransferAgent',
107 as InstanceOf['Google::Cloud::Ces::V1beta::Common::TriggerAction::TransferAgent'];
108  
109 coerce 'TransferAgent',
110 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::TriggerAction::TransferAgent'->new($_) };
111  
112 declare 'RepeatedTransferAgent',
113 as ArrayRef[TransferAgent()];
114  
115 coerce 'RepeatedTransferAgent',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::TriggerAction::TransferAgent'->new($_) } @$_ ] };
117  
118 declare 'MapStringTransferAgent',
119 as HashRef[TransferAgent()];
120  
121 declare 'TlsConfig',
122 as InstanceOf['Google::Cloud::Ces::V1beta::Common::TlsConfig'];
123  
124 coerce 'TlsConfig',
125 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::TlsConfig'->new($_) };
126  
127 declare 'RepeatedTlsConfig',
128 as ArrayRef[TlsConfig()];
129  
130 coerce 'RepeatedTlsConfig',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::TlsConfig'->new($_) } @$_ ] };
132  
133 declare 'MapStringTlsConfig',
134 as HashRef[TlsConfig()];
135  
136 declare 'CaCert',
137 as InstanceOf['Google::Cloud::Ces::V1beta::Common::TlsConfig::CaCert'];
138  
139 coerce 'CaCert',
140 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::TlsConfig::CaCert'->new($_) };
141  
142 declare 'RepeatedCaCert',
143 as ArrayRef[CaCert()];
144  
145 coerce 'RepeatedCaCert',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::TlsConfig::CaCert'->new($_) } @$_ ] };
147  
148 declare 'MapStringCaCert',
149 as HashRef[CaCert()];
150  
151 declare 'ServiceDirectoryConfig',
152 as InstanceOf['Google::Cloud::Ces::V1beta::Common::ServiceDirectoryConfig'];
153  
154 coerce 'ServiceDirectoryConfig',
155 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::ServiceDirectoryConfig'->new($_) };
156  
157 declare 'RepeatedServiceDirectoryConfig',
158 as ArrayRef[ServiceDirectoryConfig()];
159  
160 coerce 'RepeatedServiceDirectoryConfig',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::ServiceDirectoryConfig'->new($_) } @$_ ] };
162  
163 declare 'MapStringServiceDirectoryConfig',
164 as HashRef[ServiceDirectoryConfig()];
165  
166 declare 'ChannelProfile',
167 as InstanceOf['Google::Cloud::Ces::V1beta::Common::ChannelProfile'];
168  
169 coerce 'ChannelProfile',
170 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::ChannelProfile'->new($_) };
171  
172 declare 'RepeatedChannelProfile',
173 as ArrayRef[ChannelProfile()];
174  
175 coerce 'RepeatedChannelProfile',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::ChannelProfile'->new($_) } @$_ ] };
177  
178 declare 'MapStringChannelProfile',
179 as HashRef[ChannelProfile()];
180  
181 declare 'ChannelType',
182 as (Int | Str);
183  
184 declare 'PersonaProperty',
185 as InstanceOf['Google::Cloud::Ces::V1beta::Common::ChannelProfile::PersonaProperty'];
186  
187 coerce 'PersonaProperty',
188 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::ChannelProfile::PersonaProperty'->new($_) };
189  
190 declare 'RepeatedPersonaProperty',
191 as ArrayRef[PersonaProperty()];
192  
193 coerce 'RepeatedPersonaProperty',
194 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::ChannelProfile::PersonaProperty'->new($_) } @$_ ] };
195  
196 declare 'MapStringPersonaProperty',
197 as HashRef[PersonaProperty()];
198  
199 declare 'Persona',
200 as (Int | Str);
201  
202 declare 'WebWidgetConfig',
203 as InstanceOf['Google::Cloud::Ces::V1beta::Common::ChannelProfile::WebWidgetConfig'];
204  
205 coerce 'WebWidgetConfig',
206 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::ChannelProfile::WebWidgetConfig'->new($_) };
207  
208 declare 'RepeatedWebWidgetConfig',
209 as ArrayRef[WebWidgetConfig()];
210  
211 coerce 'RepeatedWebWidgetConfig',
212 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::ChannelProfile::WebWidgetConfig'->new($_) } @$_ ] };
213  
214 declare 'MapStringWebWidgetConfig',
215 as HashRef[WebWidgetConfig()];
216  
217 declare 'Modality',
218 as (Int | Str);
219  
220 declare 'Theme',
221 as (Int | Str);
222  
223 declare 'SecuritySettings',
224 as InstanceOf['Google::Cloud::Ces::V1beta::Common::ChannelProfile::WebWidgetConfig::SecuritySettings'];
225  
226 coerce 'SecuritySettings',
227 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::ChannelProfile::WebWidgetConfig::SecuritySettings'->new($_) };
228  
229 declare 'RepeatedSecuritySettings',
230 as ArrayRef[SecuritySettings()];
231  
232 coerce 'RepeatedSecuritySettings',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::ChannelProfile::WebWidgetConfig::SecuritySettings'->new($_) } @$_ ] };
234  
235 declare 'MapStringSecuritySettings',
236 as HashRef[SecuritySettings()];
237  
238 declare 'WhatsAppConfig',
239 as InstanceOf['Google::Cloud::Ces::V1beta::Common::ChannelProfile::WhatsAppConfig'];
240  
241 coerce 'WhatsAppConfig',
242 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::ChannelProfile::WhatsAppConfig'->new($_) };
243  
244 declare 'RepeatedWhatsAppConfig',
245 as ArrayRef[WhatsAppConfig()];
246  
247 coerce 'RepeatedWhatsAppConfig',
248 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::ChannelProfile::WhatsAppConfig'->new($_) } @$_ ] };
249  
250 declare 'MapStringWhatsAppConfig',
251 as HashRef[WhatsAppConfig()];
252  
253 declare 'InstagramConfig',
254 as InstanceOf['Google::Cloud::Ces::V1beta::Common::ChannelProfile::InstagramConfig'];
255  
256 coerce 'InstagramConfig',
257 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::ChannelProfile::InstagramConfig'->new($_) };
258  
259 declare 'RepeatedInstagramConfig',
260 as ArrayRef[InstagramConfig()];
261  
262 coerce 'RepeatedInstagramConfig',
263 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::ChannelProfile::InstagramConfig'->new($_) } @$_ ] };
264  
265 declare 'MapStringInstagramConfig',
266 as HashRef[InstagramConfig()];
267  
268 declare 'Span',
269 as InstanceOf['Google::Cloud::Ces::V1beta::Common::Span'];
270  
271 coerce 'Span',
272 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::Span'->new($_) };
273  
274 declare 'RepeatedSpan',
275 as ArrayRef[Span()];
276  
277 coerce 'RepeatedSpan',
278 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::Span'->new($_) } @$_ ] };
279  
280 declare 'MapStringSpan',
281 as HashRef[Span()];
282  
283 declare 'EvaluationRunCachingSettings',
284 as InstanceOf['Google::Cloud::Ces::V1beta::Common::EvaluationRunCachingSettings'];
285  
286 coerce 'EvaluationRunCachingSettings',
287 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::EvaluationRunCachingSettings'->new($_) };
288  
289 declare 'RepeatedEvaluationRunCachingSettings',
290 as ArrayRef[EvaluationRunCachingSettings()];
291  
292 coerce 'RepeatedEvaluationRunCachingSettings',
293 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::EvaluationRunCachingSettings'->new($_) } @$_ ] };
294  
295 declare 'MapStringEvaluationRunCachingSettings',
296 as HashRef[EvaluationRunCachingSettings()];
297  
298 declare 'EvaluationRunCachingMode',
299 as (Int | Str);
300  
301 declare 'UiEvent',
302 as InstanceOf['Google::Cloud::Ces::V1beta::Common::UiEvent'];
303  
304 coerce 'UiEvent',
305 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::UiEvent'->new($_) };
306  
307 declare 'RepeatedUiEvent',
308 as ArrayRef[UiEvent()];
309  
310 coerce 'RepeatedUiEvent',
311 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::UiEvent'->new($_) } @$_ ] };
312  
313 declare 'MapStringUiEvent',
314 as HashRef[UiEvent()];
315  
316 declare 'SessionCheckpoint',
317 as InstanceOf['Google::Cloud::Ces::V1beta::Common::SessionCheckpoint'];
318  
319 coerce 'SessionCheckpoint',
320 from HashRef, via { 'Google::Cloud::Ces::V1beta::Common::SessionCheckpoint'->new($_) };
321  
322 declare 'RepeatedSessionCheckpoint',
323 as ArrayRef[SessionCheckpoint()];
324  
325 coerce 'RepeatedSessionCheckpoint',
326 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Common::SessionCheckpoint'->new($_) } @$_ ] };
327  
328 declare 'MapStringSessionCheckpoint',
329 as HashRef[SessionCheckpoint()];
330  
331 1;
332  
333 __END__