View Source GoogleApi.NetworkServices.V1.Model.GrpcRouteFaultInjectionPolicy (google_api_network_services v0.10.1)

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

Attributes

  • abort (type: GoogleApi.NetworkServices.V1.Model.GrpcRouteFaultInjectionPolicyAbort.t, default: nil) - The specification for aborting to client requests.
  • delay (type: GoogleApi.NetworkServices.V1.Model.GrpcRouteFaultInjectionPolicyDelay.t, default: nil) - The specification for injecting delay to client requests.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.GrpcRouteFaultInjectionPolicy{
  abort:
    GoogleApi.NetworkServices.V1.Model.GrpcRouteFaultInjectionPolicyAbort.t()
    | nil,
  delay:
    GoogleApi.NetworkServices.V1.Model.GrpcRouteFaultInjectionPolicyDelay.t()
    | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.