DetectIntentRequest constructor
DetectIntentRequest({
- String? session,
- QueryParameters? queryParams,
- QueryInput? queryInput,
- OutputAudioConfig? outputAudioConfig,
- List<
int> ? inputAudio, - FieldMask? outputAudioConfigMask,
Implementation
factory DetectIntentRequest({
$core.String? session,
QueryParameters? queryParams,
QueryInput? queryInput,
$19.OutputAudioConfig? outputAudioConfig,
$core.List<$core.int>? inputAudio,
$16.FieldMask? outputAudioConfigMask,
}) {
final _result = create();
if (session != null) {
_result.session = session;
}
if (queryParams != null) {
_result.queryParams = queryParams;
}
if (queryInput != null) {
_result.queryInput = queryInput;
}
if (outputAudioConfig != null) {
_result.outputAudioConfig = outputAudioConfig;
}
if (inputAudio != null) {
_result.inputAudio = inputAudio;
}
if (outputAudioConfigMask != null) {
_result.outputAudioConfigMask = outputAudioConfigMask;
}
return _result;
}