View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1RankResponse (google_api_discovery_engine v0.16.0)

Response message for RankService.Rank method.

Attributes

  • records (type: list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1RankingRecord.t), default: nil) - A list of records sorted by descending score.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1RankResponse{
    records:
      [
        GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1RankingRecord.t()
      ]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.