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-04-09 UTC."],[[["This webpage provides reference documentation for the `RouterNatLogConfig` class within the Google Compute Engine v1 API, specifically for the .NET environment."],["The latest version of the documentation available is 3.6.0, while the current page is focused on version 2.11.0, and there is documentation for versions ranging from 1.0.0 up to the latest."],["The `RouterNatLogConfig` class manages logging configuration for Network Address Translation (NAT) and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["Key properties of the `RouterNatLogConfig` class include `Enable`, to turn logs on or off, and `Filter`, which allows for specific filtering of log data such as errors, translations, or all connections."],["The webpage also presents information about the constructors, as well as the namespace, assembly and inherited members."]]],[]]