V1beta/DocumentService/Types.pm untested

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