Class HttpFaultDelay (1.4.0)

public sealed class HttpFaultDelay : IMessage<HttpFaultDelay>, IEquatable<HttpFaultDelay>, IDeepCloneable<HttpFaultDelay>, IBufferMessage, IMessage

Specifies the delay introduced by the load balancer before forwarding the request to the backend service as part of fault injection.

Inheritance

Object > HttpFaultDelay

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

HttpFaultDelay()

public HttpFaultDelay()

HttpFaultDelay(HttpFaultDelay)

public HttpFaultDelay(HttpFaultDelay other)
Parameter
NameDescription
otherHttpFaultDelay

Properties

FixedDelay

public Duration FixedDelay { get; set; }

Specifies the value of the fixed delay interval.

Property Value
TypeDescription
Duration

HasPercentage

public bool HasPercentage { get; }

Gets whether the "percentage" field is set

Property Value
TypeDescription
Boolean

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
TypeDescription
Double