Network Services V1 API - Class Google::Cloud::NetworkServices::V1::HttpRoute::FaultInjectionPolicy (v0.2.0)

Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::HttpRoute::FaultInjectionPolicy.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#abort

def abort() -> ::Google::Cloud::NetworkServices::V1::HttpRoute::FaultInjectionPolicy::Abort
Returns

#abort=

def abort=(value) -> ::Google::Cloud::NetworkServices::V1::HttpRoute::FaultInjectionPolicy::Abort
Parameter
Returns

#delay

def delay() -> ::Google::Cloud::NetworkServices::V1::HttpRoute::FaultInjectionPolicy::Delay
Returns

#delay=

def delay=(value) -> ::Google::Cloud::NetworkServices::V1::HttpRoute::FaultInjectionPolicy::Delay
Parameter
Returns