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 webpage provides reference documentation for the \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class within the Compute Engine v1 API for .NET, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class is designed for configuring logging on a NAT, allowing users to specify whether to export logs and filter them based on connection success or failure.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists various versions of the API, from version 1.0.0 to the latest version 3.6.0, showcasing the evolution of the \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class over time.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class include \u003ccode\u003eEnable\u003c/code\u003e (to turn logging on or off) and \u003ccode\u003eFilter\u003c/code\u003e (to define which connections to log, such as errors, successful connections, or all connections).\u003c/p\u003e\n"],["\u003cp\u003eThe RouterNatLogConfig class implements multiple interfaces, such as IMessage, IEquatable, IDeepCloneable and IBufferMessage.\u003c/p\u003e\n"]]],[],null,[]]