V1/Analyze/Types.pm untested

filter: Statementstmt 0.0% 0 / 200 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 205 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::Analyze::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 'Environment',
11 as InstanceOf['Google::Cloud::Dataplex::V1::Analyze::Environment'];
12  
13 coerce 'Environment',
14 from HashRef, via { 'Google::Cloud::Dataplex::V1::Analyze::Environment'->new($_) };
15  
16 declare 'RepeatedEnvironment',
17 as ArrayRef[Environment()];
18  
19 coerce 'RepeatedEnvironment',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Analyze::Environment'->new($_) } @$_ ] };
21  
22 declare 'MapStringEnvironment',
23 as HashRef[Environment()];
24  
25 declare 'InfrastructureSpec',
26 as InstanceOf['Google::Cloud::Dataplex::V1::Analyze::Environment::InfrastructureSpec'];
27  
28 coerce 'InfrastructureSpec',
29 from HashRef, via { 'Google::Cloud::Dataplex::V1::Analyze::Environment::InfrastructureSpec'->new($_) };
30  
31 declare 'RepeatedInfrastructureSpec',
32 as ArrayRef[InfrastructureSpec()];
33  
34 coerce 'RepeatedInfrastructureSpec',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Analyze::Environment::InfrastructureSpec'->new($_) } @$_ ] };
36  
37 declare 'MapStringInfrastructureSpec',
38 as HashRef[InfrastructureSpec()];
39  
40 declare 'ComputeResources',
41 as InstanceOf['Google::Cloud::Dataplex::V1::Analyze::Environment::InfrastructureSpec::ComputeResources'];
42  
43 coerce 'ComputeResources',
44 from HashRef, via { 'Google::Cloud::Dataplex::V1::Analyze::Environment::InfrastructureSpec::ComputeResources'->new($_) };
45  
46 declare 'RepeatedComputeResources',
47 as ArrayRef[ComputeResources()];
48  
49 coerce 'RepeatedComputeResources',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Analyze::Environment::InfrastructureSpec::ComputeResources'->new($_) } @$_ ] };
51  
52 declare 'MapStringComputeResources',
53 as HashRef[ComputeResources()];
54  
55 declare 'OsImageRuntime',
56 as InstanceOf['Google::Cloud::Dataplex::V1::Analyze::Environment::InfrastructureSpec::OsImageRuntime'];
57  
58 coerce 'OsImageRuntime',
59 from HashRef, via { 'Google::Cloud::Dataplex::V1::Analyze::Environment::InfrastructureSpec::OsImageRuntime'->new($_) };
60  
61 declare 'RepeatedOsImageRuntime',
62 as ArrayRef[OsImageRuntime()];
63  
64 coerce 'RepeatedOsImageRuntime',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Analyze::Environment::InfrastructureSpec::OsImageRuntime'->new($_) } @$_ ] };
66  
67 declare 'MapStringOsImageRuntime',
68 as HashRef[OsImageRuntime()];
69  
70 declare 'PropertiesEntry',
71 as InstanceOf['Google::Cloud::Dataplex::V1::Analyze::Environment::InfrastructureSpec::OsImageRuntime::PropertiesEntry'];
72  
73 coerce 'PropertiesEntry',
74 from HashRef, via { 'Google::Cloud::Dataplex::V1::Analyze::Environment::InfrastructureSpec::OsImageRuntime::PropertiesEntry'->new($_) };
75  
76 declare 'RepeatedPropertiesEntry',
77 as ArrayRef[PropertiesEntry()];
78  
79 coerce 'RepeatedPropertiesEntry',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Analyze::Environment::InfrastructureSpec::OsImageRuntime::PropertiesEntry'->new($_) } @$_ ] };
81  
82 declare 'MapStringPropertiesEntry',
83 as HashRef[PropertiesEntry()];
84  
85 declare 'SessionSpec',
86 as InstanceOf['Google::Cloud::Dataplex::V1::Analyze::Environment::SessionSpec'];
87  
88 coerce 'SessionSpec',
89 from HashRef, via { 'Google::Cloud::Dataplex::V1::Analyze::Environment::SessionSpec'->new($_) };
90  
91 declare 'RepeatedSessionSpec',
92 as ArrayRef[SessionSpec()];
93  
94 coerce 'RepeatedSessionSpec',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Analyze::Environment::SessionSpec'->new($_) } @$_ ] };
96  
97 declare 'MapStringSessionSpec',
98 as HashRef[SessionSpec()];
99  
100 declare 'SessionStatus',
101 as InstanceOf['Google::Cloud::Dataplex::V1::Analyze::Environment::SessionStatus'];
102  
103 coerce 'SessionStatus',
104 from HashRef, via { 'Google::Cloud::Dataplex::V1::Analyze::Environment::SessionStatus'->new($_) };
105  
106 declare 'RepeatedSessionStatus',
107 as ArrayRef[SessionStatus()];
108  
109 coerce 'RepeatedSessionStatus',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Analyze::Environment::SessionStatus'->new($_) } @$_ ] };
111  
112 declare 'MapStringSessionStatus',
113 as HashRef[SessionStatus()];
114  
115 declare 'Endpoints',
116 as InstanceOf['Google::Cloud::Dataplex::V1::Analyze::Environment::Endpoints'];
117  
118 coerce 'Endpoints',
119 from HashRef, via { 'Google::Cloud::Dataplex::V1::Analyze::Environment::Endpoints'->new($_) };
120  
121 declare 'RepeatedEndpoints',
122 as ArrayRef[Endpoints()];
123  
124 coerce 'RepeatedEndpoints',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Analyze::Environment::Endpoints'->new($_) } @$_ ] };
126  
127 declare 'MapStringEndpoints',
128 as HashRef[Endpoints()];
129  
130 declare 'LabelsEntry',
131 as InstanceOf['Google::Cloud::Dataplex::V1::Analyze::Environment::LabelsEntry'];
132  
133 coerce 'LabelsEntry',
134 from HashRef, via { 'Google::Cloud::Dataplex::V1::Analyze::Environment::LabelsEntry'->new($_) };
135  
136 declare 'RepeatedLabelsEntry',
137 as ArrayRef[LabelsEntry()];
138  
139 coerce 'RepeatedLabelsEntry',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Analyze::Environment::LabelsEntry'->new($_) } @$_ ] };
141  
142 declare 'MapStringLabelsEntry',
143 as HashRef[LabelsEntry()];
144  
145 declare 'Content',
146 as InstanceOf['Google::Cloud::Dataplex::V1::Analyze::Content'];
147  
148 coerce 'Content',
149 from HashRef, via { 'Google::Cloud::Dataplex::V1::Analyze::Content'->new($_) };
150  
151 declare 'RepeatedContent',
152 as ArrayRef[Content()];
153  
154 coerce 'RepeatedContent',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Analyze::Content'->new($_) } @$_ ] };
156  
157 declare 'MapStringContent',
158 as HashRef[Content()];
159  
160 declare 'SqlScript',
161 as InstanceOf['Google::Cloud::Dataplex::V1::Analyze::Content::SqlScript'];
162  
163 coerce 'SqlScript',
164 from HashRef, via { 'Google::Cloud::Dataplex::V1::Analyze::Content::SqlScript'->new($_) };
165  
166 declare 'RepeatedSqlScript',
167 as ArrayRef[SqlScript()];
168  
169 coerce 'RepeatedSqlScript',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Analyze::Content::SqlScript'->new($_) } @$_ ] };
171  
172 declare 'MapStringSqlScript',
173 as HashRef[SqlScript()];
174  
175 declare 'QueryEngine',
176 as (Int | Str);
177  
178 declare 'Notebook',
179 as InstanceOf['Google::Cloud::Dataplex::V1::Analyze::Content::Notebook'];
180  
181 coerce 'Notebook',
182 from HashRef, via { 'Google::Cloud::Dataplex::V1::Analyze::Content::Notebook'->new($_) };
183  
184 declare 'RepeatedNotebook',
185 as ArrayRef[Notebook()];
186  
187 coerce 'RepeatedNotebook',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Analyze::Content::Notebook'->new($_) } @$_ ] };
189  
190 declare 'MapStringNotebook',
191 as HashRef[Notebook()];
192  
193 declare 'KernelType',
194 as (Int | Str);
195  
196 declare 'LabelsEntry',
197 as InstanceOf['Google::Cloud::Dataplex::V1::Analyze::Content::LabelsEntry'];
198  
199 coerce 'LabelsEntry',
200 from HashRef, via { 'Google::Cloud::Dataplex::V1::Analyze::Content::LabelsEntry'->new($_) };
201  
202 declare 'RepeatedLabelsEntry',
203 as ArrayRef[LabelsEntry()];
204  
205 coerce 'RepeatedLabelsEntry',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Analyze::Content::LabelsEntry'->new($_) } @$_ ] };
207  
208 declare 'MapStringLabelsEntry',
209 as HashRef[LabelsEntry()];
210  
211 declare 'Session',
212 as InstanceOf['Google::Cloud::Dataplex::V1::Analyze::Session'];
213  
214 coerce 'Session',
215 from HashRef, via { 'Google::Cloud::Dataplex::V1::Analyze::Session'->new($_) };
216  
217 declare 'RepeatedSession',
218 as ArrayRef[Session()];
219  
220 coerce 'RepeatedSession',
221 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Analyze::Session'->new($_) } @$_ ] };
222  
223 declare 'MapStringSession',
224 as HashRef[Session()];
225  
226 1;
227  
228 __END__