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 page provides reference documentation for the `RouterNatLogConfig` class within the Compute Engine v1 API for .NET, specifically version 3.5.0."],["`RouterNatLogConfig` allows the configuration of logging settings for Network Address Translation (NAT) and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has two constructors: a default constructor and one that accepts another `RouterNatLogConfig` object for initialization."],["The class `RouterNatLogConfig` has two properties, `Enable` and `Filter`, that allow you to control whether to export logs, and filter them by connection type (successful or errors), along with two properties, `HasEnable` and `HasFilter`, to determine if those values are set."],["This resource page references the version history of the `RouterNatLogConfig`, from version 1.0.0 up to 3.6.0 (latest), for the Google Cloud Compute .NET library."]]],[]]