Class QueryInput (1.36.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.

  5. DTMF digits to invoke an intent and fill in parameter value.

  6. The results of a tool executed by the client.

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

Name Description
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.
tool_call_result google.cloud.dialogflowcx_v3beta1.types.ToolCallResult
The results of a tool executed by the client. This field is a member of oneof_ input.
language_code str
Required. The language of the input. See `Language Support