V1/Common/Types.pm untested

filter: Statementstmt 0.0% 0 / 207 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 212 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::Common::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 'IndustryVertical',
11 as (Int | Str);
12  
13 declare 'SolutionType',
14 as (Int | Str);
15  
16 declare 'SearchUseCase',
17 as (Int | Str);
18  
19 declare 'SearchTier',
20 as (Int | Str);
21  
22 declare 'SearchAddOn',
23 as (Int | Str);
24  
25 declare 'SubscriptionTier',
26 as (Int | Str);
27  
28 declare 'SubscriptionTerm',
29 as (Int | Str);
30  
31 declare 'Interval',
32 as InstanceOf['Google::Cloud::Discoveryengine::V1::Common::Interval'];
33  
34 coerce 'Interval',
35 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Common::Interval'->new($_) };
36  
37 declare 'RepeatedInterval',
38 as ArrayRef[Interval()];
39  
40 coerce 'RepeatedInterval',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Common::Interval'->new($_) } @$_ ] };
42  
43 declare 'MapStringInterval',
44 as HashRef[Interval()];
45  
46 declare 'CustomAttribute',
47 as InstanceOf['Google::Cloud::Discoveryengine::V1::Common::CustomAttribute'];
48  
49 coerce 'CustomAttribute',
50 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Common::CustomAttribute'->new($_) };
51  
52 declare 'RepeatedCustomAttribute',
53 as ArrayRef[CustomAttribute()];
54  
55 coerce 'RepeatedCustomAttribute',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Common::CustomAttribute'->new($_) } @$_ ] };
57  
58 declare 'MapStringCustomAttribute',
59 as HashRef[CustomAttribute()];
60  
61 declare 'UserInfo',
62 as InstanceOf['Google::Cloud::Discoveryengine::V1::Common::UserInfo'];
63  
64 coerce 'UserInfo',
65 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Common::UserInfo'->new($_) };
66  
67 declare 'RepeatedUserInfo',
68 as ArrayRef[UserInfo()];
69  
70 coerce 'RepeatedUserInfo',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Common::UserInfo'->new($_) } @$_ ] };
72  
73 declare 'MapStringUserInfo',
74 as HashRef[UserInfo()];
75  
76 declare 'PreciseLocation',
77 as InstanceOf['Google::Cloud::Discoveryengine::V1::Common::UserInfo::PreciseLocation'];
78  
79 coerce 'PreciseLocation',
80 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Common::UserInfo::PreciseLocation'->new($_) };
81  
82 declare 'RepeatedPreciseLocation',
83 as ArrayRef[PreciseLocation()];
84  
85 coerce 'RepeatedPreciseLocation',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Common::UserInfo::PreciseLocation'->new($_) } @$_ ] };
87  
88 declare 'MapStringPreciseLocation',
89 as HashRef[PreciseLocation()];
90  
91 declare 'DoubleList',
92 as InstanceOf['Google::Cloud::Discoveryengine::V1::Common::DoubleList'];
93  
94 coerce 'DoubleList',
95 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Common::DoubleList'->new($_) };
96  
97 declare 'RepeatedDoubleList',
98 as ArrayRef[DoubleList()];
99  
100 coerce 'RepeatedDoubleList',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Common::DoubleList'->new($_) } @$_ ] };
102  
103 declare 'MapStringDoubleList',
104 as HashRef[DoubleList()];
105  
106 declare 'IdpConfig',
107 as InstanceOf['Google::Cloud::Discoveryengine::V1::Common::IdpConfig'];
108  
109 coerce 'IdpConfig',
110 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Common::IdpConfig'->new($_) };
111  
112 declare 'RepeatedIdpConfig',
113 as ArrayRef[IdpConfig()];
114  
115 coerce 'RepeatedIdpConfig',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Common::IdpConfig'->new($_) } @$_ ] };
117  
118 declare 'MapStringIdpConfig',
119 as HashRef[IdpConfig()];
120  
121 declare 'IdpType',
122 as (Int | Str);
123  
124 declare 'ExternalIdpConfig',
125 as InstanceOf['Google::Cloud::Discoveryengine::V1::Common::IdpConfig::ExternalIdpConfig'];
126  
127 coerce 'ExternalIdpConfig',
128 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Common::IdpConfig::ExternalIdpConfig'->new($_) };
129  
130 declare 'RepeatedExternalIdpConfig',
131 as ArrayRef[ExternalIdpConfig()];
132  
133 coerce 'RepeatedExternalIdpConfig',
134 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Common::IdpConfig::ExternalIdpConfig'->new($_) } @$_ ] };
135  
136 declare 'MapStringExternalIdpConfig',
137 as HashRef[ExternalIdpConfig()];
138  
139 declare 'Principal',
140 as InstanceOf['Google::Cloud::Discoveryengine::V1::Common::Principal'];
141  
142 coerce 'Principal',
143 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Common::Principal'->new($_) };
144  
145 declare 'RepeatedPrincipal',
146 as ArrayRef[Principal()];
147  
148 coerce 'RepeatedPrincipal',
149 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Common::Principal'->new($_) } @$_ ] };
150  
151 declare 'MapStringPrincipal',
152 as HashRef[Principal()];
153  
154 declare 'HealthcareFhirConfig',
155 as InstanceOf['Google::Cloud::Discoveryengine::V1::Common::HealthcareFhirConfig'];
156  
157 coerce 'HealthcareFhirConfig',
158 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Common::HealthcareFhirConfig'->new($_) };
159  
160 declare 'RepeatedHealthcareFhirConfig',
161 as ArrayRef[HealthcareFhirConfig()];
162  
163 coerce 'RepeatedHealthcareFhirConfig',
164 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Common::HealthcareFhirConfig'->new($_) } @$_ ] };
165  
166 declare 'MapStringHealthcareFhirConfig',
167 as HashRef[HealthcareFhirConfig()];
168  
169 declare 'SearchLinkPromotion',
170 as InstanceOf['Google::Cloud::Discoveryengine::V1::Common::SearchLinkPromotion'];
171  
172 coerce 'SearchLinkPromotion',
173 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Common::SearchLinkPromotion'->new($_) };
174  
175 declare 'RepeatedSearchLinkPromotion',
176 as ArrayRef[SearchLinkPromotion()];
177  
178 coerce 'RepeatedSearchLinkPromotion',
179 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Common::SearchLinkPromotion'->new($_) } @$_ ] };
180  
181 declare 'MapStringSearchLinkPromotion',
182 as HashRef[SearchLinkPromotion()];
183  
184 declare 'SessionConfig',
185 as InstanceOf['Google::Cloud::Discoveryengine::V1::Common::SessionConfig'];
186  
187 coerce 'SessionConfig',
188 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Common::SessionConfig'->new($_) };
189  
190 declare 'RepeatedSessionConfig',
191 as ArrayRef[SessionConfig()];
192  
193 coerce 'RepeatedSessionConfig',
194 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Common::SessionConfig'->new($_) } @$_ ] };
195  
196 declare 'MapStringSessionConfig',
197 as HashRef[SessionConfig()];
198  
199 declare 'SessionManagementPolicy',
200 as (Int | Str);
201  
202 declare 'SessionTtl',
203 as InstanceOf['Google::Cloud::Discoveryengine::V1::Common::SessionConfig::SessionTtl'];
204  
205 coerce 'SessionTtl',
206 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Common::SessionConfig::SessionTtl'->new($_) };
207  
208 declare 'RepeatedSessionTtl',
209 as ArrayRef[SessionTtl()];
210  
211 coerce 'RepeatedSessionTtl',
212 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Common::SessionConfig::SessionTtl'->new($_) } @$_ ] };
213  
214 declare 'MapStringSessionTtl',
215 as HashRef[SessionTtl()];
216  
217 declare 'DataProtectionPolicy',
218 as InstanceOf['Google::Cloud::Discoveryengine::V1::Common::DataProtectionPolicy'];
219  
220 coerce 'DataProtectionPolicy',
221 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Common::DataProtectionPolicy'->new($_) };
222  
223 declare 'RepeatedDataProtectionPolicy',
224 as ArrayRef[DataProtectionPolicy()];
225  
226 coerce 'RepeatedDataProtectionPolicy',
227 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Common::DataProtectionPolicy'->new($_) } @$_ ] };
228  
229 declare 'MapStringDataProtectionPolicy',
230 as HashRef[DataProtectionPolicy()];
231  
232 declare 'SensitiveDataProtectionPolicy',
233 as InstanceOf['Google::Cloud::Discoveryengine::V1::Common::DataProtectionPolicy::SensitiveDataProtectionPolicy'];
234  
235 coerce 'SensitiveDataProtectionPolicy',
236 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::Common::DataProtectionPolicy::SensitiveDataProtectionPolicy'->new($_) };
237  
238 declare 'RepeatedSensitiveDataProtectionPolicy',
239 as ArrayRef[SensitiveDataProtectionPolicy()];
240  
241 coerce 'RepeatedSensitiveDataProtectionPolicy',
242 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::Common::DataProtectionPolicy::SensitiveDataProtectionPolicy'->new($_) } @$_ ] };
243  
244 declare 'MapStringSensitiveDataProtectionPolicy',
245 as HashRef[SensitiveDataProtectionPolicy()];
246  
247 1;
248  
249 __END__