Google Cloud Trace v2 API - Class Span.Types.TimeEvent (3.5.0)

public sealed class Span.Types.TimeEvent : IMessage<Span.Types.TimeEvent>, IEquatable<Span.Types.TimeEvent>, IDeepCloneable<Span.Types.TimeEvent>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Trace v2 API class Span.Types.TimeEvent.

A time-stamped annotation or message event in the Span.

Inheritance

object > Span.Types.TimeEvent

Namespace

Google.Cloud.Trace.V2

Assembly

Google.Cloud.Trace.V2.dll

Constructors

TimeEvent()

public TimeEvent()

TimeEvent(TimeEvent)

public TimeEvent(Span.Types.TimeEvent other)
Parameter
NameDescription
otherSpanTypesTimeEvent

Properties

Annotation

public Span.Types.TimeEvent.Types.Annotation Annotation { get; set; }

Text annotation with a set of attributes.

Property Value
TypeDescription
SpanTypesTimeEventTypesAnnotation

MessageEvent

public Span.Types.TimeEvent.Types.MessageEvent MessageEvent { get; set; }

An event describing a message sent/received between Spans.

Property Value
TypeDescription
SpanTypesTimeEventTypesMessageEvent

Time

public Timestamp Time { get; set; }

The timestamp indicating the time the event occurred.

Property Value
TypeDescription
Timestamp

ValueCase

public Span.Types.TimeEvent.ValueOneofCase ValueCase { get; }
Property Value
TypeDescription
SpanTypesTimeEventValueOneofCase