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
{

  // Union field input can be only one of the following:
  "audioConfig": {
    object (InputAudioConfig)
  },
  "text": {
    object (TextInput)
  },
  "event": {
    object (EventInput)
  },
  "dtmf": {
    object (TelephonyDtmfEvents)
  }
  // End of list of possible types for union field input.
}
Fields
Union field input. Required. The input specification. input can be only one of the following:
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.

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: '#'.