V2beta/Catalog/Types.pm untested

filter: Statementstmt 0.0% 0 / 204 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 209 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::V2beta::Catalog::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 'ProductLevelConfig',
11 as InstanceOf['Google::Cloud::Retail::V2beta::Catalog::ProductLevelConfig'];
12  
13 coerce 'ProductLevelConfig',
14 from HashRef, via { 'Google::Cloud::Retail::V2beta::Catalog::ProductLevelConfig'->new($_) };
15  
16 declare 'RepeatedProductLevelConfig',
17 as ArrayRef[ProductLevelConfig()];
18  
19 coerce 'RepeatedProductLevelConfig',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::Catalog::ProductLevelConfig'->new($_) } @$_ ] };
21  
22 declare 'MapStringProductLevelConfig',
23 as HashRef[ProductLevelConfig()];
24  
25 declare 'CatalogAttribute',
26 as InstanceOf['Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute'];
27  
28 coerce 'CatalogAttribute',
29 from HashRef, via { 'Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute'->new($_) };
30  
31 declare 'RepeatedCatalogAttribute',
32 as ArrayRef[CatalogAttribute()];
33  
34 coerce 'RepeatedCatalogAttribute',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute'->new($_) } @$_ ] };
36  
37 declare 'MapStringCatalogAttribute',
38 as HashRef[CatalogAttribute()];
39  
40 declare 'AttributeType',
41 as (Int | Str);
42  
43 declare 'IndexableOption',
44 as (Int | Str);
45  
46 declare 'DynamicFacetableOption',
47 as (Int | Str);
48  
49 declare 'SearchableOption',
50 as (Int | Str);
51  
52 declare 'ExactSearchableOption',
53 as (Int | Str);
54  
55 declare 'RetrievableOption',
56 as (Int | Str);
57  
58 declare 'FacetConfig',
59 as InstanceOf['Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig'];
60  
61 coerce 'FacetConfig',
62 from HashRef, via { 'Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig'->new($_) };
63  
64 declare 'RepeatedFacetConfig',
65 as ArrayRef[FacetConfig()];
66  
67 coerce 'RepeatedFacetConfig',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig'->new($_) } @$_ ] };
69  
70 declare 'MapStringFacetConfig',
71 as HashRef[FacetConfig()];
72  
73 declare 'IgnoredFacetValues',
74 as InstanceOf['Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig::IgnoredFacetValues'];
75  
76 coerce 'IgnoredFacetValues',
77 from HashRef, via { 'Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig::IgnoredFacetValues'->new($_) };
78  
79 declare 'RepeatedIgnoredFacetValues',
80 as ArrayRef[IgnoredFacetValues()];
81  
82 coerce 'RepeatedIgnoredFacetValues',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig::IgnoredFacetValues'->new($_) } @$_ ] };
84  
85 declare 'MapStringIgnoredFacetValues',
86 as HashRef[IgnoredFacetValues()];
87  
88 declare 'MergedFacetValue',
89 as InstanceOf['Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig::MergedFacetValue'];
90  
91 coerce 'MergedFacetValue',
92 from HashRef, via { 'Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig::MergedFacetValue'->new($_) };
93  
94 declare 'RepeatedMergedFacetValue',
95 as ArrayRef[MergedFacetValue()];
96  
97 coerce 'RepeatedMergedFacetValue',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig::MergedFacetValue'->new($_) } @$_ ] };
99  
100 declare 'MapStringMergedFacetValue',
101 as HashRef[MergedFacetValue()];
102  
103 declare 'MergedFacet',
104 as InstanceOf['Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig::MergedFacet'];
105  
106 coerce 'MergedFacet',
107 from HashRef, via { 'Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig::MergedFacet'->new($_) };
108  
109 declare 'RepeatedMergedFacet',
110 as ArrayRef[MergedFacet()];
111  
112 coerce 'RepeatedMergedFacet',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig::MergedFacet'->new($_) } @$_ ] };
114  
115 declare 'MapStringMergedFacet',
116 as HashRef[MergedFacet()];
117  
118 declare 'RerankConfig',
119 as InstanceOf['Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig::RerankConfig'];
120  
121 coerce 'RerankConfig',
122 from HashRef, via { 'Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig::RerankConfig'->new($_) };
123  
124 declare 'RepeatedRerankConfig',
125 as ArrayRef[RerankConfig()];
126  
127 coerce 'RepeatedRerankConfig',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::Catalog::CatalogAttribute::FacetConfig::RerankConfig'->new($_) } @$_ ] };
129  
130 declare 'MapStringRerankConfig',
131 as HashRef[RerankConfig()];
132  
133 declare 'AttributesConfig',
134 as InstanceOf['Google::Cloud::Retail::V2beta::Catalog::AttributesConfig'];
135  
136 coerce 'AttributesConfig',
137 from HashRef, via { 'Google::Cloud::Retail::V2beta::Catalog::AttributesConfig'->new($_) };
138  
139 declare 'RepeatedAttributesConfig',
140 as ArrayRef[AttributesConfig()];
141  
142 coerce 'RepeatedAttributesConfig',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::Catalog::AttributesConfig'->new($_) } @$_ ] };
144  
145 declare 'MapStringAttributesConfig',
146 as HashRef[AttributesConfig()];
147  
148 declare 'CatalogAttributesEntry',
149 as InstanceOf['Google::Cloud::Retail::V2beta::Catalog::AttributesConfig::CatalogAttributesEntry'];
150  
151 coerce 'CatalogAttributesEntry',
152 from HashRef, via { 'Google::Cloud::Retail::V2beta::Catalog::AttributesConfig::CatalogAttributesEntry'->new($_) };
153  
154 declare 'RepeatedCatalogAttributesEntry',
155 as ArrayRef[CatalogAttributesEntry()];
156  
157 coerce 'RepeatedCatalogAttributesEntry',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::Catalog::AttributesConfig::CatalogAttributesEntry'->new($_) } @$_ ] };
159  
160 declare 'MapStringCatalogAttributesEntry',
161 as HashRef[CatalogAttributesEntry()];
162  
163 declare 'CompletionConfig',
164 as InstanceOf['Google::Cloud::Retail::V2beta::Catalog::CompletionConfig'];
165  
166 coerce 'CompletionConfig',
167 from HashRef, via { 'Google::Cloud::Retail::V2beta::Catalog::CompletionConfig'->new($_) };
168  
169 declare 'RepeatedCompletionConfig',
170 as ArrayRef[CompletionConfig()];
171  
172 coerce 'RepeatedCompletionConfig',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::Catalog::CompletionConfig'->new($_) } @$_ ] };
174  
175 declare 'MapStringCompletionConfig',
176 as HashRef[CompletionConfig()];
177  
178 declare 'MerchantCenterLink',
179 as InstanceOf['Google::Cloud::Retail::V2beta::Catalog::MerchantCenterLink'];
180  
181 coerce 'MerchantCenterLink',
182 from HashRef, via { 'Google::Cloud::Retail::V2beta::Catalog::MerchantCenterLink'->new($_) };
183  
184 declare 'RepeatedMerchantCenterLink',
185 as ArrayRef[MerchantCenterLink()];
186  
187 coerce 'RepeatedMerchantCenterLink',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::Catalog::MerchantCenterLink'->new($_) } @$_ ] };
189  
190 declare 'MapStringMerchantCenterLink',
191 as HashRef[MerchantCenterLink()];
192  
193 declare 'MerchantCenterFeedFilter',
194 as InstanceOf['Google::Cloud::Retail::V2beta::Catalog::MerchantCenterFeedFilter'];
195  
196 coerce 'MerchantCenterFeedFilter',
197 from HashRef, via { 'Google::Cloud::Retail::V2beta::Catalog::MerchantCenterFeedFilter'->new($_) };
198  
199 declare 'RepeatedMerchantCenterFeedFilter',
200 as ArrayRef[MerchantCenterFeedFilter()];
201  
202 coerce 'RepeatedMerchantCenterFeedFilter',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::Catalog::MerchantCenterFeedFilter'->new($_) } @$_ ] };
204  
205 declare 'MapStringMerchantCenterFeedFilter',
206 as HashRef[MerchantCenterFeedFilter()];
207  
208 declare 'MerchantCenterLinkingConfig',
209 as InstanceOf['Google::Cloud::Retail::V2beta::Catalog::MerchantCenterLinkingConfig'];
210  
211 coerce 'MerchantCenterLinkingConfig',
212 from HashRef, via { 'Google::Cloud::Retail::V2beta::Catalog::MerchantCenterLinkingConfig'->new($_) };
213  
214 declare 'RepeatedMerchantCenterLinkingConfig',
215 as ArrayRef[MerchantCenterLinkingConfig()];
216  
217 coerce 'RepeatedMerchantCenterLinkingConfig',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::Catalog::MerchantCenterLinkingConfig'->new($_) } @$_ ] };
219  
220 declare 'MapStringMerchantCenterLinkingConfig',
221 as HashRef[MerchantCenterLinkingConfig()];
222  
223 declare 'Catalog',
224 as InstanceOf['Google::Cloud::Retail::V2beta::Catalog::Catalog'];
225  
226 coerce 'Catalog',
227 from HashRef, via { 'Google::Cloud::Retail::V2beta::Catalog::Catalog'->new($_) };
228  
229 declare 'RepeatedCatalog',
230 as ArrayRef[Catalog()];
231  
232 coerce 'RepeatedCatalog',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::Catalog::Catalog'->new($_) } @$_ ] };
234  
235 declare 'MapStringCatalog',
236 as HashRef[Catalog()];
237  
238 1;
239  
240 __END__