Dialogflow v3 API - Class QueryInput (2.19.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.

  6. The results of a tool executed by the client.

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
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