V2alpha/ImportConfig/Types.pm untested

filter: Statementstmt 0.0% 0 / 238 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 243 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::Retail::V2alpha::ImportConfig::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 'GcsSource',
11 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::GcsSource'];
12  
13 coerce 'GcsSource',
14 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::GcsSource'->new($_) };
15  
16 declare 'RepeatedGcsSource',
17 as ArrayRef[GcsSource()];
18  
19 coerce 'RepeatedGcsSource',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::GcsSource'->new($_) } @$_ ] };
21  
22 declare 'MapStringGcsSource',
23 as HashRef[GcsSource()];
24  
25 declare 'BigQuerySource',
26 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::BigQuerySource'];
27  
28 coerce 'BigQuerySource',
29 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::BigQuerySource'->new($_) };
30  
31 declare 'RepeatedBigQuerySource',
32 as ArrayRef[BigQuerySource()];
33  
34 coerce 'RepeatedBigQuerySource',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::BigQuerySource'->new($_) } @$_ ] };
36  
37 declare 'MapStringBigQuerySource',
38 as HashRef[BigQuerySource()];
39  
40 declare 'ProductInlineSource',
41 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::ProductInlineSource'];
42  
43 coerce 'ProductInlineSource',
44 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::ProductInlineSource'->new($_) };
45  
46 declare 'RepeatedProductInlineSource',
47 as ArrayRef[ProductInlineSource()];
48  
49 coerce 'RepeatedProductInlineSource',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::ProductInlineSource'->new($_) } @$_ ] };
51  
52 declare 'MapStringProductInlineSource',
53 as HashRef[ProductInlineSource()];
54  
55 declare 'UserEventInlineSource',
56 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::UserEventInlineSource'];
57  
58 coerce 'UserEventInlineSource',
59 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::UserEventInlineSource'->new($_) };
60  
61 declare 'RepeatedUserEventInlineSource',
62 as ArrayRef[UserEventInlineSource()];
63  
64 coerce 'RepeatedUserEventInlineSource',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::UserEventInlineSource'->new($_) } @$_ ] };
66  
67 declare 'MapStringUserEventInlineSource',
68 as HashRef[UserEventInlineSource()];
69  
70 declare 'ImportErrorsConfig',
71 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::ImportErrorsConfig'];
72  
73 coerce 'ImportErrorsConfig',
74 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportErrorsConfig'->new($_) };
75  
76 declare 'RepeatedImportErrorsConfig',
77 as ArrayRef[ImportErrorsConfig()];
78  
79 coerce 'RepeatedImportErrorsConfig',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportErrorsConfig'->new($_) } @$_ ] };
81  
82 declare 'MapStringImportErrorsConfig',
83 as HashRef[ImportErrorsConfig()];
84  
85 declare 'ImportProductsRequest',
86 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::ImportProductsRequest'];
87  
88 coerce 'ImportProductsRequest',
89 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportProductsRequest'->new($_) };
90  
91 declare 'RepeatedImportProductsRequest',
92 as ArrayRef[ImportProductsRequest()];
93  
94 coerce 'RepeatedImportProductsRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportProductsRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringImportProductsRequest',
98 as HashRef[ImportProductsRequest()];
99  
100 declare 'ReconciliationMode',
101 as (Int | Str);
102  
103 declare 'ImportUserEventsRequest',
104 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::ImportUserEventsRequest'];
105  
106 coerce 'ImportUserEventsRequest',
107 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportUserEventsRequest'->new($_) };
108  
109 declare 'RepeatedImportUserEventsRequest',
110 as ArrayRef[ImportUserEventsRequest()];
111  
112 coerce 'RepeatedImportUserEventsRequest',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportUserEventsRequest'->new($_) } @$_ ] };
114  
115 declare 'MapStringImportUserEventsRequest',
116 as HashRef[ImportUserEventsRequest()];
117  
118 declare 'ImportCompletionDataRequest',
119 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::ImportCompletionDataRequest'];
120  
121 coerce 'ImportCompletionDataRequest',
122 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportCompletionDataRequest'->new($_) };
123  
124 declare 'RepeatedImportCompletionDataRequest',
125 as ArrayRef[ImportCompletionDataRequest()];
126  
127 coerce 'RepeatedImportCompletionDataRequest',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportCompletionDataRequest'->new($_) } @$_ ] };
129  
130 declare 'MapStringImportCompletionDataRequest',
131 as HashRef[ImportCompletionDataRequest()];
132  
133 declare 'ProductInputConfig',
134 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::ProductInputConfig'];
135  
136 coerce 'ProductInputConfig',
137 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::ProductInputConfig'->new($_) };
138  
139 declare 'RepeatedProductInputConfig',
140 as ArrayRef[ProductInputConfig()];
141  
142 coerce 'RepeatedProductInputConfig',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::ProductInputConfig'->new($_) } @$_ ] };
144  
145 declare 'MapStringProductInputConfig',
146 as HashRef[ProductInputConfig()];
147  
148 declare 'UserEventInputConfig',
149 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::UserEventInputConfig'];
150  
151 coerce 'UserEventInputConfig',
152 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::UserEventInputConfig'->new($_) };
153  
154 declare 'RepeatedUserEventInputConfig',
155 as ArrayRef[UserEventInputConfig()];
156  
157 coerce 'RepeatedUserEventInputConfig',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::UserEventInputConfig'->new($_) } @$_ ] };
159  
160 declare 'MapStringUserEventInputConfig',
161 as HashRef[UserEventInputConfig()];
162  
163 declare 'CompletionDataInputConfig',
164 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::CompletionDataInputConfig'];
165  
166 coerce 'CompletionDataInputConfig',
167 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::CompletionDataInputConfig'->new($_) };
168  
169 declare 'RepeatedCompletionDataInputConfig',
170 as ArrayRef[CompletionDataInputConfig()];
171  
172 coerce 'RepeatedCompletionDataInputConfig',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::CompletionDataInputConfig'->new($_) } @$_ ] };
174  
175 declare 'MapStringCompletionDataInputConfig',
176 as HashRef[CompletionDataInputConfig()];
177  
178 declare 'ImportMetadata',
179 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::ImportMetadata'];
180  
181 coerce 'ImportMetadata',
182 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportMetadata'->new($_) };
183  
184 declare 'RepeatedImportMetadata',
185 as ArrayRef[ImportMetadata()];
186  
187 coerce 'RepeatedImportMetadata',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportMetadata'->new($_) } @$_ ] };
189  
190 declare 'MapStringImportMetadata',
191 as HashRef[ImportMetadata()];
192  
193 declare 'TransformedUserEventsMetadata',
194 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::TransformedUserEventsMetadata'];
195  
196 coerce 'TransformedUserEventsMetadata',
197 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::TransformedUserEventsMetadata'->new($_) };
198  
199 declare 'RepeatedTransformedUserEventsMetadata',
200 as ArrayRef[TransformedUserEventsMetadata()];
201  
202 coerce 'RepeatedTransformedUserEventsMetadata',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::TransformedUserEventsMetadata'->new($_) } @$_ ] };
204  
205 declare 'MapStringTransformedUserEventsMetadata',
206 as HashRef[TransformedUserEventsMetadata()];
207  
208 declare 'ImportProductsResponse',
209 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::ImportProductsResponse'];
210  
211 coerce 'ImportProductsResponse',
212 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportProductsResponse'->new($_) };
213  
214 declare 'RepeatedImportProductsResponse',
215 as ArrayRef[ImportProductsResponse()];
216  
217 coerce 'RepeatedImportProductsResponse',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportProductsResponse'->new($_) } @$_ ] };
219  
220 declare 'MapStringImportProductsResponse',
221 as HashRef[ImportProductsResponse()];
222  
223 declare 'ImportUserEventsResponse',
224 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::ImportUserEventsResponse'];
225  
226 coerce 'ImportUserEventsResponse',
227 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportUserEventsResponse'->new($_) };
228  
229 declare 'RepeatedImportUserEventsResponse',
230 as ArrayRef[ImportUserEventsResponse()];
231  
232 coerce 'RepeatedImportUserEventsResponse',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportUserEventsResponse'->new($_) } @$_ ] };
234  
235 declare 'MapStringImportUserEventsResponse',
236 as HashRef[ImportUserEventsResponse()];
237  
238 declare 'UserEventImportSummary',
239 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::UserEventImportSummary'];
240  
241 coerce 'UserEventImportSummary',
242 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::UserEventImportSummary'->new($_) };
243  
244 declare 'RepeatedUserEventImportSummary',
245 as ArrayRef[UserEventImportSummary()];
246  
247 coerce 'RepeatedUserEventImportSummary',
248 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::UserEventImportSummary'->new($_) } @$_ ] };
249  
250 declare 'MapStringUserEventImportSummary',
251 as HashRef[UserEventImportSummary()];
252  
253 declare 'ImportCompletionDataResponse',
254 as InstanceOf['Google::Cloud::Retail::V2alpha::ImportConfig::ImportCompletionDataResponse'];
255  
256 coerce 'ImportCompletionDataResponse',
257 from HashRef, via { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportCompletionDataResponse'->new($_) };
258  
259 declare 'RepeatedImportCompletionDataResponse',
260 as ArrayRef[ImportCompletionDataResponse()];
261  
262 coerce 'RepeatedImportCompletionDataResponse',
263 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::ImportConfig::ImportCompletionDataResponse'->new($_) } @$_ ] };
264  
265 declare 'MapStringImportCompletionDataResponse',
266 as HashRef[ImportCompletionDataResponse()];
267  
268 1;
269  
270 __END__