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

1.0.0-beta30 (latest) 1.0.0-beta29

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

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

Answer records are records to manage answer history and feedbacks for
Dialogflow.

Currently, answer record includes:

- human agent assistant article suggestion
- human agent assistant faq article

It doesn't include:

- `DetectIntent` intent matching
- `DetectIntent` knowledge

Answer records are not related to the conversation history in the
Dialogflow Console. A Record is generated even when the end-user disables
conversation history in the console. Records are created when there's a human
agent assistant suggestion generated.

A typical workflow for customers provide feedback to an answer is:

1. For human agent assistant, customers get suggestion via ListSuggestions API. Together with the answers, \[AnswerRecord.name\]\[google.cloud.dialogflow.v2beta1.AnswerRecord.name\] are returned to the customers.
2. The customer uses the \[AnswerRecord.name\]\[google.cloud.dialogflow.v2beta1.AnswerRecord.name\] to call the \[UpdateAnswerRecord\]\[\] method to send feedback about a specific answer that they believe is wrong.

## Inheritance

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

## Implements

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

### AnswerRecord()

    public AnswerRecord()

### AnswerRecord(AnswerRecord)

    public AnswerRecord(AnswerRecord other)

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

## Properties

### AgentAssistantRecord

    public AgentAssistantRecord AgentAssistantRecord { get; set; }

Output only. The record for human agent assistant.

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

### AnswerFeedback

    public AnswerFeedback AnswerFeedback { get; set; }

Optional. The AnswerFeedback for this record. You can set this with
\[AnswerRecords.UpdateAnswerRecord\]\[google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord\]
in order to give us feedback about this answer.

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

### AnswerRecordName

    public AnswerRecordName AnswerRecordName { 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 [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.AnswerRecord#Google_Cloud_Dialogflow_V2Beta1_AnswerRecord_Name) 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` |   |

### Name

    public string Name { get; set; }

The unique identifier of this answer record.
Required for
\[AnswerRecords.UpdateAnswerRecord\]\[google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord\]
method. Format: `projects/<Project ID>/locations/<Location
ID>/answerRecords/<Answer Record ID>`.

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

### RecordCase

    public AnswerRecord.RecordOneofCase RecordCase { get; }

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