Class Span.Types.TimeEvent.Types.Annotation (3.0.0)

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

Text annotation with a set of attributes.

Inheritance

Object > Span.Types.TimeEvent.Types.Annotation

Namespace

Google.Cloud.Trace.V2

Assembly

Google.Cloud.Trace.V2.dll

Constructors

Annotation()

public Annotation()

Annotation(Span.Types.TimeEvent.Types.Annotation)

public Annotation(Span.Types.TimeEvent.Types.Annotation other)
Parameter
NameDescription
otherSpan.Types.TimeEvent.Types.Annotation

Properties

Attributes

public Span.Types.Attributes Attributes { get; set; }

A set of attributes on the annotation. You can have up to 4 attributes per Annotation.

Property Value
TypeDescription
Span.Types.Attributes

Description

public TruncatableString Description { get; set; }

A user-supplied message describing the event. The maximum length for the description is 256 bytes.

Property Value
TypeDescription
TruncatableString