# Google Cloud Dialogflow v2beta1 API - Class AutomatedAgentReply (1.0.0-beta30)

1.0.0-beta30 (latest) 1.0.0-beta29

    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](https://learn.microsoft.com/dotnet/api/system.object) \> AutomatedAgentReply

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AutomatedAgentReply](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.AutomatedAgentReply), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AutomatedAgentReply](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.AutomatedAgentReply), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AutomatedAgentReply](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.AutomatedAgentReply), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dialogflow.V2Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1)

## Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

## Constructors

### AutomatedAgentReply()

    public AutomatedAgentReply()

### AutomatedAgentReply(AutomatedAgentReply)

    public AutomatedAgentReply(AutomatedAgentReply other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.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** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### AutomatedAgentReplyType

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

AutomatedAgentReply type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.AutomatedAgentReplyhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.AutomatedAgentReply.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.AutomatedAgentReply.Types.AutomatedAgentReplyType` |   |

### CallCompanionAuthCode

    public ByteString CallCompanionAuthCode { get; set; }

The auth code for accessing Call Companion UI.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.ByteString.html` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Struct.html` |   |

### DetectIntentResponse

    public DetectIntentResponse DetectIntentResponse { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.DetectIntentResponse` |   |

### Event

    public string Event { get; set; }

Event name if an event is triggered for the query.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### HasEvent

    public bool HasEvent { get; }

Gets whether the "event" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasIntent

    public bool HasIntent { get; }

Gets whether the "intent" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### IntentAsIntentName

    public IntentName IntentAsIntentName { get; set; }

[IntentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.IntentName)-typed view over the [Intent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.AutomatedAgentReply#Google_Cloud_Dialogflow_V2Beta1_AutomatedAgentReply_Intent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.IntentName` |   |

### MatchCase

    public AutomatedAgentReply.MatchOneofCase MatchCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.AutomatedAgentReplyhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.AutomatedAgentReply.MatchOneofCase` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.single` |   |

### Parameters

    public Struct Parameters { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Struct.html` |   |

### ResponseCase

    public AutomatedAgentReply.ResponseOneofCase ResponseCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.AutomatedAgentReplyhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.AutomatedAgentReply.ResponseOneofCase` |   |

### ResponseMessages

    public RepeatedField<ResponseMessage> ResponseMessages { get; }

Response messages from the automated agent.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ResponseMessage` |   |