Reference documentation and code samples for the Cloud Trace V2 API class Google::Cloud::Trace::V2::Span::TimeEvent.
A time-stamped annotation or message event in the Span.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotation
def annotation() -> ::Google::Cloud::Trace::V2::Span::TimeEvent::Annotation Returns
- (::Google::Cloud::Trace::V2::Span::TimeEvent::Annotation) — Text annotation with a set of attributes.
#annotation=
def annotation=(value) -> ::Google::Cloud::Trace::V2::Span::TimeEvent::Annotation Parameter
- value (::Google::Cloud::Trace::V2::Span::TimeEvent::Annotation) — Text annotation with a set of attributes.
Returns
- (::Google::Cloud::Trace::V2::Span::TimeEvent::Annotation) — Text annotation with a set of attributes.
#message_event
def message_event() -> ::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent Returns
- (::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent) — An event describing a message sent/received between Spans.
#message_event=
def message_event=(value) -> ::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent Parameter
- value (::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent) — An event describing a message sent/received between Spans.
Returns
- (::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent) — An event describing a message sent/received between Spans.
#time
def time() -> ::Google::Protobuf::Timestamp Returns
- (::Google::Protobuf::Timestamp) — The timestamp indicating the time the event occurred.
#time=
def time=(value) -> ::Google::Protobuf::Timestamp Parameter
- value (::Google::Protobuf::Timestamp) — The timestamp indicating the time the event occurred.
Returns
- (::Google::Protobuf::Timestamp) — The timestamp indicating the time the event occurred.