Enum Firewall.Direction (1.6.0-beta)

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 INGRESS traffic, you cannot specify the destinationRanges field, and for EGRESS traffic, you cannot specify the sourceRanges or sourceTags fields.

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

Implements

ProtocolMessageEnum

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

Methods

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

(deprecated) Use #forNumber(int) instead.

valueOf(String name)
values()