public sealed class 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
IMessage<CompleteQueryResponse.Types.CompletionResult>, IEquatable<CompleteQueryResponse.Types.CompletionResult>, IDeepCloneable<CompleteQueryResponse.Types.CompletionResult>, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
CompletionResult()
public CompletionResult()
CompletionResult(CompleteQueryResponse.Types.CompletionResult)
public CompletionResult(CompleteQueryResponse.Types.CompletionResult other)
Parameter | |
---|---|
Name | Description |
other | CompleteQueryResponse.Types.CompletionResult |
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 |
MapField<String, CustomAttribute> |
Suggestion
public string Suggestion { get; set; }
The suggestion for the query.
Property Value | |
---|---|
Type | Description |
String |