Cloud Trace V2 API - Class Google::Cloud::Trace::V2::Span::TimeEvent (v1.2.0)

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.

    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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns

#time=

def time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns