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."],[[["This document provides reference documentation for the `Firewall.Types.Direction` enum in the Google Cloud Compute Engine v1 API."],["The `Firewall.Types.Direction` enum defines the direction of network traffic a firewall rule applies to, with options for `INGRESS` (incoming) or `EGRESS` (outgoing) traffic."],["The latest version of the `Firewall.Types.Direction` enum is 3.6.0, with a history of versions dating back to 1.0.0, all are contained on the page."],["The default direction for firewall rules is `INGRESS`, and specifying `sourceTags` is not allowed for `EGRESS` traffic rules."],["The enum also includes an `UndefinedDirection` option to represent when the direction field is not set."]]],[]]