V1beta/Control/Types.pm untested

filter: Statementstmt 0.0% 0 / 161 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 166 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::Discoveryengine::V1beta::Control::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 'Condition',
11 as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Control::Condition'];
12  
13 coerce 'Condition',
14 from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Control::Condition'->new($_) };
15  
16 declare 'RepeatedCondition',
17 as ArrayRef[Condition()];
18  
19 coerce 'RepeatedCondition',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Control::Condition'->new($_) } @$_ ] };
21  
22 declare 'MapStringCondition',
23 as HashRef[Condition()];
24  
25 declare 'QueryTerm',
26 as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Control::Condition::QueryTerm'];
27  
28 coerce 'QueryTerm',
29 from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Control::Condition::QueryTerm'->new($_) };
30  
31 declare 'RepeatedQueryTerm',
32 as ArrayRef[QueryTerm()];
33  
34 coerce 'RepeatedQueryTerm',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Control::Condition::QueryTerm'->new($_) } @$_ ] };
36  
37 declare 'MapStringQueryTerm',
38 as HashRef[QueryTerm()];
39  
40 declare 'TimeRange',
41 as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Control::Condition::TimeRange'];
42  
43 coerce 'TimeRange',
44 from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Control::Condition::TimeRange'->new($_) };
45  
46 declare 'RepeatedTimeRange',
47 as ArrayRef[TimeRange()];
48  
49 coerce 'RepeatedTimeRange',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Control::Condition::TimeRange'->new($_) } @$_ ] };
51  
52 declare 'MapStringTimeRange',
53 as HashRef[TimeRange()];
54  
55 declare 'Control',
56 as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Control::Control'];
57  
58 coerce 'Control',
59 from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Control::Control'->new($_) };
60  
61 declare 'RepeatedControl',
62 as ArrayRef[Control()];
63  
64 coerce 'RepeatedControl',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Control::Control'->new($_) } @$_ ] };
66  
67 declare 'MapStringControl',
68 as HashRef[Control()];
69  
70 declare 'BoostAction',
71 as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Control::Control::BoostAction'];
72  
73 coerce 'BoostAction',
74 from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Control::Control::BoostAction'->new($_) };
75  
76 declare 'RepeatedBoostAction',
77 as ArrayRef[BoostAction()];
78  
79 coerce 'RepeatedBoostAction',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Control::Control::BoostAction'->new($_) } @$_ ] };
81  
82 declare 'MapStringBoostAction',
83 as HashRef[BoostAction()];
84  
85 declare 'InterpolationBoostSpec',
86 as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Control::Control::BoostAction::InterpolationBoostSpec'];
87  
88 coerce 'InterpolationBoostSpec',
89 from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Control::Control::BoostAction::InterpolationBoostSpec'->new($_) };
90  
91 declare 'RepeatedInterpolationBoostSpec',
92 as ArrayRef[InterpolationBoostSpec()];
93  
94 coerce 'RepeatedInterpolationBoostSpec',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Control::Control::BoostAction::InterpolationBoostSpec'->new($_) } @$_ ] };
96  
97 declare 'MapStringInterpolationBoostSpec',
98 as HashRef[InterpolationBoostSpec()];
99  
100 declare 'AttributeType',
101 as (Int | Str);
102  
103 declare 'InterpolationType',
104 as (Int | Str);
105  
106 declare 'ControlPoint',
107 as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Control::Control::BoostAction::InterpolationBoostSpec::ControlPoint'];
108  
109 coerce 'ControlPoint',
110 from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Control::Control::BoostAction::InterpolationBoostSpec::ControlPoint'->new($_) };
111  
112 declare 'RepeatedControlPoint',
113 as ArrayRef[ControlPoint()];
114  
115 coerce 'RepeatedControlPoint',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Control::Control::BoostAction::InterpolationBoostSpec::ControlPoint'->new($_) } @$_ ] };
117  
118 declare 'MapStringControlPoint',
119 as HashRef[ControlPoint()];
120  
121 declare 'FilterAction',
122 as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Control::Control::FilterAction'];
123  
124 coerce 'FilterAction',
125 from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Control::Control::FilterAction'->new($_) };
126  
127 declare 'RepeatedFilterAction',
128 as ArrayRef[FilterAction()];
129  
130 coerce 'RepeatedFilterAction',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Control::Control::FilterAction'->new($_) } @$_ ] };
132  
133 declare 'MapStringFilterAction',
134 as HashRef[FilterAction()];
135  
136 declare 'RedirectAction',
137 as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Control::Control::RedirectAction'];
138  
139 coerce 'RedirectAction',
140 from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Control::Control::RedirectAction'->new($_) };
141  
142 declare 'RepeatedRedirectAction',
143 as ArrayRef[RedirectAction()];
144  
145 coerce 'RepeatedRedirectAction',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Control::Control::RedirectAction'->new($_) } @$_ ] };
147  
148 declare 'MapStringRedirectAction',
149 as HashRef[RedirectAction()];
150  
151 declare 'SynonymsAction',
152 as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Control::Control::SynonymsAction'];
153  
154 coerce 'SynonymsAction',
155 from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Control::Control::SynonymsAction'->new($_) };
156  
157 declare 'RepeatedSynonymsAction',
158 as ArrayRef[SynonymsAction()];
159  
160 coerce 'RepeatedSynonymsAction',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Control::Control::SynonymsAction'->new($_) } @$_ ] };
162  
163 declare 'MapStringSynonymsAction',
164 as HashRef[SynonymsAction()];
165  
166 declare 'PromoteAction',
167 as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Control::Control::PromoteAction'];
168  
169 coerce 'PromoteAction',
170 from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Control::Control::PromoteAction'->new($_) };
171  
172 declare 'RepeatedPromoteAction',
173 as ArrayRef[PromoteAction()];
174  
175 coerce 'RepeatedPromoteAction',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Control::Control::PromoteAction'->new($_) } @$_ ] };
177  
178 declare 'MapStringPromoteAction',
179 as HashRef[PromoteAction()];
180  
181 1;
182  
183 __END__