Dialogflow v3 API - Class AudioInput (2.9.0)

public sealed class AudioInput : IMessage<AudioInput>, IEquatable<AudioInput>, IDeepCloneable<AudioInput>, IBufferMessage, IMessage

Reference documentation and code samples for the Dialogflow v3 API class AudioInput.

Represents the natural speech audio to be processed.

Inheritance

object > AudioInput

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

AudioInput()

public AudioInput()

AudioInput(AudioInput)

public AudioInput(AudioInput other)
Parameter
NameDescription
otherAudioInput

Properties

Audio

public ByteString Audio { get; set; }

The natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The [transcribed text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain more than 256 bytes.

For non-streaming audio detect intent, both config and audio must be provided. For streaming audio detect intent, config must be provided in the first request and audio must be provided in all following requests.

Property Value
TypeDescription
ByteString

Config

public InputAudioConfig Config { get; set; }

Required. Instructs the speech recognizer how to process the speech audio.

Property Value
TypeDescription
InputAudioConfig