public sealed class CompleteQueryResponse.Types.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 structure.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompletionResult\u003c/code\u003e class represents completion suggestions in query responses and implements interfaces like \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\u003eThe documentation lists the class's constructors, which include a default constructor and a constructor that takes another \u003ccode\u003eCompletionResult\u003c/code\u003e object as an argument.\u003c/p\u003e\n"],["\u003cp\u003eIt also details the class's properties, such as \u003ccode\u003eAttributes\u003c/code\u003e (a map of custom attributes) and \u003ccode\u003eSuggestion\u003c/code\u003e (the suggested query string), that are key aspects of a completion result.\u003c/p\u003e\n"],["\u003cp\u003eThe available versions for this class range from 1.0.0 to the latest 2.12.0, with links to the API documentation for each specific version.\u003c/p\u003e\n"]]],[],null,[]]