public sealed class CompleteQueryResponse : IMessage<CompleteQueryResponse>, IEquatable<CompleteQueryResponse>, IDeepCloneable<CompleteQueryResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class CompleteQueryResponse.
Response message for
[CompletionService.CompleteQuery][google.cloud.discoveryengine.v1.CompletionService.CompleteQuery]
method.
[[["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\u003eCompleteQueryResponse\u003c/code\u003e class is 1.6.0, within the Google.Cloud.DiscoveryEngine.V1 namespace, and it's part of the Discovery Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompleteQueryResponse\u003c/code\u003e class is a response message for the \u003ccode\u003eCompletionService.CompleteQuery\u003c/code\u003e method, designed to provide query suggestions.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<CompleteQueryResponse>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<CompleteQueryResponse>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities such as deep cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors, a default constructor and another that takes an existing \u003ccode\u003eCompleteQueryResponse\u003c/code\u003e object for parameter-based initialization.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCompleteQueryResponse\u003c/code\u003e includes properties such as \u003ccode\u003eQuerySuggestions\u003c/code\u003e, which is a list of ordered query suggestions, and \u003ccode\u003eTailMatchTriggered\u003c/code\u003e, which indicates whether returned suggestions are tail suggestions.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class CompleteQueryResponse (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CompleteQueryResponse)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.CompleteQueryResponse)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.CompleteQueryResponse)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.CompleteQueryResponse)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.CompleteQueryResponse)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.CompleteQueryResponse)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.CompleteQueryResponse)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.CompleteQueryResponse)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.CompleteQueryResponse)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.CompleteQueryResponse) \n\n public sealed class CompleteQueryResponse : IMessage\u003cCompleteQueryResponse\u003e, IEquatable\u003cCompleteQueryResponse\u003e, IDeepCloneable\u003cCompleteQueryResponse\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class CompleteQueryResponse.\n\nResponse message for\n\\[CompletionService.CompleteQuery\\]\\[google.cloud.discoveryengine.v1.CompletionService.CompleteQuery\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CompleteQueryResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CompleteQueryResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CompleteQueryResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CompleteQueryResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CompleteQueryResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CompleteQueryResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CompleteQueryResponse), [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.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### CompleteQueryResponse()\n\n public CompleteQueryResponse()\n\n### CompleteQueryResponse(CompleteQueryResponse)\n\n public CompleteQueryResponse(CompleteQueryResponse other)\n\nProperties\n----------\n\n### QuerySuggestions\n\n public RepeatedField\u003cCompleteQueryResponse.Types.QuerySuggestion\u003e QuerySuggestions { get; }\n\nResults of the matched query suggestions. The result list is ordered and\nthe first result is a top suggestion.\n\n### TailMatchTriggered\n\n public bool TailMatchTriggered { get; set; }\n\nTrue if the returned suggestions are all tail suggestions.\n\nFor tail matching to be triggered, include_tail_suggestions in the request\nmust be true and there must be no suggestions that match the full query."]]