V1beta1/HumanAnnotationConfig/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::Datalabeling::V1beta1::HumanAnnotationConfig::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 'StringAggregationType',
11 as (Int | Str);
12  
13 declare 'HumanAnnotationConfig',
14 as InstanceOf['Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::HumanAnnotationConfig'];
15  
16 coerce 'HumanAnnotationConfig',
17 from HashRef, via { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::HumanAnnotationConfig'->new($_) };
18  
19 declare 'RepeatedHumanAnnotationConfig',
20 as ArrayRef[HumanAnnotationConfig()];
21  
22 coerce 'RepeatedHumanAnnotationConfig',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::HumanAnnotationConfig'->new($_) } @$_ ] };
24  
25 declare 'MapStringHumanAnnotationConfig',
26 as HashRef[HumanAnnotationConfig()];
27  
28 declare 'ImageClassificationConfig',
29 as InstanceOf['Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::ImageClassificationConfig'];
30  
31 coerce 'ImageClassificationConfig',
32 from HashRef, via { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::ImageClassificationConfig'->new($_) };
33  
34 declare 'RepeatedImageClassificationConfig',
35 as ArrayRef[ImageClassificationConfig()];
36  
37 coerce 'RepeatedImageClassificationConfig',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::ImageClassificationConfig'->new($_) } @$_ ] };
39  
40 declare 'MapStringImageClassificationConfig',
41 as HashRef[ImageClassificationConfig()];
42  
43 declare 'BoundingPolyConfig',
44 as InstanceOf['Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::BoundingPolyConfig'];
45  
46 coerce 'BoundingPolyConfig',
47 from HashRef, via { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::BoundingPolyConfig'->new($_) };
48  
49 declare 'RepeatedBoundingPolyConfig',
50 as ArrayRef[BoundingPolyConfig()];
51  
52 coerce 'RepeatedBoundingPolyConfig',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::BoundingPolyConfig'->new($_) } @$_ ] };
54  
55 declare 'MapStringBoundingPolyConfig',
56 as HashRef[BoundingPolyConfig()];
57  
58 declare 'PolylineConfig',
59 as InstanceOf['Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::PolylineConfig'];
60  
61 coerce 'PolylineConfig',
62 from HashRef, via { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::PolylineConfig'->new($_) };
63  
64 declare 'RepeatedPolylineConfig',
65 as ArrayRef[PolylineConfig()];
66  
67 coerce 'RepeatedPolylineConfig',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::PolylineConfig'->new($_) } @$_ ] };
69  
70 declare 'MapStringPolylineConfig',
71 as HashRef[PolylineConfig()];
72  
73 declare 'SegmentationConfig',
74 as InstanceOf['Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::SegmentationConfig'];
75  
76 coerce 'SegmentationConfig',
77 from HashRef, via { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::SegmentationConfig'->new($_) };
78  
79 declare 'RepeatedSegmentationConfig',
80 as ArrayRef[SegmentationConfig()];
81  
82 coerce 'RepeatedSegmentationConfig',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::SegmentationConfig'->new($_) } @$_ ] };
84  
85 declare 'MapStringSegmentationConfig',
86 as HashRef[SegmentationConfig()];
87  
88 declare 'VideoClassificationConfig',
89 as InstanceOf['Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::VideoClassificationConfig'];
90  
91 coerce 'VideoClassificationConfig',
92 from HashRef, via { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::VideoClassificationConfig'->new($_) };
93  
94 declare 'RepeatedVideoClassificationConfig',
95 as ArrayRef[VideoClassificationConfig()];
96  
97 coerce 'RepeatedVideoClassificationConfig',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::VideoClassificationConfig'->new($_) } @$_ ] };
99  
100 declare 'MapStringVideoClassificationConfig',
101 as HashRef[VideoClassificationConfig()];
102  
103 declare 'AnnotationSpecSetConfig',
104 as InstanceOf['Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::VideoClassificationConfig::AnnotationSpecSetConfig'];
105  
106 coerce 'AnnotationSpecSetConfig',
107 from HashRef, via { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::VideoClassificationConfig::AnnotationSpecSetConfig'->new($_) };
108  
109 declare 'RepeatedAnnotationSpecSetConfig',
110 as ArrayRef[AnnotationSpecSetConfig()];
111  
112 coerce 'RepeatedAnnotationSpecSetConfig',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::VideoClassificationConfig::AnnotationSpecSetConfig'->new($_) } @$_ ] };
114  
115 declare 'MapStringAnnotationSpecSetConfig',
116 as HashRef[AnnotationSpecSetConfig()];
117  
118 declare 'ObjectDetectionConfig',
119 as InstanceOf['Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::ObjectDetectionConfig'];
120  
121 coerce 'ObjectDetectionConfig',
122 from HashRef, via { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::ObjectDetectionConfig'->new($_) };
123  
124 declare 'RepeatedObjectDetectionConfig',
125 as ArrayRef[ObjectDetectionConfig()];
126  
127 coerce 'RepeatedObjectDetectionConfig',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::ObjectDetectionConfig'->new($_) } @$_ ] };
129  
130 declare 'MapStringObjectDetectionConfig',
131 as HashRef[ObjectDetectionConfig()];
132  
133 declare 'ObjectTrackingConfig',
134 as InstanceOf['Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::ObjectTrackingConfig'];
135  
136 coerce 'ObjectTrackingConfig',
137 from HashRef, via { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::ObjectTrackingConfig'->new($_) };
138  
139 declare 'RepeatedObjectTrackingConfig',
140 as ArrayRef[ObjectTrackingConfig()];
141  
142 coerce 'RepeatedObjectTrackingConfig',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::ObjectTrackingConfig'->new($_) } @$_ ] };
144  
145 declare 'MapStringObjectTrackingConfig',
146 as HashRef[ObjectTrackingConfig()];
147  
148 declare 'EventConfig',
149 as InstanceOf['Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::EventConfig'];
150  
151 coerce 'EventConfig',
152 from HashRef, via { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::EventConfig'->new($_) };
153  
154 declare 'RepeatedEventConfig',
155 as ArrayRef[EventConfig()];
156  
157 coerce 'RepeatedEventConfig',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::EventConfig'->new($_) } @$_ ] };
159  
160 declare 'MapStringEventConfig',
161 as HashRef[EventConfig()];
162  
163 declare 'TextClassificationConfig',
164 as InstanceOf['Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::TextClassificationConfig'];
165  
166 coerce 'TextClassificationConfig',
167 from HashRef, via { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::TextClassificationConfig'->new($_) };
168  
169 declare 'RepeatedTextClassificationConfig',
170 as ArrayRef[TextClassificationConfig()];
171  
172 coerce 'RepeatedTextClassificationConfig',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::TextClassificationConfig'->new($_) } @$_ ] };
174  
175 declare 'MapStringTextClassificationConfig',
176 as HashRef[TextClassificationConfig()];
177  
178 declare 'SentimentConfig',
179 as InstanceOf['Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::SentimentConfig'];
180  
181 coerce 'SentimentConfig',
182 from HashRef, via { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::SentimentConfig'->new($_) };
183  
184 declare 'RepeatedSentimentConfig',
185 as ArrayRef[SentimentConfig()];
186  
187 coerce 'RepeatedSentimentConfig',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::SentimentConfig'->new($_) } @$_ ] };
189  
190 declare 'MapStringSentimentConfig',
191 as HashRef[SentimentConfig()];
192  
193 declare 'TextEntityExtractionConfig',
194 as InstanceOf['Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::TextEntityExtractionConfig'];
195  
196 coerce 'TextEntityExtractionConfig',
197 from HashRef, via { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::TextEntityExtractionConfig'->new($_) };
198  
199 declare 'RepeatedTextEntityExtractionConfig',
200 as ArrayRef[TextEntityExtractionConfig()];
201  
202 coerce 'RepeatedTextEntityExtractionConfig',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datalabeling::V1beta1::HumanAnnotationConfig::TextEntityExtractionConfig'->new($_) } @$_ ] };
204  
205 declare 'MapStringTextEntityExtractionConfig',
206 as HashRef[TextEntityExtractionConfig()];
207  
208 1;
209  
210 __END__