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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eCompleteQueryResponse.Types.CompletionResult\u003c/code\u003e class is 2.12.0, which is part of the Google Cloud Retail V2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class represents the results from a completion query, offering suggestions and custom attributes related to those suggestions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompleteQueryResponse.Types.CompletionResult\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAttributes\u003c/code\u003e property, a MapField, allows for custom attributes to be associated with the suggested term, sourced from either user-data or Cloud Retail product attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe class can be created either with a standard constructor or a constructor that copies the properties from another instance of \u003ccode\u003eCompleteQueryResponse.Types.CompletionResult\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]