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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.