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."],[[["The latest version of the `CompleteQueryResponse.Types.CompletionResult` class is 2.12.0, which is part of the Google Cloud Retail V2 API."],["This class represents the results from a completion query, offering suggestions and custom attributes related to those suggestions."],["The `CompleteQueryResponse.Types.CompletionResult` class implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base `object` class."],["The `Attributes` property, a MapField, allows for custom attributes to be associated with the suggested term, sourced from either user-data or Cloud Retail product attributes."],["The class can be created either with a standard constructor or a constructor that copies the properties from another instance of `CompleteQueryResponse.Types.CompletionResult`."]]],[]]