BatchRecognizeRequest constructor
BatchRecognizeRequest({
- String? recognizer,
- Iterable<
BatchRecognizeFileMetadata> ? files, - RecognitionConfig? config,
- FieldMask? configMask,
- RecognitionOutputConfig? recognitionOutputConfig,
- BatchRecognizeRequest_ProcessingStrategy? processingStrategy,
Implementation
factory BatchRecognizeRequest({
$core.String? recognizer,
$core.Iterable<BatchRecognizeFileMetadata>? files,
RecognitionConfig? config,
$4.FieldMask? configMask,
RecognitionOutputConfig? recognitionOutputConfig,
BatchRecognizeRequest_ProcessingStrategy? processingStrategy,
}) {
final $result = create();
if (recognizer != null) {
$result.recognizer = recognizer;
}
if (files != null) {
$result.files.addAll(files);
}
if (config != null) {
$result.config = config;
}
if (configMask != null) {
$result.configMask = configMask;
}
if (recognitionOutputConfig != null) {
$result.recognitionOutputConfig = recognitionOutputConfig;
}
if (processingStrategy != null) {
$result.processingStrategy = processingStrategy;
}
return $result;
}