QueryInput

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.

JSON representation
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "audioConfig": {
    object (InputAudioConfig)
  },
  "text": {
    object (TextInput)
  },
  "event": {
    object (EventInput)
  }
  // End of mutually exclusive fields.
}
Fields
Required. The input specification. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
audioConfig

object (InputAudioConfig)

Instructs the speech recognizer how to process the speech audio.

text

object (TextInput)

The natural language text to be processed. Text length must not exceed 256 character for virtual agent interactions.

event

object (EventInput)

The event to be processed.

End of mutually exclusive fields.