MatchIntentResponse

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.