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

Describes the custom _Default sink configuration that is used to override the built-in _Default sink configuration in newly created resource containers, such as projects or folders.

Attributes

  • exclusions (type: list(GoogleApi.Logging.V2.Model.LogExclusion.t), default: nil) - Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers.
  • filter (type: String.t, default: nil) - Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERRORTo match all logs, don't add exclusions and use the following line as the value of filter:logName:*Cannot be empty or unset when the value of mode is OVERWRITE.
  • mode (type: String.t, default: nil) - Required. Determines the behavior to apply to the built-in _Default sink inclusion filter.Exclusions are always appended, as built-in _Default sinks have no exclusions.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Logging.V2.Model.DefaultSinkConfig{
  exclusions: [GoogleApi.Logging.V2.Model.LogExclusion.t()] | nil,
  filter: String.t() | nil,
  mode: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.