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.
Resource that represents completion results.
Implements
IMessageCompleteQueryResponseTypesCompletionResult, IEquatableCompleteQueryResponseTypesCompletionResult, IDeepCloneableCompleteQueryResponseTypesCompletionResult, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
CompletionResult()
public CompletionResult()
CompletionResult(CompletionResult)
public CompletionResult(CompleteQueryResponse.Types.CompletionResult other)
Parameter | |
---|---|
Name | Description |
other | CompleteQueryResponseTypesCompletionResult |
Properties
Attributes
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.
Property Value | |
---|---|
Type | Description |
MapFieldstringCustomAttribute |
Suggestion
public string Suggestion { get; set; }
The suggestion for the query.
Property Value | |
---|---|
Type | Description |
string |