V2alpha/TranslationService/Types.pm untested

filter: Statementstmt 0.0% 0 / 83 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 88 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::V2alpha::TranslationService::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 'TranslateQueryRequest',
11 as InstanceOf['Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::TranslateQueryRequest'];
12  
13 coerce 'TranslateQueryRequest',
14 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::TranslateQueryRequest'->new($_) };
15  
16 declare 'RepeatedTranslateQueryRequest',
17 as ArrayRef[TranslateQueryRequest()];
18  
19 coerce 'RepeatedTranslateQueryRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::TranslateQueryRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringTranslateQueryRequest',
23 as HashRef[TranslateQueryRequest()];
24  
25 declare 'SqlTranslationSourceDialect',
26 as (Int | Str);
27  
28 declare 'TranslateQueryResponse',
29 as InstanceOf['Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::TranslateQueryResponse'];
30  
31 coerce 'TranslateQueryResponse',
32 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::TranslateQueryResponse'->new($_) };
33  
34 declare 'RepeatedTranslateQueryResponse',
35 as ArrayRef[TranslateQueryResponse()];
36  
37 coerce 'RepeatedTranslateQueryResponse',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::TranslateQueryResponse'->new($_) } @$_ ] };
39  
40 declare 'MapStringTranslateQueryResponse',
41 as HashRef[TranslateQueryResponse()];
42  
43 declare 'SqlTranslationErrorDetail',
44 as InstanceOf['Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::SqlTranslationErrorDetail'];
45  
46 coerce 'SqlTranslationErrorDetail',
47 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::SqlTranslationErrorDetail'->new($_) };
48  
49 declare 'RepeatedSqlTranslationErrorDetail',
50 as ArrayRef[SqlTranslationErrorDetail()];
51  
52 coerce 'RepeatedSqlTranslationErrorDetail',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::SqlTranslationErrorDetail'->new($_) } @$_ ] };
54  
55 declare 'MapStringSqlTranslationErrorDetail',
56 as HashRef[SqlTranslationErrorDetail()];
57  
58 declare 'SqlTranslationError',
59 as InstanceOf['Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::SqlTranslationError'];
60  
61 coerce 'SqlTranslationError',
62 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::SqlTranslationError'->new($_) };
63  
64 declare 'RepeatedSqlTranslationError',
65 as ArrayRef[SqlTranslationError()];
66  
67 coerce 'RepeatedSqlTranslationError',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::SqlTranslationError'->new($_) } @$_ ] };
69  
70 declare 'MapStringSqlTranslationError',
71 as HashRef[SqlTranslationError()];
72  
73 declare 'SqlTranslationErrorType',
74 as (Int | Str);
75  
76 declare 'SqlTranslationWarning',
77 as InstanceOf['Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::SqlTranslationWarning'];
78  
79 coerce 'SqlTranslationWarning',
80 from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::SqlTranslationWarning'->new($_) };
81  
82 declare 'RepeatedSqlTranslationWarning',
83 as ArrayRef[SqlTranslationWarning()];
84  
85 coerce 'RepeatedSqlTranslationWarning',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2alpha::TranslationService::SqlTranslationWarning'->new($_) } @$_ ] };
87  
88 declare 'MapStringSqlTranslationWarning',
89 as HashRef[SqlTranslationWarning()];
90  
91 1;
92  
93 __END__