Retail v2 API - Class CompleteQueryResponse.Types.CompletionResult (2.7.0)

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.

Inheritance

object > CompleteQueryResponse.Types.CompletionResult

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

CompletionResult()

public CompletionResult()

CompletionResult(CompletionResult)

public CompletionResult(CompleteQueryResponse.Types.CompletionResult other)
Parameter
NameDescription
otherCompleteQueryResponseTypesCompletionResult

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
MapFieldstringCustomAttribute

Suggestion

public string Suggestion { get; set; }

The suggestion for the query.

Property Value
TypeDescription
string