Represents the natural speech audio to be processed.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#audio
def audio() -> ::String-
(::String) — 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 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.
#audio=
def audio=(value) -> ::String-
value (::String) — 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 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.
-
(::String) — 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 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.
#config
def config() -> ::Google::Cloud::Dialogflow::CX::V3::InputAudioConfig- (::Google::Cloud::Dialogflow::CX::V3::InputAudioConfig) — Required. Instructs the speech recognizer how to process the speech audio.
#config=
def config=(value) -> ::Google::Cloud::Dialogflow::CX::V3::InputAudioConfig- value (::Google::Cloud::Dialogflow::CX::V3::InputAudioConfig) — Required. Instructs the speech recognizer how to process the speech audio.
- (::Google::Cloud::Dialogflow::CX::V3::InputAudioConfig) — Required. Instructs the speech recognizer how to process the speech audio.