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)
},
// Union field query can be only one of the following:
"text": string,
"triggerIntent": string,
"transcript": string,
"triggerEvent": string
// End of list of possible types for union field query.
} |
| 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.
|
Union field query. The original conversational query. query can be only one of the following: |
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.
|
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 2025-06-27 UTC.
[null,null,["Last updated 2025-06-27 UTC."],[],[]]