Google Cloud Dialogflow v2 API - Class QueryInput (4.25.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
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

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. Text length must not exceed 256 character for virtual agent interactions.

Property Value
Type Description
TextInput