V1/Service/Types.pm untested

filter: Statementstmt 0.0% 0 / 289 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 294 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::Automl::V1::Service::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 'CreateDatasetRequest',
11 as InstanceOf['Google::Cloud::Automl::V1::Service::CreateDatasetRequest'];
12  
13 coerce 'CreateDatasetRequest',
14 from HashRef, via { 'Google::Cloud::Automl::V1::Service::CreateDatasetRequest'->new($_) };
15  
16 declare 'RepeatedCreateDatasetRequest',
17 as ArrayRef[CreateDatasetRequest()];
18  
19 coerce 'RepeatedCreateDatasetRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::CreateDatasetRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringCreateDatasetRequest',
23 as HashRef[CreateDatasetRequest()];
24  
25 declare 'GetDatasetRequest',
26 as InstanceOf['Google::Cloud::Automl::V1::Service::GetDatasetRequest'];
27  
28 coerce 'GetDatasetRequest',
29 from HashRef, via { 'Google::Cloud::Automl::V1::Service::GetDatasetRequest'->new($_) };
30  
31 declare 'RepeatedGetDatasetRequest',
32 as ArrayRef[GetDatasetRequest()];
33  
34 coerce 'RepeatedGetDatasetRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::GetDatasetRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringGetDatasetRequest',
38 as HashRef[GetDatasetRequest()];
39  
40 declare 'ListDatasetsRequest',
41 as InstanceOf['Google::Cloud::Automl::V1::Service::ListDatasetsRequest'];
42  
43 coerce 'ListDatasetsRequest',
44 from HashRef, via { 'Google::Cloud::Automl::V1::Service::ListDatasetsRequest'->new($_) };
45  
46 declare 'RepeatedListDatasetsRequest',
47 as ArrayRef[ListDatasetsRequest()];
48  
49 coerce 'RepeatedListDatasetsRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::ListDatasetsRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringListDatasetsRequest',
53 as HashRef[ListDatasetsRequest()];
54  
55 declare 'ListDatasetsResponse',
56 as InstanceOf['Google::Cloud::Automl::V1::Service::ListDatasetsResponse'];
57  
58 coerce 'ListDatasetsResponse',
59 from HashRef, via { 'Google::Cloud::Automl::V1::Service::ListDatasetsResponse'->new($_) };
60  
61 declare 'RepeatedListDatasetsResponse',
62 as ArrayRef[ListDatasetsResponse()];
63  
64 coerce 'RepeatedListDatasetsResponse',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::ListDatasetsResponse'->new($_) } @$_ ] };
66  
67 declare 'MapStringListDatasetsResponse',
68 as HashRef[ListDatasetsResponse()];
69  
70 declare 'UpdateDatasetRequest',
71 as InstanceOf['Google::Cloud::Automl::V1::Service::UpdateDatasetRequest'];
72  
73 coerce 'UpdateDatasetRequest',
74 from HashRef, via { 'Google::Cloud::Automl::V1::Service::UpdateDatasetRequest'->new($_) };
75  
76 declare 'RepeatedUpdateDatasetRequest',
77 as ArrayRef[UpdateDatasetRequest()];
78  
79 coerce 'RepeatedUpdateDatasetRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::UpdateDatasetRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringUpdateDatasetRequest',
83 as HashRef[UpdateDatasetRequest()];
84  
85 declare 'DeleteDatasetRequest',
86 as InstanceOf['Google::Cloud::Automl::V1::Service::DeleteDatasetRequest'];
87  
88 coerce 'DeleteDatasetRequest',
89 from HashRef, via { 'Google::Cloud::Automl::V1::Service::DeleteDatasetRequest'->new($_) };
90  
91 declare 'RepeatedDeleteDatasetRequest',
92 as ArrayRef[DeleteDatasetRequest()];
93  
94 coerce 'RepeatedDeleteDatasetRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::DeleteDatasetRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringDeleteDatasetRequest',
98 as HashRef[DeleteDatasetRequest()];
99  
100 declare 'ImportDataRequest',
101 as InstanceOf['Google::Cloud::Automl::V1::Service::ImportDataRequest'];
102  
103 coerce 'ImportDataRequest',
104 from HashRef, via { 'Google::Cloud::Automl::V1::Service::ImportDataRequest'->new($_) };
105  
106 declare 'RepeatedImportDataRequest',
107 as ArrayRef[ImportDataRequest()];
108  
109 coerce 'RepeatedImportDataRequest',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::ImportDataRequest'->new($_) } @$_ ] };
111  
112 declare 'MapStringImportDataRequest',
113 as HashRef[ImportDataRequest()];
114  
115 declare 'ExportDataRequest',
116 as InstanceOf['Google::Cloud::Automl::V1::Service::ExportDataRequest'];
117  
118 coerce 'ExportDataRequest',
119 from HashRef, via { 'Google::Cloud::Automl::V1::Service::ExportDataRequest'->new($_) };
120  
121 declare 'RepeatedExportDataRequest',
122 as ArrayRef[ExportDataRequest()];
123  
124 coerce 'RepeatedExportDataRequest',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::ExportDataRequest'->new($_) } @$_ ] };
126  
127 declare 'MapStringExportDataRequest',
128 as HashRef[ExportDataRequest()];
129  
130 declare 'GetAnnotationSpecRequest',
131 as InstanceOf['Google::Cloud::Automl::V1::Service::GetAnnotationSpecRequest'];
132  
133 coerce 'GetAnnotationSpecRequest',
134 from HashRef, via { 'Google::Cloud::Automl::V1::Service::GetAnnotationSpecRequest'->new($_) };
135  
136 declare 'RepeatedGetAnnotationSpecRequest',
137 as ArrayRef[GetAnnotationSpecRequest()];
138  
139 coerce 'RepeatedGetAnnotationSpecRequest',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::GetAnnotationSpecRequest'->new($_) } @$_ ] };
141  
142 declare 'MapStringGetAnnotationSpecRequest',
143 as HashRef[GetAnnotationSpecRequest()];
144  
145 declare 'CreateModelRequest',
146 as InstanceOf['Google::Cloud::Automl::V1::Service::CreateModelRequest'];
147  
148 coerce 'CreateModelRequest',
149 from HashRef, via { 'Google::Cloud::Automl::V1::Service::CreateModelRequest'->new($_) };
150  
151 declare 'RepeatedCreateModelRequest',
152 as ArrayRef[CreateModelRequest()];
153  
154 coerce 'RepeatedCreateModelRequest',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::CreateModelRequest'->new($_) } @$_ ] };
156  
157 declare 'MapStringCreateModelRequest',
158 as HashRef[CreateModelRequest()];
159  
160 declare 'GetModelRequest',
161 as InstanceOf['Google::Cloud::Automl::V1::Service::GetModelRequest'];
162  
163 coerce 'GetModelRequest',
164 from HashRef, via { 'Google::Cloud::Automl::V1::Service::GetModelRequest'->new($_) };
165  
166 declare 'RepeatedGetModelRequest',
167 as ArrayRef[GetModelRequest()];
168  
169 coerce 'RepeatedGetModelRequest',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::GetModelRequest'->new($_) } @$_ ] };
171  
172 declare 'MapStringGetModelRequest',
173 as HashRef[GetModelRequest()];
174  
175 declare 'ListModelsRequest',
176 as InstanceOf['Google::Cloud::Automl::V1::Service::ListModelsRequest'];
177  
178 coerce 'ListModelsRequest',
179 from HashRef, via { 'Google::Cloud::Automl::V1::Service::ListModelsRequest'->new($_) };
180  
181 declare 'RepeatedListModelsRequest',
182 as ArrayRef[ListModelsRequest()];
183  
184 coerce 'RepeatedListModelsRequest',
185 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::ListModelsRequest'->new($_) } @$_ ] };
186  
187 declare 'MapStringListModelsRequest',
188 as HashRef[ListModelsRequest()];
189  
190 declare 'ListModelsResponse',
191 as InstanceOf['Google::Cloud::Automl::V1::Service::ListModelsResponse'];
192  
193 coerce 'ListModelsResponse',
194 from HashRef, via { 'Google::Cloud::Automl::V1::Service::ListModelsResponse'->new($_) };
195  
196 declare 'RepeatedListModelsResponse',
197 as ArrayRef[ListModelsResponse()];
198  
199 coerce 'RepeatedListModelsResponse',
200 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::ListModelsResponse'->new($_) } @$_ ] };
201  
202 declare 'MapStringListModelsResponse',
203 as HashRef[ListModelsResponse()];
204  
205 declare 'DeleteModelRequest',
206 as InstanceOf['Google::Cloud::Automl::V1::Service::DeleteModelRequest'];
207  
208 coerce 'DeleteModelRequest',
209 from HashRef, via { 'Google::Cloud::Automl::V1::Service::DeleteModelRequest'->new($_) };
210  
211 declare 'RepeatedDeleteModelRequest',
212 as ArrayRef[DeleteModelRequest()];
213  
214 coerce 'RepeatedDeleteModelRequest',
215 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::DeleteModelRequest'->new($_) } @$_ ] };
216  
217 declare 'MapStringDeleteModelRequest',
218 as HashRef[DeleteModelRequest()];
219  
220 declare 'UpdateModelRequest',
221 as InstanceOf['Google::Cloud::Automl::V1::Service::UpdateModelRequest'];
222  
223 coerce 'UpdateModelRequest',
224 from HashRef, via { 'Google::Cloud::Automl::V1::Service::UpdateModelRequest'->new($_) };
225  
226 declare 'RepeatedUpdateModelRequest',
227 as ArrayRef[UpdateModelRequest()];
228  
229 coerce 'RepeatedUpdateModelRequest',
230 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::UpdateModelRequest'->new($_) } @$_ ] };
231  
232 declare 'MapStringUpdateModelRequest',
233 as HashRef[UpdateModelRequest()];
234  
235 declare 'DeployModelRequest',
236 as InstanceOf['Google::Cloud::Automl::V1::Service::DeployModelRequest'];
237  
238 coerce 'DeployModelRequest',
239 from HashRef, via { 'Google::Cloud::Automl::V1::Service::DeployModelRequest'->new($_) };
240  
241 declare 'RepeatedDeployModelRequest',
242 as ArrayRef[DeployModelRequest()];
243  
244 coerce 'RepeatedDeployModelRequest',
245 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::DeployModelRequest'->new($_) } @$_ ] };
246  
247 declare 'MapStringDeployModelRequest',
248 as HashRef[DeployModelRequest()];
249  
250 declare 'UndeployModelRequest',
251 as InstanceOf['Google::Cloud::Automl::V1::Service::UndeployModelRequest'];
252  
253 coerce 'UndeployModelRequest',
254 from HashRef, via { 'Google::Cloud::Automl::V1::Service::UndeployModelRequest'->new($_) };
255  
256 declare 'RepeatedUndeployModelRequest',
257 as ArrayRef[UndeployModelRequest()];
258  
259 coerce 'RepeatedUndeployModelRequest',
260 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::UndeployModelRequest'->new($_) } @$_ ] };
261  
262 declare 'MapStringUndeployModelRequest',
263 as HashRef[UndeployModelRequest()];
264  
265 declare 'ExportModelRequest',
266 as InstanceOf['Google::Cloud::Automl::V1::Service::ExportModelRequest'];
267  
268 coerce 'ExportModelRequest',
269 from HashRef, via { 'Google::Cloud::Automl::V1::Service::ExportModelRequest'->new($_) };
270  
271 declare 'RepeatedExportModelRequest',
272 as ArrayRef[ExportModelRequest()];
273  
274 coerce 'RepeatedExportModelRequest',
275 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::ExportModelRequest'->new($_) } @$_ ] };
276  
277 declare 'MapStringExportModelRequest',
278 as HashRef[ExportModelRequest()];
279  
280 declare 'GetModelEvaluationRequest',
281 as InstanceOf['Google::Cloud::Automl::V1::Service::GetModelEvaluationRequest'];
282  
283 coerce 'GetModelEvaluationRequest',
284 from HashRef, via { 'Google::Cloud::Automl::V1::Service::GetModelEvaluationRequest'->new($_) };
285  
286 declare 'RepeatedGetModelEvaluationRequest',
287 as ArrayRef[GetModelEvaluationRequest()];
288  
289 coerce 'RepeatedGetModelEvaluationRequest',
290 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::GetModelEvaluationRequest'->new($_) } @$_ ] };
291  
292 declare 'MapStringGetModelEvaluationRequest',
293 as HashRef[GetModelEvaluationRequest()];
294  
295 declare 'ListModelEvaluationsRequest',
296 as InstanceOf['Google::Cloud::Automl::V1::Service::ListModelEvaluationsRequest'];
297  
298 coerce 'ListModelEvaluationsRequest',
299 from HashRef, via { 'Google::Cloud::Automl::V1::Service::ListModelEvaluationsRequest'->new($_) };
300  
301 declare 'RepeatedListModelEvaluationsRequest',
302 as ArrayRef[ListModelEvaluationsRequest()];
303  
304 coerce 'RepeatedListModelEvaluationsRequest',
305 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::ListModelEvaluationsRequest'->new($_) } @$_ ] };
306  
307 declare 'MapStringListModelEvaluationsRequest',
308 as HashRef[ListModelEvaluationsRequest()];
309  
310 declare 'ListModelEvaluationsResponse',
311 as InstanceOf['Google::Cloud::Automl::V1::Service::ListModelEvaluationsResponse'];
312  
313 coerce 'ListModelEvaluationsResponse',
314 from HashRef, via { 'Google::Cloud::Automl::V1::Service::ListModelEvaluationsResponse'->new($_) };
315  
316 declare 'RepeatedListModelEvaluationsResponse',
317 as ArrayRef[ListModelEvaluationsResponse()];
318  
319 coerce 'RepeatedListModelEvaluationsResponse',
320 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1::Service::ListModelEvaluationsResponse'->new($_) } @$_ ] };
321  
322 declare 'MapStringListModelEvaluationsResponse',
323 as HashRef[ListModelEvaluationsResponse()];
324  
325 1;
326  
327 __END__