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
- (::Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy::Abort) — The specification for aborting to client requests.
#abort=
def abort=(value) -> ::Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy::Abort
- value (::Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy::Abort) — The specification for aborting to client requests.
- (::Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy::Abort) — The specification for aborting to client requests.
#delay
def delay() -> ::Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy::Delay
- (::Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy::Delay) — The specification for injecting delay to client requests.
#delay=
def delay=(value) -> ::Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy::Delay
- value (::Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy::Delay) — The specification for injecting delay to client requests.
- (::Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy::Delay) — The specification for injecting delay to client requests.