# Discovery Engine v1beta API - Class CompleteQueryResponse (1.0.0-beta23)

1.0.0-beta23 (latest) 1.0.0-beta22

    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](https://learn.microsoft.com/dotnet/api/system.object) \> CompleteQueryResponse

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CompleteQueryResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CompleteQueryResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CompleteQueryResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### CompleteQueryResponse()

    public CompleteQueryResponse()

### CompleteQueryResponse(CompleteQueryResponse)

    public CompleteQueryResponse(CompleteQueryResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryResponse.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryResponse.Types.QuerySuggestion` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |