Network Services v1 API - Class GrpcRoute.Types.FaultInjectionPolicy.Types.Delay (1.0.0-beta01)

public sealed class GrpcRoute.Types.FaultInjectionPolicy.Types.Delay : IMessage<GrpcRoute.Types.FaultInjectionPolicy.Types.Delay>, IEquatable<GrpcRoute.Types.FaultInjectionPolicy.Types.Delay>, IDeepCloneable<GrpcRoute.Types.FaultInjectionPolicy.Types.Delay>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Services v1 API class GrpcRoute.Types.FaultInjectionPolicy.Types.Delay.

Specification of how client requests are delayed as part of fault injection before being sent to a destination.

Inheritance

object > GrpcRoute.Types.FaultInjectionPolicy.Types.Delay

Namespace

Google.Cloud.NetworkServices.V1

Assembly

Google.Cloud.NetworkServices.V1.dll

Constructors

Delay()

public Delay()

Delay(Delay)

public Delay(GrpcRoute.Types.FaultInjectionPolicy.Types.Delay other)
Parameter
Name Description
other GrpcRouteTypesFaultInjectionPolicyTypesDelay

Properties

FixedDelay

public Duration FixedDelay { get; set; }

Specify a fixed delay before forwarding the request.

Property Value
Type Description
Duration

HasPercentage

public bool HasPercentage { get; }

Gets whether the "percentage" field is set

Property Value
Type Description
bool

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