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
-
(::Google::Cloud::Trace::V2::Span::TimeEvent::Annotation) — Text annotation with a set of attributes.
Note: The following fields are mutually exclusive:
annotation
,message_event
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#annotation=
def annotation=(value) -> ::Google::Cloud::Trace::V2::Span::TimeEvent::Annotation
-
value (::Google::Cloud::Trace::V2::Span::TimeEvent::Annotation) — Text annotation with a set of attributes.
Note: The following fields are mutually exclusive:
annotation
,message_event
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Trace::V2::Span::TimeEvent::Annotation) — Text annotation with a set of attributes.
Note: The following fields are mutually exclusive:
annotation
,message_event
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#message_event
def message_event() -> ::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent
-
(::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent) — An event describing a message sent/received between Spans.
Note: The following fields are mutually exclusive:
message_event
,annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#message_event=
def message_event=(value) -> ::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent
-
value (::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent) — An event describing a message sent/received between Spans.
Note: The following fields are mutually exclusive:
message_event
,annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent) — An event describing a message sent/received between Spans.
Note: The following fields are mutually exclusive:
message_event
,annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#time
def time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — The timestamp indicating the time the event occurred.
#time=
def time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — The timestamp indicating the time the event occurred.
- (::Google::Protobuf::Timestamp) — The timestamp indicating the time the event occurred.