View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion (google_api_discovery_engine v0.22.0)

Suggestions as search queries.

Attributes

  • completableFieldPaths (type: list(String.t), default: nil) - The unique document field paths that serve as the source of this suggestion if it was generated from completable fields. This field is only populated for the document-completable model.
  • suggestion (type: String.t, default: nil) - The suggestion for the query.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion{
    completableFieldPaths: [String.t()] | nil,
    suggestion: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.