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\u003eThis document outlines the details for \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e within the Google.Cloud.Compute.V1 namespace, spanning versions from 1.0.0 to the latest 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePacketMirroringFilter\u003c/code\u003e is a sealed class that implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, inheriting from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default one and another that takes a \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e object as a parameter for creating copies.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e include \u003ccode\u003eCidrRanges\u003c/code\u003e for specifying IP ranges, \u003ccode\u003eDirection\u003c/code\u003e for defining traffic flow, \u003ccode\u003eHasDirection\u003c/code\u003e to check if the direction has been specified, and \u003ccode\u003eIPProtocols\u003c/code\u003e for filtering by protocol.\u003c/p\u003e\n"],["\u003cp\u003eThe IP filter of \u003ccode\u003ePacketMirroringFilter\u003c/code\u003e can mirror all traffic if neither cidrRanges nor IPProtocols are specified.\u003c/p\u003e\n"]]],[],null,[]]