View Source GoogleApi.Compute.V1.Model.RouterNatLogConfig (google_api_compute v0.56.2)

Configuration of logging on a NAT.

Attributes

  • enable (type: boolean(), default: nil) - Indicates whether or not to export logs. This is false by default.
  • filter (type: String.t, default: nil) - Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.RouterNatLogConfig{
  enable: boolean() | nil,
  filter: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.