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"]],[["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 reference documentation for the \u003ccode\u003eFirewall.Types.Direction\u003c/code\u003e enum in the Google Compute Engine v1 API, specifically within version 3.3.0 and the .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFirewall.Types.Direction\u003c/code\u003e enum defines the direction of network traffic for firewall rules, with options for \u003ccode\u003eINGRESS\u003c/code\u003e (incoming) and \u003ccode\u003eEGRESS\u003c/code\u003e (outgoing).\u003c/p\u003e\n"],["\u003cp\u003eThe default traffic direction for firewall rules is \u003ccode\u003eINGRESS\u003c/code\u003e, but \u003ccode\u003eEGRESS\u003c/code\u003e can be specified, although it does not support the \u003ccode\u003esourceTags\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also outlines past versions of the \u003ccode\u003eFirewall.Types.Direction\u003c/code\u003e enum, ranging from version 1.0.0 up to the latest release version 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eAn \u003ccode\u003eUndefinedDirection\u003c/code\u003e field indicates that the enum field is not set and is one of the available options.\u003c/p\u003e\n"]]],[],null,[]]