V1/WidgetConfig/Types.pm untested

filter: Statementstmt 0.0% 0 / 355 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 360 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::V1::WidgetConfig::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 'ModelInfoView',
11 as (Int | Str);
12  
13 declare 'WidgetConfig',
14 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig'];
15  
16 coerce 'WidgetConfig',
17 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig'->new($_) };
18  
19 declare 'RepeatedWidgetConfig',
20 as ArrayRef[WidgetConfig()];
21  
22 coerce 'RepeatedWidgetConfig',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig'->new($_) } @$_ ] };
24  
25 declare 'MapStringWidgetConfig',
26 as HashRef[WidgetConfig()];
27  
28 declare 'DataStoreType',
29 as (Int | Str);
30  
31 declare 'ResultDisplayType',
32 as (Int | Str);
33  
34 declare 'UIComponentField',
35 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UIComponentField'];
36  
37 coerce 'UIComponentField',
38 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UIComponentField'->new($_) };
39  
40 declare 'RepeatedUIComponentField',
41 as ArrayRef[UIComponentField()];
42  
43 coerce 'RepeatedUIComponentField',
44 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UIComponentField'->new($_) } @$_ ] };
45  
46 declare 'MapStringUIComponentField',
47 as HashRef[UIComponentField()];
48  
49 declare 'DeviceVisibility',
50 as (Int | Str);
51  
52 declare 'FacetField',
53 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::FacetField'];
54  
55 coerce 'FacetField',
56 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::FacetField'->new($_) };
57  
58 declare 'RepeatedFacetField',
59 as ArrayRef[FacetField()];
60  
61 coerce 'RepeatedFacetField',
62 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::FacetField'->new($_) } @$_ ] };
63  
64 declare 'MapStringFacetField',
65 as HashRef[FacetField()];
66  
67 declare 'DataStoreUiConfig',
68 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::DataStoreUiConfig'];
69  
70 coerce 'DataStoreUiConfig',
71 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::DataStoreUiConfig'->new($_) };
72  
73 declare 'RepeatedDataStoreUiConfig',
74 as ArrayRef[DataStoreUiConfig()];
75  
76 coerce 'RepeatedDataStoreUiConfig',
77 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::DataStoreUiConfig'->new($_) } @$_ ] };
78  
79 declare 'MapStringDataStoreUiConfig',
80 as HashRef[DataStoreUiConfig()];
81  
82 declare 'FieldsUiComponentsMapEntry',
83 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::DataStoreUiConfig::FieldsUiComponentsMapEntry'];
84  
85 coerce 'FieldsUiComponentsMapEntry',
86 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::DataStoreUiConfig::FieldsUiComponentsMapEntry'->new($_) };
87  
88 declare 'RepeatedFieldsUiComponentsMapEntry',
89 as ArrayRef[FieldsUiComponentsMapEntry()];
90  
91 coerce 'RepeatedFieldsUiComponentsMapEntry',
92 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::DataStoreUiConfig::FieldsUiComponentsMapEntry'->new($_) } @$_ ] };
93  
94 declare 'MapStringFieldsUiComponentsMapEntry',
95 as HashRef[FieldsUiComponentsMapEntry()];
96  
97 declare 'DataStoreComponent',
98 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::DataStoreComponent'];
99  
100 coerce 'DataStoreComponent',
101 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::DataStoreComponent'->new($_) };
102  
103 declare 'RepeatedDataStoreComponent',
104 as ArrayRef[DataStoreComponent()];
105  
106 coerce 'RepeatedDataStoreComponent',
107 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::DataStoreComponent'->new($_) } @$_ ] };
108  
109 declare 'MapStringDataStoreComponent',
110 as HashRef[DataStoreComponent()];
111  
112 declare 'DataStoreConfigType',
113 as (Int | Str);
114  
115 declare 'ConnectorAuthState',
116 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::ConnectorAuthState'];
117  
118 coerce 'ConnectorAuthState',
119 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::ConnectorAuthState'->new($_) };
120  
121 declare 'RepeatedConnectorAuthState',
122 as ArrayRef[ConnectorAuthState()];
123  
124 coerce 'RepeatedConnectorAuthState',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::ConnectorAuthState'->new($_) } @$_ ] };
126  
127 declare 'MapStringConnectorAuthState',
128 as HashRef[ConnectorAuthState()];
129  
130 declare 'AuthState',
131 as (Int | Str);
132  
133 declare 'BatchAuthStatus',
134 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::BatchAuthStatus'];
135  
136 coerce 'BatchAuthStatus',
137 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::BatchAuthStatus'->new($_) };
138  
139 declare 'RepeatedBatchAuthStatus',
140 as ArrayRef[BatchAuthStatus()];
141  
142 coerce 'RepeatedBatchAuthStatus',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::BatchAuthStatus'->new($_) } @$_ ] };
144  
145 declare 'MapStringBatchAuthStatus',
146 as HashRef[BatchAuthStatus()];
147  
148 declare 'CollectionComponent',
149 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::CollectionComponent'];
150  
151 coerce 'CollectionComponent',
152 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::CollectionComponent'->new($_) };
153  
154 declare 'RepeatedCollectionComponent',
155 as ArrayRef[CollectionComponent()];
156  
157 coerce 'RepeatedCollectionComponent',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::CollectionComponent'->new($_) } @$_ ] };
159  
160 declare 'MapStringCollectionComponent',
161 as HashRef[CollectionComponent()];
162  
163 declare 'UiSettings',
164 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings'];
165  
166 coerce 'UiSettings',
167 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings'->new($_) };
168  
169 declare 'RepeatedUiSettings',
170 as ArrayRef[UiSettings()];
171  
172 coerce 'RepeatedUiSettings',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings'->new($_) } @$_ ] };
174  
175 declare 'MapStringUiSettings',
176 as HashRef[UiSettings()];
177  
178 declare 'InteractionType',
179 as (Int | Str);
180  
181 declare 'FeatureState',
182 as (Int | Str);
183  
184 declare 'ModelState',
185 as (Int | Str);
186  
187 declare 'GenerativeAnswerConfig',
188 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::GenerativeAnswerConfig'];
189  
190 coerce 'GenerativeAnswerConfig',
191 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::GenerativeAnswerConfig'->new($_) };
192  
193 declare 'RepeatedGenerativeAnswerConfig',
194 as ArrayRef[GenerativeAnswerConfig()];
195  
196 coerce 'RepeatedGenerativeAnswerConfig',
197 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::GenerativeAnswerConfig'->new($_) } @$_ ] };
198  
199 declare 'MapStringGenerativeAnswerConfig',
200 as HashRef[GenerativeAnswerConfig()];
201  
202 declare 'ImageSource',
203 as (Int | Str);
204  
205 declare 'ModelConfigInfo',
206 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::ModelConfigInfo'];
207  
208 coerce 'ModelConfigInfo',
209 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::ModelConfigInfo'->new($_) };
210  
211 declare 'RepeatedModelConfigInfo',
212 as ArrayRef[ModelConfigInfo()];
213  
214 coerce 'RepeatedModelConfigInfo',
215 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::ModelConfigInfo'->new($_) } @$_ ] };
216  
217 declare 'MapStringModelConfigInfo',
218 as HashRef[ModelConfigInfo()];
219  
220 declare 'ResolvedModel',
221 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::ModelConfigInfo::ResolvedModel'];
222  
223 coerce 'ResolvedModel',
224 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::ModelConfigInfo::ResolvedModel'->new($_) };
225  
226 declare 'RepeatedResolvedModel',
227 as ArrayRef[ResolvedModel()];
228  
229 coerce 'RepeatedResolvedModel',
230 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::ModelConfigInfo::ResolvedModel'->new($_) } @$_ ] };
231  
232 declare 'MapStringResolvedModel',
233 as HashRef[ResolvedModel()];
234  
235 declare 'AdminView',
236 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::ModelConfigInfo::ResolvedModel::AdminView'];
237  
238 coerce 'AdminView',
239 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::ModelConfigInfo::ResolvedModel::AdminView'->new($_) };
240  
241 declare 'RepeatedAdminView',
242 as ArrayRef[AdminView()];
243  
244 coerce 'RepeatedAdminView',
245 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::ModelConfigInfo::ResolvedModel::AdminView'->new($_) } @$_ ] };
246  
247 declare 'MapStringAdminView',
248 as HashRef[AdminView()];
249  
250 declare 'SearchAddonSpec',
251 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::SearchAddonSpec'];
252  
253 coerce 'SearchAddonSpec',
254 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::SearchAddonSpec'->new($_) };
255  
256 declare 'RepeatedSearchAddonSpec',
257 as ArrayRef[SearchAddonSpec()];
258  
259 coerce 'RepeatedSearchAddonSpec',
260 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::SearchAddonSpec'->new($_) } @$_ ] };
261  
262 declare 'MapStringSearchAddonSpec',
263 as HashRef[SearchAddonSpec()];
264  
265 declare 'FeaturesEntry',
266 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::FeaturesEntry'];
267  
268 coerce 'FeaturesEntry',
269 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::FeaturesEntry'->new($_) };
270  
271 declare 'RepeatedFeaturesEntry',
272 as ArrayRef[FeaturesEntry()];
273  
274 coerce 'RepeatedFeaturesEntry',
275 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::FeaturesEntry'->new($_) } @$_ ] };
276  
277 declare 'MapStringFeaturesEntry',
278 as HashRef[FeaturesEntry()];
279  
280 declare 'ModelConfigsEntry',
281 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::ModelConfigsEntry'];
282  
283 coerce 'ModelConfigsEntry',
284 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::ModelConfigsEntry'->new($_) };
285  
286 declare 'RepeatedModelConfigsEntry',
287 as ArrayRef[ModelConfigsEntry()];
288  
289 coerce 'RepeatedModelConfigsEntry',
290 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings::ModelConfigsEntry'->new($_) } @$_ ] };
291  
292 declare 'MapStringModelConfigsEntry',
293 as HashRef[ModelConfigsEntry()];
294  
295 declare 'AccessSettings',
296 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::AccessSettings'];
297  
298 coerce 'AccessSettings',
299 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::AccessSettings'->new($_) };
300  
301 declare 'RepeatedAccessSettings',
302 as ArrayRef[AccessSettings()];
303  
304 coerce 'RepeatedAccessSettings',
305 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::AccessSettings'->new($_) } @$_ ] };
306  
307 declare 'MapStringAccessSettings',
308 as HashRef[AccessSettings()];
309  
310 declare 'Image',
311 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::Image'];
312  
313 coerce 'Image',
314 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::Image'->new($_) };
315  
316 declare 'RepeatedImage',
317 as ArrayRef[Image()];
318  
319 coerce 'RepeatedImage',
320 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::Image'->new($_) } @$_ ] };
321  
322 declare 'MapStringImage',
323 as HashRef[Image()];
324  
325 declare 'UiBrandingSettings',
326 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiBrandingSettings'];
327  
328 coerce 'UiBrandingSettings',
329 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiBrandingSettings'->new($_) };
330  
331 declare 'RepeatedUiBrandingSettings',
332 as ArrayRef[UiBrandingSettings()];
333  
334 coerce 'RepeatedUiBrandingSettings',
335 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiBrandingSettings'->new($_) } @$_ ] };
336  
337 declare 'MapStringUiBrandingSettings',
338 as HashRef[UiBrandingSettings()];
339  
340 declare 'HomepageSetting',
341 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::HomepageSetting'];
342  
343 coerce 'HomepageSetting',
344 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::HomepageSetting'->new($_) };
345  
346 declare 'RepeatedHomepageSetting',
347 as ArrayRef[HomepageSetting()];
348  
349 coerce 'RepeatedHomepageSetting',
350 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::HomepageSetting'->new($_) } @$_ ] };
351  
352 declare 'MapStringHomepageSetting',
353 as HashRef[HomepageSetting()];
354  
355 declare 'Shortcut',
356 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::HomepageSetting::Shortcut'];
357  
358 coerce 'Shortcut',
359 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::HomepageSetting::Shortcut'->new($_) };
360  
361 declare 'RepeatedShortcut',
362 as ArrayRef[Shortcut()];
363  
364 coerce 'RepeatedShortcut',
365 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::HomepageSetting::Shortcut'->new($_) } @$_ ] };
366  
367 declare 'MapStringShortcut',
368 as HashRef[Shortcut()];
369  
370 declare 'AssistantSettings',
371 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::AssistantSettings'];
372  
373 coerce 'AssistantSettings',
374 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::AssistantSettings'->new($_) };
375  
376 declare 'RepeatedAssistantSettings',
377 as ArrayRef[AssistantSettings()];
378  
379 coerce 'RepeatedAssistantSettings',
380 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::AssistantSettings'->new($_) } @$_ ] };
381  
382 declare 'MapStringAssistantSettings',
383 as HashRef[AssistantSettings()];
384  
385 declare 'WebGroundingType',
386 as (Int | Str);
387  
388 declare 'CustomerProvidedConfig',
389 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::CustomerProvidedConfig'];
390  
391 coerce 'CustomerProvidedConfig',
392 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::CustomerProvidedConfig'->new($_) };
393  
394 declare 'RepeatedCustomerProvidedConfig',
395 as ArrayRef[CustomerProvidedConfig()];
396  
397 coerce 'RepeatedCustomerProvidedConfig',
398 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::CustomerProvidedConfig'->new($_) } @$_ ] };
399  
400 declare 'MapStringCustomerProvidedConfig',
401 as HashRef[CustomerProvidedConfig()];
402  
403 declare 'CustomerType',
404 as (Int | Str);
405  
406 declare 'ComplianceLevel',
407 as (Int | Str);
408  
409 declare 'Node',
410 as InstanceOf['Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::Node'];
411  
412 coerce 'Node',
413 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::Node'->new($_) };
414  
415 declare 'RepeatedNode',
416 as ArrayRef[Node()];
417  
418 coerce 'RepeatedNode',
419 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::Node'->new($_) } @$_ ] };
420  
421 declare 'MapStringNode',
422 as HashRef[Node()];
423  
424 declare 'Type',
425 as (Int | Str);
426  
427 1;
428  
429 __END__