StreamingAnalyzeContentRequest constructor
StreamingAnalyzeContentRequest({
- String? participant,
- InputAudioConfig? audioConfig,
- InputTextConfig? textConfig,
- OutputAudioConfig? replyAudioConfig,
- List<
int> ? inputAudio, - String? inputText,
- QueryParameters? queryParams,
- TelephonyDtmfEvents? inputDtmf,
Implementation
factory StreamingAnalyzeContentRequest({
$core.String? participant,
$19.InputAudioConfig? audioConfig,
InputTextConfig? textConfig,
$19.OutputAudioConfig? replyAudioConfig,
$core.List<$core.int>? inputAudio,
$core.String? inputText,
$8.QueryParameters? queryParams,
$19.TelephonyDtmfEvents? inputDtmf,
}) {
final _result = create();
if (participant != null) {
_result.participant = participant;
}
if (audioConfig != null) {
_result.audioConfig = audioConfig;
}
if (textConfig != null) {
_result.textConfig = textConfig;
}
if (replyAudioConfig != null) {
_result.replyAudioConfig = replyAudioConfig;
}
if (inputAudio != null) {
_result.inputAudio = inputAudio;
}
if (inputText != null) {
_result.inputText = inputText;
}
if (queryParams != null) {
_result.queryParams = queryParams;
}
if (inputDtmf != null) {
_result.inputDtmf = inputDtmf;
}
return _result;
}