Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::HttpFaultDelay (v1.10.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::HttpFaultDelay.

Specifies the delay introduced by the load balancer 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 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.

#percentage=

def percentage=(value) -> ::Float
Parameter
  • value (::Float) — 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.
Returns
  • (::Float) — 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.