public sealed class QueryInput : IMessage<QueryInput>, IEquatable<QueryInput>, IDeepCloneable<QueryInput>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2 API class QueryInput.
Represents the query input. It can contain either:
An audio config which instructs the speech recognizer how to process the speech audio.
A conversational query in the form of text,.
An event that specifies which intent to trigger.
Implements
IMessageQueryInput, IEquatableQueryInput, IDeepCloneableQueryInput, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.DialogflowV2Assembly
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 |
|