Enum RouterNatLogConfig.Filter (1.49.0)

public enum RouterNatLogConfig.Filter extends Enum<RouterNatLogConfig.Filter> implements ProtocolMessageEnum

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.

Protobuf enum google.cloud.compute.v1.RouterNatLogConfig.Filter

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ALL

Export logs for all (successful and unsuccessful) connections.

ALL = 64897;

ALL_VALUE

Export logs for all (successful and unsuccessful) connections.

ALL = 64897;

ERRORS_ONLY

Export logs for connection failures only.

ERRORS_ONLY = 307484672;

ERRORS_ONLY_VALUE

Export logs for connection failures only.

ERRORS_ONLY = 307484672;

TRANSLATIONS_ONLY

Export logs for successful connections only.

TRANSLATIONS_ONLY = 357212649;

TRANSLATIONS_ONLY_VALUE

Export logs for successful connections only.

TRANSLATIONS_ONLY = 357212649;

UNDEFINED_FILTER

A value indicating that the enum field is not set.

UNDEFINED_FILTER = 0;

UNDEFINED_FILTER_VALUE

A value indicating that the enum field is not set.

UNDEFINED_FILTER = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()