Dialogflow v3 API - Class QueryInput (2.10.0)

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:

  1. A conversational query in the form of text.

  2. An intent query that specifies which intent to trigger.

  3. Natural language speech audio to be processed.

  4. An event to be triggered.

  5. DTMF digits to invoke an intent and fill in parameter value.

Inheritance

object > QueryInput

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

QueryInput()

public QueryInput()

QueryInput(QueryInput)

public QueryInput(QueryInput other)
Parameter
NameDescription
otherQueryInput

Properties

Audio

public AudioInput Audio { get; set; }

The natural language speech audio to be processed.

Property Value
TypeDescription
AudioInput

Dtmf

public DtmfInput Dtmf { get; set; }

The DTMF event to be handled.

Property Value
TypeDescription
DtmfInput

Event

public EventInput Event { get; set; }

The event to be triggered.

Property Value
TypeDescription
EventInput

InputCase

public QueryInput.InputOneofCase InputCase { get; }
Property Value
TypeDescription
QueryInputInputOneofCase

Intent

public IntentInput Intent { get; set; }

The intent to be triggered.

Property Value
TypeDescription
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
TypeDescription
string

Text

public TextInput Text { get; set; }

The natural language text to be processed.

Property Value
TypeDescription
TextInput