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)
  },
  "dtmf": {
    object (TelephonyDtmfEvents)
  }
  // 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.

event

object (EventInput)

The event to be processed.

dtmf

object (TelephonyDtmfEvents)

The DTMF digits used to invoke intent and fill in parameter value.

End of mutually exclusive fields.

TelephonyDtmfEvents

A wrapper of repeated TelephonyDtmf digits.

JSON representation
{
  "dtmfEvents": [
    enum (TelephonyDtmf)
  ]
}
Fields
dtmfEvents[]

enum (TelephonyDtmf)

A sequence of TelephonyDtmf digits.

TelephonyDtmf

DTMF digit in Telephony Gateway.

Enums
TELEPHONY_DTMF_UNSPECIFIED Not specified. This value may be used to indicate an absent digit.
DTMF_ONE Number: '1'.
DTMF_TWO Number: '2'.
DTMF_THREE Number: '3'.
DTMF_FOUR Number: '4'.
DTMF_FIVE Number: '5'.
DTMF_SIX Number: '6'.
DTMF_SEVEN Number: '7'.
DTMF_EIGHT Number: '8'.
DTMF_NINE Number: '9'.
DTMF_ZERO Number: '0'.
DTMF_A Letter: 'A'.
DTMF_B Letter: 'B'.
DTMF_C Letter: 'C'.
DTMF_D Letter: 'D'.
DTMF_STAR Asterisk/star: '*'.
DTMF_POUND Pound/diamond/hash/square/gate/octothorpe: '#'.