GoogleCloudDialogflowCxV3AudioInput class
Represents the natural speech audio to be processed.
Constructors
-
GoogleCloudDialogflowCxV3AudioInput({Input<
String> ? audio, required Input<GoogleCloudDialogflowCxV3InputAudioConfig> config}) -
Creates a new GoogleCloudDialogflowCxV3AudioInput.
audioThe natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, bothconfigandaudiomust be provided. For streaming audio detect intent,configmust be provided in the first request andaudiomust be provided in all following requests.configInstructs the speech recognizer how to process the speech audio.const -
GoogleCloudDialogflowCxV3AudioInput.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
audio
→ Input<
String> ? -
The natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both
configandaudiomust be provided. For streaming audio detect intent,configmust be provided in the first request andaudiomust be provided in all following requests.final -
config
→ Input<
GoogleCloudDialogflowCxV3InputAudioConfig> -
Instructs the speech recognizer how to process the speech audio.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited