Class QueryInput (1.12.0)

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_v3beta1.types.TextInput
The natural language text to be processed. This field is a member of `oneof`_ ``input``.
intent google.cloud.dialogflowcx_v3beta1.types.IntentInput
The intent to be triggered. This field is a member of `oneof`_ ``input``.
audio google.cloud.dialogflowcx_v3beta1.types.AudioInput
The natural language speech audio to be processed. This field is a member of `oneof`_ ``input``.
event google.cloud.dialogflowcx_v3beta1.types.EventInput
The event to be triggered. This field is a member of `oneof`_ ``input``.
dtmf google.cloud.dialogflowcx_v3beta1.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

Inheritance

builtins.object > proto.message.Message > QueryInput