Discovery Engine v1beta API - Class CompleteQueryResponse (1.0.0-beta13)

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

Reference documentation and code samples for the Discovery Engine v1beta API class CompleteQueryResponse.

Response message for [CompletionService.CompleteQuery][google.cloud.discoveryengine.v1beta.CompletionService.CompleteQuery] method.

Inheritance

object > CompleteQueryResponse

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

CompleteQueryResponse()

public CompleteQueryResponse()

CompleteQueryResponse(CompleteQueryResponse)

public CompleteQueryResponse(CompleteQueryResponse other)
Parameter
Name Description
other CompleteQueryResponse

Properties

QuerySuggestions

public RepeatedField<CompleteQueryResponse.Types.QuerySuggestion> QuerySuggestions { get; }

Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.

Property Value
Type Description
RepeatedFieldCompleteQueryResponseTypesQuerySuggestion

TailMatchTriggered

public bool TailMatchTriggered { get; set; }

True if the returned suggestions are all tail suggestions.

For tail matching to be triggered, include_tail_suggestions in the request must be true and there must be no suggestions that match the full query.

Property Value
Type Description
bool