Class: Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy::Abort
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy::Abort
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkservices/v1/grpc_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.
253 254 255 256 |
# File 'proto_docs/google/cloud/networkservices/v1/grpc_route.rb', line 253 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].
253 254 255 256 |
# File 'proto_docs/google/cloud/networkservices/v1/grpc_route.rb', line 253 class Abort include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |