Google Cloud Dialogflow v2 API - Class SearchKnowledgeAnswer (4.21.0)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SearchKnowledgeAnswer.

Represents a SearchKnowledge answer.

Inheritance

object > SearchKnowledgeAnswer

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

SearchKnowledgeAnswer()

public SearchKnowledgeAnswer()

SearchKnowledgeAnswer(SearchKnowledgeAnswer)

public SearchKnowledgeAnswer(SearchKnowledgeAnswer other)
Parameter
Name Description
other SearchKnowledgeAnswer

Properties

Answer

public string Answer { get; set; }

The piece of text from the knowledge base documents that answers the search query

Property Value
Type Description
string

AnswerRecord

public string AnswerRecord { get; set; }

The name of the answer record. Format: projects/<Project ID>/locations/<location ID>/answer Records/<Answer Record ID>

Property Value
Type Description
string

AnswerSources

public RepeatedField<SearchKnowledgeAnswer.Types.AnswerSource> AnswerSources { get; }

All sources used to generate the answer.

Property Value
Type Description
RepeatedFieldSearchKnowledgeAnswerTypesAnswerSource

AnswerType

public SearchKnowledgeAnswer.Types.AnswerType AnswerType { get; set; }

The type of the answer.

Property Value
Type Description
SearchKnowledgeAnswerTypesAnswerType