Compute V1 Client - Class Direction (2.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Compute V1 Client class 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.
Protobuf type google.cloud.compute.v1.Firewall.Direction
Namespace
Google \ Cloud \ Compute \ V1 \ Firewall
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
UNDEFINED_DIRECTION
Value: 0
A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_DIRECTION = 0;
EGRESS
Value: 432880501
Indicates that firewall should apply to outgoing traffic.
Generated from protobuf enum EGRESS = 432880501;
INGRESS
Value: 516931221
Indicates that firewall should apply to incoming traffic.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-19 UTC."],[],[]]