public sealed class BidiStreamingAnalyzeContentRequest.Types.TurnInput : IMessage<BidiStreamingAnalyzeContentRequest.Types.TurnInput>, IEquatable<BidiStreamingAnalyzeContentRequest.Types.TurnInput>, IDeepCloneable<BidiStreamingAnalyzeContentRequest.Types.TurnInput>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class BidiStreamingAnalyzeContentRequest.Types.TurnInput.
Input that forms data for a single turn.
Implements
IMessageBidiStreamingAnalyzeContentRequestTypesTurnInput, IEquatableBidiStreamingAnalyzeContentRequestTypesTurnInput, IDeepCloneableBidiStreamingAnalyzeContentRequestTypesTurnInput, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
TurnInput()
public TurnInput()TurnInput(TurnInput)
public TurnInput(BidiStreamingAnalyzeContentRequest.Types.TurnInput other)| Parameter | |
|---|---|
| Name | Description |
other |
BidiStreamingAnalyzeContentRequestTypesTurnInput |
Properties
Event
public string Event { get; set; }The input event name. This can only be sent once and would cancel the ongoing speech recognition if any. To trigger the Welcome intent use the event "WELCOME"
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasEvent
public bool HasEvent { get; }Gets whether the "event" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasIntent
public bool HasIntent { get; }Gets whether the "intent" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasText
public bool HasText { get; }Gets whether the "text" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Intent
public string Intent { get; set; }The intent to be triggered on V3 agent.
Format: projects/<Project ID>/locations/<Location ID>/locations/
<Location ID>/agents/<Agent ID>/intents/<Intent ID>. This can only be
used to trigger the Welcome intent id if the modality is text.
| Property Value | |
|---|---|
| Type | Description |
string |
|
IntentAsIntentName
public IntentName IntentAsIntentName { get; set; }IntentName-typed view over the Intent resource name property.
| Property Value | |
|---|---|
| Type | Description |
IntentName |
|
MainContentCase
public BidiStreamingAnalyzeContentRequest.Types.TurnInput.MainContentOneofCase MainContentCase { get; }| Property Value | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequestTypesTurnInputMainContentOneofCase |
|
Text
public string Text { get; set; }The UTF-8 encoded natural language text to be processed.
| Property Value | |
|---|---|
| Type | Description |
string |
|
VirtualAgentParameters
public Struct VirtualAgentParameters { get; set; }Optional. Parameters to be passed to the virtual agent.
| Property Value | |
|---|---|
| Type | Description |
Struct |
|