public sealed class CompletionResult : IMessage<CompleteQueryResponse.Types.CompletionResult>, IEquatable<CompleteQueryResponse.Types.CompletionResult>, IDeepCloneable<CompleteQueryResponse.Types.CompletionResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class CompleteQueryResponse.Types.CompletionResult.
public MapField<string, CustomAttribute> Attributes { get; }
Custom attributes for the suggestion term.
For "user-data", the attributes are additional custom attributes
ingested through BigQuery.
For "cloud-retail", the attributes are product attributes generated
by Cloud Retail. It requires
[UserEvent.product_details][google.cloud.retail.v2.UserEvent.product_details]
is imported properly.
[[["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\u003eCompleteQueryResponse.Types.CompletionResult\u003c/code\u003e class within the Google Cloud Retail v2 API, detailing its usage and properties across multiple versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.12.0, with a comprehensive list of previous versions going back to 1.0.0 available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompletionResult\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCompletionResult\u003c/code\u003e class include \u003ccode\u003eAttributes\u003c/code\u003e, which are custom attributes for the suggestion term, and \u003ccode\u003eSuggestion\u003c/code\u003e, which represents the query suggestion.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes the documentation for the methods and constructors available within the CompletionResult Class, such as CompletionResult() and CompletionResult(CompleteQueryResponse.Types.CompletionResult other).\u003c/p\u003e\n"]]],[],null,[]]