public sealed class QueryInput : IMessage<QueryInput>, IEquatable<QueryInput>, IDeepCloneable<QueryInput>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class QueryInput.
Represents the query input. It can contain one of:
A conversational query in the form of text.
An intent query that specifies which intent to trigger.
Natural language speech audio to be processed.
An event to be triggered.
DTMF digits to invoke an intent and fill in parameter value.
Implements
IMessageQueryInput, IEquatableQueryInput, IDeepCloneableQueryInput, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
QueryInput()
public QueryInput()
QueryInput(QueryInput)
public QueryInput(QueryInput other)
Parameter | |
---|---|
Name | Description |
other | QueryInput |
Properties
Audio
public AudioInput Audio { get; set; }
The natural language speech audio to be processed.
Property Value | |
---|---|
Type | Description |
AudioInput |
Dtmf
public DtmfInput Dtmf { get; set; }
The DTMF event to be handled.
Property Value | |
---|---|
Type | Description |
DtmfInput |
Event
public EventInput Event { get; set; }
The event to be triggered.
Property Value | |
---|---|
Type | Description |
EventInput |
InputCase
public QueryInput.InputOneofCase InputCase { get; }
Property Value | |
---|---|
Type | Description |
QueryInputInputOneofCase |
Intent
public IntentInput Intent { get; set; }
The intent to be triggered.
Property Value | |
---|---|
Type | Description |
IntentInput |
LanguageCode
public string LanguageCode { get; set; }
Required. The language of the input. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
Property Value | |
---|---|
Type | Description |
string |
Text
public TextInput Text { get; set; }
The natural language text to be processed.
Property Value | |
---|---|
Type | Description |
TextInput |