Enum ThreatAction (0.94.0)

public enum ThreatAction extends Enum<ThreatAction> implements ProtocolMessageEnum

Threat action override.

Protobuf enum google.cloud.networksecurity.v1.ThreatAction

Implements

ProtocolMessageEnum

Static Fields

Name Description
ALERT

The packet matching this rule will be allowed to transmit, but a threat_log entry will be sent to the consumer project.

ALERT = 2;

ALERT_VALUE

The packet matching this rule will be allowed to transmit, but a threat_log entry will be sent to the consumer project.

ALERT = 2;

ALLOW

The packet matching this rule will be allowed to transmit.

ALLOW = 1;

ALLOW_VALUE

The packet matching this rule will be allowed to transmit.

ALLOW = 1;

DEFAULT_ACTION

The default action (as specified by the vendor) is taken.

DEFAULT_ACTION = 4;

DEFAULT_ACTION_VALUE

The default action (as specified by the vendor) is taken.

DEFAULT_ACTION = 4;

DENY

The packet matching this rule will be dropped, and a threat_log entry will be sent to the consumer project.

DENY = 3;

DENY_VALUE

The packet matching this rule will be dropped, and a threat_log entry will be sent to the consumer project.

DENY = 3;

THREAT_ACTION_UNSPECIFIED

Threat action not specified.

THREAT_ACTION_UNSPECIFIED = 0;

THREAT_ACTION_UNSPECIFIED_VALUE

Threat action not specified.

THREAT_ACTION_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()