google_api_service_user v0.4.0 GoogleApi.ServiceUser.V1.Model.CustomError View Source

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

Attributes

  • rules ([CustomErrorRule]): The list of custom error rules that apply to individual API messages. NOTE: All service configuration rules follow "last one wins" order. Defaults to: null.
  • types ([String.t]): The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.ServiceUser.V1.Model.CustomError{
  rules: [GoogleApi.ServiceUser.V1.Model.CustomErrorRule.t()],
  types: [any()]
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.