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 webpage details the `RouterNatLogConfig` class within the `Google.Cloud.Compute.V1` namespace, used for configuring logging on a NAT."],["The class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, supporting various functionalities like serialization, equality checks, and deep cloning."],["The `RouterNatLogConfig` class provides properties to manage NAT logging, such as `Enable` to toggle log exporting and `Filter` to specify the types of connections to log, including errors, successful translations, or all connections."],["There are numerous versions of the `RouterNatLogConfig` class available, ranging from version 1.0.0 to the latest 3.6.0, indicating a history of updates and refinements."],["The class has two constructors; one for default instances, and another for creating instances from another RouterNatLogConfig."]]],[]]