Google Cloud Dialogflow V2 Client - Class OutputAudio (1.9.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class OutputAudio.

Represents the natural language speech audio to be played to the end user.

Generated from protobuf message google.cloud.dialogflow.v2.OutputAudio

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ config
Google\Cloud\Dialogflow\V2\OutputAudioConfig

Instructs the speech synthesizer how to generate the speech audio.

↳ audio
string

The natural language speech audio.

getConfig

Instructs the speech synthesizer how to generate the speech audio.

Returns
Type
Description

hasConfig

clearConfig

setConfig

Instructs the speech synthesizer how to generate the speech audio.

Parameter
Name
Description
Returns
Type
Description
$this

getAudio

The natural language speech audio.

Returns
Type
Description
string

setAudio

The natural language speech audio.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: