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 documentation for the \u003ccode\u003eFirewall.Types.Direction\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe enum \u003ccode\u003eFirewall.Types.Direction\u003c/code\u003e is used to specify whether a firewall rule applies to incoming (\u003ccode\u003eINGRESS\u003c/code\u003e) or outgoing (\u003ccode\u003eEGRESS\u003c/code\u003e) traffic.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation available is 3.6.0, with numerous prior versions listed down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this enum is \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e, and it is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt also includes an \u003ccode\u003eUndefinedDirection\u003c/code\u003e value in case the enum field is not set.\u003c/p\u003e\n"]]],[],null,[]]