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

1.0.0-beta30 (latest) 1.0.0-beta29

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

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

Represents answer from "frequently asked questions".

## Inheritance

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

## Implements

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

### FaqAnswer()

    public FaqAnswer()

### FaqAnswer(FaqAnswer)

    public FaqAnswer(FaqAnswer other)

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

## Properties

### Answer

    public string Answer { get; set; }

The piece of text from the `source` knowledge base document.

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

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

### Confidence

    public float Confidence { get; set; }

The system's confidence score that this Knowledge answer is a good match
for this conversational query, range from 0.0 (completely uncertain)
to 1.0 (completely certain).

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

### Metadata

    public MapField<string, string> Metadata { get; }

A map that contains metadata about the answer and the
document from which it originates.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Question

    public string Question { get; set; }

The corresponding FAQ question.

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

### Source

    public string Source { get; set; }

Indicates which Knowledge Document this answer was extracted
from.
Format: `projects/<Project ID>/locations/<Location
ID>/agent/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>`.

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