Compute Engine v1 API - Class RouterNatLogConfig (3.0.0)

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.

Configuration of logging on a NAT.

Inheritance

object > RouterNatLogConfig

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RouterNatLogConfig()

public RouterNatLogConfig()

RouterNatLogConfig(RouterNatLogConfig)

public RouterNatLogConfig(RouterNatLogConfig other)
Parameter
Name Description
other RouterNatLogConfig

Properties

Enable

public bool Enable { get; set; }

Indicates whether or not to export logs. This is false by default.

Property Value
Type Description
bool

Filter

public string Filter { get; set; }

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.

Property Value
Type Description
string

HasEnable

public bool HasEnable { get; }

Gets whether the "enable" field is set

Property Value
Type Description
bool

HasFilter

public bool HasFilter { get; }

Gets whether the "filter" field is set

Property Value
Type Description
bool