public sealed class PacketMirroringFilter : IMessage<PacketMirroringFilter>, IEquatable<PacketMirroringFilter>, IDeepCloneable<PacketMirroringFilter>, IBufferMessage, IMessage
One or more IPv4 or IPv6 CIDR ranges that apply as filters 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".
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.
[[["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 \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, is used to filter mirrored network traffic and is currently documented up to version 3.6.0 with 3.4.0 being the current one visible.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, extending its functionality within the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePacketMirroringFilter\u003c/code\u003e allows specifying CIDR ranges and IP protocols to precisely control which traffic is mirrored, with the ability to mirror all IPv4 traffic by default if no filters are defined.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides a \u003ccode\u003eDirection\u003c/code\u003e property to define whether to mirror ingress, egress, or both types of traffic.\u003c/p\u003e\n"],["\u003cp\u003eThe PacketMirroringFilter class has two constructors, a default one, and another one that takes a PacketMirroringFilter as an argument.\u003c/p\u003e\n"]]],[],null,[]]