Class RouterNatLogConfig (0.8.0)

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

Configuration of logging on a NAT.

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 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. 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.