Google Cloud Dialogflow Cx V3 Client - Class FulfillIntentRequest (0.4.0)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class FulfillIntentRequest.

Request of FulfillIntent

Generated from protobuf message google.cloud.dialogflow.cx.v3.FulfillIntentRequest

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ match_intent_request Google\Cloud\Dialogflow\Cx\V3\MatchIntentRequest

Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.

↳ match Google\Cloud\Dialogflow\Cx\V3\PBMatch

The matched intent/event to fulfill.

↳ output_audio_config Google\Cloud\Dialogflow\Cx\V3\OutputAudioConfig

Instructs the speech synthesizer how to generate output audio.

getMatchIntentRequest

Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\MatchIntentRequest|null

hasMatchIntentRequest

clearMatchIntentRequest

setMatchIntentRequest

Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.

Parameter
Name Description
var Google\Cloud\Dialogflow\Cx\V3\MatchIntentRequest
Returns
Type Description
$this

getMatch

The matched intent/event to fulfill.

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\PBMatch|null

hasMatch

clearMatch

setMatch

The matched intent/event to fulfill.

Parameter
Name Description
var Google\Cloud\Dialogflow\Cx\V3\PBMatch
Returns
Type Description
$this

getOutputAudioConfig

Instructs the speech synthesizer how to generate output audio.

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\OutputAudioConfig|null

hasOutputAudioConfig

clearOutputAudioConfig

setOutputAudioConfig

Instructs the speech synthesizer how to generate output audio.

Parameter
Name Description
var Google\Cloud\Dialogflow\Cx\V3\OutputAudioConfig
Returns
Type Description
$this