LongRunningRecognizeResponse constructor
LongRunningRecognizeResponse({
- Iterable<
SpeechRecognitionResult> ? results, - Duration? totalBilledTime,
- TranscriptOutputConfig? outputConfig,
- Status? outputError,
- SpeechAdaptationInfo? speechAdaptationInfo,
- Int64? requestId,
Implementation
factory LongRunningRecognizeResponse({
$core.Iterable<SpeechRecognitionResult>? results,
$3.Duration? totalBilledTime,
TranscriptOutputConfig? outputConfig,
$6.Status? outputError,
SpeechAdaptationInfo? speechAdaptationInfo,
$fixnum.Int64? requestId,
}) {
final $result = create();
if (results != null) {
$result.results.addAll(results);
}
if (totalBilledTime != null) {
$result.totalBilledTime = totalBilledTime;
}
if (outputConfig != null) {
$result.outputConfig = outputConfig;
}
if (outputError != null) {
$result.outputError = outputError;
}
if (speechAdaptationInfo != null) {
$result.speechAdaptationInfo = speechAdaptationInfo;
}
if (requestId != null) {
$result.requestId = requestId;
}
return $result;
}