Index
ErrorContext
(message)ErrorLog
(message)HttpRequestContext
(message)ImportErrorContext
(message)ServiceContext
(message)SourceLocation
(message)
ErrorContext
A description of the context in which an error occurred.
Fields | |
---|---|
http_ |
The HTTP request which was processed when the error was triggered. |
report_ |
The location in the source code where the decision was made to report the error, usually the place where it was logged. |
ErrorLog
An error log which is reported to the Error Reporting system.
Fields | |
---|---|
service_ |
The service context in which this error has occurred. |
context |
A description of the context in which the error occurred. |
message |
A message describing the error. |
status |
The RPC status associated with the error log. |
request_ |
The API request payload, represented as a protocol buffer. Most API request types are supported—for example:
|
response_ |
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:
|
import_ |
The error payload that is populated on LRO import APIs. |
HttpRequestContext
HTTP request data that is related to a reported error.
Fields | |
---|---|
response_ |
The HTTP response status code for the request. |
ImportErrorContext
The error payload that is populated on LRO import APIs, including the following:
google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments
google.cloud.discoveryengine.v1alpha.UserEventService.ImportUserEvents
Fields | |
---|---|
operation |
The operation resource name of the LRO. |
gcs_ |
Google Cloud Storage file path of the import source. Can be set for batch operation error. |
line_ |
Line number of the content in file. Should be empty for permission or batch operation error. |
Union field line_content . Detailed content which caused the error. Should be empty for permission or batch operation error. line_content can be only one of the following: |
|
document |
The detailed content which caused the error on importing a document. |
user_ |
The detailed content which caused the error on importing a user event. |
ServiceContext
Describes a running service that sends errors.
Fields | |
---|---|
service |
An identifier of the service—for example, |
SourceLocation
Indicates a location in the source code of the service for which errors are reported.
Fields | |
---|---|
function_ |
Human-readable name of a function or method—for example, |