CustomErrorResponse

data class CustomErrorResponse(val rules: List<CustomErrorRuleResponse>, val types: List<String>)

Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The list of custom error rules that apply to individual API messages. NOTE: All service configuration rules follow "last one wins" order.

Link copied to clipboard

The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.