public sealed class RouterNatLogConfig : IMessage<RouterNatLogConfig>, IEquatable<RouterNatLogConfig>, IDeepCloneable<RouterNatLogConfig>, IBufferMessage, IMessage
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 details the \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, used for configuring logging on a NAT.\u003c/p\u003e\n"],["\u003cp\u003eThe class 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, supporting various functionalities like serialization, equality checks, and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class provides properties to manage NAT logging, such as \u003ccode\u003eEnable\u003c/code\u003e to toggle log exporting and \u003ccode\u003eFilter\u003c/code\u003e to specify the types of connections to log, including errors, successful translations, or all connections.\u003c/p\u003e\n"],["\u003cp\u003eThere are numerous versions of the \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class available, ranging from version 1.0.0 to the latest 3.6.0, indicating a history of updates and refinements.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors; one for default instances, and another for creating instances from another RouterNatLogConfig.\u003c/p\u003e\n"]]],[],null,[]]