V1/Metadata/Types.pm untested

filter: Statementstmt 0.0% 0 / 325 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 330 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::Dataplex::V1::Metadata::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 'StorageSystem',
11 as (Int | Str);
12  
13 declare 'CreateEntityRequest',
14 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::CreateEntityRequest'];
15  
16 coerce 'CreateEntityRequest',
17 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::CreateEntityRequest'->new($_) };
18  
19 declare 'RepeatedCreateEntityRequest',
20 as ArrayRef[CreateEntityRequest()];
21  
22 coerce 'RepeatedCreateEntityRequest',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::CreateEntityRequest'->new($_) } @$_ ] };
24  
25 declare 'MapStringCreateEntityRequest',
26 as HashRef[CreateEntityRequest()];
27  
28 declare 'UpdateEntityRequest',
29 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::UpdateEntityRequest'];
30  
31 coerce 'UpdateEntityRequest',
32 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::UpdateEntityRequest'->new($_) };
33  
34 declare 'RepeatedUpdateEntityRequest',
35 as ArrayRef[UpdateEntityRequest()];
36  
37 coerce 'RepeatedUpdateEntityRequest',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::UpdateEntityRequest'->new($_) } @$_ ] };
39  
40 declare 'MapStringUpdateEntityRequest',
41 as HashRef[UpdateEntityRequest()];
42  
43 declare 'DeleteEntityRequest',
44 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::DeleteEntityRequest'];
45  
46 coerce 'DeleteEntityRequest',
47 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::DeleteEntityRequest'->new($_) };
48  
49 declare 'RepeatedDeleteEntityRequest',
50 as ArrayRef[DeleteEntityRequest()];
51  
52 coerce 'RepeatedDeleteEntityRequest',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::DeleteEntityRequest'->new($_) } @$_ ] };
54  
55 declare 'MapStringDeleteEntityRequest',
56 as HashRef[DeleteEntityRequest()];
57  
58 declare 'ListEntitiesRequest',
59 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::ListEntitiesRequest'];
60  
61 coerce 'ListEntitiesRequest',
62 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::ListEntitiesRequest'->new($_) };
63  
64 declare 'RepeatedListEntitiesRequest',
65 as ArrayRef[ListEntitiesRequest()];
66  
67 coerce 'RepeatedListEntitiesRequest',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::ListEntitiesRequest'->new($_) } @$_ ] };
69  
70 declare 'MapStringListEntitiesRequest',
71 as HashRef[ListEntitiesRequest()];
72  
73 declare 'EntityView',
74 as (Int | Str);
75  
76 declare 'ListEntitiesResponse',
77 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::ListEntitiesResponse'];
78  
79 coerce 'ListEntitiesResponse',
80 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::ListEntitiesResponse'->new($_) };
81  
82 declare 'RepeatedListEntitiesResponse',
83 as ArrayRef[ListEntitiesResponse()];
84  
85 coerce 'RepeatedListEntitiesResponse',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::ListEntitiesResponse'->new($_) } @$_ ] };
87  
88 declare 'MapStringListEntitiesResponse',
89 as HashRef[ListEntitiesResponse()];
90  
91 declare 'GetEntityRequest',
92 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::GetEntityRequest'];
93  
94 coerce 'GetEntityRequest',
95 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::GetEntityRequest'->new($_) };
96  
97 declare 'RepeatedGetEntityRequest',
98 as ArrayRef[GetEntityRequest()];
99  
100 coerce 'RepeatedGetEntityRequest',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::GetEntityRequest'->new($_) } @$_ ] };
102  
103 declare 'MapStringGetEntityRequest',
104 as HashRef[GetEntityRequest()];
105  
106 declare 'EntityView',
107 as (Int | Str);
108  
109 declare 'ListPartitionsRequest',
110 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::ListPartitionsRequest'];
111  
112 coerce 'ListPartitionsRequest',
113 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::ListPartitionsRequest'->new($_) };
114  
115 declare 'RepeatedListPartitionsRequest',
116 as ArrayRef[ListPartitionsRequest()];
117  
118 coerce 'RepeatedListPartitionsRequest',
119 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::ListPartitionsRequest'->new($_) } @$_ ] };
120  
121 declare 'MapStringListPartitionsRequest',
122 as HashRef[ListPartitionsRequest()];
123  
124 declare 'CreatePartitionRequest',
125 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::CreatePartitionRequest'];
126  
127 coerce 'CreatePartitionRequest',
128 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::CreatePartitionRequest'->new($_) };
129  
130 declare 'RepeatedCreatePartitionRequest',
131 as ArrayRef[CreatePartitionRequest()];
132  
133 coerce 'RepeatedCreatePartitionRequest',
134 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::CreatePartitionRequest'->new($_) } @$_ ] };
135  
136 declare 'MapStringCreatePartitionRequest',
137 as HashRef[CreatePartitionRequest()];
138  
139 declare 'DeletePartitionRequest',
140 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::DeletePartitionRequest'];
141  
142 coerce 'DeletePartitionRequest',
143 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::DeletePartitionRequest'->new($_) };
144  
145 declare 'RepeatedDeletePartitionRequest',
146 as ArrayRef[DeletePartitionRequest()];
147  
148 coerce 'RepeatedDeletePartitionRequest',
149 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::DeletePartitionRequest'->new($_) } @$_ ] };
150  
151 declare 'MapStringDeletePartitionRequest',
152 as HashRef[DeletePartitionRequest()];
153  
154 declare 'ListPartitionsResponse',
155 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::ListPartitionsResponse'];
156  
157 coerce 'ListPartitionsResponse',
158 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::ListPartitionsResponse'->new($_) };
159  
160 declare 'RepeatedListPartitionsResponse',
161 as ArrayRef[ListPartitionsResponse()];
162  
163 coerce 'RepeatedListPartitionsResponse',
164 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::ListPartitionsResponse'->new($_) } @$_ ] };
165  
166 declare 'MapStringListPartitionsResponse',
167 as HashRef[ListPartitionsResponse()];
168  
169 declare 'GetPartitionRequest',
170 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::GetPartitionRequest'];
171  
172 coerce 'GetPartitionRequest',
173 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::GetPartitionRequest'->new($_) };
174  
175 declare 'RepeatedGetPartitionRequest',
176 as ArrayRef[GetPartitionRequest()];
177  
178 coerce 'RepeatedGetPartitionRequest',
179 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::GetPartitionRequest'->new($_) } @$_ ] };
180  
181 declare 'MapStringGetPartitionRequest',
182 as HashRef[GetPartitionRequest()];
183  
184 declare 'Entity',
185 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::Entity'];
186  
187 coerce 'Entity',
188 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::Entity'->new($_) };
189  
190 declare 'RepeatedEntity',
191 as ArrayRef[Entity()];
192  
193 coerce 'RepeatedEntity',
194 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::Entity'->new($_) } @$_ ] };
195  
196 declare 'MapStringEntity',
197 as HashRef[Entity()];
198  
199 declare 'Type',
200 as (Int | Str);
201  
202 declare 'CompatibilityStatus',
203 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::Entity::CompatibilityStatus'];
204  
205 coerce 'CompatibilityStatus',
206 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::Entity::CompatibilityStatus'->new($_) };
207  
208 declare 'RepeatedCompatibilityStatus',
209 as ArrayRef[CompatibilityStatus()];
210  
211 coerce 'RepeatedCompatibilityStatus',
212 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::Entity::CompatibilityStatus'->new($_) } @$_ ] };
213  
214 declare 'MapStringCompatibilityStatus',
215 as HashRef[CompatibilityStatus()];
216  
217 declare 'Compatibility',
218 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::Entity::CompatibilityStatus::Compatibility'];
219  
220 coerce 'Compatibility',
221 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::Entity::CompatibilityStatus::Compatibility'->new($_) };
222  
223 declare 'RepeatedCompatibility',
224 as ArrayRef[Compatibility()];
225  
226 coerce 'RepeatedCompatibility',
227 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::Entity::CompatibilityStatus::Compatibility'->new($_) } @$_ ] };
228  
229 declare 'MapStringCompatibility',
230 as HashRef[Compatibility()];
231  
232 declare 'Partition',
233 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::Partition'];
234  
235 coerce 'Partition',
236 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::Partition'->new($_) };
237  
238 declare 'RepeatedPartition',
239 as ArrayRef[Partition()];
240  
241 coerce 'RepeatedPartition',
242 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::Partition'->new($_) } @$_ ] };
243  
244 declare 'MapStringPartition',
245 as HashRef[Partition()];
246  
247 declare 'Schema',
248 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::Schema'];
249  
250 coerce 'Schema',
251 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::Schema'->new($_) };
252  
253 declare 'RepeatedSchema',
254 as ArrayRef[Schema()];
255  
256 coerce 'RepeatedSchema',
257 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::Schema'->new($_) } @$_ ] };
258  
259 declare 'MapStringSchema',
260 as HashRef[Schema()];
261  
262 declare 'Type',
263 as (Int | Str);
264  
265 declare 'Mode',
266 as (Int | Str);
267  
268 declare 'PartitionStyle',
269 as (Int | Str);
270  
271 declare 'SchemaField',
272 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::Schema::SchemaField'];
273  
274 coerce 'SchemaField',
275 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::Schema::SchemaField'->new($_) };
276  
277 declare 'RepeatedSchemaField',
278 as ArrayRef[SchemaField()];
279  
280 coerce 'RepeatedSchemaField',
281 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::Schema::SchemaField'->new($_) } @$_ ] };
282  
283 declare 'MapStringSchemaField',
284 as HashRef[SchemaField()];
285  
286 declare 'PartitionField',
287 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::Schema::PartitionField'];
288  
289 coerce 'PartitionField',
290 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::Schema::PartitionField'->new($_) };
291  
292 declare 'RepeatedPartitionField',
293 as ArrayRef[PartitionField()];
294  
295 coerce 'RepeatedPartitionField',
296 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::Schema::PartitionField'->new($_) } @$_ ] };
297  
298 declare 'MapStringPartitionField',
299 as HashRef[PartitionField()];
300  
301 declare 'StorageFormat',
302 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::StorageFormat'];
303  
304 coerce 'StorageFormat',
305 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::StorageFormat'->new($_) };
306  
307 declare 'RepeatedStorageFormat',
308 as ArrayRef[StorageFormat()];
309  
310 coerce 'RepeatedStorageFormat',
311 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::StorageFormat'->new($_) } @$_ ] };
312  
313 declare 'MapStringStorageFormat',
314 as HashRef[StorageFormat()];
315  
316 declare 'Format',
317 as (Int | Str);
318  
319 declare 'CompressionFormat',
320 as (Int | Str);
321  
322 declare 'CsvOptions',
323 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::StorageFormat::CsvOptions'];
324  
325 coerce 'CsvOptions',
326 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::StorageFormat::CsvOptions'->new($_) };
327  
328 declare 'RepeatedCsvOptions',
329 as ArrayRef[CsvOptions()];
330  
331 coerce 'RepeatedCsvOptions',
332 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::StorageFormat::CsvOptions'->new($_) } @$_ ] };
333  
334 declare 'MapStringCsvOptions',
335 as HashRef[CsvOptions()];
336  
337 declare 'JsonOptions',
338 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::StorageFormat::JsonOptions'];
339  
340 coerce 'JsonOptions',
341 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::StorageFormat::JsonOptions'->new($_) };
342  
343 declare 'RepeatedJsonOptions',
344 as ArrayRef[JsonOptions()];
345  
346 coerce 'RepeatedJsonOptions',
347 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::StorageFormat::JsonOptions'->new($_) } @$_ ] };
348  
349 declare 'MapStringJsonOptions',
350 as HashRef[JsonOptions()];
351  
352 declare 'IcebergOptions',
353 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::StorageFormat::IcebergOptions'];
354  
355 coerce 'IcebergOptions',
356 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::StorageFormat::IcebergOptions'->new($_) };
357  
358 declare 'RepeatedIcebergOptions',
359 as ArrayRef[IcebergOptions()];
360  
361 coerce 'RepeatedIcebergOptions',
362 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::StorageFormat::IcebergOptions'->new($_) } @$_ ] };
363  
364 declare 'MapStringIcebergOptions',
365 as HashRef[IcebergOptions()];
366  
367 declare 'StorageAccess',
368 as InstanceOf['Google::Cloud::Dataplex::V1::Metadata::StorageAccess'];
369  
370 coerce 'StorageAccess',
371 from HashRef, via { 'Google::Cloud::Dataplex::V1::Metadata::StorageAccess'->new($_) };
372  
373 declare 'RepeatedStorageAccess',
374 as ArrayRef[StorageAccess()];
375  
376 coerce 'RepeatedStorageAccess',
377 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Metadata::StorageAccess'->new($_) } @$_ ] };
378  
379 declare 'MapStringStorageAccess',
380 as HashRef[StorageAccess()];
381  
382 declare 'AccessMode',
383 as (Int | Str);
384  
385 1;
386  
387 __END__