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.
[[["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 page provides documentation for the `Direction` enum within the `Google.Cloud.Compute.V1.Firewall.Types` namespace, detailing its usage in specifying the direction of firewall traffic."],["The latest version of the API is 3.6.0, with numerous prior versions available, ranging down to 1.0.0, and the current documentation corresponds to version 2.1.0."],["The `Direction` enum has three possible values: `Egress` for outgoing traffic, `Ingress` for incoming traffic, and `UndefinedDirection` when the enum field is not set."],["Firewall rules using `Direction` must specify either `INGRESS` or `EGRESS`; if `INGRESS` is selected, destination ranges can't be specified and if `EGRESS` is selected, source ranges and source tags can't be specified."],["The `Google.Cloud.Compute.V1` namespace is found within the `Google.Cloud.Compute.V1.dll` assembly."]]],[]]