GoogleApi.NetworkServices.V1.Model.HttpRouteFaultInjectionPolicyAbort (google_api_network_services v0.11.0)

View Source

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

Attributes

  • httpStatus (type: integer(), default: nil) - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
  • percentage (type: integer(), default: nil) - The percentage of traffic which will be aborted. The value must be between [0, 100]

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.HttpRouteFaultInjectionPolicyAbort{
  httpStatus: integer() | nil,
  percentage: integer() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.