V1/MetastoreFederation/Types.pm untested

filter: Statementstmt 0.0% 0 / 148 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 153 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::Metastore::V1::MetastoreFederation::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 'Federation',
11 as InstanceOf['Google::Cloud::Metastore::V1::MetastoreFederation::Federation'];
12  
13 coerce 'Federation',
14 from HashRef, via { 'Google::Cloud::Metastore::V1::MetastoreFederation::Federation'->new($_) };
15  
16 declare 'RepeatedFederation',
17 as ArrayRef[Federation()];
18  
19 coerce 'RepeatedFederation',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::MetastoreFederation::Federation'->new($_) } @$_ ] };
21  
22 declare 'MapStringFederation',
23 as HashRef[Federation()];
24  
25 declare 'State',
26 as (Int | Str);
27  
28 declare 'LabelsEntry',
29 as InstanceOf['Google::Cloud::Metastore::V1::MetastoreFederation::Federation::LabelsEntry'];
30  
31 coerce 'LabelsEntry',
32 from HashRef, via { 'Google::Cloud::Metastore::V1::MetastoreFederation::Federation::LabelsEntry'->new($_) };
33  
34 declare 'RepeatedLabelsEntry',
35 as ArrayRef[LabelsEntry()];
36  
37 coerce 'RepeatedLabelsEntry',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::MetastoreFederation::Federation::LabelsEntry'->new($_) } @$_ ] };
39  
40 declare 'MapStringLabelsEntry',
41 as HashRef[LabelsEntry()];
42  
43 declare 'BackendMetastoresEntry',
44 as InstanceOf['Google::Cloud::Metastore::V1::MetastoreFederation::Federation::BackendMetastoresEntry'];
45  
46 coerce 'BackendMetastoresEntry',
47 from HashRef, via { 'Google::Cloud::Metastore::V1::MetastoreFederation::Federation::BackendMetastoresEntry'->new($_) };
48  
49 declare 'RepeatedBackendMetastoresEntry',
50 as ArrayRef[BackendMetastoresEntry()];
51  
52 coerce 'RepeatedBackendMetastoresEntry',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::MetastoreFederation::Federation::BackendMetastoresEntry'->new($_) } @$_ ] };
54  
55 declare 'MapStringBackendMetastoresEntry',
56 as HashRef[BackendMetastoresEntry()];
57  
58 declare 'BackendMetastore',
59 as InstanceOf['Google::Cloud::Metastore::V1::MetastoreFederation::BackendMetastore'];
60  
61 coerce 'BackendMetastore',
62 from HashRef, via { 'Google::Cloud::Metastore::V1::MetastoreFederation::BackendMetastore'->new($_) };
63  
64 declare 'RepeatedBackendMetastore',
65 as ArrayRef[BackendMetastore()];
66  
67 coerce 'RepeatedBackendMetastore',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::MetastoreFederation::BackendMetastore'->new($_) } @$_ ] };
69  
70 declare 'MapStringBackendMetastore',
71 as HashRef[BackendMetastore()];
72  
73 declare 'MetastoreType',
74 as (Int | Str);
75  
76 declare 'ListFederationsRequest',
77 as InstanceOf['Google::Cloud::Metastore::V1::MetastoreFederation::ListFederationsRequest'];
78  
79 coerce 'ListFederationsRequest',
80 from HashRef, via { 'Google::Cloud::Metastore::V1::MetastoreFederation::ListFederationsRequest'->new($_) };
81  
82 declare 'RepeatedListFederationsRequest',
83 as ArrayRef[ListFederationsRequest()];
84  
85 coerce 'RepeatedListFederationsRequest',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::MetastoreFederation::ListFederationsRequest'->new($_) } @$_ ] };
87  
88 declare 'MapStringListFederationsRequest',
89 as HashRef[ListFederationsRequest()];
90  
91 declare 'ListFederationsResponse',
92 as InstanceOf['Google::Cloud::Metastore::V1::MetastoreFederation::ListFederationsResponse'];
93  
94 coerce 'ListFederationsResponse',
95 from HashRef, via { 'Google::Cloud::Metastore::V1::MetastoreFederation::ListFederationsResponse'->new($_) };
96  
97 declare 'RepeatedListFederationsResponse',
98 as ArrayRef[ListFederationsResponse()];
99  
100 coerce 'RepeatedListFederationsResponse',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::MetastoreFederation::ListFederationsResponse'->new($_) } @$_ ] };
102  
103 declare 'MapStringListFederationsResponse',
104 as HashRef[ListFederationsResponse()];
105  
106 declare 'GetFederationRequest',
107 as InstanceOf['Google::Cloud::Metastore::V1::MetastoreFederation::GetFederationRequest'];
108  
109 coerce 'GetFederationRequest',
110 from HashRef, via { 'Google::Cloud::Metastore::V1::MetastoreFederation::GetFederationRequest'->new($_) };
111  
112 declare 'RepeatedGetFederationRequest',
113 as ArrayRef[GetFederationRequest()];
114  
115 coerce 'RepeatedGetFederationRequest',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::MetastoreFederation::GetFederationRequest'->new($_) } @$_ ] };
117  
118 declare 'MapStringGetFederationRequest',
119 as HashRef[GetFederationRequest()];
120  
121 declare 'CreateFederationRequest',
122 as InstanceOf['Google::Cloud::Metastore::V1::MetastoreFederation::CreateFederationRequest'];
123  
124 coerce 'CreateFederationRequest',
125 from HashRef, via { 'Google::Cloud::Metastore::V1::MetastoreFederation::CreateFederationRequest'->new($_) };
126  
127 declare 'RepeatedCreateFederationRequest',
128 as ArrayRef[CreateFederationRequest()];
129  
130 coerce 'RepeatedCreateFederationRequest',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::MetastoreFederation::CreateFederationRequest'->new($_) } @$_ ] };
132  
133 declare 'MapStringCreateFederationRequest',
134 as HashRef[CreateFederationRequest()];
135  
136 declare 'UpdateFederationRequest',
137 as InstanceOf['Google::Cloud::Metastore::V1::MetastoreFederation::UpdateFederationRequest'];
138  
139 coerce 'UpdateFederationRequest',
140 from HashRef, via { 'Google::Cloud::Metastore::V1::MetastoreFederation::UpdateFederationRequest'->new($_) };
141  
142 declare 'RepeatedUpdateFederationRequest',
143 as ArrayRef[UpdateFederationRequest()];
144  
145 coerce 'RepeatedUpdateFederationRequest',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::MetastoreFederation::UpdateFederationRequest'->new($_) } @$_ ] };
147  
148 declare 'MapStringUpdateFederationRequest',
149 as HashRef[UpdateFederationRequest()];
150  
151 declare 'DeleteFederationRequest',
152 as InstanceOf['Google::Cloud::Metastore::V1::MetastoreFederation::DeleteFederationRequest'];
153  
154 coerce 'DeleteFederationRequest',
155 from HashRef, via { 'Google::Cloud::Metastore::V1::MetastoreFederation::DeleteFederationRequest'->new($_) };
156  
157 declare 'RepeatedDeleteFederationRequest',
158 as ArrayRef[DeleteFederationRequest()];
159  
160 coerce 'RepeatedDeleteFederationRequest',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Metastore::V1::MetastoreFederation::DeleteFederationRequest'->new($_) } @$_ ] };
162  
163 declare 'MapStringDeleteFederationRequest',
164 as HashRef[DeleteFederationRequest()];
165  
166 1;
167  
168 __END__