View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntry (google_api_discovery_engine v0.27.0)

Query Entry captures metadata to be used for search evaluation.

Attributes

  • query (type: String.t, default: nil) - Required. The query.
  • targets (type: list(GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntryTarget.t), default: nil) - List of targets for the query.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntry{
    query: String.t() | nil,
    targets:
      [
        GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntryTarget.t()
      ]
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.