Enum Firewall.Direction (1.18.0)

public enum Firewall.Direction extends Enum<Firewall.Direction> implements ProtocolMessageEnum

Direction of traffic to which this firewall applies, either INGRESS or EGRESS. The default is INGRESS. For EGRESS traffic, you cannot specify the sourceTags fields.

Protobuf enum google.cloud.compute.v1.Firewall.Direction

Implements

ProtocolMessageEnum

Static Fields

NameDescription
EGRESS

Indicates that firewall should apply to outgoing traffic.

EGRESS = 432880501;

EGRESS_VALUE

Indicates that firewall should apply to outgoing traffic.

EGRESS = 432880501;

INGRESS

Indicates that firewall should apply to incoming traffic.

INGRESS = 516931221;

INGRESS_VALUE

Indicates that firewall should apply to incoming traffic.

INGRESS = 516931221;

UNDEFINED_DIRECTION

A value indicating that the enum field is not set.

UNDEFINED_DIRECTION = 0;

UNDEFINED_DIRECTION_VALUE

A value indicating that the enum field is not set.

UNDEFINED_DIRECTION = 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()