Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::Firewall::Direction (v1.6.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::Firewall::Direction.

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.

Constants

UNDEFINED_DIRECTION

value: 0
A value indicating that the enum field is not set.

EGRESS

value: 432880501
Indicates that firewall should apply to outgoing traffic.

INGRESS

value: 516931221
Indicates that firewall should apply to incoming traffic.