Google Cloud Dialogflow v2 API - Class QueryInput (4.5.0)

public sealed class QueryInput : IMessage<QueryInput>, IEquatable<QueryInput>, IDeepCloneable<QueryInput>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class QueryInput.

Represents the query input. It can contain either:

  1. An audio config which instructs the speech recognizer how to process the speech audio.

  2. A conversational query in the form of text,.

  3. An event that specifies which intent to trigger.

Inheritance

Object > QueryInput

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

QueryInput()

public QueryInput()

QueryInput(QueryInput)

public QueryInput(QueryInput other)
Parameter
NameDescription
otherQueryInput

Properties

AudioConfig

public InputAudioConfig AudioConfig { get; set; }

Instructs the speech recognizer how to process the speech audio.

Property Value
TypeDescription
InputAudioConfig

Event

public EventInput Event { get; set; }

The event to be processed.

Property Value
TypeDescription
EventInput

InputCase

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

Text

public TextInput Text { get; set; }

The natural language text to be processed. Text length must not exceed 256 character for virtual agent interactions.

Property Value
TypeDescription
TextInput