V2beta1/Tool/Types.pm untested

filter: Statementstmt 0.0% 0 / 308 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 313 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::V2beta1::Tool::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 'CreateToolRequest',
11 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::CreateToolRequest'];
12  
13 coerce 'CreateToolRequest',
14 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::CreateToolRequest'->new($_) };
15  
16 declare 'RepeatedCreateToolRequest',
17 as ArrayRef[CreateToolRequest()];
18  
19 coerce 'RepeatedCreateToolRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::CreateToolRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringCreateToolRequest',
23 as HashRef[CreateToolRequest()];
24  
25 declare 'GetToolRequest',
26 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::GetToolRequest'];
27  
28 coerce 'GetToolRequest',
29 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::GetToolRequest'->new($_) };
30  
31 declare 'RepeatedGetToolRequest',
32 as ArrayRef[GetToolRequest()];
33  
34 coerce 'RepeatedGetToolRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::GetToolRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringGetToolRequest',
38 as HashRef[GetToolRequest()];
39  
40 declare 'ListToolsRequest',
41 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::ListToolsRequest'];
42  
43 coerce 'ListToolsRequest',
44 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::ListToolsRequest'->new($_) };
45  
46 declare 'RepeatedListToolsRequest',
47 as ArrayRef[ListToolsRequest()];
48  
49 coerce 'RepeatedListToolsRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::ListToolsRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringListToolsRequest',
53 as HashRef[ListToolsRequest()];
54  
55 declare 'ListToolsResponse',
56 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::ListToolsResponse'];
57  
58 coerce 'ListToolsResponse',
59 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::ListToolsResponse'->new($_) };
60  
61 declare 'RepeatedListToolsResponse',
62 as ArrayRef[ListToolsResponse()];
63  
64 coerce 'RepeatedListToolsResponse',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::ListToolsResponse'->new($_) } @$_ ] };
66  
67 declare 'MapStringListToolsResponse',
68 as HashRef[ListToolsResponse()];
69  
70 declare 'DeleteToolRequest',
71 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::DeleteToolRequest'];
72  
73 coerce 'DeleteToolRequest',
74 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::DeleteToolRequest'->new($_) };
75  
76 declare 'RepeatedDeleteToolRequest',
77 as ArrayRef[DeleteToolRequest()];
78  
79 coerce 'RepeatedDeleteToolRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::DeleteToolRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringDeleteToolRequest',
83 as HashRef[DeleteToolRequest()];
84  
85 declare 'UpdateToolRequest',
86 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::UpdateToolRequest'];
87  
88 coerce 'UpdateToolRequest',
89 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::UpdateToolRequest'->new($_) };
90  
91 declare 'RepeatedUpdateToolRequest',
92 as ArrayRef[UpdateToolRequest()];
93  
94 coerce 'RepeatedUpdateToolRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::UpdateToolRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringUpdateToolRequest',
98 as HashRef[UpdateToolRequest()];
99  
100 declare 'Tool',
101 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool'];
102  
103 coerce 'Tool',
104 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool'->new($_) };
105  
106 declare 'RepeatedTool',
107 as ArrayRef[Tool()];
108  
109 coerce 'RepeatedTool',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool'->new($_) } @$_ ] };
111  
112 declare 'MapStringTool',
113 as HashRef[Tool()];
114  
115 declare 'ConfirmationRequirement',
116 as (Int | Str);
117  
118 declare 'MethodType',
119 as (Int | Str);
120  
121 declare 'ExtensionTool',
122 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ExtensionTool'];
123  
124 coerce 'ExtensionTool',
125 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ExtensionTool'->new($_) };
126  
127 declare 'RepeatedExtensionTool',
128 as ArrayRef[ExtensionTool()];
129  
130 coerce 'RepeatedExtensionTool',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ExtensionTool'->new($_) } @$_ ] };
132  
133 declare 'MapStringExtensionTool',
134 as HashRef[ExtensionTool()];
135  
136 declare 'FunctionTool',
137 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::FunctionTool'];
138  
139 coerce 'FunctionTool',
140 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::FunctionTool'->new($_) };
141  
142 declare 'RepeatedFunctionTool',
143 as ArrayRef[FunctionTool()];
144  
145 coerce 'RepeatedFunctionTool',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::FunctionTool'->new($_) } @$_ ] };
147  
148 declare 'MapStringFunctionTool',
149 as HashRef[FunctionTool()];
150  
151 declare 'OpenApiTool',
152 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::OpenApiTool'];
153  
154 coerce 'OpenApiTool',
155 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::OpenApiTool'->new($_) };
156  
157 declare 'RepeatedOpenApiTool',
158 as ArrayRef[OpenApiTool()];
159  
160 coerce 'RepeatedOpenApiTool',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::OpenApiTool'->new($_) } @$_ ] };
162  
163 declare 'MapStringOpenApiTool',
164 as HashRef[OpenApiTool()];
165  
166 declare 'ConnectorTool',
167 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ConnectorTool'];
168  
169 coerce 'ConnectorTool',
170 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ConnectorTool'->new($_) };
171  
172 declare 'RepeatedConnectorTool',
173 as ArrayRef[ConnectorTool()];
174  
175 coerce 'RepeatedConnectorTool',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ConnectorTool'->new($_) } @$_ ] };
177  
178 declare 'MapStringConnectorTool',
179 as HashRef[ConnectorTool()];
180  
181 declare 'Action',
182 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ConnectorTool::Action'];
183  
184 coerce 'Action',
185 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ConnectorTool::Action'->new($_) };
186  
187 declare 'RepeatedAction',
188 as ArrayRef[Action()];
189  
190 coerce 'RepeatedAction',
191 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ConnectorTool::Action'->new($_) } @$_ ] };
192  
193 declare 'MapStringAction',
194 as HashRef[Action()];
195  
196 declare 'EntityOperation',
197 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ConnectorTool::Action::EntityOperation'];
198  
199 coerce 'EntityOperation',
200 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ConnectorTool::Action::EntityOperation'->new($_) };
201  
202 declare 'RepeatedEntityOperation',
203 as ArrayRef[EntityOperation()];
204  
205 coerce 'RepeatedEntityOperation',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ConnectorTool::Action::EntityOperation'->new($_) } @$_ ] };
207  
208 declare 'MapStringEntityOperation',
209 as HashRef[EntityOperation()];
210  
211 declare 'OperationType',
212 as (Int | Str);
213  
214 declare 'Authentication',
215 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication'];
216  
217 coerce 'Authentication',
218 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication'->new($_) };
219  
220 declare 'RepeatedAuthentication',
221 as ArrayRef[Authentication()];
222  
223 coerce 'RepeatedAuthentication',
224 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication'->new($_) } @$_ ] };
225  
226 declare 'MapStringAuthentication',
227 as HashRef[Authentication()];
228  
229 declare 'RequestLocation',
230 as (Int | Str);
231  
232 declare 'ApiKeyConfig',
233 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication::ApiKeyConfig'];
234  
235 coerce 'ApiKeyConfig',
236 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication::ApiKeyConfig'->new($_) };
237  
238 declare 'RepeatedApiKeyConfig',
239 as ArrayRef[ApiKeyConfig()];
240  
241 coerce 'RepeatedApiKeyConfig',
242 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication::ApiKeyConfig'->new($_) } @$_ ] };
243  
244 declare 'MapStringApiKeyConfig',
245 as HashRef[ApiKeyConfig()];
246  
247 declare 'OAuthConfig',
248 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication::OAuthConfig'];
249  
250 coerce 'OAuthConfig',
251 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication::OAuthConfig'->new($_) };
252  
253 declare 'RepeatedOAuthConfig',
254 as ArrayRef[OAuthConfig()];
255  
256 coerce 'RepeatedOAuthConfig',
257 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication::OAuthConfig'->new($_) } @$_ ] };
258  
259 declare 'MapStringOAuthConfig',
260 as HashRef[OAuthConfig()];
261  
262 declare 'OauthGrantType',
263 as (Int | Str);
264  
265 declare 'ServiceAgentAuthConfig',
266 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication::ServiceAgentAuthConfig'];
267  
268 coerce 'ServiceAgentAuthConfig',
269 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication::ServiceAgentAuthConfig'->new($_) };
270  
271 declare 'RepeatedServiceAgentAuthConfig',
272 as ArrayRef[ServiceAgentAuthConfig()];
273  
274 coerce 'RepeatedServiceAgentAuthConfig',
275 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication::ServiceAgentAuthConfig'->new($_) } @$_ ] };
276  
277 declare 'MapStringServiceAgentAuthConfig',
278 as HashRef[ServiceAgentAuthConfig()];
279  
280 declare 'ServiceAgentAuth',
281 as (Int | Str);
282  
283 declare 'BearerTokenConfig',
284 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication::BearerTokenConfig'];
285  
286 coerce 'BearerTokenConfig',
287 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication::BearerTokenConfig'->new($_) };
288  
289 declare 'RepeatedBearerTokenConfig',
290 as ArrayRef[BearerTokenConfig()];
291  
292 coerce 'RepeatedBearerTokenConfig',
293 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::Authentication::BearerTokenConfig'->new($_) } @$_ ] };
294  
295 declare 'MapStringBearerTokenConfig',
296 as HashRef[BearerTokenConfig()];
297  
298 declare 'TLSConfig',
299 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::TLSConfig'];
300  
301 coerce 'TLSConfig',
302 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::TLSConfig'->new($_) };
303  
304 declare 'RepeatedTLSConfig',
305 as ArrayRef[TLSConfig()];
306  
307 coerce 'RepeatedTLSConfig',
308 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::TLSConfig'->new($_) } @$_ ] };
309  
310 declare 'MapStringTLSConfig',
311 as HashRef[TLSConfig()];
312  
313 declare 'CACert',
314 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::TLSConfig::CACert'];
315  
316 coerce 'CACert',
317 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::TLSConfig::CACert'->new($_) };
318  
319 declare 'RepeatedCACert',
320 as ArrayRef[CACert()];
321  
322 coerce 'RepeatedCACert',
323 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::TLSConfig::CACert'->new($_) } @$_ ] };
324  
325 declare 'MapStringCACert',
326 as HashRef[CACert()];
327  
328 declare 'ServiceDirectoryConfig',
329 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ServiceDirectoryConfig'];
330  
331 coerce 'ServiceDirectoryConfig',
332 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ServiceDirectoryConfig'->new($_) };
333  
334 declare 'RepeatedServiceDirectoryConfig',
335 as ArrayRef[ServiceDirectoryConfig()];
336  
337 coerce 'RepeatedServiceDirectoryConfig',
338 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ServiceDirectoryConfig'->new($_) } @$_ ] };
339  
340 declare 'MapStringServiceDirectoryConfig',
341 as HashRef[ServiceDirectoryConfig()];
342  
343 declare 'ActionConfirmationRequirementEntry',
344 as InstanceOf['Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ActionConfirmationRequirementEntry'];
345  
346 coerce 'ActionConfirmationRequirementEntry',
347 from HashRef, via { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ActionConfirmationRequirementEntry'->new($_) };
348  
349 declare 'RepeatedActionConfirmationRequirementEntry',
350 as ArrayRef[ActionConfirmationRequirementEntry()];
351  
352 coerce 'RepeatedActionConfirmationRequirementEntry',
353 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::V2beta1::Tool::Tool::ActionConfirmationRequirementEntry'->new($_) } @$_ ] };
354  
355 declare 'MapStringActionConfirmationRequirementEntry',
356 as HashRef[ActionConfirmationRequirementEntry()];
357  
358 1;
359  
360 __END__