PacketMirroring class

Represents a Packet Mirroring resource.

Packet Mirroring clones the traffic of specified instances in your Virtual Private Cloud (VPC) network and forwards it to a collector destination, such as an instance group of an internal TCP/UDP load balancer, for analysis or examination. For more information about setting up Packet Mirroring, seeUsing Packet Mirroring.

Constructors

PacketMirroring({PacketMirroringForwardingRuleInfo? collectorIlb, String? creationTimestamp, String? description, String? enable, PacketMirroringFilter? filter, String? id, String? kind, PacketMirroringMirroredResourceInfo? mirroredResources, String? name, PacketMirroringNetworkInfo? network, int? priority, String? region, String? selfLink})
PacketMirroring.fromJson(Map json_)

Properties

collectorIlb PacketMirroringForwardingRuleInfo?
The Forwarding Rule resource of typeloadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true.
getter/setter pair
creationTimestamp String?
Creation timestamp inRFC3339 text format.
getter/setter pair
description String?
An optional description of this resource.
getter/setter pair
enable String?
Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network.
getter/setter pair
filter PacketMirroringFilter?
Filter for mirrored traffic.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The unique identifier for the resource.
getter/setter pair
kind String?
Type of the resource.
getter/setter pair
mirroredResources PacketMirroringMirroredResourceInfo?
PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored.
getter/setter pair
name String?
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
getter/setter pair
network PacketMirroringNetworkInfo?
Specifies the mirrored VPC network.
getter/setter pair
priority int?
The priority of applying this configuration.
getter/setter pair
region String?
URI of the region where the packetMirroring resides.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
Server-defined URL for the resource.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited