Data QnA v1alpha API - Class SuggestionInfo (2.0.0-alpha02)

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

Reference documentation and code samples for the Data QnA v1alpha API class SuggestionInfo.

Detailed information about the suggestion.

Inheritance

object > SuggestionInfo

Namespace

Google.Cloud.DataQnA.V1Alpha

Assembly

Google.Cloud.DataQnA.V1Alpha.dll

Constructors

SuggestionInfo()

public SuggestionInfo()

SuggestionInfo(SuggestionInfo)

public SuggestionInfo(SuggestionInfo other)
Parameter
NameDescription
otherSuggestionInfo

Properties

AnnotatedSuggestion

public AnnotatedString AnnotatedSuggestion { get; set; }

Annotations for the suggestion. This provides information about which part of the suggestion corresponds to what semantic meaning (e.g. a metric).

Property Value
TypeDescription
AnnotatedString

QueryMatches

public RepeatedField<SuggestionInfo.Types.MatchInfo> QueryMatches { get; }

Matches between user query and the annotated string.

Property Value
TypeDescription
RepeatedFieldSuggestionInfoTypesMatchInfo