Represents the query input. It can contain either:
An audio config which instructs the speech recognizer how to process the speech audio.
A conversational query in the form of text.
An event that specifies which intent to trigger.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field input . Required. The input specification. input can be only one of the following: |
|
audio |
Instructs the speech recognizer how to process the speech audio. |
text |
The natural language text to be processed. |
event |
The event to be processed. |
dtmf |
The DTMF digits used to invoke intent and fill in parameter value. |
TelephonyDtmfEvents
A wrapper of repeated TelephonyDtmf digits.
JSON representation |
---|
{
"dtmfEvents": [
enum ( |
Fields | |
---|---|
dtmf |
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: '#'. |