Compute Engine v1 API - Class PacketMirroringFilter (2.14.0)

public sealed class PacketMirroringFilter : IMessage<PacketMirroringFilter>, IEquatable<PacketMirroringFilter>, IDeepCloneable<PacketMirroringFilter>, IBufferMessage, IMessage

Inheritance

object > PacketMirroringFilter

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

PacketMirroringFilter()

public PacketMirroringFilter()

PacketMirroringFilter(PacketMirroringFilter)

public PacketMirroringFilter(PacketMirroringFilter other)
Parameter
NameDescription
otherPacketMirroringFilter

Properties

CidrRanges

public RepeatedField<string> CidrRanges { get; }

One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.

Property Value
TypeDescription
RepeatedFieldstring

Direction

public string Direction { get; set; }

Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. Check the Direction enum for the list of possible values.

Property Value
TypeDescription
string

HasDirection

public bool HasDirection { get; }

Gets whether the "direction" field is set

Property Value
TypeDescription
bool

IPProtocols

public RepeatedField<string> IPProtocols { get; }

Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored.

Property Value
TypeDescription
RepeatedFieldstring