Google Cloud Dialogflow v2beta1 API - Class SearchKnowledgeAnswer (1.0.0-beta10)

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

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

Represents a SearchKnowledge answer.

Inheritance

object > SearchKnowledgeAnswer

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.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