GoogleApi.Testing.V1.Model.TrafficRule (google_api_testing v0.34.0)

View Source

Network emulation parameters.

Attributes

  • bandwidth (type: number(), default: nil) - Bandwidth in kbits/second.
  • burst (type: number(), default: nil) - Burst size in kbits.
  • delay (type: String.t, default: nil) - Packet delay, must be >= 0.
  • packetDuplicationRatio (type: number(), default: nil) - Packet duplication ratio (0.0 - 1.0).
  • packetLossRatio (type: number(), default: nil) - Packet loss ratio (0.0 - 1.0).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Testing.V1.Model.TrafficRule{
  bandwidth: number() | nil,
  burst: number() | nil,
  delay: String.t() | nil,
  packetDuplicationRatio: number() | nil,
  packetLossRatio: number() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.