View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailLoggingErrorLog (google_api_retail v0.19.1)
An error log which is reported to the Error Reporting system. This proto a superset of google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent.
Attributes
-
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: "type.googleapis.com/google.cloud.retail.v2.ProductService.CreateProductRequest" "type.googleapis.com/google.cloud.retail.v2.UserEventService.WriteUserEventRequest" -
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: "google.cloud.retail.v2.PredictionService.Predict" "google.cloud.retail.v2.UserEventService.WriteUserEvent" "google.cloud.retail.v2.UserEventService.CollectUserEvent" -
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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailLoggingErrorLog{ context: GoogleApi.Retail.V2.Model.GoogleCloudRetailLoggingErrorContext.t() | nil, importPayload: GoogleApi.Retail.V2.Model.GoogleCloudRetailLoggingImportErrorContext.t() | nil, message: String.t() | nil, requestPayload: map() | nil, responsePayload: map() | nil, serviceContext: GoogleApi.Retail.V2.Model.GoogleCloudRetailLoggingServiceContext.t() | nil, status: GoogleApi.Retail.V2.Model.GoogleRpcStatus.t() | nil }