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 \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class, part of the Google.Cloud.Compute.V1 namespace, is used to configure logging on a NAT within the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.6.0 is the latest version available, while version 3.4.0 is the one specifically being detailed in the provided information.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRouterNatLogConfig\u003c/code\u003e 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, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003eEnable\u003c/code\u003e, which controls whether logs are exported, and \u003ccode\u003eFilter\u003c/code\u003e, which specifies what type of connection logs are exported (e.g., errors, translations, or all).\u003c/p\u003e\n"],["\u003cp\u003eThe available versions range from 1.0.0 to 3.6.0, and they are all specifically related to the RouterNatLogConfig.\u003c/p\u003e\n"]]],[],null,[]]