# Network Services V1 API - Class Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy::Delay (v2.10.1)

2.10.1 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.2.0 0.1.0 Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy::Delay.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #fixed_delay

    def fixed_delay() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Protobuf-Duration)) --- Specify a fixed delay before forwarding the request.

### #fixed_delay=

    def fixed_delay=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Protobuf-Duration)) --- Specify a fixed delay before forwarding the request.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Protobuf-Duration)) --- Specify a fixed delay before forwarding the request.

### #percentage

    def percentage() -> ::Integer

**Returns**

- (::Integer) --- The percentage of traffic on which delay will be injected.

  The value must be between \[0, 100\]

### #percentage=

    def percentage=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The percentage of traffic on which delay will be injected.


  The value must be between \[0, 100\]
**Returns**

- (::Integer) --- The percentage of traffic on which delay will be injected.

  The value must be between \[0, 100\]