Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::Firewall::Direction (v2.7.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 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: 432_880_501
Indicates that firewall should apply to outgoing traffic.

INGRESS

value: 516_931_221
Indicates that firewall should apply to incoming traffic.