View Source GoogleApi.Logging.V2.Model.LoggingQuery (google_api_logging v0.47.0)

Describes a Cloud Logging query that can be run in Logs Explorer UI or via the logging API.In addition to the query itself, additional information may be stored to capture the display configuration and other UI state used in association with analysis of query results.

Attributes

  • filter (type: String.t, default: nil) - Required. An advanced query using the Logging Query Language (https://cloud.google.com/logging/docs/view/logging-query-language). The maximum length of the filter is 20000 characters.
  • summaryFieldEnd (type: integer(), default: nil) - Characters will be counted from the end of the string.
  • summaryFieldStart (type: integer(), default: nil) - Characters will be counted from the start of the string.
  • summaryFields (type: list(GoogleApi.Logging.V2.Model.SummaryField.t), default: nil) - Optional. The set of summary fields to display for this saved query.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Logging.V2.Model.LoggingQuery{
  filter: String.t() | nil,
  summaryFieldEnd: integer() | nil,
  summaryFieldStart: integer() | nil,
  summaryFields: [GoogleApi.Logging.V2.Model.SummaryField.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.