Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class MatchIntentResponse.
Response of MatchIntent .
Generated from protobuf message google.cloud.dialogflow.cx.v3.MatchIntentResponse
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ text
↳ trigger_intent
string
If an intent
was provided as input, this field will contain a copy of the intent identifier. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>
.
↳ transcript
string
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
↳ trigger_event
↳ matches
array< Google\Cloud\Dialogflow\Cx\V3\PBMatch
>
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
↳ current_page
Google\Cloud\Dialogflow\Cx\V3\Page
The current Page
. Some, not all fields are filled in this message, including but not limited to name
and display_name
.
getText
If natural language text was provided as input, this field will contain a copy of the text.
string
hasText
setText
If natural language text was provided as input, this field will contain a copy of the text.
var
string
$this
getTriggerIntent
If an intent
was provided as
input, this field will contain a copy of the intent identifier. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/intents/<Intent ID>
.
string
hasTriggerIntent
setTriggerIntent
If an intent
was provided as
input, this field will contain a copy of the intent identifier. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/intents/<Intent ID>
.
var
string
$this
getTranscript
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
string
hasTranscript
setTranscript
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
var
string
$this
getTriggerEvent
If an event was provided as input, this field will contain a copy of the event name.
string
hasTriggerEvent
setTriggerEvent
If an event was provided as input, this field will contain a copy of the event name.
var
string
$this
getMatches
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
setMatches
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
$this
getCurrentPage
The current Page
. Some, not all
fields are filled in this message, including but not limited to name
and display_name
.
hasCurrentPage
clearCurrentPage
setCurrentPage
The current Page
. Some, not all
fields are filled in this message, including but not limited to name
and display_name
.
$this
getQuery
string