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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The webpage provides documentation for the `RouterNatLogConfig` class within the Google.Cloud.Compute.V1 API, specifically for the .NET environment, with version 3.6.0 being the latest and many older versions available as well."],["`RouterNatLogConfig` is used to configure logging for Network Address Translation (NAT) within Compute Engine, with properties to enable or disable logging and to filter the type of connection logs captured."],["This class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enabling operations like message handling, equality comparisons, deep cloning, and buffer management."],["The `Enable` property determines if logs are exported, defaulting to false, while the `Filter` property specifies the type of logs to capture, such as errors, successful connections, or all connections."],["The page showcases 29 versions of the `RouterNatLogConfig` class, starting from the latest `3.6.0` to the oldest, `1.0.0`."]]],[]]