V2/TranslationConfig/Types.pm untested

filter: Statementstmt 0.0% 0 / 330 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 335 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::Bigquery::Migration::V2::TranslationConfig::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 'TranslationConfigDetails',
11 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::TranslationConfigDetails'];
12  
13 coerce 'TranslationConfigDetails',
14 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::TranslationConfigDetails'->new($_) };
15  
16 declare 'RepeatedTranslationConfigDetails',
17 as ArrayRef[TranslationConfigDetails()];
18  
19 coerce 'RepeatedTranslationConfigDetails',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::TranslationConfigDetails'->new($_) } @$_ ] };
21  
22 declare 'MapStringTranslationConfigDetails',
23 as HashRef[TranslationConfigDetails()];
24  
25 declare 'Dialect',
26 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::Dialect'];
27  
28 coerce 'Dialect',
29 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::Dialect'->new($_) };
30  
31 declare 'RepeatedDialect',
32 as ArrayRef[Dialect()];
33  
34 coerce 'RepeatedDialect',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::Dialect'->new($_) } @$_ ] };
36  
37 declare 'MapStringDialect',
38 as HashRef[Dialect()];
39  
40 declare 'BigQueryDialect',
41 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::BigQueryDialect'];
42  
43 coerce 'BigQueryDialect',
44 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::BigQueryDialect'->new($_) };
45  
46 declare 'RepeatedBigQueryDialect',
47 as ArrayRef[BigQueryDialect()];
48  
49 coerce 'RepeatedBigQueryDialect',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::BigQueryDialect'->new($_) } @$_ ] };
51  
52 declare 'MapStringBigQueryDialect',
53 as HashRef[BigQueryDialect()];
54  
55 declare 'HiveQLDialect',
56 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::HiveQLDialect'];
57  
58 coerce 'HiveQLDialect',
59 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::HiveQLDialect'->new($_) };
60  
61 declare 'RepeatedHiveQLDialect',
62 as ArrayRef[HiveQLDialect()];
63  
64 coerce 'RepeatedHiveQLDialect',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::HiveQLDialect'->new($_) } @$_ ] };
66  
67 declare 'MapStringHiveQLDialect',
68 as HashRef[HiveQLDialect()];
69  
70 declare 'RedshiftDialect',
71 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::RedshiftDialect'];
72  
73 coerce 'RedshiftDialect',
74 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::RedshiftDialect'->new($_) };
75  
76 declare 'RepeatedRedshiftDialect',
77 as ArrayRef[RedshiftDialect()];
78  
79 coerce 'RepeatedRedshiftDialect',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::RedshiftDialect'->new($_) } @$_ ] };
81  
82 declare 'MapStringRedshiftDialect',
83 as HashRef[RedshiftDialect()];
84  
85 declare 'TeradataDialect',
86 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::TeradataDialect'];
87  
88 coerce 'TeradataDialect',
89 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::TeradataDialect'->new($_) };
90  
91 declare 'RepeatedTeradataDialect',
92 as ArrayRef[TeradataDialect()];
93  
94 coerce 'RepeatedTeradataDialect',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::TeradataDialect'->new($_) } @$_ ] };
96  
97 declare 'MapStringTeradataDialect',
98 as HashRef[TeradataDialect()];
99  
100 declare 'Mode',
101 as (Int | Str);
102  
103 declare 'OracleDialect',
104 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::OracleDialect'];
105  
106 coerce 'OracleDialect',
107 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::OracleDialect'->new($_) };
108  
109 declare 'RepeatedOracleDialect',
110 as ArrayRef[OracleDialect()];
111  
112 coerce 'RepeatedOracleDialect',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::OracleDialect'->new($_) } @$_ ] };
114  
115 declare 'MapStringOracleDialect',
116 as HashRef[OracleDialect()];
117  
118 declare 'SparkSQLDialect',
119 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SparkSQLDialect'];
120  
121 coerce 'SparkSQLDialect',
122 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SparkSQLDialect'->new($_) };
123  
124 declare 'RepeatedSparkSQLDialect',
125 as ArrayRef[SparkSQLDialect()];
126  
127 coerce 'RepeatedSparkSQLDialect',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SparkSQLDialect'->new($_) } @$_ ] };
129  
130 declare 'MapStringSparkSQLDialect',
131 as HashRef[SparkSQLDialect()];
132  
133 declare 'SnowflakeDialect',
134 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SnowflakeDialect'];
135  
136 coerce 'SnowflakeDialect',
137 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SnowflakeDialect'->new($_) };
138  
139 declare 'RepeatedSnowflakeDialect',
140 as ArrayRef[SnowflakeDialect()];
141  
142 coerce 'RepeatedSnowflakeDialect',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SnowflakeDialect'->new($_) } @$_ ] };
144  
145 declare 'MapStringSnowflakeDialect',
146 as HashRef[SnowflakeDialect()];
147  
148 declare 'NetezzaDialect',
149 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NetezzaDialect'];
150  
151 coerce 'NetezzaDialect',
152 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NetezzaDialect'->new($_) };
153  
154 declare 'RepeatedNetezzaDialect',
155 as ArrayRef[NetezzaDialect()];
156  
157 coerce 'RepeatedNetezzaDialect',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NetezzaDialect'->new($_) } @$_ ] };
159  
160 declare 'MapStringNetezzaDialect',
161 as HashRef[NetezzaDialect()];
162  
163 declare 'AzureSynapseDialect',
164 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::AzureSynapseDialect'];
165  
166 coerce 'AzureSynapseDialect',
167 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::AzureSynapseDialect'->new($_) };
168  
169 declare 'RepeatedAzureSynapseDialect',
170 as ArrayRef[AzureSynapseDialect()];
171  
172 coerce 'RepeatedAzureSynapseDialect',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::AzureSynapseDialect'->new($_) } @$_ ] };
174  
175 declare 'MapStringAzureSynapseDialect',
176 as HashRef[AzureSynapseDialect()];
177  
178 declare 'VerticaDialect',
179 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::VerticaDialect'];
180  
181 coerce 'VerticaDialect',
182 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::VerticaDialect'->new($_) };
183  
184 declare 'RepeatedVerticaDialect',
185 as ArrayRef[VerticaDialect()];
186  
187 coerce 'RepeatedVerticaDialect',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::VerticaDialect'->new($_) } @$_ ] };
189  
190 declare 'MapStringVerticaDialect',
191 as HashRef[VerticaDialect()];
192  
193 declare 'SQLServerDialect',
194 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SQLServerDialect'];
195  
196 coerce 'SQLServerDialect',
197 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SQLServerDialect'->new($_) };
198  
199 declare 'RepeatedSQLServerDialect',
200 as ArrayRef[SQLServerDialect()];
201  
202 coerce 'RepeatedSQLServerDialect',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SQLServerDialect'->new($_) } @$_ ] };
204  
205 declare 'MapStringSQLServerDialect',
206 as HashRef[SQLServerDialect()];
207  
208 declare 'PostgresqlDialect',
209 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::PostgresqlDialect'];
210  
211 coerce 'PostgresqlDialect',
212 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::PostgresqlDialect'->new($_) };
213  
214 declare 'RepeatedPostgresqlDialect',
215 as ArrayRef[PostgresqlDialect()];
216  
217 coerce 'RepeatedPostgresqlDialect',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::PostgresqlDialect'->new($_) } @$_ ] };
219  
220 declare 'MapStringPostgresqlDialect',
221 as HashRef[PostgresqlDialect()];
222  
223 declare 'PrestoDialect',
224 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::PrestoDialect'];
225  
226 coerce 'PrestoDialect',
227 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::PrestoDialect'->new($_) };
228  
229 declare 'RepeatedPrestoDialect',
230 as ArrayRef[PrestoDialect()];
231  
232 coerce 'RepeatedPrestoDialect',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::PrestoDialect'->new($_) } @$_ ] };
234  
235 declare 'MapStringPrestoDialect',
236 as HashRef[PrestoDialect()];
237  
238 declare 'MySQLDialect',
239 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::MySQLDialect'];
240  
241 coerce 'MySQLDialect',
242 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::MySQLDialect'->new($_) };
243  
244 declare 'RepeatedMySQLDialect',
245 as ArrayRef[MySQLDialect()];
246  
247 coerce 'RepeatedMySQLDialect',
248 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::MySQLDialect'->new($_) } @$_ ] };
249  
250 declare 'MapStringMySQLDialect',
251 as HashRef[MySQLDialect()];
252  
253 declare 'DB2Dialect',
254 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::DB2Dialect'];
255  
256 coerce 'DB2Dialect',
257 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::DB2Dialect'->new($_) };
258  
259 declare 'RepeatedDB2Dialect',
260 as ArrayRef[DB2Dialect()];
261  
262 coerce 'RepeatedDB2Dialect',
263 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::DB2Dialect'->new($_) } @$_ ] };
264  
265 declare 'MapStringDB2Dialect',
266 as HashRef[DB2Dialect()];
267  
268 declare 'SQLiteDialect',
269 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SQLiteDialect'];
270  
271 coerce 'SQLiteDialect',
272 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SQLiteDialect'->new($_) };
273  
274 declare 'RepeatedSQLiteDialect',
275 as ArrayRef[SQLiteDialect()];
276  
277 coerce 'RepeatedSQLiteDialect',
278 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SQLiteDialect'->new($_) } @$_ ] };
279  
280 declare 'MapStringSQLiteDialect',
281 as HashRef[SQLiteDialect()];
282  
283 declare 'GreenplumDialect',
284 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::GreenplumDialect'];
285  
286 coerce 'GreenplumDialect',
287 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::GreenplumDialect'->new($_) };
288  
289 declare 'RepeatedGreenplumDialect',
290 as ArrayRef[GreenplumDialect()];
291  
292 coerce 'RepeatedGreenplumDialect',
293 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::GreenplumDialect'->new($_) } @$_ ] };
294  
295 declare 'MapStringGreenplumDialect',
296 as HashRef[GreenplumDialect()];
297  
298 declare 'ObjectNameMappingList',
299 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::ObjectNameMappingList'];
300  
301 coerce 'ObjectNameMappingList',
302 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::ObjectNameMappingList'->new($_) };
303  
304 declare 'RepeatedObjectNameMappingList',
305 as ArrayRef[ObjectNameMappingList()];
306  
307 coerce 'RepeatedObjectNameMappingList',
308 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::ObjectNameMappingList'->new($_) } @$_ ] };
309  
310 declare 'MapStringObjectNameMappingList',
311 as HashRef[ObjectNameMappingList()];
312  
313 declare 'ObjectNameMapping',
314 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::ObjectNameMapping'];
315  
316 coerce 'ObjectNameMapping',
317 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::ObjectNameMapping'->new($_) };
318  
319 declare 'RepeatedObjectNameMapping',
320 as ArrayRef[ObjectNameMapping()];
321  
322 coerce 'RepeatedObjectNameMapping',
323 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::ObjectNameMapping'->new($_) } @$_ ] };
324  
325 declare 'MapStringObjectNameMapping',
326 as HashRef[ObjectNameMapping()];
327  
328 declare 'NameMappingKey',
329 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NameMappingKey'];
330  
331 coerce 'NameMappingKey',
332 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NameMappingKey'->new($_) };
333  
334 declare 'RepeatedNameMappingKey',
335 as ArrayRef[NameMappingKey()];
336  
337 coerce 'RepeatedNameMappingKey',
338 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NameMappingKey'->new($_) } @$_ ] };
339  
340 declare 'MapStringNameMappingKey',
341 as HashRef[NameMappingKey()];
342  
343 declare 'Type',
344 as (Int | Str);
345  
346 declare 'NameMappingValue',
347 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NameMappingValue'];
348  
349 coerce 'NameMappingValue',
350 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NameMappingValue'->new($_) };
351  
352 declare 'RepeatedNameMappingValue',
353 as ArrayRef[NameMappingValue()];
354  
355 coerce 'RepeatedNameMappingValue',
356 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NameMappingValue'->new($_) } @$_ ] };
357  
358 declare 'MapStringNameMappingValue',
359 as HashRef[NameMappingValue()];
360  
361 declare 'SourceEnv',
362 as InstanceOf['Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SourceEnv'];
363  
364 coerce 'SourceEnv',
365 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SourceEnv'->new($_) };
366  
367 declare 'RepeatedSourceEnv',
368 as ArrayRef[SourceEnv()];
369  
370 coerce 'RepeatedSourceEnv',
371 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SourceEnv'->new($_) } @$_ ] };
372  
373 declare 'MapStringSourceEnv',
374 as HashRef[SourceEnv()];
375  
376 1;
377  
378 __END__