Class HttpFaultInjection (0.9.0)

HttpFaultInjection(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

NameDescription
abort google.cloud.compute_v1.types.HttpFaultAbort
The specification for how client requests are aborted as part of fault injection. This field is a member of oneof_ _abort.
delay google.cloud.compute_v1.types.HttpFaultDelay
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service. This field is a member of oneof_ _delay.