Class CompleteQueryResponse.Types.CompletionResult (2.2.0)

public sealed class CompletionResult : IMessage<CompleteQueryResponse.Types.CompletionResult>, IEquatable<CompleteQueryResponse.Types.CompletionResult>, IDeepCloneable<CompleteQueryResponse.Types.CompletionResult>, IBufferMessage, IMessage

Resource that represents completion results.

Inheritance

Object > CompleteQueryResponse.Types.CompletionResult

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

CompletionResult()

public CompletionResult()

CompletionResult(CompleteQueryResponse.Types.CompletionResult)

public CompletionResult(CompleteQueryResponse.Types.CompletionResult other)
Parameter
NameDescription
otherCompleteQueryResponse.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
TypeDescription
MapField<String, CustomAttribute>

Suggestion

public string Suggestion { get; set; }

The suggestion for the query.

Property Value
TypeDescription
String