Network Services V1 API - Class Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy (v1.0.0)

Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::GrpcRoute::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 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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#abort

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

#abort=

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

#delay

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

#delay=

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