Class: Google::Cloud::NetworkServices::V1::HttpRoute::FaultInjectionPolicy::Abort
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkServices::V1::HttpRoute::FaultInjectionPolicy::Abort
- 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 aborted as part of fault injection before being sent to a destination.
Instance Attribute Summary collapse
-
#http_status ⇒ ::Integer
The HTTP status code used to abort the request.
-
#percentage ⇒ ::Integer
The percentage of traffic which will be aborted.
Instance Attribute Details
#http_status ⇒ ::Integer
Returns The HTTP status code used to abort the request.
The value must be between 200 and 599 inclusive.
349 350 351 352 |
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 349 class Abort include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#percentage ⇒ ::Integer
Returns The percentage of traffic which will be aborted.
The value must be between [0, 100].
349 350 351 352 |
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 349 class Abort include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |