Google Cloud Dialogflow v2 API - Class SearchKnowledgeAnswer (4.13.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
NameDescription
otherSearchKnowledgeAnswer

Properties

Answer

public string Answer { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
string

AnswerSources

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

All sources used to generate the answer.

Property Value
TypeDescription
RepeatedFieldSearchKnowledgeAnswerTypesAnswerSource

AnswerType

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

The type of the answer.

Property Value
TypeDescription
SearchKnowledgeAnswerTypesAnswerType