View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineLoggingErrorLog (google_api_discovery_engine v0.27.0)
An error log which is reported to the Error Reporting system.
Attributes
-
context
(type:GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineLoggingErrorContext.t
, default:nil
) - A description of the context in which the error occurred. -
importPayload
(type:GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineLoggingImportErrorContext.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.discoveryengine.v1alpha.DocumentService.CreateDocumentRequest
type.googleapis.com/google.cloud.discoveryengine.v1alpha.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.discoveryengine.v1alpha.RecommendationService.Recommend
google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent
*google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent
-
serviceContext
(type:GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineLoggingServiceContext.t
, default:nil
) - The service context in which this error has occurred. -
status
(type:GoogleApi.DiscoveryEngine.V1.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.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineLoggingErrorLog{ context: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineLoggingErrorContext.t() | nil, importPayload: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineLoggingImportErrorContext.t() | nil, message: String.t() | nil, requestPayload: map() | nil, responsePayload: map() | nil, serviceContext: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineLoggingServiceContext.t() | nil, status: GoogleApi.DiscoveryEngine.V1.Model.GoogleRpcStatus.t() | nil }