Reference documentation and code samples for the Compute V1 Client class Direction.
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 type google.cloud.compute.v1.Firewall.Direction
Namespace
Google \ Cloud \ Compute \ V1 \ FirewallMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
UNDEFINED_DIRECTION
Value: 0A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_DIRECTION = 0;
EGRESS
Value: 432880501Indicates that firewall should apply to outgoing traffic.
Generated from protobuf enum EGRESS = 432880501;
INGRESS
Value: 516931221Indicates that firewall should apply to incoming traffic.
Generated from protobuf enum INGRESS = 516931221;