MatchIntentResponse

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/<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.

triggerEvent

string

If an event was provided as input, this field will contain a copy of the event name.