RouterNatLogConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration of logging on a NAT. .. attribute:: enable
Indicates whether or not to export logs. This is false by default.
:type: bool
Attribute
Name | Description |
filter |
google.cloud.compute_v1.types.RouterNatLogConfig.Filter
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. |
Classes
Filter
Filter(value)
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.