public sealed class PacketMirroringFilter : IMessage<PacketMirroringFilter>, IEquatable<PacketMirroringFilter>, IDeepCloneable<PacketMirroringFilter>, IBufferMessage, IMessage
IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
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 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\u003eThis webpage details the \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, with the latest version being 3.6.0 and numerous previous versions listed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e class is a sealed class that implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eCidrRanges\u003c/code\u003e, \u003ccode\u003eDirection\u003c/code\u003e, \u003ccode\u003eHasDirection\u003c/code\u003e, and \u003ccode\u003eIPProtocols\u003c/code\u003e to filter traffic for mirroring, with \u003ccode\u003eCidrRanges\u003c/code\u003e and \u003ccode\u003eIPProtocols\u003c/code\u003e allowing for the specification of multiple values.\u003c/p\u003e\n"],["\u003cp\u003eTraffic mirroring direction can be specified with the \u003ccode\u003eDirection\u003c/code\u003e property, with options being INGRESS, EGRESS, or BOTH, and the default being BOTH if it is not specified.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e class has two constructors, one default and one that takes another \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e object as a parameter for duplication.\u003c/p\u003e\n"]]],[],null,[]]