File: //snap/google-cloud-cli/396/lib/googlecloudsdk/schemas/networkservices/v1/GrpcRouteRetryPolicy.yaml
$schema: "http://json-schema.org/draft-06/schema#"
title: networkservices v1 GrpcRouteRetryPolicy export schema
description: A gcloud export/import command YAML validation schema.
type: object
additionalProperties: false
properties:
COMMENT:
type: object
description: User specified info ignored by gcloud import.
additionalProperties: false
properties:
template-id:
type: string
region:
type: string
description:
type: string
date:
type: string
version:
type: string
UNKNOWN:
type: array
description: Unknown API fields that cannot be imported.
items:
type: string
numRetries:
description: |-
Specifies the allowed number of retries. This number must be > 0. If not
specified, default to 1.
type: integer
retryConditions:
description: |-
- 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 -
type: array
items:
type: string