public sealed class HttpFaultDelay : IMessage<HttpFaultDelay>, IEquatable<HttpFaultDelay>, IDeepCloneable<HttpFaultDelay>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class HttpFaultDelay.
Specifies the delay introduced by the load balancer before forwarding the request to the backend service as part of fault injection.
Implements
IMessageHttpFaultDelay, IEquatableHttpFaultDelay, IDeepCloneableHttpFaultDelay, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
Google.Cloud.Compute.V1.dll
Constructors
HttpFaultDelay()
public HttpFaultDelay()
HttpFaultDelay(HttpFaultDelay)
public HttpFaultDelay(HttpFaultDelay other)
Parameter | |
---|---|
Name | Description |
other | HttpFaultDelay |
Properties
FixedDelay
public Duration FixedDelay { get; set; }
Specifies the value of the fixed delay interval.
Property Value | |
---|---|
Type | Description |
Duration |
HasPercentage
public bool HasPercentage { get; }
Gets whether the "percentage" field is set
Property Value | |
---|---|
Type | Description |
bool |
Percentage
public double Percentage { get; set; }
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
Property Value | |
---|---|
Type | Description |
double |