public sealed class GrpcRoute.Types.FaultInjectionPolicy : IMessage<GrpcRoute.Types.FaultInjectionPolicy>, IEquatable<GrpcRoute.Types.FaultInjectionPolicy>, IDeepCloneable<GrpcRoute.Types.FaultInjectionPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class GrpcRoute.Types.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.
Implements
IMessageGrpcRouteTypesFaultInjectionPolicy, IEquatableGrpcRouteTypesFaultInjectionPolicy, IDeepCloneableGrpcRouteTypesFaultInjectionPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
FaultInjectionPolicy()
public FaultInjectionPolicy()
FaultInjectionPolicy(FaultInjectionPolicy)
public FaultInjectionPolicy(GrpcRoute.Types.FaultInjectionPolicy other)
Parameter | |
---|---|
Name | Description |
other |
GrpcRouteTypesFaultInjectionPolicy |
Properties
Abort
public GrpcRoute.Types.FaultInjectionPolicy.Types.Abort Abort { get; set; }
The specification for aborting to client requests.
Property Value | |
---|---|
Type | Description |
GrpcRouteTypesFaultInjectionPolicyTypesAbort |
Delay
public GrpcRoute.Types.FaultInjectionPolicy.Types.Delay Delay { get; set; }
The specification for injecting delay to client requests.
Property Value | |
---|---|
Type | Description |
GrpcRouteTypesFaultInjectionPolicyTypesDelay |