GoogleApi.Compute.V1.Model.HttpFaultInjection (google_api_compute v0.37.0) View Source

The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by Loadbalancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the Loadbalancer for a percentage of requests.

Attributes

  • abort (type: GoogleApi.Compute.V1.Model.HttpFaultAbort.t, default: nil) - The specification for how client requests are aborted as part of fault injection.
  • delay (type: GoogleApi.Compute.V1.Model.HttpFaultDelay.t, default: nil) - The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Compute.V1.Model.HttpFaultInjection{
  abort: GoogleApi.Compute.V1.Model.HttpFaultAbort.t() | nil,
  delay: GoogleApi.Compute.V1.Model.HttpFaultDelay.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.