public sealed class QueryInput : IMessage<QueryInput>, IEquatable<QueryInput>, IDeepCloneable<QueryInput>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class QueryInput.
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.
Implements
IMessageQueryInput, IEquatableQueryInput, IDeepCloneableQueryInput, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
QueryInput()
public QueryInput()
QueryInput(QueryInput)
public QueryInput(QueryInput other)
Parameter | |
---|---|
Name | Description |
other |
QueryInput |
Properties
AudioConfig
public InputAudioConfig AudioConfig { get; set; }
Instructs the speech recognizer how to process the speech audio.
Property Value | |
---|---|
Type | Description |
InputAudioConfig |
Dtmf
public TelephonyDtmfEvents Dtmf { get; set; }
The DTMF digits used to invoke intent and fill in parameter value.
Property Value | |
---|---|
Type | Description |
TelephonyDtmfEvents |
Event
public EventInput Event { get; set; }
The event to be processed.
Property Value | |
---|---|
Type | Description |
EventInput |
InputCase
public QueryInput.InputOneofCase InputCase { get; }
Property Value | |
---|---|
Type | Description |
QueryInputInputOneofCase |
Text
public TextInput Text { get; set; }
The natural language text to be processed.
Property Value | |
---|---|
Type | Description |
TextInput |