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\u003eThe latest version available for the \u003ccode\u003eGoogle.Cloud.Compute.V1.Firewall.Types.Direction\u003c/code\u003e is 3.6.0, while the current context is version 3.5.0, both accessible via provided links.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers the \u003ccode\u003eFirewall.Types.Direction\u003c/code\u003e enum for the Compute Engine v1 API, detailing its purpose in specifying traffic direction for firewalls.\u003c/p\u003e\n"],["\u003cp\u003eThe enum \u003ccode\u003eFirewall.Types.Direction\u003c/code\u003e can take one of three values: \u003ccode\u003eEgress\u003c/code\u003e (outgoing traffic), \u003ccode\u003eIngress\u003c/code\u003e (incoming traffic), or \u003ccode\u003eUndefinedDirection\u003c/code\u003e (field not set), with \u003ccode\u003eINGRESS\u003c/code\u003e being the default direction.\u003c/p\u003e\n"],["\u003cp\u003eThere is also an extensive list of past versions of the api, all the way back to version 1.0.0, each with their own link.\u003c/p\u003e\n"]]],[],null,[]]