View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CompleteQueryResponse (google_api_discovery_engine v0.27.0)

Response message for CompletionService.CompleteQuery method.

Attributes

  • querySuggestions (type: list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion.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

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CompleteQueryResponse{
    querySuggestions:
      [
        GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion.t()
      ]
      | nil,
    tailMatchTriggered: boolean() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.