Class QueryInput (2.29.0)

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

Represents the query input. It can contain either:

  1. An audio config which instructs the speech recognizer how to process the speech audio.

  2. A conversational query in the form of text.

  3. An event that specifies which intent to trigger.

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
audio_config google.cloud.dialogflow_v2.types.InputAudioConfig
Instructs the speech recognizer how to process the speech audio. This field is a member of oneof_ input.
text google.cloud.dialogflow_v2.types.TextInput
The natural language text to be processed. Text length must not exceed 256 character for virtual agent interactions. This field is a member of oneof_ input.
event google.cloud.dialogflow_v2.types.EventInput
The event to be processed. This field is a member of oneof_ input.