V1/Connection/Types.pm untested

filter: Statementstmt 0.0% 0 / 319 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 324 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::Connectors::V1::Connection::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 'DataType',
11 as (Int | Str);
12  
13 declare 'ConnectionView',
14 as (Int | Str);
15  
16 declare 'Connection',
17 as InstanceOf['Google::Cloud::Connectors::V1::Connection::Connection'];
18  
19 coerce 'Connection',
20 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::Connection'->new($_) };
21  
22 declare 'RepeatedConnection',
23 as ArrayRef[Connection()];
24  
25 coerce 'RepeatedConnection',
26 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::Connection'->new($_) } @$_ ] };
27  
28 declare 'MapStringConnection',
29 as HashRef[Connection()];
30  
31 declare 'LabelsEntry',
32 as InstanceOf['Google::Cloud::Connectors::V1::Connection::Connection::LabelsEntry'];
33  
34 coerce 'LabelsEntry',
35 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::Connection::LabelsEntry'->new($_) };
36  
37 declare 'RepeatedLabelsEntry',
38 as ArrayRef[LabelsEntry()];
39  
40 coerce 'RepeatedLabelsEntry',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::Connection::LabelsEntry'->new($_) } @$_ ] };
42  
43 declare 'MapStringLabelsEntry',
44 as HashRef[LabelsEntry()];
45  
46 declare 'NodeConfig',
47 as InstanceOf['Google::Cloud::Connectors::V1::Connection::NodeConfig'];
48  
49 coerce 'NodeConfig',
50 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::NodeConfig'->new($_) };
51  
52 declare 'RepeatedNodeConfig',
53 as ArrayRef[NodeConfig()];
54  
55 coerce 'RepeatedNodeConfig',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::NodeConfig'->new($_) } @$_ ] };
57  
58 declare 'MapStringNodeConfig',
59 as HashRef[NodeConfig()];
60  
61 declare 'ConnectionSchemaMetadata',
62 as InstanceOf['Google::Cloud::Connectors::V1::Connection::ConnectionSchemaMetadata'];
63  
64 coerce 'ConnectionSchemaMetadata',
65 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::ConnectionSchemaMetadata'->new($_) };
66  
67 declare 'RepeatedConnectionSchemaMetadata',
68 as ArrayRef[ConnectionSchemaMetadata()];
69  
70 coerce 'RepeatedConnectionSchemaMetadata',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::ConnectionSchemaMetadata'->new($_) } @$_ ] };
72  
73 declare 'MapStringConnectionSchemaMetadata',
74 as HashRef[ConnectionSchemaMetadata()];
75  
76 declare 'State',
77 as (Int | Str);
78  
79 declare 'RuntimeEntitySchema',
80 as InstanceOf['Google::Cloud::Connectors::V1::Connection::RuntimeEntitySchema'];
81  
82 coerce 'RuntimeEntitySchema',
83 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::RuntimeEntitySchema'->new($_) };
84  
85 declare 'RepeatedRuntimeEntitySchema',
86 as ArrayRef[RuntimeEntitySchema()];
87  
88 coerce 'RepeatedRuntimeEntitySchema',
89 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::RuntimeEntitySchema'->new($_) } @$_ ] };
90  
91 declare 'MapStringRuntimeEntitySchema',
92 as HashRef[RuntimeEntitySchema()];
93  
94 declare 'Field',
95 as InstanceOf['Google::Cloud::Connectors::V1::Connection::RuntimeEntitySchema::Field'];
96  
97 coerce 'Field',
98 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::RuntimeEntitySchema::Field'->new($_) };
99  
100 declare 'RepeatedField',
101 as ArrayRef[Field()];
102  
103 coerce 'RepeatedField',
104 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::RuntimeEntitySchema::Field'->new($_) } @$_ ] };
105  
106 declare 'MapStringField',
107 as HashRef[Field()];
108  
109 declare 'RuntimeActionSchema',
110 as InstanceOf['Google::Cloud::Connectors::V1::Connection::RuntimeActionSchema'];
111  
112 coerce 'RuntimeActionSchema',
113 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::RuntimeActionSchema'->new($_) };
114  
115 declare 'RepeatedRuntimeActionSchema',
116 as ArrayRef[RuntimeActionSchema()];
117  
118 coerce 'RepeatedRuntimeActionSchema',
119 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::RuntimeActionSchema'->new($_) } @$_ ] };
120  
121 declare 'MapStringRuntimeActionSchema',
122 as HashRef[RuntimeActionSchema()];
123  
124 declare 'InputParameter',
125 as InstanceOf['Google::Cloud::Connectors::V1::Connection::RuntimeActionSchema::InputParameter'];
126  
127 coerce 'InputParameter',
128 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::RuntimeActionSchema::InputParameter'->new($_) };
129  
130 declare 'RepeatedInputParameter',
131 as ArrayRef[InputParameter()];
132  
133 coerce 'RepeatedInputParameter',
134 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::RuntimeActionSchema::InputParameter'->new($_) } @$_ ] };
135  
136 declare 'MapStringInputParameter',
137 as HashRef[InputParameter()];
138  
139 declare 'ResultMetadata',
140 as InstanceOf['Google::Cloud::Connectors::V1::Connection::RuntimeActionSchema::ResultMetadata'];
141  
142 coerce 'ResultMetadata',
143 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::RuntimeActionSchema::ResultMetadata'->new($_) };
144  
145 declare 'RepeatedResultMetadata',
146 as ArrayRef[ResultMetadata()];
147  
148 coerce 'RepeatedResultMetadata',
149 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::RuntimeActionSchema::ResultMetadata'->new($_) } @$_ ] };
150  
151 declare 'MapStringResultMetadata',
152 as HashRef[ResultMetadata()];
153  
154 declare 'LockConfig',
155 as InstanceOf['Google::Cloud::Connectors::V1::Connection::LockConfig'];
156  
157 coerce 'LockConfig',
158 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::LockConfig'->new($_) };
159  
160 declare 'RepeatedLockConfig',
161 as ArrayRef[LockConfig()];
162  
163 coerce 'RepeatedLockConfig',
164 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::LockConfig'->new($_) } @$_ ] };
165  
166 declare 'MapStringLockConfig',
167 as HashRef[LockConfig()];
168  
169 declare 'ListConnectionsRequest',
170 as InstanceOf['Google::Cloud::Connectors::V1::Connection::ListConnectionsRequest'];
171  
172 coerce 'ListConnectionsRequest',
173 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::ListConnectionsRequest'->new($_) };
174  
175 declare 'RepeatedListConnectionsRequest',
176 as ArrayRef[ListConnectionsRequest()];
177  
178 coerce 'RepeatedListConnectionsRequest',
179 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::ListConnectionsRequest'->new($_) } @$_ ] };
180  
181 declare 'MapStringListConnectionsRequest',
182 as HashRef[ListConnectionsRequest()];
183  
184 declare 'ListConnectionsResponse',
185 as InstanceOf['Google::Cloud::Connectors::V1::Connection::ListConnectionsResponse'];
186  
187 coerce 'ListConnectionsResponse',
188 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::ListConnectionsResponse'->new($_) };
189  
190 declare 'RepeatedListConnectionsResponse',
191 as ArrayRef[ListConnectionsResponse()];
192  
193 coerce 'RepeatedListConnectionsResponse',
194 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::ListConnectionsResponse'->new($_) } @$_ ] };
195  
196 declare 'MapStringListConnectionsResponse',
197 as HashRef[ListConnectionsResponse()];
198  
199 declare 'GetConnectionRequest',
200 as InstanceOf['Google::Cloud::Connectors::V1::Connection::GetConnectionRequest'];
201  
202 coerce 'GetConnectionRequest',
203 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::GetConnectionRequest'->new($_) };
204  
205 declare 'RepeatedGetConnectionRequest',
206 as ArrayRef[GetConnectionRequest()];
207  
208 coerce 'RepeatedGetConnectionRequest',
209 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::GetConnectionRequest'->new($_) } @$_ ] };
210  
211 declare 'MapStringGetConnectionRequest',
212 as HashRef[GetConnectionRequest()];
213  
214 declare 'CreateConnectionRequest',
215 as InstanceOf['Google::Cloud::Connectors::V1::Connection::CreateConnectionRequest'];
216  
217 coerce 'CreateConnectionRequest',
218 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::CreateConnectionRequest'->new($_) };
219  
220 declare 'RepeatedCreateConnectionRequest',
221 as ArrayRef[CreateConnectionRequest()];
222  
223 coerce 'RepeatedCreateConnectionRequest',
224 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::CreateConnectionRequest'->new($_) } @$_ ] };
225  
226 declare 'MapStringCreateConnectionRequest',
227 as HashRef[CreateConnectionRequest()];
228  
229 declare 'UpdateConnectionRequest',
230 as InstanceOf['Google::Cloud::Connectors::V1::Connection::UpdateConnectionRequest'];
231  
232 coerce 'UpdateConnectionRequest',
233 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::UpdateConnectionRequest'->new($_) };
234  
235 declare 'RepeatedUpdateConnectionRequest',
236 as ArrayRef[UpdateConnectionRequest()];
237  
238 coerce 'RepeatedUpdateConnectionRequest',
239 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::UpdateConnectionRequest'->new($_) } @$_ ] };
240  
241 declare 'MapStringUpdateConnectionRequest',
242 as HashRef[UpdateConnectionRequest()];
243  
244 declare 'DeleteConnectionRequest',
245 as InstanceOf['Google::Cloud::Connectors::V1::Connection::DeleteConnectionRequest'];
246  
247 coerce 'DeleteConnectionRequest',
248 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::DeleteConnectionRequest'->new($_) };
249  
250 declare 'RepeatedDeleteConnectionRequest',
251 as ArrayRef[DeleteConnectionRequest()];
252  
253 coerce 'RepeatedDeleteConnectionRequest',
254 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::DeleteConnectionRequest'->new($_) } @$_ ] };
255  
256 declare 'MapStringDeleteConnectionRequest',
257 as HashRef[DeleteConnectionRequest()];
258  
259 declare 'GetConnectionSchemaMetadataRequest',
260 as InstanceOf['Google::Cloud::Connectors::V1::Connection::GetConnectionSchemaMetadataRequest'];
261  
262 coerce 'GetConnectionSchemaMetadataRequest',
263 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::GetConnectionSchemaMetadataRequest'->new($_) };
264  
265 declare 'RepeatedGetConnectionSchemaMetadataRequest',
266 as ArrayRef[GetConnectionSchemaMetadataRequest()];
267  
268 coerce 'RepeatedGetConnectionSchemaMetadataRequest',
269 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::GetConnectionSchemaMetadataRequest'->new($_) } @$_ ] };
270  
271 declare 'MapStringGetConnectionSchemaMetadataRequest',
272 as HashRef[GetConnectionSchemaMetadataRequest()];
273  
274 declare 'RefreshConnectionSchemaMetadataRequest',
275 as InstanceOf['Google::Cloud::Connectors::V1::Connection::RefreshConnectionSchemaMetadataRequest'];
276  
277 coerce 'RefreshConnectionSchemaMetadataRequest',
278 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::RefreshConnectionSchemaMetadataRequest'->new($_) };
279  
280 declare 'RepeatedRefreshConnectionSchemaMetadataRequest',
281 as ArrayRef[RefreshConnectionSchemaMetadataRequest()];
282  
283 coerce 'RepeatedRefreshConnectionSchemaMetadataRequest',
284 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::RefreshConnectionSchemaMetadataRequest'->new($_) } @$_ ] };
285  
286 declare 'MapStringRefreshConnectionSchemaMetadataRequest',
287 as HashRef[RefreshConnectionSchemaMetadataRequest()];
288  
289 declare 'ListRuntimeEntitySchemasRequest',
290 as InstanceOf['Google::Cloud::Connectors::V1::Connection::ListRuntimeEntitySchemasRequest'];
291  
292 coerce 'ListRuntimeEntitySchemasRequest',
293 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::ListRuntimeEntitySchemasRequest'->new($_) };
294  
295 declare 'RepeatedListRuntimeEntitySchemasRequest',
296 as ArrayRef[ListRuntimeEntitySchemasRequest()];
297  
298 coerce 'RepeatedListRuntimeEntitySchemasRequest',
299 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::ListRuntimeEntitySchemasRequest'->new($_) } @$_ ] };
300  
301 declare 'MapStringListRuntimeEntitySchemasRequest',
302 as HashRef[ListRuntimeEntitySchemasRequest()];
303  
304 declare 'ListRuntimeEntitySchemasResponse',
305 as InstanceOf['Google::Cloud::Connectors::V1::Connection::ListRuntimeEntitySchemasResponse'];
306  
307 coerce 'ListRuntimeEntitySchemasResponse',
308 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::ListRuntimeEntitySchemasResponse'->new($_) };
309  
310 declare 'RepeatedListRuntimeEntitySchemasResponse',
311 as ArrayRef[ListRuntimeEntitySchemasResponse()];
312  
313 coerce 'RepeatedListRuntimeEntitySchemasResponse',
314 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::ListRuntimeEntitySchemasResponse'->new($_) } @$_ ] };
315  
316 declare 'MapStringListRuntimeEntitySchemasResponse',
317 as HashRef[ListRuntimeEntitySchemasResponse()];
318  
319 declare 'ListRuntimeActionSchemasRequest',
320 as InstanceOf['Google::Cloud::Connectors::V1::Connection::ListRuntimeActionSchemasRequest'];
321  
322 coerce 'ListRuntimeActionSchemasRequest',
323 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::ListRuntimeActionSchemasRequest'->new($_) };
324  
325 declare 'RepeatedListRuntimeActionSchemasRequest',
326 as ArrayRef[ListRuntimeActionSchemasRequest()];
327  
328 coerce 'RepeatedListRuntimeActionSchemasRequest',
329 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::ListRuntimeActionSchemasRequest'->new($_) } @$_ ] };
330  
331 declare 'MapStringListRuntimeActionSchemasRequest',
332 as HashRef[ListRuntimeActionSchemasRequest()];
333  
334 declare 'ListRuntimeActionSchemasResponse',
335 as InstanceOf['Google::Cloud::Connectors::V1::Connection::ListRuntimeActionSchemasResponse'];
336  
337 coerce 'ListRuntimeActionSchemasResponse',
338 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::ListRuntimeActionSchemasResponse'->new($_) };
339  
340 declare 'RepeatedListRuntimeActionSchemasResponse',
341 as ArrayRef[ListRuntimeActionSchemasResponse()];
342  
343 coerce 'RepeatedListRuntimeActionSchemasResponse',
344 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::ListRuntimeActionSchemasResponse'->new($_) } @$_ ] };
345  
346 declare 'MapStringListRuntimeActionSchemasResponse',
347 as HashRef[ListRuntimeActionSchemasResponse()];
348  
349 declare 'ConnectionStatus',
350 as InstanceOf['Google::Cloud::Connectors::V1::Connection::ConnectionStatus'];
351  
352 coerce 'ConnectionStatus',
353 from HashRef, via { 'Google::Cloud::Connectors::V1::Connection::ConnectionStatus'->new($_) };
354  
355 declare 'RepeatedConnectionStatus',
356 as ArrayRef[ConnectionStatus()];
357  
358 coerce 'RepeatedConnectionStatus',
359 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Connectors::V1::Connection::ConnectionStatus'->new($_) } @$_ ] };
360  
361 declare 'MapStringConnectionStatus',
362 as HashRef[ConnectionStatus()];
363  
364 declare 'State',
365 as (Int | Str);
366  
367 1;
368  
369 __END__