Class: Google::Cloud::NetworkServices::V1::GrpcRoute::FaultInjectionPolicy::Abort

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::Integer)

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

Returns:

  • (::Integer)

    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