Discovery Engine v1beta API - Class AdvancedCompleteQueryResponse (1.0.0-beta18)

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

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

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

Inheritance

object > AdvancedCompleteQueryResponse

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

AdvancedCompleteQueryResponse()

public AdvancedCompleteQueryResponse()

AdvancedCompleteQueryResponse(AdvancedCompleteQueryResponse)

public AdvancedCompleteQueryResponse(AdvancedCompleteQueryResponse other)
Parameter
Name Description
other AdvancedCompleteQueryResponse

Properties

ContentSuggestions

public RepeatedField<AdvancedCompleteQueryResponse.Types.ContentSuggestion> ContentSuggestions { get; }

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

Property Value
Type Description
RepeatedFieldAdvancedCompleteQueryResponseTypesContentSuggestion

PeopleSuggestions

public RepeatedField<AdvancedCompleteQueryResponse.Types.PersonSuggestion> PeopleSuggestions { get; }

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

Property Value
Type Description
RepeatedFieldAdvancedCompleteQueryResponseTypesPersonSuggestion

QuerySuggestions

public RepeatedField<AdvancedCompleteQueryResponse.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
RepeatedFieldAdvancedCompleteQueryResponseTypesQuerySuggestion

RecentSearchSuggestions

public RepeatedField<AdvancedCompleteQueryResponse.Types.RecentSearchSuggestion> RecentSearchSuggestions { get; }

Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.

Property Value
Type Description
RepeatedFieldAdvancedCompleteQueryResponseTypesRecentSearchSuggestion

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