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-21 UTC."],[[["The latest version available for `RouterNatLogConfig` is 3.6.0, with the page providing access to documentation for multiple versions ranging from 1.0.0 up to the latest release."],["`RouterNatLogConfig` is a class within the `Google.Cloud.Compute.V1` namespace used for configuring logging on a NAT, which is part of the Compute Engine v1 API."],["This class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `RouterNatLogConfig` class has two main configurable properties: `Enable`, which controls whether logs are exported, and `Filter`, which determines the type of connections for which logs are exported, such as all connections or only errors or only successful ones."],["The class has 2 constructors, one is a default constructor, and the second allows for passing another `RouterNatLogConfig` object as an argument to copy the information over."]]],[]]