public sealed class PacketMirroringFilter : IMessage<PacketMirroringFilter>, IEquatable<PacketMirroringFilter>, IDeepCloneable<PacketMirroringFilter>, IBufferMessage, IMessage
One or more IPv4 or IPv6 CIDR ranges that apply as filter 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". Note: Support for IPv6 traffic is in preview.
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 network traffic for mirroring purposes, with the latest version being 3.6.0, and the current version on the page being 2.13.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows for filtering based on IPv4 or IPv6 CIDR ranges via the \u003ccode\u003eCidrRanges\u003c/code\u003e property, with a default setting mirroring all IPv4 traffic if no ranges are specified.\u003c/p\u003e\n"],["\u003cp\u003eTraffic direction can be specified using the \u003ccode\u003eDirection\u003c/code\u003e property, allowing for mirroring of ingress, egress, or both, with the default being both.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIPProtocols\u003c/code\u003e property allows filtering of traffic based on specific protocols, and if none are specified all traffic within the specified \u003ccode\u003eCidrRanges\u003c/code\u003e will be mirrored.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e class 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, enabling advanced functionality and manipulation.\u003c/p\u003e\n"]]],[],null,[]]