Class QueryInput (1.17.1)

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

Represents the query input. It can contain one of:

  1. A conversational query in the form of text.

  2. An intent query that specifies which intent to trigger.

  3. Natural language speech audio to be processed.

  4. An event to be triggered.

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 google.cloud.dialogflowcx_v3.types.TextInput
The natural language text to be processed. This field is a member of oneof_ input.
intent google.cloud.dialogflowcx_v3.types.IntentInput
The intent to be triggered. This field is a member of oneof_ input.
audio google.cloud.dialogflowcx_v3.types.AudioInput
The natural language speech audio to be processed. This field is a member of oneof_ input.
event google.cloud.dialogflowcx_v3.types.EventInput
The event to be triggered. This field is a member of oneof_ input.
dtmf google.cloud.dialogflowcx_v3.types.DtmfInput
The DTMF event to be handled. This field is a member of oneof_ input.
language_code str
Required. The language of the input. See `Language Support