Compute Engine v1 API - Class HttpFaultDelay (2.7.0)

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.

Inheritance

object > HttpFaultDelay

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

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