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 numerous previous versions available, starting from 1.0.0 and spanning up to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDirection\u003c/code\u003e enum specifies whether a firewall applies to incoming (\u003ccode\u003eINGRESS\u003c/code\u003e) or outgoing (\u003ccode\u003eEGRESS\u003c/code\u003e) network traffic, with \u003ccode\u003eINGRESS\u003c/code\u003e being the default.\u003c/p\u003e\n"],["\u003cp\u003eThe enum includes \u003ccode\u003eEgress\u003c/code\u003e, \u003ccode\u003eIngress\u003c/code\u003e, and \u003ccode\u003eUndefinedDirection\u003c/code\u003e fields to cover different firewall traffic directions, and also when the field is not set.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eINGRESS\u003c/code\u003e traffic type cannot specify destination ranges, and the \u003ccode\u003eEGRESS\u003c/code\u003e type cannot specify source ranges or source tags.\u003c/p\u003e\n"],["\u003cp\u003eThis element can be found within the namespace \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e, inside the assembly \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]