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.
public string CompletionAttributionToken { get; set; }
Completion attribution token in
[CompleteQueryResponse.attribution_token][google.cloud.retail.v2.CompleteQueryResponse.attribution_token].
Property Value
Type
Description
System.String
SelectedPosition
public int SelectedPosition { get; set; }
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\u003eThis webpage provides documentation for the \u003ccode\u003eCompletionDetail\u003c/code\u003e class within the Google Cloud Retail V2 API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompletionDetail\u003c/code\u003e class offers information related to completion attribution and details of clicked suggestions, as seen in the \u003ccode\u003eCompletionAttributionToken\u003c/code\u003e, \u003ccode\u003eSelectedPosition\u003c/code\u003e, and \u003ccode\u003eSelectedSuggestion\u003c/code\u003e properties.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists various versions of the Google.Cloud.Retail.V2 API, ranging from version 1.0.0 to the latest version 2.12.0, showing a history of previous updates and the latest release.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompletionDetail\u003c/code\u003e class 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, indicating its capabilities and compatibility within the .NET ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes information on the class's constructors, namely a default constructor and one that accepts another CompletionDetail instance.\u003c/p\u003e\n"]]],[],null,[]]