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

Sample Query captures metadata to be used for evaluation.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. Timestamp the SampleQuery was created at.
  • name (type: String.t, default: nil) - Identifier. The full resource name of the sample query, in the format of projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
  • queryEntry (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntry.t, default: nil) - The query entry.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSampleQuery{
    createTime: DateTime.t() | nil,
    name: String.t() | nil,
    queryEntry:
      GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntry.t()
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.