public sealed class CompletionDetail : IMessage<CompletionDetail>, IEquatable<CompletionDetail>, IDeepCloneable<CompletionDetail>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class CompletionDetail.
Detailed completion information including completion attribution token and
clicked completion info.
End user selected
[CompleteQueryResponse.CompletionResult.suggestion][google.cloud.retail.v2.CompleteQueryResponse.CompletionResult.suggestion]
position, starting from 0.
[[["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\u003eVersion 2.12.0 is the latest version available for the Retail v2 API class CompletionDetail, with prior versions ranging back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompletionDetail\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace and is found within the \u003ccode\u003eGoogle.Cloud.Retail.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompletionDetail\u003c/code\u003e class provides detailed information about the completion including an attribution token and info about the completion that was clicked, and it inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCompletionDetail\u003c/code\u003e class include \u003ccode\u003eCompletionAttributionToken\u003c/code\u003e, \u003ccode\u003eSelectedPosition\u003c/code\u003e, and \u003ccode\u003eSelectedSuggestion\u003c/code\u003e, which provide data on the user's interaction with query completions.\u003c/p\u003e\n"],["\u003cp\u003eThe class also includes two constructors, one public and default and another for inputing data from another CompletionDetail object, both for creating a \u003ccode\u003eCompletionDetail\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]