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

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 MatchIntentRequest

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

↳ match PBMatch

The matched intent/event to fulfill.

↳ output_audio_config 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
MatchIntentRequest|null

hasMatchIntentRequest

clearMatchIntentRequest

setMatchIntentRequest

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

Parameter
Name Description
var MatchIntentRequest
Returns
Type Description
$this

getMatch

The matched intent/event to fulfill.

Returns
Type Description
PBMatch|null

hasMatch

clearMatch

setMatch

The matched intent/event to fulfill.

Parameter
Name Description
var PBMatch
Returns
Type Description
$this

getOutputAudioConfig

Instructs the speech synthesizer how to generate output audio.

Returns
Type Description
OutputAudioConfig|null

hasOutputAudioConfig

clearOutputAudioConfig

setOutputAudioConfig

Instructs the speech synthesizer how to generate output audio.

Parameter
Name Description
var OutputAudioConfig
Returns
Type Description
$this