public sealed class AudioInput : IMessage<AudioInput>, IEquatable<AudioInput>, IDeepCloneable<AudioInput>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class AudioInput.
Represents the natural language speech audio to be processed.
Implements
IMessageAudioInput, IEquatableAudioInput, IDeepCloneableAudioInput, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
AudioInput()
public AudioInput()
AudioInput(AudioInput)
public AudioInput(AudioInput other)
Parameter | |
---|---|
Name | Description |
other | AudioInput |
Properties
Audio
public ByteString Audio { get; set; }
Required. The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes for virtual agent interactions.
Property Value | |
---|---|
Type | Description |
ByteString |
Config
public InputAudioConfig Config { get; set; }
Required. Instructs the speech recognizer how to process the speech audio.
Property Value | |
---|---|
Type | Description |
InputAudioConfig |