public sealed class RouterNatLogConfig : IMessage<RouterNatLogConfig>, IEquatable<RouterNatLogConfig>, IDeepCloneable<RouterNatLogConfig>, IBufferMessage, IMessage
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `RouterNatLogConfig` class, found in the `Google.Cloud.Compute.V1` namespace, is used to configure logging for Network Address Translation (NAT)."],["The latest version of `RouterNatLogConfig` is 3.6.0, and previous versions are available, ranging down to 1.0.0."],["`RouterNatLogConfig` objects can be created using a default constructor or by passing another `RouterNatLogConfig` object to its constructor."],["The class has properties `Enable` and `Filter`, which manage whether logs are exported and the type of connections to log, respectively, with `HasEnable` and `HasFilter` properties that check if those properties are set."],["This class implements several interfaces, such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits members from the base `Object` class."]]],[]]