Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::RouterNatLogConfig::Filter (v2.5.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::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.

Constants

UNDEFINED_FILTER

value: 0
A value indicating that the enum field is not set.

ALL

value: 64_897
Export logs for all (successful and unsuccessful) connections.

ERRORS_ONLY

value: 307_484_672
Export logs for connection failures only.

TRANSLATIONS_ONLY

value: 357_212_649
Export logs for successful connections only.