Class RouterNatLogConfig (2.0.0)

public sealed class RouterNatLogConfig : IMessage<RouterNatLogConfig>, IEquatable<RouterNatLogConfig>, IDeepCloneable<RouterNatLogConfig>, IBufferMessage, IMessage

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
NameDescription
otherRouterNatLogConfig

Properties

Enable

public bool Enable { get; set; }

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

Property Value
TypeDescription
Boolean

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
TypeDescription
String

HasEnable

public bool HasEnable { get; }

Gets whether the "enable" field is set

Property Value
TypeDescription
Boolean

HasFilter

public bool HasFilter { get; }

Gets whether the "filter" field is set

Property Value
TypeDescription
Boolean