Google Cloud Dialogflow Cx V3 Client - Class FulfillIntentRequest (0.1.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
NameDescription
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
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\MatchIntentRequest|null

hasMatchIntentRequest

clearMatchIntentRequest

setMatchIntentRequest

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

Parameter
NameDescription
var Google\Cloud\Dialogflow\Cx\V3\MatchIntentRequest
Returns
TypeDescription
$this

getMatch

The matched intent/event to fulfill.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\PBMatch|null

hasMatch

clearMatch

setMatch

The matched intent/event to fulfill.

Parameter
NameDescription
var Google\Cloud\Dialogflow\Cx\V3\PBMatch
Returns
TypeDescription
$this

getOutputAudioConfig

Instructs the speech synthesizer how to generate output audio.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\OutputAudioConfig|null

hasOutputAudioConfig

clearOutputAudioConfig

setOutputAudioConfig

Instructs the speech synthesizer how to generate output audio.

Parameter
NameDescription
var Google\Cloud\Dialogflow\Cx\V3\OutputAudioConfig
Returns
TypeDescription
$this