V1/DeviceManager/Types.pm untested

filter: Statementstmt 0.0% 0 / 328 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 333 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::Iot::V1::DeviceManager::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 'CreateDeviceRegistryRequest',
11 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::CreateDeviceRegistryRequest'];
12  
13 coerce 'CreateDeviceRegistryRequest',
14 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::CreateDeviceRegistryRequest'->new($_) };
15  
16 declare 'RepeatedCreateDeviceRegistryRequest',
17 as ArrayRef[CreateDeviceRegistryRequest()];
18  
19 coerce 'RepeatedCreateDeviceRegistryRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::CreateDeviceRegistryRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringCreateDeviceRegistryRequest',
23 as HashRef[CreateDeviceRegistryRequest()];
24  
25 declare 'GetDeviceRegistryRequest',
26 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::GetDeviceRegistryRequest'];
27  
28 coerce 'GetDeviceRegistryRequest',
29 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::GetDeviceRegistryRequest'->new($_) };
30  
31 declare 'RepeatedGetDeviceRegistryRequest',
32 as ArrayRef[GetDeviceRegistryRequest()];
33  
34 coerce 'RepeatedGetDeviceRegistryRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::GetDeviceRegistryRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringGetDeviceRegistryRequest',
38 as HashRef[GetDeviceRegistryRequest()];
39  
40 declare 'DeleteDeviceRegistryRequest',
41 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::DeleteDeviceRegistryRequest'];
42  
43 coerce 'DeleteDeviceRegistryRequest',
44 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::DeleteDeviceRegistryRequest'->new($_) };
45  
46 declare 'RepeatedDeleteDeviceRegistryRequest',
47 as ArrayRef[DeleteDeviceRegistryRequest()];
48  
49 coerce 'RepeatedDeleteDeviceRegistryRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::DeleteDeviceRegistryRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringDeleteDeviceRegistryRequest',
53 as HashRef[DeleteDeviceRegistryRequest()];
54  
55 declare 'UpdateDeviceRegistryRequest',
56 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::UpdateDeviceRegistryRequest'];
57  
58 coerce 'UpdateDeviceRegistryRequest',
59 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::UpdateDeviceRegistryRequest'->new($_) };
60  
61 declare 'RepeatedUpdateDeviceRegistryRequest',
62 as ArrayRef[UpdateDeviceRegistryRequest()];
63  
64 coerce 'RepeatedUpdateDeviceRegistryRequest',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::UpdateDeviceRegistryRequest'->new($_) } @$_ ] };
66  
67 declare 'MapStringUpdateDeviceRegistryRequest',
68 as HashRef[UpdateDeviceRegistryRequest()];
69  
70 declare 'ListDeviceRegistriesRequest',
71 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::ListDeviceRegistriesRequest'];
72  
73 coerce 'ListDeviceRegistriesRequest',
74 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::ListDeviceRegistriesRequest'->new($_) };
75  
76 declare 'RepeatedListDeviceRegistriesRequest',
77 as ArrayRef[ListDeviceRegistriesRequest()];
78  
79 coerce 'RepeatedListDeviceRegistriesRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::ListDeviceRegistriesRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringListDeviceRegistriesRequest',
83 as HashRef[ListDeviceRegistriesRequest()];
84  
85 declare 'ListDeviceRegistriesResponse',
86 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::ListDeviceRegistriesResponse'];
87  
88 coerce 'ListDeviceRegistriesResponse',
89 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::ListDeviceRegistriesResponse'->new($_) };
90  
91 declare 'RepeatedListDeviceRegistriesResponse',
92 as ArrayRef[ListDeviceRegistriesResponse()];
93  
94 coerce 'RepeatedListDeviceRegistriesResponse',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::ListDeviceRegistriesResponse'->new($_) } @$_ ] };
96  
97 declare 'MapStringListDeviceRegistriesResponse',
98 as HashRef[ListDeviceRegistriesResponse()];
99  
100 declare 'CreateDeviceRequest',
101 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::CreateDeviceRequest'];
102  
103 coerce 'CreateDeviceRequest',
104 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::CreateDeviceRequest'->new($_) };
105  
106 declare 'RepeatedCreateDeviceRequest',
107 as ArrayRef[CreateDeviceRequest()];
108  
109 coerce 'RepeatedCreateDeviceRequest',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::CreateDeviceRequest'->new($_) } @$_ ] };
111  
112 declare 'MapStringCreateDeviceRequest',
113 as HashRef[CreateDeviceRequest()];
114  
115 declare 'GetDeviceRequest',
116 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::GetDeviceRequest'];
117  
118 coerce 'GetDeviceRequest',
119 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::GetDeviceRequest'->new($_) };
120  
121 declare 'RepeatedGetDeviceRequest',
122 as ArrayRef[GetDeviceRequest()];
123  
124 coerce 'RepeatedGetDeviceRequest',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::GetDeviceRequest'->new($_) } @$_ ] };
126  
127 declare 'MapStringGetDeviceRequest',
128 as HashRef[GetDeviceRequest()];
129  
130 declare 'UpdateDeviceRequest',
131 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::UpdateDeviceRequest'];
132  
133 coerce 'UpdateDeviceRequest',
134 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::UpdateDeviceRequest'->new($_) };
135  
136 declare 'RepeatedUpdateDeviceRequest',
137 as ArrayRef[UpdateDeviceRequest()];
138  
139 coerce 'RepeatedUpdateDeviceRequest',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::UpdateDeviceRequest'->new($_) } @$_ ] };
141  
142 declare 'MapStringUpdateDeviceRequest',
143 as HashRef[UpdateDeviceRequest()];
144  
145 declare 'DeleteDeviceRequest',
146 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::DeleteDeviceRequest'];
147  
148 coerce 'DeleteDeviceRequest',
149 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::DeleteDeviceRequest'->new($_) };
150  
151 declare 'RepeatedDeleteDeviceRequest',
152 as ArrayRef[DeleteDeviceRequest()];
153  
154 coerce 'RepeatedDeleteDeviceRequest',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::DeleteDeviceRequest'->new($_) } @$_ ] };
156  
157 declare 'MapStringDeleteDeviceRequest',
158 as HashRef[DeleteDeviceRequest()];
159  
160 declare 'ListDevicesRequest',
161 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::ListDevicesRequest'];
162  
163 coerce 'ListDevicesRequest',
164 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::ListDevicesRequest'->new($_) };
165  
166 declare 'RepeatedListDevicesRequest',
167 as ArrayRef[ListDevicesRequest()];
168  
169 coerce 'RepeatedListDevicesRequest',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::ListDevicesRequest'->new($_) } @$_ ] };
171  
172 declare 'MapStringListDevicesRequest',
173 as HashRef[ListDevicesRequest()];
174  
175 declare 'GatewayListOptions',
176 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::GatewayListOptions'];
177  
178 coerce 'GatewayListOptions',
179 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::GatewayListOptions'->new($_) };
180  
181 declare 'RepeatedGatewayListOptions',
182 as ArrayRef[GatewayListOptions()];
183  
184 coerce 'RepeatedGatewayListOptions',
185 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::GatewayListOptions'->new($_) } @$_ ] };
186  
187 declare 'MapStringGatewayListOptions',
188 as HashRef[GatewayListOptions()];
189  
190 declare 'ListDevicesResponse',
191 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::ListDevicesResponse'];
192  
193 coerce 'ListDevicesResponse',
194 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::ListDevicesResponse'->new($_) };
195  
196 declare 'RepeatedListDevicesResponse',
197 as ArrayRef[ListDevicesResponse()];
198  
199 coerce 'RepeatedListDevicesResponse',
200 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::ListDevicesResponse'->new($_) } @$_ ] };
201  
202 declare 'MapStringListDevicesResponse',
203 as HashRef[ListDevicesResponse()];
204  
205 declare 'ModifyCloudToDeviceConfigRequest',
206 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::ModifyCloudToDeviceConfigRequest'];
207  
208 coerce 'ModifyCloudToDeviceConfigRequest',
209 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::ModifyCloudToDeviceConfigRequest'->new($_) };
210  
211 declare 'RepeatedModifyCloudToDeviceConfigRequest',
212 as ArrayRef[ModifyCloudToDeviceConfigRequest()];
213  
214 coerce 'RepeatedModifyCloudToDeviceConfigRequest',
215 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::ModifyCloudToDeviceConfigRequest'->new($_) } @$_ ] };
216  
217 declare 'MapStringModifyCloudToDeviceConfigRequest',
218 as HashRef[ModifyCloudToDeviceConfigRequest()];
219  
220 declare 'ListDeviceConfigVersionsRequest',
221 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::ListDeviceConfigVersionsRequest'];
222  
223 coerce 'ListDeviceConfigVersionsRequest',
224 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::ListDeviceConfigVersionsRequest'->new($_) };
225  
226 declare 'RepeatedListDeviceConfigVersionsRequest',
227 as ArrayRef[ListDeviceConfigVersionsRequest()];
228  
229 coerce 'RepeatedListDeviceConfigVersionsRequest',
230 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::ListDeviceConfigVersionsRequest'->new($_) } @$_ ] };
231  
232 declare 'MapStringListDeviceConfigVersionsRequest',
233 as HashRef[ListDeviceConfigVersionsRequest()];
234  
235 declare 'ListDeviceConfigVersionsResponse',
236 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::ListDeviceConfigVersionsResponse'];
237  
238 coerce 'ListDeviceConfigVersionsResponse',
239 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::ListDeviceConfigVersionsResponse'->new($_) };
240  
241 declare 'RepeatedListDeviceConfigVersionsResponse',
242 as ArrayRef[ListDeviceConfigVersionsResponse()];
243  
244 coerce 'RepeatedListDeviceConfigVersionsResponse',
245 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::ListDeviceConfigVersionsResponse'->new($_) } @$_ ] };
246  
247 declare 'MapStringListDeviceConfigVersionsResponse',
248 as HashRef[ListDeviceConfigVersionsResponse()];
249  
250 declare 'ListDeviceStatesRequest',
251 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::ListDeviceStatesRequest'];
252  
253 coerce 'ListDeviceStatesRequest',
254 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::ListDeviceStatesRequest'->new($_) };
255  
256 declare 'RepeatedListDeviceStatesRequest',
257 as ArrayRef[ListDeviceStatesRequest()];
258  
259 coerce 'RepeatedListDeviceStatesRequest',
260 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::ListDeviceStatesRequest'->new($_) } @$_ ] };
261  
262 declare 'MapStringListDeviceStatesRequest',
263 as HashRef[ListDeviceStatesRequest()];
264  
265 declare 'ListDeviceStatesResponse',
266 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::ListDeviceStatesResponse'];
267  
268 coerce 'ListDeviceStatesResponse',
269 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::ListDeviceStatesResponse'->new($_) };
270  
271 declare 'RepeatedListDeviceStatesResponse',
272 as ArrayRef[ListDeviceStatesResponse()];
273  
274 coerce 'RepeatedListDeviceStatesResponse',
275 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::ListDeviceStatesResponse'->new($_) } @$_ ] };
276  
277 declare 'MapStringListDeviceStatesResponse',
278 as HashRef[ListDeviceStatesResponse()];
279  
280 declare 'SendCommandToDeviceRequest',
281 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::SendCommandToDeviceRequest'];
282  
283 coerce 'SendCommandToDeviceRequest',
284 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::SendCommandToDeviceRequest'->new($_) };
285  
286 declare 'RepeatedSendCommandToDeviceRequest',
287 as ArrayRef[SendCommandToDeviceRequest()];
288  
289 coerce 'RepeatedSendCommandToDeviceRequest',
290 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::SendCommandToDeviceRequest'->new($_) } @$_ ] };
291  
292 declare 'MapStringSendCommandToDeviceRequest',
293 as HashRef[SendCommandToDeviceRequest()];
294  
295 declare 'SendCommandToDeviceResponse',
296 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::SendCommandToDeviceResponse'];
297  
298 coerce 'SendCommandToDeviceResponse',
299 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::SendCommandToDeviceResponse'->new($_) };
300  
301 declare 'RepeatedSendCommandToDeviceResponse',
302 as ArrayRef[SendCommandToDeviceResponse()];
303  
304 coerce 'RepeatedSendCommandToDeviceResponse',
305 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::SendCommandToDeviceResponse'->new($_) } @$_ ] };
306  
307 declare 'MapStringSendCommandToDeviceResponse',
308 as HashRef[SendCommandToDeviceResponse()];
309  
310 declare 'BindDeviceToGatewayRequest',
311 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::BindDeviceToGatewayRequest'];
312  
313 coerce 'BindDeviceToGatewayRequest',
314 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::BindDeviceToGatewayRequest'->new($_) };
315  
316 declare 'RepeatedBindDeviceToGatewayRequest',
317 as ArrayRef[BindDeviceToGatewayRequest()];
318  
319 coerce 'RepeatedBindDeviceToGatewayRequest',
320 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::BindDeviceToGatewayRequest'->new($_) } @$_ ] };
321  
322 declare 'MapStringBindDeviceToGatewayRequest',
323 as HashRef[BindDeviceToGatewayRequest()];
324  
325 declare 'BindDeviceToGatewayResponse',
326 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::BindDeviceToGatewayResponse'];
327  
328 coerce 'BindDeviceToGatewayResponse',
329 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::BindDeviceToGatewayResponse'->new($_) };
330  
331 declare 'RepeatedBindDeviceToGatewayResponse',
332 as ArrayRef[BindDeviceToGatewayResponse()];
333  
334 coerce 'RepeatedBindDeviceToGatewayResponse',
335 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::BindDeviceToGatewayResponse'->new($_) } @$_ ] };
336  
337 declare 'MapStringBindDeviceToGatewayResponse',
338 as HashRef[BindDeviceToGatewayResponse()];
339  
340 declare 'UnbindDeviceFromGatewayRequest',
341 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::UnbindDeviceFromGatewayRequest'];
342  
343 coerce 'UnbindDeviceFromGatewayRequest',
344 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::UnbindDeviceFromGatewayRequest'->new($_) };
345  
346 declare 'RepeatedUnbindDeviceFromGatewayRequest',
347 as ArrayRef[UnbindDeviceFromGatewayRequest()];
348  
349 coerce 'RepeatedUnbindDeviceFromGatewayRequest',
350 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::UnbindDeviceFromGatewayRequest'->new($_) } @$_ ] };
351  
352 declare 'MapStringUnbindDeviceFromGatewayRequest',
353 as HashRef[UnbindDeviceFromGatewayRequest()];
354  
355 declare 'UnbindDeviceFromGatewayResponse',
356 as InstanceOf['Google::Cloud::Iot::V1::DeviceManager::UnbindDeviceFromGatewayResponse'];
357  
358 coerce 'UnbindDeviceFromGatewayResponse',
359 from HashRef, via { 'Google::Cloud::Iot::V1::DeviceManager::UnbindDeviceFromGatewayResponse'->new($_) };
360  
361 declare 'RepeatedUnbindDeviceFromGatewayResponse',
362 as ArrayRef[UnbindDeviceFromGatewayResponse()];
363  
364 coerce 'RepeatedUnbindDeviceFromGatewayResponse',
365 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Iot::V1::DeviceManager::UnbindDeviceFromGatewayResponse'->new($_) } @$_ ] };
366  
367 declare 'MapStringUnbindDeviceFromGatewayResponse',
368 as HashRef[UnbindDeviceFromGatewayResponse()];
369  
370 1;
371  
372 __END__