GoogleApi.Run.V1.Model.StatusCause (google_api_run v0.24.5) View Source

StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.

Attributes

  • field (type: String.t, default: nil) - The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items" +optional
  • message (type: String.t, default: nil) - A human-readable description of the cause of the error. This field may be presented as-is to a reader. +optional
  • reason (type: String.t, default: nil) - A machine-readable description of the cause of the error. If this value is empty there is no information available. +optional

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Run.V1.Model.StatusCause{
  field: String.t() | nil,
  message: String.t() | nil,
  reason: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.