End user selected
[CompleteQueryResponse.QuerySuggestion.suggestion][google.cloud.discoveryengine.v1beta.CompleteQueryResponse.QuerySuggestion.suggestion]
position, starting from 0.
End user selected
[CompleteQueryResponse.QuerySuggestion.suggestion][google.cloud.discoveryengine.v1beta.CompleteQueryResponse.QuerySuggestion.suggestion].
[[["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 \u003ccode\u003eCompletionInfo\u003c/code\u003e class in the Discovery Engine v1beta API provides detailed information about completion suggestions, including attribution tokens and clicked completion details.\u003c/p\u003e\n"],["\u003cp\u003eThis class, part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e namespace, is implemented in the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta.dll\u003c/code\u003e assembly, and inherits from the object class while implementing multiple interfaces.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two constructors: a default constructor, and another that accepts an existing \u003ccode\u003eCompletionInfo\u003c/code\u003e object to create a copy.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eCompletionInfo\u003c/code\u003e include \u003ccode\u003eSelectedPosition\u003c/code\u003e, an integer indicating the user-selected position of a suggestion, and \u003ccode\u003eSelectedSuggestion\u003c/code\u003e, a string representing the actual user-selected suggestion.\u003c/p\u003e\n"],["\u003cp\u003eThe current latest version of \u003ccode\u003eCompletionInfo\u003c/code\u003e is 1.0.0-beta18.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class CompletionInfo (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionInfo)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.CompletionInfo) \n\n public sealed class CompletionInfo : IMessage\u003cCompletionInfo\u003e, IEquatable\u003cCompletionInfo\u003e, IDeepCloneable\u003cCompletionInfo\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class CompletionInfo.\n\nDetailed completion information including completion attribution token and\nclicked completion info. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CompletionInfo \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CompletionInfo](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CompletionInfo](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CompletionInfo](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionInfo), [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.DiscoveryEngine.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### CompletionInfo()\n\n public CompletionInfo()\n\n### CompletionInfo(CompletionInfo)\n\n public CompletionInfo(CompletionInfo other)\n\nProperties\n----------\n\n### SelectedPosition\n\n public int SelectedPosition { get; set; }\n\nEnd user selected\n\\[CompleteQueryResponse.QuerySuggestion.suggestion\\]\\[google.cloud.discoveryengine.v1beta.CompleteQueryResponse.QuerySuggestion.suggestion\\]\nposition, starting from 0.\n\n### SelectedSuggestion\n\n public string SelectedSuggestion { get; set; }\n\nEnd user selected\n\\[CompleteQueryResponse.QuerySuggestion.suggestion\\]\\[google.cloud.discoveryengine.v1beta.CompleteQueryResponse.QuerySuggestion.suggestion\\]."]]