Spec to control asking the user for a datetime.
JSON representation | |
---|---|
{
"dialogSpec": {
object ( |
Fields | |
---|---|
dialogSpec |
Control datetime prompts. |
DateTimeDialogSpec
Speech configurations for asking for datetime. The fields in the dialogSpec are used to create prompt for the datetime dialog. Please note that these configurations act more like a hint than absolute value. For example: In case of failure in receiving input from user for datetime the prompt might be: "Sorry; $request_(datetime/date/time)_text".
JSON representation | |
---|---|
{ "requestDatetimeText": string, "requestDateText": string, "requestTimeText": string } |
Fields | |
---|---|
requestDatetimeText |
This is used to create initial prompt by datetime sub-dialog. Example question: "What date and time do you want?" |
requestDateText |
This is used to create prompt to ask for date only. For example: What date are you looking for? |
requestTimeText |
This is used to create prompt to ask for time only. For example: What time? |