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

Attributes: text (google.cloud.dialogflowcx_v3.types.TextInput): The natural language text to be processed. intent (google.cloud.dialogflowcx_v3.types.IntentInput): The intent to be triggered. audio (google.cloud.dialogflowcx_v3.types.AudioInput): The natural language speech audio to be processed. event (google.cloud.dialogflowcx_v3.types.EventInput): The event to be triggered. dtmf (google.cloud.dialogflowcx_v3.types.DtmfInput): The DTMF event to be handled. language_code (str): Required. The language of the input. See Language Support <https://cloud.google.com/dialogflow/cx/docs/reference/language>__ for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.

Inheritance

builtins.object > proto.message.Message > QueryInput