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 `RouterNatLogConfig` class, part of the Google.Cloud.Compute.V1 API, is used to configure logging on a Network Address Translation (NAT)."],["The latest version available for the class RouterNatLogConfig is 3.6.0, but this class is also available in many previous versions all the way back to 1.0.0."],["The RouterNatLogConfig class has properties that are used to determine whether to export logs at all, and to filter the types of logs exported."],["There are two constructors for the class: a default `RouterNatLogConfig()` constructor and a second constructor that takes an existing `RouterNatLogConfig` object for cloning purposes."],["The class inherits from various interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and it has inherited members from the `object` base class, such as `GetHashCode`, `GetType`, and `ToString`."]]],[]]