Error Reporting V1beta1 API - Class Google::Cloud::ErrorReporting::V1beta1::ErrorEvent (v0.10.0)

Reference documentation and code samples for the 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

#context=

def context=(value) -> ::Google::Cloud::ErrorReporting::V1beta1::ErrorContext
Parameter
Returns

#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

#service_context=

def service_context=(value) -> ::Google::Cloud::ErrorReporting::V1beta1::ServiceContext
Parameter
Returns