Reference documentation and code samples for the Compute Engine v1 API enum Firewall.Types.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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["The latest version of the `Firewall.Types.Direction` enum within the Compute Engine v1 API is 3.6.0."],["This enum specifies the direction of traffic for a firewall, which can be either `INGRESS` (incoming) or `EGRESS` (outgoing)."],["The documentation includes versions of the API dating back to version 1.0.0, offering a range of choices for developers."],["There are 3 possible fields that can be used when using `Firewall.Types.Direction` enum: `Egress`, `Ingress`, `UndefinedDirection`."],["The default traffic direction for firewalls is `INGRESS`, and source tags cannot be specified for `EGRESS` traffic."]]],[]]