V1/DataStore/Types.pm untested

filter: Statementstmt 0.0% 0 / 177 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 182 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::DataStore::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 'DataStore',
11 as InstanceOf['Google::Cloud::Discoveryengine::V1::DataStore::DataStore'];
12  
13 coerce 'DataStore',
14 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore'->new($_) };
15  
16 declare 'RepeatedDataStore',
17 as ArrayRef[DataStore()];
18  
19 coerce 'RepeatedDataStore',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore'->new($_) } @$_ ] };
21  
22 declare 'MapStringDataStore',
23 as HashRef[DataStore()];
24  
25 declare 'ContentConfig',
26 as (Int | Str);
27  
28 declare 'ConfigurableBillingApproach',
29 as (Int | Str);
30  
31 declare 'BillingEstimation',
32 as InstanceOf['Google::Cloud::Discoveryengine::V1::DataStore::DataStore::BillingEstimation'];
33  
34 coerce 'BillingEstimation',
35 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::BillingEstimation'->new($_) };
36  
37 declare 'RepeatedBillingEstimation',
38 as ArrayRef[BillingEstimation()];
39  
40 coerce 'RepeatedBillingEstimation',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::BillingEstimation'->new($_) } @$_ ] };
42  
43 declare 'MapStringBillingEstimation',
44 as HashRef[BillingEstimation()];
45  
46 declare 'ServingConfigDataStore',
47 as InstanceOf['Google::Cloud::Discoveryengine::V1::DataStore::DataStore::ServingConfigDataStore'];
48  
49 coerce 'ServingConfigDataStore',
50 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::ServingConfigDataStore'->new($_) };
51  
52 declare 'RepeatedServingConfigDataStore',
53 as ArrayRef[ServingConfigDataStore()];
54  
55 coerce 'RepeatedServingConfigDataStore',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::ServingConfigDataStore'->new($_) } @$_ ] };
57  
58 declare 'MapStringServingConfigDataStore',
59 as HashRef[ServingConfigDataStore()];
60  
61 declare 'FederatedSearchConfig',
62 as InstanceOf['Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig'];
63  
64 coerce 'FederatedSearchConfig',
65 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig'->new($_) };
66  
67 declare 'RepeatedFederatedSearchConfig',
68 as ArrayRef[FederatedSearchConfig()];
69  
70 coerce 'RepeatedFederatedSearchConfig',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig'->new($_) } @$_ ] };
72  
73 declare 'MapStringFederatedSearchConfig',
74 as HashRef[FederatedSearchConfig()];
75  
76 declare 'AlloyDbConfig',
77 as InstanceOf['Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig'];
78  
79 coerce 'AlloyDbConfig',
80 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig'->new($_) };
81  
82 declare 'RepeatedAlloyDbConfig',
83 as ArrayRef[AlloyDbConfig()];
84  
85 coerce 'RepeatedAlloyDbConfig',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig'->new($_) } @$_ ] };
87  
88 declare 'MapStringAlloyDbConfig',
89 as HashRef[AlloyDbConfig()];
90  
91 declare 'AlloyDbConnectionConfig',
92 as InstanceOf['Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbConnectionConfig'];
93  
94 coerce 'AlloyDbConnectionConfig',
95 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbConnectionConfig'->new($_) };
96  
97 declare 'RepeatedAlloyDbConnectionConfig',
98 as ArrayRef[AlloyDbConnectionConfig()];
99  
100 coerce 'RepeatedAlloyDbConnectionConfig',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbConnectionConfig'->new($_) } @$_ ] };
102  
103 declare 'MapStringAlloyDbConnectionConfig',
104 as HashRef[AlloyDbConnectionConfig()];
105  
106 declare 'AuthMode',
107 as (Int | Str);
108  
109 declare 'AlloyDbAiNaturalLanguageConfig',
110 as InstanceOf['Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbAiNaturalLanguageConfig'];
111  
112 coerce 'AlloyDbAiNaturalLanguageConfig',
113 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbAiNaturalLanguageConfig'->new($_) };
114  
115 declare 'RepeatedAlloyDbAiNaturalLanguageConfig',
116 as ArrayRef[AlloyDbAiNaturalLanguageConfig()];
117  
118 coerce 'RepeatedAlloyDbAiNaturalLanguageConfig',
119 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbAiNaturalLanguageConfig'->new($_) } @$_ ] };
120  
121 declare 'MapStringAlloyDbAiNaturalLanguageConfig',
122 as HashRef[AlloyDbAiNaturalLanguageConfig()];
123  
124 declare 'ThirdPartyOauthConfig',
125 as InstanceOf['Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::ThirdPartyOauthConfig'];
126  
127 coerce 'ThirdPartyOauthConfig',
128 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::ThirdPartyOauthConfig'->new($_) };
129  
130 declare 'RepeatedThirdPartyOauthConfig',
131 as ArrayRef[ThirdPartyOauthConfig()];
132  
133 coerce 'RepeatedThirdPartyOauthConfig',
134 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::ThirdPartyOauthConfig'->new($_) } @$_ ] };
135  
136 declare 'MapStringThirdPartyOauthConfig',
137 as HashRef[ThirdPartyOauthConfig()];
138  
139 declare 'NotebooklmConfig',
140 as InstanceOf['Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::NotebooklmConfig'];
141  
142 coerce 'NotebooklmConfig',
143 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::NotebooklmConfig'->new($_) };
144  
145 declare 'RepeatedNotebooklmConfig',
146 as ArrayRef[NotebooklmConfig()];
147  
148 coerce 'RepeatedNotebooklmConfig',
149 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::DataStore::DataStore::FederatedSearchConfig::NotebooklmConfig'->new($_) } @$_ ] };
150  
151 declare 'MapStringNotebooklmConfig',
152 as HashRef[NotebooklmConfig()];
153  
154 declare 'AdvancedSiteSearchConfig',
155 as InstanceOf['Google::Cloud::Discoveryengine::V1::DataStore::AdvancedSiteSearchConfig'];
156  
157 coerce 'AdvancedSiteSearchConfig',
158 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::DataStore::AdvancedSiteSearchConfig'->new($_) };
159  
160 declare 'RepeatedAdvancedSiteSearchConfig',
161 as ArrayRef[AdvancedSiteSearchConfig()];
162  
163 coerce 'RepeatedAdvancedSiteSearchConfig',
164 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::DataStore::AdvancedSiteSearchConfig'->new($_) } @$_ ] };
165  
166 declare 'MapStringAdvancedSiteSearchConfig',
167 as HashRef[AdvancedSiteSearchConfig()];
168  
169 declare 'NaturalLanguageQueryUnderstandingConfig',
170 as InstanceOf['Google::Cloud::Discoveryengine::V1::DataStore::NaturalLanguageQueryUnderstandingConfig'];
171  
172 coerce 'NaturalLanguageQueryUnderstandingConfig',
173 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::DataStore::NaturalLanguageQueryUnderstandingConfig'->new($_) };
174  
175 declare 'RepeatedNaturalLanguageQueryUnderstandingConfig',
176 as ArrayRef[NaturalLanguageQueryUnderstandingConfig()];
177  
178 coerce 'RepeatedNaturalLanguageQueryUnderstandingConfig',
179 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::DataStore::NaturalLanguageQueryUnderstandingConfig'->new($_) } @$_ ] };
180  
181 declare 'MapStringNaturalLanguageQueryUnderstandingConfig',
182 as HashRef[NaturalLanguageQueryUnderstandingConfig()];
183  
184 declare 'Mode',
185 as (Int | Str);
186  
187 declare 'WorkspaceConfig',
188 as InstanceOf['Google::Cloud::Discoveryengine::V1::DataStore::WorkspaceConfig'];
189  
190 coerce 'WorkspaceConfig',
191 from HashRef, via { 'Google::Cloud::Discoveryengine::V1::DataStore::WorkspaceConfig'->new($_) };
192  
193 declare 'RepeatedWorkspaceConfig',
194 as ArrayRef[WorkspaceConfig()];
195  
196 coerce 'RepeatedWorkspaceConfig',
197 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1::DataStore::WorkspaceConfig'->new($_) } @$_ ] };
198  
199 declare 'MapStringWorkspaceConfig',
200 as HashRef[WorkspaceConfig()];
201  
202 declare 'Type',
203 as (Int | Str);
204  
205 1;
206  
207 __END__