Some products and features are in the process of being renamed. Generative playbook and flow features are also being migrated to a single
consolidated console.
MatchIntentResponse
Stay organized with collections
Save and categorize content based on your preferences.
Response of [MatchIntent][].
| JSON representation |
{
"matches": [
{
object (Match)
}
],
"currentPage": {
object (Page)
},
// The following is a list of mutually exclusive fields. At most one of the
// fields will be set in a response:
"text": string,
"triggerIntent": string,
"transcript": string,
"triggerEvent": string
// End of mutually exclusive fields.
} |
| Fields |
matches[] |
object (Match)
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
|
currentPage |
object (Page)
The current Page. Some, not all fields are filled in this message, including but not limited to name and displayName.
|
| The original conversational query. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: |
text |
string
If natural language text was provided as input, this field will contain a copy of the text.
|
triggerIntent |
string
If an intent was provided as input, this field will contain a copy of the intent identifier. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>.
|
transcript |
string
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
|
triggerEvent |
string
If an event was provided as input, this field will contain a copy of the event name.
|
| End of mutually exclusive fields. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-09-24 UTC.
[null,null,["Last updated 2026-09-24 UTC."],[],[]]