Class RouterNatLogConfig (1.16.1)

RouterNatLogConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

NameDescription
enable bool
Indicates whether or not to export logs. This is false by default. This field is a member of oneof_ _enable.
filter str
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. Check the Filter enum for the list of possible values. This field is a member of oneof_ _filter.

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.

Values: UNDEFINED_FILTER (0): A value indicating that the enum field is not set. ALL (64897): Export logs for all (successful and unsuccessful) connections. ERRORS_ONLY (307484672): Export logs for connection failures only. TRANSLATIONS_ONLY (357212649): Export logs for successful connections only.