rpc library
The Google Cloud client for the Google RPC Types.
Defines RPC types.
Classes
- BadRequest
- Describes violations in a client request. This error type focuses on the syntactic aspects of the request.
- BadRequest_FieldViolation
- A message type used to describe a single bad request field.
- Code
- The canonical error codes for gRPC APIs.
- DebugInfo
- Describes additional debugging info.
- ErrorInfo
- Describes the cause of the error with structured details.
- Help
- Provides links to documentation or for performing an out of band action.
- Help_Link
- Describes a URL link.
- HttpHeader
- Represents an HTTP header.
- HttpRequest
- Represents an HTTP request.
- HttpResponse
- Represents an HTTP response.
- LocalizedMessage
- Provides a localized error message that is safe to return to the user which can be attached to an RPC error.
- PreconditionFailure
- Describes what preconditions have failed.
- PreconditionFailure_Violation
- A message type used to describe a single precondition failure.
- QuotaFailure
- Describes how a quota check failed.
- QuotaFailure_Violation
- A message type used to describe a single quota violation. For example, a daily quota or a custom quota that was exceeded.
- RequestInfo
- Contains metadata about the request that clients can attach when filing a bug or providing other forms of feedback.
- ResourceInfo
- Describes the resource that is being accessed.
- RetryInfo
- Describes when the clients can retry a failed request. Clients could ignore the recommendation here or retry when this information is missing from error responses.
- Status
-
The
Statustype defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. EachStatusmessage contains three pieces of data: error code, error message, and error details.
Extensions
- StatusExtension on Status
- Extend Status to add custom handling for Status.details.