public sealed class RouterNatLogConfig : IMessage<RouterNatLogConfig>, IEquatable<RouterNatLogConfig>, IDeepCloneable<RouterNatLogConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class RouterNatLogConfig.
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-24 UTC."],[[["The latest version of the `RouterNatLogConfig` documentation is 3.6.0, but there are many versions available, spanning from 1.0.0 to 3.6.0."],["`RouterNatLogConfig` is a class in the Compute Engine v1 API that configures logging on a NAT, and it implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `RouterNatLogConfig` class has two properties: `Enable`, which is a boolean to control log exporting, and `Filter`, which specifies the types of connections to log, such as errors, translations, or all."],["The class also contains 2 constructors, which are `RouterNatLogConfig()` and `RouterNatLogConfig(RouterNatLogConfig other)`."],["It has 2 other properties, `HasEnable` and `HasFilter` which are used to check if their respective field is set."]]],[]]