Class MatchIntentResponse (1.24.0)

MatchIntentResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Response of [MatchIntent][].

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
text str
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text. This field is a member of oneof_ query.
trigger_intent str
If an intent was provided as input, this field will contain a copy of the intent identifier. Format: projects/. This field is a member of oneof_ query.
transcript str
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio. This field is a member of oneof_ query.
trigger_event str
If an event was provided as input, this field will contain a copy of the event name. This field is a member of oneof_ query.
matches MutableSequence[google.cloud.dialogflowcx_v3.types.Match]
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
current_page google.cloud.dialogflowcx_v3.types.Page
The current Page. Some, not all fields are filled in this message, including but not limited to name and display_name.