View Source GoogleApi.ContentWarehouse.V1.Model.UtilStatusProto (google_api_content_warehouse v0.3.0)

Wire-format for a Status object

Attributes

  • canonicalCode (type: integer(), default: nil) - The canonical error code (see codes.proto) that most closely corresponds to this status. This may be missing, and in the common case of the generic space, it definitely will be.
  • code (type: integer(), default: nil) - Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto
  • message (type: String.t, default: nil) - Detail message
  • messageSet (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - message_set associates an arbitrary proto message with the status.
  • space (type: String.t, default: nil) - The following are usually only present when code != 0 Space to which this status belongs

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.UtilStatusProto{
  canonicalCode: integer() | nil,
  code: integer() | nil,
  message: String.t() | nil,
  messageSet:
    GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  space: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.