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 documentation covers the \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e, is used to configure logging settings for Network Address Translation (NAT) and is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, and is available across multiple versions, with 3.6.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRouterNatLogConfig\u003c/code\u003e has two main properties: \u003ccode\u003eEnable\u003c/code\u003e, a boolean to toggle log exporting, and \u003ccode\u003eFilter\u003c/code\u003e, a string to specify which types of connections to log.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available to create a \u003ccode\u003eRouterNatLogConfig\u003c/code\u003e instance, either empty or from an existing instance.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists a comprehensive history of versions, from 1.0.0 to the latest 3.6.0, offering a wide range of supported library releases.\u003c/p\u003e\n"]]],[],null,[]]