Compute V1 Client - Class Filter (2.5.0) Stay organized with collections Save and categorize content based on your preferences.
Reference documentation and code samples for the Compute V1 Client class 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 successfulconnections.
- ALL: Export logs for all connections, successful andunsuccessful.
Protobuf typegoogle.cloud.compute.v1.RouterNatLogConfig.Filter
Namespace
Google \ Cloud \ Compute \ V1 \ RouterNatLogConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value | mixed |
static::value
| Parameter | |
|---|---|
| Name | Description |
name | mixed |
Constants
UNDEFINED_FILTER
Value: 0A value indicating that the enum field is not set.
Generated from protobuf enumUNDEFINED_FILTER = 0;
ALL
Value: 64897Export logs for all (successful and unsuccessful) connections.
Generated from protobuf enumALL = 64897;
ERRORS_ONLY
Value: 307484672Export logs for connection failures only.
Generated from protobuf enumERRORS_ONLY = 307484672;
TRANSLATIONS_ONLY
Value: 357212649Export logs for successful connections only.
Generated from protobuf enumTRANSLATIONS_ONLY = 357212649;
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-23 UTC.