Class FaultInjectionPolicy (0.2.1)

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

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 by client proxy on a percentage of requests before sending those requests to the destination service. Similarly requests can be aborted by client proxy for a percentage of requests.

Attributes

NameDescription
delay google.cloud.network_services_v1.types.HttpRoute.FaultInjectionPolicy.Delay
The specification for injecting delay to client requests.
abort google.cloud.network_services_v1.types.HttpRoute.FaultInjectionPolicy.Abort
The specification for aborting to client requests.

Inheritance

builtins.object > proto.message.Message > FaultInjectionPolicy

Classes

Abort

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

Specification of how client requests are aborted as part of fault injection before being sent to a destination.

Delay

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

Specification of how client requests are delayed as part of fault injection before being sent to a destination.