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

1.0.0-beta30 (latest) 1.0.0-beta29

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

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

Represents a smart reply answer.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> SmartReplyAnswer

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SmartReplyAnswer](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SmartReplyAnswer), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SmartReplyAnswer](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SmartReplyAnswer), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SmartReplyAnswer](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SmartReplyAnswer), [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

### SmartReplyAnswer()

    public SmartReplyAnswer()

### SmartReplyAnswer(SmartReplyAnswer)

    public SmartReplyAnswer(SmartReplyAnswer other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SmartReplyAnswer` |

## Properties

### AnswerRecord

    public string AnswerRecord { get; set; }

The name of answer record, in the format of
"projects/\<Project ID\>/locations/\<Location ID\>/answerRecords/\<Answer Record
ID\>"

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

### AnswerRecordAsAnswerRecordName

    public AnswerRecordName AnswerRecordAsAnswerRecordName { get; set; }

[AnswerRecordName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.AnswerRecordName)-typed view over the [AnswerRecord](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SmartReplyAnswer#Google_Cloud_Dialogflow_V2Beta1_SmartReplyAnswer_AnswerRecord) resource name property.

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

### Confidence

    public float Confidence { get; set; }

Smart reply confidence.
The system's confidence score that this reply is a good match for
this conversation, as a value from 0.0 (completely uncertain) to 1.0
(completely certain).

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

### Reply

    public string Reply { get; set; }

The content of the reply.

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