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
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
EGRESS |
Indicates that firewall should apply to outgoing traffic. |
EGRESS_VALUE |
Indicates that firewall should apply to outgoing traffic. |
INGRESS |
Indicates that firewall should apply to incoming traffic. |
INGRESS_VALUE |
Indicates that firewall should apply to incoming traffic. |
UNDEFINED_DIRECTION |
A value indicating that the enum field is not set. |
UNDEFINED_DIRECTION_VALUE |
A value indicating that the enum field is not set. |
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() |