Reference documentation and code samples for the Cloud Error Reporting V1beta1 API class Google::Cloud::ErrorReporting::V1beta1::ErrorEvent.
An error event which is returned by the Error Reporting system.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#context
def context() -> ::Google::Cloud::ErrorReporting::V1beta1::ErrorContext
Returns
- (::Google::Cloud::ErrorReporting::V1beta1::ErrorContext) — Data about the context in which the error occurred.
#context=
def context=(value) -> ::Google::Cloud::ErrorReporting::V1beta1::ErrorContext
Parameter
- value (::Google::Cloud::ErrorReporting::V1beta1::ErrorContext) — Data about the context in which the error occurred.
Returns
- (::Google::Cloud::ErrorReporting::V1beta1::ErrorContext) — Data about the context in which the error occurred.
#event_time
def event_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — 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.
#event_time=
def event_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — 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.
Returns
- (::Google::Protobuf::Timestamp) — 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
def message() -> ::String
Returns
- (::String) — The stack trace that was reported or logged by the service.
#message=
def message=(value) -> ::String
Parameter
- value (::String) — The stack trace that was reported or logged by the service.
Returns
- (::String) — The stack trace that was reported or logged by the service.
#service_context
def service_context() -> ::Google::Cloud::ErrorReporting::V1beta1::ServiceContext
Returns
-
(::Google::Cloud::ErrorReporting::V1beta1::ServiceContext) — The
ServiceContext
for which this error was reported.
#service_context=
def service_context=(value) -> ::Google::Cloud::ErrorReporting::V1beta1::ServiceContext
Parameter
-
value (::Google::Cloud::ErrorReporting::V1beta1::ServiceContext) — The
ServiceContext
for which this error was reported.
Returns
-
(::Google::Cloud::ErrorReporting::V1beta1::ServiceContext) — The
ServiceContext
for which this error was reported.