public sealed class HttpRoute.Types.FaultInjectionPolicy.Types.Delay : IMessage<HttpRoute.Types.FaultInjectionPolicy.Types.Delay>, IEquatable<HttpRoute.Types.FaultInjectionPolicy.Types.Delay>, IDeepCloneable<HttpRoute.Types.FaultInjectionPolicy.Types.Delay>, IBufferMessage, IMessageReference documentation and code samples for the Network Services v1 API class HttpRoute.Types.FaultInjectionPolicy.Types.Delay.
Specification of how client requests are delayed as part of fault injection before being sent to a destination.
Implements
IMessageHttpRouteTypesFaultInjectionPolicyTypesDelay, IEquatableHttpRouteTypesFaultInjectionPolicyTypesDelay, IDeepCloneableHttpRouteTypesFaultInjectionPolicyTypesDelay, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
Delay()
public Delay()Delay(Delay)
public Delay(HttpRoute.Types.FaultInjectionPolicy.Types.Delay other)| Parameter | |
|---|---|
| Name | Description |
other |
HttpRouteTypesFaultInjectionPolicyTypesDelay |
Properties
FixedDelay
public Duration FixedDelay { get; set; }Specify a fixed delay before forwarding the request.
| Property Value | |
|---|---|
| Type | Description |
Duration |
|
Percentage
public int Percentage { get; set; }The percentage of traffic on which delay will be injected.
The value must be between [0, 100]
| Property Value | |
|---|---|
| Type | Description |
int |
|