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 \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e class, found within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, is available in versions ranging from 1.0.0 to 3.6.0 of the library, with 3.6.0 being the latest version.\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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e class allows users to define filters for mirrored network traffic using IP CIDR ranges and specific IP protocols, as detailed by the properties \u003ccode\u003eCidrRanges\u003c/code\u003e and \u003ccode\u003eIPProtocols\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTraffic mirroring can be configured for \u003ccode\u003eINGRESS\u003c/code\u003e, \u003ccode\u003eEGRESS\u003c/code\u003e, or \u003ccode\u003eBOTH\u003c/code\u003e directions using the \u003ccode\u003eDirection\u003c/code\u003e property, with \u003ccode\u003eBOTH\u003c/code\u003e being the default, and has a boolean \u003ccode\u003eHasDirection\u003c/code\u003e property to determine if it has been set.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, a default \u003ccode\u003ePacketMirroringFilter()\u003c/code\u003e and another allowing a copy of a \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e instance to be made.\u003c/p\u003e\n"]]],[],null,[]]