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\u003eThe latest version available for \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e is 3.6.0, with the current page focusing on version 3.3.0, and many other versions being available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRouterNatLogConfig\u003c/code\u003e is a class within the Compute Engine v1 API used for configuring logging on a Network Address Translation (NAT).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class provides properties to control log exporting, such as \u003ccode\u003eEnable\u003c/code\u003e (a boolean to turn logging on or off) and \u003ccode\u003eFilter\u003c/code\u003e (a string to define the log type).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class has two constructors, one that is empty and another that can use another instance of \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e to initialize its values.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]