Class SuggestionInfo (2.0.0-alpha01)

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

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
RepeatedField<SuggestionInfo.Types.MatchInfo>