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\u003eThe latest version of the \u003ccode\u003eGoogle.Cloud.Compute.V1.Firewall.Types.Direction\u003c/code\u003e is 3.6.0, with multiple previous versions available, ranging back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDirection\u003c/code\u003e enum defines whether a firewall rule applies to incoming (\u003ccode\u003eINGRESS\u003c/code\u003e) or outgoing (\u003ccode\u003eEGRESS\u003c/code\u003e) network traffic.\u003c/p\u003e\n"],["\u003cp\u003eBy default the firewall traffic \u003ccode\u003eDirection\u003c/code\u003e is set to \u003ccode\u003eINGRESS\u003c/code\u003e, however you can set it to \u003ccode\u003eEGRESS\u003c/code\u003e to allow outgoing traffic.\u003c/p\u003e\n"],["\u003cp\u003eThe enum's fields include \u003ccode\u003eEgress\u003c/code\u003e, \u003ccode\u003eIngress\u003c/code\u003e, and \u003ccode\u003eUndefinedDirection\u003c/code\u003e, with \u003ccode\u003eUndefinedDirection\u003c/code\u003e indicating that the enum field is not set.\u003c/p\u003e\n"]]],[],null,[]]