Google Cloud Dialogflow v2 API - Class AutomatedAgentReply (4.34.0)

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

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

Represents a response from an automated agent.

Inheritance

object > AutomatedAgentReply

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

AutomatedAgentReply()

public AutomatedAgentReply()

AutomatedAgentReply(AutomatedAgentReply)

public AutomatedAgentReply(AutomatedAgentReply other)
Parameter
Name Description
other AutomatedAgentReply

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
Type Description
bool

AutomatedAgentReplyType

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

AutomatedAgentReply type.

Property Value
Type Description
AutomatedAgentReplyTypesAutomatedAgentReplyType

CallCompanionAuthCode

public ByteString CallCompanionAuthCode { get; set; }

The auth code for accessing Call Companion UI.

Property Value
Type Description
ByteString

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
Type Description
string

DetectIntentResponse

public DetectIntentResponse DetectIntentResponse { get; set; }

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

Property Value
Type Description
DetectIntentResponse

Event

public string Event { get; set; }

Event name if an event is triggered for the query.

Property Value
Type Description
string

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
Type Description
string

IntentAsIntentName

public IntentName IntentAsIntentName { get; set; }

IntentName-typed view over the Intent resource name property.

Property Value
Type Description
IntentName

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
Type Description
float

Parameters

public Struct Parameters { get; set; }

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

Property Value
Type Description
Struct

ResponseMessages

public RepeatedField<ResponseMessage> ResponseMessages { get; }

Response messages from the automated agent.

Property Value
Type Description
RepeatedFieldResponseMessage