Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::HttpFaultInjection (v2.3.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::HttpFaultInjection.

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 the load balancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the load balancer 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

#abort=

def abort=(value) -> ::Google::Cloud::Compute::V1::HttpFaultAbort
Parameter
Returns

#delay

def delay() -> ::Google::Cloud::Compute::V1::HttpFaultDelay
Returns

#delay=

def delay=(value) -> ::Google::Cloud::Compute::V1::HttpFaultDelay
Parameter
Returns