Class Google::Cloud::Compute::V1::HttpFaultDelay (v1.0.0)

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#fixed_delay

def fixed_delay() -> ::Google::Cloud::Compute::V1::Duration
Returns

#fixed_delay=

def fixed_delay=(value) -> ::Google::Cloud::Compute::V1::Duration
Parameter
Returns

#percentage

def percentage() -> ::Float
Returns
  • (::Float) — The percentage of traffic (connections/operations/requests) on which delay will be introduced as part of fault injection. The value must be between 0.0 and 100.0 inclusive.

#percentage=

def percentage=(value) -> ::Float
Parameter
  • value (::Float) — The percentage of traffic (connections/operations/requests) on which delay will be introduced as part of fault injection. The value must be between 0.0 and 100.0 inclusive.
Returns
  • (::Float) — The percentage of traffic (connections/operations/requests) on which delay will be introduced as part of fault injection. The value must be between 0.0 and 100.0 inclusive.