V1alpha/DocumentService/Types.pm untested

filter: Statementstmt 0.0% 0 / 188 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 193 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::V1alpha::DocumentService::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 'GetDocumentRequest',
11 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::DocumentService::GetDocumentRequest'];
12  
13 coerce 'GetDocumentRequest',
14 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::GetDocumentRequest'->new($_) };
15  
16 declare 'RepeatedGetDocumentRequest',
17 as ArrayRef[GetDocumentRequest()];
18  
19 coerce 'RepeatedGetDocumentRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::GetDocumentRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringGetDocumentRequest',
23 as HashRef[GetDocumentRequest()];
24  
25 declare 'ListDocumentsRequest',
26 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::DocumentService::ListDocumentsRequest'];
27  
28 coerce 'ListDocumentsRequest',
29 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::ListDocumentsRequest'->new($_) };
30  
31 declare 'RepeatedListDocumentsRequest',
32 as ArrayRef[ListDocumentsRequest()];
33  
34 coerce 'RepeatedListDocumentsRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::ListDocumentsRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringListDocumentsRequest',
38 as HashRef[ListDocumentsRequest()];
39  
40 declare 'ListDocumentsResponse',
41 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::DocumentService::ListDocumentsResponse'];
42  
43 coerce 'ListDocumentsResponse',
44 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::ListDocumentsResponse'->new($_) };
45  
46 declare 'RepeatedListDocumentsResponse',
47 as ArrayRef[ListDocumentsResponse()];
48  
49 coerce 'RepeatedListDocumentsResponse',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::ListDocumentsResponse'->new($_) } @$_ ] };
51  
52 declare 'MapStringListDocumentsResponse',
53 as HashRef[ListDocumentsResponse()];
54  
55 declare 'CreateDocumentRequest',
56 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::DocumentService::CreateDocumentRequest'];
57  
58 coerce 'CreateDocumentRequest',
59 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::CreateDocumentRequest'->new($_) };
60  
61 declare 'RepeatedCreateDocumentRequest',
62 as ArrayRef[CreateDocumentRequest()];
63  
64 coerce 'RepeatedCreateDocumentRequest',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::CreateDocumentRequest'->new($_) } @$_ ] };
66  
67 declare 'MapStringCreateDocumentRequest',
68 as HashRef[CreateDocumentRequest()];
69  
70 declare 'UpdateDocumentRequest',
71 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::DocumentService::UpdateDocumentRequest'];
72  
73 coerce 'UpdateDocumentRequest',
74 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::UpdateDocumentRequest'->new($_) };
75  
76 declare 'RepeatedUpdateDocumentRequest',
77 as ArrayRef[UpdateDocumentRequest()];
78  
79 coerce 'RepeatedUpdateDocumentRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::UpdateDocumentRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringUpdateDocumentRequest',
83 as HashRef[UpdateDocumentRequest()];
84  
85 declare 'DeleteDocumentRequest',
86 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::DocumentService::DeleteDocumentRequest'];
87  
88 coerce 'DeleteDocumentRequest',
89 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::DeleteDocumentRequest'->new($_) };
90  
91 declare 'RepeatedDeleteDocumentRequest',
92 as ArrayRef[DeleteDocumentRequest()];
93  
94 coerce 'RepeatedDeleteDocumentRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::DeleteDocumentRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringDeleteDocumentRequest',
98 as HashRef[DeleteDocumentRequest()];
99  
100 declare 'GetProcessedDocumentRequest',
101 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::DocumentService::GetProcessedDocumentRequest'];
102  
103 coerce 'GetProcessedDocumentRequest',
104 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::GetProcessedDocumentRequest'->new($_) };
105  
106 declare 'RepeatedGetProcessedDocumentRequest',
107 as ArrayRef[GetProcessedDocumentRequest()];
108  
109 coerce 'RepeatedGetProcessedDocumentRequest',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::GetProcessedDocumentRequest'->new($_) } @$_ ] };
111  
112 declare 'MapStringGetProcessedDocumentRequest',
113 as HashRef[GetProcessedDocumentRequest()];
114  
115 declare 'ProcessedDocumentType',
116 as (Int | Str);
117  
118 declare 'ProcessedDocumentFormat',
119 as (Int | Str);
120  
121 declare 'BatchGetDocumentsMetadataRequest',
122 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataRequest'];
123  
124 coerce 'BatchGetDocumentsMetadataRequest',
125 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataRequest'->new($_) };
126  
127 declare 'RepeatedBatchGetDocumentsMetadataRequest',
128 as ArrayRef[BatchGetDocumentsMetadataRequest()];
129  
130 coerce 'RepeatedBatchGetDocumentsMetadataRequest',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataRequest'->new($_) } @$_ ] };
132  
133 declare 'MapStringBatchGetDocumentsMetadataRequest',
134 as HashRef[BatchGetDocumentsMetadataRequest()];
135  
136 declare 'UrisMatcher',
137 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataRequest::UrisMatcher'];
138  
139 coerce 'UrisMatcher',
140 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataRequest::UrisMatcher'->new($_) };
141  
142 declare 'RepeatedUrisMatcher',
143 as ArrayRef[UrisMatcher()];
144  
145 coerce 'RepeatedUrisMatcher',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataRequest::UrisMatcher'->new($_) } @$_ ] };
147  
148 declare 'MapStringUrisMatcher',
149 as HashRef[UrisMatcher()];
150  
151 declare 'Matcher',
152 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataRequest::Matcher'];
153  
154 coerce 'Matcher',
155 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataRequest::Matcher'->new($_) };
156  
157 declare 'RepeatedMatcher',
158 as ArrayRef[Matcher()];
159  
160 coerce 'RepeatedMatcher',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataRequest::Matcher'->new($_) } @$_ ] };
162  
163 declare 'MapStringMatcher',
164 as HashRef[Matcher()];
165  
166 declare 'BatchGetDocumentsMetadataResponse',
167 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataResponse'];
168  
169 coerce 'BatchGetDocumentsMetadataResponse',
170 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataResponse'->new($_) };
171  
172 declare 'RepeatedBatchGetDocumentsMetadataResponse',
173 as ArrayRef[BatchGetDocumentsMetadataResponse()];
174  
175 coerce 'RepeatedBatchGetDocumentsMetadataResponse',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataResponse'->new($_) } @$_ ] };
177  
178 declare 'MapStringBatchGetDocumentsMetadataResponse',
179 as HashRef[BatchGetDocumentsMetadataResponse()];
180  
181 declare 'State',
182 as (Int | Str);
183  
184 declare 'DocumentMetadata',
185 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataResponse::DocumentMetadata'];
186  
187 coerce 'DocumentMetadata',
188 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataResponse::DocumentMetadata'->new($_) };
189  
190 declare 'RepeatedDocumentMetadata',
191 as ArrayRef[DocumentMetadata()];
192  
193 coerce 'RepeatedDocumentMetadata',
194 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataResponse::DocumentMetadata'->new($_) } @$_ ] };
195  
196 declare 'MapStringDocumentMetadata',
197 as HashRef[DocumentMetadata()];
198  
199 declare 'MatcherValue',
200 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataResponse::DocumentMetadata::MatcherValue'];
201  
202 coerce 'MatcherValue',
203 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataResponse::DocumentMetadata::MatcherValue'->new($_) };
204  
205 declare 'RepeatedMatcherValue',
206 as ArrayRef[MatcherValue()];
207  
208 coerce 'RepeatedMatcherValue',
209 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::DocumentService::BatchGetDocumentsMetadataResponse::DocumentMetadata::MatcherValue'->new($_) } @$_ ] };
210  
211 declare 'MapStringMatcherValue',
212 as HashRef[MatcherValue()];
213  
214 1;
215  
216 __END__