Class: Google::Cloud::NetworkServices::V1::HttpRoute::FaultInjectionPolicy::Delay

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networkservices/v1/http_route.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#fixed_delay::Google::Protobuf::Duration

Returns Specify a fixed delay before forwarding the request.

Returns:



332
333
334
335
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 332

class Delay
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#percentage::Integer

Returns 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]



332
333
334
335
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 332

class Delay
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end