RouterNatLogConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration of logging on a NAT.
Attributes | |
---|---|
Name | Description |
enable |
bool
Indicates whether or not to export logs. This is false by default. |
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.