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 the direction of firewall traffic.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDirection\u003c/code\u003e enum has three possible values: \u003ccode\u003eEgress\u003c/code\u003e for outgoing traffic, \u003ccode\u003eIngress\u003c/code\u003e for incoming traffic, and \u003ccode\u003eUndefinedDirection\u003c/code\u003e when the enum field is not set.\u003c/p\u003e\n"],["\u003cp\u003eFirewall rules using \u003ccode\u003eDirection\u003c/code\u003e must specify either \u003ccode\u003eINGRESS\u003c/code\u003e or \u003ccode\u003eEGRESS\u003c/code\u003e; if \u003ccode\u003eINGRESS\u003c/code\u003e is selected, destination ranges can't be specified and if \u003ccode\u003eEGRESS\u003c/code\u003e is selected, source ranges and source tags can't be specified.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace is found within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]