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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#abort
def abort() -> ::Google::Cloud::Compute::V1::HttpFaultAbort
Returns
- (::Google::Cloud::Compute::V1::HttpFaultAbort) — The specification for how client requests are aborted as part of fault injection.
#abort=
def abort=(value) -> ::Google::Cloud::Compute::V1::HttpFaultAbort
Parameter
- value (::Google::Cloud::Compute::V1::HttpFaultAbort) — The specification for how client requests are aborted as part of fault injection.
Returns
- (::Google::Cloud::Compute::V1::HttpFaultAbort) — The specification for how client requests are aborted as part of fault injection.
#delay
def delay() -> ::Google::Cloud::Compute::V1::HttpFaultDelay
Returns
- (::Google::Cloud::Compute::V1::HttpFaultDelay) — The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
#delay=
def delay=(value) -> ::Google::Cloud::Compute::V1::HttpFaultDelay
Parameter
- value (::Google::Cloud::Compute::V1::HttpFaultDelay) — The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
Returns
- (::Google::Cloud::Compute::V1::HttpFaultDelay) — The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.