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\u003eThe webpage provides documentation for the \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, covering multiple versions from 1.0.0 to the latest 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePacketMirroringFilter\u003c/code\u003e is a class used for filtering mirrored network traffic, inheriting from Object and implementing multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors for creating a new \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e object or copying one from another, as well as properties like \u003ccode\u003eCidrRanges\u003c/code\u003e, \u003ccode\u003eDirection\u003c/code\u003e, \u003ccode\u003eHasDirection\u003c/code\u003e, and \u003ccode\u003eIPProtocols\u003c/code\u003e for defining traffic filtering rules.\u003c/p\u003e\n"],["\u003cp\u003eThe properties \u003ccode\u003eCidrRanges\u003c/code\u003e and \u003ccode\u003eIPProtocols\u003c/code\u003e allow for filtering mirrored traffic based on IP CIDR ranges and protocols, respectively, while the \u003ccode\u003eDirection\u003c/code\u003e property specifies whether the traffic should be ingress, egress, or both.\u003c/p\u003e\n"],["\u003cp\u003eIf neither \u003ccode\u003eCidrRanges\u003c/code\u003e nor \u003ccode\u003eIPProtocols\u003c/code\u003e are specified, all traffic is mirrored; also, if no \u003ccode\u003eIPProtocols\u003c/code\u003e are specified, then all traffic that matches the specified CIDR ranges is mirrored, similarly, if no \u003ccode\u003eCidrRanges\u003c/code\u003e are specified, then all traffic that matches the specified \u003ccode\u003eIPProtocols\u003c/code\u003e is mirrored.\u003c/p\u003e\n"]]],[],null,[]]