class Google::Apis::ClouderrorreportingV1beta1::ErrorEvent
An error event which is returned by the Error Reporting system.
Attributes
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. Corresponds to the JSON property `context` @return [Google::Apis::ClouderrorreportingV1beta1::ErrorContext]
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. Corresponds to the JSON property `eventTime` @return [String]
The stack trace that was reported or logged by the service. Corresponds to the JSON property `message` @return [String]
Describes a running service that sends errors. Its version changes over time and multiple versions can run in parallel. Corresponds to the JSON property `serviceContext` @return [Google::Apis::ClouderrorreportingV1beta1::ServiceContext]
Public Class Methods
# File lib/google/apis/clouderrorreporting_v1beta1/classes.rb, line 117 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/clouderrorreporting_v1beta1/classes.rb, line 122 def update!(**args) @context = args[:context] if args.key?(:context) @event_time = args[:event_time] if args.key?(:event_time) @message = args[:message] if args.key?(:message) @service_context = args[:service_context] if args.key?(:service_context) end