events
Overview
Name | events |
Type | Resource |
Id | google.clouderrorreporting.events |
Fields
Name | Datatype | Description |
---|---|---|
context | object | A description of the context in which an error occurred. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs. |
eventTime | string | Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used. |
message | string | The stack trace that was reported or logged by the service. |
serviceContext | object | Describes a running service that sends errors. Its version changes over time and multiple versions can run in parallel. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | projectsId | Lists the specified events. |
delete_events | DELETE | projectsId | Deletes all error events of a given project. |
_list | EXEC | projectsId | Lists the specified events. |
report | EXEC | projectsId | Report an individual error event and record the event to a log. This endpoint accepts either an OAuth token, or an API key for authentication. To use an API key, append it to the URL as the value of a key parameter. For example: POST https://clouderrorreporting.googleapis.com/v1beta1/{projectName}/events:report?key=123ABC456 Note: [Error Reporting] (https://cloud.google.com/error-reporting) is a global service built on Cloud Logging and doesn't analyze logs stored in regional log buckets or logs routed to other Google Cloud projects. |