public sealed class RouterNatLogConfig : IMessage<RouterNatLogConfig>, IEquatable<RouterNatLogConfig>, IDeepCloneable<RouterNatLogConfig>, IBufferMessage, IMessageConfiguration of logging on a NAT.
Implements
IMessage<RouterNatLogConfig>, IEquatable<RouterNatLogConfig>, IDeepCloneable<RouterNatLogConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
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 |
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 | |
|---|---|
| Type | Description |
String |
|
HasEnable
public bool HasEnable { get; }Gets whether the "enable" field is set
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
HasFilter
public bool HasFilter { get; }Gets whether the "filter" field is set
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|