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\u003eVersion 3.6.0 is the latest release, while this page specifically details version 3.5.0 of the \u003ccode\u003eGoogle.Cloud.Compute.V1.PacketMirroringFilter\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e class, which inherits from \u003ccode\u003eobject\u003c/code\u003e and 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, is used to define traffic filtering for packet mirroring.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors to create a new \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e object, and has properties like \u003ccode\u003eCidrRanges\u003c/code\u003e, \u003ccode\u003eDirection\u003c/code\u003e, \u003ccode\u003eHasDirection\u003c/code\u003e and \u003ccode\u003eIPProtocols\u003c/code\u003e that allow the customization of traffic filtering.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCidrRanges\u003c/code\u003e and \u003ccode\u003eIPProtocols\u003c/code\u003e properties are used together to filter mirrored traffic, with the ability to mirror all IPv4 traffic if neither property is set.\u003c/p\u003e\n"],["\u003cp\u003eThe list shows that the PacketMirroringFilter class has versions ranging from 1.0.0 up to 3.6.0 that the user can view.\u003c/p\u003e\n"]]],[],null,[]]