V1/PhysicalSchema/Types.pm untested

filter: Statementstmt 0.0% 0 / 107 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 112 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::Datacatalog::V1::PhysicalSchema::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 'PhysicalSchema',
11 as InstanceOf['Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema'];
12  
13 coerce 'PhysicalSchema',
14 from HashRef, via { 'Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema'->new($_) };
15  
16 declare 'RepeatedPhysicalSchema',
17 as ArrayRef[PhysicalSchema()];
18  
19 coerce 'RepeatedPhysicalSchema',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema'->new($_) } @$_ ] };
21  
22 declare 'MapStringPhysicalSchema',
23 as HashRef[PhysicalSchema()];
24  
25 declare 'AvroSchema',
26 as InstanceOf['Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::AvroSchema'];
27  
28 coerce 'AvroSchema',
29 from HashRef, via { 'Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::AvroSchema'->new($_) };
30  
31 declare 'RepeatedAvroSchema',
32 as ArrayRef[AvroSchema()];
33  
34 coerce 'RepeatedAvroSchema',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::AvroSchema'->new($_) } @$_ ] };
36  
37 declare 'MapStringAvroSchema',
38 as HashRef[AvroSchema()];
39  
40 declare 'ThriftSchema',
41 as InstanceOf['Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::ThriftSchema'];
42  
43 coerce 'ThriftSchema',
44 from HashRef, via { 'Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::ThriftSchema'->new($_) };
45  
46 declare 'RepeatedThriftSchema',
47 as ArrayRef[ThriftSchema()];
48  
49 coerce 'RepeatedThriftSchema',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::ThriftSchema'->new($_) } @$_ ] };
51  
52 declare 'MapStringThriftSchema',
53 as HashRef[ThriftSchema()];
54  
55 declare 'ProtobufSchema',
56 as InstanceOf['Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::ProtobufSchema'];
57  
58 coerce 'ProtobufSchema',
59 from HashRef, via { 'Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::ProtobufSchema'->new($_) };
60  
61 declare 'RepeatedProtobufSchema',
62 as ArrayRef[ProtobufSchema()];
63  
64 coerce 'RepeatedProtobufSchema',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::ProtobufSchema'->new($_) } @$_ ] };
66  
67 declare 'MapStringProtobufSchema',
68 as HashRef[ProtobufSchema()];
69  
70 declare 'ParquetSchema',
71 as InstanceOf['Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::ParquetSchema'];
72  
73 coerce 'ParquetSchema',
74 from HashRef, via { 'Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::ParquetSchema'->new($_) };
75  
76 declare 'RepeatedParquetSchema',
77 as ArrayRef[ParquetSchema()];
78  
79 coerce 'RepeatedParquetSchema',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::ParquetSchema'->new($_) } @$_ ] };
81  
82 declare 'MapStringParquetSchema',
83 as HashRef[ParquetSchema()];
84  
85 declare 'OrcSchema',
86 as InstanceOf['Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::OrcSchema'];
87  
88 coerce 'OrcSchema',
89 from HashRef, via { 'Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::OrcSchema'->new($_) };
90  
91 declare 'RepeatedOrcSchema',
92 as ArrayRef[OrcSchema()];
93  
94 coerce 'RepeatedOrcSchema',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::OrcSchema'->new($_) } @$_ ] };
96  
97 declare 'MapStringOrcSchema',
98 as HashRef[OrcSchema()];
99  
100 declare 'CsvSchema',
101 as InstanceOf['Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::CsvSchema'];
102  
103 coerce 'CsvSchema',
104 from HashRef, via { 'Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::CsvSchema'->new($_) };
105  
106 declare 'RepeatedCsvSchema',
107 as ArrayRef[CsvSchema()];
108  
109 coerce 'RepeatedCsvSchema',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datacatalog::V1::PhysicalSchema::PhysicalSchema::CsvSchema'->new($_) } @$_ ] };
111  
112 declare 'MapStringCsvSchema',
113 as HashRef[CsvSchema()];
114  
115 1;
116  
117 __END__