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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Stackdriver Error Reporting V1beta1 Client - Class ErrorEvent (0.23.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.23.1 (latest)](/php/docs/reference/cloud-error-reporting/latest/V1beta1.ErrorEvent)\n- [0.23.0](/php/docs/reference/cloud-error-reporting/0.23.0/V1beta1.ErrorEvent)\n- [0.22.10](/php/docs/reference/cloud-error-reporting/0.22.10/V1beta1.ErrorEvent)\n- [0.21.1](/php/docs/reference/cloud-error-reporting/0.21.1/V1beta1.ErrorEvent)\n- [0.20.2](/php/docs/reference/cloud-error-reporting/0.20.2/V1beta1.ErrorEvent)\n- [0.19.12](/php/docs/reference/cloud-error-reporting/0.19.12/V1beta1.ErrorEvent) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Stackdriver Error Reporting V1beta1 Client class ErrorEvent.\n\nAn error event which is returned by the Error Reporting system.\n\nGenerated from protobuf message `google.devtools.clouderrorreporting.v1beta1.ErrorEvent`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ErrorReporting \\\\ V1beta1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getEventTime\n\nTime when the event occurred as provided in the error report.\n\nIf the report did not contain a timestamp, the time the error was received\nby the Error Reporting system is used.\n\n### hasEventTime\n\n### clearEventTime\n\n### setEventTime\n\nTime when the event occurred as provided in the error report.\n\nIf the report did not contain a timestamp, the time the error was received\nby the Error Reporting system is used.\n\n### getServiceContext\n\nThe `ServiceContext` for which this error was reported.\n\n### hasServiceContext\n\n### clearServiceContext\n\n### setServiceContext\n\nThe `ServiceContext` for which this error was reported.\n\n### getMessage\n\nThe stack trace that was reported or logged by the service.\n\n### setMessage\n\nThe stack trace that was reported or logged by the service.\n\n### getContext\n\nData about the context in which the error occurred.\n\n### hasContext\n\n### clearContext\n\n### setContext\n\nData about the context in which the error occurred."]]