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
- (::Google::Cloud::Compute::V1::Duration) — Specifies the value of the fixed delay interval.
#fixed_delay=
def fixed_delay=(value) -> ::Google::Cloud::Compute::V1::Duration
Parameter
- value (::Google::Cloud::Compute::V1::Duration) — Specifies the value of the fixed delay interval.
Returns
- (::Google::Cloud::Compute::V1::Duration) — Specifies the value of the fixed delay interval.
#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.