View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCompleteQueryResponse (google_api_discovery_engine v0.16.0)

Response message for CompletionService.CompleteQuery method.

Attributes

  • querySuggestions (type: list(GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion.t), default: nil) - Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
  • tailMatchTriggered (type: boolean(), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCompleteQueryResponse{
    querySuggestions:
      [
        GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion.t()
      ]
      | nil,
    tailMatchTriggered: boolean() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.