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 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.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
delay |
google.cloud.network_services_v1.types.GrpcRoute.FaultInjectionPolicy.Delay
The specification for injecting delay to client requests. This field is a member of oneof _ _delay .
|
abort |
google.cloud.network_services_v1.types.GrpcRoute.FaultInjectionPolicy.Abort
The specification for aborting to client requests. This field is a member of oneof _ _abort .
|
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.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
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.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields