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-04-09 UTC."],[[["This page details the `RouterNatLogConfig` class within the `Google.Cloud.Compute.V1` namespace, used for configuring logging on a Network Address Translation (NAT)."],["The latest version of this documentation is for version 3.6.0, with multiple other versions available, ranging from 1.0.0 to 3.5.0."],["`RouterNatLogConfig` implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `RouterNatLogConfig` class has two constructors, one default and one taking another `RouterNatLogConfig` object."],["The class includes properties for enabling logging (`Enable`) and specifying the filter for the type of logs (`Filter`) exported, such as errors, translations, or all connections."]]],[]]