View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailLoggingErrorLog (google_api_retail v0.3.0)

An error log which is reported to the Error Reporting system. This proto a superset of google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent.


  • context (type: GoogleApi.Retail.V2.Model.GoogleCloudRetailLoggingErrorContext.t, default: nil) - A description of the context in which the error occurred.
  • importPayload (type: GoogleApi.Retail.V2.Model.GoogleCloudRetailLoggingImportErrorContext.t, default: nil) - The error payload that is populated on LRO import APIs.
  • message (type: String.t, default: nil) - A message describing the error.
  • requestPayload (type: map(), default: nil) - The API request payload, represented as a protocol buffer. Most API request types are supported. For example: "" ""
  • responsePayload (type: map(), default: nil) - The API response payload, represented as a protocol buffer. This is used to log some "soft errors", where the response is valid but we consider there are some quality issues like unjoined events. The following API responses are supported and no PII is included: "" "" ""
  • serviceContext (type: GoogleApi.Retail.V2.Model.GoogleCloudRetailLoggingServiceContext.t, default: nil) - The service context in which this error has occurred.
  • status (type: GoogleApi.Retail.V2.Model.GoogleRpcStatus.t, default: nil) - The RPC status associated with the error log.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailLoggingErrorLog{
    GoogleApi.Retail.V2.Model.GoogleCloudRetailLoggingErrorContext.t() | nil,
    | nil,
  message: String.t() | nil,
  requestPayload: map() | nil,
  responsePayload: map() | nil,
    GoogleApi.Retail.V2.Model.GoogleCloudRetailLoggingServiceContext.t() | nil,
  status: GoogleApi.Retail.V2.Model.GoogleRpcStatus.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.