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

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 EGRESS traffic, you cannot specify the 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.