Google Cloud Dialogflow v2beta1 API - Class AutomatedAgentReply (1.0.0-beta15)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class AutomatedAgentReply.

Represents a response from an automated agent.

Inheritance

object > AutomatedAgentReply

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

AutomatedAgentReply()

public AutomatedAgentReply()

AutomatedAgentReply(AutomatedAgentReply)

public AutomatedAgentReply(AutomatedAgentReply other)
Parameter
NameDescription
otherAutomatedAgentReply

Properties

AllowCancellation

public bool AllowCancellation { get; set; }

Indicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.

Property Value
TypeDescription
bool

AutomatedAgentReplyType

public AutomatedAgentReply.Types.AutomatedAgentReplyType AutomatedAgentReplyType { get; set; }

AutomatedAgentReply type.

Property Value
TypeDescription
AutomatedAgentReplyTypesAutomatedAgentReplyType

CxCurrentPage

public string CxCurrentPage { get; set; }

The unique identifier of the current Dialogflow CX conversation page. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.

Property Value
TypeDescription
string

CxSessionParameters

[Obsolete]
public Struct CxSessionParameters { get; set; }

The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use parameters instead.

Property Value
TypeDescription
Struct

DetectIntentResponse

public DetectIntentResponse DetectIntentResponse { get; set; }

Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.

Property Value
TypeDescription
DetectIntentResponse

Event

public string Event { get; set; }

Event name if an event is triggered for the query.

Property Value
TypeDescription
string

HasEvent

public bool HasEvent { get; }

Gets whether the "event" field is set

Property Value
TypeDescription
bool

HasIntent

public bool HasIntent { get; }

Gets whether the "intent" field is set

Property Value
TypeDescription
bool

Intent

public string Intent { get; set; }

Name of the intent if an intent is matched for the query. For a V2 query, the value format is projects/<Project ID>/locations/ <Location ID>/agent/intents/<Intent ID>. For a V3 query, the value format is projects/<Project ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>.

Property Value
TypeDescription
string

IntentAsIntentName

public IntentName IntentAsIntentName { get; set; }

IntentName-typed view over the Intent resource name property.

Property Value
TypeDescription
IntentName

MatchCase

public AutomatedAgentReply.MatchOneofCase MatchCase { get; }
Property Value
TypeDescription
AutomatedAgentReplyMatchOneofCase

MatchConfidence

public float MatchConfidence { get; set; }

The confidence of the match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation.

Property Value
TypeDescription
float

Parameters

public Struct Parameters { get; set; }

The collection of current parameters at the time of this response.

Property Value
TypeDescription
Struct

ResponseCase

public AutomatedAgentReply.ResponseOneofCase ResponseCase { get; }
Property Value
TypeDescription
AutomatedAgentReplyResponseOneofCase

ResponseMessages

public RepeatedField<ResponseMessage> ResponseMessages { get; }

Response messages from the automated agent.

Property Value
TypeDescription
RepeatedFieldResponseMessage