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

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
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

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

DetectIntentResponse

public DetectIntentResponse DetectIntentResponse { get; set; }

Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.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

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

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

MatchCase

public AutomatedAgentReply.MatchOneofCase MatchCase { get; }
Property Value
Type Description
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
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

ResponseCase

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

ResponseMessages

public RepeatedField<ResponseMessage> ResponseMessages { get; }

Response messages from the automated agent.

Property Value
Type Description
RepeatedFieldResponseMessage