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 reference documentation for the \u003ccode\u003eCompleteQueryResponse.Types.CompletionResult\u003c/code\u003e class within the Google Cloud Retail v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe class represents completion results and is available across multiple versions of the API, ranging from version 1.0.0 to the latest 2.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompleteQueryResponse.Types.CompletionResult\u003c/code\u003e class 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\u003eThe class has two key properties: \u003ccode\u003eAttributes\u003c/code\u003e, which are custom attributes for the suggestion term, and \u003ccode\u003eSuggestion\u003c/code\u003e, which is the actual suggested query.\u003c/p\u003e\n"],["\u003cp\u003eThe class also has two constructor options for making instances of the class, one empty, and one taking the same class as an argument.\u003c/p\u003e\n"]]],[],null,[]]