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 document provides reference information for the \u003ccode\u003eCompleteQueryResponse.Types.CompletionResult\u003c/code\u003e class within the Google Cloud Retail v2 API, specifically in version 2.10.0 and referencing other versions as well.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompleteQueryResponse.Types.CompletionResult\u003c/code\u003e class is a resource that represents completion results for queries and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor (\u003ccode\u003eCompletionResult()\u003c/code\u003e) and a copy constructor (\u003ccode\u003eCompletionResult(CompleteQueryResponse.Types.CompletionResult other)\u003c/code\u003e) to create new instances.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two properties: \u003ccode\u003eAttributes\u003c/code\u003e, a map of custom attributes for the suggestion term, and \u003ccode\u003eSuggestion\u003c/code\u003e, the actual suggestion for the user's query.\u003c/p\u003e\n"],["\u003cp\u003eThe document also shows a list of all available versions of the \u003ccode\u003eCompleteQueryResponse.Types.CompletionResult\u003c/code\u003e class, ranging from version 1.0.0 up to the latest, 2.12.0.\u003c/p\u003e\n"]]],[],null,[]]