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

View Source

The specifications for retries. Specifies one or more conditions for which this retry rule applies. Valid values are:

Attributes

  • numRetries (type: integer(), default: nil) - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
  • retryConditions (type: list(String.t), default: nil) - - connect-failure: Router will retry on failures connecting to Backend Services, for example due to connection timeouts. - refused-stream: Router will retry if the backend service resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: Router will retry if the gRPC status code in the response header is set to cancelled - deadline-exceeded: Router will retry if the gRPC status code in the response header is set to deadline-exceeded - resource-exhausted: Router will retry if the gRPC status code in the response header is set to resource-exhausted - unavailable: Router will retry if the gRPC status code in the response header is set to unavailable

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.GrpcRouteRetryPolicy{
  numRetries: integer() | nil,
  retryConditions: [String.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.