The score of the suggestion. This can be used to define ordering in UI.
The score represents confidence in the suggestion where higher is better.
All score values must be in the range [0, 1).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eSuggestion\u003c/code\u003e class is 2.0.0-alpha02, part of the Google.Cloud.DataQnA.V1Alpha API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSuggestion\u003c/code\u003e class is a sealed class that implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and represents a query suggestion with a ranking score.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSuggestion\u003c/code\u003e class includes properties like \u003ccode\u003eRankingScore\u003c/code\u003e, a double representing the confidence in the suggestion, and \u003ccode\u003eSuggestionInfo\u003c/code\u003e and \u003ccode\u003eSuggestionType\u003c/code\u003e for detailed information and the type of the suggestion.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default and one that takes another \u003ccode\u003eSuggestion\u003c/code\u003e object as a parameter for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe class inheirits members from the base object class like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Data QnA v1alpha API - Class Suggestion (2.0.0-alpha02)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-alpha02 (latest)](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/latest/Google.Cloud.DataQnA.V1Alpha.Suggestion)\n- [2.0.0-alpha01](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/2.0.0-alpha01/Google.Cloud.DataQnA.V1Alpha.Suggestion)\n- [1.0.0-alpha03](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/1.0.0-alpha03/Google.Cloud.DataQnA.V1Alpha.Suggestion) \n\n public sealed class Suggestion : IMessage\u003cSuggestion\u003e, IEquatable\u003cSuggestion\u003e, IDeepCloneable\u003cSuggestion\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Data QnA v1alpha API class Suggestion.\n\nA suggestion for a query with a ranking score. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Suggestion \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Suggestion](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/latest/Google.Cloud.DataQnA.V1Alpha.Suggestion), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Suggestion](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/latest/Google.Cloud.DataQnA.V1Alpha.Suggestion), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Suggestion](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/latest/Google.Cloud.DataQnA.V1Alpha.Suggestion), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DataQnA.V1Alpha](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/latest/Google.Cloud.DataQnA.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.DataQnA.V1Alpha.dll\n\nConstructors\n------------\n\n### Suggestion()\n\n public Suggestion()\n\n### Suggestion(Suggestion)\n\n public Suggestion(Suggestion other)\n\nProperties\n----------\n\n### RankingScore\n\n public double RankingScore { get; set; }\n\nThe score of the suggestion. This can be used to define ordering in UI.\nThe score represents confidence in the suggestion where higher is better.\nAll score values must be in the range \\[0, 1).\n\n### SuggestionInfo\n\n public SuggestionInfo SuggestionInfo { get; set; }\n\nDetailed information about the suggestion.\n\n### SuggestionType\n\n public SuggestionType SuggestionType { get; set; }\n\nThe type of the suggestion."]]