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

Defines the parameters of the query's expected outcome.

Attributes

  • pageNumbers (type: list(integer()), default: nil) - Expected page numbers of the target. Each page number must be non negative.
  • score (type: float(), default: nil) - Relevance score of the target.
  • uri (type: String.t, default: nil) - Expected uri of the target. This field must be a UTF-8 encoded string with a length limit of 2048 characters. Example of valid uris: https://example.com/abc, gcs://example/example.pdf.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntryTarget{
    pageNumbers: [integer()] | nil,
    score: float() | nil,
    uri: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.