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 page provides reference documentation for the \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class within the Compute Engine v1 API for .NET, specifically version 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRouterNatLogConfig\u003c/code\u003e allows the configuration of logging settings for Network Address Translation (NAT) and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor and one that accepts another \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e object for initialization.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e has two properties, \u003ccode\u003eEnable\u003c/code\u003e and \u003ccode\u003eFilter\u003c/code\u003e, that allow you to control whether to export logs, and filter them by connection type (successful or errors), along with two properties, \u003ccode\u003eHasEnable\u003c/code\u003e and \u003ccode\u003eHasFilter\u003c/code\u003e, to determine if those values are set.\u003c/p\u003e\n"],["\u003cp\u003eThis resource page references the version history of the \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e, from version 1.0.0 up to 3.6.0 (latest), for the Google Cloud Compute .NET library.\u003c/p\u003e\n"]]],[],null,[]]