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 latest version available for \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e is 3.6.0, although there is a list of versions between 1.0.0 and 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePacketMirroringFilter\u003c/code\u003e is a class that implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces and inherits from object, found within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\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 instance as a parameter for copying purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties for \u003ccode\u003eCidrRanges\u003c/code\u003e to specify IP ranges for filtering, \u003ccode\u003eDirection\u003c/code\u003e to specify the traffic direction to mirror, \u003ccode\u003eHasDirection\u003c/code\u003e to check if the direction field is set and \u003ccode\u003eIPProtocols\u003c/code\u003e to specify protocols for filtering mirrored traffic.\u003c/p\u003e\n"]]],[],null,[]]