View Source GoogleApi.Compute.V1.Model.PacketMirroringFilter (google_api_compute v0.56.2)

Attributes

  • IPProtocols (type: list(String.t), default: nil) - 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.
  • cidrRanges (type: list(String.t), default: nil) - 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.
  • direction (type: String.t, default: nil) - Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.PacketMirroringFilter{
  IPProtocols: [String.t()] | nil,
  cidrRanges: [String.t()] | nil,
  direction: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.