Compute V1 Client - Class Direction (2.0.0)

Reference documentation and code samples for the Compute V1 Client class Direction.

Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.

Protobuf type google.cloud.compute.v1.PacketMirroringFilter.Direction

Namespace

Google \ Cloud \ Compute \ V1 \ PacketMirroringFilter

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;

BOTH

Value: 2044801

Default, both directions are mirrored.

Generated from protobuf enum BOTH = 2044801;

EGRESS

Value: 432880501

Only egress traffic is mirrored.

Generated from protobuf enum EGRESS = 432880501;

INGRESS

Value: 516931221

Only ingress traffic is mirrored.

Generated from protobuf enum INGRESS = 516931221;