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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, specifically for .NET developers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class is used for configuring logging on a Network Address Translation (NAT) and can be implemented from a list of parent classes and interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available in this document is 3.6.0, and a list of previous versions down to version 1.0.0 are available, where users can access them individually.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains two properties that can be set: \u003ccode\u003eEnable\u003c/code\u003e, a boolean to indicate if the user wishes to export logs, and \u003ccode\u003eFilter\u003c/code\u003e, a string that specify which logs should be exported, whether it's errors, translations, or both.\u003c/p\u003e\n"],["\u003cp\u003eThis document provides the constructors, properties, inherited members and relevant implementation details of the \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]