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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eDirection\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Compute.V1.Firewall.Types\u003c/code\u003e namespace, detailing its usage in specifying firewall traffic direction.\u003c/p\u003e\n"],["\u003cp\u003eThe latest documented version for this enum is 3.6.0, with a full version history available, ranging from 1.0.0 up to the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDirection\u003c/code\u003e enum supports three values: \u003ccode\u003eEgress\u003c/code\u003e for outgoing traffic, \u003ccode\u003eIngress\u003c/code\u003e for incoming traffic, and \u003ccode\u003eUndefinedDirection\u003c/code\u003e for when the enum field is unset.\u003c/p\u003e\n"],["\u003cp\u003eThe default traffic direction for firewalls is \u003ccode\u003eINGRESS\u003c/code\u003e, and restrictions apply to \u003ccode\u003edestinationRanges\u003c/code\u003e for \u003ccode\u003eINGRESS\u003c/code\u003e traffic and to \u003ccode\u003esourceRanges\u003c/code\u003e or \u003ccode\u003esourceTags\u003c/code\u003e for \u003ccode\u003eEGRESS\u003c/code\u003e traffic.\u003c/p\u003e\n"]]],[],null,[]]