Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::OutputAudio.
Represents the natural language speech audio to be played to the end user.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#audio
def audio() -> ::String
Returns
- (::String) — The natural language speech audio.
#audio=
def audio=(value) -> ::String
Parameter
- value (::String) — The natural language speech audio.
Returns
- (::String) — The natural language speech audio.
#config
def config() -> ::Google::Cloud::Dialogflow::V2::OutputAudioConfig
Returns
- (::Google::Cloud::Dialogflow::V2::OutputAudioConfig) — Instructs the speech synthesizer how to generate the speech audio.
#config=
def config=(value) -> ::Google::Cloud::Dialogflow::V2::OutputAudioConfig
Parameter
- value (::Google::Cloud::Dialogflow::V2::OutputAudioConfig) — Instructs the speech synthesizer how to generate the speech audio.
Returns
- (::Google::Cloud::Dialogflow::V2::OutputAudioConfig) — Instructs the speech synthesizer how to generate the speech audio.