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, part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, is used to filter mirrored network traffic.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers constructors for creating new instances and copies (\u003ccode\u003ePacketMirroringFilter()\u003c/code\u003e and \u003ccode\u003ePacketMirroringFilter(PacketMirroringFilter other)\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCidrRanges\u003c/code\u003e property filters traffic by IPv4 CIDR ranges, and if left unspecified, traffic matching IP protocols will be considered.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDirection\u003c/code\u003e property determines whether to mirror ingress, egress, or both types of network traffic, with "BOTH" being the default setting.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIPProtocols\u003c/code\u003e property lets you specify which protocols to filter, and if not provided, all traffic within the \u003ccode\u003eCidrRanges\u003c/code\u003e is mirrored.\u003c/p\u003e\n"]]],[],null,[]]